1 2005-07-17 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text2.C (cursorLeft): fix one of error
5 2005-07-17 Juergen Vigna <jug@lyx.org>
7 * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
9 more fixes for boundary handling
11 * text3.C (dispatch): don't reset cursor if boundary has changed
14 2005-07-16 Juergen Vigna <jug@lyx.org>
16 * text2.C (getColumnNearX): hopefully got it right now,
17 check if we are on column 0 for special case.
19 2005-07-16 Juergen Vigna <jug@lyx.org>
21 * text2.C (getColumnNearX): handle special case Newline Inset
23 * text.C (singleWidth): Just remove bogus check
25 2005-07-16 Michael Schmitt <michael.schmitt@teststep.org>
27 * funcrequest.C (split): avoid reading uninitialized char c
29 2005-07-16 José Matos <jamatos@fc.up.pt>
35 * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
36 single papersize variable.
38 2005-07-16 Juergen Vigna <jug@lyx.org>
40 * text3.C (dispatch): honor boundary when checking if a cursor
41 movement has been done
43 * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown)
44 (setCursor, setCursorIntern): fix cursor movement with boundary
46 2005-07-16 Juergen Vigna <jug@lyx.org>
48 * text.C (currentState): output the actual Boundary
50 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * factory.C (createInset): fix bad logic for tabular creation
54 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
56 * lyx_main.C (init): change some reLyX reference to tex2lyx
58 2005-07-16 Juergen Vigna <jug@lyx.org>
60 * dociterator.C (DocIterator): initialize boundary
62 2005-07-16 Juergen Vigna <jug@lyx.org>
64 * text2.C (getColumnNearX): Consider rows without trailing blank.
66 2005-07-16 André Pönitz <poenitz@gmx.net>
68 * lyxfont.h: Change order of declarations to give the compiler
69 a better chance to inline things
71 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
72 questions on unsaved docs for better scritability
74 2005-07-16 André Pönitz <poenitz@gmx.net>
76 * paragraph.h (getChar): remove asserts as the same kind of security
77 can be achieved by using a suitable standard library implementation
78 and the function was in the critical path (25.9% in profiler)
80 2005-07-16 Juergen Vigna <jug@lyx.org>
82 * cursor.C (bruteFind2):
83 * bufferview_funcs.C (coordOffset):
84 * text.C (cursorX,cursorY): Handle cursor position after last char
85 in row before a inset which uses a whole row.
87 2005-07-15 José Matos <jamatos@lyx.org>
89 * output_plaintext.[Ch] (writeFileAscii): control reference title
91 (asciiParagraph): noparbreak was already deal and was incorrectly
94 2005-07-15 Juergen Vigna <jug@lyx.org>
96 * lyxfunc.C (dispatch): save and restore the cursor after a
99 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
101 * text.C (backspace): bug 806 for empty keepempty paragraphs we
102 change the layout to default before letting DEPM do its thing.
104 * paragraph_funcs.C (breakParagraph): dont reset the layout on
107 * text.C (setCursorFromCoordinates): add a debug statement
109 * text2.C (getColumnNearX): bug 1825 make sure that we don't
110 return a pos that is not on the row
112 * output_latex.C (TeXDeeper): get rid of potential dereferencing
113 of past the end iterator
115 2005-07-14 André Pönitz <poenitz@gmx.net>
117 * undo.C (recordUndoFullBuffer): implement undo for
120 2005-07-14 André Pönitz <poenitz@gmx.net>
122 * cursor.C (setSelection): open insets when selection is set there
123 to avoid crashs with cold coord cache
125 2005-07-14 André Pönitz <poenitz@gmx.net>
127 * trans_mgr.C (insert): move cursor to the right after inserting
130 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
132 * BufferView_pimpl.C (update): dampen some of the debug blabbering
133 * factory.C (readInset): ditto
134 * text.C, text2.C: ditto
136 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * buffer.C: format incremented to 242. There is no file format per
139 se, but the "frenchb" language has been removed from lib/language
140 and has to be translated to "french" by lyx2lyx.
142 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * cursor_slice.h, dociterator.h: add some documentation
145 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
147 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
149 * text.C (leftMargin): do not add identation to display() style
150 insets, because they are always centered (bug 1293).
152 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
154 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
155 formatted_time methods in support/lyxtime.
157 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
159 * toc.[Ch]: new method getGuiName, which is used by the frontends
160 to set the toc combo (fixes bug 1870). Make TOC string translatable.
162 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
165 StableDocIterator const &)
166 * undo.C (recordUndo): use the above instead of cell.size() comparison
167 (fixes bug 1808; instructed by André).
169 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
172 * dociterator.h: Fix the assert when copying rows/cols in math
174 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
176 * BufferView_pimpl.C:
178 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
180 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
181 (findInset): new functions, refactored from goto Inset that return
182 the position of a certain inset without setting the buffer's cursor
184 (gotoInset): rewrite to call findInset and then set the cursor
187 2005-06-16 Angus Leeming <leeming@lyx.org>
189 * lyxrc.C (output, read): wrap all input and output of paths with
190 calls to os::internal_path and os::external_path, respectively.
191 (output): wrap bind_file inside quotes.
193 * format.C (view): enable the viewer to use the '$$s' placeholder.
195 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
197 * LColor.[Ch] (getFromLaTeXName): new
199 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
201 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
203 2005-06-14 Angus Leeming <leeming@lyx.org>
205 * lyx_main.C (init): ensure that the LyX binary dir is the first
206 element in the PATH on non-POSIX builds.
208 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
210 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
212 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * rowpainter.C (paintInset, paintHebrewComposeChar)
215 (paintArabicComposeChar, paintChars): add a LyXFont argument.
216 (paintChars): use getFontSpan to reduce calls to getFont to a
217 minimum; use Paragraph::lookupChange instead of isXXXText.
218 (paintForeignMark): rename LyXFont argument.
219 (paintFromPos): pass a LyXFont object to the various paintXXX
222 * FontIterator.C (FontIterator, operator++): use
223 Paragraph::getFontSpan
225 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
226 version that returns the font span as a pair.
228 2005-06-09 Angus Leeming <leeming@lyx.org>
230 * converter.C (convert): Don't forget "outfile = real_outfile" as
231 the final step in a conversion where the input and output file names
232 are the same. Otherwise, future conversion steps won't work...
234 2005-06-09 Angus Leeming <leeming@lyx.org>
236 * lyxsocket.C: remove stub code as it isn't needed by
237 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
239 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
241 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
242 effectively disabled -x
244 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
247 when it actually makes sense.
249 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
251 * BufferView_pimpl.C: revert to showCursor in connection with
252 Lars's front-end stack
254 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * text.C (redoParagraph): move cursor right after a bibitem
259 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
261 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * buffer_funcs.C (bufferErrors): fix computation of the end of an
266 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
268 * BufferView.[Ch] (update):
269 * BufferView_pimpl.[Ch] (update, metrics):
270 * dimension.h (operator==):
271 * lyxfunc.C (dispatch):
272 * metricsinfo.h (ViewMetricsInfo):
273 * rowpainter.C (paintText):
275 * text.C (redoParagraph):
276 * text3.C (dispatch): Make LyX only repaint current paragraph in
277 case of character insert --> speedup. Also fix cursor draw
280 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
282 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
283 avoid a crash (bug 1891)
285 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * text2.C (getStringToIndex): constify cur argument.
291 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
292 argument has been given
293 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
294 try to invoke LFUN_INSET_APPLY).
296 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
297 if no inset was created by doInsertInset
298 (doInsertInset): return true if an inset has been inserted.
300 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * vspace.C (asGUIName): new method. A version of the space
303 suitable for showing on screen.
305 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
308 * lyxrc.C: rename "ASCII" to "Plain Text"
310 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * buffer_funcs.C (expandLabel): take a Buffer as argument;
313 translate the labelstring.
314 (setCounter): translate labelstring as needed.
316 * output_docbook.C (makeCommand): fix expandLabel invokation
318 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
320 * BufferView.C: fix dialog title
322 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
324 * lyx_main.C (priv_exec): fix logic error with help from Angus
325 * lyx_main.C (parse_execute): set is_gui = false and remove now
326 obsolete comment about a segfault
328 2005-05-18 Angus Leeming <leeming@lyx.org>
330 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
332 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
334 * tabular.[hC]: added setCellInset to fix tabular paste.
336 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
338 * buffer.C (save): check if destination is writable before trying
341 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
343 * BufferView_pimpl.C (update): fix processEvents -caused update
346 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
348 * buffer_funcs.C (setCounter): fix test for numbering of
351 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
352 depth correctly; use optional argument when it exists
354 * lyxtextclass.C: remove unused MaxCounterTags enum
355 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
356 (max_toclevel, min_toclevel): new methods.
358 * MenuBackend.C (expandToc2): fix case where depth is smaller than
359 the smallest depth in toc.
361 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
362 layouts that should not appear in a table of contents.
364 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
366 * cursor.h (undispatched, noUpdate): add comments from André
368 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
372 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
374 2005-05-07 André Pönitz <poenitz@gmx.net>
376 * cursor.[Ch] (leaveInset): new function
378 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
380 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
382 2005-05-04 Angus Leeming <leeming@lyx.org>
384 * lyxfunc.C (getStatus): disable the spell checker dialog if
385 none of USE_[AIP]SPELL are defined.
387 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
389 * tabular.C (setWidthOfCell): remove obsolete comment
391 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
393 * paragraph.C (bibitem):
394 * buffer_funcs.C (setCounter):
395 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
397 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
399 * text3.C (getStatus): immediately return after setOnOff
401 * rowpainter.C: fix drawing of appendix start
403 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
405 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
406 SwitchBetweenClasses and remove the unused return value.
407 Handle character styles, too
409 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
411 * factory.C (createInset): handle undefined character styles
413 2005-05-02 Angus Leeming <leeming@lyx.org>
415 * buffer.C: protect the #include of utime.h with a preprocessor
418 2005-05-02 Angus Leeming <leeming@lyx.org>
420 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
421 function so that auto-saving works, albeit in a blocking manner.
423 * Makefile.am: make compilation of the client sub directory, of
424 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
425 on conditionals set at configure time.
427 * SpellBase.[Ch]: no longer an abstract base class. Instead,
428 it can be compiled in its own right but has no-op functionality.
430 * aspell.C, pspell.C: remove preprocessor guards. The files should
431 be compiled only if the necessary functionality exists.
433 * lyxserver.C, lyxsocket.C: disable on Windows.
435 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
437 * text.C (leftMargin): Fix the parindent use bug (1764)
440 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
442 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
445 2005-04-25 Angus Leeming <leeming@lyx.org>
453 include <config.h> in .C files, not .h ones.
455 protect headers inside preprocessor guards.
457 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
459 * FuncStatus.h (StatusCodes): document
461 2005-04-21 André Pönitz <poenitz@gmx.net>
463 * FuncStatus.h (enabled, onoff): document
465 2005-04-19 Angus Leeming <leeming@lyx.org>
467 * BufferView_pimpl.C (cursorToggle): no longer test whether
468 any child processes have been reaped before calling
469 handleCompletedProcesses().
471 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
473 * text3.C (dispatch): fix, finally fix, the language problem in
474 new lyxtexts, without disabling on-the-fly font changes (Helge's
477 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
479 * text3.C (dispatch): set cursor on double/triple click events
482 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
485 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
487 * rowpainter.C (paintFirst): simplify the code a little bit. In
488 particular, remove the test for secnumdepth.
489 * text.C (setHeightOfRow): only allocate space for chapter number
490 when updateCounters provided an actual label, instead of looking
491 at secnumdepth directly.
493 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
495 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
496 paragraphs when secnumdepth is large enough or, for environments,
497 when they are not the first in a sequence.
499 2005-04-17 Angus Leeming <leeming@lyx.org>
501 * buffer.C (makeLaTeXFile): replace code to manipulate a path
502 containing space and '~' characters with a call to latex_path().
504 2005-04-17 Angus Leeming <leeming@lyx.org>
506 * converter.C (convert): protect all args of convertDefault.sh
509 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * text3.C (dispatch): change the layout to "Caption" after inserting
514 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
516 * text3.C (dispatch): fix language problem in newly created
517 textinsets (and main text) in non-english docs
519 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
521 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
522 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
523 * text3.C (getStatus): disable LFUN_INSET_MODIFY
525 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
530 * rowpainter.C (getFont): Fix metrics bug introduced by inset
533 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
535 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
536 output of \item arguments without trailing text.
538 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * FontIterator.C (operator*): avoid a copy of the font.
542 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
544 * rowpainter.C (getFont): fix language bug from previous fix
546 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
548 * rowpainter.C (RowPainter, getFont): fix font inside inset
551 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
553 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
554 preventing inserted font, deco, delim insets jumping to start of
557 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * lyxfunc.C (dispatch): translate message before sending it to the
562 2005-03-29 Angus Leeming <leeming@lyx.org>
564 * lyx_main.C (priv_exec): call os::internal_path on each file passed
565 to LyX on the command line.
567 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
569 * vc-backend.C: use QuoteName to protect file names wherever
572 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
575 * BranchList.h: fix bugs 1844,1845: document settings don't
578 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * lyxrc.C (setDefaults, read, output, getDescription): add support
581 for tex_allows_spaces.
583 * exporter.C (Export): allows files in directory containing spaces
584 if tex_allows_spaces is true.
586 * buffer.C (makeLaTeXFile): if the document path contains spaces,
587 output it in double quotes.
589 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
591 * rowpainter.C: use default text height for drawing change tracker
594 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
596 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
598 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
601 directory is missing.
603 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
605 * text2.C: fixed the fix, extended to other case.
607 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
609 * text2.C: fix for cursor up/down stuck in math [bug 1792]
611 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
613 * text2.C (cursorUp): get rid of a crash
614 * text.C (x2pos): add an assert
616 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * lyxfunc.C (getStatus): fix warning when assertions are disabled
622 * dociterator.C: include <boost/current_function.hpp>, which is
623 needed when assertions are disabled.
625 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
627 * text2.C: fix for stuck cursor when traversing two
628 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
630 2005-02-25 Andreas Vox <avox@arcor.de>
632 * output_docbook.C (makeParagraph): suppress trailing newline
633 after a run of paragraphs
635 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
637 * paragraph.C: fix for confused change tracker when pasting
638 text that begins with a lineseparator. [bug 1827]
639 (setChange(0, Change::INSERTED);)
641 * paragraph_funcs.C: fix for lost changes on triple-paste
642 in change tracking mode [bug 1827] (par.setChange()).
644 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * text2.C (updateCounters, setCounter, expandLabel): move to
649 * buffer_funcs.C (updateCounters): turn into a free standing
650 function and add a buffer parameter. Remove dead code for tracking
652 (setCounter): change into a free-standing function which gets a
653 dociterator as argument. Use this iterator to fix captions in a
654 simple way. When no float is found above the caption, use the
655 labelstring of the caption layout as default.
657 * text.C (breakParagraph, backspace):
658 * text2.C (init, setLayout, changeDepth):
659 * text3.C (dispatch):
660 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
663 * dociterator.C (forwardPar): make it much faster by calling
664 forwardPos() only when really necessary.
666 * output_docbook.C (makeCommand): adapt to expandLabel move.
668 * cursor.C: remove unused variable
670 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
672 * paragraph_funcs.C: fix crash when pasting insets in change
673 tracking mode [bug 1277] (honour change type in moveItem).
675 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
677 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
679 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
681 * BufferView.C (setCursor): change to use a DocIterator.
682 (gotoLabel): use BufferView::setCursor (other part of bug 781).
683 (putSelectionAt): adapt to BufferView::setCursor change.
685 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
686 moved here from LyXText and rewritten to use proper cursor
687 methods. Fixes bug 1787, 616 and 835.
689 * BufferView_pimpl.C (restorePosition): set the cursor correctly
690 when inside an inset (part of bug 781).
691 (dispatch): adapt to change of BufferView::setCursor.
692 (getStatus, dispatch): handle LFUN_GOTOERROR,
693 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
695 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
696 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
697 * text3.C (gotoNextInset, gotoInset): removed.
699 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
701 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
703 2005-02-15 Angus Leeming <leeming@lyx.org>
705 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
706 can be used meaningfully in a comparison.
708 2005-02-13 André Pönitz <poenitz@gmx.net>
710 * bufferview_funcs.C (coordOffset): improve cursor drawing
712 2005-02-13 André Pönitz <poenitz@gmx.net>
714 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
715 * Cursor.C (dispatch): use fixIfBroken
716 * lyxfunc.C (getStatus): use fixIfBroken
718 2005-02-15 Angus Leeming <leeming@lyx.org>
720 * lyx_main.C (error_handler):
722 * lyxrc.C (setDefaults):
724 #include "environment.h".
726 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
728 2005-02-15 Angus Leeming <leeming@lyx.org>
730 * lyxserver.C (startPipe): squash MSVC warning "local variable
731 'fd' used without having been initialized".
733 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
735 * BufferView_pimpl.C: revert accidental commit.
737 2005-02-14 André Pönitz <poenitz@gmx.net>
739 * dociterator.[Ch]: new member forwardPosNoDescent(),
740 which doesn't enter nested insets.
741 * text2.C (setFont): use forwardPosNoDescent() instead
742 of ForwardPos() (fixes crash on font change).
744 2005-02-13 Angus Leeming <leeming@lyx.org>
746 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
747 only if lyxrc.path_prefix is not empty.
749 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
751 * bufferparams.C (readGraphicsDriver): prevent crash
753 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
755 * text2.C (setCounter): check for inInset() == 0
757 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
759 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
760 but use update() to get correct screen display; use convert
761 instead of istringstream.
762 (getStatus): handle LFUN_GOTO_PARAGRAPH
764 * lyxfunc.C (dispatch, getStatus): do not handle
765 LFUN_GOTO_PARAGRAPH here.
767 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * text3.C (dispatch): size() -> depth()
771 * text2.C: remove some debug output
773 * paragraph.C: ws changes only
775 * lyxfunc.C (getStatus): size() -> depth()
777 * dociterator.h (clear, push_back, pop_back, internalData,
778 operator[], resize, empty): new functions
779 Make StableDocIterator and operator== be friends. Don't inherit
780 from std::vector use a privat class variable slices_ instead.
783 * dociterator.C: update because of not inheriting from std::vector
784 anymore. Call explictly to slices_ instead. Use depth() instead of
785 size() and top() instead of back()
787 * cursor.C: chagne size() -> depth and back() -> top(). Also
788 remove some direct operator[](i) calls in favour of foo[i]
789 (getFont): remove some dead code
791 * bufferview_funcs.C (coordOffset): size() -> depth()
793 * buffer.C: ws changes only
795 * CutAndPaste.C (eraseSelection): back() -> top()
797 * BufferView_pimpl.C (selectionRequested): back() -> top()
799 * BufferView.C (setCursor): size() -> depth()
801 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
803 * text3.C (cursorPrevious): return true if depm changed something
805 (dispatch): rename sl to oldTopSlice, remove moving use the new
806 NoUpdate func attrib instead. Make sure that needsUpdate is set
807 for function that have NoUpdate, but where depm might have changed
810 * text2.C (cursorLeft): make us return true if depm changed
813 (cursorUpParagraph): ditto
814 (curosrDownParagraph): ditto
815 (cursorUp, cursorDown): ditto, make sure to read comments in code
816 (deleteEmptyParagraphMechanism): remove an assert, also return
817 true if just a single char was deleted.
819 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
820 cursor that we modify, to avoid modifying an active cursor before
821 we call setCursor. This allows depm to run. Also return true if
822 depm deleted something.
824 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
825 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
826 cursorDownParagraph, cursorPrevious and cursorNext, return true if
827 something was changed in the buffer because of them (ie. depm run)
829 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
830 debug messages. Make update by default be false. Make sure that
831 the result of update is retained throught several calls down to
834 * LyXAction.h: add a new func_attrib: NoUpdate
836 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
837 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
838 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
840 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
842 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
844 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
845 bv_->owner(), bv_->buffer() by direct references to the private
847 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
848 (getStatus): isSavedPosition() is in BufferView::Pimpl.
849 (fitCursor): center() is in BufferView::Pimpl.
850 (getStatus, trackChanges, dispatch): no need for a temporary buf
852 (fitCursor, workAreaDispatch): use workarea().workheight()
854 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
856 * CutAndPaste.C (pasteSelectionHelper): fix a crash
858 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
860 * buffer.C: format up to 241.
861 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
862 break if pasting into ERT
863 * lyxfunc.C (getStatus): suppress mathpanel and
864 LFUN_DIALOG_SHOW_NEW_INSET in ERT
866 2005-02-01 Angus Leeming <leeming@lyx.org>
868 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
870 2005-02-01 Angus Leeming <leeming@lyx.org>
872 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
873 calling fs::is_directory().
875 2005-01-31 Angus Leeming <leeming@lyx.org>
877 * lyx_main.C (priv_exec): specify explicitly the relative location
878 of the top level build directory when run in-place.
880 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
883 LyXText containing the cursor, not the top-level one.
885 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
887 (insertStringAsLines): rename par to pit; use temporary variable
888 par to hold a Paragraph; do not store par.layout() in a variable,
889 since the pointer may die when breaking paragraphs; pass pars to
890 breakParagraph() instead of Buffer::paragraphs().
892 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
894 * lyxlex_pimpl.h: #include <fstream>.
896 * BufferView.[Ch] (getLyXText): add a const version.
898 * BufferView_pimpl.C: add debug aids.
903 * paragraph_funcs.h: add commentary explaining what the class does.
906 * coordcache.[Ch]: add lots of commentary.
907 (startUpdating, doneUpdating): debug aids.
908 (arrays, insets, parPos, getParPos): accessors to private data.
910 * cursor_slice.[Ch] (text): add a const version.
911 * dociterator.[Ch] (text, innerText): add const versions.
913 * lyxtext.h (breakParagraph): change the keep_layout arg to a
916 * paragraph.C (getRow, pos2ros): add asserts.
918 * paragraph.h: add commentary. Lots of.
920 * paragraph.[Ch] (metrucs, draw): removed.
923 * rowpainter.[Ch]: const-correct changes.
925 * text.C: various obvious clean-ups. Removal of ancient cruft.
928 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * vc-backend.C (find_file): rewrite to use boost.filesystem
933 * main.C (main): set default name check for boost.filesystem to
936 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
939 (actOnUpdatedPrefs): ditto
941 * lyx_main.C (init): rewrite to use boost.filesystem
942 (queryUserLyXDir): ditto
944 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
945 (getContentsOfAsciiFile): ditto
947 * lastfiles.C (readFile): rewrite to use boost.filesystem
949 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
951 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
954 * buffer.C (Buffer): adjust for destroydir
955 (getLogName): rewrite to use boost.filesystem
957 (save): use fs::copy_file (from fs_extras)
959 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
961 * LaTeX.C (run): rewrite to use boost.filesystem
962 (scanAuxFiles): ditto
963 (handleFoundFile): ditto
965 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
967 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
969 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
971 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
973 * lyxlayout.[Ch]: change some vars from float to double
975 * buffer.C (readFile): make a local var const
977 * Several files: use convert<> instead of atoi,strToXXX and friends
979 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
981 * LaTeXFeatures.[Ch]: Add a static list packages_ that
982 holds the contents of packages.lst. New functions getAvailable
983 and isAvailable to parse and check that list, resp.
987 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
989 * bufferparams.[Ch]: new param output_changes.
991 * Buffer.C: increase file format to 240.
992 Use output_changes and isVailable.
996 * paragraph_pimpl.C: Use output_changes and isVailable.
998 2005-01-23 Angus Leeming <leeming@lyx.org>
1000 * output_latex.C: #include "insetbibitem.h", rather than
1001 forward declare function bibitemWidest.
1003 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
1005 * lyx_main.C (init): make it compile on the Mac.
1007 2005-01-20 Angus Leeming <leeming@lyx.org>
1009 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1010 (setLyXMisc): (char string literal) != (char string literal) is
1011 performing a comparison on the addresses. Convert one operand
1012 explicitly to string to guarantee expected behaviour.
1015 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1018 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1020 * output_plaintext.C: remove unneeded #include gzstream.h.
1022 2005-01-20 Angus Leeming <leeming@lyx.org>
1024 * SpellBase.h: rename some of the elements of the Result enum.
1031 * pspell.C (check): ditto
1033 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1035 * buffer.C: add #include <fstream>.
1037 * lyx_main.C (init): Compile fix.
1039 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1041 2005-01-20 Angus Leeming <leeming@lyx.org>
1043 * mover.h: change commentary to reflect the changed meaning of
1044 the $$s placeholder.
1046 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1050 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1052 2005-01-20 Angus Leeming <leeming@lyx.org>
1054 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1055 printing diagnostic data by not dereferecing an iterator past the
1058 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1060 * buffer.C (readHeader): use "&&" rather than "and".
1062 * lyxserver.h (inPipeName, outPipeName): make these const.
1064 2005-01-19 Angus Leeming <leeming@lyx.org>
1066 * lyx_main.C (error_handler, init): protect SIGHUP with
1067 #ifdef SIGHUP guards.
1069 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1073 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1075 * text.C (setHeightOfRow): add a margin at the top and bottom of
1076 the document (bug 1761)
1078 2005-01-17 Angus Leeming <leeming@lyx.org>
1080 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1081 with "python ". Workaround for a brain-dead Windows.
1083 2005-01-16 Angus Leeming <leeming@lyx.org>
1085 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1086 for MacOSX and Windows to use prependEnvPath.
1087 Strip out the hard-coded block to add elements to the PATH for
1088 MacOSX and replace it with a call to prependEnvPath using the
1089 contents of LyXRC::path_prefix.
1090 (queryUserLyXDir): strip out the code to run reconfigure, instead
1091 returning a boolean indicating the necessity to do so.
1092 (reconfigureUserLyXDir): contains the code to reconfigure the
1093 user support directory. Is now called after the various LyXRC data
1094 files have been read.
1096 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1098 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1100 * converter.[Ch] (convert): take a new parameter try_default. Use
1101 a default converter (imagemagick) if try_default is true.
1103 2005-01-13 Angus Leeming <leeming@lyx.org>
1105 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1106 os::cygwin_path_fix.
1107 (write): output LyXRC::cygwin_path_fix as necessary.
1109 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1112 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1114 2005-01-12 Angus Leeming <leeming@lyx.org>
1116 * lyx_main.C (init): set the PATH variable to include the
1117 directory containing the LyX binary when running on Mac or Windows.
1119 2005-01-12 Angus Leeming <leeming@lyx.org>
1121 * lyx_main.C (init): remove cruft that purports to set the locale
1122 dir. It doesn't and is not needed anyway.
1124 2005-01-10 Angus Leeming <leeming@lyx.org>
1126 * Makefile.am: remove the lyx_main.C special casing.
1128 * BufferView_pimpl.C:
1134 * messages.C: use support/package.h to provide the paths to the
1135 various directories used by LyX.
1137 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1139 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1140 layout if pasting into an empty paragraph)
1142 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1144 * tex-accent.C: add <string>
1146 2005-01-06 José Matos <jamatos@lyx.org>
1148 * ParagraphParameters.C (write): put every parameter in its own line.
1149 * paragraph.C (write): reduce number of consecutive empty lines exported.
1150 * buffer.C (LYX_FORMAT): increase file format to 239.
1152 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1154 * everywhere: change support/tostr.h -> support/convert.h
1156 * tabular.C: make all write_attributes templates, tostr -> convert
1158 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1159 (emptyTag): and -> &&, and fix type for ret from getChar
1160 (getFirstWord): fix type for ret from getChar
1161 (onlyText): and -> &&
1162 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1165 * toc.C (goTo, action):
1166 * text3.C (dispatch):
1167 * text.C (currentState):
1168 * tex-accent.C (DoAccent):
1171 * lyxfunc.C (menuNew):
1172 * lyxfinc.C (replace):
1173 * counters.C (laberItem):
1174 * bufferview_funcs.C (font2string):
1175 * bufferparams.C (writeFile):
1176 * buffer.C (readFile):
1178 * MenuBackend.C: tostr -> convert
1180 * LaTeX.C (runMessage): fix format
1181 (scanAuxFiles): tostr -> convert
1183 * BufferView_pimpl.C (savePosition): fix format
1184 (restorePosition): ditto
1187 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1189 * Spacing.[Ch]: New method getValueAsString().
1193 * ParagraphParameters.C:
1196 * text3.C: store/read spacing value as string.
1198 * rowpainter.C: change float value (spacing_val) to double.
1200 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1201 broken custom document spacing).
1203 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1205 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1206 namespace, also more use of temp references and const
1208 * cursor.[Ch] (getStatus): move to lyxfunc.C
1210 * bufferparams.C: reformat slightly
1212 * bufferview_funcs.C (font2string): constify arg
1218 * buffer_funcs.C: (many funcs): constify arg on function
1219 definitions, also make more local vars const, also add ASSERTS on
1222 * buffer.C (LYX_FORMAT): put const in correct place
1223 (many funcs): constify arg on function definitions, also make
1224 more local vars const
1226 * aspell_local.h: remove "struct" from typdef setup
1228 * aspell.C (check): make word_ok const
1229 (nextMiss): simplify slightly
1232 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1234 * lyxrc.[Ch]: store all float values as strings.
1235 use int (not float) for lyxrc.dpi.
1237 2005-01-04 Angus Leeming <leeming@lyx.org>
1239 * lyx_cb.C (Reconfigure):
1240 * lyx_main.C (queryUserLyXDir):
1241 to run the <system_lyxdir>/configure correctly on Windows, prefix
1242 the path to the script with "sh " when generating the string that
1243 is passed to system().
1245 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1247 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1249 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * lyxlength.C (asLatexString): get rid of setprecision
1253 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * text2.C (setLayout): remove unused variable endpit.
1256 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1258 * paragraph.C (onlyText): remove unused variable style.
1260 * cursor.C (bruteFind): remove unused variables beg and end.
1262 * Makefile.am (dist_noinset_DATA): not needed anymore
1264 * cheaders/*: remove.
1266 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1268 * text3.C: fix LFUN_MATH_MODE.
1270 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1272 * buffer_funcs.C (countWords): new function. Counts words between
1275 * BufferView_pimpl.C (getStatus, dispatch): handle
1278 * LyXAction.C (init):
1279 * lfuns.h: add LFUN_WORDS_COUNT.
1281 2004-12-19 Angus Leeming <leeming@lyx.org>
1283 * buffer.C (save): s/slashify_path/internal_path/.
1285 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1287 * lyxfind.C (findChange): do not search for end of pars, because
1288 the change tracker cannot handle this (fixes bug 1719).
1290 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1292 * paragraph.[Ch] (autoBreakRows): remove
1294 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1296 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1297 avoid using the paragraph one
1299 * text2.C (LyXText, insertStringAsLines): adjust
1301 2004-12-16 Angus Leeming <leeming@lyx.org>
1305 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1307 2004-12-14 Angus Leeming <leeming@lyx.org>
1309 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1311 * bufferlist.C (emergencyWrite):
1312 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1315 2004-12-14 Angus Leeming <leeming@lyx.org>
1317 * main.C: (main): no longer pass pointers to os::init.
1319 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1321 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1322 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1324 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1327 * text3.C: remove selection_possible global flag
1329 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1331 * text2.C (getSelectionSpan): remove
1332 (changeDepth, changeDepthAllowed): adjust
1334 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1336 * Makefile.am (BOOST_LIBS): use boost variables
1338 2004-12-03 José Matos <jamatos@lyx.org>
1340 * buffer.C: format up to 238.
1342 2004-12-03 José Matos <jamatos@lyx.org>
1344 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1346 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1348 * cursor.C (goUpDown): remove call to idxUpDown2
1350 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1352 * tabular.[Ch]: use size_t-like types for cell, row and column
1355 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1357 * lyxfunc.C (getStatus): do not lose previous information when
1358 calling BufferView::getStatus; do not set a default "Command
1359 disabled" message at the beginning, but just before returning.
1361 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1363 * cursor.h (getStatus): add better comment from src/cursor.C
1365 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * text3.C (getStatus): return false when the lfun is not handled
1369 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1371 * broken_headers.h: remove
1373 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1375 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1377 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1378 offset_ref accessors
1380 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1381 top_y_, merge fitcursor with update
1382 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1384 (metrics): introduce
1385 (workAreaDispatch): adapt to new coord scheme
1386 (redoCurrentBuffer): remove
1388 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1390 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1393 * coordcache.[Ch]: add paragraph cache and helpers
1395 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1398 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1399 (targetX, setTargetX): introduce
1401 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1402 baseline -> ascent, as the rest of lyx
1404 * lyxtext.h: remove redoParagraphs, updateParPositions,
1405 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1406 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1407 have ascent/descent (ascent is ascent of first par)
1409 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1412 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1414 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1416 * pariterator.C: fix infinite loop introduced in par->pit renaming
1418 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1419 in insets and LyXText, draw two off-screen paragraphs using
1420 NullPainter, and adapt to new coord scheme
1424 * text3.C: adapt lfun handlers to the new coord scheme, which
1425 means: there's only guaranteed coord information for onscreen pars
1426 plus one above and one below. This implies that one can do search
1427 from y coordinates in the range [-1,workHeight]
1429 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1431 * rename a lot of InsetOld to InsetBase
1433 2004-11-25 Angus Leeming <leeming@lyx.org>
1435 * BufferView_pimpl.C:
1437 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1439 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1441 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1442 call BufferView::getStatus if LCursor::getStatus did nothing
1443 (setStatusMessage, getStatusMessage): removed.
1445 * FuncStatus.C (message): new methods. Used to provide an error
1446 message indicating why a command is disabled.
1447 (clear, |=, FuncStatus): update for message.
1449 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1451 * lyxfunc.C (dispatch): always call sendDispatchMessage
1453 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1456 * BufferView_pimpl.C:
1461 * cursor_slice.[Ch]:
1464 * paragraph_funcs.C:
1470 * undo.C: par->pit renaming
1472 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1474 * tabular.C (cellstruct): use initialization, store a shared_ptr
1475 to insettext instead of the insettext directly, adjust to fit.
1476 (operator=): new function
1477 (swap): new function
1478 (rowstruct): use initialization
1479 (columnstruct): use initialization
1480 (ltType): use initialization
1483 * lyxlength.h (swap): new function
1485 * LColor.[Ch] (operator=): use the common semantics
1487 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1489 * lyxfind.C (findNextChange): update the bufferview after setting
1492 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1494 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1495 number of InsetOptArgs has already been inserted.
1497 * output_latex.C (latexOptArgInsets): new method. This outputs all
1498 the optarg insets, up to the limit defined in the layout file.
1499 (optArgInset): removed
1500 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1502 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * paragraph.C (isLetter): remove special spellchecker-related
1505 code; return true also for digits
1506 (isWord, isKomma): remove
1508 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1509 * lyxfind.C (MatchString()): use isLetter instead of isWord
1511 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1513 * pariterator.h (operatir=): comment out un-implemented member
1516 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1519 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1521 * lyxfont.h: include LColor.h to satisfy concept checks.
1523 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1525 * pariterator.h: add typdefs for value_type, difference_type,
1526 pointer and reference to satisfy concept checks. Also add default
1527 constructor for same reason.
1529 * pariterator.C (operator++): add post-increment operator to
1530 satisfy concept checks.
1532 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1535 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1537 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1538 checks. Also rename base_type to BaseType to follow naming
1541 * FloatList.h: include Floating.h to satisfy concept checks.
1543 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1545 * lyxfunc.C (getStatus): when the origin of the request is menu or
1546 toolbar, and the LyXView does not have focus, do as if there was
1547 no buffer (bug 1720)
1549 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1550 FuncRequest to individual entries of LFUN_SEQUENCE
1552 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * output_latex.C (TeXOnePar): override runparams.moving_arg
1555 according to the needprotect value of the current paragraph (bug
1558 * paragraph.C (simpleTeXOnePar): no need to override
1559 runparams.moving_args here
1561 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1563 * vspace.C: fix off-by-one-error, related to fix #1682
1565 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1567 * lengthcommon.C: a more general fix for bug 1682
1569 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1571 * text.C (backspace): fix crash
1573 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1575 * format.[Ch] (getFormatFromFile): new method
1576 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1578 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1580 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1582 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1584 * lyxfunc.C (dispatch): remove the verbose argument
1585 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1588 * kbmap.C (defkey): set the origin of func to KEYBOARD
1590 * MenuBackend.C (MenuItem):
1591 * ToolbarBackend.C (add): set the origin of func to UI
1593 * funcrequest.[Ch]: add origin member, which indicates which part
1594 of LyX requests an action
1596 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1598 * converter.C (move): don't lie in the error message
1599 * converter.h (isReachable, move): document
1601 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1603 * buffer.C: remove unused using lyx::support::atoi
1604 * paragraph_funcs.C: ditto
1606 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1608 * bufferlist.C (exists): use bind and equal_to instead of
1611 * lyxtextclasslist.C (NumberOfClass): ditto
1613 * cursor.C (insert): use for_each instead of explicit for loop
1615 * bufferlist.C (getFileNames): use std::transform and
1616 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1618 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1621 * buffer.C (changeLanguage): use for_each instead of explicit for
1623 (hasParWithID): implement using getParFromID
1625 * LaTeXFeatures.C: ws change only
1627 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1630 * BufferView_pimpl.C (trackChanges): use for_each instead of
1633 2004-11-04 André Pönitz <poenitz@gmx.net>
1636 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1638 * dociterator.C (asDocIterator): use hard assert again.
1640 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * lyxlength.C (asLatexString): rewrite so that it does not use
1645 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1647 * text3.C (specialChar, dispatch): make sure cursor moves to the
1648 right after inserting an inset
1650 2004-11-02 José Matos <jamatos@lyx.org>
1652 * output_docbook.C (docbook):
1653 * paragraph.C (getID):
1654 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1655 garantee that the output is always legal.
1657 * tabular.C (docbook):
1658 * outputprams.[Ch]: remove mixed contents.
1660 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1662 * text2.C (setCounter): prevent endless loop
1664 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1666 * exporter.C (copyFile): use the mover instead of support::copy()
1667 * exporter.C (Export): pass format and latex name to copyFile()
1668 * exporter.h (addExternalFile): document
1669 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1671 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1673 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1675 2004-10-30 José Matos <jamatos@lyx.org>
1677 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1678 text and no inset or font change. This allows to use CDATA
1679 sections just for the whole paragraph.
1681 2004-10-30 José Matos <jamatos@lyx.org>
1683 * paragraph.C (getFirstWord): remove unused variable.
1685 2004-10-30 José Matos <jamatos@lyx.org>
1687 * paragraph.C (getFirstWord): the content should always be escaped
1689 (simpleDocBookOnePar):
1690 * output_docbook.C (makeEnvironment): replace reference to CDATA
1693 2004-10-30 José Matos <jamatos@lyx.org>
1695 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1697 2004-10-30 José Matos <jamatos@lyx.org>
1699 * output_docbook.C (makeParagraphs):
1700 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1701 standard paragraph has only a given type of content drop the wrapper.
1703 2004-10-29 José Matos <jamatos@lyx.org>
1705 * output_docbook.C (makeEnvironment):
1707 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1709 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1711 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1712 (cleanID): sanitize any id.
1714 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1716 * buffer.C, lyxlex_pimpl.C:
1717 * lyxlex_pimpl.C (setFile):
1718 s/getExtFromContents/getFormatFromContents/
1720 2004-10-28 José Matos <jamatos@lyx.org>
1722 * output_docbook.C (makeEnvironment): move id to broadest possible
1725 * sgml.C (openTag): apply substitution of <> for all attributes.
1727 2004-10-28 José Matos <jamatos@lyx.org>
1729 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1730 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1731 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1733 * sgml.[Ch]: new version for open and closeTag for paragraph and
1734 for strings. Now they handle the ids of paragraphs.
1736 2004-10-26 Angus Leeming <leeming@lyx.org>
1738 * Makefile.am: add mover.[Ch].
1740 * converter.C (convert, move): use the new Movers to move external
1741 files to the temp directory.
1743 * lyx_main.C (init): ensure that the global system_movers data
1746 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1749 * mover.[Ch]: new files, defining a Mover as a utility to move an
1750 external file between directories and, if necessary, manipulate this
1751 file using a helper script.
1753 2004-10-25 José Matos <jamatos@lyx.org>
1755 * output_docbook.C (makeCommand): merge two if's that tested the
1758 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1760 * sgml.C (escapeString): fix warning in a better way
1762 2004-10-25 José Matos <jamatos@lyx.org>
1764 * sgml.C (escapeString): import the require boosts header file for
1765 tie, and avoid a signed unsigned comparison.
1767 2004-10-25 José Matos <jamatos@lyx.org>
1769 * sgml.h: add #include <string>
1771 2004-10-25 José Matos <jamatos@lyx.org>
1773 * sgml.[Ch] (escapeString): new function to escape all the string.
1775 2004-10-24 José Matos <jamatos@lyx.org>
1777 * paragraph.[Ch] (getFirstWord): new function to get the first
1778 word. Useful for description.
1779 (simpleDocBookOnePar): remove depth argument, add another that
1780 says where to start the paragraph.
1782 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1783 use the new functions to fix cleanly the support for descriptions.
1785 2004-10-24 José Matos <jamatos@lyx.org>
1787 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1788 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1789 * output_linuxdoc.C (linuxdocParagraphs):
1790 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1791 add buffer as argument.
1793 2004-10-24 José Matos <jamatos@lyx.org>
1795 * output_docbook.C (makeEnvironment, searchEnvironment): place
1796 CDATA inside paragraphs and fix scope for listitems.
1798 2004-10-24 José Matos <jamatos@lyx.org>
1800 * output_docbook.C: remove using statement for stack.
1802 2004-10-23 José Matos <jamatos@lyx.org>
1804 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1805 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1806 docbook. The new scheme is recursive and makes use of iterators, the
1807 same as latex export works.
1808 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1809 directly with the paragraph contents. This code was moved up to
1810 output_docbook.C (docbookParagraphs).
1811 * sgml.C (openTag, closeTag): removed unneeded newlines.
1812 (closeEnvTags) removed.
1814 2004-10-23 André Pönitz <poenitz@gmx.net>
1816 * undo.C (textUndoOrRedo):
1817 * dociterator.C (asDocIterator): work around crash
1819 * cursor.C (getStatus): replace ASSERT by more verbose error message
1820 and manual correction of the problem. Should increase stability
1821 while providing more sensible information.
1823 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1825 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1827 * bufferlist.C (previous, next): new methods
1830 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1832 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1834 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1835 entities to preamble.
1837 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1839 * messages.C (Pimpl): strip off translation context information
1841 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1844 the cursor is correct (bug 1694)
1846 2004-10-13 José Matos <jamatos@lyx.org>
1848 * output_docbook.C (docbookParagraphs): fix closing tags in the
1849 end of the document.
1851 2004-10-09 José Matos <jamatos@lyx.org>
1853 * buffer.C: format up to 237.
1854 * bufferparams.C (write): use tostr to convert booleans to strings.
1856 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1858 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1860 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1862 * LaTeX.C: implement use of babel language in xindy.
1864 2004-10-05 José Matos <jamatos@lyx.org>
1866 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1867 Add new translators to help reading and writing the lyx file.
1869 2004-10-05 José Matos <jamatos@lyx.org>
1871 * ParagraphParameters.C (read):
1872 * text.C (readParToken): replace nexToken by more appropriate lex
1875 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1877 * LaTeX.C (runMakeIndex):
1878 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1879 (usually 'makeindex') configurable.
1881 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1882 with a variable rather than with a number.
1884 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1886 * output_latex.C (TeXOnePar): make sure font setting is the first
1887 thing that gets output (and the last at the end). Should fix bug
1890 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1892 * pch.h: use proper signal include
1894 * LaTeX.h: Use preferred calling of Boost.Signal
1897 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * pch.h: dont include <boost/function/function0.hpp>
1901 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1903 * paragraph_pimpl.h: remove usage of ShareContainer
1905 * paragraph_pimpl.C: remove initialization of ShareContainer.
1907 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1911 * BufferView.C (putSelectionAt): change the semantics when
1912 backwards == true: now, this just swaps cursor and anchor wrt the
1915 * BufferView.h (putSelectionAt): add some documentation
1917 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1918 make sure backwardChar is done at least once (to avoid getting
1920 (findNextChange): use putSelectionAt in the forward direction
1921 (operator()): use Paragraph::isWord
1923 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1925 * Spacing.C (set): c_str fix
1927 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * lyx_cb.C (Reconfigure): quote the name of configure script in
1930 case it contains spaces
1932 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1936 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1937 (BOOST_LIBS): use top_buildir when looking for the file
1939 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1941 * pch.h: do not use include boost/format.hpp, multiple symbols
1942 will result (gcc bug)
1945 2004-08-23 José Matos <jamatos@lyx.org>
1947 * bufferparams.C (readToken): fix reading of the author field.
1949 2004-08-20 José Matos <jamatos@lyx.org>
1951 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1953 2004-08-20 José Matos <jamatos@lyx.org>
1955 * lyxlex.[Ch] (findToken): remove function.
1957 * ParagraphParameters.C (findToken):
1958 * bufferparams.C (findToken): replace call for previous function
1959 with local copy. This local function has one more argument, the
1960 read string argument.
1962 2004-08-16 José Matos <jamatos@lyx.org>
1964 * ParagraphParameters.C (write):
1965 * Spacing.C (writeFile):
1966 * bufferparams.C (writeLaTeX):
1967 * lyx_cb.C (Reconfigure):
1968 * paragraph.C (write):
1969 * tabular.C (write): remove unnecessary space at end of line.
1972 2004-08-16 José Matos <jamatos@lyx.org>
1974 * text.C (readParagraph): remove debug message.
1976 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1978 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1981 * output_plaintext.C (asciiParagraph): set depth correctly
1983 * outputparams.h: add member depth
1985 * paragraph_funcs.C (ownerPar): remove.
1987 * text2.C (setCounter): remove first_pit; comment out some
1988 non-working code that uses ownerPar
1990 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1993 2004-08-16 José Matos <jamatos@lyx.org>
1995 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1996 For the same level of importance use the same chanel to report problems.
1997 (read): add code to deal with \begin_body and \end_body.
2000 2004-08-15 José Matos <jamatos@lyx.org>
2002 * lyxlex.C (getString): fix comment, buffer::readBody is now
2003 buffer:readDocument.
2005 * tex-strings.C (string_papersize): Default -> default,
2006 Custom -> custom, for consistency with other options.
2008 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
2012 * Makefile.am: support pch
2014 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2016 * text.C (readParToken): remove the static LyXFont variable and
2017 pass it as a parameter instead. This fixes a nasty bug where an
2018 inset will be inserted with a bad font in some situations
2019 (readParagraph): adapt
2021 * text2.C (setCounter): reduce number of calls to pars_[pit]
2023 * text.C (singleWidth): add an assert, fix a test
2025 * rowpainter.C (paintText): reduce number of calls to singleWidth
2027 * paragraph.C (isHfill):
2028 (isNewline): ws only
2030 2004-08-14 André Pönitz <poenitz@gmx.net>
2035 * lyxtext.h (several functions): use a Paragraph & argument
2038 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2040 * metricsinfo.h: add a new field ltr_pos to PainterInfo
2042 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2044 * text.C (singleWidth): remove useless test
2046 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2048 * tabular.h: remove bogus comments
2050 * tabular.C (getDescentOfRow):
2051 (isPartOfMultiColumn): add assertions
2053 * lyxlength.C (inPixels): remove #warning
2055 2004-08-14 André Pönitz <poenitz@gmx.net>
2057 * paragraph.h: inline getChar()
2059 * BufferView.h: remove unused declarations
2061 2004-08-14 José Matos <jamatos@lyx.org>
2063 * Buffer.[Ch] (readDocument): new name for old readBody.
2064 * Buffer.C: new file format, new keywords: \begin_document,
2065 \begin_header, \begin_body, \end_body.
2067 * bufferparams.C (readToken): replace all calls to lex.nextToken
2068 by lex.next(). Do the same to eatLine except where really needed.
2070 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2071 line when writing to the lyx file.
2073 * output_plaintext.C (asciiParagraph): fix Bibliography style
2076 * text.C (read): fix end of file handling.
2078 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2080 * MenuBackend.C (Menu::operator[]): new method to access
2081 individual menu items
2082 (Menu::hasFunc): new method. search for an item that corresponds
2084 (MenuBackend::specialMenu): new method
2085 (MenuBackend::expand): if a special menu has been set, skip
2086 entries whose func() appears in this menu
2088 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2090 * text3.C: use Debug::DEBUG a bit more
2092 * text.C (leftMargin): try to simplify a tiny bit change var x to
2093 l_margin. Dont output the wide margins always.
2094 (rightMargin): no margin in inner texts
2096 * rowpainter.h (nestMargin): new func
2097 (changebarMargin): new func
2098 (rightMargin): new func
2100 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2104 * factory.C (createInset): modify setDrawFrame
2106 * cursor.C: use Debug::DEBUG a bit more
2108 2004-08-14 André Pönitz <poenitz@gmx.net>
2111 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2112 cache for all insets in (at least partially) visible (top-level)
2115 * BufferView_pimpl.C: reset external coord cache before every update.
2116 This means the coord cache only contains valid entries.
2118 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2121 * BufferView_pimpl.C (getInsetByCode): move function out of class
2122 and change in to a template in anon namespace. Also fix to do what
2125 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2128 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2130 (breakParagraph): rename par to par_offset and use a local
2131 reference. Add code to keep the language over a rebreak.
2132 (breakParagraphConservative): rename par to par_offset, use a
2134 (mergeParagraph): ditto
2136 (isFirstInSequence): ditto
2137 (outerFont): rename pit to par_offset
2139 * paragraph.C: ws change
2140 * paragraph.h: ditto
2144 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2146 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2149 * paragraph.C (simpleTeXOnePar): when we have a \item with
2150 optional argument, enclose the argument with curly brackets (in
2151 case it contains a closing square bracket)
2155 * text3.C (checkInsetHit): constify
2157 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2159 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2160 documents (bug 1629)
2162 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2164 Fix toggling of collapsable insets with the mouse (bug 1558)
2166 * lyxfunc.C (dispatch): adapt to LCursor changes
2168 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2169 make sure that dispatch is not invoked twice
2171 * cursor.C (needsUpdate): new method
2172 (dispatch): return void
2173 (result): new method, to access the DispatchResult of the cursor.
2175 2004-08-13 José Matos <jamatos@lyx.org>
2177 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2179 2004-08-13 André Pönitz <poenitz@gmx.net>
2181 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2183 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2186 2004-08-12 André Pönitz <poenitz@gmx.net>
2188 * text3.C: take out the 'cursor right' form insertInset and only
2189 do it in those places when it is really needed. Fixes crash on
2192 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2194 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2196 * BufferView_pimpl.C (setBuffer): initialize the current font of
2197 the underlying LyXText
2199 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2201 * kbsequence.C (print): use UI native formatting for menu
2204 * text.C (insertChar): call Paragraph::insertChar with a font
2207 * paragraph.C (insertInset, insertChar): the version that takes a
2208 LyXFont argument is now a wrapper around the other one (the
2209 opposite used to be true).
2211 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2212 argument. Font setting is done in Paragraph now.
2214 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2216 * outputparams.h: add new members intitle and lang.
2218 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2219 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2221 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2223 * text3.C (dispatch): remove special handling of button 4 and 5,
2224 it is now taken care of in the frontend code.
2226 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2228 * Spacing.h: add <string> (STLPort compile fix)
2230 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2232 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2234 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2236 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2239 * converter.C (showMessage): inherit from unary_function, make
2242 * buffer.C (writeFile): initialize retval
2244 * InsetList.h: rename private variable list to list_
2245 * InsetList.[Ch]: adjust accordingly.
2247 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2249 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2250 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2251 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2252 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2253 * ParagraphParameters.C, LaTeXFeatures.C: replace
2254 "support/std_sstream.h" with <sstream>
2256 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2258 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2259 * lyxsocket.C (LyXServerSocket): ditto
2260 (serverCallback): ditto
2262 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2264 * LaTeXFeatures.C: check release date when loading jurabib.
2266 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2268 * lyxserver.C (startPipe): call register_socket_callback
2269 (endPipe): call unregister_socket_callback
2271 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2273 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2274 (LyXServerSocket): register the callback
2275 (LyXServerSocket): unregister the callback
2276 (fd): delete function
2277 (serverCallback): improve error checking and setup the callbacks.
2278 (dataCallback): change arg to fd.
2279 (writeln): new func (copied fro the client socket) used for server
2281 (LyXDataSocket): simplify
2282 (~LyXDataSocket): close ann unregiser callback
2283 (server): delete function
2284 (fd): delete function
2285 (readln): small changes, improve some std::string usage
2286 (writeln): constify a bit
2288 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2290 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2293 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2295 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2296 after it has been populated
2298 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2300 * text2.C (insertInset): move cursor when inserting inset.
2302 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2304 * kbmap.C (findbindings): a couple of new methods. returns a
2305 container of kb_sequence objects. The real work is done by the
2306 private recursive version
2307 (printbindings): uses findbindings to print out a bracketed list
2308 of bindings (renamed from findbinding).
2310 * MenuBackend.C (binding): use kb_keymap::findbindings
2312 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2314 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2316 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2318 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2320 * paragraph.C (isWord): return true on insets that report
2323 * text.C (getWord): use Paragraph::isWord to decide what is in a
2324 word and what is not; fix bug 1609.
2326 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2328 * tex-strings.C: add "none" to string_paperpackages[], fixes
2329 off-by-one-error in the paperpackage selection.
2332 * tex-strings.[Ch]: char const * string[n]
2333 -> char const * const string[]
2335 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2337 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2338 command, return early.
2340 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2342 * debug.h: add DEBUG to enum and fix size of ANY.
2344 * debug.C: add support for Debug::DEBUG
2345 (showTags): cast errorTags.level to unsigned int
2347 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2348 (redoCurrentBuffer): ditto
2349 (updateScrollbar): ditto
2350 * cursor.C (dispatch): ditto
2351 * text2.C (setLayout): ditto
2353 (updateCounters): ditto
2355 (deleteEmptyParagraphMechanism): ditto
2357 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2359 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2360 annotations to cleanup the Makefile slightly.
2362 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2364 * lyxrc.C: do not set user_email to a default value but use empty
2365 instead. The entry used to be translated, which does not work
2366 since at the point where lyxrc is constructed there is no
2367 translation service available
2369 * messages.C (getLocaleDir): remove and use directly
2370 lyx_localedir() instead
2372 2004-06-02 Angus Leeming <leeming@lyx.org>
2374 Fix crash caused by dereferencing null pointer 'exportdata' in
2375 OutputParams by creating a new ExportData variable on the heap,
2376 storing it in a boost::shared_ptr.
2377 The crash was triggered when generating an Instant Preview
2378 of an external inset.
2380 * Makefile.am: add outputparams.C
2382 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2383 (c-tor): allocate memory to it.
2385 * exporter.C (c-tor): associated changes.
2387 2004-06-01 Angus Leeming <leeming@lyx.org>
2389 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2390 contains data before calling isInset(0). (Bug 1513.)
2392 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2394 * exporter.C (checkOverwrite): new method
2395 * exporter.C (copyFile): new method
2396 * exporter.C (Export): copy referenced files to the document dir
2397 * exporter.[Ch]: new class ExportedFile
2398 * exporter.[Ch]: new class ExportData. Contains currently the
2399 names of referenced external files
2400 * outputparams.h: add exportdata member.
2402 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2404 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2407 2004-05-19 Angus Leeming <leeming@lyx.org>
2412 * lyxfunc.C: small changes due to the introduction of namespace
2413 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2415 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2417 * text3.C (dispatch): supress update when only moving the cursor
2418 * cursor.C (selHandle): remove commented code
2420 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2422 * paragraph.C (startTeXParParams): correct column count
2423 * CutAndPaste.C (pasteSelection): remove const_cast
2424 * output_docbook.C (docbookParagraphs): remove const_cast
2425 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2426 const_cast and return ParagraphList::const_iterator
2427 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2428 * output_plaintext.C (writeFileAscii): remove const_cast
2429 * paragraph.[Ch] (simpleTeXOnePar): make const
2430 * paragraph_funcs.C (outerPar): use const iterators
2431 * paragraph_pimpl.C (validate): use const iterators
2432 * text.C (setHeightOfRow): use const iterators
2434 2004-05-17 Angus Leeming <leeming@lyx.org>
2437 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2439 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2440 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2441 if the citation engine has changed.
2443 2004-05-14 José Matos <jamatos@lyx.org>
2445 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2446 if the textclass does not provide it. Have it different for sgml and
2448 support the language of document.
2449 * output_docbook.C (docbookParagraphs):
2450 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2451 first anchor as the id of the paragraph, remove special case code.
2452 * sgml.C (escapeChar): escape only < & >.
2454 2004-05-14 Angus Leeming <leeming@lyx.org>
2456 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2457 dependencies on src/frontends/controllers/biblio.h. Define a
2458 CiteEngine_enum wrapper class to enable the enum to be forward
2461 2004-05-12 Angus Leeming <leeming@lyx.org>
2463 * buffer.C: up LYX_FORMAT to 234.
2464 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2465 use_numerical_citations with a single biblio::CiteEngine cite_engine
2467 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2469 2004-05-13 José Matos <jamatos@lyx.org>
2472 * converter.C (Converter, readFlags): add xml member.
2473 * outputparams.h: add XML flavor.
2474 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2476 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2478 * lyxfunc.C (dispatch):
2479 (getStatus): fix handling of LFUN_SEQUENCE
2481 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2483 * debug.C (showLevel): do not forget the end-of-line marker
2485 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2487 * kbmap.C (read): do not stop parsing a bind file when an error
2490 2004-04-29 Angus Leeming <leeming@lyx.org>
2495 * text2.C: wrap a bunch of #warning statements
2496 inside #ifdef WITH_WARNINGS blocks.
2498 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2500 * buffer.C: increment format to 233.
2502 2004-04-28 Angus Leeming <leeming@lyx.org>
2504 * BufferView_pimpl.C:
2507 s/updateToolbar()/updateToolbars()/
2508 s/Toolbar.h/Toolbars.h/
2510 2004-04-28 Angus Leeming <leeming@lyx.org>
2512 * BufferView.[Ch] (c-tor):
2513 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2514 No longer passes these data to the WorkArea generator.
2516 2004-04-28 Angus Leeming <leeming@lyx.org>
2518 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2520 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2522 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2524 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2526 * output_latex.C (TeXEnvironment): make sure that there is a line
2527 break before \end{foo} for the last paragraph of a document
2528 (TeXOnePar): if the paragraph is at the end of the document (or
2529 inset) and the language has to be reset, then make sure that the
2530 line break is _before_ the language command, not after (fixes bug
2531 1225); also make sure that the language reset command is the first
2532 thing after the paragraph (to ensure proper nesting of
2533 environments and thus fix bug 1404)
2535 2004-04-21 John Levon <levon@movementarian.org>
2538 * ToolbarBackend.C: make "name" be a programmatic name
2539 and a gui_name field.
2541 * lyxfunc.C: display the minibuffer on M-x
2543 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2545 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2548 2004-04-19 Angus Leeming <leeming@lyx.org>
2550 * BufferView_pimpl.C (setBuffer): changed preview interface.
2552 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2555 2004-04-19 John Levon <levon@movementarian.org>
2557 * BufferView_pimpl.C:
2558 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2560 2004-04-05 Angus Leeming <leeming@lyx.org>
2562 * text.C (redoParagraphs): add call to updateCounters(), thereby
2563 fixing the missing "Figure #:" label from the caption of a
2566 2004-04-13 Angus Leeming <leeming@lyx.org>
2568 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2569 cursor is clicked out of an inset.
2571 2004-04-13 Angus Leeming <leeming@lyx.org>
2573 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2574 than an InsetOld one.
2576 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2578 * format.[Ch]: add editor to Format
2579 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2580 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2582 2004-04-08 André Pönitz <poenitz@gmx.net>
2584 * metricsinfo.h: remove PainterInfo::width member
2586 2004-04-08 Angus Leeming <leeming@lyx.org>
2588 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2589 "\providecommand" rather than "\newcommand", thereby preventing
2590 clashes with packages that define "\boldsymbol" themselves.
2593 2004-04-08 Angus Leeming <leeming@lyx.org>
2595 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2596 thereby squashing an unnecessary warning.
2598 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2600 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2603 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2605 * BufferView.C (setCursor): call redoParagraph (some insets could
2607 (putSelectionAt): remove the 'double update' trick
2609 * BufferView_pimpl.C (fitCursor): call refreshPar
2610 (workAreaDispatch): remove an uneeded update call
2611 (dispatch): remove some manual update calls
2613 * cursor.[Ch]: remove cached_y_, updatePos
2614 (selHandle): set noUpdate when appropriate
2616 * lyxfunc.C (dispatch): track if we need an update
2618 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2620 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2621 (paintSelection): cheap optimization, do not call cursorX when not
2623 (paintPars): change signature
2626 (paintTextInset): adjust
2630 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2632 * lengthcommon.C: compilation fix: remove explicit array size from
2633 unit_name[] and friends
2635 2004-04-05 Angus Leeming <leeming@lyx.org>
2637 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2639 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2640 present only for the preferences dialog.
2641 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2643 2004-04-05 Angus Leeming <leeming@lyx.org>
2645 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2646 to enable the frontends to export changes to lyxrc correctly.
2648 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2650 2004-04-07 André Pönitz <poenitz@gmx.net>
2652 * cursor.[Ch] (selClear, adjust): remove math
2654 * cursor_slice.C: more agressive assert
2657 * BufferView_pimpl.C: rework mouse event dispatch
2664 2004-04-05 André Pönitz <poenitz@gmx.net>
2666 * cursor.[Ch] (valign, halign...): remove unneeded functions
2668 2004-04-05 Angus Leeming <leeming@lyx.org>
2670 * lyxlength.[Ch] (unit_name et al.): const-correct.
2672 2004-04-05 Angus Leeming <leeming@lyx.org>
2674 * BufferView_pimpl.C:
2683 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2685 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2687 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2689 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2691 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2692 * BufferView_pimpl.[Ch] (getStatus)
2693 * BufferView.[Ch] (getStatus): add
2694 * lyxfunc.C (getStatus): move lfuns handled in
2695 BufferView::dispatch to te function above
2696 * Cursor.C (setSelection): set selection() = true
2698 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2700 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2702 2004-03-31 Angus Leeming <leeming@lyx.org>
2704 * lyxfunc.C (dispatch): Fall through to the generic
2705 Dialogs::show("preamble").
2707 2004-03-31 Angus Leeming <leeming@lyx.org>
2709 * lyxfunc.C (dispatch): Fall through to the generic
2710 Dialogs::show("spellchecker").
2712 2004-03-31 Angus Leeming <leeming@lyx.org>
2714 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2717 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2722 * insetiterator.[Ch]:
2727 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2729 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2731 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2732 insets where we are putting the cursor.
2734 2004-03-31 Angus Leeming <leeming@lyx.org>
2737 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2739 * lyxrc.[Ch] (read, write): overloaded member functions taking
2740 a std::[io]stream arguments.
2742 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2744 2004-03-31 Angus Leeming <leeming@lyx.org>
2746 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2747 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2749 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2750 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2752 2004-03-31 Angus Leeming <leeming@lyx.org>
2754 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2755 the LFUN_ALL_INSETS_TOGGLE code.
2757 2004-03-30 Angus Leeming <leeming@lyx.org>
2759 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2760 has died. Fall through to the generic Dialogs::show("document").
2762 2004-03-30 Angus Leeming <leeming@lyx.org>
2765 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2766 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2768 * lyxfunc.C (getStatus, dispatch): define the actions for these
2769 lfuns. Little more than a cut and pste job from ControlDocument.C
2771 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2773 2004-03-30 Angus Leeming <leeming@lyx.org>
2776 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2777 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2779 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2780 open/closed state of ollapsable insets. Usage:
2782 all-inset-toggle <state> <name>, where
2783 <state> == "open" || "closed" || "toggle" and
2784 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2786 * lyxtext.h, text2.C (toggleInset): removed.
2788 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2789 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2790 now passes LFUN_INSET_TOGGLE to the found inset.
2792 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2793 is now invoked as "all-insets-toggle toggle branch".
2795 2004-03-30 Angus Leeming <leeming@lyx.org>
2799 * pariterator.[Ch]: added/corrected header blurb.
2801 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2803 * dociterator.[Ch]: add an inset_ member
2804 (backwardPos): implemented
2805 (backwardPos, forwardPos): use inset_ when the stack is empty.
2806 (doc_iterator_begin, doc_iterator_end): implemented
2807 * pariterator.[Ch]: adjust, add begin, end
2808 * insetiterator.[Ch]: adjust, add begin, end
2812 * BufferView_pimpl.C:
2813 * CutAndPaste.C: adjust
2815 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2817 * buffer.C: increment file format to 232.
2818 * LaTeXFeatures.C: add bibtopic package.
2819 * bufferparams.[Ch]: param \use_bibtopic.
2821 * lyxrc.[Ch]: add lyxrc bibtex_command
2822 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2824 * buffer.C: increment file format to 231.
2826 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2828 * dociterator.C: implement forwardPar
2829 * iterators.[Ch]: remove, replaced by
2830 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2832 * BufferView_pimpl.C:
2835 * bufferview_funcs.C:
2841 * Makefile.am: adjust
2843 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2845 * CutAndPaste.C (pasteSelection): fix 2 crashes
2846 (eraseSelection): fix a crash
2847 * paragraph_funcs.C: remove a warning
2849 2004-03-28 Angus Leeming <leeming@lyx.org>
2852 * LyXAction.C (init): new LFUN_PRINT.
2854 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2856 2004-03-27 Angus Leeming <leeming@lyx.org>
2859 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2861 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2863 2004-03-27 Angus Leeming <leeming@lyx.org>
2865 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2866 insetlist always contains non-null pointers to insets.
2868 2004-03-26 Angus Leeming <leeming@lyx.org>
2870 * src/BufferView_pimpl.C:
2871 * src/CutAndPaste.C:
2874 * src/output_plaintext.C:
2875 * src/outputparams.h:
2876 * src/paragraph_funcs.C:
2880 * src/frontends/controllers/ControlErrorList.C:
2881 * src/frontends/gtk/FileDialogPrivate.C:
2882 * src/frontends/gtk/GPainter.C:
2883 * src/frontends/gtk/GToolbar.C:
2884 * src/frontends/qt2/QRef.C:
2885 * src/mathed/math_scriptinset.C: squash compiler warnings.
2887 2004-03-26 Angus Leeming <leeming@lyx.org>
2889 * ispell.C (LaunchIspell::start):
2890 * lyx_cb.C (AutoSaveBuffer::start):
2891 invoke run(DontWait) rather than runNonBlocking().
2893 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2895 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2897 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2899 * kbsequence.C (print): adjust
2901 * kbmap.C (printKeySym): rename and change signature
2902 (printKey): use LyXKeySym::print()
2904 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2906 * undo.C: add using std::advance to compile for stlport
2908 2004-03-24 Angus Leeming <leeming@lyx.org>
2910 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2911 it leads to a crash when no buffer is present.
2913 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2914 Martin Vermeer <martin.vermeer@hut.fi>
2916 * lyxfunc.C (dispatch):
2917 * bufferparams.C (readToken): use the new LColor::setColor
2919 * LColor.[Ch] (setColor): new version that takes two strings as
2920 argument and creates a new color entry if necessary
2922 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2924 * buffer.C (makeLaTeXFile): if the main latex file that is
2925 processed is usually a subdocument of some master, then pretend
2926 for a while that it is actually the master
2928 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2930 * buffer.C (getLabelList):
2931 (getBibkeyList): use getMasterBuffer()
2932 (getMasterBuffer): new method. Returns the main document in the
2933 case where one is using included documents.
2935 2004-03-25 André Pönitz <poenitz@gmx.net>
2939 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2941 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2943 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2944 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2946 * ParameterStruct.h: merge with ParagraphParameters
2948 * lyxtext.h: remove LyXText::parOffset() and getPar()
2950 * text3.C: Remove all 'manual' update calls. We do now one per user
2951 interaction which is completely sufficient.
2955 * BufferView_pimpl.C:
2956 * FontIterator.[Ch]:
2958 * ParagraphParameters.[Ch]:
2963 * cursor_slice.[Ch]:
2970 * output_docbook.[Ch]:
2971 * output_latex.[Ch]:
2972 * output_linuxdoc.[Ch]:
2973 * output_plaintext.[Ch]:
2975 * paragraph_funcs.[Ch]:
2976 * paragraph_pimpl.[Ch]:
2984 * frontends/controllers/ControlDocument.C:
2985 * frontends/controllers/ControlErrorList.C:
2986 * frontends/controllers/ControlSpellchecker.C:
2989 * insets/insetbase.h:
2990 * insets/insetbibitem.C:
2991 * insets/insetbox.C:
2992 * insets/insetbranch.C:
2993 * insets/insetcaption.C:
2994 * insets/insetcharstyle.C:
2995 * insets/insetcharstyle.h:
2996 * insets/insetcollapsable.C:
2997 * insets/insetcollapsable.h:
2998 * insets/insetert.C:
2999 * insets/insetfloat.C:
3000 * insets/insetfoot.C:
3001 * insets/insetmarginal.C:
3002 * insets/insetnote.C:
3003 * insets/insetoptarg.C:
3004 * insets/insettabular.C:
3005 * insets/insettext.C:
3006 * insets/insettext.h:
3007 * insets/insetwrap.C:
3008 * mathed/math_mboxinset.C:
3009 * mathed/math_nestinset.C:
3010 * mathed/math_scriptinset.C:
3011 * mathed/math_scriptinset.h:
3014 2004-03-24 Angus Leeming <leeming@lyx.org>
3016 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3017 deal with any child processes that have finished but are waiting to
3018 communicate this fact to the rest of LyX.
3020 2004-03-24 Angus Leeming <leeming@lyx.org>
3022 64-bit compile fixes.
3024 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3025 (c-tor): pass lyx::pos_types rather than ints.
3027 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3030 * text.C (Delete): compile fix.
3031 (getPar): ensure that function declaration is the same as that in
3034 2004-03-23 Angus Leeming <leeming@lyx.org>
3036 * ispell.C (LaunchIspell):
3037 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3038 a boost::shred_ptr rather than a std::auto_ptr.
3040 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3042 * lyxfunc.C (getStatus): handle read-only buffers correctly;
3043 handle LFUN_FILE_INSERT_*
3045 * lyxrc.C (setDefaults, getDescription, output, read):
3046 * lyxrc.h: remove ps_command
3048 2004-03-22 Angus Leeming <leeming@lyx.org>
3050 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3051 Ensure that error_handler is processed once only and that all data
3052 is saved before attempting to output any warning messages.
3054 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3056 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3058 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3060 2004-03-19 André Pönitz <poenitz@gmx.net>
3062 * cursor.[Ch] (reset): take main text inset as argument
3064 * BufferView: adjust
3065 * BufferView_pimpl.C: adjust
3067 * paragraph.[Ch]: fix completely broken operator=()
3069 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3071 * LColor.C (getFromLyXName): make sure that the color name is used
3074 2004-03-17 Angus Leeming <leeming@lyx.org>
3077 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3079 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3080 dialog and to kill a forked process.
3082 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3084 * text2.C (setCursorFromCoordinates): fix font problem
3086 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3088 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3089 bogus "rebuild cursor" code
3091 2004-03-11 André Pönitz <poenitz@gmx.net>
3093 * buffer.[Ch]: use InsetText instead of LyXText as container for
3096 * dociterator.[Ch]: drop the BufferView * member which is not needed
3097 anymore after the change to buffer.C
3099 * paragraph_funcs.C:
3103 * BufferView_pimpl.[Ch]:
3105 * cursor_slice.[Ch]: adjust
3107 * text3.C: fix bug in mathDispatch
3109 2004-03-08 André Pönitz <poenitz@gmx.net>
3111 * undo.[Ch]: use 'StableDocumentIterator' as base for
3114 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3117 * bufferparams.[Ch]: add jurabib support and param.
3119 * LaTeX.C: add FIXME/comment.
3121 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3123 * buffer.C: increment file format to 230.
3125 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3127 * cursor.C (dispatch): avoid infinite loops
3129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3131 * rowpainter.C (paintSelection): fix x coordinates
3133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3135 * text.C (rowBreakPoint): fix breaking before displayed insets
3137 2004-03-01 André Pönitz <poenitz@gmx.net>
3139 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3141 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3145 * BufferView_pimpl.C:
3153 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3159 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3160 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3162 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3164 * Bidi.[Ch] (computeTables): const correctness
3165 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3166 fill_hfill, fill_label_hfill and x from Row
3167 * lyxtext.h: prepareToPrint returns a RowMetrics
3168 * rowPainter.C: adjust
3169 * text.C (prepareToPrint): use width, not textWidth. adjust
3170 (redoParagraphInternal, cursorX): adjust
3171 * text2.C (getColumnNearX): adjust
3172 (init): put a default value to the top LyXText::width
3174 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3176 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3178 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3180 * lyxtext.h: add FontIterator class
3182 * text.C (FontIterator, operator*, operator->, operator++): add
3183 (rowBreakPoint, setRowWidth): adjust (fixing a
3186 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3188 * BufferView_pimpl.C (workAreaDispatch): allow also
3189 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3191 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3193 * text.C (rowBreakPoint): fix a bug showing with very large insets
3195 2004-02-25 André Pönitz <poenitz@gmx.net>
3198 * cursor.[Ch]: move some mathed specific code to mathed
3200 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3202 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3203 use_tempdir in preferences
3204 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3206 * lyx_main.C: ensure that tempdir is valid
3207 * lyxlex.h: correct typo
3208 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3209 * paragraph.[Ch] (isMultiLingual): make const
3210 * cursor.[Ch] (openable): make const
3212 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3214 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3216 2004-02-20 André Pönitz <poenitz@gmx.net>
3218 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3220 * cursor.[Ch]: prepare for localized getStatus()
3226 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3228 2004-02-20 André Pönitz <poenitz@gmx.net>
3230 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3232 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3234 * text2.C (setCursorFromCoordinates): switch to absolute coords
3236 (cursorDown): adjust
3237 * text3.C (dispatch): adjust
3239 2004-02-16 André Pönitz <poenitz@gmx.net>
3241 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3244 * cursor_slice.[Ch]: remove unneeded acessor function
3246 * lyxtext.h: rename rtl() to isRTL()
3254 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3256 * rowpainter.C (paintSelection): coord fix
3258 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3260 * Spacing.C: compile fix
3262 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3264 * cursor.C (dispatch): restore current_ before returning
3266 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3268 * text2.C (cursorUp, cursorDown): fix coords
3271 2004-02-12 André Pönitz <poenitz@gmx.net>
3276 * text3.C: add LCursor & parameter to most cursor movement functions
3277 remove usage of LyXText::cursorRow() and cursorPar()
3279 * cursor.[Ch]: add textRow() needed members
3282 * BufferView_pimpl.C:
3285 * BufferView_pimpl.C: adjust
3287 2004-02-11 André Pönitz <poenitz@gmx.net>
3291 * BufferView_pimpl.C: shift undo/redo handling
3293 * cursor.[Ch]: fix mathed crash
3296 * lyxtext.h: move selectionAsText to LCursor
3304 * rowpainter.C: fix excessive drawing
3306 2004-02-06 André Pönitz <poenitz@gmx.net>
3309 * BufferView_pimpl.[Ch]:
3310 * text3.C: move some text specific LFUN handling
3312 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3314 * text3.C (checkInsetHit): adjust coords
3315 * text2.C (getColumnNearX): adjust coords
3316 (edit): adjust coords
3317 * text.C (getRowNearY): add two asserts
3319 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3322 * format.C: add using std::distance to compile on gcc 2.95/stlport
3324 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3326 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3328 2004-02-04 André Pönitz <poenitz@gmx.net>
3330 * BufferView.[Ch] (insertInset):
3331 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3336 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3338 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3339 on the default clause of the switch
3340 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3341 wasn't catched by LCursor::dispatch
3343 2004-02-03 André Pönitz <poenitz@gmx.net>
3346 * cursor.[Ch]: some additional asserts
3348 * undo.[Ch]: remove LyXText dependency in interface
3352 * lyxtext.h (firstPar, lastPar): remove dead functions
3357 * paragraph.[Ch]: adjust
3359 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3361 * lyxfind.C (find): fix argument order in call to ::find
3363 2004-02-02 André Pönitz <poenitz@gmx.net>
3365 * cursor.[Ch]: remove direct access to anchor
3367 * text.C: remove findText() hack
3369 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3371 * iterators.[Ch] (lockPath): remove in favour of...
3372 * BufferView.[Ch] (setCursor): this addition
3373 * BufferView.C (putSelectionAt): adjust
3374 * undo.C (performUndoOrRedo): adjust
3375 * lyxfunc.C (dispatch): adjust
3377 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3379 * iterators.C (lockPath): add a missing slice
3380 * undo.C (performUndoOrRedo): remove redundant positioning code
3382 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3384 * vc-backend.C (scanMaster): ";" -> ';'
3386 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3388 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3389 std::binary_function
3391 * lyxtextclass.C (compare_name): rename to...
3392 (LayoutNamesEqual): ...this
3394 * lyxlex_pimpl.C (compare_tags): inherit from
3395 std::binary_function, put back into anon namespace
3397 * lyxfind.C (MatchString): inherig from std::binary_function
3398 (findChange): use empty() istead of !size()
3400 * format.C (FormatNamesEqual): new functor
3407 * converter.C (compare_Converter): rename to...
3408 (ConverterEqual): ...this, and fixup a bit.
3409 (getConverter): use it, and make function const
3410 (getNumber): use it, and make function const
3414 * bufferlist.C: add using boost::bind
3416 * MenuBackend.C (MenuNamesEqual): new functor
3417 (hasMenu): use it, and make function const
3418 (hasSubmenu): use nested bind to get rid of compare_memfun.
3420 2004-01-30 André Pönitz <poenitz@gmx.net>
3422 * BufferView_pimpl.C:
3425 * cursor_slice.[Ch]:
3428 * paragraph_funcs.C:
3429 * paragraph_funcs.h:
3433 * text3.C: move some of the edit(x,y) handling to the insets
3434 some coordinate changes.
3436 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3438 * text.C: add using statements for std::advance and std::distance
3440 * paragraph.C: add using statement for std::distance
3442 * lyxfind.C: add using statement for std::advance
3444 * cursor.C (region): remove std:: from swap
3445 (openable): use nucleus in stead of operator->
3447 * BufferView.C: add using statements for std::distance and std::swap
3449 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3451 * iterators.C: Remove the pimple, move the needed structures to
3452 the header file. Create accessor for the positions stack.
3453 (asPosIterator): remove function
3455 * PosIterator.C (PosIterator): move constructors to top of file
3456 (PosIterator): reimplement the constructor taking a ParIterator in
3458 (setFrom): new function
3459 (operator!=): inline it
3461 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3463 * lyxfind.C (replaceAll): use std::advance
3465 * iterators.h: inherit from std::iterator.
3467 * PosIterator.C (advance, distance): remove
3468 * PosIterator.h: interit from std::iterator.
3470 2004-01-26 André Pönitz <poenitz@gmx.net>
3473 * BufferView_pimpl.[Ch]:
3477 * bufferview_funcs.C:
3487 * output_linuxdoc.C:
3488 * output_plaintext.C:
3490 * paragraph_funcs.[Ch]:
3491 * paragraph_pimpl.[Ch]:
3497 * text3.C: more IU: dumps most of the rest of the mathcursor
3498 implementation into cursor.[Ch]; "globalize" a bit of it.
3500 2004-01-25 Angus Leeming <leeming@lyx.org>
3502 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3504 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3506 * LaTeXFeatures.h: add nice_ and nice() const
3507 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3509 2004-01-20 André Pönitz <poenitz@gmx.net>
3512 * BufferView_pimpl.C:
3514 * bufferview_funcs.C:
3516 * cursor_slice.[Ch]:
3527 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3528 LCursor and mathcursor parts to LCursor and InsetBase.
3530 2004-01-15 André Pönitz <poenitz@gmx.net>
3532 * cursor_slice.[Ch]: add a few covienience functions
3534 * funcrequest.[Ch]: remove BufferView * member
3536 * BufferView_pimpl.C:
3543 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3545 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3547 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3548 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3550 2004-01-13 André Pönitz <poenitz@gmx.net>
3553 * lyxtext.h: hide cursor and selection anchor behind accessor function
3556 * BufferView_pimpl.[Ch]:
3558 * bufferview_funcs.C:
3568 * cursor_slice.[Ch]: some integer type changes for inset unification
3570 * lyxcursor.[hC]: remove, it's CursorSlice now.
3573 * BufferView_pimpl.[Ch]:
3574 * bufferview_funcs.C:
3580 * textcursor.[Ch]: adjust
3582 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3584 * text2.C (undoSpan): add and use
3585 * text.C (breakParagraph): use undoSpan (fix bug 578)
3588 2004-01-08 Angus Leeming <leeming@lyx.org>
3590 * BufferView_pimpl.C (MenuInsertLyXFile):
3591 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3592 * lyxfunc.C (menuNew, open, doImport):
3593 FileFilterList change to the FileDialog open and save functions.
3595 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3597 * ShareContainer.h: make isEqual and isUnique adaptable
3599 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3601 2004-01-07 Angus Leeming <leeming@lyx.org>
3604 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3606 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3608 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3609 functions replacing find, replace and replaceAll.
3611 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3612 LFUN_WORDFIND(FORWARD|BACKWARD).
3614 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3616 * text.C (breakParagraph): remove an outdated #warning
3618 2004-01-07 André Pönitz <poenitz@gmx.net>
3620 * lyxfind.C: somewhat clearer logic
3622 * text.C: prevent crash in cursorX on unitialized row cache
3624 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3626 * lyxcursor.[Ch] (operator>): add
3627 * textcursor.C (selStart, selEnd): use std::min and std::max
3629 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3631 * Chktex.C: include boost/format.hpp
3633 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3635 * InsetList.C: replace functor MathcIt with adaptable functor
3637 (insetIterator): modify accordingly
3639 * BranchList.h: move the BranchNamesEqual functor here from...
3640 * BranchList.C: ... to here
3642 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3644 (add): replace a finding loop with std::find_if.
3646 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3648 * output_docbook.C: moving LatexParam functionality into
3651 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3653 * buffer.C: increment format to 229.
3655 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3658 * lyx_sty.[Ch]: remove minipageindent_def
3664 * text3.C: remove LFUN_INSET_MINIPAGE
3666 2003-12-28 Angus Leeming <leeming@lyx.org>
3668 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3670 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3672 * text2.C (setParagraph): fix off-by-one crash
3674 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3676 * output_docbook.C: header stuff for AGU
3678 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3680 * text2.C (redoCursor): remove
3683 * BufferView_pimpl.C: remove calls to redoCursor and
3684 setCursor(cursor.par(), cursor.pos()) all around
3686 2003-12-15 Angus Leeming <leeming@lyx.org>
3688 * buffer.C: up the format to 228.
3690 2003-12-15 André Pönitz <poenitz@gmx.net>
3692 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3697 * BufferView_pimpl.C:
3706 2003-12-15 Angus Leeming <leeming@lyx.org>
3708 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3709 than getFromGUIName to manipulate the color.
3711 2003-12-14 Angus Leeming <leeming@lyx.org>
3713 * BranchList.[Ch]: minimize the API.
3714 (Branch::getBranch, getColor): now return a 'const &'.
3715 (Branch::setSelected) now returns a bool set to true if the
3716 selection status changes.
3717 (BranchList::clear, size, getColor, setColor, setSelected,
3718 allBranches, allSelected, separator): removed.
3719 (BranchList::find): new functions, returning the Branch with
3721 (BranchList::add, remove): return a bool indicating that
3722 the operation was successful.
3724 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3725 new InsetBranch::isBranchSlected member function.
3727 * LColor.[Ch]: mimimize the API.
3728 (fill): renamed as addColor and made private.
3729 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3730 versions of these functions taking a string arg have been removed.
3732 * bufferparams.C (readToken):
3733 * lyxfunc.C (dispatch):
3734 * lyxrc.C (read): changes due to the altered BranchList and
3737 * factory.C (createInset, readInset): changes due to altered
3740 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3743 * lyxfunc.C: remove insetminipage. "minipage-insert"
3744 now produces a frameless minipage box inset.
3746 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3748 * textcursor.[Ch] (selStart,selEnd): add new methods
3749 remove selection::start, end, use LyXCursor::operator<
3750 * lyxcursor.[Ch] (operator<): add
3751 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3752 * BufferView.[Ch] (unsetXSel): add
3753 * text2.C (clearSelection): use unsetXSel,adjust
3756 * rowpainter.C: adjust
3757 * bufferview_funcs.C (put_selection_at): adjust
3759 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3761 * BufferView_pimpl.C: small coord. correction
3763 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3765 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3766 dragging over the splash screen.
3768 2003-12-11 Angus Leeming <leeming@lyx.org>
3770 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3771 as it is now handled in LyXText::dispatch.
3773 * text3.C (doInsertInset): remove a level of nesting.
3775 2003-12-11 Angus Leeming <leeming@lyx.org>
3777 * factory.C (createInset): changes due to the changed interface to
3778 InsetCommandMailer::string2params.
3780 2003-12-10 Angus Leeming <leeming@lyx.org>
3782 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3783 'dialog-show-new-inset <inset name>'
3785 2003-12-10 Angus Leeming <leeming@lyx.org>
3787 * buffer.C: up the format to 227.
3789 * factory.C: the box inset is now identified simply by 'Box'.
3791 2003-12-10 Angus Leeming <leeming@lyx.org>
3793 * buffer.C: up the format to 226.
3795 * factory.C: the note inset is now identified simply by 'Note'.
3797 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3799 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3800 when a pit is enough. Standarize a couple of loops.
3802 2003-12-05 Angus Leeming <leeming@lyx.org>
3804 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3805 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3806 data to the re-worked "log" dialog.
3808 2003-12-03 André Pönitz <poenitz@gmx.net>
3814 * paragraph_funcs.C:
3816 * text2.C: use Inset::getText instead of Inset::getParagraph
3818 2003-12-03 André Pönitz <poenitz@gmx.net>
3822 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3823 InsetText::read() as LyXText::read()
3825 2003-12-02 Angus Leeming <leeming@lyx.org>
3827 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3828 type. Add a comment in the implementation that the function uses
3829 the stream's bad() function rather than fail() as the std::streams
3832 2003-12-02 André Pönitz <poenitz@gmx.net>
3834 * lyxlex.[Ch]: make interface more similar to std::stream
3836 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3838 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3840 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3842 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3844 * vspace.[Ch]: remove VSpace::NONE
3846 2003-12-01 André Pönitz <poenitz@gmx.net>
3849 * lyxtext.h: move ParagraphList member to LyXText
3850 rename LyXText::ownerParagraphs to LyXText::paragraph
3853 * bufferview_funcs.C:
3863 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3865 * undo.C: fix cursor positioning
3867 2003-12-01 John Levon <levon@movementarian.org>
3869 * BufferView_pimpl.C: fix a crash on exit with
3872 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3874 * BranchList.C: fix setSelected() method.
3876 2003-11-28 André Pönitz <poenitz@gmx.net>
3878 * ParagraphParameters.[Ch]:
3879 * ParameterStruct.h: remove space above/below from Paragraph to
3882 * BufferView_pimpl.C:
3888 * paragraph_funcs.C:
3894 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3896 * factory.C: Syntax change for CharStyles
3898 2003-11-28 André Pönitz <poenitz@gmx.net>
3903 * buffer.[Ch]: move LyXText member
3905 2003-11-28 André Pönitz <poenitz@gmx.net>
3907 * BufferView.[Ch]: make LyXText * text a private member
3909 * BufferView_pimpl.C:
3920 * output_plaintext.C: cleanup
3922 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3925 * lyxtextclass.[Ch]: parametrize SGML document header
3927 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3930 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3933 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3935 * text2.C (setFont): rework using PosIterator (no more recursive)
3936 (setCharFont): no more needed
3937 (setLayout): no more selection cursors fiddling (done by redoCursor)
3938 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3939 destroy remaining ones)
3941 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3943 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3945 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3948 * text3.C: adjust + re-allow multi par depth changes
3949 * textcursor.C: simplify a bit
3951 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3957 * src/output_docbook.C:
3958 * src/output_latex.C:
3963 * src/text2.C: Introducing a number of tags parametrizing various
3964 XML formats that we may want to support
3966 2003-11-25 André Pönitz <poenitz@gmx.net>
3968 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3970 * lyxtext.h (leftMargin/rightMargin): simplify interface
3977 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3979 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3980 master file to any child files. Fixes bug 546.
3982 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3984 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3986 2003-11-24 André Pönitz <poenitz@gmx.net>
3988 * rowpainter.C: simplification
3990 * text2.C (updateCounters): remove call to redoParagraph on
3991 changed labels as this is far too expensive.
3993 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3995 * converter.C (convert): fix a crash: this function gets
3996 called with buffer == 0 from importer code.
3998 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
4000 * text3.C (cursorPrevious): make sure that we do not compare
4001 iterators form different containers.
4004 * rowpainter.C (paintSelection): make sure that we do not compare
4005 iterators from different containers.
4007 * text3.C (dispatch): [PRIOR] make sure that we do not compare
4008 iterators from different ParagraphList containers.
4011 * text2.C (LyXText): change order of initialization slightly
4012 (operator=): new function. copy all variables except cache_par_
4013 (moveUp): make sure that we do not compare iterators from
4014 different ParagraphList constainers.
4017 * text.C (firstPar): new function
4018 (lastPar): new function
4019 (endPar): new function
4021 * lyxtext.h: move things around and group public functions, public
4022 variables, private functions, private variables
4024 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
4026 * factory.C: change call to InsetERT constructor to avoid
4027 additional invocation of method status
4028 * text2.C (toggleInset): remove redundant update() call
4029 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4030 instead of a Bufferview pointer
4032 2003-11-21 André Pönitz <poenitz@gmx.net>
4034 * rowpainter.C: simplification
4036 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4038 * text3.C (dispatch): make possible to extend a word/row selection
4041 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
4043 * lyxtext.h: x0_,y0_ -> xo_,yo_
4044 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4045 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4046 * rowpainter.C (paintRows): paint full paragraphs
4048 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4050 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4053 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4055 * lyxtext.h: add x0_, y0_
4056 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4057 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4059 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4061 * text2.C (setCursorIntern): move the x_target update here *
4062 * text3.C: change some bv() to true/false in calls to
4063 cursorUp/Down/Right/Left
4064 * cursor.C: use helper function.
4066 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4068 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4069 * paragraph_funcs.[Ch]: correct comment
4070 * rowpainter.C: do not paint selections away from bv->cursor()
4071 Fix a long standing selection painting bug.
4072 * text3.C: generalize mouse-selection code to LyXTexts other that
4074 * textcursor.C: do not use y coords if we can use par offsets
4076 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4078 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4079 cursor position after e.g. inset insert)
4081 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4083 * lyxfind.C (replace): adjust to locking removal + some
4086 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4088 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4091 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4094 * output_docbook.C: XML sanitation: new layout
4095 parameters InnerTag and CommandDepth
4097 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4099 * BufferView_pimpl.C:
4101 * text3.C: Fix the insertion and modification of button-style
4104 2003-11-13 André Pönitz <poenitz@gmx.net>
4106 * InsetList.[Ch]: remove deleteLyXText
4108 * paragraph.[Ch]: cache beginOfBody position
4113 * text3.C: remove superfluous update() calls
4117 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4119 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4120 * BufferView.C (fitLockedInsetCursor): remove
4121 * cursor.[Ch] (getDim): add
4122 * text.C (getRowNearY): add faster version
4123 * text3.C: remove some update calls
4125 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4137 * text3.C: The Character Style /XML short element patch.
4139 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4142 * factory.C: Small step to solving 'unable to insert some insets'
4145 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4147 * cursor.[Ch] (updatePos): new function for updating the y
4148 position of the tip inset
4149 * bufferview_funcs.C (put_selection_at):
4150 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4152 2003-11-11 André Pönitz <poenitz@gmx.net>
4154 * text.C: remove big comment on invalid Paragraph pointers as it is
4157 2003-11-11 André Pönitz <poenitz@gmx.net>
4159 * text_funcs.[Ch]: merge with ...
4167 * Makefile.am: remove text_funcs.[Ch]
4169 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4171 * cursor.C (getPos): return absolute cached y coord
4173 * BufferView_pimpl.C (fitCursor): new simplistic code
4174 (workAreaDispatch): add a fitCursor call
4176 2003-11-10 André Pönitz <poenitz@gmx.net>
4179 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4181 2003-11-10 André Pönitz <poenitz@gmx.net>
4183 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4184 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4185 indicate that the cursor needs to leave an inset
4187 * lyxtext.h: remove inset locking
4189 * cursor.[Ch]: re-implement functionality provided by inset locking
4192 * BufferView_pimpl.[Ch]:
4194 * bufferview_funcs.[Ch]:
4206 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4208 * PosIterator.[Ch]: replace the stack with a vector, add inset
4210 * iterators.[C]: adjust
4212 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4214 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4216 * paragraph_funcs.C (readParToken): put the correct id in the
4217 error item, not the id of the top paragraph
4219 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4221 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4222 * bufferview_funcs.C (put_selection_at): use the above
4224 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4226 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4228 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4230 * output_linuxdoc.h:
4231 * output_plaintext.h:
4233 * output_docbook.h: add #include statements
4235 2003-11-05 José Matos <jamatos@lyx.org>
4237 * output_docbook.[Ch]:
4238 * output_latex.[Ch]:
4239 * output_linuxdoc.[Ch]:
4240 * output_plaintext.[Ch]: New files for output formats.
4241 * output.[Ch]: New file for helper functions.
4244 * paragraph_funcs.[Ch]: output functions moved to new files.
4246 * outputparams.h: rename of latexrunparams.h
4254 * paragraph_funcs.[Ch]:
4255 * paragraph_pimpl.[Ch]:
4256 * tabular.[Ch]: rename ascii to plaintext
4257 and LatexRunParams to OutputParams.
4259 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4261 * iterators.[Ch] (text): require bv argument
4262 * undo.C (recordUndo):
4263 * lyxfunc.C (dispatch):
4264 * bufferview_funcs.C (put_selection_at): adjust
4266 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4268 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4270 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4272 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4275 2003-11-04 André Pönitz <poenitz@gmx.net>
4277 * cursor.[Ch]: restructure
4280 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4282 * iterators.[Ch] (asCursor): remove
4284 * lfuns.h: remove LFUN_INSET_EDIT
4290 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4292 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4294 * lyxfind.[Ch]: complete overhaul
4295 * BufferView_pimpl.C:
4297 * paragraph.[Ch] (insert): add
4299 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4303 * text.C: remove dead spellcheck code
4305 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4307 * dispatchresult.h: add a val setter
4309 * cursor.C (dispatch): use a tempvar for data_[i]
4311 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4313 * PosIterator.[Ch]: compile fix
4315 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4317 * text.C (cursorPar): deactivate the cursor cache
4319 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4321 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4323 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * text3.C (dispatch): adjust for new DisptchResult semantics.
4327 * lyxfunc.C (dispatch): handle update when return from
4328 Cursor::dispatch, adjust for new DispatchResult semantics.
4330 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4331 DispatchResult(true) mean to not update. Add class functions for
4332 setting dispatched and update, as well as reading.
4334 * cursor.C (dispatch): don't handle update here
4336 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4338 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4339 * trans_mgr.C: adjust
4341 * paragraph_funcs.C (readParToken): exception safety
4343 * lyxvc.h: store the vcs pointer in a scoped_ptr
4346 * lyxsocket.C (serverCallback): exception safety
4348 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4350 * ispell.C (clone): make it return a auto_ptr
4352 * factory.C (createInset): exception safety
4353 (readInset): exception safety
4355 * bufferlist.C (newBuffer): exception safety
4357 * Thesaurus.C (Thesaurus): use initialization for aik_
4359 * MenuBackend.C (expandToc): exception safety.
4361 2003-11-03 André Pönitz <poenitz@gmx.net>
4365 * bufferview_funcs.C: remove getInsetFromId()
4368 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4374 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4376 * PosIterator.C (distance, advance): new
4377 * bufferview_funcs.[Ch] (put_selection_at): new
4378 * iterators.[Ch] (lockPath): new
4380 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4382 * iterators.[Ch] (asPosIterator): added
4383 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4384 * PosIterator.[Ch]: added
4386 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4390 * cursor.C (dispatch):
4391 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4393 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4394 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4395 contructor, add a class function dispatched. Remove operator>=
4397 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * debug.C: only use the default constructor for debugstream
4402 * main.C (main): include debug.h and setup the lyxerr streambuf
4405 2003-10-31 José Matos <jamatos@lyx.org>
4407 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4409 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4410 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4411 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4412 * paragraph_pimpl.C (simpleTeXSpecialC):
4413 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4414 add LatexRunParams argument.
4416 * exporter.C (Export): change call accordingly.
4418 * latexrunparams.h: add new member to take care of the other backends.
4419 2003-10-30 José Matos <jamatos@lyx.org>
4421 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4422 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4423 factorise code for paragraph output.
4425 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4428 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4430 * text3.C (dispatch):
4431 * lyxfunc.C (dispatch):
4432 * cursor.C (dispatch):
4433 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4435 * dispatchresult.h: make the dispatch_result_t ctor explicit
4437 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4440 * buffer.C: small refactoring of docbook stuff
4442 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4444 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4447 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4450 operator dispatch_result_t, and operators for == != and >=
4452 * cursor.C (dispatch): adjust for operator dispatch_result_t
4453 removal. comment out call to update
4455 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4457 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4465 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4468 * dispatchresult.h: new file, DispatchResult broken out of
4471 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4473 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4475 * text.C (rowBreakPoint): put a hack inside #if 0
4477 2003-10-28 André Pönitz <poenitz@gmx.net>
4481 * paragraph_funcs.C:
4484 * text2.C: general cleanup (lots of small stuff)
4486 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4488 * text2.C (cursorEnd): simple fix to the "end key goes to one
4489 before the end on last row" bug
4491 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4493 * text.C (backspace): fix the "zombie characters"
4495 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4497 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4499 2003-10-27 André Pönitz <poenitz@gmx.net>
4501 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4503 * factory.C: handle new InsetPagebreak, InsetLine
4505 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4506 and move handling into new InsetPagebreak, InsetLine
4508 * BufferView_pimpl.C:
4510 * ParagraphParameters.C:
4511 * ParameterStruct.h:
4516 * paragraph_funcs.C:
4517 * paragraph_pimpl.C:
4523 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4526 * lyxrow_funcs.[Ch]:
4532 * text3.C: remove lastPos uses in favour of Row::endpos
4534 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4536 * undo.C (performUndoOrRedo): fix two crashes by setting a
4537 cursor by hand and reordering some calls. Use bv->lockInset instead
4538 of inset->edit because the latter loses cursor information
4540 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4542 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4544 (rowBreakPoint): fix width. change point to point + 1.
4545 Add a missing check.
4547 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4550 * lyxfunc.C: fix (at least partly) the problems
4551 with the Nav menu and headers inside branch insets
4554 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4556 * paragraph.C (getChar): add strong asserts
4558 * lyxrow_funcs.C (lastPos): remove hideous hack
4560 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4561 (fill): adjust to that (avoid an infinite loop)
4563 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4565 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4567 2003-10-23 André Pönitz <poenitz@gmx.net>
4569 * RowList_fwd.h: change list<> to vector<> to gain speed
4570 after suggestion from Alfredo
4572 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4574 * lyxtext.h: move the bidi stuff from here...
4577 * Bidi.[Ch]: ... to here
4579 2003-10-23 André Pönitz <poenitz@gmx.net>
4582 * text.C (isLastRow, isFirstRow): new functions
4584 * paragraph.h: new width cache member
4586 * rowpainter.C: replace RowList::iterator with Row & where possible
4588 * lyxfunc.C: replace several view()->text with a single call
4590 * toc.C: fix 'unused' warning
4592 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4594 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4595 when woring with stream::pos_type
4596 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4598 2003-10-22 André Pönitz <poenitz@gmx.net>
4601 * text.C: use Row & instead of RowList::iterator
4603 * lyxrow.h: rename end() to endpos()
4609 2003-10-22 Angus Leeming <leeming@lyx.org>
4611 * buffer.[Ch] (fully_loaded): new member function, returning true
4612 only when the file has been loaded fully.
4613 Used to prevent the premature generation of previews and by the
4614 citation inset to prevent computation of the natbib-style label.
4616 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4617 templates are all set up.
4619 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4621 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4623 * text.C: fixed an "oops" in the "is a bit silly"
4626 2003-10-21 André Pönitz <poenitz@gmx.net>
4628 * FuncStatus.[Ch]: small stuff, whitespace
4630 * lyxfont.[Ch]: operator<<() for debug reasons
4634 * lyxtext.h: whitespace, spelling
4636 * paragraph.C: naming of variables
4639 * text2.C: small stuff
4642 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4644 * text.C: (1) finish off the inset display() work;
4645 (2) fix the "is a bit silly" bug (accessing char
4648 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4650 * text.C: re-introduce display() for insets, fixing the
4651 various bugs (stretch of line above, math inset
4654 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4656 * text.C (rightMargin): remove spurious semicolon
4658 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4661 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4663 * text3.C: fix one crash due to wrong cursor def
4665 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4667 * vc-backend.C (scanMaster): make the regex static
4669 * LaTeX.C (scanAuxFile): make the regexs static
4671 * text3.C (doInsertInset, dispatch, dispatch):
4672 * text2.C (cursorUp, cursorDown):
4673 * text.C (selectNextWordToSpellcheck):
4674 * BufferView_pimpl.C (dispatch):
4675 * lyxfunc.C (dispatch): localDispatch -> dispatch
4677 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4679 * lyxsocket.C: include <cerrno>
4681 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4683 * lyxfunc.C (dispatch): remove textcache stuff
4685 * bufferlist.C (release): remove textcache stuff
4688 * TextCache.C: delete file
4689 * TextCache.h: delete file
4691 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4693 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4694 delete of the bv_->text.
4695 (resizeCurrentBuffer): remove texcache stuff
4696 (workAreaResize): ditto
4698 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4703 2003-10-16 André Pönitz <poenitz@gmx.net>
4710 * text3.C: speed up by storing y positions per paragraph plus per-row
4711 offset instead of having a 'full' y position in the row.
4713 2003-10-15 André Pönitz <poenitz@gmx.net>
4717 * undo.[Ch]: make undo aware of inner insets
4719 2003-10-14 Angus Leeming <leeming@lyx.org>
4721 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4722 static member functions LyX::ref() and LyX::cref.
4723 (lastfiles): new accessor functions for the new lastfiles_ member var.
4724 (addLyXView, views_): add a new LyXView to the list of views_.
4725 (updateInset): loop over all LyXViews to call their own updateInset
4726 member function, returning a pointer to the Buffer owning the inset.
4728 * BufferView_pimpl.C (loadLyXFile):
4729 * MenuBackend.C (expandLastfiles):
4730 * bufferlist.C (MenuWrite, QuitLyX):
4731 lastfiles is no longer a global variable.
4732 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4734 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4735 static function. Access through LyX::cref().emergencyCleanup().
4737 2003-10-14 André Pönitz <poenitz@gmx.net>
4739 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4741 * undo.[Ch]: restoring part of 'undo in insets'
4744 * undo_funcs.[Ch]: merge with undo.[Ch]
4746 * tabular.C: small cleansing stuff
4748 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4750 * paragraph_funcs.C (readParToken): report unknown insets as error
4751 boxes. Use the outer paragraph as location (also for unknown
4754 * factory.C (readInset): do not abort on reading an unknown inset.
4755 Eat it and return 0.
4757 2003-10-13 Angus Leeming <leeming@lyx.org>
4759 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4761 * lyxrc.C: displayTranslator is now a function,
4762 declared in GraphicsTypes.h.
4764 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4766 * format.C: new placeholder $$a to pass the socket address.
4768 * bufferlist.[Ch]: new function getBufferFromTmp.
4770 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4771 files in the temporary dir.
4773 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4775 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4777 * Makefile.am: add lyxsocket.[Ch].
4779 * lyx_main.C (error_handler): handle SIGPIPE.
4781 2003-10-13 André Pönitz <poenitz@gmx.net>
4783 * BufferView_pimpl.C:
4788 * undo_funcs.[Ch]: use paroffset_type instead of
4789 ParagraphList::iterators to prevent multiple conversion
4790 (and get a more robust interface)
4792 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4796 * text3.C (dispatch): ditto
4798 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4800 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4801 move the onlyfile, use onlyfile instead of foundfile in a couple
4804 * DepTable.C (update): flush the error stream a bit more
4806 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4808 * lyxserver.C (callback): adjust
4810 * lyxfunc.C (getStatus): add a missing brace in commented code
4811 (ensureBufferClean): reindent
4812 (dispatch): delete version taking a string
4814 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4816 * LaTeX.C (deplog): move found file handlig from here...
4817 (handleFoundFile): .. to new function here.
4818 (deplog): make sure to discover several files mentioned on the
4821 2003-10-10 André Pönitz <poenitz@gmx.net>
4828 * text3.C: fix some of the tabular crashes
4830 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4832 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4834 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4836 2003-10-09 André Pönitz <poenitz@gmx.net>
4838 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4841 * BufferView_pimpl.C:
4842 * bufferview_funcs.C:
4853 * undo_funcs.C: adjust
4855 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4857 * text2.C (incrementItemDepth): new function, use a backtracking
4858 algorithm to discover the correct item depth.
4859 (resetEnumCounterIfNeeded): new function, use a backtracking
4860 algorithm to discover if counter reset is needed.
4861 (setCounter): use them. Simplify a bit. Add different labels for
4862 different item depths for itemize.
4864 * paragraph.C (Paragraph): remove initialization of enumdepth
4867 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4868 enumerate and itemize. Change the type of itemdepth to signed char.
4870 2003-10-08 André Pönitz <poenitz@gmx.net>
4872 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4877 * tabular.[Ch]: fix crash after 'row-insert'
4879 2003-10-08 Angus Leeming <leeming@lyx.org>
4881 Fix doxygen warnings.
4883 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4884 Remove CutAndPaste:: prefix from header file declaration.
4886 * LColor.h (fill): remove LColor:: prefix from declaration.
4888 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4889 use lyx::depth_type rather than Paragraph::depth_type so that
4890 header file and .C file match.
4892 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4894 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4895 * aspell.C: \file aspell_local.C -> \file aspell.C
4896 * gettext.C: \file gettext.C -> \file src/gettext.C
4897 * gettext.h: \file gettext.h -> \file src/gettext.h
4898 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4899 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4900 * text.C: \file text.C -> \file src/text.C
4902 * toc.C: move comment so that doxygen is not confused.
4904 2003-10-07 Angus Leeming <leeming@lyx.org>
4906 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4908 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4911 * aspell_local.h: add forgotten std::string's.
4913 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4920 * text3.C: The Box patch. Fancybox support, minipage, parbox
4922 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4928 * ParagraphParameters.h:
4938 * lyxtextclasslist.h:
4941 * paragraph_pimpl.C:
4942 * textcursor.h: add <string> and other small fixes to make Lars'
4943 std::string patch compile with STLport.
4945 2003-10-06 Angus Leeming <leeming@lyx.org>
4947 * LColor.h: Add missing #include <string>.
4949 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4951 * All most all file in all subdirs: Make <string> be the prefered
4952 way of getting to std::string, add using declarations.
4954 2003-10-06 André Pönitz <poenitz@gmx.net>
4956 * metricsinfo.C: initialize LyXFont before changing attribute.
4957 (fixes the 'math in \emph is upright' bug)
4959 2003-10-06 André Pönitz <poenitz@gmx.net>
4961 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4963 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4966 * paragraph_pimpl.C: Small fixes to build using STLport
4968 2003-10-02 André Pönitz <poenitz@gmx.net>
4971 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4973 2003-10-01 André Pönitz <poenitz@gmx.net>
4975 * factory.C: assert early
4977 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4979 * lyx_main.C: remove the global debug object
4981 * debug.h: adjust for new debugstream
4983 * debug.C: adjust for new debugstream and keep the global debug
4986 2003-09-22 Angus Leeming <leeming@lyx.org>
4988 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4989 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4990 an incomplete class LyXFont.
4992 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4994 * factory.C: bug fix in branches
4996 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4998 * lyxfunc.C (processKeySym): adjust
5000 (dispatch): change arg name from ev to func, adjust
5001 (sendDispatchMessage): ditto
5003 * lyx_main.C (defaultKeyBindings): adjust keybindings
5004 (deadKeyBindings): ditto
5006 * kbsequence.C (addkey): return a FuncRequest
5008 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5010 * kbmap.C (bind): take a FuncRequest as arg, adjust
5013 (defkey): change to take a FuncRequest as arg, adjust
5014 (findbinding): take a FuncRequest as arg, adjust.
5016 * funcrequest.h (operator=): added
5018 * funcrequest.C (FuncRequest): default kb_action changed from
5019 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5021 * buffer.C (dispatch): simplify
5022 (dispatch): adjust to take a FuncRequest as arg, adjust
5024 * boost.C (assertion_failed): change assertion message slightly
5026 * ToolbarBackend.C (read): simplify
5028 * MenuBackend.C (binding): adjust call to findbinding, add a
5029 message if no binding is found.
5031 (expandToc): correct by adding a empty FuncRequest
5033 * LyXAction.C: include <boost/assert.hpp>
5034 (isPseudoAction): delete function
5035 (LookupFunc): change name to...
5036 (lookupFunc): this. change return type to FuncRequest.
5037 (getActionName): take kb_action as arg, simplify
5038 (funcHasFlag): add an assert, simplify.
5040 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5042 * toc.C (action): return a FuncRequest, simplify
5044 * lyxfunc.C (processKeySym): adjust
5045 (getStatus): delete version that takes an int.
5047 (dispatch): delete version that takes action as int
5049 (sendDispatchMessage): simplify and adjust
5051 * funcrequest.C (getArg): take unsigned int as arg
5053 * ToolbarBackend.C (read): adjust
5054 (add): delete version that takes func as a string.
5055 (getIton): take a FuncRequest as arg
5057 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5060 * MenuBackend.C (MenuItem): add a new construct that only takes a
5061 Kind, simplify the constructor use for submenus.
5063 (expandLastfiles): adjust
5064 (expandDocuments): adjust
5065 (expandFormats): adjust
5066 (expandFloatListInsert): adjust
5067 (expandFloatInsert): adjust
5068 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5070 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5071 Remove class variables lyx_pseudo_map and lyx_arg_map
5073 * LyXAction.C (searchActionArg): delete function
5074 (getPseudoAction): delete function
5075 (retrieveActionArg): delete function
5076 (LookupFunc): make it return kb_action, simplify.
5077 (getActionName): simplify
5079 * factory.C (createInset): fix new bug
5081 2003-09-19 Angus Leeming <leeming@lyx.org>
5083 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5084 masterFilename_ parameter in the include inset.
5086 * factory.C (createInset): changes due to the changes to InsetInclude.
5088 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5090 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5092 2003-09-18 Angus Leeming <leeming@lyx.org>
5095 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5096 Inset::fillWithBibKeys.
5097 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5099 2003-09-18 Angus Leeming <leeming@lyx.org>
5101 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5103 (ctor): pass and store a 'Buffer const &'
5104 (buffer): new member function.
5106 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5107 '*this' to the LaTeXFeatures ctor.
5109 2003-09-18 Angus Leeming <leeming@lyx.org>
5115 * text.C: rename EnumLColor as LColor_color.
5117 2003-09-18 Angus Leeming <leeming@lyx.org>
5119 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5120 remove #include "insets/insetbase.h" from cursor.h.
5122 2003-09-18 Angus Leeming <leeming@lyx.org>
5124 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5125 InsetOld_code to remove #include "inset.h".
5127 * iterators.C: add #include "insets/inset.h"
5129 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5131 * BufferView.C: remove more locking stuff that apparently doesn't
5132 do anything sensible.
5134 2003-09-16 André Pönitz <poenitz@gmx.net>
5137 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5140 2003-09-16 Angus Leeming <leeming@lyx.org>
5142 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5144 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5147 * paragraph.h: remove #include "lyxfont.h". Forward declare
5150 2003-09-16 Angus Leeming <leeming@lyx.org>
5152 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5153 of support/textutils.h.
5154 (isWord): move the contents of support/textutils.h's IsWordChar here.
5160 * text2.C: add #include "paragraph.h".
5163 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5165 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * LaTeX.C: use namespace alias for lyx::support::os
5173 2003-09-16 Angus Leeming <leeming@lyx.org>
5176 * bufferview_funcs.C:
5179 * paragraph_pimpl.C:
5181 * text.C: add #include "LColor.h".
5183 2003-09-16 Angus Leeming <leeming@lyx.org>
5185 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5186 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5188 Store the FontBits::color variable as an int rather than as an
5189 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5192 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5193 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5194 string calls together.
5196 * lyxrc.C: add #include "LColor.h".
5198 2003-09-15 Angus Leeming <leeming@lyx.org>
5200 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5203 2003-09-15 Angus Leeming <leeming@lyx.org>
5205 * LColor.h: add an EnumLColor wrapper for LColor::color.
5207 * lyxfont.[Ch] (color, setColor, realColor):
5208 * lyxtext.h, text.C (backgroundColor):
5209 pass EnumLColor args to/from the functions, rather than LColor::color
5213 * lyxtext.h: forward declare EnumLColor.
5215 * lyx_main.C: add #include "LColor.h".
5217 2003-09-15 Angus Leeming <leeming@lyx.org>
5219 * .cvsignore: add lyx-gtk.
5221 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * ParagraphParameters.C
5230 * bufferview_funcs.C
5240 * vc-backend.C: remove usage of STRCONV
5242 2003-09-15 Angus Leeming <leeming@lyx.org>
5244 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5245 explicitly define the color passed to the painter.
5247 2003-09-15 Angus Leeming <leeming@lyx.org>
5249 * bufferparams.C (BufferParams): reorder member initializers to avoid
5252 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5254 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5255 * text.C (updateRowPositions): remove an unusual nop
5257 2003-09-12 André Pönitz <poenitz@gmx.net>
5259 * BufferView_pimpl.C:
5268 * Counters.[Ch]: finish the 'automatic counters' job
5270 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5272 * aspell.C: include <boost/assert.cpp> (compile fix)
5274 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5276 * boost.C (assertion_failed): use lyx::support::abort instead of
5279 2003-09-10 Angus Leeming <leeming@lyx.org>
5281 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5282 with their _fwd progeny.
5284 2003-09-09 Angus Leeming <leeming@lyx.org>
5286 134 files throughtout the source tree: replace 'using namespace abc;'
5287 directives with the appropriate 'using abc::xyz;' declarations.
5289 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5291 * boost.C (emergencyCleanup): moved here from LAssert.c
5292 (assertion_failed): new function, called by BOOST_ASSERT
5294 * several files: change Assert to BOOST_ASSERT
5296 2003-09-09 Angus Leeming <leeming@lyx.org>
5298 * buffer.[Ch]: Add an Impl class and move Buffer's member
5299 variables into it. As a result move several header files out of
5302 Add header files to lots of .C files all over the tree as a result.
5304 2003-09-09 Angus Leeming <leeming@lyx.org>
5306 * buffer.[Ch]: make Buffer's member variables private. Add
5309 Lots of changes all over the tree as a result.
5311 2003-09-08 Angus Leeming <leeming@lyx.org>
5313 * graph.C: #include <config.h>.
5315 2003-09-08 Angus Leeming <leeming@lyx.org>
5319 * BufferView_pimpl.C:
5348 * toc.C: remove redundant using directives.
5350 2003-09-07 Angus Leeming <leeming@lyx.org>
5352 * LaTeXFeatures.h: remove #include "support/types.h".
5353 * ToolbarBackend.h: remove #include <algorithm>.
5354 * changes.h: remove #include <ctime>.
5355 * debug.h: remove #include <iosfwd>.
5356 * graph.h: remove #include "support/std_string.h".
5357 * lyx_main.h: remove #include <csignal>.
5358 * lyxlex_pimpl.h: remove #include <fstream>.
5359 * sgml.h: remove #include <algorithm>, <utility>.
5360 * toc.h: remove #include "support/std_ostream.h".
5361 Add #include <iosfwd>.
5363 2003-09-07 Angus Leeming <leeming@lyx.org>
5365 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5367 * converter.h: forward declare LatexRunParams.
5368 * encoding.h: remove #include "lyxrc.h".
5369 * lyxtext.h: remove #include "LColor.h".
5370 * lyxtextclass.h: remove #include "support/types.h".
5371 * trans.h: remove #include "tex-accent.h".
5372 * trans_mgr.h: remove #include "tex-accent.h".
5373 * insets/inset.h: remove #include "support/types.h", <vector>.
5374 * insets/insetcollapsable.h: remove #include "LColor.h".
5375 * insets/insetinclude.h: remove #include "dimension.h".
5376 * insets/insetlatexaccent.h: remove #include "dimension.h".
5377 * insets/insetoptarg.h:: remove #include "insettext.h".
5378 * insets/insettext.h: remove #include "dimension.h",
5379 <boost/shared_ptr.hpp>
5381 * insets/renderers.h: add #include "dimension.h".
5382 * insets/updatableinset.h: add #include "support/types.h".
5384 * many .C files: Associated changes.
5386 2003-09-06 Angus Leeming <leeming@lyx.org>
5388 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5389 one, inside testInvariant.
5391 * PrinterParams.C: new file.
5392 * PrinterParams.[Ch]: move the function bodies out of line.
5394 2003-09-06 Angus Leeming <leeming@lyx.org>
5396 * ParagraphParameters.h: forward declare ParameterStruct rather than
5397 including its header file.
5398 (depth): moved out-of-line.
5400 2003-09-06 Angus Leeming <leeming@lyx.org>
5402 * BufferView_pimpl.h:
5405 * lyxfunc.h: forward declare LyXKeySym rather than
5406 #include "frontends/LyXKeySym.h".
5408 * BufferView_pimpl.C:
5411 * lyxfunc.C: associated changes.
5413 2003-09-06 Angus Leeming <leeming@lyx.org>
5415 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5416 As a result, can remove the #include "insets/inset.h" from BufferView.h
5418 2003-09-06 Angus Leeming <leeming@lyx.org>
5420 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5421 As a result, can remove the #include "insets/inset.h" from BufferView.h
5423 2003-09-06 Angus Leeming <leeming@lyx.org>
5429 * bufferview_funcs.C:
5430 * BufferView_pimpl.C:
5435 * ParagraphParameters.C:
5440 * frontends/controllers/ControlDocument.C:
5441 * insets/insetcaption.C: rearrange the #includes into some sort of
5444 * buffer.h: remove #includes ErrorList.h, undo.h
5446 2003-09-06 Angus Leeming <leeming@lyx.org>
5448 * support/types.h: add a 'depth_type' typedef, used to store the
5449 nesting depth of a paragraph.
5452 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5453 defining explicitly.
5456 * paragraph_funcs.h:
5457 * ParagraphParameters.h:
5458 * sgml.h: use lyx::depth_type rather than Paragraph or
5459 ParameterStruct's depth_type.
5462 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5465 * BufferView_pimpl.C:
5467 * ParagraphParameters.C:
5470 * bufferview_funcs.C:
5477 * frontends/LyXView.C:
5478 * frontends/controllers/ControlDocument.C:
5479 * frontends/controllers/ControlErrorList.C:
5480 * insets/insetbibitem.C:
5481 * insets/insetbranch.C:
5482 * insets/insetcaption.C:
5483 * insets/insetcollapsable.C:
5484 * insets/insetenv.C:
5485 * insets/insetert.C:
5486 * insets/insetfloat.C:
5487 * insets/insetfoot.C:
5488 * insets/insetfootlike.C:
5489 * insets/insetnewline.C:
5490 * insets/insetquotes.C:
5491 * insets/insettabular.C:
5492 * insets/insettext.C:
5493 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5495 * frontends/controllers/ControlChanges.C: #include "changes.h".
5497 2003-09-06 Angus Leeming <leeming@lyx.org>
5499 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5500 than #including paragraph.h.
5503 * RowList.h: deleted. Superfluous.
5513 * insets/insettext.h: use ParagraphList_fwd.h rather than
5516 * paragraph.h: don't forward declare ParagraphList.
5519 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5520 rather than ParagraphList.h. paragraph.h is still needed for the
5521 Paragraph::depth_type parameters.
5523 * textcursor.h: enable it to compile stand-alone in light of the
5526 * bufferview_funcs.C:
5538 * frontends/controllers/ControlParagraph.C:
5539 * frontends/controllers/ControlTabular.C:
5540 * insets/insetmarginal.C:
5541 * insets/insetminipage.C:
5542 * insets/insetnote.C:
5543 * insets/insetoptarg.C: add header files needed to compile again.
5545 2003-09-06 Angus Leeming <leeming@lyx.org>
5547 * RowList_fwd.h: new file, forward-declaring Row rather than
5548 #including lyxrow.h.
5553 * insets/insettext.h: use it instead of RowList.h
5555 * bufferview_funcs.C:
5562 * text3.C: #include "RowList.h".
5564 2003-09-05 Angus Leeming <leeming@lyx.org>
5566 * factory.C (createInset):
5567 * vspace.C (c-tor): replace sscanf call with an istringstream.
5568 * ispell.C: re-add missing HP/UX headers.
5569 * lyxserver.C: re-add missing os2 headers.
5571 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5580 * text3.C: re-add missing system headers, needed for 2.95.2.
5582 2003-09-05 Angus Leeming <leeming@lyx.org>
5584 Changes most place everywhere due to the removal of using directives
5585 from support/std_sstream.h.
5587 2003-09-05 Angus Leeming <leeming@lyx.org>
5589 Replace LString.h with support/std_string.h,
5590 Lsstream.h with support/std_sstream.h,
5591 support/LIstream.h with support/std_istream.h,
5592 support/LOstream.h with support/std_ostream.h.
5594 Changes resulting throughout the tree.
5596 2003-09-05 Angus Leeming <leeming@lyx.org>
5598 * sgml.h: ensure that the header file can be compiled stand-alone.
5599 * *.C: strip out redundant #includes. (320 in total.)
5601 2003-09-04 Angus Leeming <leeming@lyx.org>
5603 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5604 here (from getPackages).
5606 * debug.[Ch]: add a new EXTERNAL tag.
5608 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5610 * text2.C (cursorEnd): simplify
5612 (getColumnNearX): adjust
5614 * text.C (computeBidiTables): adjust
5617 * rowpainter.C (paintChars): adjust
5618 (paintSelection): adjust
5619 (paintChangeBar): adjust
5622 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5624 (numberOfSeparators): adjust
5626 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5632 * text3.C: Restricts the mouse click functionality
5633 of insets like bibtex, include, toc and floatlist to the visible
5634 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5635 up the dialogs. Cursor has to be in front of the inset (i.e.
5636 start of row) for this to function.
5638 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5640 * bufferview_funcs.C (currentState): output row information
5642 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5644 * bufferview_funcs.C (currentState): output paragraph position
5646 2003-09-04 Angus Leeming <leeming@lyx.org>
5648 * FloatList.h: move out #include "Floating.h".
5649 * LaTeX.h: move out #include "DepTable.h".
5650 * LyXAction.h: move out #include "funcrequest.h".
5651 * buffer.h: move out #include "author.h", "iterators.h".
5652 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5653 * lyx_main.h: move out #include "errorlist.h".
5654 * lyxfunc.h: move out #include "FuncStatus.h".
5655 * lyxtext: move out #include "lyxcursor.h".
5656 * paragraph_pimpl.h: move out #include "counters.h".
5658 2003-09-03 Angus Leeming <leeming@lyx.org>
5660 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5661 preamble_snippets list, enabling us to add snippets to the preamble
5662 only if the snippet was not there already.
5664 2003-09-04 Angus Leeming <leeming@lyx.org>
5666 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5668 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5670 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5673 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5675 * BranchList.C: point fix, earlier forgotten
5677 2003-09-02 Angus Leeming <leeming@lyx.org>
5679 * box.C (contains): renamed from 'contained' after a fantastic
5682 2003-09-02 John Levon <levon@movementarian.org>
5688 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5690 2003-09-02 John Levon <levon@movementarian.org>
5692 * text2.C: simplification of cursorEnd(), including partial
5695 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * buffer.C (readFile): add a space
5699 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5701 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5703 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5705 * buffer.C (readFile): new function, take a filename and a
5706 ParagraphList::iterator
5708 (readFile): adjust, make it private. don't use setStream, make
5709 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5710 always contain the filename.
5712 * BufferView.C (insertLyXFile): simplify and make it work for
5715 2003-08-30 John Levon <levon@movementarian.org>
5717 * Makefile.am: fix dist (from Kayvan)
5719 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * most files: change to use const Buffer refs
5723 2003-08-27 André Pönitz <poenitz@gmx.net>
5725 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5726 on top of ownerPar().
5728 2003-08-27 John Levon <levon@movementarian.org>
5730 * funcrequest.C: properly initialise POD members
5732 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5734 * lyxtext.h (top_y): move top_y from here
5739 * BufferView_pimpl.[Ch]: to here
5740 * frontends/screen.C:
5741 * insets/insettabular.C:
5742 * insets/insettext.C: adjust
5743 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5745 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5748 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5750 2003-08-26 André Pönitz <poenitz@gmx.net>
5752 * paragraph_func.[Ch] (outerPar): new function
5755 * paragraph_funcs.C:
5756 * paragraph_funcs.h:
5757 * paragraph_pimpl.C:
5758 * text2.C: remove Inset::par_owner
5760 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5765 * text2.C: eliminates the needFullRow/display() stuff
5766 altogether, putting the logic in metrics/draw in the insets.
5768 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5770 * text2.C (redoParagraphInternal, redoParagraphs):
5771 * text.C (redoParagraph): add a call to updateRowPositions at the
5772 end of each 'metrics-like' call. Remove all others.
5773 (getRow): remove the 'y-computing' version.
5774 (getRowNearY): do not compute nor return the real y. Solve the
5775 'y < 0' problem and simplify.
5777 2003-08-22 Angus Leeming <leeming@lyx.org>
5779 * *.[Ch]: clean-up of licence and author blurbs.
5780 Also move config.h out of a few .h files and into a few .C files.
5782 2003-08-22 André Pönitz <poenitz@gmx.net>
5784 * lyxrow.[Ch]: add x_ and *fill_ members
5789 * text2.C: adjust/remove prepareToPrint() calls
5791 2003-08-22 André Pönitz <poenitz@gmx.net>
5793 * lyxrow.[Ch]: add end_ member
5795 * lyxrow_funcs.C: use LyXRow::end_
5797 * lyxtext.h (singleWidth): add LyXFont parameter
5800 * text2.C: adjust LyXText::singleWidth() calls
5802 * text.C (redoParagraph): simplify row breaking logic
5805 2003-08-19 André Pönitz <poenitz@gmx.net>
5807 * funcrequest.C: initialize button_ member
5810 * rowpainter.[Ch]: interface consolidation
5812 2003-08-18 André Pönitz <poenitz@gmx.net>
5815 * BufferView_pimpl.C:
5817 * paragraph_funcs.C:
5819 * text3.C: remove LyXScreen::draw() and fitCursor calls
5821 * BranchList.h: remove spurious semicolons
5823 * MenuBackend.C: fix branchlist related crash
5825 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5833 * bufferparams.[Ch]:
5837 * text3.C: implements the 'branch inset'
5838 idea. This allows the output of various versions of a document
5839 from a single source version, selectively outputing or suppressing
5840 output of parts of the text.
5841 This implementation contains a 'branch list editor' in a separate
5842 tab of the document settings dialog. Branches are user definable
5843 and have a "display colour" to distinguish them on-screen.
5845 ColorHandler was somewhat cleaned up.
5846 (1) make possible a dynamically growing LColor list by allowing
5847 the graphic context cache to grow along (vector);
5848 (2) eliminate an IMHO unnecessary step in colour allocation.
5850 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5852 * BufferView_pimpl.C: compile fix
5854 2003-08-15 André Pönitz <poenitz@gmx.net>
5856 * rowpainter.C: remove extra metrics calls
5858 * lyxtext.h: merge the two constructors into a single one,
5859 pass reference to owner's par list
5861 * BufferView_pimpl.C:
5865 2003-08-15 André Pönitz <poenitz@gmx.net>
5867 * lyxrow_funcs.[Ch]:
5870 * paragraph_funcs.C:
5875 * text_funcs.C: split LyXText::rowlist_ into individual
5876 Paragraph::rows_ chunks
5879 * BufferView_pimpl.[Ch]:
5882 * text3.C: remove toggleSelection()
5884 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5886 * bufferlist.C: beautify two alerts (shorter text of buttons)
5887 * buffer.C: Remove redundant ' ' from message
5889 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5890 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5891 rename VALIGN_CENTER to VALIGN_MIDDLE
5893 2003-08-11 André Pönitz <poenitz@gmx.net>
5895 * lyxtext.h (getPar):
5896 * text.C: new function
5898 2003-08-11 André Pönitz <poenitz@gmx.net>
5901 * tracer.[Ch]: remove unneeded files
5903 * InsetList.[Ch]: remove resizeInsetsLyXText()
5908 * text3.C: merge insertParagraphs() and appendParagraph()
5909 remove breakAgain(), update()
5911 * BufferView_pimpl.[Ch]:
5912 * bufferview_funcs.[Ch]:
5916 * tabular.C: adjust after text & InsetList changes.
5918 2003-08-08 André Pönitz <poenitz@gmx.net>
5920 * text.C (insertChar, backspace): replace rowlist fiddling
5921 with rebreak of full par
5924 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5925 checkParagraph, updateInset): removed
5927 2003-08-07 André Pönitz <poenitz@gmx.net>
5930 * text3.C: merge some LFUN handlers, remove dead code
5932 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5934 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5936 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5938 * text2.C (DEPM): fix part of bug 1255 and 1256
5940 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5942 * BufferView_pimpl.C (workAreaDispatch): change to use
5943 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5944 that are no mouse related.
5946 2003-08-05 André Pönitz <poenitz@gmx.net>
5949 * BufferView_pimpl.[Ch]:
5950 * bufferview_funcs.C:
5952 * text3.C: rip out "deep update"
5954 * textcursor.[Ch] (last_sel_cursor): remove unused member
5956 2003-08-04 André Pönitz <poenitz@gmx.net>
5959 * BufferView_pimpl.[Ch]:
5960 * ParagraphParameters.C:
5961 * bufferview_funcs.C:
5967 * text3.C: replace "complicated" BufferView::update(...) calls with
5970 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5972 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5974 * Makefile.am (lyx_SOURCES): add paper.h
5976 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5978 * Makefile.am: move things around so that both lyx-qt and
5979 lyx-xforms can be built (according to --with-frontend). Then lyx
5980 is a symbolic link to lyx-[firstfrontend]
5982 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5984 * Always use std::endl with lyxerr
5986 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5988 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5990 2003-08-01 André Pönitz <poenitz@gmx.net>
5993 * BufferView_pimpl.[Ch]:
5995 * text3.C: merge BufferView::repaint() and BufferView::update()
5997 2003-08-01 José Matos <jamatos@lyx.org>
5999 * buffer.[Ch]: file_format is no longer a buffer data element.
6001 2003-08-01 André Pönitz <poenitz@gmx.net>
6006 * text2.C: make redoParagraph more independent of current cursor
6008 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6010 * text2.C: remove unneeded members
6012 2003-07-30 André Pönitz <poenitz@gmx.net>
6014 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6016 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6017 create a single function...
6019 * paragraph_funcs.C (moveItem): ... here.
6022 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6024 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6026 * LColor.[Ch]: Add comment and greyedout logical colors.
6028 2003-07-30 André Pönitz <poenitz@gmx.net>
6030 * tabular.C: don't use Assert too heavily. This crashes where it
6033 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
6035 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6036 is disabled (bug 1232)
6038 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6040 * factory.C: limited 'arg' scope
6042 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6044 * factory.C: fixed Note submenu issues
6046 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6048 * factory.C: submenu for Note/Comment/Greyedout
6050 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6053 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6055 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6058 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6059 greyedout. Patch provided by Jürgen Spitzmüller.
6061 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6063 * kbmap.C (read): fix error message when reading bind files
6065 2003-07-29 Angus Leeming <leeming@lyx.org>
6067 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6068 certainly does not do what it purports to do. I am doing it, and
6069 us, a favour by killing it.
6071 2003-07-28 José Matos <jamatos@lyx.org>
6073 * buffer.C (readBody, do_writeFile):
6074 * paragraph.C(readParagraph): \end_document replaces \the_end.
6076 2003-07-29 André Pönitz <poenitz@gmx.net>
6079 * BufferView_pimpl.[Ch]:
6083 * textcursor.[Ch]: remove toggleToggle & Co
6085 2003-07-28 José Matos <jamatos@fep.up.pt>
6087 * buffer.C (readParagraph):
6088 * params_func (readParToken, readParagraph):
6089 * paragraph.C (write): \layout -> \begin_layout.
6091 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * lyxlex_pimpl.C (setFile): clean up slightly.
6095 * bufferparams.h: add compressed var
6097 * buffer_funcs.C (readFile): adjust for LyXLex change
6098 (newFile): ditto + simplify
6100 * buffer.C (writeFile): handle writing of compressed files
6102 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6103 Check if the file is compressed and set a bufferparm if so.
6105 * Makefile.am (lyx_LDADD): remove explicit -lz
6107 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6109 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6110 makeDocBookFile): put the real LyX version in the first line of
6114 * version.C.in: remove lyx_docversion
6116 * tabular.C (write_attribute): add a template-based version to
6117 write enums properly
6119 2003-07-28 André Pönitz <poenitz@gmx.net>
6124 * text3.C: use doubles again for x-coordinates. They are needed.
6126 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * messages.C (getLocaleDir): use lyx_localedir()
6130 * lyxlex_pimpl.C (setFile): compress stuff
6132 * buffer.C (writeFile): add some compression stuff
6133 (do_writeFile): new func, dont call expliti close... will this
6136 * Makefile.am (lyx_LDADD): add -lz
6138 2003-07-28 José Matos <jamatos@fep.up.pt>
6140 * buffer.C: increment file format.
6141 * paragraph_funcs (readParagraph, readParToken):
6142 * paragraph.C (readParagraph): add \end_layout.
6144 2003-07-27 Angus Leeming <leeming@lyx.org>
6146 * Makefile.am: remove special casing for configure-time setting of
6147 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6149 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6150 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6152 2003-07-26 André Pönitz <poenitz@gmx.net>
6154 * paragraph_func.[Ch]:
6155 * paragraph.C (realizeFont): inline it whereever it is used
6160 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6163 2003-07-26 André Pönitz <poenitz@gmx.net>
6167 * text2.C: get rid of LyXText::need_break_row
6169 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * toc.[Ch]: put namespace toc inside namespace lyx
6173 * MenuBackend.C (expandToc2): adjust for lyx::toc
6176 * lyxfunc.C (dispatch): adjust for lyx::find
6178 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6179 lyx::find instead. Reorganize a bit.
6180 (LyXReplace): rename to replace
6181 (LyXFind): rename to find
6183 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6186 2003-07-26 André Pönitz <poenitz@gmx.net>
6188 * text.C (setHeightOfRow): restrict scope of temporary variable
6190 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6191 code (never has been used?)
6193 2003-07-27 Asger Alstrup <alstrup@local>
6195 * text.C (fill): Optimise algorithm to exploit that we can reuse
6196 the LyXFont for many characters.
6197 (setHeightOfRow): Same thing.
6198 (rowBreakPoint): Same thing.
6200 2003-07-26 Asger Alstrup <alstrup@local>
6202 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6204 * text.C (singleWidth): Spurious font copying in hot-spot
6205 singleWidth avoided. Reorder tests for arabic for efficiency.
6207 * text.C (fill): handle empty paragraphs better.
6209 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6212 * encoding.h: add includes
6214 * lyxrc.C: remove reading of bind files
6216 * lyx_main.C (init): setup bindings and menus only if we have a
6219 * kbmap.C (read): new method. Do the actual reading of bind
6222 * converter.C (dvipdfm_options):
6225 (output): adapt PAPER_* enums.
6227 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6229 * bufferparams.h: remove paper-related enums from there
6231 * paper.h: New file. A trivial header file to hold paper-related
6232 enums. It should later expand to contain many paper-related
6235 * lyxrc.C: declare extern displayTranslator
6237 2003-07-27 José Matos <jamatos@fep.up.pt>
6239 * tabular.[Ch] (linuxdoc): add support for tables and figures
6242 2003-07-27 José Matos <jamatos@fep.up.pt>
6244 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6245 consistency in both functions.
6246 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6248 2003-07-26 Asger Alstrup <alstrup@local>
6250 * rowpainter.C (paintRows): Change algorithm to work directly on
6251 the insets rather than asking every character in the document
6252 whether its an inset.
6254 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6256 * buffer.C (openFileWrite): factorize some code
6258 2003-07-26 Angus Leeming <leeming@lyx.org>
6261 * lyx_main.[Ch]: replace occurances of system_tempdir with
6264 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * rename Inset to InsetOld
6268 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6270 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6271 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6272 which I think is a bit clearer. EDIT is gone, since it was
6273 premature optimisation, and broken for mathed anyway.
6274 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6275 with cursor positioning in insets as well (math insets still do not
6276 work, but that's a different story anyway.) It mysteriously
6277 crashes sometimes with undo in the first paragraph, but I'm fairly
6278 confident that this is a compiler bug.
6280 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * paragraph.C (Paragraph): adjust for new clone return type
6284 (copyIntoMinibuffer): ditto
6286 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6288 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6289 by not having a special case, and always doing a full rebreak of
6290 the document after undo.
6292 2003-07-23 Angus Leeming <leeming@lyx.org>
6294 * factory.C (createInset): InsetExternal::setParams now takes a
6297 2003-07-23 Angus Leeming <leeming@lyx.org>
6299 * factory.C (createInset): changed interface to the external and
6300 graphics mailers' string2params functions.
6302 2003-07-23 Angus Leeming <leeming@lyx.org>
6304 * factory.C (createInset): pass a
6305 Buffer const * parameter to InsetExternalMailer's string2params.
6307 2003-07-22 John Levon <levon@movementarian.org>
6309 * Thesaurus.h: include the right aiksaurus header
6311 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6313 * MenuBackend.C (expand): check menu shortcuts unconditionally
6315 2003-07-21 Angus Leeming <leeming@lyx.org>
6317 * factory.C (createInset): pass a
6318 buffer_path parameter to InsetGraphicsMailer's string2params.
6320 2003-07-21 Angus Leeming <leeming@lyx.org>
6322 * BufferView_pimpl.C (buffer):
6325 * lyxfunc.C (dispatch):
6326 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6327 rather than the grfx shortcut.
6329 2003-07-21 André Pönitz <poenitz@gmx.net>
6331 * rowpainter.C: remove unused variables
6334 * tabular_funcs.h: move to tabular.C
6335 * Makefile.am: adjust
6337 * tabular.[Ch]: basic optical cleaning
6339 * author.h: pass references, not values
6341 2003-07-18 André Pönitz <poenitz@gmx.net>
6349 * text3.C: two-phase drawing for InsetText and InsetTabular
6350 some float -> int changes.
6352 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6354 * lyx_main.C: fix the fix
6356 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6358 * lyx_main.C: fix a crash in batch mode if no files specified
6361 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6363 * format.[Ch] (papersize): moved to BufferParams
6364 * converter.[Ch] (dvips_options): moved to BufferParams
6365 (dvipdfm_options): moved to anon namespace
6366 * bufferparams.[Ch]: added above functions.
6368 2003-07-17 André Pönitz <poenitz@gmx.net>
6372 * text2.C: don't call inset->update() anymore
6374 * metricsinfo.[Ch]: add convenience constructor
6376 2003-07-16 André Pönitz <poenitz@gmx.net>
6381 * text2.C: replace the LyXCursor::irow_ member with
6382 on-demand computation of the value
6384 2003-07-16 John Levon <levon@movementarian.org>
6386 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6388 2003-07-15 André Pönitz <poenitz@gmx.net>
6391 * text2.C: remove no more needed refresh_row
6393 2003-07-15 André Pönitz <poenitz@gmx.net>
6398 * text3.C: refresh_status tristate -> need_update bool
6400 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6402 * lyxtext.h (init): remove reinit argument (act as if always true)
6403 * text2.C: adjust to that
6405 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6407 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6408 * text3.C: use it to delete selections in some cases
6409 (bugs 441, 673, 702, 954).
6411 2003-07-14 André Pönitz <poenitz@gmx.net>
6413 * rowpainter.[Ch]: reduce interface
6415 2003-07-14 André Pönitz <poenitz@gmx.net>
6417 * BufferView_pimpl.C:
6418 * text2.C: adjust after removing unused BufferView * argument
6420 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6422 * text2.C (init): fix a crash fired on resize
6424 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6426 * buffer.[Ch]: added new closing signal
6427 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6428 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6429 BufferView::Pimpl via the closing the signal
6431 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6433 * buffer.[Ch]: take out all bv-related from buffer
6435 * BufferView_pimpl.[Ch]: connect to new signals
6436 * CutAndPaste.C: removed useless asserts
6437 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6440 * lyxfunc.C: moved view-related funciontality from vc here
6441 * paragraph.C: removed outdated comments
6444 2003-07-10 André Pönitz <poenitz@gmx.net>
6446 * BufferView_pimpl.C:
6450 * text2.C: remove InsetText::InnerCache, clean up consequences
6452 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6454 * ispell.C: fix two typos in error messages
6456 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6458 * Extend Note inset to other forms of annotation like Comment
6459 and Greyedout. Right button click gives dialog.
6461 Files modified or added (+):
6465 * ControlNote.[Ch] +
6467 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6468 frontends/controllers
6472 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6474 * aspell.C: add missing namespace lyx::support
6476 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6478 * BufferView.[Ch] (newFile): Add
6479 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6480 * LaTeX.[Ch] (message): added this signal and use it
6481 * buffer.[Ch] (busy, message): added these signals and use them
6482 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6486 * importer.C: use buffer signals instead of direct bv calling
6487 * lyx_cb.[Ch] (ShowMessage): removed
6490 * paragraph_funcs.C:
6491 * text2.C: use buffer signals
6493 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6495 * introduce namespace lyx::graphics
6497 2003-07-02 André Pönitz <poenitz@gmx.net>
6499 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6501 2003-07-01 André Pönitz <poenitz@gmx.net>
6508 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6509 text*.C to text_func.C
6511 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * introduce namespace lyx::support
6515 2003-06-30 André Pönitz <poenitz@gmx.net>
6520 * text.C: re-enable --with-included-string
6522 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6524 * textcursor.C: add <config.h>
6526 * text.C (getWord): remove const from word_location arg
6528 * lyxvc.C (getLogFile): fix const type order
6530 * lyxtext.h: remove const from word_location arg, add arg name
6532 * lyxlayout.h: currect type on labeltype.
6534 * importer.C: correct \file
6536 * converter.C (intToFormat): use std:: on ret val, ws changes
6538 * bufferlist.h: correct \file
6540 * buffer.C (makeLinuxDocFile): fix const type order
6541 (makeDocBookFile): ditto
6542 (fillWithBibKeys): use std:: on stdlib args.
6544 * CutAndPaste.C: fix authors.
6545 (availableSelections): use std:: on return vector
6547 2003-06-27 André Pönitz <poenitz@gmx.net>
6549 * BufferView_pimpl.C:
6550 * bufferview_funcs.C:
6558 * text3.C: remove LyXCursor::row_ member
6561 * text.C: rename fullRebreak() to partialRebreak() and implement
6562 a fullRebreak() that really bereks fully
6564 * textcursor.h: new struct for cursor-related data
6566 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6568 * lyx_main.C (LyX): get full path of document loaded on the
6571 2003-06-26 André Pönitz <poenitz@gmx.net>
6573 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6574 remove unused/broken operator>,<,>=.
6576 * text.C: remove only use of broken operator<= in an Assert().
6578 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6580 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6581 moved errorlist_.clear to showErrorList
6583 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6585 * converter.C (scanLog, runLaTeX):
6586 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6587 move the bv->showErrorList call to the callers
6588 * lyxfunc.C: i.e. here...
6590 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6591 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6592 namespace, the second to...
6593 * buffer_funcs (BufferFormat, parseErrors): added
6594 * errorlist.C (ErrorList(TeXErrors const &)): removed
6596 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6598 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6600 2003-06-24 "Garst R. Reese" <reese@isn.net>
6604 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6606 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6608 * version.C.in: change docversion to 1.4
6610 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6612 * buffer.C: fix a bug just introduced
6614 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6616 * buffer.[Ch]: added the parseError signal and use it, removed
6618 * BufferView.[Ch] (addError): moved to ...
6619 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6620 to the Buffer::parseError signal to catch (guess what) parse errors
6621 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6623 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6625 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6626 ability to create a buffer and to return an existing one from
6627 the list. Moved these functions to...
6628 * buffer_funcs.[Ch]: added
6629 * BufferView.[Ch] (loadLyXFile): added
6630 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6631 job removed from bufferlist::loadLyXFile.
6632 * buffer.C (setReadOnly): make it work without view
6633 (i.e added an if (users))
6635 2003-06-19 Angus Leeming <leeming@lyx.org>
6638 * LyXAction.C (init):
6639 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6640 with LFUN_DIALOG_SHOW <name> <data>.
6642 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6644 * CutAndPaste.C (availableSelections): small compilation fix for
6645 ancient (gcc 2.9x) compilers
6647 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6649 * text3.C (cursorNext): add tmp var
6651 * text2.C (updateCounters): for function calling out of for clause
6652 (replaceSelectionWithString): ditto
6653 (insertStringAsParagraphs): ditto
6654 (getColumnNearX): add tmp var
6655 (setCursorFromCoordinates): add tmp var
6656 (cursorDownParagraph): add tmp var
6657 (deleteEmptyParagraphMechanism): add tmp var
6659 * text.C (insertChar): add tmp var
6661 * rowpainter.C (paintDepthBar): add tmp var
6663 * CutAndPaste.C (availableSelections): potentially check all
6664 paragraphs in a cut to fill the shown strings.
6666 2003-06-18 André Pönitz <poenitz@gmx.net>
6668 * kbmap.[Ch]: use vector<> instead of list<>
6670 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6672 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6673 pasteSelection with index
6675 * text2.C (pasteSelection): modify, call pasteSelection with index
6677 * paragraph.C (asString): reimplement version with no interval to
6678 call the one with interval.
6680 * lyxtext.h: add index arg to pasteSelection
6682 * MenuBackend.C (MenuItem): handle PasteRecent
6683 (Menu::read::Menutags): add md_pasterecent
6685 (expandPasteRecent): new function
6688 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6690 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6692 (availableSelections): new function
6694 2003-06-17 Angus Leeming <leeming@lyx.org>
6696 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6698 2003-06-17 Angus Leeming <leeming@lyx.org>
6701 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6703 * lyxfunc.C (dispatch): invoke it.
6705 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6707 * iterators.C (operator++, ParPosition): reintroduce some
6708 const_cast for the benefit of older compilers.
6710 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6712 * text3.C (dispatch): do not modify clipboard when doing
6713 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6714 LFUN_DELETE_SKIP on a selection selection
6716 2003-06-16 André Pönitz <poenitz@gmx.net>
6722 * tabular.[Ch]: IU of clone() and getLabelList();
6724 2003-06-13 André Pönitz <poenitz@gmx.net>
6726 * tabular.h: compactification
6728 2003-06-12 André Pönitz <poenitz@gmx.net>
6732 * tabular_funcs.h: some renaming plus whitespace
6734 2003-06-12 André Pönitz <poenitz@gmx.net>
6737 * BufferView_pimpl.C:
6743 * toc.C: Return a Paragraph & for ParIterator::operator*()
6745 2003-06-11 John Levon <levon@movementarian.org>
6749 * ToolbarBackend.C: add "Toolbars" section and
6752 2003-06-10 Angus Leeming <leeming@lyx.org>
6755 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6757 * lyxfunc.C (dispatch): invoke it.
6759 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * main.C: protect <ios> with HAVE_IOS
6762 (main): protect sync_with_stdio with HAVE_IOS
6764 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6766 * text2.C (cutSelection): adjust
6767 (pasteSelection): adjust
6769 * messages.C: handle get of empty string
6771 * main.C (main): use sync_with_stdio(false)
6773 * lyxfunc.C (dispatch): adjust
6775 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6776 (WriteAs): remove unneeded BufferView arg.
6778 * bufferparams.h: use correct types on papersize, papersize2 and
6781 * bufferparams.C (readToken): adjust for type
6782 (writeLaTeX): add missing cases to switch.
6784 * bufferlist.C (quitWriteBuffer): adjust
6787 * buffer.C (asciiParagraph): remove some commented code.
6789 * CutAndPaste.C: remove current_view extern variable.
6790 (cutSelection): add BufferParams arg.
6791 (eraseSelection): add BufferParams arg.
6792 (pasteSelection): add Buffer const & arg
6794 2003-06-07 John Levon <levon@movementarian.org>
6797 * paragraph_funcs.C:
6798 * paragraph_pimpl.C:
6802 * paragraph.C: allow InsetERT to freely space lines,
6803 and some consolidation of code
6805 2003-06-06 José Matos <jamatos@fep.up.pt>
6807 * buffer.C (makeDocBookFile): fix bug #821
6809 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6811 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6813 2003-06-04 Angus Leeming <leeming@lyx.org>
6815 * buffer.C: bump format to 224.
6817 2003-06-05 André Pönitz <poenitz@gmx.net>
6819 * text2.C (redoParagraphs): remove two const_cast<>
6821 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6823 * ParagraphList.h: remove last remnants of NO_STD_LIST
6825 2003-06-03 Angus Leeming <leeming@lyx.org>
6827 * factory.C (createInset): small change to the way InsetExternal's params
6830 2003-06-04 André Pönitz <poenitz@gmx.net>
6832 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6834 * paragraph_pimpl.h:
6835 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6837 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6839 * undo_funcs.C: make some simple cases of undo work again
6841 2003-06-03 John Levon <levon@movementarian.org>
6843 * ispell.C: HPUX doesn't have sys/select.h
6846 2003-06-03 John Levon <levon@movementarian.org>
6848 * CutAndPaste.C: update tabular and include inset
6853 * paragraph.C: remove owningBuffer(), don't pass Buffer
6856 * factory.C: insetGraphicsParams changed
6858 2003-06-02 John Levon <levon@movementarian.org>
6864 * text3.C: remove insetparent
6866 2003-06-02 John Levon <levon@movementarian.org>
6869 * buffer.C: fix inset_iterator.end(), move out of line
6872 2003-06-01 John Levon <levon@movementarian.org>
6874 * text3.C: use a proper cut/paste when doing inset
6875 insert (from Jürgen Spitzmüller)
6877 2003-06-01 John Levon <levon@movementarian.org>
6879 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6881 2003-05-30 André Pönitz <poenitz@gmx.net>
6883 * rowpainter.C: unify second drawing phase
6885 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6887 * trans_mgr.C: remove one case of current_view
6889 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6891 * paragraph_funcs.h: remove paragraph.h include
6893 * paragraph.h: delete NO_STD_LIST stuff
6895 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6897 * buffer.h: remove paragraph.h include
6899 * ParagraphList.C: delete file
6901 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6903 * toc.C (getTocList): adjust
6905 * paragraph_pimpl.C (validate): adjust
6907 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6909 * paragraph.C (Paragraph): adjust
6910 (getPositionOfInset): use const_iterator, adjust
6911 (bibitem): use const_iterator, adjust
6912 (setInsetOwner): adjust
6914 * iterators.C (operator++): adjust
6916 * InsetList.[Ch]: Replace selfmade iterator with standard
6917 vector::iterator also introduce const_iterator. Remove getPos,
6918 getInset and setInset from InsetTable. Adjust accordingly.
6920 * BufferView.C (lockInset): adjust
6921 (ChangeInsets): adjust
6923 * tabular.[Ch]: delete commented same_id functions
6925 2003-05-28 John Levon <levon@movementarian.org>
6927 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6929 2003-05-28 André Pönitz <poenitz@gmx.net>
6931 * metricsinfo.[Ch]: remove 'fullredraw' member
6933 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6935 * lyxtextclass.C (operator): remove caching.
6937 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * text2.C (cursorBottom): adjust
6942 (setCounter): use ParagraphList::find, adjust
6944 * text.C (workWidth): use ParagraphList::find, adjust
6946 * lyxcursor.C (LyXCursor): adjust
6948 * buffer.C (inset_iterator): adjust
6950 * ParagraphList.h: make iterator(value_type) private, make
6951 ParagraphList a friend of iterator.
6953 * ParagraphList.C (find): new function
6955 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6957 2003-05-27 André Pönitz <poenitz@gmx.net>
6959 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6961 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6963 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6965 2003-05-26 John Levon <levon@movementarian.org>
6967 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6969 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6971 * remove same_id from function signatures, adjust.
6973 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6977 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6979 * paragraph.C (Paragraph): get rid of same_ids parameter
6981 * ParagraphList.C (insert): adjust
6984 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * paragraph_funcs.C (breakParagraph): adjust
6987 (breakParagraphConservative): adjust
6989 * buffer.C (readParagraph): adjust
6991 * ParagraphList.C (insert): take a reference instead of a pointer
6994 * paragraph.[Ch] (id): new function
6996 * bufferlist.C (newFile): adjust
6998 * ParagraphList.C (ParagraphList): adjust
7000 (push_back): take a reference instead of a pointer.
7002 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7004 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7007 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7008 set else use old code.
7010 * ParagraphList.C: remove all NO_NEXT code and only compile this
7011 code of NO_STD_LIST is set.
7013 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7015 * BufferView_pimpl.C:
7025 * graphics/GraphicsConverter.C:
7026 * graphics/PreviewLoader.C: header adjustment
7028 2003-05-23 Angus Leeming <leeming@lyx.org>
7030 * LaTeXFeatures.[Ch] (useBabel): new method.
7031 * bufferparams.C (writeLaTeX): use it.
7033 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7035 * ParagraphList.h (set): remove unused function.
7037 2003-05-23 André Pönitz <poenitz@gmx.net>
7040 * BufferView_pimpl.C:
7044 * undo_funcs.C: setUndo reworked
7046 * iterators.[Ch]: add access to topmost ParagraphList
7048 * lyxtext.[Ch] (workWidth): add a const
7050 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7052 * texrow.[Ch] (increasePos): remove function
7053 * exporter.C (export): removed unused var and outdated comment
7055 2003-05-23 Angus Leeming <leeming@lyx.org>
7057 * latexrunparams.h: rename fragile as moving_arg.
7058 * paragraph.C (simpleTeXOnePar): ditto.
7059 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7061 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7063 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7065 (textUndoOrRedo): comment out a currently unused var.
7067 * paragraph.h (NO_NEXT): enable NO_NEXT
7069 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7071 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7073 * exporter.C (Export): adjust for removeAutoInsets removal.
7075 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7077 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7079 * BufferView.[Ch] (removeAutoInsets): delete function
7081 2003-05-22 Angus Leeming <leeming@lyx.org>
7083 * latexrunparams.h: add a free_spacing variable.
7085 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7086 to pass moving_arg, as the data is stored in runparams.fragile.
7088 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7089 to Inset::latexOptional or to simpleTeXOnePar.
7091 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7092 free_spacing arg to Inset::latexOptional.
7094 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7097 2003-05-22 Angus Leeming <leeming@lyx.org>
7099 * latexrunparams.h: add fragile and use_babel variables.
7101 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7102 * buffer.C (makeLaTeXFile): store this returned value in
7103 runparams.use_babel, thus passing it to the inset::latex methods.
7105 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7106 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7108 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7109 longer has a fragile arg, as it is stored in runparams.fragile.
7111 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7112 moving_arg parameter as the data is stored in runparams.fragile.
7114 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7115 a fragile parameter as the data is stored in runparams.fragile.
7117 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7121 2003-05-22 Angus Leeming <leeming@lyx.org>
7123 * latexrunparams.h: add a 'bool nice' which defaults to false.
7125 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7126 now encapsulated within runparams.
7128 * bufferlist.C (updateIncludedTeXfiles):
7129 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7131 2003-05-22 Angus Leeming <leeming@lyx.org>
7133 * latexrunparams.h: new file containing struct LatexRunParams.
7134 * Makefile.am: add new file.
7136 * LaTeX.[Ch] (c-tor, run):
7137 * buffer.[Ch] (makeLaTeXFile):
7138 * bufferlist.[Ch] (updateIncludedTeXfiles):
7139 * converter.C (convert, scanLog):
7140 * converter.[Ch] (runLaTeX):
7141 * exporter.C (Export):
7142 * paragraph.[Ch] (simpleTeXOnePar):
7143 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7144 * paragraph_funcs.[Ch] (latexParagraphs):
7145 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7146 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7147 pass around a LatexRunParams parameter.
7149 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * paragraph.[Ch]: remove unused constructor
7153 * ParagraphList.C (erase): new function, taking two iterators
7155 2003-05-22 André Pönitz <poenitz@gmx.net>
7157 * undo_funcs.C: remove duplicated code
7159 * iterator.[Ch]: operator=
7161 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7163 * tabular.C (SetMultiColumn): ws changes
7165 * rowpainter.C (paintFirst): get rid of a ->previous
7167 * lyx_cb.C (getPossibleLabel): parlist simplification
7169 * BufferView.C (ChangeInsets): simplify slightly.
7171 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7173 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7174 * lfuns.h: new LFUN_SPACE
7175 * lyxfunc.C: protected space has a new lfun
7176 * paragraph_funcs.C: read new space insets
7178 * factory.C: handle new space insets
7180 2003-05-22 André Pönitz <poenitz@gmx.net>
7183 * BufferView_pimpl.C:
7186 * undo_funcs.C: return a ParIterator from getParFromID.
7188 * iterators.[Ch]: add two const's
7190 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * toc.C (getTocList): adjust
7194 * iterators.[Ch]: rework for parlist
7196 * buffer.C (par_iterator_begin): adjust
7197 (par_iterator_end): adjust
7199 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7201 * BufferView.C (removeAutoInsets): adjust
7202 (ChangeInsets): adjust
7204 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7206 * text.C (top_y): fix bug 1110
7208 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7210 * errorlist.[Ch]: added
7213 * BufferView_pimpl.C:
7214 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7217 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7219 * Makefile.am: ensure that lyx is relinked upon changes to the
7220 various "convenience" libs.
7222 2003-05-20 Angus Leeming <leeming@lyx.org>
7224 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7225 files are compiled in alphabetical order again.
7227 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7229 2003-05-19 Angus Leeming <leeming@lyx.org>
7231 * gettext.[Ch]: remove "char const * _(char const *)".
7233 2003-05-19 André Pönitz <poenitz@gmx.net>
7235 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7244 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7246 2003-05-19 André Pönitz <poenitz@gmx.net>
7250 * lyxtextclass.[Ch]:
7252 * paragraph_funcs.[Ch]:
7254 * text3.C: more insetenv work
7256 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7258 * ParagraphParameters.C (params2string): small bug fixed
7260 2003-05-16 André Pönitz <poenitz@gmx.net>
7263 * bufferview_funcs.C: patch from Kornel Benko to prevent
7264 crash when _(...) is called twice in a statement
7266 2003-05-16 André Pönitz <poenitz@gmx.net>
7273 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7275 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7277 * lyx_main.C (init): remove spurious static_cast
7279 2003-05-14 André Pönitz <poenitz@gmx.net>
7281 * BufferView.C: fix format string
7283 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7285 * BufferView.[Ch] (insertErrors): removed
7286 * BufferView.[Ch] (showErrorList): added
7287 * buffer.C (runChkTeX):
7288 * converter.C (scanLog): call showErrorList instead of inserterrors
7290 2003-05-13 André Pönitz <poenitz@gmx.net>
7292 * BufferView_pimpl.C:
7294 * bufferview_func.C:
7301 * tabular_funcs.h: tostr() from its own header
7303 * ParagraphParameters.C:
7308 * text3.C: STRCONV()
7310 2003-05-12 André Pönitz <poenitz@gmx.net>
7313 * BufferView_pimpl.C:
7317 * ParagraphParameters.C:
7321 * bufferview_funcs.C:
7334 * paragraph_funcs.C:
7338 * text3.C: boost::format -> bformat all over the place
7341 2003-05-09 André Pönitz <poenitz@gmx.net>
7343 * LColor.[Ch]: Pimpl the #include <map> away
7345 2003-05-09 John Levon <levon@movementarian.org>
7347 * bufferlist.C: never remove emergency saves
7349 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7351 * Makefile.am: better lib building
7353 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7355 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7357 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7358 (simpleTeXSpecialChars): adjust
7359 (simpleTeXSpecialChars): adjust
7360 * paragraph.C (simpleTeXOnePar): adjust
7361 * buffer.C (makeLaTeXFile): adjust
7363 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7365 * text2.C (changeDepth): parlist cleanup
7366 (getColumnNearX): ditto
7368 * rowpainter.C (getLabelFont): parlist cleanup
7370 * bufferlist.C (newFile): parlist cleanup
7372 * CutAndPaste.C (eraseSelection): parlist cleanup
7374 * BufferView_pimpl.C (trackChanges): parlist cleanup
7377 * BufferView.C (lockInset): parlist cleanup.
7378 (ChangeInsets): ditto
7380 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7382 * CutAndPaste.h: Update file header.
7384 * CutAndPaste.C: Update file header.
7385 Store the parts cut out of the Document in a limited_stack.
7386 (copySelection): adjust
7387 (pasteSelection): new function, takes the index in the limited stack.
7388 (nrOfParagraphs): adjust
7389 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7390 simplify error inset insertion.
7391 (checkPastePossible): adjust
7393 2003-05-06 John Levon <levon@movementarian.org>
7395 * text2.C: don't cast wrap inset to float
7397 2003-05-05 André Pönitz <poenitz@gmx.net>
7400 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7402 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7403 few naked Paragraph *.
7405 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7407 * bufferparams.C: Output warning if a document with missing
7408 TeX document class is loaded
7409 * exporter.C: Disable TeX exports if the document class is missing
7412 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7413 isTeXClassAvailable()
7415 2003-05-03 John Levon <levon@movementarian.org>
7418 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7419 explicit cursor show/hide
7421 * BufferView_pimpl.h:
7422 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7423 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7425 * lyxfunc.C: hide cursor before dispatching.
7430 * text3.C: remove explicit cursor hides
7432 2003-05-02 André Pönitz <poenitz@gmx.net>
7434 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7437 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7440 * text2.C: tiny whitespace
7442 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7444 * undo_funcs.C: almost only ws changes.
7446 * ParagraphList.C (splice): just return if pl is empty.
7448 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7450 * ParagraphList.C (splice): new function.
7452 * CutAndPaste.C (pasteSelection): use it
7454 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7456 * CutAndPaste.C (pasteSelection): remove the last next and
7457 previous from this file.
7459 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * CutAndPaste.C (pasteSelection): more clean up, user proper
7462 ParagraphList functions for pasteing.
7464 * ParagraphList.C (insert): new function, three arg insert
7466 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7468 * ParagraphList.C (insert): new function, three arg insert
7470 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7473 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7475 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7477 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7479 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7481 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7483 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7484 (copySelection): clean up a bit.
7485 (pasteSelection): use make_pair
7487 * ParagraphList.C (ParagraphList): implement copy constructor
7488 (operator=): implement, base on copy constructor.
7491 * paragraph.C (erase): return a bool
7493 * paragraph_pimpl.C (erasePos): remove function, move contents...
7494 (erase): ... here. Return a bool.
7495 (erase): call erase instead of erasePos.
7497 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7499 * ParagraphList.h: define PitPosPair
7500 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7501 ParagraphList, fix a bug on pasting multiple pars
7502 * text2.C: change interface to C&P
7504 2003-04-30 André Pönitz <poenitz@gmx.net>
7506 * undo_func.C: revert part of yesterday's patch 2
7508 2003-04-30 John Levon <levon@movementarian.org>
7510 * LColor.C: s/tabular/table/
7512 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * text3.C (dispatch): do not convert iterator -> pointer
7515 * undo_funcs.C (setCursorParUndo): ditto
7516 * text_funcs.C (transposeChars): ditto
7518 * text2.C (setLayout): ws changes only
7520 * text.C (breakParagraph): do not convert iterator -> pointer
7522 (acceptChange): ditto
7523 (rejectChange): ditto
7528 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7531 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7533 * text3.C (gotoInset): YABG (yet another bad getChar)
7535 2003-04-29 André Pönitz <poenitz@gmx.net>
7537 * paragraph.h: make operator= private unimplemented as long as
7540 * ParagraphList.C: whitespace
7543 * paragraph_pimpl.[Ch]:
7544 * paragraph_funcs.C:
7546 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7549 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7551 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7553 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7554 * paragraph.[Ch] (erase):
7555 * paragraph_pimpl.[Ch] (erase): change return type and value
7556 * text2.C (cutSelection): some rework
7558 2003-04-28 John Levon <levon@movementarian.org>
7560 * bufferlist.C: changes for unsaved changes dialog
7562 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7564 * bufferlist.C (newFile): set language (messages_) for new
7567 * buffer.C (readFile): ws changes only.
7569 2003-04-28 André Pönitz <poenitz@gmx.net>
7574 * BufferView_pimpl.C:
7575 * BufferView.C: getParFromID related ParagraphList::iterator changes
7577 2003-04-28 André Pönitz <poenitz@gmx.net>
7579 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7582 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7584 * messages.C: remove one more localedir class variable.
7586 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * messages.C (getLocaleDir): singleton generation function
7590 (Messages): add a default constructor.
7592 * main.C (main): do not setup localedir here, do not call
7595 * gettext.C (_): use it.
7596 (gettext_init): delete funciton
7598 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * gettext.C (getLyXMessages): new singleton generating function.
7602 * buffer.C (updateDocLang): adjust
7604 * Makefile.am (messages.o): add target
7605 (main.o): remove target
7607 2003-04-27 John Levon <levon@movementarian.org>
7612 * lyxvc.C: specify cancel button in Alert::prompt
7614 2003-04-26 John Levon <levon@movementarian.org>
7619 * LyXAction.C: add LFUN_INSET_SETTINGS
7621 * lyxfunc.C: don't enable tabular-feature when there's
7622 just any locking inset
7624 2003-04-26 John Levon <levon@movementarian.org>
7626 * bufferlist.C: re-add Cancel to buffer close question
7628 * lyxfunc.C: fix import UI a bit
7630 2003-04-25 John Levon <levon@movementarian.org>
7632 * gettext.C: remove the broken asserts for now
7634 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * messages.C: make case where setlocale cannot comply work better.
7638 * buffer.C (updateDocLang): new function
7639 (changeLanguage): use it
7642 * text2.C (setCounter): use B_ a bit.
7644 * lyxlayout.C (Read): be sure to trim the label strings.
7646 * messages.C (Messages): fix typo in comment
7648 * buffer.C (readFile): set message_ after file is loaded.
7649 (makeDocBookFile): remove double return
7650 (changeLanguage): reset message_ upon language change.
7651 (B_): new func, use this to get translated buffer strings.
7653 * main.C: add myself and Jean Marc as authors.
7655 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * messages.[hC]: pimplify Messages, and three different pimpls to be
7658 used in different circumstances.
7660 * gettext.[Ch]: change for use with new message code.
7662 2003-04-24 André Pönitz <poenitz@gmx.net>
7664 * factory.C: support for eqref
7666 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7668 * messages.[Ch]: add missing char
7670 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7672 * messages.[Ch]: New files
7674 2003-04-18 John Levon <levon@movementarian.org>
7678 * BufferView_pimpl.C:
7682 * text2.C: remove layout-copy/paste (bug 778)
7684 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7686 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7688 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7690 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7691 if they succeed. Act accordingly.
7693 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7695 * text2.C (setCharFont): adjust
7696 (setCounter): adjust
7697 (insertStringAsLines): adjust
7699 * text.C (leftMargin): adjust
7700 (setHeightOfRow): adjust
7702 * rowpainter.C (paintFirst): adjust
7705 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7707 (isFirstInSequence): ditto
7708 (getEndLabel): ditto
7711 * paragraph.C (getParLanguage): comment out some hard stuff.
7713 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7715 (simpleDocBookOnePar): ditto
7716 (makeDocBookFile): use ParagraphList::iterator
7718 * CutAndPaste.C (pasteSelection): adjust
7720 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7722 * text2.C (getFont): adjust
7723 (getLayoutFont): adjust
7724 (getLabelFont): adjust
7726 * paragraph_funcs.C (TeXOnePar): adjust
7728 * buffer.C (simpleLinuxDocOnePar): adjust
7729 (simpleDocBookOnePar): adjust
7731 * CutAndPaste.C (pasteSelection): adjust
7733 * BufferView.C (getEncoding): adjust
7735 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7737 2003-04-16 John Levon <levon@movementarian.org>
7739 * lyxfind.C: use parlist stuff for search/changes
7741 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7743 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7745 * text2.C (deleteEmptyParagraphMechanism): adjust
7747 * text2.[Ch] (ownerParagraph): delete func (both of them
7749 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7753 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7755 * ParagraphList.C: prepare for NO_NEXT
7757 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * text2.C (getFont): adjust
7760 (getLayoutFont): adjust
7761 (getLabelFont): adjust
7763 * paragraph.C (getFont): adjust
7764 (getLabelFont): adjust
7765 (getLayoutFont): adjust
7767 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7769 2003-04-15 John Levon <levon@movementarian.org>
7773 * lyx_main.C: handle Include in .ui files
7775 2003-04-15 John Levon <levon@movementarian.org>
7777 * MenuBackend.C: make the doc files length shorter
7780 * ToolbarBackend.C: handle toolbar placement flags,
7783 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7788 * paragraph_funcs.C (TeXOnePar): adjust
7790 * paragraph.C (getLabelFont): add outerfont arg, adjust
7791 (getLayoutFont): ditto
7792 (simpleTeXOnePar): adjust
7794 * paragraph_pimpl.C (realizeFont): delete func
7796 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7798 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7799 row argument, constify cur argument.
7801 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7803 * text2.C (getFont): adjust
7804 (getLayoutFont): adjust
7805 (getLabelFont): adjust
7807 * paragraph_funcs.C (TeXOnePar): adjust
7808 (outerFont): new func...
7809 (realizeFont): ...moved out from here, changed this to facilitate
7812 * paragraph.C (getFont): take outerfont as arg, adjust
7813 (simpleTeXOnePar): add outerfont arg, adjust
7815 * buffer.C (simpleLinuxDocOnePar): adjust
7816 (simpleDocBookOnePar): adjust
7818 * CutAndPaste.C (pasteSelection): adjust
7820 * BufferView.C (getEncoding): adjust
7822 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * text2.C (setCharFont): adjust
7825 (setCounter): adjust
7827 * text.C (leftMargin): adjust
7828 (setHeightOfRow): adjust
7830 * rowpainter.C (paintFirst): adjust
7833 * paragraph_pimpl.C (realizeFont): adjust
7835 * paragraph.C (isFirstInSequence): move from here...
7836 * paragraph_funcs.C (isFirstInSequence): ...to here
7838 * paragraph.C (outerHook): move from here...
7839 * paragraph_funcs.C (outerHook): ...to here
7841 * paragraph.C (depthHook): move from here...
7842 * paragraph_funcs.C (depthHook): ...to here
7844 * paragraph.C (getEndLabel): move from here...
7845 * paragraph_funcs.C (getEndLabel): ...to here
7847 * text2.C (realizeFont): move from here...
7848 * paragraph_funcs.C (realizeFont): ...to here
7850 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7852 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7854 2003-04-14 Angus Leeming <leeming@lyx.org>
7856 * LColor.[Ch]: scrap LColor mathcursor.
7858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7860 * lyxlex.[Ch] (text): delete function
7861 * trans.C (Load): adjust
7862 * paragraph_funcs.C (readParToken): adjust
7864 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7866 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7867 vector<char> instead of a char[].
7869 * lyxlex_pimpl.C (getString): adjust
7871 (lex): use getString
7875 * lyxlex.C (text): use pimpl_->getString()
7879 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7881 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7882 (makeFontEntriesLayoutSpecific): temp var for par.size()
7883 (setLayout): temp var for ownerParagraphs().end()
7884 (fullRebreak): temp var for rows().end()
7885 (selectionAsString): temp var for boost::next(startpit), realize
7886 that the while really is a regular for loop.
7887 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7888 setCursor in one place.
7889 (setParagraph): temp vr for ownerParagraphs().end()
7890 (updateCounters): make the while loop a for loop
7891 (cutSelection): temp var for ownerParagraphs().end()
7892 (updateInset): make the do {} while() a regular for loop
7893 (getCursorX): use temp vars
7894 (setCurrentFont): use temp vars
7895 (getColumnNearX): use temp vars
7897 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * text.C (transformChar): use temp var for getChar
7900 (computeBidiTables): use temp var for row->par()
7901 (fill): move temp vars for row->par() and pit->layout() earlier in
7903 (labelFill): use temp var for row->par()
7904 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7905 asc and desc, realize that pit never changes and that firstpit is
7906 just a duplicate and not needed. Exchange rit->par() with pit in a
7908 (breakAgain): use a temp var for boost::next(rit)
7909 (breakAgainOneRow): ditto
7910 (breakParagraph): use a temp var for rows().begin()
7911 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7912 (cursorRightOneWord): use temp var for cursor.par() and
7913 cursor.pos(), remove usage of tmpcursor.
7914 (cursorLeftOneWord): use temp var for cursor.par() and
7915 cursor.pos() only set cur at end of function.
7917 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7919 * text.C, text2.C: exchange all usage of Paragraph::next with
7920 boost::next(ParagraphList::iterator)
7922 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7924 * text2.C (cursorTop): simplify implementation
7925 (cursorBottom): ditto
7926 (setParagraph): use ParagraphList::iterator
7927 (setCurrentFont): adjust
7928 (getColumnNearX): adjust
7929 (cursorRight): adjust
7930 (cursorLeft): remove usage of Paragraph::previous
7931 (cursorUpParagraph): ditto
7932 (deleteEmptyParagraphMechanism): slight cleanup
7934 * text.C (isBoundary): take a Paragraph const & instead of a
7936 (addressBreakPoint): ditto
7937 (leftMargin): remove usage of Paragraph::previous.
7938 (setHeightOfRow): ditto
7939 (cursorLeftOneWord): ditto
7940 (selectNextWordToSpellcheck): ditto
7943 (breakParagraph): remove one usage of Paragraph::next
7944 (redoParagraph): ditto
7945 (acceptChange): ditto
7946 (insertChar): adjust
7947 (rowBreakPoint): adjust
7949 * bufferview_funcs.C (toggleAndShow): adjust
7951 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7953 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7954 methods to access it.
7956 * text.C: Added updateRowPositions to compute all row positions.
7957 Make top_y and getRowNearY() to use the cached y position
7959 2003-04-11 John Levon <levon@movementarian.org>
7961 * text.C (rowBreakPoint): reintroduce the labelEnd
7962 checks, code copied from the row fill stuff. Deep voodoo.
7964 * text.C (fill): add a comment and debugging for the
7967 2003-04-11 John Levon <levon@movementarian.org>
7969 * text.C: make sure fullrow insets get wrapped to the next line,
7970 even when they're in a manual label
7972 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7974 * text2.C (insertParagraph): make it take ParagraphList::iterator
7976 (setLayout): make it return ParagraphList::iterator
7977 (redoParagraphs): ditto
7979 (checkParagraph): ditto
7981 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7983 * text2.C: adjust several funcs.
7984 (realizeFont): take a ParagraphList::iterator as arg.
7985 (getLayoutFont): ditto
7986 (getLabelFont): ditto
7987 (setCharFont): ditto
7989 * text.C: adjust several funcs.
7991 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7993 * text.C (selectNextWordToSpellcheck): don't accidentally
7996 2003-04-10 John Levon <levon@movementarian.org>
7998 * ToolbarBackend.C (getIcon): special handling for
8001 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
8003 * text2.C (cursorRight): a getChar assert fixed
8005 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * text2.C (getFont): change to take a ParagraphList::iterator
8008 instead of Paragraph*
8009 Adjust several functions.
8011 * text.C (transformChar): change to take a ParagraphList::iterator
8012 instead of Paragraph*
8013 (singleWidth): ditto
8014 Adjust several functions.
8016 * rowpainter.C: adjust several functions
8017 * rowpainter.h:store a ParagraphList::iterator and not a
8021 2003-04-09 John Levon <levon@movementarian.org>
8026 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8027 and the "help" bits as well
8029 2003-04-09 John Levon <levon@movementarian.org>
8032 * ToolbarBackend.C: allow multiple toolbars
8034 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * undo_funcs.C (setCursorParUndo): adjust
8038 * text_funcs.C (transposeChars): adjust
8040 * text3.C (gotoNextInset): adjust
8043 * text2.C (setLayout): adjust
8044 (changeDepth): adjust
8046 (redoParagraphs): adjust
8047 (selectionAsString): adjust
8048 (setParagraph): adjust
8049 (insertInset): adjust
8050 (cutSelection): adjust
8051 (copySelection): adjust
8052 (pasteSelection): adjust
8053 (insertStringAsLines): adjust
8054 (updateInset): adjust
8055 (setCursor): change to take a ParagraphList::iterator parameter
8056 (setCursorIntern): change to take a ParagraphList::iterator parameter
8057 (setCurrentFont): adjust
8058 (cursorLeft): adjust
8059 (cursorRight): adjust
8060 (deleteEmptyParagraphMechanism): adjust
8062 * text.C (breakParagraph): adjust
8063 (insertChar): adjust
8064 (acceptChange): adjust
8065 (rejectChange): adjust
8066 (selectNextWordToSpellcheck): adjust
8067 (changeCase): adjust
8071 * lyxfind.C (SearchForward): adjust
8072 (SearchBackward): adjust
8073 (nextChange): adjust
8075 * lyxcursor.C (par): adjust
8077 * lyxcursor.h: store a ParagraphList::iterator instead of a
8080 * lyx_cb.C (getPossibleLabel): adjust
8082 * bufferview_funcs.C (toggleAndShow): adjust
8084 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8087 * BufferView.C (removeAutoInsets): adjust
8088 (lockedInsetStoreUndo): adjust
8090 2003-04-09 John Levon <levon@movementarian.org>
8092 * ToolbarBackend.C: try icon without argument
8093 if with argument fails
8095 2003-04-08 John Levon <levon@movementarian.org>
8098 * ToolbarBackend.C: add getIcon(), handle tooltip,
8099 and change from "Icon" to "Item".
8101 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8103 * BufferView.C (lockInset): another bad getchar crunched
8105 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8107 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8110 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8112 * lyxfind.C (searchForward, searchBackwards): bug 782
8114 2003-04-07 John Levon <levon@movementarian.org>
8116 * paragraph.C: remove dead comment
8118 * text.C: remove troublesome depth-fiddling code
8119 in leftMargin() and rightMargin() (bug 1017)
8121 * text.C: fix breaking of rows in nested lists
8124 * text2.C (updateCounters): fix up depth values
8127 2003-04-07 John Levon <levon@movementarian.org>
8129 * BufferView_pimpl.C: clear message when doc finishes resizing,
8130 and after a mouse event
8132 * lyxfunc.C: clear message after exiting inset
8134 2003-04-07 John Levon <levon@movementarian.org>
8136 * bufferview_funcs.C: show math status not outside
8137 status in the statusbar
8139 2003-04-07 John Levon <levon@movementarian.org>
8141 * lyxfunc.C: note status changed after a depth change
8143 2003-04-04 Angus Leeming <leeming@lyx.org>
8145 * LaTeX.h: move AuxInfo operator==, != out of line.
8146 Remove LaTeX virtual destructor; nothing derives from it.
8147 Move operator()() out of public area and rename it startscript().
8148 Change protected for private.
8150 2003-04-04 Angus Leeming <leeming@lyx.org>
8153 * text2.C: remove unneeded #includes.
8155 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8157 * text2.C (dEPM): fix the heigth of the next row
8159 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8161 * text.C: squashed an invalid getChar requester + some ws changes
8163 2003-04-03 John Levon <levon@movementarian.org>
8165 * bufferview_funcs.h:
8166 * bufferview_funcs.C:
8169 * text2.C: make getStatus work for the env depth lfuns
8171 2003-04-03 John Levon <levon@movementarian.org>
8173 * bufferview_funcs.h:
8174 * bufferview_funcs.C:
8177 * text2.C: parlistize decDepth(), by merging it with incDepth()
8179 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * lyxrow.h: store a ParagraphList::iterator instead of a
8182 Paragraph* and adjust other class functions to suit.
8184 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8187 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8189 * text2.C (setCursor): do not anchor to cursor row for the time being
8191 2003-04-02 John Levon <levon@movementarian.org>
8198 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8200 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * paragraph.h: make ParagraphList and ParagraphList::iterator
8203 friends of Paragraph.
8205 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8207 * ParagraphList.C: Use the private next_ and previous_ from
8210 2003-04-01 John Levon <levon@movementarian.org>
8214 * Makefile.am: rename, remove defaults gunk
8217 * MenuBackend.C: remove defaults gunk
8220 * Languages.C: remove defaults gunk
8223 * lyx_main.C: error out if files couldn't be found.
8225 2003-04-02 John Levon <levon@movementarian.org>
8227 * text2.C: make incDepth() use parlist
8229 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * undo_funcs.C (firstUndoParagraph): adjust
8233 * text3.C (gotoInset): adjust
8234 (dispatch): adjust, and rewrite loop.
8236 * text2.C (init): adjust, and rewrite loop.
8237 (redoParagraphs): adjust
8238 (updateInset): adjust, and rewrite loop.
8239 (deleteEmptyParagraphMechanism): adjust
8241 * tabular.C (LyXTabular): adjust
8242 (SetMultiColumn): adjust
8245 * lyxtext.[Ch] (ownerParagraph): delete function
8246 (ownerParagraphs): new function returns a ParagraphList.
8248 * BufferView.C (removeAutoInsets): adjust
8249 (insertErrors): adjust
8250 (setCursorFromRow): adjust
8252 2003-04-01 Angus Leeming <leeming@lyx.org>
8254 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8257 2003-04-02 John Levon <levon@movementarian.org>
8263 * text_funcs.C: make transposeChars a free function
8265 * lyxrow_funcs.C: remove wrong comment
8267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8270 * rowpainter.C: adjust
8275 * lyxrow_funcs. [Ch]: new files
8277 * lyxrow.[Ch]: remove next and previous pointers
8278 (next,previous): remove accessor functions
8279 (isParEnd): move to lyxrow_funcs
8280 (lastPos): move to lyxrow_funcs
8281 (nextRowIsAllInset): move to lyxrow_funcs
8282 (lastPrintablePos): move to lyxrow_funcs
8283 (numberOfSeparators): move to lyxrow_funcs
8284 (numberOfHfills): move to lyxrow_funcs
8285 (numberOfLabelHfills): move to lyxrow_funcs
8286 (hfillExpansion): move to lyxrow_funcs
8290 * bufferview_funcs.C (toggleAndShow): adjust
8292 * RowList.h: Remove class RowList from file leave just a
8295 * RowList.C: delete file
8297 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8300 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8302 * text3.C (cursorPrevious): adjust
8303 (cursorNext): adjust
8306 * text2.C (redoHeightOfParagraph): adjust
8307 (redoDrawingOfParagraph): adjust
8310 * text.C (breakParagraph): adjust
8311 (insertChar): adjust
8314 * rowpainter.C (RowPainter): adjust
8315 (leftMargin): simplify and adjust
8316 (most rowpainter functions): adjust.
8318 * rowpainter.h: store the row as RowList::iterator not as Row*
8320 * lyxcursor.C (row): taka RowList::iterator as arg
8323 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8326 2003-04-01 Angus Leeming <leeming@lyx.org>
8328 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8329 stuff like bool Bool.
8331 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8333 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8336 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8338 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8341 * lyxtext.h (rows): drop one version and leve a const variant that
8342 returns a RowList::iterator.
8344 2003-03-31 Angus Leeming <leeming@lyx.org>
8346 * text.C (fill): ensure that the signature is the same as that in the
8349 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8351 * text2.C (redoParagraphs): adjust
8352 (updateCounters): adjust
8353 (checkParagraph): adjust
8354 (getColumnNearX): adjust and reformat a bit.
8356 * text.C (top_y): adjust
8358 (leftMargin): adjust
8359 (prepareToPrint): adjust
8361 (getRowNearY): adjust
8363 * lyxtext.h: make rowlist_ mutable.
8365 * RowList.h: add const_iterator
8366 * RowList.C: adjust for RowList::const_iterator.
8368 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8371 2003-03-31 John Levon <levon@movementarian.org>
8374 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8376 * lyx_main.C: set default fonts from using lyx_gui funcs
8378 * exporter.C: pdf_mode moved from lyxrc
8381 * lyxfunc.C: changes from above
8383 2003-03-31 John Levon <levon@movementarian.org>
8385 * lyx_main.C: fix to the last fix
8387 2003-03-31 John Levon <levon@movementarian.org>
8389 * bufferlist.C: "Load original" -> "Load Original"
8395 * format.C: more Alert cleanups
8397 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * text2.C (removeParagraph): make it take a RowList::iterator as
8401 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8402 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8404 * text.C (anchor_row): make it take a RowList::iterator as arg,
8406 (computeBidiTables): make it take a const reference to Row instead
8407 of Row pointer, adjust.
8408 (leftMargin): make it take a RowList::iterator as arg, adjust.
8409 (rowBreakPoint): adjust
8410 (breakAgainOneRow): make it take a RowList::iterator as arg,
8412 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8414 * bufferview_funcs.C (toggleAndShow): adjust
8416 2003-03-30 John Levon <levon@movementarian.org>
8420 * boost-inst.C: moved to support
8422 * several files: changes as a result
8424 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * text2.C (LyXText): adjust.
8428 (removeRow): make it take a RowList::iterator as arg, adjust.
8429 (fullRebreak): adjust
8430 (deleteEmptyParagraphMechanism): adjust
8431 (clearPaint): adjust
8434 * text.C (top_y): adjust
8435 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8436 (breakAgain): make it take a RowList::iterator as arg, adjust.
8437 (breakParagraph): adjust
8438 (insertChar): adjust
8441 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8442 need_break_row, and refresh_row.
8444 * text3.C (dispatch): adjust
8446 * text2.C (checkParagraph): adjust
8448 (setCursorFromCoordinates): adjust
8450 * text.C (top_y): adjust
8452 (getRow): make it return a RowList::iterator, adjust
8453 (getRowNearY): make it return a RowList::iterator, adjust
8455 * text2.C (init): adjust
8456 (insertRow): remove function
8457 (insertParagraph): adjust
8458 (redoParagraphs): adjust
8459 (fullRebreak): adjust
8460 (updateCounters): adjust
8462 * text.C (top_y): rewrite to use RowList iterators.
8464 (setHeightOfRow): rewrite to sue RowList iterators.
8465 (appendParagraph): adjust
8466 (breakAgain): adjust
8467 (breakAgainOneRow): adjust
8468 (breakParagraph): adjust
8470 (getRowNearY): adjust, and remove commented code.
8472 * lyxtext.h (firstRow): delete function
8473 (lastRow): delete function
8474 (rows): new function (const and non-const versions.)
8475 (insertRow): delete function
8477 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8479 2003-03-29 John Levon <levon@movementarian.org>
8481 * BufferView_pimpl.C: always update scrollbar top
8482 because pasting text when we're anchored could mean we
8483 miss an update altogether
8485 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8487 * text2.C (init): use rowlist_.end() and not 0.
8488 (insertRow): change to take a RowList::iterator as arg, adjust
8490 (insertParagraph): change to take a RowList::iterator as arg,
8492 (redoParagraphs): remove some debug msgs.
8494 * text.C (appendParagraph): change to take a RowList::iterator
8495 arg, adjust for this.
8496 (breakAgain): add an assert
8497 (breakAgainOneRow): ditto
8499 2003-03-29 John Levon <levon@movementarian.org>
8501 * text2.C: do not clear selection after inc/decDepth
8504 2003-03-29 John Levon <levon@movementarian.org>
8507 * buffer.C: fix broken strerrors according to Lars
8509 2003-03-29 John Levon <levon@movementarian.org>
8511 * converters.C: more Alert cleanups
8513 2003-03-29 John Levon <levon@movementarian.org>
8515 * bufferview_funcs.C: remove pointless Alert
8517 * buffer.C: fix confusing error message when
8518 a template is chmoded 000
8520 2003-03-29 John Levon <levon@movementarian.org>
8524 * BufferView_pimpl.C: Alert fixes
8528 * tabular-old.C: remove unused table compat reading
8530 2003-03-29 John Levon <levon@movementarian.org>
8535 * lyx_cb.C: more Alert cleanups
8537 * lyxfunc.C: don't allow chktex if not latex document
8539 2003-03-29 John Levon <levon@movementarian.org>
8543 * buffer.C: warnings pushed down from support/,
8546 2003-03-29 John Levon <levon@movementarian.org>
8548 * lyxfunc.C: safety check for C-r (revert)
8550 2003-03-29 John Levon <levon@movementarian.org>
8553 * bufferlist.C: several UI fixes using Alert::prompt.
8554 Fix the pointless looping quit code. Fix stupid revert
8559 * lyx_cb.C: use Alert::prompt
8561 * lyx_main.C: remove a silly question
8563 * lyxfunc.C: remove a couple of silly questions,
8566 2003-03-28 John Levon <levon@movementarian.org>
8568 * text2.C: fix bug 974 (End on empty par)
8570 2003-03-28 John Levon <levon@movementarian.org>
8572 * BufferView_pimpl.C:
8574 * lfuns.h: remove do-nothing math greek lfuns
8576 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8578 * lyxgluelength.h (isValidGlueLength): add default arg on
8579 parameter 2. Remove default arg from friend in class.
8581 * lyxlength.h (isValidLength): add default arg on parameter 2.
8582 Remove default arg from friend in class.
8584 * text2.C (LyXText): adjust, initialize refresh_row.
8588 (insertParagraph): adjst
8589 (redoParagraphs): adjust
8590 (fullRebreak): adjust
8591 (updateCounters): adjust
8592 (deleteEmptyParagraphMechanism): first attempt at fixing a
8595 * text.C (top_y): adjust
8596 (setHeightOfRow): adjust
8598 (getRowNearY): adjust
8600 * lyxtext.h: include RowList.h
8601 (~LyXText): not needed anymore, deleted.
8602 (firstRow): modify for RowList
8603 (lastRow): new function
8604 Delete firstrow and lastrow class variables, add a Rowlist
8605 rowlist_ class variable.
8607 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8610 * RowList.C (insert): fix case where it == begin().
8612 2003-03-26 Angus Leeming <leeming@lyx.org>
8614 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8615 the thesaurus dialog.
8617 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8619 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8621 * RowList.[Ch]: new files
8623 * ParagraphList.C (erase): handle the case where it == begin
8626 2003-03-25 John Levon <levon@movementarian.org>
8630 * aspell.C: add new aspell support
8633 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8636 2003-03-25 Angus Leeming <leeming@lyx.org>
8639 * LyXAction.C (init): new LFUN_INSET_INSERT.
8641 * BufferView_pimpl.C (dispatch): split out part of the
8642 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8644 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8647 2003-03-25 Angus Leeming <leeming@lyx.org>
8649 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8651 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8654 * text3.C: remove useless row->height(0)
8656 2003-03-25 John Levon <levon@movementarian.org>
8660 * text3.C: rename the refreshing stuff to better names
8662 2003-03-24 John Levon <levon@movementarian.org>
8664 * BufferView_pimpl.h:
8665 * BufferView_pimpl.C: update layout choice on a mouse
8668 2003-03-23 John Levon <levon@movementarian.org>
8670 * Makefile.am: fix commandtags.h reference
8672 2003-03-22 John Levon <levon@movementarian.org>
8674 * BufferView_pimpl.C:
8679 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8681 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8684 * text.C: take the rtl methods out of line
8686 2003-03-21 André Pönitz <poenitz@gmx.net>
8688 * metricsinfo.[Ch]: new files containing structures to be passed around
8689 during the two-phase-drawing...
8691 2003-03-21 André Pönitz <poenitz@gmx.net>
8693 * lyxtextclass.C: read 'environment' tag.
8695 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8697 * text2.C (removeRow): fix bug 964
8699 2003-03-20 John Levon <levon@movementarian.org>
8703 * text2.C: paint cleanups. Inset::update() dropped font
8706 2003-03-19 John Levon <levon@movementarian.org>
8708 * lyxfunc.C: only fitcursor/markDirty if available()
8710 2003-03-19 John Levon <levon@movementarian.org>
8712 * commandtags.h: rename to ...
8714 * lfuns.h: ... this, and renumber / cleanup
8716 2003-03-19 John Levon <levon@movementarian.org>
8718 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8719 fit the cursor after an lfun
8723 * BufferView_pimpl.h:
8724 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8726 * LyXAction.C: layout-character should have ReadOnly
8728 * ParagraphParameters.C:
8730 * bufferview_funcs.C:
8737 * undo_funcs.C: changes from above
8739 2003-03-18 John Levon <levon@movementarian.org>
8741 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8742 remove it from update()
8744 * lyxfunc.C: update layout choice after an lfun
8746 * text3.C: remove extra updateLayoutChoice()s
8748 2003-03-18 John Levon <levon@movementarian.org>
8750 * text.C: top_y change means full repaint, fix
8751 a drawing bug with cursor movement
8753 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8757 * text2.C: anchor row on setCursor
8759 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8761 * lyxtext.h: remove almost all mutable keywords
8764 * text3.C: remove const keywords accordingly
8766 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8770 (TeXEnvironment): ditto
8773 2003-03-17 John Levon <levon@movementarian.org>
8775 * text.C (rowBreakPoint): remove attempt to fix displayed
8776 math insets inside a manual label
8778 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8780 * lyxtext.h: remove BufferView* as first arg from almost all class
8782 * other files: adjust.
8784 2003-03-17 John Levon <levon@movementarian.org>
8788 * text2.C: more paint cleanups
8790 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8793 * rowpainter.C: remove "smart" background painting code
8795 2003-03-16 John Levon <levon@movementarian.org>
8800 * text3.C: add helper functions for setting refresh_row/y
8802 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8804 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8805 newline inset which *can* get inserted in the pass_thru layouts.
8806 This is primarily for literate documents.
8808 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8810 * buffer.C: increment LYX_FORMAT to 223
8812 2003-03-14 André Pönitz <poenitz@gmx.net>
8814 * textclass.h: prepare for environment handling, ws changes
8815 * lyxlayout.C: read latexheader and latexfooter tags
8817 2003-03-14 John Levon <levon@movementarian.org>
8819 * text2.C: rewrite ::status() a bit
8821 2003-03-13 John Levon <levon@movementarian.org>
8823 * lyxtext.h: add some docs
8825 2003-03-13 John Levon <levon@movementarian.org>
8830 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8832 2003-03-13 John Levon <levon@movementarian.org>
8834 * text3.C: fix appendix redrawing
8836 2003-03-13 John Levon <levon@movementarian.org>
8838 * text.C (setHeightOfRow):
8840 * rowpainter.C: make appendix mark have the text
8841 "Appendix" so the user knows what it is
8844 * LColor.C: s/appendixline/appendix/ from above
8846 2003-03-13 John Levon <levon@movementarian.org>
8848 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8850 * text.C: fix a getChar(pos) bug properly
8852 2003-03-13 Angus Leeming <leeming@lyx.org>
8855 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8856 Probably only temporary. Let's see how things pan out.
8858 * BufferView.C (unlockInset):
8859 * BufferView_pimpl.C (fitCursor):
8860 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8862 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8863 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8865 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8866 new functions that convert ParagraphParameters to and from a string.
8868 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8869 BufferView::Pimpl's dispatch.
8870 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8872 2003-03-13 André Pönitz <poenitz@gmx.net>
8876 * factory.C: make it aware of InsetEnv
8878 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8880 * text2.C (setCursor): never ask for one past last
8881 (setCursor): add some debugging messages.
8883 * text.C (singleWidth): never ask for one past last
8884 (singleWidth): ditto
8886 (rightMargin): ditto
8887 (rowBreakPoint): ditto
8888 (setHeightOfRow): ditto
8889 (prepareToPrint): ditto
8891 * rowpainter.C (paintBackground): never ask for one past last
8892 (paintText): never ask for one past last
8894 * paragraph_pimpl.C (getChar): make the assert stricter, never
8895 allow the one past last pos to be taken
8897 * paragraph.C (getChar): ws changes only
8899 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8900 (numberOfSeparators): ditto
8901 (numberOfHfills): ditto
8903 2003-03-12 John Levon <levon@movementarian.org>
8909 * paragraph_funcs.C: fix per-buffer authorlists
8911 2003-03-12 John Levon <levon@movementarian.org>
8913 * text.C: fix newline in right address
8915 2003-03-12 Angus Leeming <leeming@lyx.org>
8917 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8918 duplicate those in LyXFunc::dispatch.
8922 * ToolbarDefaults.C:
8923 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8924 Add LFUN_FONTFREE_UPDATE.
8926 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8927 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8929 * bufferview_func.[Ch]: several new functions to facilliate
8930 transfer of data to and from the character dialog.
8932 2003-03-12 John Levon <levon@movementarian.org>
8937 * paragraph_funcs.C:
8938 * paragraph_pimpl.C:
8942 * text3.C: remove META_NEWLINE in favour of an inset
8945 * rowpainter.C: remove paintNewline (done by inset)
8947 2003-03-12 John Levon <levon@movementarian.org>
8949 * paragraph_pimpl.C: complain about bad getChar()s
8950 for a while at least
8952 2003-03-12 John Levon <levon@movementarian.org>
8955 * buffer.C: move paragraph read into a separate function,
8956 a little renaming to reflect that.
8959 * bufferparams.C: remove the author_ids map, not necessary now
8962 * factory.C: moved Buffer::readInset to here
8964 * paragraph_funcs.h:
8965 * paragraph_funcs.C: readParagraph free function moved from
8968 * tabular.C: name change
8970 2003-03-12 John Levon <levon@movementarian.org>
8973 * ParagraphParameters.C: move par params input to
8976 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8977 behave like a normal read from the stream wrt reading
8978 a line vs. a \\token
8980 2003-03-12 John Levon <levon@movementarian.org>
8983 * ParagraphParameters.h:
8984 * ParagraphParameters.C: move output code to a
8987 2003-03-12 John Levon <levon@movementarian.org>
8989 * BufferView.C (insertLyXFile):
8992 * tabular.C: use a parlist iterator for creating the
8995 2003-03-12 John Levon <levon@movementarian.org>
8997 * buffer.C: make current_change static local not
9000 2003-03-12 John Levon <levon@movementarian.org>
9002 * buffer.C: fix insertStringAsLines for change tracking
9004 2003-03-12 John Levon <levon@movementarian.org>
9011 * bufferparams.C: move author list into params. Rename some
9012 functions. Move the header reading into a separate token
9013 loop. Move the header token reading into BufferParams.
9015 2003-03-12 John Levon <levon@movementarian.org>
9017 * changes.C: put debug inside lyxerr.debugging() checks
9019 2003-03-11 André Pönitz <poenitz@gmx.net>
9021 * factory.C: make it aware of InsetHFill
9023 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9025 * buffer.C (latexParagraphs): move function from here...
9026 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9029 2003-03-10 Angus Leeming <leeming@lyx.org>
9031 * LyXAction.C (init): fix bug in poplating array with multiple entries
9032 with the same LFUN (spotted by JMarc).
9034 2003-03-10 John Levon <levon@movementarian.org>
9037 * text2.C: move getColumnNearX() near its
9040 2003-03-10 John Levon <levon@movementarian.org>
9042 * text.C: fix break before a minipage
9044 2003-03-10 John Levon <levon@movementarian.org>
9046 * text.C: fix the last commit
9048 2003-03-09 John Levon <levon@movementarian.org>
9052 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9053 bug 365 (don't break before insets unless needed). Don't
9054 return a value > last under any circumstances.
9056 2003-03-09 Angus Leeming <leeming@lyx.org>
9058 * BufferView_pimpl.C (trackChanges, dispatch): call
9059 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9061 2003-03-09 Angus Leeming <leeming@lyx.org>
9063 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9064 than Dialogs::showAboutlyx().
9066 2003-03-09 Angus Leeming <leeming@lyx.org>
9068 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9069 than Dialogs::showTabularCreate().
9071 2003-03-09 John Levon <levon@movementarian.org>
9075 * text2.C: 3rd arg to nextBreakPoint was always the same.
9078 2003-03-08 John Levon <levon@movementarian.org>
9085 * text2.C: Remove the "main" bit from the "main body"
9088 2003-03-08 John Levon <levon@movementarian.org>
9090 * text.C (leftMargin): The left margin of an empty
9091 manual label paragraph should not include the label width
9094 * text.C (prepareToPrint): don't attempt to measure hfills
9095 for empty manual label paragraphs - the answer should be 0
9097 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9099 * CutAndPaste.C: remove commented code and reindent.
9101 2003-03-08 John Levon <levon@movementarian.org>
9104 * lyxfunc.C: move reloadBuffer()
9107 * BufferView.C: to here
9109 * lyxvc.C: add comment
9112 * vc-backend.C: call bv->reload() to avoid
9113 getStatus() check on MENURELOAD
9115 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9117 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9118 to an old format .dep file.
9120 2003-03-07 Angus Leeming <leeming@lyx.org>
9122 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9123 when the LFUN_MOUSE_RELEASE should have been handled by
9124 inset->localDispatch.
9126 2003-03-07 Angus Leeming <leeming@lyx.org>
9128 * BufferView_pimpl.C (dispatch):
9129 * LyXAction.C (init):
9130 * ToolbarDefaults.C (init):
9132 * lyxfunc.C (getStatus):
9133 remove LFUN_INSET_GRAPHICS.
9135 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9137 2003-03-07 Angus Leeming <leeming@lyx.org>
9140 * LyXAction.C (init):
9141 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9143 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9146 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9148 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9149 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9151 2003-03-07 Angus Leeming <leeming@lyx.org>
9153 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9156 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9158 * ParagraphList.C (front): new function
9161 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9163 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9164 and top_row_offset_. removed var first_y.
9166 * text2.C (LyXText, removeRow):
9168 * BufferView_pimpl.C:
9169 use these methods instead of using first_y
9171 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9173 * text2.C (pasteSelection): adjust for checkPastePossible
9175 * CutAndPaste.C: remove Paragraph * buf and replace with
9176 ParagraphList paragraphs.
9177 (DeleteBuffer): delete
9178 (cutSelection): change the tc type to textclass_type
9179 (copySelection): change the tc type to textclass_type
9180 (copySelection): adjust for ParagraphList
9181 (pasteSelection): change the tc type to textclass_type
9182 (pasteSelection): adjust for Paragraphlist
9183 (nrOfParagraphs): simplify for ParagraphList
9184 (checkPastePossible): simplify for ParagraphList
9185 (checkPastePossible): remove unused arg
9187 * ParagraphList.C (insert): handle the case where there are no
9190 * CutAndPaste.h: make CutAndPaste a namespace.
9192 * text3.C (dispatch): adjust
9194 * text.C (breakParagraph): add a ParagraphList as arg
9196 * paragraph_funcs.C (breakParagraph): change to take a
9197 BufferParams and a ParagraphList as args.
9198 (breakParagraphConservative): ditto
9199 (mergeParagraph): ditto
9200 (TeXDeeper): add a ParagraphList arg
9201 (TeXEnvironment): ditto
9204 * buffer.C (readLyXformat2): adjust
9205 (insertStringAsLines): adjust
9206 (latexParagraphs): adjust
9208 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9209 (cutSelection): adjust
9210 (pasteSelection): adjust
9212 * BufferView_pimpl.C (insertInset): adjust
9214 2003-03-05 Angus Leeming <leeming@lyx.org>
9217 * LyXAction.C (init):
9218 * BufferView_pimpl.C (dispatch):
9219 * lyxfunc.C (getStatus):
9220 remove LFUN_CHILD_INSERT.
9222 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9224 2003-03-05 Angus Leeming <leeming@lyx.org>
9227 * LyXAction.C (init):
9228 * src/factory.C (createInset):
9229 * lyxfunc.C (getStatus):
9230 * text3.C (dispatch):
9231 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9233 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9235 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9237 * ParagraphList.C (insert): handle insert right before end()
9238 (erase): fix cases where it can be first or last paragraph.
9240 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9242 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9243 Paragraph::next and Paragraph::previous
9246 * text.C (breakParagraph): adjust
9248 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9249 BufferParams& as arg.
9250 (breakParagraph): use ParagraphList::insert
9251 (breakParagraphConservative): take a Buffer* instead of a
9252 BufferParams& as arg.
9253 (breakParagraphConservative): use ParagraphList::insert.
9255 * buffer.C (insertStringAsLines): un-const it
9256 (insertStringAsLines): adjust
9258 * ParagraphList.C (insert): new function
9260 * CutAndPaste.C (pasteSelection): adjust
9262 * text.C (backspace): adjust
9264 * tabular.C (SetMultiColumn): adjust
9266 * CutAndPaste.C (cutSelection): adjust
9267 (pasteSelection): adjust
9269 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9270 Buffer const * as arg
9272 * ParagraphList.C (erase): new function
9273 * paragraph_funcs.C (mergeParagraph): use it
9274 (mergeParagraph): make it take a Buffer* instead of a
9275 BufferParams* as arg
9277 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9279 (breakParagraphConservative): ditto
9281 * paragraph.h: remove the breakParagraph friend
9283 * paragraph.C (eraseIntern): new function
9284 (setChange): new function
9286 * paragraph_funcs.C (mergeParagraph): make it take a
9287 ParagraphList::iterator instead of a Paragraph *, adjust
9290 * paragraph.h: move an #endif so that the change tracking stuff
9291 also works in the NO_NEXT case.
9293 2003-03-04 Angus Leeming <leeming@lyx.org>
9296 * LyXAction.C: new LFUN_INSET_MODIFY.
9298 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9299 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9301 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9303 * several files: ws changes only
9305 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9306 (TeXEnvironment): ditto
9309 * buffer.C (makeLaTeXFile): adjust
9310 (latexParagraphs): make it take ParagraphList::iterator as args
9312 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9314 * buffer.C (latexParagraphs): adjust
9316 * paragraph.C (TeXOnePar): move function...
9317 (optArgInset): move function...
9318 (TeXEnvironment): move function...
9319 * paragraph_pimpl.C (TeXDeeper): move function...
9320 * paragraph_funcs.C: ...here
9322 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9324 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9326 * buffer.C (readInset): remove compability code for old Figure and
9329 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9331 * buffer.C: ws changes
9334 * BufferView_pimpl.C: ditto
9337 * bufferlist.h: ditto
9341 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9343 * converter.[Ch]: split into itself +
9346 * Makefile.am: += graph.[Ch] + format.[Ch]
9353 * lyxrc.C: added #include "format.h"
9355 2003-02-27 Angus Leeming <leeming@lyx.org>
9357 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9360 * factory.C (createInset): add "label" to the factory.
9362 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9363 string and do no more.
9365 2003-02-27 Angus Leeming <leeming@lyx.org>
9368 * LyXAction.C (init):
9369 * factory.C (createInset):
9370 * BufferView_pimpl.C (dispatch):
9371 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9373 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9375 * lyxfunc.C (dispatch):
9376 * text3.C (dispatch): pass name to params2string.
9378 2003-02-26 Angus Leeming <leeming@lyx.org>
9380 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9382 Rearrange the ~includes. Strip out the unnecessary ones.
9384 * factory.C (createInset): reformat.
9385 create new insets for the various LFUN_XYZ_APPLY lfuns.
9387 2003-02-26 John Levon <levon@movementarian.org>
9390 * lyxrow.C: add isParStart,isParEnd helpers
9392 * paragraph.h: make isInserted/DeletedText take refs
9394 * paragraph_funcs.h:
9395 * paragraph_funcs.C: remove #if 0'd code
9400 * text.C: use lyxrow helpers above.
9401 Move draw and paint routines to RowPainter.
9402 Make several methods use refs not pointers.
9403 Make backgroundColor() const.
9404 Add markChangeInDraw(), isInInset().
9405 Merge changeRegionCase into changeCase.
9406 Make workWidth() shouldn't-happen code into an Assert.
9409 * rowpainter.C: new class for painting a row.
9412 * vspace.C: make inPixels take a ref
9414 2003-02-26 Angus Leeming <leeming@lyx.org>
9416 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9419 2003-02-25 John Levon <levon@movementarian.org>
9421 * ispell.C: give the forked command a more accurate name
9423 2003-02-22 John Levon <levon@movementarian.org>
9426 * toc.C: make TocItem store an id not a Paragraph *
9429 2003-02-21 Angus Leeming <leeming@lyx.org>
9431 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9432 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9433 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9434 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9435 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9436 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9438 * BufferView_pimpl.C (dispatch):
9439 * LyXAction.C (init):
9440 * factory.C (createInset):
9441 * lyxfunc.C (getStatus, dispatch):
9442 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9444 2003-02-21 Angus Leeming <leeming@lyx.org>
9446 * BufferView_pimpl.C (MenuInsertLyXFile):
9447 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9448 * lyxfunc.C (menuNew, open, doImport):
9449 no longer pass a LyXView & to fileDlg.
9451 2003-02-21 Angus Leeming <leeming@lyx.org>
9453 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9454 * LyXAction.C: change, BIBKEY to BIBITEM.
9455 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9456 Change InsetBibKey to InsetBibitem.
9457 Change BIBKEY_CODE to BIBITEM_CODE.
9458 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9459 * factory.C: replace insetbib.h with insetbibitem.h.
9460 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9461 * paragraph.C: replace insetbib.h with insetbibitem.h.
9462 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9463 Change bibkey() to bibitem().
9464 * text.C: remove insetbib.h.
9465 * text2.C: replace insetbib.h with insetbibitem.h.
9466 change bibkey() to bibitem().
9467 * text3.C: remove insetbib.h.
9468 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9470 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9472 * lyxrc.C (output): enclose user email in quotes (in case there are
9475 2003-02-18 John Levon <levon@movementarian.org>
9477 * buffer.h: add std::
9479 2003-02-17 John Levon <levon@movementarian.org>
9485 * pspell.C: reworking. Especially in ispell, a large
9486 number of clean ups and bug fixes.
9488 * lyxfunc.C: fix revert to behave sensibly
9490 2003-02-17 André Pönitz <poenitz@gmx.net>
9493 * commandtags.h: new LFUN_INSERT_BIBKEY
9503 * paragraph_func.C: remove special bibkey handling
9505 2003-02-17 John Levon <levon@movementarian.org>
9507 * text.C (Delete): fix case where delete at the end of
9508 the very first paragraph would not merge the pars
9510 2003-02-17 John Levon <levon@movementarian.org>
9512 * lyxrow.C: fix lastPrintablePos()
9514 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9516 * bufferparams.C (writeLaTeX): add a std:here
9518 * buffer.C: and remove a using directive there
9520 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * buffer.C (makeLaTeXFile): move the code that generates the
9525 * bufferparams.C (writeLaTeX): ... in this new method
9527 * LaTeXFeatures.C (getEncodingSet): make const
9528 (getLanguages): make const
9530 * MenuBackend.C (binding): returns the binding associated to this
9532 (add): sets the status of each item by calling getStatus. Adds
9534 (read): add support for OptSubMenu
9535 (expand): remove extra separator at the end of expanded menu
9537 2003-02-15 John Levon <levon@movementarian.org>
9540 * BufferView_pimpl.C:
9542 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9543 inset code that had no actual effect. Remove unneeded status
9546 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9548 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9551 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9553 * text.C (drawLengthMarker): also draw an arrow marker for
9554 symbolic lengths (medskip...)
9556 2003-02-14 John Levon <levon@movementarian.org>
9559 * tabular.C: better method names
9561 2003-02-14 John Levon <levon@movementarian.org>
9563 * BufferView_pimpl.C:
9568 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9569 it's a more accurate name. Remove some pointless uses.
9571 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9573 * text2.C (LyXText): change order of initilizers to shut off
9576 2003-02-14 John Levon <levon@movementarian.org>
9578 * buffer.C: use ParIterator for getParFromID()
9582 * paragraph_pimpl.h:
9583 * paragraph_pimpl.C: remove unused getParFromID()
9585 2003-02-14 John Levon <levon@movementarian.org>
9587 * buffer.C: remove some very old #if 0'd parse code
9589 2003-02-13 John Levon <levon@movementarian.org>
9593 * text2.C: move hfillExpansion(), numberOfSeparators(),
9594 rowLast(), rowLastPrintable(), numberofHfills(),
9595 numberOfLabelHfills() ...
9598 * lyxrow.C: ... to member functions here.
9603 * text.C: remove LyXText::beginningOfMainBody(), and call
9604 p->beginningOfMainBody() directly. Move the check for
9605 LABEL_MANUAL into the latter.
9612 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9618 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9619 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9621 2003-02-13 John Levon <levon@movementarian.org>
9623 * CutAndPaste.C: remove debug
9625 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9627 * paragraph.C (asString): remove two unused variables
9629 * lyxtextclass.C (readTitleType):
9631 (LyXTextClass): handle new members titletype_ and titlename_
9633 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9635 2003-02-09 John Levon <levon@movementarian.org>
9638 * buffer.C: replace hand-coded list with a map for the dep clean
9640 2003-02-08 John Levon <levon@movementarian.org>
9642 * LaTeX.C: consolidate code into showRunMessage() helper
9644 2003-02-08 John Levon <levon@movementarian.org>
9649 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9650 and pass the size in explicitly
9652 * BufferView_pimpl.h:
9653 * BufferView_pimpl.C:
9655 * BufferView.C: add getCurrentChange()
9657 * BufferView_pimpl.h:
9658 * BufferView_pimpl.C: handle change lfuns
9660 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9661 for changes. Mark pasted paragraphs as new.
9663 * support/lyxtime.h:
9664 * support/lyxtime.C:
9665 * DepTable.C: abstract time_t as lyx::time_type
9668 * LColor.C: add colours for new text, deleted text, changebars
9670 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9671 package use "usenames" option.
9675 * LyXAction.C: add change lfuns
9679 * author.C: author handling
9682 * buffer.C: add a per-buffer author list, with first entry as
9683 current author. Handle new .lyx tokens for change tracking. Output
9684 author list to .lyx file. Output dvipost stuff to .tex preamble.
9685 Bump lyx format to 222.
9688 * bufferlist.C: add setCurrentAuthor() to reset current author details
9692 * bufferparams.C: add param for tracking
9694 * bufferview_funcs.C: output change info in minibuffer
9698 * changes.C: add change-tracking structure
9701 * debug.C: add CHANGES debug flag
9704 * lyxfind.C: add code for finding the next change piece
9707 * lyxrc.C: add user_name and user_email
9710 * lyxrow.C: add a metric for the top of the text line
9713 * text.C: implement accept/rejectChange()
9716 * text.C: paint changebars. Paint new/deleted text in the chosen
9717 colours. Strike through deleted text.
9721 * paragraph_pimpl.h:
9722 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9723 in the current change to the insert functions. Rework erase to
9724 mark text as deleted, adding an eraseIntern() and a range-based
9725 erase(). Implement per-paragraph change lookup and
9728 * paragraph_funcs.C: Fixup paste for change tracking.
9730 * tabular.C: mark added row/columns as new.
9732 * text.C: fix rowLast() to never return -1. Don't allow
9733 spellchecking of deleted text. Track transpose changes. Don't
9734 allow paragraph break or merge where appropriate.
9736 * text2.C: leave cursor at end of selection after a cut.
9738 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9740 * text.C (getLengthMarkerHeight):
9741 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9742 visible on screen too.
9744 2003-02-07 John Levon <levon@movementarian.org>
9746 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9748 2003-02-05 Angus Leeming <leeming@lyx.org>
9750 * lyxserver.C (read_ready): revert my patch of 11 September last year
9751 as it sends PC cpu through the roof. Presumably this means that
9752 the lyxserver will no longer run on an Alpha...
9754 2003-01-30 Angus Leeming <leeming@lyx.org>
9756 * factory.C (createInset): create an InsetCommandParam of type "index"
9757 and use it to 'do the right thing'.
9759 * text2.C (getStringToIndex): ensure that cursor position is always
9760 reset to the reset_cursor position.
9762 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9764 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9767 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9771 * lyxfunc.C: Output messages with identical spelling, punctuation,
9774 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9776 * MenuBackend.C (expandFormats): List only viewable export formats
9779 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9782 * lyxfunc.C (getStatus): Make sure that formats other than
9783 "fax" can also be disabled
9785 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * text3.C (dispatch): put the lfuns that insert insets in 3
9788 groups, and call doInsertInset with appropriate arguments.
9789 (doInsertInset): new function, that creates an inset and inserts
9790 it according to some boolean parameters.
9792 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9794 * buffer.C (readFile): remember to pass on 'par' when calling
9795 readFile recursively.
9797 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9799 * MenuBackend.C (expandFormats): add "..." to import formats.
9801 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9803 * paragraph.C (asString): Remove XForms RTL hacks.
9805 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9806 * buffer.C: fix typo
9808 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9810 * Makefile.am (LIBS): delete var
9811 (lyx_LDADD): add @LIBS@ here instead.
9813 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9815 * Clarify the meaning of "wheel mouse jump"
9817 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9819 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9822 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9824 * importer.C (Loaders): do not preallocate 3 elements in the
9825 vector, since one ends up with 6 elements otherwise
9827 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * DepTable.C (write): write the file name as last element of the
9830 .dep file (because it may contain spaces)
9831 (read): read info in the right order
9833 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9835 * paragraph_pimpl.C (simpleTeXBlanks):
9836 (simpleTeXSpecialChars):
9837 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9839 * tabular.C (latex): add some missing case statements. Reindent.
9841 * MenuBackend.C (expandToc): remove unused variable.
9843 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9852 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9855 2003-01-05 John Levon <levon@movementarian.org>
9858 * BufferView.C: add getEncoding()
9861 * kbsequence.C: do not store last keypress
9864 * lyxfunc.C: store last keypress here instead. Pass encoding
9867 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9869 * lyx_main.C (init): remove annoying error message when following
9870 symbolic links (bug #780)
9872 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9874 * text.C (insertChar):
9875 * lyxrc.C (getDescription): remove extra spaces
9877 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9879 * lyxrc.C (getDescription): remove extra spaces
9881 2002-12-20 John Levon <levon@movementarian.org>
9883 * text3.C: hack fix for page up/down across tall rows
9885 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9887 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9890 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9892 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9893 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9894 thesaurus is not compiled in
9896 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9898 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9900 2002-12-16 Angus Leeming <leeming@lyx.org>
9903 * lyx_main.C (init): remove override_x_deadkeys stuff.
9905 2002-12-12 John Levon <levon@movementarian.org>
9907 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9908 insert. Only remove shift modifier under strict
9911 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9913 * MenuBackend.C (expandToc): fix crash.
9915 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9917 * MenuBackend.C (expandToc): gettext on float names.
9919 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9921 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9922 implement bool empty() [bug 490]
9924 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9926 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9928 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9930 * several files: ws changes
9932 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * text2.C (setCounter): clean up a bit, use boost.format.
9935 (updateCounters): initialize par upon declaration.
9937 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9938 if the layout exists. We do not just store the layout any more.
9939 (SwitchLayoutsBetweenClasses): use boost.format
9941 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9943 * converter.C (convert): if from and to files are the same, use a
9944 temporary files as intermediary
9946 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9951 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9953 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9955 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9957 * tabular.C (asciiPrintCell): use string(size, char) instead of
9960 * sgml.C (openTag): fix order of arguments to string constructor
9963 * lyxfunc.C (dispatch): use boost.format
9965 * lots of files: change "c" -> 'c'
9967 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9969 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9971 2002-11-25 Angus Leeming <leeming@lyx.org>
9973 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9975 * lyx_main.C (init): compile fix.
9977 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9979 * lyx_cb.C (start): boost.formatify
9980 do not include <iostream>
9982 * lengthcommon.C: ws only
9984 * boost-inst.C,BoostFormat.h: add more explict instantations
9986 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9988 * lots of files: handle USE_BOOST_FORMAT
9990 2002-11-21 John Levon <levon@movementarian.org>
9992 * pspell.C: fix compile
9994 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9996 * lyxfunc.C (dispatch): use boost::format
10000 * lyxfont.C (stateText): use boost::format
10002 * lyx_main.C (LyX): use boost::format
10004 (queryUserLyXDir): ditto
10005 (readRcFile): ditto
10007 (typedef boost::function): use the recommened syntax.
10009 * importer.C (Import): use boost::format
10011 * debug.C (showLevel): use boost::format
10013 * converter.C (view): use boost::format
10018 * bufferview_funcs.C (currentState): use boost::format
10020 * bufferlist.C (emergencyWrite): use boost::format
10022 * buffer.C (readLyXformat2): use boost::format
10023 (parseSingleLyXformat2Token): ditto
10025 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10027 * LaTeX.C (run): use boost::format
10029 * Chktex.C (scanLogFile): use boost::format
10031 * BufferView_pimpl.C (savePosition): use boost::format
10032 (restorePosition): ditto
10033 (MenuInsertLyXFile): ditto
10035 * BoostFormat.h: help file for explicit instation.
10037 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
10039 * tabular.C (latex): Support for block alignment in fixed width
10042 2002-11-17 John Levon <levon@movementarian.org>
10044 * BufferView_pimpl.C:
10046 * lyxfunc.C: split filedialog into open/save
10048 2002-11-08 Juergen Vigna <jug@sad.it>
10050 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10051 by my last patch (hopefully).
10053 2002-11-08 John Levon <levon@movementarian.org>
10062 * toc.C: ParConstIterator, and use it (from Lars)
10064 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10066 * lyxtextclass.[Ch]: revise and add doxygen comments
10068 2002-11-07 John Levon <levon@movementarian.org>
10070 * text.C: fix progress value for spellchecker
10072 * toc.C: fix navigate menu for insetwrap inside minipage
10074 * paragraph_funcs.C: added FIXME for suspect code
10076 2002-11-07 John Levon <levon@movementarian.org>
10078 * BufferView_pimpl.C: fix redrawing of insets
10081 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10083 * text2.C (updateCounters): fix bug 668
10085 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10087 * text3.C (dispatch): Do not make the buffer dirty when moving the
10090 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10092 * vc-backend.C: STRCONV
10093 (scanMaster): ditto
10095 * text2.C (setCounter): STRCONV
10097 * paragraph.C (asString): STRCONV
10099 * lyxlength.C (asString): STRCONV
10100 (asLatexString): ditto
10102 * lyxgluelength.C (asString): STRCONV
10103 (asLatexString): ditto
10105 * lyxfunc.C (dispatch): STRCONV
10108 * lyxfont.C (stateText): STRCONV
10110 * importer.C (Import): STRCONV
10112 * counters.C (labelItem): STRCONV
10113 (numberLabel): ditto
10114 (numberLabel): remove unused ostringstream o
10119 * bufferview_funcs.C (currentState): STRCONV
10121 * buffer.C (readFile): STRCONV
10122 (asciiParagraph): ditto
10123 (makeLaTeXFile): ditto
10125 * Spacing.C (writeEnvirBegin): STRCONV
10127 * LaTeXFeatures.C (getLanguages): STRCONV
10128 (getPackages): ditto
10130 (getBabelOptions): ditto
10131 (getTClassPreamble): ditto
10132 (getLyXSGMLEntities): ditto
10133 (getIncludedFiles): ditto
10137 (scanAuxFile): ditto
10140 * LString.h: add the STRCONV macros
10142 * BufferView_pimpl.C (savePosition): STRCONV
10143 (restorePosition): ditto
10144 (MenuInsertLyXFile): ditto
10146 * vc-backend.C (scanMaster): change from submatch[...] to
10149 * funcrequest.C: include config.h
10151 * factory.C: include config.h
10153 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10155 * box.C: include config.h
10157 * LaTeX.C (scanAuxFile): change from submatch[...] to
10161 2002-10-25 Angus Leeming <leeming@lyx.org>
10163 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10165 * ispell.[Ch] (setError): new method.
10166 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10167 Use setError() insetead of goto END.
10169 * lyx_cb.C (AutoSave): move out child process into new class
10172 2002-10-30 John Levon <levon@movementarian.org>
10174 * text3.C: make start appendix undoable
10176 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10178 * lyxlength.C (inPixels): Fix returned value.
10180 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10183 2002-10-24 Angus Leeming <leeming@lyx.org>
10185 * lyxgluelength.h: no need to forward declare BufferParams
10186 or BufferView, so don't.
10188 2002-10-21 John Levon <levon@movementarian.org>
10190 * BufferView.C: menuUndo ->undo, redo
10192 * BufferView.h: document, remove dead, make some methods private
10194 * paragraph_funcs.h:
10195 * paragraph_funcs.C:
10196 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10201 * sgml.C: move sgml open/close tag into sgml.C
10203 * bufferview_funcs.h: unused prototype
10206 * lyxfunc.C: remove unused
10209 * text.C: remove unused
10211 2002-10-21 John Levon <levon@movementarian.org>
10215 * BufferView_pimpl.h:
10216 * BufferView_pimpl.C: fix mouse wheel handling based on
10217 patch from Darren Freeman
10219 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10221 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10223 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10225 * lyxlength.C (inPixels): Fix hanfling of negative length.
10226 Fix LyXLength::MU case.
10228 2002-10-16 John Levon <levon@movementarian.org>
10230 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10232 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10234 * converter.C (view): add support for $$i (file name) and $$p
10235 (file path) for the viewer command. If $$i is not specified, then
10236 it is appended to the command (for compatibility with old syntax)
10238 2002-10-14 Juergen Vigna <jug@sad.it>
10240 * undo_funcs.C (textHandleUndo): alter the order in which the
10241 new undopar is added to the LyXText, as we have to set first
10242 the right prev/next and then add it as otherwise the rebuild of
10243 LyXText is not correct. Also reset the cursor to the right paragraph,
10244 with this IMO we could remove the hack in "redoParagraphs()".
10246 2002-10-09 Angus Leeming <leeming@lyx.org>
10248 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10249 to turn off an optimisation if a new inset is to be inserted.
10251 2002-10-11 André Pönitz <poenitz@gmx.net>
10253 * lyxtext.h: make some functions public to allow access
10254 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10256 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10258 * text3.C (dispatch): when changing layout, avoid an infinite loop
10261 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10263 * lyxrc.C (read): treat a viewer or converter command of "none" as
10266 * MenuBackend.C (expandFormats): for an update, also allow the
10267 formats that are not viewable
10269 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10270 script if it is newer than the lyxrc.defaults in user directory
10272 2002-10-07 André Pönitz <poenitz@gmx.net>
10274 * text.C: Vitaly Lipatov's small i18n fix
10276 2002-09-25 Angus Leeming <leeming@lyx.org>
10278 * ispell.h: doxygen fix.
10280 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10282 * buffer.h (readFile): Add a new argument to the method, to allow
10283 reading of old-format templates.
10285 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10287 * toc.C (getTocList): Get TOC from InsetWrap.
10289 2002-09-16 John Levon <levon@movementarian.org>
10291 * lyxfunc.C: check tabular for cut/copy too
10293 2002-09-12 John Levon <levon@movementarian.org>
10295 * LyXAction.C: tidy
10298 * factory.C: add header
10300 * paragraph_funcs.h:
10301 * paragraph_funcs.C: cleanup
10303 2002-09-11 John Levon <levon@movementarian.org>
10305 * PrinterParams.h: odd/even default to true
10307 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10309 * PrinterParams.h: update printer parameters for new xforms dialog
10311 2002-09-11 Angus Leeming <leeming@lyx.org>
10313 * lyxserver.C (read_ready): re-write to make it more transparent
10314 and to make it work in coherent fashion under Tru64 Unix.
10316 2002-09-11 André Pönitz <poenitz@gmx.net>
10320 * text3.C: implement LFUN_WORDSEL
10322 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10324 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10325 make floatlist_ a boost::shared_ptr<FloatList>
10327 * lyxtextclass.C: include FloatList.h
10328 (LyXTextClass): initialize floatlist_
10329 (TextClassTags): add TC_NOFLOAT
10330 (Read): match "nofloat" to TC_NOFLOAT and use it.
10331 (readFloat): modify call to floatlist_
10335 * FloatList.[Ch] (FloatList): remove commented out float
10337 (erase): new function
10339 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10341 * MenuBackend.C (expandToc): fix crash when there is no document
10344 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10346 * many files: Add insetwrap.
10348 2002-09-09 John Levon <levon@movementarian.org>
10350 * text2.C: remove confusing and awkward depth wraparound
10352 2002-09-09 John Levon <levon@movementarian.org>
10354 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10357 * buffer.C: remove getIncludeonlyList()
10360 * lyxfunc.C: remove headers
10362 2002-09-09 Juergen Vigna <jug@sad.it>
10364 * text.C (getColumnNearX): fix form Michael this is most
10365 probably a cut&paste bug.
10367 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10369 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10371 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10372 references, ws changes.
10374 * text2.C (init): update counters after init
10375 (insertParagraph): no need to set counter on idividual paragraphs.
10376 (setCounter): access the counters object in the textclass object
10377 on in the buffer object.
10378 (updateCounters): ditto
10380 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10381 shared_ptr<Counters> to avoid loading counters.h in all
10383 (LyXTextClass): initialize ctrs_
10384 (TextClassTags): add TC_COUNTER, and ...
10385 (Read): use it here.
10386 (CounterTags): new tags
10387 (readCounter): new function
10388 (counters): new funtion
10389 (defaultLayoutName): return a const reference
10391 * counters.C (Counters): remove contructor
10392 (newCounter): remove a couple of unneeded statements.
10393 (newCounter): simplify a bit.
10394 (numberLabel): some small formatting changes.
10396 * buffer.[Ch]: remove all traces of counters, move the Counters
10397 object to the LyXTextClass.
10399 2002-09-06 Alain Castera <castera@in2p3.fr>
10401 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10402 package to set the horizontal alignment on fixed width columns.
10405 * lyx_sty.h: added tabularnewline macro def.
10407 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10409 2002-09-06 John Levon <levon@movementarian.org>
10411 * LyXAction.C: tooltips for sub/superscript
10413 * MenuBackend.C: a bit more verbose
10415 * lyxfunc.C: tiny clean
10417 * undo_funcs.C: document undo_frozen
10419 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10421 * counters.C (Counters): add missing algorithm counter.
10423 * text2.C (setCounter): lookup the counter with layouts latexname
10424 instead of by section number.
10425 (setCounter): use a hackish way to lookup the correct enum
10427 a float name->type change
10428 reset enum couners with counter name directly instead of depth value.
10430 * counters.C (Counters): remove the push_backs, change to use the
10431 float type not the float name.
10432 (labelItem): remove unused string, float name->type change
10434 * counters.h: don't include vector, loose the enums and sects vectors
10436 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10438 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10439 (Read): add float->TC_FLOAT to textclassTags
10440 (Read): and handle it in the switch
10441 (readFloat): new function
10443 * FloatList.C (FloatList): comment out the hardcoded float
10446 * lyxlayout.h: ws change.
10448 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10450 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10452 2002-09-03 Angus Leeming <leeming@lyx.org>
10454 * BufferView_pimpl.h: qualified name is not allowed in member
10455 declaration: WorkArea & Pimpl::workarea() const;
10457 * factory.C: added using std::endl directive.
10459 * text3.C: added using std::find and std::vector directives.
10461 2002-08-29 André Pönitz <poenitz@gmx.net>
10464 * text2.C: remove unused member number_of_rows
10467 * BufferView2.C: remove file, move contents to...
10468 * BufferView.C: ... here
10470 * BufferView_pimpl.C:
10471 * factory.C: move more inset creation to factory
10473 * vspace.C: avoid direct usage of LyXText, ws changes
10476 don't provide direct access to WorkArea, use two simple
10477 acessors haveSelction() and workHeight() instead
10480 2002-08-29 John Levon <levon@movementarian.org>
10482 * BufferView_pimpl.C (dispatch): do not continue when
10485 2002-08-28 André Pönitz <poenitz@gmx.net>
10487 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10490 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10492 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10494 * buffer.C: increment LYX_FORMAT to 221
10496 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10497 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10499 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10501 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10503 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10505 * factory.C (createInset): use LyXTextClass::floats
10507 * MenuBackend.C (expandFloatListInsert):
10508 (expandFloatInsert):
10511 * text2.C (setCounter):
10513 * LaTeXFeatures.C (useFloat):
10514 (getFloatDefinitions):
10516 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10518 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10519 floatlist_, with accessor floats().
10521 * FloatList.h: remove global FloatList
10523 2002-08-26 André Pönitz <poenitz@gmx.net>
10525 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10529 * BufferView_pimpl.C:
10530 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10532 2002-08-25 John Levon <levon@movementarian.org>
10534 * LyXAction.C: fix margin note description
10536 2002-08-24 John Levon <levon@movementarian.org>
10540 * bufferview_funcs.C:
10542 * undo_funcs.C: cleanups
10544 * lyxfunc.C: disable CUT/COPY when no selection
10546 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10548 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10549 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10551 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10552 Add backward compatibility to "mono", "gray" and "no".
10554 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10556 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10557 (and file_format >= 200).
10559 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10561 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10563 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10565 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10567 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10569 * BufferView_pimpl.C:
10576 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10577 inset and code to make it work with the paragraph code. The inset
10578 can be anywhere in the paragraph, but will only do the expected
10579 thing in LaTeX if the layout file contains the parameter line
10581 (or more generally, a nonzero value) for that layout.
10583 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10585 * paragraph.h: remove the declaration of undefined counters class
10588 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10590 * text2.C (setCounter): fixed enumeration mis-count as reported by
10591 Dr. Richard Hawkins.
10593 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10595 * paragraph_funcs.h: remove some unneeded includes
10597 * text.C (backspace): pasteParagraph now in global scipe
10599 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10600 (pasteSelection): ditto
10602 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10603 * paragraph_funcs.C (pasteParagraph): ... here
10605 2002-08-20 André Pönitz <poenitz@gmx.net>
10607 * commandtags.h: new LFUNs for swapping/copying table row/colums
10610 * lyxfunc.C: support for new lfuns
10612 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10615 * buffer.[Ch]: remove NO_COMPABILITY stuff
10617 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10619 * boost.C (throw_exception): new file, with helper function for
10620 boost compiled without exceptions.
10625 * ParameterStruct.h:
10626 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10628 * bufferlist.C (emergencyWriteAll): use boost bind
10630 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10632 * text.C: include paragraph_funcs.h
10633 (breakParagraph): breakParagraph is now in global scope
10635 * paragraph_funcs.[Ch]: new files
10637 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10640 * buffer.C: include paragraph_funcs.h
10641 (insertStringAsLines): breakParagraph is now in global scope
10643 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10646 * CutAndPaste.C: include paragraph_funcs.h
10647 (cutSelection): breakParagraphConservative is now in global scope
10648 (pasteSelection): ditto
10650 * buffer.h: declare oprator== and operator!= for
10651 Buffer::inset_iterator
10653 * bufferlist.C (emergencyWrite): don't use fmt(...)
10655 * text3.C: add using std::endl
10657 * BufferView.C (moveCursorUpdate): remove default arg
10659 2002-08-20 André Pönitz <poenitz@gmx.net>
10661 * buffer.[Ch]: move inline functions to .C
10664 * BufferView_pimpl.C:
10666 * buffer.[Ch]: use improved inset_iterator
10669 * paragraph.[Ch]: write one paragraph at a time
10671 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10673 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10674 style if style is not specified.
10676 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10678 * text2.C (setCounter): when searching for right label for a
10679 caption, make sure to recurse to parent insets (so that a caption
10680 in a minipage in a figure float works) (bug #568)
10682 2002-08-20 André Pönitz <poenitz@gmx.net>
10684 * text3.C: new file for LyXText::dispatch() and helpers
10686 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10688 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10690 2002-08-19 André Pönitz <poenitz@gmx.net>
10693 * text.C: new LyXText::dispatch()
10695 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10697 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10699 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10701 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10704 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10706 * Makefile.am: use $(variables) instead of @substitutions@
10708 2002-08-15 André Pönitz <poenitz@gmx.net>
10711 * BufferView_pimpl.C: streamlining mathed <-> outer world
10715 * LyXAction.C: remove unused LFUN_MATH
10717 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10719 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10721 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10723 * paragraph.C (Paragraph): reformat a bit
10724 (cutIntoMinibuffer): use builtin InsetList function instad of
10728 * buffer.C: include boost/bind.hpp, add using std::for_each
10729 (writeFileAscii): use ParagraphList iterators
10730 (validate): use for_each for validate traversal of paragraphs
10731 (getBibkeyList): use ParagraphList iterators
10732 (resizeInsets): use for_each to resizeInsetsLyXText for all
10734 (getParFromID): use ParagraphList iterators
10736 * BufferView2.C (lockInset): use paragraph list and iterators
10738 2002-08-14 John Levon <levon@movementarian.org>
10740 * lyxserver.C: remove spurious xforms include
10742 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10744 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10746 2002-08-13 André Pönitz <poenitz@gmx.net>
10749 * lyxfunc.C: further cleaning
10751 2002-08-13 André Pönitz <poenitz@gmx.net>
10753 * funcrequest.h: new constructor
10755 * funcrequest.C: move stuff here from .h
10758 * BufferView_pimpl.C:
10761 * lyxfunc.C: subsequent changes
10763 * lyxfunc.h: new view() member function
10765 * lyxfunc.C: subsequent changes
10767 2002-08-13 Angus Leeming <leeming@lyx.org>
10770 * BufferView_pimpl.C:
10778 changes due to the changed LyXView interface that now returns references
10779 to member variables not pointers.
10781 2002-08-13 Angus Leeming <leeming@lyx.org>
10783 * WordLangTuple (word, lang_code): return references to strings,
10788 * lyxtext.h: forward-declare WordLangTuple.
10793 * text.C: #include "WordLangTuple.h".
10796 * text.C: (selectNextWordToSpellcheck): constify return type.
10798 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10804 * paragraph_pimpl.h:
10807 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10808 suggested by Angus.
10809 Made updateCounter always count from start of buffer, and removed
10810 second argument (par).
10811 Reverted floats number display to '#'. Perhaps I'll try again when the
10812 code base is sanitized a bit.
10814 2002-08-12 Angus Leeming <leeming@lyx.org>
10816 * buffer.[Ch] (getLabelList): constify.
10818 2002-08-07 André Pönitz <poenitz@gmx.net>
10820 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10822 * funcrequest.h: extension to keep mouse (x,y) position
10824 2002-08-12 Juergen Vigna <jug@sad.it>
10826 * BufferView2.C (insertErrors): forbid undo when inserting error
10829 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10831 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10833 * ParagraphList.[Ch]: new files
10835 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10837 * BufferView2.C (lockInset): ParagraphList changes
10840 * bufferlist.C: ditto
10844 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10846 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10847 unused class variable counter_,
10849 * paragraph.[Ch] (getFirstCounter): delete unused function
10851 * counters.C: include LAssert.h
10852 (reset): add a new function with no arg, change other version to
10853 not have def. arg and to not allow empty arg.
10855 * text2.C (setCounter): remove empty arg from call to Counters::reset
10857 2002-08-11 John Levon <levon@movementarian.org>
10859 * Makefile.am: add WordLangTuple.h
10861 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10863 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10864 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10866 * insets/insettext.C: InsetList changes
10868 * graphics/GraphicsSupport.C (operator()): InsetList changes
10870 * toc.C (getTocList): InsetList changes
10872 * paragraph_pimpl.[Ch]: InsetList changes
10874 * paragraph.[Ch]: InsetList changes
10876 * buffer.C (inset_iterator): InsetList changes
10877 (setParagraph): ditto
10878 * buffer.h (inset_iterator): ditto
10879 * iterators.C (operator++): ditto
10880 * iterators.h: ditto
10882 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10884 * InsetList.[Ch]: new files, most InsetList handling moved out of
10887 * BufferView2.C (removeAutoInsets): InsetList changes
10889 (ChangeInsets): ditto
10891 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10893 * paragraph_pimpl.h (empty): new function
10895 * paragraph.[Ch] (empty): new function
10897 * other files: use the new Paragraph::empty function
10899 2002-08-09 John Levon <levon@movementarian.org>
10901 * lyxtext.h: remove unused refresh_height
10903 2002-08-09 John Levon <levon@movementarian.org>
10910 * paragraph.C: move sgml char escaping out of paragraph
10913 * paragraph.C: remove id setter
10917 * paragraph_pimpl.C: remove dead tex_code_break_column
10919 * bufferview_funcs.C: small cleanup
10921 * lyxfunc.C: remove dead proto
10923 * lyxtext.h: make some stuff private. Remove some dead stuff.
10925 * lyxgluelength.C: make as[LyX]String() readable
10927 2002-08-08 John Levon <levon@movementarian.org>
10932 * ToolbarDefaults.C:
10935 * toc.C: lyxaction cleanup
10937 2002-08-08 John Levon <levon@movementarian.org>
10939 * BufferView2.C: small cleanup
10942 * lyxfind.C: move unnecessary header into the .C
10944 2002-08-08 John Levon <levon@movementarian.org>
10946 * funcrequest.h: just tedious nonsense
10949 * lyx_main.C: cleanups
10952 * vspace.C: remove dead header lyx_main.h
10954 2002-08-07 Angus Leeming <leeming@lyx.org>
10957 * paragraph_pimpl.h:
10958 Forward declare class Counters in paragraph.h by moving the ctrs member
10959 variable into Paragraph::Pimpl.
10960 (counters): new method, returning a reference to pimpl_->ctrs.
10962 * text2.C: ensuing changes.
10964 2002-08-07 John Levon <levon@movementarian.org>
10966 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10968 * BufferView_pimpl.C: announce X selection on double/triple
10971 * lyx_main.C: use correct bool in batch dispatch
10973 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10975 2002-08-07 André Pönitz <poenitz@gmx.net>
10977 * funcrequest.h: new class to wrap a kb_action and its argument
10980 * BufferView_pimpl[Ch]:
10984 * lyxrc.C: subsequent changes
10987 2002-08-07 John Levon <levon@movementarian.org>
10989 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10990 document options change.
10992 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10997 * makefile.am: move counters functionality over from
10998 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11000 2002-08-06 John Levon <levon@movementarian.org>
11002 * WordLangTuple.h: new file for word + language code tuple
11013 * BufferView2.C: use WordLangTuple
11016 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11018 2002-08-06 John Levon <levon@movementarian.org>
11020 * lyx_main.C: fix cmdline batch handling
11022 2002-08-06 André Pönitz <poenitz@gmx.net>
11024 * lyxrc.C: set default for show_banner to true
11026 2002-08-06 John Levon <levon@movementarian.org>
11028 * pspell.C: fix a crash, and allow new aspell to work
11030 2002-08-06 John Levon <levon@movementarian.org>
11033 * kbmap.C: small cleanup
11036 * vspace.C: add const
11038 2002-08-05 John Levon <levon@movementarian.org>
11040 * LyXAction.C: back to tabular-insert
11042 2002-08-04 John Levon <levon@movementarian.org>
11045 * BufferView.C: cosmetic change
11047 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11057 * BufferView2.C: purge all "Lyx" not "LyX" strings
11060 * lyxcursor.C: attempt to add some documentation
11065 * ToolbarDefaults.C:
11066 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11067 merge with LFUN_TABULAR_INSERT
11074 * pspell.C: split up i/pspell implementations into separate
11075 files, many cleanups
11077 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11079 * text2.C: some cleanup
11081 * lyxfunc.C: don't check for isp_command == "none" any more, it
11082 didn't make any sense
11084 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11089 * makefile.am: move counters functionality over
11090 from text2.C/paragraph.[Ch] to counters.[Ch], and
11092 2002-08-02 John Levon <levon@movementarian.org>
11094 * buffer.C: s/lyxconvert/lyx2lyx/
11096 2002-08-02 Angus Leeming <leeming@lyx.org>
11098 * lyxlex.C: revert John's change as it breaks reading of the user
11101 2002-08-02 Angus Leeming <leeming@lyx.org>
11103 * importer.C (Import):
11104 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11105 changes due to LyXView::view() now returning a boost::shared_ptr.
11107 2002-08-02 John Levon <levon@movementarian.org>
11109 * lyxlex.C: small cleanup
11111 2002-08-02 John Levon <levon@movementarian.org>
11113 * text2.C (status): small cleanup, no logic change
11115 2002-08-01 John Levon <levon@movementarian.org>
11118 * buffer.C (writeFile): don't output alerts, caller
11122 * lyx_cb.C: from above
11124 * lyxfunc.C: allow to open non-existent files
11126 2002-07-31 John Levon <levon@movementarian.org>
11128 * lyxserver.C: don't let incidental errors get
11131 2002-07-30 John Levon <levon@movementarian.org>
11133 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11135 2002-07-30 John Levon <levon@movementarian.org>
11138 * lyxserver.C: remove I/O callback too
11140 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11142 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11145 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11147 * many files: strip,frontStrip -> trim,ltrim,rtrim
11149 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11151 * PrinterParams.h: remove extern containsOnly, and include
11152 support/lstrings.h instead.
11154 * LaTeX.C (scanAuxFile): modify because of strip changes
11156 * buffer.C (makeLaTeXFile): ditto
11157 * bufferparams.C (writeFile): ditt
11158 * lyxfont.C (stateText): ditto
11159 * lyxserver.C (read_ready): ditto
11160 * vc-backend.C (scanMaster): ditto
11162 * BufferView_pimpl.h: ws changes
11164 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11166 2002-07-26 André Pönitz <poenitz@gmx.net>
11168 * kb_sequence.C: remove unnedred usings
11170 2002-07-26 Juergen Vigna <jug@sad.it>
11172 * lyxfind.C (LyXReplace): we have to check better if the returned
11173 text is not of theLockingInset()->getLockingInset().
11175 2002-07-25 Juergen Vigna <jug@sad.it>
11177 * lyxfind.C (LyXReplace): don't replace if we don't get the
11180 * undo_funcs.C (createUndo): remove debugging code.
11182 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11184 * buffer.C (parseSingleLyXformat2Token): Use default placement
11185 when reading old floats.
11187 * FloatList.C (FloatList): Change the default placement of figure
11188 and tables to "tbp".
11190 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11192 * MenuBackend.C: using std::max
11194 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11196 * MenuBackend.C (expandToc):
11197 (expandToc2): code moved from xforms menu frontend. It is now
11198 generic and TOCs are transparent to menu frontends.
11200 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11202 * toc.C (getTocList): protect against buf=0
11204 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11205 Menu as first parameter. Now, this calls itself recursively to
11206 expand a whole tree (this will be useful for TOC handling)
11207 (expandFloatInsert): remove 'wide' version of floats
11209 * MenuBackend.h (submenuname): returns the name of the submenu.
11210 (submenu): returns the submenu itself, provided it has been
11211 created by MenuBackend::expand
11213 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11215 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11216 insets which have noFontChange == true. (bug #172)
11218 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * BufferView_pimpl.C: add connection objects and use them...
11223 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11225 * MenuBackend.C (expandLastfiles):
11228 (expandFloatListInsert):
11229 (expandFloatInsert):
11230 (expand): split expand in parts
11232 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11234 * lyx_gui.C: use lyx_gui::exit()
11236 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11238 * LyXAction.C: show the failing pseudo action
11240 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11242 * buffer.C (readFile): Run the lyxconvert script in order to read
11245 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11251 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11255 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11257 2002-07-22 Herbert Voss <voss@lyx.org>
11260 * lyxlength.[Ch]: add support for the vertical lengths
11262 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11264 * toc.[Ch]: std:: fixes
11266 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11268 * lyxrc.C: do not include lyx_main.h
11270 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11276 * BufferView2.C: include "lyxlex.h"
11279 * bufferparams.h: do not #include "lyxlex.h"
11281 * lyxtextclasslist.C (Add): remove method
11282 (classlist): renamed to classlist_
11284 * paragraph_pimpl.C:
11288 * bufferview_funcs.C:
11293 * toc.C (getTocList): use BufferParams::getLyXTextClass
11295 * toc.C (getTocList): use InsetFloat::addToToc
11297 * toc.[Ch]: new files, containing helper functions to handle table
11300 * lyxfunc.C (dispatch): no need to remove spaces around command
11302 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11303 first command of the sequence; it is not very clever, but I do not
11304 have a better idea, actually
11306 * LyXAction.C (LookupFunc): make sure to remove space at the
11307 beginning and end of the command
11309 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * MenuBackend.C (getMenubar): new method: return the menubar of
11313 (read): treat differently reading of menu and menubar (in
11314 particular, the menubar has no name now)
11315 (Menu::menubar): remove
11317 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11320 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11322 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11323 a bibitem inset in a RTL paragraph.
11325 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11327 * paragraph_pimpl.C: constify
11329 * BufferView_pimpl.C:
11331 * lyxfunc.C: fix dispatch in a nicer way
11333 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11335 * lyxfunc.C (dispatch):
11336 * BufferView_pimpl.C:
11337 * BufferView_pimpl.h:
11339 * BufferView.h: rename Dispatch() to dispatch()
11341 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11343 * lyxlayout.C (Read): honor DependsOn tag
11345 * lyxlayout.[Ch] (depends_on): new method
11347 * version.C.in: update lyx_docversion
11349 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11351 * paragraph.C (validate): remove from here...
11352 * paragraph_pimpl.C (validate): ... and move here
11353 (isTextAt): make it const
11355 * buffer.C (getLists): ws cleanup
11357 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11359 * language.C (read): Use iso8859-1 encoding in latex_lang
11360 (this prevents LyX from crashing when using iso10646-1 encoding).
11362 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11364 * text2.C (toggleInset): if cursor is inside an inset, close the
11365 inset and leave cursor _after_ it
11367 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11369 * lyxfunc.C: move minibuffer completion handling out of here
11371 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11373 * BufferView_pimpl.C:
11374 * LaTeX.C: fix dispatch calls
11376 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11378 * text.C (drawChars): Fix Arabic text rendering.
11380 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11384 * lyxfunc.C: remove message-push/pop
11388 * lyxfunc.C: rationalise some code by removing verboseDispatch
11389 in favour of a bool argument to dispatch()
11391 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11393 * lyx_main.C (init): make sure to read symlinks as absolute paths
11395 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11398 * lyxfunc.C: no need for commandshortcut to be a member
11400 2002-07-15 André Pönitz <poenitz@gmx.net>
11402 * converter.C: add support for $$s (scripts from lib/scripts dir)
11403 * lyx_main.C: white space
11405 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11409 * lyxrc.C: remove second exit confirmation
11411 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11416 * BufferView_pimpl.h:
11417 * BufferView_pimpl.C:
11418 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11420 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11422 * MenuBackend.C (expand): add numeric shortcuts to document menu
11424 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11426 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11428 * lyxfont.C (setLyXFamily):
11435 * buffer.C (asciiParagraph): use ascii_lowercase
11437 2002-07-15 Mike Fabian <mfabian@suse.de>
11439 * lyxlex_pimpl.C (search_kw):
11440 * lyxlex.C (getLongString):
11441 * converter.h (operator<):
11442 * converter.C (operator<):
11443 * buffer.C (parseSingleLyXformat2Token):
11445 * ToolbarDefaults.C (read):
11446 * MenuBackend.C (checkShortcuts):
11448 * LColor.C (getFromGUIName):
11449 (getFromLyXName): use the compare_ascii_no_case instead of
11450 compare_no_case, because in turkish, 'i' is not the lowercase
11451 version of 'I', and thus turkish locale breaks parsing of tags.
11453 2002-07-16 Angus Leeming <leeming@lyx.org>
11455 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11456 now takes a Buffer const & argument.
11458 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11460 * BufferView.C (resize): check there's a buffer to resize
11462 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11464 * lyxfunc.C: remove dead code
11467 * lyxserver.C: use lyx_guii::set_read_callback
11469 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11471 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11472 an inset in a RTL paragraph.
11474 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11476 * lyxfunc.C: repaint after a font size update
11478 2002-07-15 André Pönitz <poenitz@gmx.net>
11480 * lyxlength.C: inBP should be able to return negative values
11482 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11484 * lyxfunc.C: use lyx_gui::update_fonts()
11486 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11488 * lyxfunc.C: use lyx_gui::update_color()
11490 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11496 * lyxrc.C: remove file->new asks for name option, and let
11497 buffer-new take an argument
11499 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11501 * BufferView_pimpl.C: remove unneeded extra repaint()
11503 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11505 * LyXAction.C: allow command-sequence with NoBuffer
11507 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11509 2002-07-10 Angus Leeming <leeming@lyx.org>
11511 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11513 2002-07-09 Angus Leeming <leeming@lyx.org>
11515 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11517 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11519 * lengthcommon.h: whitespace
11521 * lyxfunc.C: update scrollbar after goto paragraph
11523 * lyxtext.h: factor out page break drawing, and fix it so
11524 page break/added space paints as selected nicely
11526 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11528 * BufferView_pimpl.C: add FIXMEs, clean up a little
11530 2002-07-09 André Pönitz <poenitz@gmx.net>
11532 * lyxfont.[Ch]: support for wasy symbols
11534 2002-07-08 André Pönitz <poenitz@gmx.net>
11536 * BufferView_pimpl.C: apply John's patch for #93.
11538 2002-07-05 Angus Leeming <leeming@lyx.org>
11540 * BufferView_pimpl.C (buffer): generate previews if desired.
11542 * LColor.h: add "preview" to the color enum.
11544 * LColor.C (LColor): add a corresponding entry to the items array.
11546 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11549 2002-07-05 Angus Leeming <leeming@lyx.org>
11551 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11552 The body of the code is now in the method that is passed an ostream &
11553 rather than a file name.
11554 Pass an additional only_preamble parameter, useful for the forthcoming
11557 2002-07-03 André Pönitz <poenitz@gmx.net>
11559 * lyxfunc.C: simplify getStatus() a bit for math stuff
11561 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11565 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11567 * text.C (changeRegionCase): do not change case of all the
11568 document when region ends at paragraph end (bug #461)
11570 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11572 * paragraph.C (startTeXParParams):
11573 (endTeXParParams): add \protect when necessary
11575 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * BufferView_pimpl.C (workAreaExpose): remove warning
11579 2002-06-27 Angus Leeming <leeming@lyx.org>
11581 * Makefile.am: add lyxlayout_ptr_fwd.h.
11583 2002-06-26 André Pönitz <poenitz@gmx.net>
11585 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11587 2002-06-25 Angus Leeming <leeming@lyx.org>
11589 * lyxfunc.C (dispatch): Comment out the call to
11590 grfx::GCache::changeDisplay. The method no longer exists now that the
11591 pixmap generation part of the graphics loader has been moved into
11594 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * text2.C: layout as layout
11598 * text.C: layout as layout
11600 * tabular.C (OldFormatRead): layout as layout
11602 * paragraph_pimpl.C (TeXDeeper): layout as layout
11603 (realizeFont): layout as layout
11605 * paragraph.C (writeFile): layout as layout
11606 (validate): layout as layout
11607 (getFont): layout as layout
11608 (getLabelFont): layout as layout
11609 (getLayoutFont): layout as layout
11610 (breakParagraph): layout as layout
11611 (stripLeadingSpaces): layout as layout
11612 (getEndLabel): layout as layout
11613 (getMaxDepthAfter): layout as layout
11614 (applyLayout): layout as layout
11615 (TeXOnePar): layout as layout
11616 (simpleTeXOnePar): layout as layout
11617 (TeXEnvironment): layout as layout
11618 (layout): layout as layout
11619 (layout): layout as layout
11621 * lyxtextclass.C (compare_name): new functor to work with
11622 shared_ptr, layout as layout
11623 (Read): layout as layout
11624 (hasLayout): layout as layout
11625 (operator): layout as layout
11626 (delete_layout): layout as layout
11627 (defaultLayout): layout as layout
11629 * lyxlayout_ptr_fwd.h: new file
11631 * lyxlayout.C (Read): layout as layout
11633 * lyx_cb.C (MenuInsertLabel): layout as layout
11635 * bufferlist.C (newFile): layout as layout
11637 * buffer.C (readLyXformat2): layout as layout
11638 (parseSingleLyXformat2Token): layout as layout
11639 (insertStringAsLines): layout as layout
11640 (asciiParagraph): layout as layout
11641 (latexParagraphs): layout as layout
11642 (makeLinuxDocFile): layout as layout
11643 (simpleLinuxDocOnePar): layout as layout
11644 (makeDocBookFile): layout as layout
11645 (simpleDocBookOnePar): layout as layout
11646 (getLists): layout as layout
11648 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11650 * CutAndPaste.C (cutSelection): layout as layout
11651 (pasteSelection): layout as layout
11652 (SwitchLayoutsBetweenClasses): layout as layout
11654 * BufferView_pimpl.C (Dispatch): layout as layout
11655 (smartQuote): layout as layout
11657 * BufferView2.C (unlockInset): layout as layout
11659 2002-06-24 André Pönitz <poenitz@gmx.net>
11661 * lyxfunc.C: fix #487
11663 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11667 * lyxfunc.C: remove display_shortcuts, show_banner
11669 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11671 * Buffer_pimpl.C: oops, update on resize
11673 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView.C: use repaint()
11682 * BufferView_pimpl.h:
11683 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11684 as it's a clearer description. Remove superfluous
11687 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11689 * text.C: fix bug 488. Not ideal, but getting
11690 getWord() to work properly for the insets that
11691 matter is more difficult ...
11693 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11695 * BufferView_pimpl.C:
11698 * lyxfunc.C: remove the six million index lyxfuncs to just
11699 one, and DTRT (bug 458)
11701 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11705 * BufferView_pimpl.h:
11706 * BufferView_pimpl.C: clean up resize() stuff,
11707 and unnecessary updateScreen()s
11709 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11713 * BufferView_pimpl.h:
11714 * BufferView_pimpl.C:
11717 * minibuffer.C: remove focus management of workarea,
11718 not needed. Use screen's greyOut()
11720 2002-06-17 Herbert Voss <voss@lyx.org>
11722 * converter.C: (convert) do not post a message, when converting
11723 fails, let the calling function decide what to do in this case
11725 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11727 * lyxfunc.C: tidy up a little
11729 2002-06-16 <alstrup@diku.dk>
11731 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11732 Got rid of FORMS_H_LOCATION include. Now we are
11735 2002-06-15 LyX Development team <lyx@rilke>
11737 * buffer.[Ch] (sgmlOpenTag):
11738 (sgmlCloseTag): Added support for avoiding pernicious mixed
11739 content. Return number of lines written.
11741 (makeLinuxDocFile):
11742 (makeDocBookFile): Fixed calls to sgml*Tag.
11743 Simple white space clean.
11745 (simpleDocBookOnePar): Simple white space clean.
11747 * tabular.[Ch] (docBook): Renamed to docbook and got another
11748 argument to related with the pernicious mixed content.
11750 (docbookRow): Fixed calls for docbook inset method.
11752 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11754 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11755 so it's X11 independent.
11759 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11761 2002-06-15 Lyx Development team <lyx@electronia>
11763 * intl.h: Renamed getTrans to getTransManager.
11765 2002-06-14 Angus Leeming <leeming@lyx.org>
11767 * Makefile.am: nuke forgotten stl_string_fwd.h.
11769 2002-06-12 Angus Leeming <leeming@lyx.org>
11771 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11773 2002-06-13 Angus Leeming <leeming@lyx.org>
11776 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11778 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11780 * kbmap.C (getiso): add support for cyrillic and greek
11782 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11786 * BufferView_pimpl.h:
11787 * BufferView_pimpl.C: move bogus scrolling logic
11790 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11793 * BufferView_pimpl.C: view->resize() change
11795 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11797 * BufferView_pimpl.C: topCursorVisible
11800 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11804 * lyx_gui.C: move to frontends/
11808 * lyx_main.C: changes from above
11810 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11817 * lyx_main.C: minor tidy
11819 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11821 * BufferView_pimpl.h:
11822 * BufferView_pimpl.C:
11824 * BufferView.C: make painter() const,
11827 * BufferView2.C: use screen() accessor
11830 * lyx_main.C: some minor cleanup
11832 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView_pimpl.h:
11835 * BufferView_pimpl.C: remove enter/leaveView,
11838 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11843 * BufferView_pimpl.h:
11844 * BufferView_pimpl.C: only construct screen once,
11847 * lyxrc.C: remove pointless comment
11849 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11852 * BufferView.C: remove active() and belowMouse()
11854 * BufferView_pimpl.h:
11855 * BufferView_pimpl.C: use workarea() not workarea_,
11856 and make it use a scoped_ptr instead
11858 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11860 * lyx_gui.C: add debug message on BadWindow
11862 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11864 * sp_spell.C: fdopen is not part of the C++ standard.
11866 * paragraph.C (InsetIterator): use >= instead of ==
11868 2002-06-07 Angus Leeming <leeming@lyx.org>
11870 Fixes needed to compile with Compaq cxx 6.5.
11871 * BufferView_pimpl.C:
11878 * lyxtextclasslist.C:
11883 all c-library variables have been moved into namespace std. Wrap
11884 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11889 Add a using std::abs declaration.
11891 * kbmap.h (modifier_pair):
11892 * paragraph.h (InsetTable, InsetList):
11893 * lyxfont.h (FontBits):
11894 type definition made public.
11896 * bufferlist.C (emergencyWriteAll): the compiler complains that
11897 there is more than one possible lyx::class_fun template to choose from.
11898 I re-named the void specialisation as lyx::void_class_fun.
11900 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11902 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11903 the compiler is is unable to find tostr in write_attribute.
11905 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11907 * buffer.C (sgmlError): hide #warning
11909 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * xtl/*: get rid of xtl, which is not in use anyway
11913 * LyXAction.C (init):
11914 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11915 were unimplemented xtl experimentation
11917 2002-06-04 André Pönitz <poenitz@gmx.net>
11919 * lyxfunc.C: disable array operation on simple formulae
11921 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11923 * converter.C: constify a bit
11925 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11927 * lyx_gui.C: check xforms version correctly
11929 2002-04-30 Herbert Voss <voss@lyx.org>
11931 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11934 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11936 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11937 attempt to register it with a VCS)
11939 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11941 * lyx_main.C (init): honor variables LYX_DIR_13x and
11944 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11948 * lyx_main.C: fix a crash on bad command line,
11949 and give a useful exit status on error
11951 * lyxfunc.C (doImport): allow -i lyx to work
11953 2002-03-30 André Pönitz <poenitz@gmx.net>
11955 * lyxfunc.C: mathed font changes
11957 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11972 * trans_mgr.h: srcdocs, and some minor cleanups
11974 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11976 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11977 call getFont all the time)
11979 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * switch from SigC signals to boost::signals
11983 2002-05-29 André Pönitz <poenitz@gmx.net>
11985 * paragraph_pimpl.C (getChar): don't call size() too often...
11987 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * paragraph_pimpl.C (insertChar): do not try to update tables when
11990 appending (pos == size())
11992 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11993 in order to reduce drastically the number of comparisons needed to
11994 parse a large document
11996 2002-05-29 André Pönitz <poenitz@gmx.net>
12002 * textclasslist.[Ch]:
12003 * sp_ispell.h: whitespace change
12005 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12008 lyxaction directly now.
12010 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
12014 * lyxvc.C: remove unused headers
12016 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12023 * undo_funcs.C: some cleanups. Use shared_ptr
12024 and a template for the undo stacks.
12026 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.h:
12029 * BufferView_pimpl.C:
12036 * text2.C: use key_state/mouse_state
12038 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12040 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12043 * chset.C: change include order
12044 (loadFile): use boost regex and get rid of LRegex and LSubstring
12046 * Makefile.am (BOOST_LIBS): new variable
12047 (lyx_LDADD): use it
12049 * LaTeX.C: change include order.
12050 (scanAuxFile): use boost regex and get rid of LRegex and
12054 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12059 * FontInfo.C: moved to frontends/xforms/
12062 * FontLoader.C: moved into frontends for GUIIzation
12067 * lyxfunc.C: changes from above
12069 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12071 * LColor.C: remove spurious X include
12073 * BufferView_pimpl.C:
12078 * text2.C: move font metrics to frontends/
12080 2002-05-24 Juergen Vigna <jug@sad.it>
12082 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12083 setting the undo_cursor.
12085 * ParagraphParameters.h: include local includes first.
12087 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12089 * BufferView_pimpl.C:
12090 * BufferView_pimpl.h:
12094 * screen.C: move WorkArea into frontends/
12100 * BufferView2.C: move LyXScreen into frontends/
12104 * lyx_gui.C: move lyxlookup into frontends/xforms/
12106 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12109 * BufferView_pimpl.C:
12119 * bufferview_funcs.C:
12132 * vc-backend.C: move LyX/XFormsView into frontends/
12134 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12146 * text2.C: move Painter to frontends/
12148 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12150 * buffer.C: comment out some some code that depend upon lyx_format
12153 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12154 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12156 * buffer.h (NO_COMPABILITY): turn off compability
12158 * ColorHandler.C: include scoped_array.hpp
12160 * font.C: Use more specific smart_ptr header.
12163 * ShareContainer.h: ditto
12164 * lyx_main.h: ditto
12166 * FontInfo.h: ditto
12167 * BufferView_pimpl.h: ditto
12168 * ColorHandler.h: ditto
12170 * kbmap.C (defkey): change call to shared_ptr::reset
12172 2002-05-21 Juergen Vigna <jug@sad.it>
12174 * buffer.C (insertErtContents): fix to insert ert asis if it is
12175 non empty. Skip it completely if it contains only whitespaces.
12177 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12179 * BufferView_pimpl.C:
12180 * BufferView2.C: clear selection on paste (bug 393)
12182 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12184 * DepTable.C: include ctime
12186 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12188 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12190 2002-05-14 Juergen Vigna <jug@sad.it>
12192 * text.C (breakParagraph): fixed function to honor the keepempty
12193 layout in the right maner and also to permit the right breaking
12194 algorithm on empty or non empyt keepempty paragraphs.
12196 * paragraph.C (breakParagraph): we have to check also if the par
12197 is really empty (!size()) for isempty otherwise we do the wrong
12200 2002-05-10 Juergen Vigna <jug@sad.it>
12202 * buffer.[Ch] : The following are only changes to the ert
12203 compatibility read reading old LaTeX layout and font stuff and
12204 convert it to ERTInsets.
12206 * buffer.h: added isErtInset().
12208 * buffer.C (struct ErtComp): add a fromlayout bool to check
12209 if we're inside a LaTeX layout.
12210 (isErtInset): new helper function.
12211 (insertErtContents): look for other ert insets before this one
12212 and insert the contents there, so that we don't have subsequent
12213 ERT insets with nothing between them. This way we create only one
12214 inset with multiple paragraphs. Also check if we don't insert only
12215 spaces ' ' as they are ignored anyway afterwards in the .tex file
12216 so if we have only spaces we will ignore this latex part in the
12218 (parseSingleLyXformat2Token \\layout): better compatibility when
12219 reading layout-latex stuff.
12220 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12222 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12223 stuff after reading the inset only get the information back from
12226 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12228 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12230 * LaTeXFeatures.C (getBabelOptions): New method.
12232 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12234 * BufferView_pimpl.C (Dispatch): work around missing argument for
12237 2002-05-08 Juergen Vigna <jug@sad.it>
12239 * text.C (leftMargin): handle paragraph leftindent.
12241 * paragraph.C (writeFile): write the new \\leftindent tag.
12242 (validate): handle leftindent code.
12243 (TeXEnvironment): handle paragraphleftindent code again.
12245 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12247 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12248 for paragrap_extra indent code and new token \\leftindent.
12249 (latexParagraphs): handle the leftindent as environment.
12251 * ParameterStruct.h: added leftindent support.
12253 * ParagraphParameters.C (leftIndent): added support functions for
12254 the paragraph left indent.
12256 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12259 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12261 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12264 * text.C (computeBidiTables): No bidi in insetERT.
12266 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12269 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12271 * version.C.in: pre 5
12273 2002-05-02 José Matos <jamatos@fep.up.pt>
12274 * buffer.C (makeDocBookFile): white space changes, add newline to
12276 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12278 * tabular.C (docBook): fix typo.
12280 2002-05-03 Juergen Vigna <jug@sad.it>
12282 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12283 change in LyXText as we can not be sure it was not freed.
12284 (drawOneRow): remove unused code.
12286 * text.C (drawInset): redo the calculation of the need_break_row as
12287 it could have a row which was already freed.
12288 (draw): look at the return value of drawInset and return false if
12289 it also returned false.
12290 (paintRowText): look at the return value of draw and return false if
12291 it also returned false.
12293 * lyxtext.h: added bool return type to drawInset() and draw() so that
12294 if we have a change in the row so that the rowbreak has to be redone
12295 we abort drawing as it will be called again.
12297 2002-05-02 Juergen Vigna <jug@sad.it>
12299 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12300 a change in the maintext also if we're inside an inset.
12301 (Dispatch): set the cursor again after a break line and after the
12302 screen has been updated as it could be we're in a different row.
12304 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12305 to set the cursor behind the pargraph with > size().
12306 (setCursor): check also for the same paragraph when checking where
12307 to put the cursor if we have a NFR inset.
12309 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12310 parts of layout read further up as it still was in the wrong
12313 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12315 * screen.C (drawFromTo): change sine fullRebreak always return
12318 * buffer.C (parseSingleLyXformat2Token): reindent some
12320 * BufferView_pimpl.C (update): change since fullRebreak always
12322 (Dispatch): git rid of the last hardcoded "Standard"s.
12324 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12326 * text2.[Ch] (fullRebreak): make it return void now that we always
12329 2002-04-30 Juergen Vigna <jug@sad.it>
12331 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12332 ert compatibility check for "latex" layout.
12334 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12336 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12337 minipages: use col% instead of p%, and also use the current font.
12338 (makeLaTeXFile): Fix use babel condition.
12339 (parseSingleLyXformat2Token): Correct font when reading old floats.
12341 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12343 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12344 inserting list of floats.
12346 2002-04-25 Herbert Voss <voss@lyx.org>
12348 * MenuBackend.C (expand): don't add the graphics extensions to the
12351 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12354 non-existing layout, do not complain if it was the default layout
12355 of the original class (bug #342)
12357 2002-04-24 Juergen Vigna <jug@sad.it>
12359 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12360 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12362 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12364 * buffer.C (getBibkeyList): If using \bibliography, return the
12365 option field with the reference itself. Enables us to provide natbib
12366 support when using \bibliography.
12368 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12370 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12372 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12373 natbib is provided by the LaTeX class.
12375 2002-04-23 Juergen Vigna <jug@sad.it>
12377 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12380 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12382 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12384 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12386 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12387 ensuremath around textordmasculine, textordfeminine and
12390 2002-04-19 Juergen Vigna <jug@sad.it>
12392 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12393 reinitializing the buffer otherwise row-dimensions may be wrong.
12394 (update): reset also the selection cursors if they do exits otherwise
12395 their x/y positions may be wrong.
12397 * text2.C (cursorDown): don't enter the inset if we came from a row
12398 above and are one row over the inset.
12400 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12401 really leaving an inset.
12403 2002-04-18 Juergen Vigna <jug@sad.it>
12405 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12406 of the selected paragraph does not have the selected layout also if
12409 * text2.C (setLayout): fixed bug which did not change last selected
12412 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12413 changed the read and substituted \\end_float with \\end_inset!
12415 * BufferView_pimpl.C (cursorPrevious):
12416 (cursorNext): fixed to make it work with rows heigher than the work
12417 area without moving the cursor only the draw of the row.
12418 (workAreaMotionNotify): fix jumping over high rows.
12420 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12422 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12425 2002-04-16 Juergen Vigna <jug@sad.it>
12427 * text2.C (setCursor): set also the irow().
12428 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12430 (cursorDown): support for locking an inset if the x_fix value goes
12431 inside it. That way I can transverse insets too with cursor up/down.
12433 * lyxrow.h: added irow helper function same as other (i) functions.
12435 * BufferView_pimpl.C (cursorPrevious):
12436 (cursorNext): fixed for insets!
12438 2002-04-15 Juergen Vigna <jug@sad.it>
12440 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12441 position otherwise it is wrong in some cases.
12443 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12444 inside the inset before the call.
12446 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12448 * buffer.[Ch] (getBibkeyList): make it const.
12450 2002-04-12 Juergen Vigna <jug@sad.it>
12452 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12454 * text2.C (getCursorX): new helper function
12455 (setCursor): compute also ix_
12456 (setCursorFromCoordinates): set also ix.
12458 * lyxcursor.h: added ix_ and helper functions.
12460 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12462 * buffer.C (insertStringAsLines): dont break paragraph if the this
12463 paragraph is inside an inset which does not permit it!
12465 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12466 also with no chars on this paragraph.
12467 (paintRowText): only paint stuff if it's inside the workarea!
12469 * paragraph.C (breakParagraph): honor keepempty flag and break the
12470 paragraph always below not above.
12472 * BufferView2.C (unlockInset): update the paragraph layout on inset
12473 unlock as we changed paragraph in such a case.
12475 * lyxfind.C (LyXFind): clear the former selection if not found!
12477 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12478 again called in insertChar().
12480 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12481 an inset which uses the whole row!
12482 (rightMargin): ditto.
12483 (insertChar): force a rebreak if we inserted an inset!
12485 2002-03-28 Herbert Voss <voss@lyx.org>
12487 * lyxlength.[Ch]: add inBP() to get the right PS-point
12488 units (BigPoint). With inPixels we have rounding errors
12490 2002-04-11 Juergen Vigna <jug@sad.it>
12492 * text2.C (setCursorFromCoordinates): set iy to the right value.
12493 (setCursor): add check if row->previous exists!
12495 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12496 an old float_type as this was the case in the old code!
12498 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12500 * BufferView2.C (showLockedInsetCursor): use iy
12501 (fitLockedInsetCursor): ditto
12503 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12504 locked insets as there we have the right value now.
12506 * lyxcursor.C: added iy_ variable and iy functions to set to the
12507 baseline of cursor-y of the locked inset.
12509 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12510 (setCursor): fixed for insets which need a full row.
12512 * text.C (rowLastPrintable): don't ignore the last space when before
12513 an inset which needs a full row.
12514 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12515 as last character of a row when before a inset which needs a full row.
12517 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * version.C.in: update date
12521 * text2.C (fullRebreak): try to always return true and see what
12524 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12526 * MenuBackend.C (expand): use Floating::listName
12528 * FloatList.C (FloatList): add listName argument to the built-in
12531 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12532 text associated with the float.
12534 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12536 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12538 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12540 * ShareContainer.h: add a couple of missing typenames.
12542 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12544 * lyxrc.C (getDescription): use _() correctly rather than N_().
12546 2002-03-28 Herbert Voss <voss@lyx.org>
12548 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12549 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12551 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12554 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12556 2002-03-29 Juergen Vigna <jug@sad.it>
12558 * lyxfunc.C (dispatch): add a missing fitCursor call.
12560 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12561 it was scrolled by a cursor move, so return the bool status.
12563 * BufferView.C (fitCursor): return the bool flag also to the outside
12564 world as this is needed.
12566 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12568 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12569 call the edit() as it is not needed (and wrong) IMO.
12570 (workAreaButtonPress): set the screen_first variable before evt.
12571 unlock the inset as this may change screen_first and then we have
12572 a wrong y position for the click!
12574 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12576 * MenuBackend.C (expand): another translation that I missed
12578 2002-03-28 Juergen Vigna <jug@sad.it>
12580 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12582 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12584 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12586 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12588 * MenuBackend.C (expand): fix export/view/update when there is no
12591 2002-03-27 Herbert Voss <voss@lyx.org>
12593 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12596 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * bufferview_funcs.C (currentState): only show paragraph number
12599 for is DEVEL_VERSION is set.
12601 * lyxfunc.C (dispatch): put warning in INFO channel
12603 * MenuBackend.C (expand): translate the name of floats
12605 * FloatList.C (FloatList): mark the float names for translation
12607 * converter.C (convert): use LibScriptSearch
12609 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * MenuBackend.C (defaults): fix default menu (we might as well get
12614 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12619 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12621 * lyxvc.C: reorder includes.
12623 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12625 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12628 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12630 * CutAndPaste.C: change layouts earlier on paste
12631 to avoid crashing when calling getFont()
12633 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12635 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12638 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * WorkArea.C: remove 'Pending' debug message.
12642 * most files: ws cleanup
12644 * buffer.[Ch]: ws changes
12646 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12648 2002-03-21 Juergen Vigna <jug@sad.it>
12650 * tabular.C (SetMultiColumn): collapse also the contents of the
12651 cells and set the last border right. Added a Buffer const * param.
12653 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12655 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12658 2002-03-19 Juergen Vigna <jug@sad.it>
12660 * text2.C (clearSelection): reset also xsel_cache.
12662 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12663 where it needs to be called (John tells us to do so too :)
12664 (selectionLost): reset sel_cache.
12666 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12668 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * text2.C (setCursorIntern): put debuging code in INSETS channel
12672 2002-03-19 André Pönitz <poenitz@gmx.net>
12674 * lyxfunc.C: tiny whitespace change
12676 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12678 * ToolbarDefaults.C (init):
12679 * LyXAction.C (init):
12681 * BufferView_pimpl.C (Dispatch):
12682 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12684 2002-03-19 Allan Rae <rae@lyx.org>
12686 * exporter.C (Export): removeAutoInsets before doing anything else.
12687 While I've just introduced a dependency on BufferView this really is
12688 the best place to clean the buffer otherwise you need to cleanup in
12689 a dozen places before calling export or cleanup in a dozen functions
12692 * converter.C (runLaTeX):
12693 (scanLog): Better handling of removeAutoInsets and screen updates.
12695 * lyxfunc.C (dispatch): small whitespace changes
12697 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12699 * WorkArea.C (C_WorkAreaEvent): return a value.
12700 (event_cb): return 1 if we handled the event, 0 otherwise.
12702 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12704 2002-03-18 Juergen Vigna <jug@sad.it>
12706 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12707 (GetAdditionalWidth): ditto.
12708 (RightLine): ditto.
12711 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12712 inset if we're there actually (probably not used right now but this
12713 is the direction to go for unifying code).
12714 (paste): disable code to clear the selection.
12716 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12717 inside an InsetText and move the check further up as it is in the
12720 * text2.C (pasteSelection): set a selection over the pasted text.
12722 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12724 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12725 and libgraphics to build on Cygwin.
12727 2002-03-15 Juergen Vigna <jug@sad.it>
12729 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12730 inserting an Inset into the paragraph. I know this is not the best
12731 fix but we already use current_view in CutAndPaste so we will remove
12732 all of it's using at the same time.
12734 * buffer.C (sgmlError): deactivated function till it is rewritten in
12735 the right mode, now it can create problems.
12737 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12738 before accessing it.
12740 2002-03-14 Juergen Vigna <jug@sad.it>
12742 * undo_funcs.C (textHandleUndo): do the right thing when updating
12743 the inset after the undo/redo.
12745 * text2.C (setCursor): just some testcode for #44 not ready yet.
12747 * undo_funcs.C (textHandleUndo): set the next() and previous()
12748 pointers of the paragraph to 0 before deleting otherwise we have
12749 problems with the Paragraph::[destructor].
12751 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12752 on a paragraph insertion.
12754 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12756 * buffer.C (asciiParagraph): use += operator for char append to
12759 * paragraph.C (getFontSettings): compare >= not just >
12760 (highestFontInRange): ditto
12763 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12765 * paragraph.C: change several algorithm to be more appripriate for
12766 the problem domain. This is lookip in FontList and in the InsetList.
12768 2002-03-13 André Pönitz <poenitz@gmx.net>
12771 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12773 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12778 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12780 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * Painter.C (display): anon helper function, adjust code for this
12784 (pixmap): remove function.
12786 * Painter.h: remove private display variable.
12788 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12790 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12792 * WorkArea.[Ch]: remove figinset_canvas cruft.
12794 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12796 * lyxtextclass.C (operator): add one item cache optimization.
12798 * bufferlist.h: doxy changes
12800 * bufferlist.C: ws changes
12802 * DepTable.[Ch] (ext_exist): place const in the right spot.
12804 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12806 (workAreaExpose): call resizeInsets when the with BufferView changes.
12807 (Dispatch): adjust for protectedBlank removal
12808 (specialChar): call updateInset if the insert went ok.
12810 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12811 specialChar instead.
12813 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12815 * BufferView.h: doxy change
12817 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12819 * lyxtextclass.C (operator[]): remove non-const version
12820 (defaultLayout): remove non-const version
12822 2002-03-12 Juergen Vigna <jug@sad.it>
12824 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12825 did resize the LyXText too.
12827 * buffer.C (readLyXformat2): set layout information on newly allocated
12830 * tabular.C (OldFormatRead): set layout information on the paragraph.
12832 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12834 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12836 2002-03-11 Juergen Vigna <jug@sad.it>
12838 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12840 (resizeCurrentBuffer): force also the insets to resize themselfes.
12841 (moveCursorUpdate): fixed up for InsetText.
12843 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12846 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12847 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12848 value of Dialogs::tooltipsEnabled().
12849 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12851 2002-03-08 Juergen Vigna <jug@sad.it>
12853 * BufferView_pimpl.C (updateInset): update inset inside inset also
12854 if it isn't inside theLockingInset().
12856 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12858 * buffer.C (asciiParagraph): redo some of the word and line length
12860 (getLists): look for Caption instead of caption.
12862 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12864 * buffer.C (Buffer): initialize niceFile to true
12866 (makeLinuxDocFile):
12867 (makeDocBookFile): make sure niceFile is true on exit
12869 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12871 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12873 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12875 * LyXSendto.C: remove.
12876 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12877 * lyx_gui.C: remove now-redundant comment.
12878 * ColorHandler.h: remove forward declaration of class WorkArea.
12879 * lyxfunc.C: remove #include "WorkArea.h".
12881 2002-03-07 Juergen Vigna <jug@sad.it>
12883 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12884 got moved away with the DEPM and also set the inset_owner always
12885 right which before could have been omitted.
12887 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12889 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12890 wanted layout is not found.
12892 2002-03-07 Juergen Vigna <jug@sad.it>
12894 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12896 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12898 * paragraph.C (breakParagraph): use default layout not layout of
12900 (Paragraph): clear ParagraphParameters.
12902 2002-03-06 Juergen Vigna <jug@sad.it>
12904 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12905 otherwise it would not be a valid lenght. Fixed a special case in
12906 the minipage compatibility read where we end the document with a
12909 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12910 was set as it could be 0 for InsetTexts first entry.
12912 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * paragraph.C (writeFile): if layout is empty write out
12915 defaultLayoutName().
12917 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12918 file without named layout we set layout to defaultLayoutName().
12920 2002-03-06 Juergen Vigna <jug@sad.it>
12922 * CutAndPaste.C (copySelection): set layout for new paragraph.
12924 * text.C (prepareToPrint): leave ERT inset left aligned
12925 (leftMargin): don't indent paragraphs inside ERT insets
12927 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12929 * paragraph.C (breakParagraph): dont call clear do the work manually
12931 * paragraph.[Ch] (clear): remove function
12933 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * paragraph.C (Paragraph): dont call clear, the work has already
12938 * lyxtextclass.C (operator): assert if n is empty
12940 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12941 work manually instead.
12943 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12945 * BufferView_pimpl.C: protect selectionLost against text == 0
12947 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12949 * text.C (breakParagraph): fix a setting layout to '0' problem.
12951 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12953 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12954 final location of file, for the included files, and graphics.
12956 2002-03-05 Juergen Vigna <jug@sad.it>
12958 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12960 2002-03-04 Juergen Vigna <jug@sad.it>
12962 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12964 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12965 last column of multicolumn cells.
12966 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12968 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12970 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12971 file if it doesn't go to a temporary file.
12973 * buffer.C (sgmlOpenTag):
12974 (sgmlCloseTag): remove extra newline insertion.
12976 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * text.C (getRowNearY): comment out debug msg
12980 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * text2.C: first -> first_y
12984 * text.C (getRowNearY): add some attemts at a possible
12985 optimization, not working.
12987 * tabular.[Ch]: add BufferParams to several function so that newly
12988 created paragraph can be initialized to he default layotu for the
12991 * tabular-old.C (ReadOld): add buf->params to call of Init
12993 * screen.C: rename text->first to text->first_y
12995 * paragraph.C (breakParagraph): always set layout in the broken
12998 * lyxtextclass.C (Read): remove lowercase
13001 (delete_layout): ditto
13003 * lyxtext.h: rename first -> first_y
13005 * lyxlayout.C (Read): remove lowercase
13008 (obsoleted_by): ditto
13010 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13012 * buffer.C (insertErtContents): add params are to InsetERT
13013 (parseSingleLyXformat2Token): add code to check if a paragraphs
13014 layout really exist.
13015 (parseSingleLyXformat2Token): add params to several inset
13017 (asciiParagraph): remove lowercase, do the layout comparisons with
13020 * BufferView_pimpl.C (cursorNext): first -> first_y
13021 (resizeCurrentBuffer): first -> first_y
13022 (updateScrollbar): first -> first_y
13023 (scrollCB): first -> first_y
13024 (workAreaMotionNotify): first -> first_y
13025 (workAreaButtonPress): first -> first_y
13026 (checkInsetHit): first -> first_y
13027 (cursorPrevious): first -> first_y
13028 (cursorNext): first -> first_y
13029 (Dispatch): add buffer_->params to severl inset contructors
13031 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13033 * lyxlayout.C (Read): remove some debug info that I forgot.
13035 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13036 clean up the code slightly.
13037 (makeLinuxDocFile): ditto
13038 (makeDocBookFile): ditto
13040 * text2.C: layout as string
13042 * text.C: layout as string
13044 * paragraph_pimpl.C: layout as string
13046 * paragraph.[Ch]: layout as string
13048 * lyxtextclasslist.[Ch]: layout as string
13050 * lyxtextclass.[Ch]: layout as string
13052 * lyxtext.h: layout as string
13054 * lyxlayout.[Ch]: layout as string
13056 * lyx_cb.C: layout as string
13058 * bufferview_funcs.C: layout as string
13060 * bufferparams.C: layout as string
13062 * buffer.C: layout as string
13064 * LyXView.[Ch]: layout as string
13066 * LaTeXFeatures.[Ch]: layout as string
13068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13070 * BufferView_pimpl.C: change current_layout to string, remove
13075 (workAreaButtonRelease): layout as string
13077 * BufferView2.C (unlockInset): adjust
13079 * vspace.C (asLatexCommand): use an explict temp variable.
13081 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13083 * Makefile.am: use FRONTEND_*
13085 2002-03-01 Juergen Vigna <jug@sad.it>
13087 * tabular.C (SetWidthOfMulticolCell): changed to something better
13088 I hope but still work in progress.
13089 (recalculateMulticolumnsOfColumn): renamed function from
13090 recalculateMulticolCells as it is more appropriate now.
13091 (SetWidthOfCell): calculate multicols better.
13093 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13097 * lyxfunc.C (processKeySym): print sequence also if it is
13098 `deleted' (complete)
13100 * kbsequence.C (print): print sequence even if it is deleted
13101 (complete would be a better word, actually).
13103 * lyxfunc.C (dispatch): print complete options after a prefix key
13105 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13107 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13109 * text2.C (setCharFont): eliminate setCharFont code duplication.
13111 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13113 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13114 LFUN_TABULAR_FEATURE (bug #177)
13116 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13118 * Makefile.am: remove figure.h
13120 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13122 * Bufferview_pimpl.C:
13134 * text2.C: remove #include "lyx_gui_misc.h".
13136 * LaTeX.C: added #include <cstdio>
13138 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13140 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13141 that the paragraph following this one can have.
13143 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13145 * vspace.C (asLatexCommand): fix bogus gcc warning
13147 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13149 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13151 * text2.C (setLayout): get rid of redundant code
13153 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13155 * text2.C (incDepth): make sure depth cannot be increased beyond
13158 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13160 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13161 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13163 * PainterBase.h (image):
13164 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13165 a LyXImage const *.
13167 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13171 * BufferView_pimpl.C:
13172 * BufferView_pimpl.h:
13192 * sp_spell.C: remove fig inset, and the crap house of
13193 cards that follows it
13195 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13200 * os2_errortable.h:
13201 * nt_defines.h: move .h into support/
13203 * vms_defines.h: remove
13205 * WorkArea.C: add space in debug output
13209 * buffer.C: add WITH_WARNINGS
13213 * bufferlist.C: s/retrive/retrieve/, add docs
13222 * chset.C: add docs
13224 * lyxgui.C: add ID to X error handler
13226 * lyxtestclass.c: fix typo
13228 2002-02-26 Juergen Vigna <jug@sad.it>
13230 * tabular_funcs.C (write_attribute): changed so that some default
13231 attributes are not written at all.
13232 (getTokenValue): set default values before trying to read the
13233 value so we have the return value always set as default if we don't
13234 find the token we search for.
13236 * tabular.C (Write): write bools as bools not as strings!
13238 2002-02-22 Juergen Vigna <jug@sad.it>
13240 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13241 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13243 * text.C (leftMargin): don't add an indent for paragraphs inside
13244 tabular cells (fix #208).
13246 2002-02-21 José Matos <jamatos@fep.up.pt>
13248 * tabular.C (docBook): fixed support for long tables.
13250 2002-02-20 Juergen Vigna <jug@sad.it>
13252 * text2.C (getFont): get the drawing font of the Inset if this
13253 paragraph is inside an inset (only important for InsetERT for now).
13255 * buffer.C (insertErtContents): use new lanugage params in ERT
13258 * CutAndPaste.C: commenting out seemingly uneeded code.
13260 2002-02-19 Allan Rae <rae@lyx.org>
13262 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13263 Iterators might be simple to use but they also get invalidated.
13264 (removeAutoInsets): renamed saved cursor tracking variables and added
13265 some comments to clarify what everything does.
13267 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13274 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13275 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13278 * vc-backend.h: remove #include "support/syscall.h"
13282 * converter.C: rearrange #includes in Lars' approved fashion.
13284 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13285 forward declare class Timeout in the header file.
13287 * XFormsView.C: changes due to the above.
13289 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13290 similar to LyXView.
13292 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13293 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13295 2002-02-18 José Matos <jamatos@fep.up.pt>
13297 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13300 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13302 * a lot of small ws changes
13303 * add a lot of using std::XXX
13304 * use std construcs some places where approp.
13305 * use some exisint stuff from lyxfunctional where approp.
13306 * Make file changes to use partial linking (lets test this now...)
13308 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13312 remove #include "support/syscontr.h" as it's redundant. Always has been.
13320 change Systemcalls::System to Systemcalls::Wait and
13321 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13322 No change of functionality, just reflects the stripped down Systemcalls
13325 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13327 * debug.[Ch]: add a GRAPHICS type to the enum.
13329 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13333 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13336 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13338 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13339 match the changes below.
13341 * text2.C (toggleInset): if there is not editable inset at cursor
13342 position, try to see if cursor is _inside_ a collapsable inset
13345 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13347 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13348 document menu has a nice checkbox
13350 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13352 * lyxlength.C (asLatexString): change PW to output as percent of
13355 * lengthcommon.C: change '%' to 't%'
13357 * lyxfunc.C (dispatch): a few comments from Martin
13359 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13363 * BufferView_pimpl.h:
13364 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13367 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13369 * vspace.C (inPixels): fix compiler warning
13371 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13373 * lyxfunc.C (getStatus): fix status message for disabled commands.
13375 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13377 * BufferView_pimpl.C: fix crash on close buffer
13378 during selection (#227)
13380 2002-01-27 Herbert Voss <voss@lyx.org>
13382 * buffer.C: link old Figure to new graphic inset
13384 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13386 * FontLoader.C (getFontinfo): Change the latex font names in order
13387 to match the names of type1inst.
13389 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13393 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13394 (extchanged): ditto
13396 (remove_files_with_extension): ditto
13397 (remove_file): ditto
13400 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13401 document is smaller than the work area height. Do not initialize
13402 static variables to 0.
13404 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13406 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13408 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13409 LFUN_LAYOUT_PARAGRAPHS.
13411 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13412 tabular. It is possible to provide a possible cell, which will
13413 typically be the actcell from the corresponding insettabular
13415 * lyxfunc.C (getStatus): small cleanup; disable
13416 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13419 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13421 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13423 * paragraph.C (startTeXParParams):
13424 (endTeXParParams): new methods. The LaTeX code to
13425 start/end paragraph formatting
13426 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13427 empty (fixes bug #200)
13429 * vspace.C (inPixels): adapt to the change below
13430 (inPixels): [later] more cleanups (remove unused variables)
13432 * lyxlength.C (inPixels): change to use a width and a height as
13435 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13437 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13438 Replaced with \paperwidth
13440 * DepTable.C (insert): add std:: qualifier
13442 2002-01-18 Allan Rae <rae@lyx.org>
13444 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13447 * text.C (drawInset): Turned out I didn't know enough about how
13448 rebreaking worked. This fixes most of the redraw problems. I see
13449 an occasional cursor trail when a line is broken now and the cursor
13450 placement can seem out by a few pixels also after a rebreak.
13452 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13454 * buffer.C (parseSingleLyXformat2Token): update because minipage
13455 width is now a LyXLength
13457 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13459 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13462 2002-01-17 Juergen Vigna <jug@sad.it>
13464 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13466 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13467 is set correctly and the inset is updated correctly.
13469 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13471 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13472 the beginning of the loop.
13474 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13476 * lyxrc.C: improve help for use_scalable_fonts
13478 2002-01-17 Allan Rae <rae@lyx.org>
13480 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13482 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13484 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13485 make sure to set their inset_owner to the right value (bug #171)
13487 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13490 * DepTable.C: Implement mtime checking to reduce time spent doing
13493 2002-01-16 Juergen Vigna <jug@sad.it>
13495 * tabular.C (GetAdditionalHeight): one of error fixed.
13497 * lyxrc.C (output): small fix in writing use_pspell.
13499 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13501 * sp_base.h: #include LString.h
13503 2002-01-16 Allan Rae <rae@lyx.org>
13505 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13506 Can someone check this please?
13508 * text.C (drawInset): It was possible that p.row would be removed by
13509 breakAgainOneRow upsetting a few other settings. There may be another
13510 small tweak possible by setting need_break_row = 0 when p.row has been
13511 removed but I don't know enough about the logic here.
13513 2002-01-15 Allan Rae <rae@lyx.org>
13515 * text.C (insertChar): removed conditional truism.
13517 * BufferView2.C (removeAutoInsets): More tweaks.
13518 cur_par_prev could be a stray pointer. Check for trailing empty line
13519 in case last line was cur_par and only had an error inset on it.
13521 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13523 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13526 * vc-backend.C (most methods):
13527 * exporter.C (Export):
13528 * converter.C (convert):
13530 * LyXSendto.C (SendtoApplyCB):
13531 * lyxfunc.C (dispatch):
13535 * lyx_cb.C (AutoSave):
13537 * BufferView_pimpl.C (MenuInsertLyXFile):
13538 * buffer.C (runChktex): use Buffer::filePath().
13540 * buffer.h: rename filename to filename_; rename filepath to
13541 filepath_ and make it private
13542 (filePath): new method
13544 * buffer.C (writeFile): use fileName()
13547 * lyx_main.C (init): fix starting of LyX when the binary is a
13548 link from so,ewhere else.
13550 * minibuffer.C: include <cctype> for isprint
13552 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13554 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13555 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13556 name clash with InsetCollapsable's width function.
13558 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13560 * lastfiles.C: include <iterator>
13562 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13564 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13567 * buffer.C (makeLaTeXFile): ditto.
13568 Also make loop operation more transparent.
13570 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13572 * ToolbarDefaults.C: remove trailing comma closing namespace.
13574 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13576 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13579 * trans.C (Load): comment out unused variable, allowed.
13581 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13583 * minibuffer.[Ch] (append_char): new method to recieve input from the
13584 drop-down completion browser. If a key was pressed, then recieve this
13585 char and append it to the existing string.
13586 (peek_event): modify the positioning data passed to the completion
13587 browser so that it can be placed above the minibuffer rather than below.
13588 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13590 * LyXAction.C (init): alloe error-next for readonly documents.
13592 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13595 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13597 * bufferlist.C (readFile): create the buffer _after_ checking that
13600 * lyxfunc.C (verboseDispatch): fix handling of arguments
13602 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13604 * lyxrc.C: use string::erase() instead of initializing to "".
13607 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13609 * BufferView_pimpl.h:
13610 * BufferView_pimpl.C:
13613 * text2.C: tell X when we have made a selection for copying
13615 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13617 * BufferView_pimpl.C (MenuInsertLyXFile):
13618 * lyxfunc.C (menuNew):
13620 (doImport): add shortcuts to directory buttons
13622 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13625 * lyxfunc.C (setStatusMessage):
13626 (getStatusMessage): new methods
13627 (getStatus):use setStatusMessage instead of setErrorMessage
13628 (dispatch): when function is disabled, set error message here
13629 [instead of in getStatus previously]
13631 * BufferView_pimpl.C (workAreaButtonRelease): update
13632 toolbar/menubar here too.
13634 2002-01-13 Allan Rae <rae@lyx.org>
13636 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13637 Now seems indestructible. Remaining task is to audit all other
13638 code affected by deleteEmptyParagraphMechanism. One small quirk
13639 left is that an empty document with an error in the preamble can
13640 be made to report an error but no error box appears. I don't know
13642 (removeAutoInsets): Improved comments.
13644 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13647 * Thesaurus.C: update for Aiksaurus 0.14
13649 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13651 * text2.C (firstParagraph): removed member function, all uses
13652 replaces with ownerParagraph
13653 (redoParagraphs): here
13654 (updateInset): here
13655 (toggleAppendix): here
13656 * BufferView2.C (insertErrors): here
13657 (setCursorFromRow): here
13659 2002-01-13 Allan Rae <rae@lyx.org>
13661 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13662 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13663 There is still a way to segfault this although you may have to do this
13664 multiple times: Have an InsetERT with an unknown command in it.
13665 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13666 <down-arrow>, <Enter> again, View->DVI, BANG!
13668 * text2.C (setCursor):
13669 (deleteEmptyParagraphMechanism):
13670 * lyxtext.h (setCursor):
13671 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13672 Making use of the return value may help fix other bugs.
13674 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13676 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13678 * LyXView.C (updateMenubar): call MenuBar::update here
13679 (updateToolbar): but not here
13680 (showState): do not update toolbar/menubar
13682 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13683 should need to care about that.
13685 * lyxfunc.C (verboseDispatch): simplify a bit
13686 (getStatus): have a version which takes a pseudoaction, and
13687 another which requires a (kb_action,string).
13689 * LyXAction.C (retrieveActionArg): make it work also when action
13690 is not a pseudo-action.
13691 (getActionName): simplify a bit
13694 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13696 * lyxfunc.C (verboseDispatch): new families of methods with
13697 several ways to specify a command and a bool to indicate whether
13698 the command name and shortcut should be displayed in minibuffer
13699 (eventually, we could extend that to a finer bitmask like
13700 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13701 (dispatch): the pristine dispatch command which just, well,
13702 dispatchs! Note it still sets its result to minibuffer; I'm not
13705 * lyxfunc.h: remove setHintMessage
13707 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13709 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13711 * BufferView_pimpl.C (specialChar): delete new inset if we have
13712 not been able to insert it.
13714 * kbmap.C: revert to using int instead of kb_action, since all we
13715 are dealing with is pseudo-actions.
13717 * LyXAction.C (searchActionArg): change to return int instead of
13718 kb_action, since the result is a pseudoaction.
13720 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13722 * buffer.C (insertErtContents): Fix (partially) the font bug.
13724 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13726 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13727 as the other one is broken on my machine!
13729 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13732 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13734 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13736 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13737 reflect their actual use. Provide compatibility code for older lyxrc
13740 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13742 change names of popup font variables in line with the changes to lyxrc.C
13744 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13746 * buffer.C (asciiParagraph): avoid outputing a word twice after
13749 * lyxrc.C (getDescription): document that document_path and
13750 template_path can be empty.
13752 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13754 * LaTeXFeatures.C (getMacros):
13755 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13757 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13759 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13761 (getPackages): rename feature "floats" to "float". Use an array to
13762 iterate over 'simple' features (i.e. just a \usepackage). Add
13763 handling of "amsmath" (renamed from "amsstyle").
13765 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13767 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13770 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13772 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13773 FuncStaus::FuncStatus & FuncStaus::some_method().
13775 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13777 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13778 of the func_satus stuff. Edited and massaged in various ways by
13781 * lyxfunc.C (getStatus): use FuncStatus
13783 2002-01-08 Juergen Vigna <jug@sad.it>
13785 * text.C (nextBreakPoint): use function Inset::isChar().
13787 * paragraph.C (TeXOnePar): use function
13788 Inset::forceDefaultParagraphs.
13790 * buffer.C (latexParagraphs): use function
13791 Inset::forceDefaultParagraphs.
13793 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13795 * lyx_gui.C (init): set the style of the menu popups to
13796 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13798 2002-01-07 Juergen Vigna <jug@sad.it>
13800 * text.C (setHeightOfRow): small fix
13801 (prepareToPrint): don't look at alignment if we don't have the place
13804 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13806 * box.C: New file. Move the Box methods and functions out of box.h,
13807 following Lars' suggestion.
13809 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13811 * box.h: #include "support/LOstream.h", needed for inlined function.
13814 * lyxtextclasslist.C: added some using std declarations.
13816 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13818 * box.h: make signed dimensions to allow insets wider than
13819 the screen (bug #162)
13821 * BufferView_pimpl.C: add some insetHit debug
13823 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13825 * vc-backend.C: add FIXME
13827 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13829 * lyxfunc.C (getStatus): enable code for showing math font status
13832 2002-01-07 Juergen Vigna <jug@sad.it>
13834 * text.C (nextBreakPoint): removed debug output not needed anymore.
13836 2002-01-06 Juergen Vigna <jug@sad.it>
13838 * text.C (nextBreakPoint): fixed up this function we had this bug
13839 since ever but now hopefully we break row better.
13840 (insertChar): we have to check if an inset is the next char as it
13841 could now happen that a large inset is causing a break.
13843 2002-01-05 Juergen Vigna <jug@sad.it>
13845 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13846 if it doesn't like to be drawed.
13848 2002-01-04 Juergen Vigna <jug@sad.it>
13850 * BufferView2.C (lockInset): forgot to set a cursor.
13852 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13854 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13856 * FormMathsPanel.C:
13859 * form_maths_panel.C:
13860 * form_maths_panel.h:
13861 * form_maths_panel.fd: implemented sub- and super- buttons in math
13864 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13865 (or ^ space) to be used as in TeX (req'd by André).
13867 * lyxfunc.C: Allow ^ and _ again to be used both as
13868 super/subscript (mathed) and as themselves (in text).
13870 2002-01-03 Allan Rae <rae@lyx.org>
13872 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13873 "LyX" or the filename of the current buffer if it has one. This is a
13874 modified form of John Levon's patch.
13876 * XFormsView.C (setWindowTitle): also set icon title.
13878 * LyXView.h (setWindowTitle): signature changed.
13879 * XFormsView.h (setWindowTitle): ditto.
13881 2002-01-02 Juergen Vigna <jug@sad.it>
13883 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13885 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * screen.C (topCursorVisible): introduce a temp var for
13888 text->cursor.row(), handle the case where this row is null. (kindo
13891 * text2.C (setCursor): add a couple of asserts.
13893 * paragraph.h (inset_iterator): add -> operator
13895 * paragraph.[Ch] (autoDeleteInsets): remove member function
13897 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13898 cursor pos correctly and handle inset deletion by itself.
13899 (insertErrors): move iterator declaration out of for expression
13901 * lyxtextclass.C: add <algorithm>
13903 * Makefile.am: added the new files to sources, removed layout.C
13905 * layout.C: removed file
13907 * layout.h: remove LYX_DUMMY_LAYOUT
13909 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13913 * lyxtextclass.[Ch]:
13914 * lyxtextclasslist.[Ch]: new files
13916 * include order changes to a lot of files, also changes because of
13919 2001-12-27 Juergen Vigna <jug@sad.it>
13921 * buffer.C (asciiParagraph): more fixes.
13923 * tabular.C (ascii): make ascii export support export of only the
13924 data separated by a column-delimiter.
13925 (ascii): better support for ascii export.
13927 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13929 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13931 * tabular_funcs.C: use a "using std::getline" instead of the
13932 previous fix from Angus (necessary for cxx + lyxstring)
13934 2001-12-24 Juergen Vigna <jug@sad.it>
13936 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13938 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13939 problems. First check a minipage also if we have some ert-contents
13940 (not only on par->size(), second set the right depth of the paragraph
13941 on the relink to the root-paragraph-list!
13943 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13944 which then did not anymore update the main paragraphs on undo/redo!
13946 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13948 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13949 code. Support all font-changing funcs (even those which are not in
13950 menu currently). Support for reporting font settings in
13951 mathed (disabled until Andre provides a function on mathed's side).
13953 * func_status.h (toggle): small helper function to set toggle
13956 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13958 * tabular_funcs.C: getline -> std::getline
13960 2001-12-21 Juergen Vigna <jug@sad.it>
13962 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13963 accessed and could be 0 (I couldn't generate this but it seems
13966 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13969 * tabular_funcs.h: here and include iosfwd
13971 2001-12-20 Juergen Vigna <jug@sad.it>
13973 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13974 inside inset but undo_par was.
13976 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13978 * Thesaurus.C: always include <config.h> in sources.
13982 * box.h: do not include <config.h> in header files
13984 * text.C (paintLastRow): remove unused variable
13986 * text.C (transformChar):
13988 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13990 * Painter.C (text):
13991 * font.C (width): rewrite to use uppercase() instead of
13994 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13996 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13998 * lyxfind.C: clean up of find failure position change
14000 2001-12-20 Juergen Vigna <jug@sad.it>
14002 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14004 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14005 (TeXRow): added to LaTeX a single tabular row.
14006 (TeXLongtableHeaderFooter): added to output LT-h/f data.
14007 (Latex): simplified and finally good LT-h/f support.
14008 (various_functions): just small adaptions for LT-h/f support.
14010 * tabular_funcs.[hC]: added and moved here all not classfunctions
14013 2001-12-19 Juergen Vigna <jug@sad.it>
14015 * tabular.[Ch]: better support for longtabular options (not finished
14018 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14020 * text.C (paintLastRow): use the label font instead of the font of
14021 the last character to compute the size of *_BOX. This makes more
14022 sense and avoids a crash with empty paragraphs.
14023 Use Painter::rectangle to draw EMPTY_BOX.
14025 2001-12-19 Juergen Vigna <jug@sad.it>
14027 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14028 the paragraphs if the replaced paragraph is not the first one!
14029 Tried to delete not used paragraphs but does not work yet so for
14030 now it's inside #ifdef's and by default off!
14032 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14034 * MenuBackend.C: include "lyx_main.h" instead of declaring
14035 lastfiles (actually was declared as LastFiles* instead of a
14038 2001-12-17 Juergen Vigna <jug@sad.it>
14040 * tabular.C (AppendColumn): applied John's fix
14042 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14046 * BufferView_pimpl.h:
14047 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14050 * box.h: new start of class for above
14052 * lyxfunc.C: ignore space-only minibuffer dispatches.
14053 Show the command name when it doesn't exist
14055 * minibuffer.C: don't add empty lines to the history
14057 * minibuffer.C: add a space on dropdown completion
14059 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14061 * text.C: fix line above/below drawing in insets
14063 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14065 * lyxlength.C (LyXLength): Initialize private variables.
14067 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14070 when inserting error insets.
14072 2001-12-13 Juergen Vigna <jug@sad.it>
14074 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14075 actually sometimes the before-paragraph.
14076 (setUndo): don't clear the redostack if we're not actually undoing!
14078 2001-12-06 Juergen Vigna <jug@sad.it>
14080 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14081 and fixed redoing of main paragraph, so we can use it now ;)
14083 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14085 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14087 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14090 2001-12-13 André Pönitz <poenitz@gmx.net>
14093 * undo_func.C: minor cleanup
14095 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14097 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14098 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14099 font in urw-fonts package which is marked as -urw-fontspecific and
14100 does not work (incidentally, changing the encoding in the
14101 fonts.dir of this package to -adobe-fontspecific fixes the
14104 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14105 is a crash when undoing first paragraph (Juergen, please take a
14106 look). THis does not mean the undo fix is wrong, just that it
14109 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14110 the (Paragraph*) version when needed instead of duplicating the
14113 * text.C (workWidth): use Inset::parOwner to find out where the
14114 inset has been inserted. This is a huge performance gain for large
14115 documents with lots of insets. If Inset::parOwner is not set, fall
14116 back on the brute force method
14118 * paragraph_pimpl.C (insertInset):
14119 * paragraph.C (Paragraph):
14120 (cutIntoMinibuffer): set parOwner of insets when
14121 inserting/removing them
14123 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14125 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14131 * mathed/formulabase.C:
14132 * mathed/math_cursor.[Ch]:
14133 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14136 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14138 * lyxlength.[Ch] (operator!=): new function
14140 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14142 * text.C (workWidth): use Inset::parOwner to find out where the
14143 inset has been inserted. This is a huge performance gain for large
14144 documents with lots of insets. If Inset::parOwner is not set, fall
14145 back on the brute force method
14147 * paragraph_pimpl.C (insertInset):
14148 * paragraph.C (Paragraph):
14149 (cutIntoMinibuffer): set parOwner of insets when
14150 inserting/removing them
14152 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14154 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14156 * tabular-old.C (getTokenValue):
14157 * tabular.C (getTokenValue):
14158 (write_attribute): new versions for LyXLength
14159 (everywhere): adjust the use of widths
14161 * tabular.h: change the type of widths from string to LyXLength
14163 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14165 * paragraph.C: fixed missing line number count when exporting
14166 Environments to LaTeX file
14168 * buffer.C: added informational message for checking line numbers.
14170 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14172 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14173 paragraph, do the 'double space' part, but not the 'empty
14176 * text.C (workWidth): small optimization
14177 (getLengthMarkerHeight): use minimal size for negative lengths.
14179 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14181 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14183 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14185 2001-12-11 André Pönitz <poenitz@gmx.net>
14188 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14190 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14192 * text2.C: keep selection on a setFont()
14194 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14196 * lyx_cb.C: another bv->text misuse, from insert label
14198 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14201 * kbsequence.C: re-instate nmodifier mask
14203 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14205 * lyx_main.h: make lyxGUI private.
14207 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14209 * lyxfind.C: place the cursor correctly on failed search
14211 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14213 * text.C (getLengthMarkerHeight): for small heights, the arrows
14214 are not always on top/bottom of the text
14215 (drawLengthMarker): smaller arrows; take the left margin in
14216 account; draw also vfills.
14218 (paintLastRow): remove special code for vfill and standard spaces,
14219 since everything is handled in drawLengthMarker now.
14221 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14223 * buffer.C (insertErtContents): try to handle font and language
14224 interaction a bit better.g
14226 * ColorHandler.C (updateColor): change the hash to cover the whole
14227 LColor enum, ws cleanup
14228 (getGCLinepars): ditto
14229 (getGCLinepars): only lookup in the linecache once.
14231 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14233 * iterators.C (operator++): Make the iterator more robust
14235 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14237 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14239 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14242 * text.C: better added space drawing
14244 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14247 * BufferView2.C: fix layout combo update on inset unlock
14249 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14251 * Makefile.am: don't compile unused files
14253 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14257 * LyXAction.C: remove old LFUN_LAYOUTNO
14259 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14261 * paragraph_pimpl.h:
14262 * paragraph_pimpl.C: isTextAt() doesn't need font param
14264 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14267 * lyxlex.C: little cleanup
14269 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14271 * BufferView_pimpl.C: fix insertAscii for insets
14273 2001-12-05 Juergen Vigna <jug@sad.it>
14275 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14276 set the right font on the "multi" paragraph paste!
14278 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14284 * lyxlength.C: remove out-commented code.
14286 * BufferView_pimpl:
14300 * vc-backend.C: change "while(" to "while ("
14302 * lyxlength.[Ch]: add zero function to check if length is zero or
14304 * lyxgluelength.C: use it
14306 2001-12-05 Allan Rae <rae@lyx.org>
14308 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14309 Works for 2.95.3, from what I understand of Garst's reports this should
14310 work for other g++ versions. We're screwed if the abs(int) definition
14311 changed between bugfix releases of gcc.
14313 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14315 * text.C: fix chapter label offset !
14317 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14320 * text.C: fix hfill at end of line, clean up
14322 2001-12-04 Juergen Vigna <jug@sad.it>
14324 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14325 that we force an update of the inset and it's owners if neccessary.
14327 2001-12-03 Juergen Vigna <jug@sad.it>
14329 * text.C (rowLast): simplified code
14331 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14333 * lyxfunc.C: fix show options on timeout
14335 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * screen.C (topCursorVisible): scroll half a page when the cursor
14338 reached top of bottom of screen
14340 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14342 * minibuffer.C: deactivate on loss of focus
14344 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14346 * vspace.[Ch] (operator!=): add operator.
14348 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14350 * BufferView_pimpl.C: refuse to open an inset when
14351 there's a selection.
14353 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14355 * BufferView_pimpl.C: allow to click on RHS of full row insets
14357 2001-11-30 Juergen Vigna <jug@sad.it>
14359 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14360 insets for undo reasons.
14362 2001-11-28 André Pönitz <poenitz@gmx.net>
14364 * vspace.[Ch]: cosmetical changes
14366 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14376 * kbsequence.C: part re-write of old kb code
14379 * WorkArea.C: remove Lgb_bug_find_hack
14381 2001-11-30 José Matos <jamatos@fep.up.pt>
14383 * buffer.C (makeDocBookFile): add a comment to point a hack.
14384 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14385 Fixed a double write of labels.
14387 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14390 * LaTeX.h Fixed bug in LaTeX class where it would not
14391 re-run latex if no depfiles were changed, but the .dvi was removed.
14393 2001-11-28 André Pönitz <poenitz@gmx.net>
14395 * all the files from the change on 2001/11/26:
14396 use lyx::layout_type instead of LyXTextClass::size_type
14397 use lyx::textclass_type instead of LyXTextClassList::size_type
14399 2001-11-29 Juergen Vigna <jug@sad.it>
14401 * text.C: added support for paragraph::isFreeSpacing()
14403 * buffer.C: same as above
14405 * paragraph.h: inserted isFreeSpacing() function to enable
14406 FreeSpacing inside InsetERT.
14408 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14409 of the paragraph's in the cut/copy buffer to 0!
14411 * text2.C (removeRow): remove the assert as it can!
14413 * lyxtext.h: added helper function firstRow returning firstrow and
14414 made firstrow private again.
14416 * BufferView2.C (lockInset): don't relock if we're already locked!
14418 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14419 the only paragraph.
14420 (removeRow): added Assert::(firstrow)
14422 * debug.C: forgot to add INSETTEXT here.
14424 2001-11-28 Juergen Vigna <jug@sad.it>
14426 * sp_spell.C (initialize): changed error text to more general
14427 spellchecker command use (not only ispell!)
14429 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14431 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14433 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14435 * vspace.C: initialise lyxgluelength on failure
14437 2001-11-28 Allan Rae <rae@lyx.org>
14439 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14440 declaration & definition that looks like a function declaration.
14442 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14444 * BufferView2.C (copy):
14445 (copyEnvironment): do not clear the selection when doing a copy.
14447 * text.C (paintFirstRow): compilation fix
14449 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14451 * tabular.C (Latex): correct line count when writing latex.
14453 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14455 * paragraph_pimpl.h:
14456 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14459 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14463 * LColor.C: change vfillline->added_space
14465 * text.C: add markers and text for added space
14467 * vspace.C: fix comment
14469 2001-11-28 André Pönitz <poenitz@gmx.net>
14471 * paragraph.C: whitespace changes
14472 * all the other files from the change on 2001/11/26:
14473 change *::pos_type into lyx::pos_type
14475 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14477 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14478 language of the document when inserting error insets.
14480 2001-11-26 André Pönitz <poenitz@gmx.net>
14482 * BufferView_pimpl.[Ch]:
14490 * paragraph_pimpl.[Ch]:
14493 * text2.C: reduce header dependencies, introduce type for positions
14495 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14497 * <various>: change to use Alert.h
14499 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14501 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14502 when encountering an unknown token.
14503 (readLyXformat2): Show an error message if there were unknown tokens.
14505 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14508 * BufferView_pimpl.C:
14512 * text2.C: use par->isInset()
14514 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14516 * paragraph_pimpl.h:
14517 * paragraph_pimpl.C: cleanup
14519 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14521 * text2.C (removeRow):
14522 * text.C (setHeightOfRow): remove useless (and costly) call to
14525 2001-11-20 Allan Rae <rae@lyx.org>
14527 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14528 Now need Inset*::checkInsertChar() to return true for appropriate
14529 cases so that the characters in the minibuffer will actually be
14532 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * text.C: change the order of the includes.
14535 (workWidth): initialize it at once.
14536 (workWidth): make maxw unsigned
14537 (setHeightOfRow): remove unused variable (inset)
14538 (selectSelectedWord): remove unused variable (inset)
14539 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14541 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14544 server is not running.
14546 (closeConnection): add debug info when server is disabled.
14548 * ColorHandler.C (getGCForeground): send debug message to GUI
14551 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14553 * kbmap.C (bind): modify because return conventions of
14554 kb_sequence::parse have changed.
14556 * kbsequence.C (parse): only ignore spaces and not any stupid
14557 control character. This avoids tests like s[i] <= ' ', which are
14558 guaranteed to fail with 8bit characters and signed chars.
14559 Change return code to string::npos when there have been no error
14560 (0 was a bad idea when error is at first character)
14562 2001-11-14 José Matos <jamatos@fep.up.pt>
14565 * buffer.C (simpleDocBookOnePar): removed unused argument.
14567 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14570 insets which are part of a word. Paragraph::isLetter takes care of
14571 that now. Use Paragraph::isInset to identify insets.
14572 (selectSelectedWord): do not test for hyphenation break.
14574 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14575 that protected spaces are considered as spaces.
14577 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14580 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14583 * lyxserver.C: fix it. and small cleanup.
14585 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14587 * BufferView_pimpl.C: use inline helpers
14590 * LaTeXFeatures.C: fix typos
14593 * Spacing.C: move spacing_string into class
14595 * ToolbarDefaults.C: move stuff into namespace anon
14597 * layout.h: update enum
14599 * lyxfunc.C: use better debug
14601 * minibuffer.h: fix typo
14605 * WorkArea.C: add and use Debug::WORKAREA
14609 * text2.C: code re-organisation, inline helpers
14611 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14613 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14614 std::vector.empty().
14616 2001-11-09 Allan Rae <rae@lyx.org>
14618 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14619 '\n's after tables. Tabular and ERT inset work now makes this no
14622 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14625 * minibuffer.C: fix crash, improve drop-down completion
14627 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14630 * lyxserver.C: invalidate fd's when doing endPipe()
14632 2001-11-08 José Matos <jamatos@fep.up.pt>
14634 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14635 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14638 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14640 2001-11-07 José Matos <jamatos@fep.up.pt>
14643 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14646 * buffer.C (sgmlOpenTag):
14647 * buffer.C (sgmlCloseTag): removed debug info.
14649 * buffer.h (sgmlOpenTag):
14650 * buffer.h (sgmlCloseTag): made public.
14652 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14654 * buffer.C (saveParamsAsDefaults):
14655 * lyx_cb.C (MenuLayoutSave): remove
14657 * LyXAction.C (init):
14659 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14661 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14663 * buffer.C (setPaperStuff): removed from here...
14665 * bufferparams.C (setPaperStuff): ... and moved there.
14667 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14671 * XFormsView.C: add support for drop-down completion
14673 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14675 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14678 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14680 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14683 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14685 * lyx_main.C: change ref to known bugs
14687 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14689 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14690 to work around older babel problems.
14692 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14694 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14696 2001-10-24 Juergen Vigna <jug@sad.it>
14698 * tabular-old.C (ReadOld): below variable changes reflected.
14700 * tabular.[Ch]: added ltType struct for longtable header/footer
14701 defines and changed all instances where they are used. Added
14702 future support for double top/bottom rows.
14704 2001-10-24 José Matos <jamatos@fep.up.pt>
14706 * buffer.h (docbookHandleCaption):
14707 * buffer.C (docbookHandleCaption): removed unused function.
14708 (makeDocBookFile): moved docbook supported version to v4.1.
14710 2001-10-24 José Matos <jamatos@fep.up.pt>
14713 * tabular.C (docbookRow): new function to export docbook code of a row.
14714 (DocBook): now honors the longtable flags.
14716 2001-10-23 José Matos <jamatos@fep.up.pt>
14719 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14720 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14722 * buffer.C (makeLinuxDocFile):
14723 (makeDocBookFile): reworked the preamble, more clean, and with
14724 support for lyx defined entities. Changed the document declaration
14725 to be more XML friendly.
14727 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14728 if we need to output XML that should be done with a filter.
14730 2001-10-22 Juergen Vigna <jug@sad.it>
14732 * sp_pspell.h (class PSpell): add alive function needed in the
14733 controller to see if the spellchecker could be started.
14735 2001-10-22 Juergen Vigna <jug@sad.it>
14737 * buffer.C (insertStringAsLines): modify the font for inserting
14738 chars in certain conditions by calling checkInsertChar(font).
14740 2001-10-19 Juergen Vigna <jug@sad.it>
14742 * text.C (workWidth): use getRow instead of wrong algorithm.
14743 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14745 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14750 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14752 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * text.C (workWidth): do not search for the exact row when
14755 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14756 optimization for big documents.
14758 2001-10-18 Juergen Vigna <jug@sad.it>
14760 * text.C (workWidth): new function with added Inset * parameter.
14762 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14766 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14767 change return type of getColumnNearX.
14770 * text.C (changeRegionCase): use uppercase/lowercase instead of
14773 (rightMargin): simplify code by factoring out the uses of
14778 (appendParagraph): use Paragraph::size_type
14780 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14782 * vspace.C (asLatexString): add a missing break
14784 2001-10-15 Herbert Voss <voss@perce.de>
14786 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14788 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14790 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14793 2001-10-10 André Pönitz <poenitz@gmx.net>
14795 * lyxfunc.C: removed greek_kb_flag.
14797 2001-10-10 Herbert Voss <voss@perce.de>
14799 * lyx_main.C: delete global string help_lyxdir.
14801 2001-10-09 Herbert Voss <voss@perce.de>
14803 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14805 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14807 * lyx_main.C: added global string help_lyxdir.
14809 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14811 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14813 * lyxrc.C (set_font_norm_type): support iso8859-4
14815 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14817 * LaTeX.C (deplog): add another regex for MikTeX
14819 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14821 * lyxrc.C (set_font_norm_type): support iso8859-3
14823 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14827 * LaTeXFeatures.C: remove special case of french and index
14829 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14830 before \begin{document}). This solves several incompatibilities.
14832 2001-10-03 Garst Reese <reese@isn.net>
14834 * lyx_cb.C: change CheckTex error msg.
14836 2001-10-03 José Matos <jamatos@fep.up.pt>
14838 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14840 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14842 * .cvsignore: update
14844 * lyx_main.C (commandLineVersionInfo): use new style version info.
14846 * buffer.C (writeFile):
14848 (makeLinuxDocFile):
14849 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14851 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14853 * version.h: update to use stuff in version.C
14855 * version.C.in: new file. Contains version information determined
14856 at compile time. This is a merging of version.h and
14859 2001-10-03 Juergen Vigna <jug@sad.it>
14861 * BufferView_pimpl.C (update): don't change "dirty" status in
14864 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14866 * WorkArea.C (c-tor): re-position version string slightly.
14868 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14870 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14871 revert to previous code.
14873 WorkArea.[Ch]: (show, destroySplash): methods removed.
14875 WorkArea.C: rework code so that it's an amalgam of the codes before and
14876 after the splash screen was moved to WorkArea.
14878 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14881 * vspace.C (inPixels):
14884 * buffer.C (insertStringAsLines):
14885 (asciiParagraph): fix types to be large enough
14887 * lyxlex_pimpl.h: change member status from short to int
14889 * layout.h: fix type of endlabeltype
14892 * kbsequence.C (parse): change return type to string::size_type
14894 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14897 * Bullet.C (bulletSize):
14898 (bulletEntry): do not use short ints as parameters
14900 * BufferView2.C (insertLyXFile): change a char to an int.
14902 * WorkArea.C (WorkArea): remove unneeded floats in computation
14904 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14906 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14908 * paragraph.C (asString): Do not ignore newline/hfill chars when
14909 copying to the clipboard.
14911 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14913 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14914 after a multi-line inset.
14916 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14918 * paragraph.C (validate): Set NeedLyXFootnoteCode
14920 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14922 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14923 and decrease-error to decrease.
14925 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14928 it more readable (should be equivalent)
14930 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14932 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14934 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14936 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14937 of a cursor (row, etc.) after a character has been deleted
14938 (deleteEmptyParagraphMechanism): call the method above on _all_
14939 cursors held by the LyXText when a double space has been
14942 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14944 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14946 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14948 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14949 background. Use greyOut() and the new show() methods to toggle between
14950 the foreground and background. Add code to remove the splash after
14951 its initial showing.
14953 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14954 (create_forms): no longer call Dialogs::showSplash.
14956 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * .cvsignore: add version_info.h
14960 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14962 * version_info.h.in: new file
14964 * Makefile.am: add version_info.h.in
14966 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14967 version_info.h instead of VERSION_INFO
14969 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14971 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14972 The ERT inset now returns string().
14974 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14976 * lyxtext.h, text.C (selectNextWord): renamed as
14977 selectNextWordToSpellcheck.
14979 * text.C (selectNextWordToSpellcheck): Modified to not select
14980 words inside an ERT inset.
14982 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14984 * lyx_cb.C (MenuLayoutSave): change a bit the question
14986 * sp_base.h: include <sys/types.h>
14988 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14990 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14992 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14994 * several files: fix typos in user-visible strings
14996 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * text2.C (pasteSelection): do not set the selection, since it
14999 will be cleared later. Actually, the intent was to fix the way the
15000 selection was set, but I figured rmoving the code was just as good.
15002 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
15004 * FontLoader.C (available): Check if font is available without
15007 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15009 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15011 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
15013 * lyxrc.[Ch]: added display_graphics variable and associated code.
15015 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * bufferparams.C (hasClassDefaults): new method. Returns true if
15018 the buffer parameters correspond to known class defaults
15020 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
15022 * XFormsView.C (show): set minimum size to the main window.
15024 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * text2.C (copySelection):
15028 * lyxfind.C (LyXReplace):
15029 * BufferView_pimpl.C (Dispatch): pass the correct flag to
15030 LyXText::selectionAsString.
15032 * paragraph.C (asString): add "label" argument to the second form
15034 * text2.C (selectionAsString): add "label" argument and pass it to
15035 Paragraph::asString.
15037 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15039 * lyx_main.C (commandLineHelp): remove version information
15041 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
15043 * lyx_main.C: add -version commandline option
15045 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15047 * paragraph.h: make the optional constructor arg required instead.
15048 some modifications to other files because of this.
15050 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15052 * lyxserver.C (C_LyXComm_callback): make it static
15054 * lyx_main.C (error_handler): make it static
15056 * lyx_gui.C (LyX_XErrHandler): make it static
15058 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15060 * WorkArea.C: make the extern "C" methods static.
15062 * Makefile.am (lyx_LDADD): simplify
15064 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15066 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15067 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15069 * LyXAction.C (init):
15070 * lyxfunc.C (dispatch): associated code removal.
15072 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15074 * lyxfont.h (isSymbolFont): shut off warning
15076 * text.C (setHeightOfRow):
15077 (getVisibleRow): fix crash with empty paragraphs which have a
15080 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15082 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15085 2001-09-04 José Matos <jamatos@fep.up.pt>
15088 * tabular.C (docbook): rename docBook method to docbook.
15090 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15092 * Makefile.am: add dependencies to main.o.
15094 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15096 * FontLoader.C (available): Return false if !lyxrc.use_gui
15098 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15100 * FontInfo.C (query):
15101 * converter.C (view):
15102 * importer.C (Import):
15103 * exporter.C (Export): Can not -> cannot.
15105 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15107 * BufferView_pimpl.C: allow to create index inset even if
15110 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15112 * buffer.C (getLists): replace boost::tie code with an explicit pair
15113 as boost::tie can break some compilers.
15115 * iterators.h: Added a std:: declaration to the return type of
15118 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15120 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15123 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15125 * iterators.[Ch]: New files. Provide paragraph iterators.
15127 * buffer.C (changeLanguage): Use paragraph iterators.
15128 (isMultiLingual): ditto
15130 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15132 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15134 * FontLoader.C: Support for cmr font.
15136 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15138 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15139 (available): New method.
15141 * FontInfo.C (getFontname): Use scalable fonts even when
15142 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15145 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15147 * converter.C (Formats::view): reverted! Incorrect fix.
15149 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15151 * converter.C (Formats::view): only output the -paper option
15152 if the dvi viewer is xdvi, thereby fixing bug #233429.
15154 2001-08-23 Herbert Voss <voss@perce>
15156 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15158 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15160 * Spacing.h (Spacing): Set space to Default on in the default
15163 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15165 * vc-backend.h (RCS::versionString): add RCS to version
15166 (CVS::versionString): add CVS to version
15168 * vc-backend.C (scanMaster): do not add CVS to version.
15169 (scanMaster): do not add RCS to version
15171 * lyxvc.C (versionString): new method
15173 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15175 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * Spacing.C (set): initialize fval
15179 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15181 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15184 2001-08-16 Juergen Vigna <jug@sad.it>
15186 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15188 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15190 * BufferView_pimpl.C:
15193 * text2.C: setParagraph takes linespacing now
15195 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15197 * LyxAction.C: add internal LFUN_CITATION_INSERT
15199 * LyXView.C: actually apply fix
15201 * bufferlist.C: fix open non-existent file
15203 * lyxfind.C: fix indentation
15205 * lyxfunc.C: remove unneeded assert, fix typo
15207 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15209 * MenuBackend.C: use "Floatname List"
15211 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15213 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15214 when converting LaTeX layout to insetERT.
15215 Generate a non-collapsed float when reading old float
15217 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15219 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15222 2001-08-13 Juergen Vigna <jug@sad.it>
15224 * text.C (fill): return 0 instead of 20 as this seems to be the more
15227 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15229 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15232 2001-08-13 Juergen Vigna <jug@sad.it>
15234 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15236 (SearchBackward): comment out the unlocking of the inset_owner this
15237 should not be needed!
15239 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15241 * Many files: Remove inherit_language, and add latex_language
15243 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15244 collapsible insets.
15246 2001-08-10 Juergen Vigna <jug@sad.it>
15248 * text.C (prepareToPrint): fixed hfill-width in draw!
15250 * BufferView2.C (selectLastWord): save the selection cursor as this
15251 now is cleared in the function LyXText::clearSelection!
15253 2001-08-08 Juergen Vigna <jug@sad.it>
15255 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15256 BACKSPACE type functions.
15258 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15259 is only cutted from the document but not put in the cut-buffer, where
15260 still the old stuff should be.
15262 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15264 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15266 * tabular.C (SetWidthOfCell): fixed special case where the width
15268 (LeftLine): handle '|' in align_special.
15270 (LeftAlreadyDrawed): ditto
15271 (SetWidthOfCell): ditto
15273 2001-08-07 Juergen Vigna <jug@sad.it>
15275 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15277 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15280 * lyxlex.[hC]: ditto
15282 2001-08-06 Juergen Vigna <jug@sad.it>
15284 * text.C (getVisibleRow): fix up row clearing a bit.
15286 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15288 * minibuffer.C: make sure the X server sees the changes in the input.
15290 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15292 * paragraph.C (getFont): split into...
15293 (getLabelFont): this
15294 (getLayoutFont): and this
15295 * paragraph_pimpl.C (realizeFont): calling this
15297 * text2.C (getFont): split into...
15298 (getLayoutFont): this
15299 (getLabelFont): and this
15300 (realizeFont): all three calling this
15302 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15305 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15307 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15309 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15311 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15312 layouts from the Quote inset insertion.
15314 2001-08-03 Juergen Vigna <jug@sad.it>
15316 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15318 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15319 only if status not is already CHANGED_IN_DRAW (second level).
15321 * text.C (draw): don't set the need_break_row when inside an
15324 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15326 * buffer.C (parseSingleLyXformat2Token): handle more latex
15329 * bufferview_funcs.[hC]: change function names to
15330 begin with small char, adjust other files.
15332 2001-08-02 André Pönitz <poenitz@gmx.net>
15335 BufferView_pimpl.C: remove broken special code for math-greek
15337 2001-08-02 Juergen Vigna <jug@sad.it>
15339 * BufferView_pimpl.C (update): redone this function so that we
15340 update the text again if there was a CHANGE_IN_DRAW.
15342 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15343 (drawFromTo): added a new internal bool which is used by draw() and
15345 (general): some cursor drawing problems fixed.
15347 2001-08-01 Juergen Vigna <jug@sad.it>
15349 * lyxfind.C (LyXFind): fixed
15350 (SearchForward): ditto
15351 (SearchBackward): ditto
15353 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15354 spurius drawing of the cursor in the main area.
15356 * text2.C (status): small fix which could lead to a segfault!
15357 (clearSelection): remove unneeded BufferView param.
15359 2001-08-01 André Pönitz <poenitz@gmx.net>
15361 * lyxfunc.C: small change due to changed mathed interface
15363 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15367 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15369 * lyxfunc.c: fail gracefully if file doesn't exist
15374 * BufferView_pimpl.C: IsDirWriteable() proto changed
15376 * LyXView.C: fix updateWindowTitle() to store the last title
15378 2001-07-31 Juergen Vigna <jug@sad.it>
15380 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15381 the font (wrong since using of Paragraph::highestFontInRange).
15383 * paragraph.C (highestFontInRange): added a default_size parameter.
15385 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15386 (setHeightOfRow): reformat
15388 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * converter.[hC] + affected files: move to (inital-char)lowercase
15393 * ParagraphParameters.C (ParagraphParameters): remove commented code
15395 * PainterBase.[Ch]: remove commented code
15397 * LaTeXFeatures.h: add "bool floats" for float.sty
15399 * LaTeXFeatures.C (LaTeXFeatures): init floats
15400 (require): handle float
15401 (getPackages): do it with floats
15403 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * BufferView_pimpl.C (Dispatch): improve handling of
15406 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15408 * commandtags.h: #include lyxfont.h here temporarily to avoid
15411 * bufferlist.h: include LString.h here.
15413 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * text2.C (getStringToIndex): new method.
15417 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15419 * *: Reduced header file dependencies all over.
15421 2001-07-30 Baruch Even <baruch@lyx.org>
15423 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15425 2001-07-29 Baruch Even <baruch@lyx.org>
15427 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15429 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * ParameterStruct.h (endif): add a default constructor to make
15432 sure that all variables is initialized.
15434 * ParagraphParameters.C (ParagraphParameters): adjust
15436 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15438 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15439 index; also, check that there is something to index, and that it
15440 does not span over several paragraphs.
15441 (doubleClick): use WHOLE_WORD_STRICT for double click.
15443 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15445 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15448 2001-07-26 Baruch Even <baruch@lyx.org>
15450 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15451 an InsetFig figure, backwards compatible reading of old figure code.
15453 2001-07-27 Juergen Vigna <jug@sad.it>
15455 * text2.C: font.realize function adaption.
15457 * text.C (draw): add a warnings lyxerr text if needed.
15459 * layout.C: font.realize function adaption.
15461 * language.C: add inherit_language and implement it's handlings
15463 * bufferview_funcs.C (StyleReset): remove language parameter from
15464 font creation (should be language_inherit now).
15466 * bufferparams.C (writeFile): handle ignore_language.
15468 * paragraph.C (getFontSettings): the language has to be resolved
15469 otherwise we have problems in LyXFont!
15471 * lyxfont.C (lyxWriteChanges): added document_language parameter
15472 (update): removed unneeded language parameter
15474 * paragraph.C (validate): fixed wrong output of color-package when
15475 using interface colors for certain fonts in certain environments,
15476 which should not seen as that on the final output.
15478 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15480 * BufferView_pimpl.C:
15485 * LyXAction.C: add thesaurus support
15488 * lyxfind.C: add "once" parameter, for thesaurus, to not
15489 move to the next match
15491 2001-07-26 Juergen Vigna <jug@sad.it>
15493 * lyxfont.C (realize): honor ignore_language too!
15496 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15498 * text.C (draw): one place more for ignore_language to not draw
15501 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15503 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15505 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15507 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15508 the minipage conversion problem.
15510 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15515 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * BufferView.h: don't forward declare WorkArea
15519 * BufferView.C: don't include WorkArea.h
15521 2001-07-25 André Pönitz <poenitz@gmx.net>
15525 * lyxfunc.C: new LFUN 'math-space'
15527 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15529 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15531 * text2.C (toggleInset): call open/close
15533 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * lyxfunc.C (dispatch): add debug for the disabled case
15537 * font.C (buttonText): make similar to rectText
15539 * buffer.C (readInset): comment out parsing of insetlist and
15542 * PainterBase.C (rectText): small correction
15544 * BufferView_pimpl.C: comment out insettheorem and insetlist
15545 * LyXAction.C: ditto
15546 * commandtags.h: ditto
15548 2001-07-24 Juergen Vigna <jug@sad.it>
15550 * text.C (draw): honor the ignore_language.
15552 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15554 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15559 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15561 * lyxtext.h: remove unused (and unimplemented) methods
15563 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15565 * text.C (getVisibleRow): honor background color
15568 * Painter.h: remove default color argument for fillRectangle
15570 * text.C (backgroundColor): new method
15572 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * text.C (getVisibleRow): adjust
15576 * font.[Ch] (rectText): new method, metrics
15577 (buttonText): new method, metrics
15579 * PainterBase.[hC]: make rectText and buttonText always draw and take
15582 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15584 * ToolbarDefaults.C (read):
15585 * MenuBackend.C (read): allow escaping in all strings
15587 * BufferView_pimpl.C (insertAndEditInset): new method.
15588 (Dispatch): use insertAndEditInset whenever appropriate.
15590 * BufferView_pimpl.C (insertNote): removed
15592 * BufferView_pimpl.C (smartQuote): new method, moved from
15593 BufferView; if an insetquote cannot be inserted, insert a '"'
15596 * BufferView2.C: remove insertCorrectQuote();
15598 * lyxfunc.C (getStatus): Add support for all remaingin
15599 inset-insert lfuns.
15601 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15603 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15604 command (necessary to pass " as parameter of self-insert.
15606 * text.C (selectWordWhenUnderCursor):
15607 (selectWord): add word_location parameter
15608 (selectWordWhenUnderCursor): same + remove special code for word
15610 (selectNextWord): use kind() to guess type of insetspecialchar,
15613 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15614 (insertErtContents): create ert insets as collapsed.
15615 (readInset): better compatibility code for Info inset.
15617 2001-07-20 Juergen Vigna <jug@sad.it>
15619 * lyxfunc.C (dispatch): use always LyXFind now!
15621 * text2.C (init): add a reinit flag so that the LyXText can be
15622 reinited instead of deleted and reallocated (used in InsetText).
15624 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15630 2001-07-18 Juergen Vigna <jug@sad.it>
15632 * text.C (selectNextWord): handle insets inside inset by calling
15633 always the bv->text functions so that we can go up the_locking_inset!
15635 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15636 in strange locations when inside an inset!
15638 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15639 handling to include insets.
15641 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15643 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15645 * LyXAction.C (init):
15647 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15648 LIGATURE_BREAK, since the name is so stupid.
15650 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15652 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15655 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15657 * sp_form.[Ch]: remove.
15659 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15661 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15664 * src/buffer.C (readInset): ditto.
15666 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15668 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15669 menuSeparator(), endOfSentenceDot(), ldots() and
15670 hyphenationPoint(), which are therefore removed.
15671 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15673 * LyXAction.C (init):
15674 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15676 * paragraph.C (getWord): removed.
15678 * BufferView_pimpl.C (Dispatch): use last word or selection for
15679 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15681 * lyx_main.C (queryUserLyXDir): do not ask before creating
15682 user_dir, except if it has been named explicitely.
15684 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15686 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15687 a document of zero size.
15689 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15691 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15692 approriately in the c-tor and in require().
15693 (getPackages): output the appropriate LaTeX for natbib support.
15695 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15696 variables "use_natbib" and "use_numerical_citations" when reading the
15698 (readInset): read the various natbib cite commands.
15699 (validate): white-space change.
15701 * bufferparams.[Ch]: new variables "bool use_natbib" and
15702 "bool use_numerical_citations".
15703 (writeFile): output them in the LyX file.
15705 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15707 * lyxfunc.C (getStatus): add support for all the inset insertion
15710 * text2.C (insertInset):
15711 * paragraph.C (insetAllowed):
15712 * BufferView_pimpl.C (insertInset): update to take in account the
15713 renaming of insertInsetAllowed
15715 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15717 * text2.C (getInset): new method. returns inset at cursor position.
15719 * BufferView_pimpl.C (Dispatch): changes because of this.
15721 * LyXAction.C (init): rename open-stuff to inset-toggle.
15723 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15725 * text2.C (toggleInset): renamed from openStuff; use
15728 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15730 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15732 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15734 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15736 * buffer.C (readLyXformat2): Add filename to the error dialog
15738 2001-07-18 Juergen Vigna <jug@sad.it>
15740 * tabular.C (GetCellNumber): put an assert here instead of the check!
15742 2001-07-17 Juergen Vigna <jug@sad.it>
15744 * BufferView_pimpl.C (toggleSelection): adapted too.
15746 * text.C (selectNextWord): adapted for use with insets.
15747 (selectSelectedWord): ditto
15749 2001-07-17 Juergen Vigna <jug@sad.it>
15751 * sp_spell.C (PSpell): fix initialitation order.
15753 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15755 * paragraph.C: spacing
15757 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15759 * sp_spell.C: repair language selection for pspell
15761 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15763 * lyxfunc.h: change more methods to begin with lower char.
15765 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15767 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15768 for unknown layouts.
15770 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15772 * buffer.C (readLyXformat2): Generate an error dialog if there are
15775 2001-07-16 Juergen Vigna <jug@sad.it>
15777 * sp_spell.C: always compile ISpell part.
15779 * lyxrc.C: added use_pspell entry and it's handling.
15781 2001-07-13 Juergen Vigna <jug@sad.it>
15783 * sp_spell.C: removed double includes.
15785 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15787 Consistent use of Lsstream.h:
15788 * Lsstream.h: added using std::stringstream for consistencies sake.
15790 * buffer.C: removed using std::stringstream
15792 * lyxfont.C (stateText):
15793 * paragraph.C (asString):
15794 * text.C (selectNextWord, selectSelectedWord):
15795 * text2.C (setCounter):
15796 * vspace.C (asString, asLatexString):
15797 std::ostringstream -> ostringstream.
15799 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15801 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15802 * commandtags.h: add LFUN_HELP_ABOUTLYX
15803 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15805 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15807 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15809 * lyx_gui_misc.C: remove spellchecker
15810 * lyxfunc.C: showSpellchecker
15812 * sp_ispell.h: added
15813 * sp_pspell.h: added
15814 * sp_spell.C: added
15815 * sp_form.[Ch]: removed
15816 * spellchecker.[Ch]: removed
15818 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15820 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15822 (simpleTeXSpecialChars): Simply print the input character without
15823 any special translation if pass_thru is set.
15825 * layout.h: Added bool pass_thru to layout class for being able to
15826 implement pass through of a paragraph for Literate Programming.
15828 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15829 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15830 * layout.C (Read): add "passthru" to list of layout tags and add
15831 code to set the pass_thru boolean when it is read.
15833 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * trans_decl.h: remove allowed from KmodInfo
15837 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15838 remove allowed code
15841 * paragraph_pimpl.C (erase): use boost::prior
15843 * Painter.C (text): use data() instead of c_str() when length is
15845 * WorkArea.C (putClipboard): ditto
15846 * font.h (width): ditto
15848 * BufferView2.C: use it-> instead of (*it). for iterators
15850 * paragraph_pimpl.C: ditto
15851 * paragraph.C: ditto
15852 * minibuffer.C: ditto
15853 * language.C: ditto
15855 * encoding.C: ditto
15856 * counters.C: ditto
15857 * converter.C: ditto
15859 * Variables.C: ditto
15860 * TextCache.C: ditto
15861 * MenuBackend.C: ditto
15862 * LyXAction.C: ditto
15864 * FloatList.C: ditto
15865 * DepTable.C: ditto
15866 * ColorHandler.C (LyXColorHandler): ditto
15868 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15872 * text2.C (openStuff): reintroduce this method (which had been
15873 nuked in NEW_INSETS frenzy).
15875 * lyxfunc.C (Dispatch): when an action has not been handled, use
15876 its name in the error message, not its number.
15878 * paragraph.C (inInset): change method name to begin with lowercase.
15881 * text2.C: updates because of this.
15883 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * ToolbarDefaults.C (add): add spaces in error message
15887 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15889 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15890 (readLyXformat2): rename return_par to first_par, use lyxlex's
15891 pushToken and remove the manual push handling.
15892 (parseSingleLyXformat2Token): add another ert comp. variable:
15893 in_tabular, rename return_par to first_par. handle newlines better
15895 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15897 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15899 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15901 * text2.C (getParFromID): removed
15903 * buffer.C (getParFromID): new method moved form lyxtext.
15904 * BufferView2.C (insertErrors): adjust
15905 (setCursorFromRow): adjust
15906 * BufferView_pimpl.C (restorePosition): adjust
15907 * lyxfunc.C (Dispatch): adjust
15908 * undo_funcs.C (textUndo): adjust
15910 (textHandleUndo): adjust
15911 (textHandleUndo): adjust
15913 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15915 * buffer.C: up' the LYX_FORMAT
15917 * lyxfont.h: turn NO_LATEX on as default
15919 * buffer.C (insertErtContents): new methods of tex style compability.
15920 (parseSingleLyXformat2Token): use it several places.
15921 * tabular.C (OldFormatRead): and here
15923 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15925 * text2.C: remove some commented code.
15928 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15929 * trans.C: changes because of the above.
15931 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15933 * text2.C (setCounter): Fix counters bug with bibliography layout.
15935 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15937 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15938 own member functions
15939 (simpleTeXSpecialChars): ditto
15941 2001-07-06 Juergen Vigna <jug@sad.it>
15943 * a lot of files: changed the access to LyXText::status and the
15944 call of undo-functions.
15946 * undo.[Ch]: added a inset_id to the undo informations.
15948 * undo_funcs.[Ch]: added and moved here all undo functions.
15950 * lyxtext.h: give the status enum a weight, made status_ a private
15951 variable and made accessor functions for it, removed the whole bunch
15952 of undo-functions as they are now in their own file, make some
15953 functions publically available. Added function ownerParagraph with
15956 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15957 made InInset() a const function, added getParFromID() function.
15959 * buffer.[Ch]: added const version for inset_iterator functions,
15960 added getInsetFromID() function.
15962 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15963 changed undo functions for new version.
15965 2001-07-05 Juergen Vigna <jug@sad.it>
15967 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15968 unknow mechanism does not call the proper constructor but only this
15969 one also if I request the other!?
15971 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15975 * text2.C (LyXText): use initialization lists.
15977 * lyxtext.h (Selection): initialize set_ and mark_
15978 (init): remove method
15980 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15982 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15984 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15986 * screen.[Ch]: change method names to begin with lowercase
15988 * BufferView_pimpl.C (updateScrollbar): simplify further and
15989 hopefully make it a bit faster.
15991 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15993 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15994 calling directly xforms functions.
15996 * Painter.C (Painter):
15997 * lyx_cb.C (MenuWrite):
15998 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16001 * lyx_gui.C: remove bogus guiruntime extern declaration.
16003 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16007 (redoDrawingOfParagraph): ditto
16008 (redoParagraphs): ditto
16009 (cutSelection): don't create a object for CutAndPaste use the
16010 static method directly
16011 (pasteSelection): ditto
16013 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16016 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16018 * modifications to some other files because of this.
16020 * Makefile.am (lyx_SOURCES): add XFormsView
16022 * XFormsView.[Ch]: new files
16024 * LyXView.[Ch]: make LyXView a base class for the gui handling for
16025 the main window. Move the gui dependent stuff to XFormsView
16027 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16029 * tabular.C (GetCellInset): update cur_cell also in the row/col
16030 version of this function.
16032 * lyxfunc.C: no need to include figure_form.h here.
16038 * lyxvc.C: no need to include forms.h here.
16040 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16044 * lyxfunc.C (Dispatch):
16046 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16047 constructor argument.
16049 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16051 * paragraph.C (Paragraph): dont't clear, and just set layout.
16052 (makeSameLayout): use params's copy contructor.
16054 * ParagraphParameters.[Ch] (makeSame): delete method
16056 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16058 * Variables.[Ch]: fix indentation, rename set to isSet
16060 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16062 * lyxfunc.C (Dispatch): fix typo
16064 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16069 * bufferlist.C: include assert.h for emergencyWrite().
16071 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16073 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16074 give up at last (bug #425202) !
16076 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16082 * spellchecker.C: strip spellchecker options and bring up
16083 preferences tab instead
16085 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16088 the istringstream constructor
16090 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16092 * paragraph.C (getLayout): fix return value
16094 * paragraph.h: do not declare getLayout as inline.
16096 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16098 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16100 * lyxcursor.h (operator<): new func
16101 (operator>): new func
16102 (operator>=): new func
16103 (operator<=): new func
16105 * text.C (changeCase): use selection.start and selection.end
16106 (changeRegionCase): require from to be <= to. Require par to be a
16109 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16111 2001-06-27 Juergen Vigna <jug@sad.it>
16113 * text.C (cursorLeftOneWord): changed to return the cursor and added
16114 overlay with BufferView * parameter which calls this one.
16116 (selectWord): use new getWord function.
16117 (changeCase): renamed from changeWordCase as and extended to work
16118 also on selections.
16120 * lyxtext.h: added enum word_location
16122 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16123 changeCase as this operates now also on selections.
16125 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16127 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16129 * many files: send debug output to Debug::INFO instead of
16132 * converter.C (View):
16134 (Move): send debug output to Debug::FILES instead of console.
16136 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16138 * lyxfunc.C (getStatus): use func_status
16140 * func_status.h: new header, describing the results of
16141 LyXFunc::getStatus;
16143 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16146 2001-06-25 The LyX Project <jug@sad.it>
16148 * buffer.C (sgmlOpenTag):
16150 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16152 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16154 * text2.C: remove some dead code
16156 * tabular.C (GetCellInset): store the last cell checked (gotten)
16158 * tabular.h: add the helper for the speedup
16160 * lyxtext.h: remove some dead code
16162 2001-06-26 The LyX Project <Asger>
16164 * paragraph.C: Change export to LaTeX of alignment to
16165 \begin{center} and family for better roundtrip work with reLyX.
16167 * Tune the math drawing a bit.
16169 2001-06-25 The LyX Project <Asger>
16171 * LColor.C (LColor): New color for math background. New color
16174 2001-06-25 The LyX Project <jug@sad.it>
16176 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16178 * lyxfunc.C (Open):
16179 * bufferlist.C (newFile): do not restrict to files ending with
16182 * BufferView_pimpl.C (MenuInsertLyXFile):
16184 2001-06-24 The LyX Project <jug@sad.it>
16186 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16189 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16191 * lyxtext.h: rename most methods to begin with a small char.
16192 Lots of changes because of this.
16194 * paragraph.C (Paragraph): do not call fitToSize
16195 (erase): call Pimpl::erase
16196 (insertChar): call Pimpl::insertChar
16197 (insertInset): call Pipl::insertInset
16198 (breakParagraph): do not call fitToSize
16199 (breakParagraphConservative): do not call fitToSize
16200 (fitToSize): remove method
16202 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16204 2001-06-24 The LyX Project <Asger>
16206 * Fix Qt compilation^2
16208 2001-06-24 The LyX Project <jug@sad.it>
16210 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16211 depthHook(getDepth()-1).
16214 * ParagraphParameters.h:
16215 * ParameterStruct.h: change type of depth to unsigned int ==
16216 depth_type. Many adaptations to other files before of that.
16218 2001-06-24 The LyX Project <Asger>
16220 * Fix Qt compilation.
16222 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16224 * paragraph.h: renamed several methods to begin with small letter.
16225 several changes to many parts of the code because of this.
16227 2001-06-23 The LyX Project <jug@sad.it>
16229 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16230 rewritten to discard all double spaces when KeepEmpty is off
16231 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16232 to only handle newlines but not fiddle with spaces and friends.
16234 * lyxfunc.C (MenuNew): when doing 'new from template', use
16235 template_path as default directory
16237 2001-06-23 The LyX Project <Asger>
16239 * Clean-up of header file includes all over
16240 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16242 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16244 * paragraph.h: renamed from lyxparagraph.h
16246 2001-06-23 Asger <lyx@violet.home.sad.it>
16248 * Buffer.h: Removed Buffer::resize
16249 * BufferList.h: Removed BufferList::resize
16250 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16251 the document lazily when we change the width, or the font settings.
16253 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16255 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16259 * buffer.h: remove out of date comment
16261 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16264 * screen.C: fix "theoretical" GC leak
16266 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * LaTeX.C (scanAuxFile):
16269 (deplog): remove trailing \r when reading stream (useful under
16272 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16274 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16275 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16276 and BufferView::theLockingInset(Inset*), so should use them and not
16277 access bv_->text->the_locking_inset directly.
16279 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16281 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16284 * tex-defs.h: remove old unused file
16286 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16288 * BufferView_pimpl.C: fix typo, remove minibuffer message
16289 when buffer has loaded
16291 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16293 * lyxfunc.C (Dispatch): use stringstream
16294 (MenuNew): use stringstream
16295 (Open): use stringstream
16297 * importer.C (Import): use stringstream
16299 * bufferview_funcs.C (CurrentState): use stringstream
16301 * LaTeX.C (run): use stringstream
16303 * BufferView_pimpl.C (savePosition): use stringstream
16304 (restorePosition): use stringstream
16305 (MenuInsertLyXFile): use stringstream
16307 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16320 * vspace.C: removed // -*- C++ -*- as first line.
16323 * version.h: added // -*- C++ -*- as first line.
16325 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16327 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16329 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16332 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16334 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16337 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16339 * gettext.C: include LString.h even when --disable-nls is on.
16341 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16343 * converter.h (Get): changed argument type from int to
16344 FormatList::size_type to avoid unnecessary conversion.
16346 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16349 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16351 * gettext.h: include LString.h even when --disable-nls is on.
16353 2001-06-07 Juergen Vigna <jug@sad.it>
16355 * text.C (BreakAgain): subst spaces with tabs.
16357 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16358 (resizeInsetsLyXText): set force on resizeLyXText.
16360 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16362 * gettext.h (gettext_init):
16363 (locale_init): use a real definition instead of a macro
16365 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16367 * Bufferview_pimpl.C:
16369 * LColor.C: further lcolor tidies
16371 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16373 * BufferView_pimpl.C (updateScrollbar): simplify.
16375 * BufferView2.C: don't include insets/insetinfo.h, change
16376 prototype for insertInset and call the Pimpl version. let
16377 updateInset call Pimpl version.
16379 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16380 gotoInset to BufferView::Pimpl
16382 2001-06-01 Juergen Vigna <jug@sad.it>
16384 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16385 inside a LockingInset (is the update needed at all?).
16387 2001-05-31 Juergen Vigna <jug@sad.it>
16389 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16390 here not the old one otherwise how should we compare it afterwards
16393 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16398 * FontInfo.C: bring C functions into global namespace when
16401 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16403 * LString.h: make sure config.h has been loaded before LString.h.
16405 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16406 (one for each char read by EatLine!).
16408 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16411 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16413 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16414 to the same as the par we break from
16416 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16418 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16420 * MenuBackend.C (expand): also create menu entries for wide
16421 versions of the floats.
16423 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16425 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16427 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16428 frontends/Makefile.am
16434 * tabular.C (getTokenValue): add std::
16436 * tabular-old.C (getTokenValue): add std::
16437 (getTokenValue): ditto
16438 (getTokenValue): ditto
16440 * screen.C (ToggleSelection): adjust
16442 * lyxtext.h: put selection cursors inside a Selection struct.
16444 * lyxfunc.C (moveCursorUpdate): adjust
16446 * lyxfont.C (latexWriteStartChanges): add std::
16448 * lyxfind.C: adjust
16450 * font.h: delete with(char const *, LyXFont const &)
16452 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16454 * FontInfo.C (getFontname): add std::
16456 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16457 (workAreaButtonPress): adjust
16458 (tripleClick): adjust
16460 (moveCursorUpdate): adjust
16463 * BufferView2.C (gotoInset): adjust
16465 2001-05-30 Juergen Vigna <jug@sad.it>
16467 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16468 to check pspell I add this as default as I now have new pspell
16469 libraries and they seem to use this.
16471 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16473 * text2.C (CutSelection): make the cursor valid before the call to
16476 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16478 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16479 relied on 0 terminated strings and other horrors. Bug found due to
16480 the new assert in lyxstring!
16482 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16485 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16487 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16490 * lyxfunc.C (processKeySym): change method of getting to the
16493 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16494 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16495 * BufferView_pimpl.[Ch]: here as private methods.
16497 2001-05-28 Juergen Vigna <jug@sad.it>
16499 * text.C (SetHeightOfRow): added the update() call again as it is
16500 needed to initialize inset dimensions!
16502 2001-05-16 Juergen Vigna <jug@sad.it>
16504 * text2.C (SetCharFont): Add new function with BufferView * and
16505 bool toggleall parameters for setting insets internal fonts.
16506 (SetFont): Freeze the undo as we may change fonts in Insets and
16507 all this change should be inside only one Undo!
16509 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16510 setting font's in insets as for them we have the SetFont function!
16512 2001-05-15 Juergen Vigna <jug@sad.it>
16514 * text2.C (ClearSelection): to be sure we REALLY don't have any
16517 * tabular.C (TeXCellPreamble): fixed the left border problem for
16520 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16522 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16525 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16527 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16528 LFUN_BREAKPARAGRAPH.
16530 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16531 help test to "internal only", similar for LFUN_INSERT_URL
16533 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16534 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16535 auto_region_delete and deadkeys.
16537 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16540 * LColor.C: remove some dead entries, tidy a little
16542 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16544 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16546 (Dispatch): implement LFUN_ESCAPE
16548 * commandtags.h: add LFUN_ESCAPE
16550 * LyXAction.C (init): add entry for LFUN_ESCAPE
16552 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16553 Remove commented code.
16554 (insertNote): moved here
16555 (open_new_inset): moved here
16557 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16560 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16562 * kbmap.C (findbinding): clean it up and make it work correctly.
16564 * lyx_main.C (init): do not pass argc and argv as parameters
16566 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16568 * buffer.C: fix path for OS/2 & Win32
16572 * lyx_main.C: Added os:: class.
16574 * os2_defines.h: update
16576 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16578 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16579 better by trying again with reduced state.
16581 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16583 * lyxrc.C (read): print error about invalid key sequence only when
16584 debugging (because not all latinX keysyms are known to some X
16587 * kbsequence.C (getiso): add a few std:: qualifiers
16588 (getiso): comment out extra return statement.
16590 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16592 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16594 (Dispatch): enhance the accent inset a bit. (not perfect)
16596 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16598 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16600 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16602 * bufferlist.C (emergencyWrite): fix assert() call
16604 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16606 * text.C (InsertChar): Added trivial patch to only send the "you
16607 can not do multiple spaces this way" message once during a
16610 2001-05-08 Baruch Even <baruch@lyx.org>
16612 * Makefile.am: Changed order of libraries to get LyX to link properly
16613 with the gnome frontend.
16615 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16617 * LaTeXFeatures.h: add a std:: qualifier
16619 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16621 * paragraph.C (String): use stringstream
16623 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16625 * paragraph.C (writeFile): remove footflag arg
16627 * buffer.C (makeLaTeXFile): use stringstream
16628 (latexParagraphs): remove footnot gurba
16630 * LaTeXFeatures.C (getPackages): use stringstream
16631 (getMacros): likewise
16632 (getTClassPreamble): likewise
16633 (getFloatDefinitions): new method
16635 * paragraph.C (writeFile): reindent
16638 * WorkArea.h: revert the xpos + etc changes.
16640 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16642 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16644 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16645 (pasteSelection): likewise
16646 * text2.C (CreateUndo): likewise
16648 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16650 * minibuffer.C (peek_event): temporarily reduce the functionality
16651 of the minibuffer (to allow args on lfuns)
16653 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16654 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16656 * buffer.C (readInset): add compability reading of old float
16657 lists, add reading of new style float list.
16658 (readInset): avoid reevaluation of inscmd.getCmdName()
16659 (getLists): reindent
16661 * MenuBackend.C (MenuItem): implement parsing of
16662 md_floatlistinsert and md_floatinsert.
16663 (expand::LastFiles): move initalizaton of iterators out of loop,
16664 avoid reevaluation.
16665 (expand::Documents): introduce typdedef vector<string> Strings,
16667 (expand::ExportFormats): introduce typedef vector<Format const *>
16668 Formats, and use it.
16669 (expand): implement FloatListInsert and FloatInsert.
16671 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16672 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16673 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16675 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16677 (Dispatch::LFUN_FLOAT_LIST): implement
16679 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16681 * LaTeX.C (run): Fix problem with --export code.
16683 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16685 * BufferView.[Ch] (workarea): removed.
16686 (getClipboard) new method; wrapper for workarea()->getClipboard()
16688 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16691 * WorkArea.h (width, height, xpos, ypos): These methods all
16692 returned the dimensions of the work_area sub-area of WorkArea,
16693 resulting in a position error if the WorkArea were resized. Now
16694 return the dimensions of the entire WorkArea.
16696 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16698 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16700 * LaTeX.C (deplog): correct the syntax of regex reg1
16702 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16704 * undo.C: remove !NEW_INSETS cruft
16706 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16708 * text2.C: remove !NEW_INSETS cruft
16710 * text.C: remove !NEW_INSETS cruft
16712 * tabular.C: remove !NEW_INSETS cruft
16714 * spellchecker.C: remove !NEW_INSETS cruft
16716 * lyxtext.h: remove !NEW_INSETS cruft
16718 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16720 * lyxfunc.C: remove !NEW_INSETS cruft
16722 * lyxfind.C: remove !NEW_INSETS cruft
16724 * lyx_cb.C: remove !NEW_INSETS cruft
16726 * figureForm.C: remove !NEW_INSETS cruft
16728 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16730 * buffer.[Ch]: remove !NEW_INSETS cruft
16732 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16734 * CutAndPaste.C: remove !NEW_INSETS cruft
16736 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16738 * BufferView2.C: remove !NEW_INSETS cruft
16740 * BufferView.h: remove !NEW_INSETS cruft
16742 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16744 * Lsstream.h: include LString.h before the sstream headers to
16745 fix problem with gcc 2.95.3 and lyxstring
16747 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16749 * lyx_main.C: add using directives when needed for C functions
16750 declared in std:: namespace.
16752 2001-04-27 Juergen Vigna <jug@sad.it>
16754 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16755 (SetHeightOfRow): comment out the update call should not be needed!
16757 2001-04-13 Juergen Vigna <jug@sad.it>
16759 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16760 (LyXTabular): tried to minimize operator= operations (and realized
16761 hopfully Lars wish).
16763 2001-04-27 Juergen Vigna <jug@sad.it>
16765 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16767 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16769 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16771 * buffer.C (readInset): hack to make listof algorithm work
16773 * BufferView_pimpl.C: hack to make listof algorithm work
16775 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16777 * LyXAction.C: removed all !NEW_INSETS cruft
16778 (init): moved lfun_item in method
16780 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16782 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16784 * BufferView2.C (theLockingInset): white space.
16786 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16788 * minibuffer.C: include <iostream>
16790 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16792 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16794 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16796 * text.[Ch] (TransposeChars): new method
16798 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16800 * call message directly through LyXView instead of through LyXFunc
16801 * BufferView2.C: adjust
16802 * BufferView_pimpl.C: adjust
16803 * FontLoader.C: adjust
16805 * bufferview_funcs.C: adjust
16806 * converter.C: adjust
16807 * figureForm.C: adjust
16808 * importer.C: adjust
16810 * lyx_gui_misc.C: adjust
16811 * lyxfunc.C: adjust
16814 + more files in subdirs
16816 * lyxparagraph.h (size): move up int file
16819 * adjust all uses of Assert to lyx::Assert.
16821 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16822 lyxfunctional in namespace lyx
16823 * layout.C (hasLayout): ditto
16826 (delete_layout): ditto
16827 (NumberOfClass): ditto
16828 * converter.C (GetFormat): ditto
16833 * bufferlist.C (getFileNames): ditto
16834 (emergencyWriteAll): ditto
16837 * MenuBackend.C (hasSubmenu): ditto
16840 * BufferView_pimpl.C (getInsetByCode): ditto
16842 2001-04-18 Juergen Vigna <jug@sad.it>
16844 * vspace.C (asLatexString): fixed the 100% problem.
16846 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16848 * lyxfunc.C (Dispatch):
16850 * minibuffer.h: add a few std:: qualifiers
16852 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16854 * minibuffer.[Ch]: reimplement so that commands is initiated and
16855 run from lyxfunc, simplified som handling, and made the completion
16856 and history code for complete. wip.
16858 * lyxfunc.C (processKeySym): call message
16859 (miniDispatch): new temporary method
16860 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16861 (LFUN_MESSAGE): implement
16862 (LFUN_MESSAGE_PUSH): implement
16863 (LFUN_MESSAGE_POP): implement
16864 (initMiniBuffer): the initial/defualt minibuffer message.
16866 * lyxfont.[Ch]: inline some more getters
16868 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16870 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16872 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16873 (AutoSave): use LFUN_MESSAGE
16874 (Reconfigure): ditto
16876 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16878 * figureForm.C: use LFUN_MESSAGE
16880 * converter.C (runLaTeX): use LFUN_MESSAGE
16882 * bufferview_funcs.C: use LFUN_MESSAGE
16884 (changeDepth): ditto
16886 * bufferparams.h: use boost::
16888 * bufferlist.h: inherit privately from noncopyable
16890 * bufferlist.C (loadLyXFile): remove some commented code.
16892 * buffer.C (runChktex): use LFUN_MESSAGE
16894 * ShareContainer.h: inherit privately from noncopyable
16896 * ParagraphParameters.[hC] (depth): inline it.
16898 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16900 (message): new method
16901 (messagePush): ditto
16902 (messagePop): ditto
16903 (show): init minibuffer
16904 (showState): direct call
16906 * LaTeX.[Ch]: inherit privately from noncopyable
16907 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16908 instead of WriteStatus.
16910 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16912 * BufferView_pimpl.C (buffer): don't init minibuffer
16913 (workAreaButtonPress): use LFUN_MESSAGE
16914 (workAreaButtonRelease): ditto
16915 (savePosition): ditto
16916 (restorePosition): ditto
16917 (MenuInsertLyXFile): ditto
16918 (workAreaExpose): don't init minibuffer
16919 (update): remove commented code, simplify
16921 * BufferView2.C (openStuff): use LFUN_MESSAGE
16922 (toggleFloat): ditto
16925 (copyEnvironment): ditto
16926 (pasteEnvironment): ditto
16931 (updateInset): remove some commented code
16933 * lastfiles.h: inherit privately from noncopyable
16936 * lyx_main.h: ditto
16938 * lyxlex_pimpl.h: ditto
16940 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16941 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16942 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16944 * LyXAction.h: inherit privately from noncopyable, add methods
16945 func_begin, func_end, returning iterators to the func map.
16947 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16948 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16949 (func_begin): new method
16950 (func_end): new method
16952 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16954 (copySelection): ditto
16955 (pasteSelection): ditto
16957 * BufferView.C: whitespace change
16958 * BufferView.h: inherit privately from noncopyable
16960 2001-04-16 Allan Rae <rae@lyx.org>
16962 * tabular-old.C (l_getline):
16963 * spellchecker.C (sc_check_word):
16964 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16965 an unrecognised preprocessor directive. So ensure they're wrapped.
16967 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16969 * src/exporter.C (Export): Give an error message when path to file
16972 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16974 * LaTeX.C (deplog): Always check that foundfile exists.
16976 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16979 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16981 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16983 * tabular.[Ch] (getLabelList): implement new method
16985 * minibuffer.h: comment ouf setTiimer
16987 * minibuffer.C (ExecutingCB): constify res
16988 (peek_event): constify s
16989 (Set): constify ntext
16990 (Init): constify nicename
16992 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16994 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16995 (savePosition): use two params to Minibuffer::Set
16996 (restorePosition): ditto
16998 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17000 * lyx_main.C: include language.h
17002 * Makefile.am (lyx_main.o): add language.h
17004 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17010 * CutAndPaste.C: include gettext.h
17012 * lyxfont.h: remove old hack with ON and OFF.
17015 * lyxfont.h: do not include language.h...
17020 * bufferview_funcs.C:
17026 * paragraph.C: ... but do it here instead
17028 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
17030 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17032 * tabular.C: small reformat
17034 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17037 (BreakParagraph): ditto
17038 (SetOnlyLayout): ditto
17041 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17044 * lastfiles.C: removed most using decl, add std:: where needed
17046 * buffer.C: ws changes
17048 * MenuBackend.C (class compare_format): put into anon namespace
17049 (expand): constify label, names, action, action2
17052 * text.C (SingleWidth): constify font
17053 (IsBoundary): constify rtl2
17054 (GetVisibleRow): constify ww
17056 * LaTeX.C (deplog): constify logfile
17058 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17060 (workAreaExpose): constify widthChange, heightChange
17062 * lyxrow.C (par): moved
17065 * lyxrow.h: as inlines here
17067 * lyxfont.h (shape): moved from lyxfont.C
17068 (emph): moved from lyxfont.C
17070 * lyxfont.C (LyXFont): use initialization list for all
17072 (shape): move to lyxfont.h as inline
17073 (emph): move to lyxfont.h as inline
17076 2001-04-04 Juergen Vigna <jug@sad.it>
17078 * vspace.C: had to include stdio.h for use of sscanf
17080 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17083 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17084 independent of xforms.
17086 2001-04-02 Juergen Vigna <jug@sad.it>
17088 * spellchecker.C: fixed namespace placing!
17090 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17092 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17093 the LyXParagraph * is 0.
17095 2001-03-29 Juergen Vigna <jug@sad.it>
17097 * vspace.C: added support for %, c%, p%, l%.
17098 (stringFromUnit): added helper function.
17099 (asLatexString): changed to give right results for the %-values.
17101 * buffer.C: convert the widthp in a width%.
17103 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17105 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17108 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17109 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17111 * lyx_cb.[Ch]: see above.
17113 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17117 * lyx.[Ch]: replaced by figure_form.[Ch].
17121 * lyxfunc.C: changed headers associated with above changes.
17123 2001-03-27 Juergen Vigna <jug@sad.it>
17125 * BufferView_pimpl.C: set the temporary cursor right!
17127 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17129 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17131 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17133 * LString.h: removed "using std::getline"!
17135 * BufferView_pimpl.C (Dispatch): changes due to changes in
17136 InsetInclude::Params.
17138 * buffer.C (tag_name): removed redundant break statements as they were
17139 producing lots of warnings with my compiler.
17141 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17143 * LString.h: add "using std::getline" when using the real <string>.
17145 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17147 * buffer.C: removed bitset usage.
17148 PAR_TAG moved to an anonymous name space.
17149 (tag_name): new funtion, also in the anonymous namespace.
17150 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17151 (makeDocBookFile): clean code. Completed transition from string arrays
17153 (SimpleDocBookOnePar): code clean.
17155 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17157 * tabular.C: add some comments.
17159 2001-03-22 Juergen Vigna <jug@sad.it>
17161 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17162 compatibility read a bit and fixed bug with minipage in different
17165 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17167 * buffer.C (pop_tag): removed.
17168 (push_tag): removed.
17169 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17170 array replaced with vector. Added support for CDATA sections.
17171 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17173 (makeDocBookFile): XML conformant declaration of CDATA section,
17174 fixed bug related to <emphasis> in the first paragraph char.
17175 (sgmlOpenTag): exclude empty tags.
17176 (sgmlCloseTag): ditto.
17178 * buffer.h (pop_tag): removed.
17179 (push_tag): removed.
17181 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17183 * language.h (Languages): added size_type and size().
17185 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17187 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17188 response on compability reading of minipages. One probliem is that
17189 the old usage of minipages was «flertydig»
17191 * several files here and in subdirs: don't use static at file
17192 scope use anon namespaces instead.
17194 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17196 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17197 LaTeX output. This is necessary for Literate document
17200 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17202 * buffer.C: insert hfill when needed.
17204 * tabular.C (l_getline): use string::erase, small whitespace change.
17206 * BufferView_pimpl.C: try the anon namespace.
17207 * WorkArea.C: ditto
17209 2001-03-16 Juergen Vigna <jug@sad.it>
17211 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17212 otherwise it won't open options-dialogs.
17214 * buffer.C: honor pextraWidth(p) on converting minipages.
17216 * tabular.C (l_getline): changed the functions to strip trailing \r.
17218 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17220 * BufferView_pimpl.C:
17221 * minibuffer..C: added "using SigC::slot" declaration.
17223 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17225 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17231 * paragraph.C: ditto
17233 * lyxtext.h: NO_PEXTRA
17235 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17237 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17238 * ParameterStruct.h: ditto
17239 * ParagraphParameters.h: ditto
17240 * lyxparagraph.h: ditto
17242 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17244 * buffer.C: add compability for minipage alignment.
17245 (latexParagraphs): remove unwanted pextra check.
17247 * several files: remove CXX_WORKING_NAMESPACES
17249 * buffer.C (pop_tag): tie is in namespace boost
17251 * BufferView.h: noncopyable is in namespace boost
17253 * lyx_main.h: ditto
17256 * lastfiles.h: ditto
17257 * bufferlist.h: ditto
17258 * ShareContainer.h: ditto
17260 * LyXAction.h: ditto
17263 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17265 * Merging changes from BRANCH_MVC back into HEAD.
17267 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17269 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17271 * BufferView_pimpl.C: change from intl.C
17275 * Makefile.am: move combox.*
17281 * intl.C: remove dialog (covered by prefs)
17283 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17285 * lyxfunc.C (Dispatch): removed redundant break statement.
17287 2001-03-14 Juergen Vigna <jug@sad.it>
17289 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17291 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17293 * buffer.C: add hack to fix compability reading of minipages.
17295 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17297 * buffer.C (getLists): Cleanup.
17299 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17301 * lyxfont.C (update): don't honor toggleall on font size.
17303 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17307 * Makefile.am: moved to frontends/xforms/
17311 * BufferView_pimpl.C: changes for moved mathpanel
17313 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17315 * gettext.h: fix gettext_init() in --disable-nls
17317 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17319 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17321 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17324 * lyx.h: strip external form
17326 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17328 * BufferView_pimpl.C: add comment, destroySplash()
17330 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17332 * BufferView_pimpl.C:
17336 * lyxfunc.C: use re-worked insetinclude
17338 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17340 * buffer.C: add using std::stringstream.
17342 * lyx_cb.C: readd using std::ios.
17344 * buffer.C: add using std::map.
17346 * BufferView_pimpl.C: add using std::vector.
17348 * ShareContainer.h: add std:: to swap.
17350 * buffer.h: add some typedefs
17351 * buffer.C (getLists): use them
17352 (getLists): renamed from getTocList.
17353 add a counter for the different float types and use it in the
17355 (getLists): use the same counter for the NEW_INSETS and the "non"
17358 * lyx_cb.h: remove unused items, includes, using etc.
17360 * ShareContainer.h: remove some commented code, add more comments
17361 and "documentation".
17363 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17365 * buffer.C (getTocList): make the list also when NEW_INSETS is
17368 * buffer.h: remove TocType
17370 * buffer.C (getTocList): change to return a map<string,
17371 vector<TocItem> >, implement for dynamic number of list.
17373 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17374 * text2.C (PasteSelection): adjust
17375 * CutAndPaste.C (pasteSelection): adjust
17377 * FloatList.C (FloatList): update from the new_insets branch.
17378 * Floating.[Ch]: ditto
17379 * LaTeXFeatures.C: ditto
17381 * lyxlex_pimpl.C: ditto
17383 * paragraph.C (Last): remove when NEW_INSETS is defined.
17385 * other file: changes because of the above.
17387 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17389 * lyxparagraph.h: rename next to next_, previous to previous_,
17390 make them private for NEW_INSETS. Rename Next() to next(),
17391 Previous() to previous().
17393 * other files: changes because of the above.
17395 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17398 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17401 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17403 * main.C (main): pass lyx_localedir to gettext_init().
17405 * gettext.h: remove locale_init and gettext_init macros
17407 * gettext.C (locale_init): new function
17408 (gettext_init): new function
17410 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17413 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17415 * Moved credits to frontends:
17416 * credits.[Ch]: removed
17417 * credits_form.[Ch]: removed
17418 * lyx_gui_misc.C: remove credits stuff
17421 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17423 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17425 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17426 unneeded destructor.
17428 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17429 a standalone pointer again.
17431 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17433 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17439 * ToolbarDefaults.C:
17448 * BufferView_pimpl.C: use new file dialog in GUII
17451 * lyx_cb.C: remove LayoutsCB to Toolbar
17453 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17455 * ShareContainer.h (get): add std:: qualifier
17457 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17459 * ShareContainer.h: define a proper ShareContainer::value_type
17460 type (and use typename to please compaq cxx)
17462 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17464 * lyxparagraph.h: move serveral local vars to
17465 ParameterStruct/ParagraphParameters., use ShareContainer in
17466 FontTable., make vars in FontTable private and add getter and
17469 * paragraph.C: changes because of the above.
17471 * lyxfont.h: remove copy constructor and copy assignment. (the
17472 default ones is ok), move number inside FontBits. move inlines to
17475 * lyxfont.C: add number to initializaton of statics, move several
17476 inlines here. constify several local vars. some whitespace
17477 cleanup. Dont hide outerscope variables.
17479 * Spacing.h: add two new constructors to match the set methods.
17481 * ShareContainer.h: new file, will perhaps be moved to support
17483 * ParameterStruct.h: new file
17485 * ParagraphParameters.h: new file
17487 * ParagraphParameters.C: new file
17489 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17490 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17492 * BufferView_pimpl.C: ParagraphParameter changes.
17493 * buffer.C: Likewise.
17494 * bufferview_funcs.C: Likewise.
17495 * text.C: Likewise.
17496 * text2.C: Likewise.
17498 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17500 * lyxfind.C (LyXReplace): do not redefine default argument in
17502 (IsStringInText): ditto
17503 (SearchForward): ditto
17504 (SearchBackward): ditto
17506 2001-03-06 Juergen Vigna <jug@sad.it>
17508 * lyxfind.C (IsStringInText): put parentes around expressions.
17510 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17512 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17514 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17516 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17518 * stl_string_fwd.h: add comment
17520 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17523 * tabular.C: remove unused DocBook methods
17529 killed DO_USE_DEFAULT_LANGUAGE
17531 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17533 * lyx_gui.C: do not include language.h.
17535 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17536 arguments in function implementation.
17538 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17540 * BufferView_pimpl.C: add <ctime>
17542 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17544 * BufferView_pimpl.C: add using std::find_if
17546 2001-02-27 José Matos <jamatos@fep.up.pt>
17548 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17551 2001-02-11 José Matos <jamatos@fep.up.pt>
17553 * buffer.C (makeDocBookFile): command styles now have a parameter as
17554 "title" by default.
17556 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17558 * layout_forms.[Ch]: removed
17559 * lyx_cb.[Ch]: out character
17560 * lyx_gui.C: out character
17561 * lyx_gui_misc.C: out character
17562 * bufferview_funcs.C: : out character,
17563 added toggleall as parameter in ToggleAndShow
17565 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17567 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17569 * text2.C (SetCurrentFont): Disable number property at boundary.
17571 2001-02-26 Juergen Vigna <jug@sad.it>
17573 * lyxfunc.C (getStatus): added a string argument override function so
17574 that this is correctly called from LyXFunc::Dispatch if it contains a
17575 do_not_use_argument which is used!
17576 (Dispatch): added check for "custom" export and call appropriate func.
17578 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17580 * lyxrc.C: Add language_command_local, language_use_babel and
17581 language_global_options.
17583 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17585 * buffer.C (makeLaTeXFile): Use language_use_babel and
17586 language_global_options.
17588 2001-02-23 Juergen Vigna <jug@sad.it>
17590 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17591 which works with LyXText and putted it inside BufferView. Here now we
17592 only call for that part the BufferView::Dispatch() function.
17594 * BufferView.C (Dispatch): added.
17596 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17597 functions which needs to use a LyXText over from LyXFunc.
17598 (MenuInsertLyXFile): added
17599 (getInsetByCode): added
17600 (moveCursorUpdate): added
17601 (static TEXT): added
17603 2001-02-22 Juergen Vigna <jug@sad.it>
17605 * BufferView_pimpl.C (update): call a status update to see if LyXText
17608 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17610 * vc-backend.C (revert): implement for CVS
17611 (getLog): implement for CVS
17613 2001-02-20 Juergen Vigna <jug@sad.it>
17615 * text2.C (ClearSelection): added BufferView param for inset_owner call
17617 * lyxfunc.C (TEXT): added this function and use it instead of
17618 directly owner->view()-text of getLyXText().
17620 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17622 * src/layout_forms.C: out preamble
17623 * src/layout_forms.h: out preamble
17624 * src/lyx_cb.C: out preamble
17625 * src/lyx_cb.h: out preamble
17626 * src/lyx_gui.C: out preamble
17627 * src/lyx_gui_misc.C: out preamble
17628 * src/lyxfunc.C: connect with guii preamble
17630 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17632 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17634 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17636 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17637 whether to run bibtex.
17639 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17641 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17643 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17645 * Makefile.am (lyx_SOURCES): removed bibforms.h
17647 * vspace.h: doxygen
17649 * text.C (GetVisibleRow): make several local vars const
17651 * tabular.C: small cleanup.
17653 * lyxserver.C (callback): use compare instead of strncmp
17655 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17656 inlines to after class or to paragraph.C
17658 * lyxfont.h: remove friend operator!=
17660 * converter.h: move friend bool operator< to non friend and after
17663 * combox.h: small cleanup
17665 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17666 to inlines after class def.
17668 * buffer.C (pop_tag): use string operations instead of strcmp
17670 * bmtable.c: doxygen, small cleanup
17672 * LaTeX.h: remove friend operator==
17674 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17686 * BufferView_pimpl.C:
17687 * BufferView.[Ch]: remove cruft
17689 2001-02-14 Juergen Vigna <jug@sad.it>
17691 * lyxfunc.C: removed #if 0 unused code
17693 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17695 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17697 * text2.C (SetSelection): added a BufferView * parameter
17699 2001-02-13 Juergen Vigna <jug@sad.it>
17701 * lyxfunc.C (Dispatch): fixed protected blank problem.
17702 * BufferView2.C (protectedBlank): added LyxText * parameter.
17704 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17705 (AppendColumn): same as above for column_info.
17707 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17708 (moveCursorUpdate): use a LyXText param for support of InsetText.
17710 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17711 (tripleClick): ditto
17713 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17715 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17717 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17719 * text2.C (SetSelection): set correct update status if inset_owner
17720 (ToggleFree): ditto
17722 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17724 * tabular.C: remove some commented code.
17726 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17728 * BufferView_pimpl.C: call hideSplash()
17730 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17733 * bibforms.h: remove
17736 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17737 add LFUN_CHILD_CREATE
17739 * counters.h: fix tiny typo
17744 * lyx.C: move splash to frontends/xforms/
17746 * lyx_gui_misc.C: move Include and Bibform to frontends
17748 * lyxvc.h: clarify comment
17750 * vspace.C: tiny housekeeping
17752 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17754 * text.C (PrepareToPrint): RTL Fix.
17756 * paragraph.C (GetUChar): New method.
17757 (String): Use GetUChar.
17759 * buffer.C (asciiParagraph): Use GetUChar.
17761 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17763 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17765 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17768 * buffer.C: rename to getLogName(), handle
17769 build log / latex log nicely
17771 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17774 * MenuBackend.h: remove support for reference menuitem type.
17776 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17778 * BufferView_pimpl.C: housekeeping
17779 * BufferView_pimpl.h:
17784 * minibuffer.h: move Timeout GUI-I
17786 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17788 * lyxrc.C (read): Update converters data-structures.
17790 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17792 * LaTeX.h (operator!=): add operator != for Aux_Info
17794 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17796 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17798 * LaTeXLog.C: deleted, useful code moved to Buffer
17801 * buffer.C: new function getLatexLogName()
17807 * lyxfunc.C: use frontends for LaTeX and VC logs
17809 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17811 * LaTeX.h: yet another std:: that Allan forgot.
17813 * Variables.C (set): renamed from isset(), because this clashes
17814 with some HP-UX macros (grr).
17816 2001-02-06 Allan Rae <rae@lyx.org>
17818 * LaTeX.h: Another bug fix. Missing std:: this time.
17820 2001-02-04 Allan Rae <rae@lyx.org>
17822 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17823 floats problem. I've left it commented out because it's not quite
17824 correct. It should also test that the current object is a table or
17825 figure inset. But I haven't gotten around to figuring out how to do
17826 that. I *think* it'll be something like: "table" == inset.type()
17828 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17831 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17833 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17834 all the citation/databases/styles in the auxilary file.
17835 (run): Rerun latex if there was a babel language error.
17837 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17839 * text.C (Backspace): Preserve the font when changing newline char
17841 (BreakParagraph): If the cursor is before a space, delete the space.
17843 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17845 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17847 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17848 new argument (code).
17849 (ChangeCitationsIfUnique): New method.
17851 * paragraph.C (GetPositionOfInset): Handle bibkey.
17853 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17855 * BufferView_pimpl.h: change type of Position::par_pos to
17856 LyXParagraph::size_type.
17858 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17860 * BufferView_pimpl.C (savePosition, restorePosition): Write
17861 messages to minibuffer.
17863 2001-01-28 José Matos <jamatos@fep.up.pt>
17865 * buffer.C (makeDocBookFile): adds support for document language.
17866 A silly restriction on the name of LatexCommand types where removed.
17867 Added support for CDATA sections, allows to chars unescaped, used
17868 among others in code, to avoid escape < and >.
17870 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17872 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17873 saved positions instrad of a stack. Furthermore, a position is
17874 stored using paragraph id/paragraph position.
17876 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17877 Remove LFUN_REF_BACK.
17879 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17881 * converter.C (dvipdfm_options): New method.
17883 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17885 * vspace.C (isValidLength): Fix for empty input string.
17887 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17889 * LyXAction.C (init): change description of LFUN_FIGURE to
17892 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17894 * LaTeX.C: add using directive
17896 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17898 * MenuBackend.C (expand): Fix the sorting of the formats.
17900 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17902 * lyx_main.C: tiny error message fix
17904 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17906 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17907 calling fl_initialize(). This fixes the problem with ',' as
17908 decimal separator in text files.
17910 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17912 * trans.C (process): Fix the keymap bug.
17914 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17916 * LaTeX.C (scanAuxFiles): New method. Provides support for
17917 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17918 (scanLogFile) Scan for "run BibTeX" messages.
17920 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17921 OT1 font encoding. Also, load the aecompl package if the ae
17924 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17926 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17928 * texrow.C (increasePos): turn two error messages into debug
17931 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17933 * LaTeX.C (scanAux): Handle the \@input macro.
17934 (runBibTeX): Use scanAux().
17936 * language.C (latex_options_): New field.
17938 * LaTeXFeatures.C (getMacros): Add language macros.
17940 * buffer.C (makeLaTeXFile): Small fix.
17942 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17944 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17946 * text2.C: add a using directive.
17948 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17953 * lyxfunc.C: kill LyXBell.
17955 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17957 * text.C (IsBoundary): Remove the error message
17959 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17961 * lyxrc.C (setDefaults): Correct initialization value for
17964 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17966 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17969 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17970 and GotoNextNote().
17972 * src/LyXAction.C: Added reference-next.
17974 * text.C (InsertChar): Use contains instead of strchr.
17976 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17978 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17980 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17981 alignment commands (when needed).
17983 * text.C (InsertChar): Add ':' to number separator chars.