1 2005-07-16 Juergen Vigna <jug@lyx.org>
3 * text.C (currentState): output the actual Boundary
5 2005-07-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * factory.C (createInset): fix bad logic for tabular creation
9 2005-07-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11 * lyx_main.C (init): change some reLyX reference to tex2lyx
13 2005-07-16 Juergen Vigna <jug@lyx.org>
15 * dociterator.C (DocIterator): initialize boundary
17 2005-07-16 Juergen Vigna <jug@lyx.org>
19 * text2.C (getColumnNearX): Consider rows without trailing blank.
21 2005-07-16 André Pönitz <poenitz@gmx.net>
23 * lyxfont.h: Change order of declarations to give the compiler
24 a better chance to inline things
26 * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
27 questions on unsaved docs for better scritability
29 2005-07-16 André Pönitz <poenitz@gmx.net>
31 * paragraph.h (getChar): remove asserts as the same kind of security
32 can be achieved by using a suitable standard library implementation
33 and the function was in the critical path (25.9% in profiler)
35 2005-07-16 Juergen Vigna <jug@lyx.org>
37 * cursor.C (bruteFind2):
38 * bufferview_funcs.C (coordOffset):
39 * text.C (cursorX,cursorY): Handle cursor position after last char
40 in row before a inset which uses a whole row.
42 2005-07-15 José Matos <jamatos@lyx.org>
44 * output_plaintext.[Ch] (writeFileAscii): control reference title
46 (asciiParagraph): noparbreak was already deal and was incorrectly
49 2005-07-15 Juergen Vigna <jug@lyx.org>
51 * lyxfunc.C (dispatch): save and restore the cursor after a
54 2005-07-15 Lars Gullik Bjønnes <lgb@tandberg.net>
56 * text.C (backspace): bug 806 for empty keepempty paragraphs we
57 change the layout to default before letting DEPM do its thing.
59 * paragraph_funcs.C (breakParagraph): dont reset the layout on
62 * text.C (setCursorFromCoordinates): add a debug statement
64 * text2.C (getColumnNearX): bug 1825 make sure that we don't
65 return a pos that is not on the row
67 * output_latex.C (TeXDeeper): get rid of potential dereferencing
68 of past the end iterator
70 2005-07-14 André Pönitz <poenitz@gmx.net>
72 * undo.C (recordUndoFullBuffer): implement undo for
75 2005-07-14 André Pönitz <poenitz@gmx.net>
77 * cursor.C (setSelection): open insets when selection is set there
78 to avoid crashs with cold coord cache
80 2005-07-14 André Pönitz <poenitz@gmx.net>
82 * trans_mgr.C (insert): move cursor to the right after inserting
85 2005-07-14 Lars Gullik Bjønnes <larsbj@lyx.org>
87 * BufferView_pimpl.C (update): dampen some of the debug blabbering
88 * factory.C (readInset): ditto
89 * text.C, text2.C: ditto
91 2005-06-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * buffer.C: format incremented to 242. There is no file format per
94 se, but the "frenchb" language has been removed from lib/language
95 and has to be translated to "french" by lyx2lyx.
97 2005-07-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * cursor_slice.h, dociterator.h: add some documentation
100 * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
102 2005-07-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
104 * text.C (leftMargin): do not add identation to display() style
105 insets, because they are always centered (bug 1293).
107 2005-07-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
109 * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
110 formatted_time methods in support/lyxtime.
112 2005-07-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
114 * toc.[Ch]: new method getGuiName, which is used by the frontends
115 to set the toc combo (fixes bug 1870). Make TOC string translatable.
117 2005-07-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
119 * dociterator.[Ch]: implement operator==(StableDocIterator const &,
120 StableDocIterator const &)
121 * undo.C (recordUndo): use the above instead of cell.size() comparison
122 (fixes bug 1808; instructed by André).
124 2005-06-29 Martin Vermeer <martin.vermeer@hut.fi>
127 * dociterator.h: Fix the assert when copying rows/cols in math
129 2005-06-25 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
131 * BufferView_pimpl.C:
133 * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
135 * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
136 (findInset): new functions, refactored from goto Inset that return
137 the position of a certain inset without setting the buffer's cursor
139 (gotoInset): rewrite to call findInset and then set the cursor
142 2005-06-16 Angus Leeming <leeming@lyx.org>
144 * lyxrc.C (output, read): wrap all input and output of paths with
145 calls to os::internal_path and os::external_path, respectively.
146 (output): wrap bind_file inside quotes.
148 * format.C (view): enable the viewer to use the '$$s' placeholder.
150 2005-06-16 Georg Baum <Georg.Baum@post.rwth-aachen.de>
152 * LColor.[Ch] (getFromLaTeXName): new
154 2005-06-16 Martin Vermeer <martin.vermeer@hut.fi>
156 * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
158 2005-06-14 Angus Leeming <leeming@lyx.org>
160 * lyx_main.C (init): ensure that the LyX binary dir is the first
161 element in the PATH on non-POSIX builds.
163 2005-06-11 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
167 2005-06-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * rowpainter.C (paintInset, paintHebrewComposeChar)
170 (paintArabicComposeChar, paintChars): add a LyXFont argument.
171 (paintChars): use getFontSpan to reduce calls to getFont to a
172 minimum; use Paragraph::lookupChange instead of isXXXText.
173 (paintForeignMark): rename LyXFont argument.
174 (paintFromPos): pass a LyXFont object to the various paintXXX
177 * FontIterator.C (FontIterator, operator++): use
178 Paragraph::getFontSpan
180 * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
181 version that returns the font span as a pair.
183 2005-06-09 Angus Leeming <leeming@lyx.org>
185 * converter.C (convert): Don't forget "outfile = real_outfile" as
186 the final step in a conversion where the input and output file names
187 are the same. Otherwise, future conversion steps won't work...
189 2005-06-09 Angus Leeming <leeming@lyx.org>
191 * lyxsocket.C: remove stub code as it isn't needed by
192 MinGW/MinSYS anyway. Let's see if the MSVC people scream...
194 2005-06-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
196 * lyx_main.C (parse_execute): Fix last fix: is_gui = false
197 effectively disabled -x
199 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
201 * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
202 when it actually makes sense.
204 2005-06-06 Martin Vermeer <martin.vermeer@hut.fi>
206 * BufferView_pimpl.C: revert to showCursor in connection with
207 Lars's front-end stack
209 2005-06-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * text.C (redoParagraph): move cursor right after a bibitem
214 * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
216 2005-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * buffer_funcs.C (bufferErrors): fix computation of the end of an
221 2005-05-31 Martin Vermeer <martin.vermeer@hut.fi>
223 * BufferView.[Ch] (update):
224 * BufferView_pimpl.[Ch] (update, metrics):
225 * dimension.h (operator==):
226 * lyxfunc.C (dispatch):
227 * metricsinfo.h (ViewMetricsInfo):
228 * rowpainter.C (paintText):
230 * text.C (redoParagraph):
231 * text3.C (dispatch): Make LyX only repaint current paragraph in
232 case of character insert --> speedup. Also fix cursor draw
235 2005-05-31 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * bufferview_funcs.C (gotoInset): fix the wrap-around code to
238 avoid a crash (bug 1891)
240 2005-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * text2.C (getStringToIndex): constify cur argument.
246 * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
247 argument has been given
248 (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
249 try to invoke LFUN_INSET_APPLY).
251 * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
252 if no inset was created by doInsertInset
253 (doInsertInset): return true if an inset has been inserted.
255 2005-05-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
257 * vspace.C (asGUIName): new method. A version of the space
258 suitable for showing on screen.
260 2005-05-20 Michael Schmitt <michael.schmitt@teststep.org>
263 * lyxrc.C: rename "ASCII" to "Plain Text"
265 2005-05-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * buffer_funcs.C (expandLabel): take a Buffer as argument;
268 translate the labelstring.
269 (setCounter): translate labelstring as needed.
271 * output_docbook.C (makeCommand): fix expandLabel invokation
273 2005-05-14 Michael Schmitt <michael.schmitt@teststep.org>
275 * BufferView.C: fix dialog title
277 2005-05-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
279 * lyx_main.C (priv_exec): fix logic error with help from Angus
280 * lyx_main.C (parse_execute): set is_gui = false and remove now
281 obsolete comment about a segfault
283 2005-05-18 Angus Leeming <leeming@lyx.org>
285 * buffer.C (readFile): Quote all file names passed to lyx2lyx.
287 2005-05-12 Martin Vermeer <martin.vermeer@hut.fi>
289 * tabular.[hC]: added setCellInset to fix tabular paste.
291 2005-05-11 Lars Gullik Bjonnes <larsbj@gullik.net>
293 * buffer.C (save): check if destination is writable before trying
296 2005-05-11 Martin Vermeer <martin.vermeer@hut.fi>
298 * BufferView_pimpl.C (update): fix processEvents -caused update
301 2005-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * buffer_funcs.C (setCounter): fix test for numbering of
306 * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
307 depth correctly; use optional argument when it exists
309 * lyxtextclass.C: remove unused MaxCounterTags enum
310 (Read): compute min_toclevel_ and max_toclevel_ after reading class.
311 (max_toclevel, min_toclevel): new methods.
313 * MenuBackend.C (expandToc2): fix case where depth is smaller than
314 the smallest depth in toc.
316 * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
317 layouts that should not appear in a table of contents.
319 2005-05-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
321 * cursor.h (undispatched, noUpdate): add comments from André
323 2005-05-07 Michael Schmitt <michael.schmitt@teststep.org>
327 * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
329 2005-05-07 André Pönitz <poenitz@gmx.net>
331 * cursor.[Ch] (leaveInset): new function
333 2005-05-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
335 * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
337 2005-05-04 Angus Leeming <leeming@lyx.org>
339 * lyxfunc.C (getStatus): disable the spell checker dialog if
340 none of USE_[AIP]SPELL are defined.
342 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
344 * tabular.C (setWidthOfCell): remove obsolete comment
346 2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
348 * paragraph.C (bibitem):
349 * buffer_funcs.C (setCounter):
350 * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
352 2005-05-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
354 * text3.C (getStatus): immediately return after setOnOff
356 * rowpainter.C: fix drawing of appendix start
358 2005-05-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
360 * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
361 SwitchBetweenClasses and remove the unused return value.
362 Handle character styles, too
364 2005-05-03 Martin Vermeer <martin.vermeer@hut.fi>
366 * factory.C (createInset): handle undefined character styles
368 2005-05-02 Angus Leeming <leeming@lyx.org>
370 * buffer.C: protect the #include of utime.h with a preprocessor
373 2005-05-02 Angus Leeming <leeming@lyx.org>
375 * lyx_cb.C: artificially define fork() on Windows as a no-op failing
376 function so that auto-saving works, albeit in a blocking manner.
378 * Makefile.am: make compilation of the client sub directory, of
379 aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
380 on conditionals set at configure time.
382 * SpellBase.[Ch]: no longer an abstract base class. Instead,
383 it can be compiled in its own right but has no-op functionality.
385 * aspell.C, pspell.C: remove preprocessor guards. The files should
386 be compiled only if the necessary functionality exists.
388 * lyxserver.C, lyxsocket.C: disable on Windows.
390 2005-05-01 Martin Vermeer <martin.vermeer@hut.fi>
392 * text.C (leftMargin): Fix the parindent use bug (1764)
395 2005-04-28 Michael Schmitt <michael.schmitt@teststep.org>
397 * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
400 2005-04-25 Angus Leeming <leeming@lyx.org>
408 include <config.h> in .C files, not .h ones.
410 protect headers inside preprocessor guards.
412 2005-04-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
414 * FuncStatus.h (StatusCodes): document
416 2005-04-21 André Pönitz <poenitz@gmx.net>
418 * FuncStatus.h (enabled, onoff): document
420 2005-04-19 Angus Leeming <leeming@lyx.org>
422 * BufferView_pimpl.C (cursorToggle): no longer test whether
423 any child processes have been reaped before calling
424 handleCompletedProcesses().
426 2005-04-19 Martin Vermeer <martin.vermeer@hut.fi>
428 * text3.C (dispatch): fix, finally fix, the language problem in
429 new lyxtexts, without disabling on-the-fly font changes (Helge's
432 2005-04-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
434 * text3.C (dispatch): set cursor on double/triple click events
437 2005-04-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * lyxfunc.C (actOnUpdatedPrefs): avoid warning
440 (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
442 * rowpainter.C (paintFirst): simplify the code a little bit. In
443 particular, remove the test for secnumdepth.
444 * text.C (setHeightOfRow): only allocate space for chapter number
445 when updateCounters provided an actual label, instead of looking
446 at secnumdepth directly.
448 * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
450 * buffer_funcs.C (setCounter): only number LABEL_COUNTER
451 paragraphs when secnumdepth is large enough or, for environments,
452 when they are not the first in a sequence.
454 2005-04-17 Angus Leeming <leeming@lyx.org>
456 * buffer.C (makeLaTeXFile): replace code to manipulate a path
457 containing space and '~' characters with a call to latex_path().
459 2005-04-17 Angus Leeming <leeming@lyx.org>
461 * converter.C (convert): protect all args of convertDefault.sh
464 2005-04-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
466 * text3.C (dispatch): change the layout to "Caption" after inserting
469 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
471 * text3.C (dispatch): fix language problem in newly created
472 textinsets (and main text) in non-english docs
474 2005-04-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
476 * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
477 * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
478 * text3.C (getStatus): disable LFUN_INSET_MODIFY
480 2005-04-12 Martin Vermeer <martin.vermeer@hut.fi>
485 * rowpainter.C (getFont): Fix metrics bug introduced by inset
488 2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
490 * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
491 output of \item arguments without trailing text.
493 2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * FontIterator.C (operator*): avoid a copy of the font.
497 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
499 * rowpainter.C (getFont): fix language bug from previous fix
501 2005-04-10 Martin Vermeer <martin.vermeer@hut.fi>
503 * rowpainter.C (RowPainter, getFont): fix font inside inset
506 2005-04-06 Martin Vermeer <martin.vermeer@hut.fi>
508 * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
509 preventing inserted font, deco, delim insets jumping to start of
512 2005-03-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * lyxfunc.C (dispatch): translate message before sending it to the
517 2005-03-29 Angus Leeming <leeming@lyx.org>
519 * lyx_main.C (priv_exec): call os::internal_path on each file passed
520 to LyX on the command line.
522 2005-03-25 Stephan Witt <stephan.witt@beusen.de>
524 * vc-backend.C: use QuoteName to protect file names wherever
527 2005-03-27 Martin Vermeer <martin.vermeer@hut.fi>
530 * BranchList.h: fix bugs 1844,1845: document settings don't
533 2005-03-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * lyxrc.C (setDefaults, read, output, getDescription): add support
536 for tex_allows_spaces.
538 * exporter.C (Export): allows files in directory containing spaces
539 if tex_allows_spaces is true.
541 * buffer.C (makeLaTeXFile): if the document path contains spaces,
542 output it in double quotes.
544 2005-03-22 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
546 * rowpainter.C: use default text height for drawing change tracker
549 2005-03-21 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
551 * lyx_main.C: fix binding of tabulator key (especially S-Tab).
553 2005-03-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
555 * lyx_main.C (queryUserLyXDir): fix logic when LyX support
556 directory is missing.
558 2005-03-11 Martin Vermeer <martin.vermeer@hut.fi>
560 * text2.C: fixed the fix, extended to other case.
562 2005-03-08 Martin Vermeer <martin.vermeer@hut.fi>
564 * text2.C: fix for cursor up/down stuck in math [bug 1792]
566 2005-03-07 Alfredo Braunstein <abraunst@lyx.org>
568 * text2.C (cursorUp): get rid of a crash
569 * text.C (x2pos): add an assert
571 2005-03-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
573 * lyxfunc.C (getStatus): fix warning when assertions are disabled
577 * dociterator.C: include <boost/current_function.hpp>, which is
578 needed when assertions are disabled.
580 2005-03-05 Johnathan Burchill <jkerrb@users.sourceforge.net>
582 * text2.C: fix for stuck cursor when traversing two
583 consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
585 2005-02-25 Andreas Vox <avox@arcor.de>
587 * output_docbook.C (makeParagraph): suppress trailing newline
588 after a run of paragraphs
590 2005-02-28 Johnathan Burchill <jkerrb@users.sourceforge.net>
592 * paragraph.C: fix for confused change tracker when pasting
593 text that begins with a lineseparator. [bug 1827]
594 (setChange(0, Change::INSERTED);)
596 * paragraph_funcs.C: fix for lost changes on triple-paste
597 in change tracking mode [bug 1827] (par.setChange()).
599 2005-02-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
601 * text2.C (updateCounters, setCounter, expandLabel): move to
604 * buffer_funcs.C (updateCounters): turn into a free standing
605 function and add a buffer parameter. Remove dead code for tracking
607 (setCounter): change into a free-standing function which gets a
608 dociterator as argument. Use this iterator to fix captions in a
609 simple way. When no float is found above the caption, use the
610 labelstring of the caption layout as default.
612 * text.C (breakParagraph, backspace):
613 * text2.C (init, setLayout, changeDepth):
614 * text3.C (dispatch):
615 * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
618 * dociterator.C (forwardPar): make it much faster by calling
619 forwardPos() only when really necessary.
621 * output_docbook.C (makeCommand): adapt to expandLabel move.
623 * cursor.C: remove unused variable
625 2005-02-24 Johnathan Burchill <jkerrb@users.sourceforge.net>
627 * paragraph_funcs.C: fix crash when pasting insets in change
628 tracking mode [bug 1277] (honour change type in moveItem).
630 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
632 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
634 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * BufferView.C (setCursor): change to use a DocIterator.
637 (gotoLabel): use BufferView::setCursor (other part of bug 781).
638 (putSelectionAt): adapt to BufferView::setCursor change.
640 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
641 moved here from LyXText and rewritten to use proper cursor
642 methods. Fixes bug 1787, 616 and 835.
644 * BufferView_pimpl.C (restorePosition): set the cursor correctly
645 when inside an inset (part of bug 781).
646 (dispatch): adapt to change of BufferView::setCursor.
647 (getStatus, dispatch): handle LFUN_GOTOERROR,
648 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
650 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
651 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
652 * text3.C (gotoNextInset, gotoInset): removed.
654 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
656 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
658 2005-02-15 Angus Leeming <leeming@lyx.org>
660 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
661 can be used meaningfully in a comparison.
663 2005-02-13 André Pönitz <poenitz@gmx.net>
665 * bufferview_funcs.C (coordOffset): improve cursor drawing
667 2005-02-13 André Pönitz <poenitz@gmx.net>
669 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
670 * Cursor.C (dispatch): use fixIfBroken
671 * lyxfunc.C (getStatus): use fixIfBroken
673 2005-02-15 Angus Leeming <leeming@lyx.org>
675 * lyx_main.C (error_handler):
677 * lyxrc.C (setDefaults):
679 #include "environment.h".
681 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
683 2005-02-15 Angus Leeming <leeming@lyx.org>
685 * lyxserver.C (startPipe): squash MSVC warning "local variable
686 'fd' used without having been initialized".
688 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
690 * BufferView_pimpl.C: revert accidental commit.
692 2005-02-14 André Pönitz <poenitz@gmx.net>
694 * dociterator.[Ch]: new member forwardPosNoDescent(),
695 which doesn't enter nested insets.
696 * text2.C (setFont): use forwardPosNoDescent() instead
697 of ForwardPos() (fixes crash on font change).
699 2005-02-13 Angus Leeming <leeming@lyx.org>
701 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
702 only if lyxrc.path_prefix is not empty.
704 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * bufferparams.C (readGraphicsDriver): prevent crash
708 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * text2.C (setCounter): check for inInset() == 0
712 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
714 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
715 but use update() to get correct screen display; use convert
716 instead of istringstream.
717 (getStatus): handle LFUN_GOTO_PARAGRAPH
719 * lyxfunc.C (dispatch, getStatus): do not handle
720 LFUN_GOTO_PARAGRAPH here.
722 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
724 * text3.C (dispatch): size() -> depth()
726 * text2.C: remove some debug output
728 * paragraph.C: ws changes only
730 * lyxfunc.C (getStatus): size() -> depth()
732 * dociterator.h (clear, push_back, pop_back, internalData,
733 operator[], resize, empty): new functions
734 Make StableDocIterator and operator== be friends. Don't inherit
735 from std::vector use a privat class variable slices_ instead.
738 * dociterator.C: update because of not inheriting from std::vector
739 anymore. Call explictly to slices_ instead. Use depth() instead of
740 size() and top() instead of back()
742 * cursor.C: chagne size() -> depth and back() -> top(). Also
743 remove some direct operator[](i) calls in favour of foo[i]
744 (getFont): remove some dead code
746 * bufferview_funcs.C (coordOffset): size() -> depth()
748 * buffer.C: ws changes only
750 * CutAndPaste.C (eraseSelection): back() -> top()
752 * BufferView_pimpl.C (selectionRequested): back() -> top()
754 * BufferView.C (setCursor): size() -> depth()
756 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
758 * text3.C (cursorPrevious): return true if depm changed something
760 (dispatch): rename sl to oldTopSlice, remove moving use the new
761 NoUpdate func attrib instead. Make sure that needsUpdate is set
762 for function that have NoUpdate, but where depm might have changed
765 * text2.C (cursorLeft): make us return true if depm changed
768 (cursorUpParagraph): ditto
769 (curosrDownParagraph): ditto
770 (cursorUp, cursorDown): ditto, make sure to read comments in code
771 (deleteEmptyParagraphMechanism): remove an assert, also return
772 true if just a single char was deleted.
774 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
775 cursor that we modify, to avoid modifying an active cursor before
776 we call setCursor. This allows depm to run. Also return true if
777 depm deleted something.
779 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
780 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
781 cursorDownParagraph, cursorPrevious and cursorNext, return true if
782 something was changed in the buffer because of them (ie. depm run)
784 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
785 debug messages. Make update by default be false. Make sure that
786 the result of update is retained throught several calls down to
789 * LyXAction.h: add a new func_attrib: NoUpdate
791 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
792 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
793 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
795 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
797 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
799 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
800 bv_->owner(), bv_->buffer() by direct references to the private
802 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
803 (getStatus): isSavedPosition() is in BufferView::Pimpl.
804 (fitCursor): center() is in BufferView::Pimpl.
805 (getStatus, trackChanges, dispatch): no need for a temporary buf
807 (fitCursor, workAreaDispatch): use workarea().workheight()
809 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
811 * CutAndPaste.C (pasteSelectionHelper): fix a crash
813 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
815 * buffer.C: format up to 241.
816 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
817 break if pasting into ERT
818 * lyxfunc.C (getStatus): suppress mathpanel and
819 LFUN_DIALOG_SHOW_NEW_INSET in ERT
821 2005-02-01 Angus Leeming <leeming@lyx.org>
823 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
825 2005-02-01 Angus Leeming <leeming@lyx.org>
827 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
828 calling fs::is_directory().
830 2005-01-31 Angus Leeming <leeming@lyx.org>
832 * lyx_main.C (priv_exec): specify explicitly the relative location
833 of the top level build directory when run in-place.
835 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
838 LyXText containing the cursor, not the top-level one.
840 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
842 (insertStringAsLines): rename par to pit; use temporary variable
843 par to hold a Paragraph; do not store par.layout() in a variable,
844 since the pointer may die when breaking paragraphs; pass pars to
845 breakParagraph() instead of Buffer::paragraphs().
847 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
849 * lyxlex_pimpl.h: #include <fstream>.
851 * BufferView.[Ch] (getLyXText): add a const version.
853 * BufferView_pimpl.C: add debug aids.
858 * paragraph_funcs.h: add commentary explaining what the class does.
861 * coordcache.[Ch]: add lots of commentary.
862 (startUpdating, doneUpdating): debug aids.
863 (arrays, insets, parPos, getParPos): accessors to private data.
865 * cursor_slice.[Ch] (text): add a const version.
866 * dociterator.[Ch] (text, innerText): add const versions.
868 * lyxtext.h (breakParagraph): change the keep_layout arg to a
871 * paragraph.C (getRow, pos2ros): add asserts.
873 * paragraph.h: add commentary. Lots of.
875 * paragraph.[Ch] (metrucs, draw): removed.
878 * rowpainter.[Ch]: const-correct changes.
880 * text.C: various obvious clean-ups. Removal of ancient cruft.
883 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
885 * vc-backend.C (find_file): rewrite to use boost.filesystem
888 * main.C (main): set default name check for boost.filesystem to
891 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
894 (actOnUpdatedPrefs): ditto
896 * lyx_main.C (init): rewrite to use boost.filesystem
897 (queryUserLyXDir): ditto
899 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
900 (getContentsOfAsciiFile): ditto
902 * lastfiles.C (readFile): rewrite to use boost.filesystem
904 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
906 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
909 * buffer.C (Buffer): adjust for destroydir
910 (getLogName): rewrite to use boost.filesystem
912 (save): use fs::copy_file (from fs_extras)
914 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
916 * LaTeX.C (run): rewrite to use boost.filesystem
917 (scanAuxFiles): ditto
918 (handleFoundFile): ditto
920 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
922 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
924 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
926 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * lyxlayout.[Ch]: change some vars from float to double
930 * buffer.C (readFile): make a local var const
932 * Several files: use convert<> instead of atoi,strToXXX and friends
934 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
936 * LaTeXFeatures.[Ch]: Add a static list packages_ that
937 holds the contents of packages.lst. New functions getAvailable
938 and isAvailable to parse and check that list, resp.
942 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
944 * bufferparams.[Ch]: new param output_changes.
946 * Buffer.C: increase file format to 240.
947 Use output_changes and isVailable.
951 * paragraph_pimpl.C: Use output_changes and isVailable.
953 2005-01-23 Angus Leeming <leeming@lyx.org>
955 * output_latex.C: #include "insetbibitem.h", rather than
956 forward declare function bibitemWidest.
958 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
960 * lyx_main.C (init): make it compile on the Mac.
962 2005-01-20 Angus Leeming <leeming@lyx.org>
964 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
965 (setLyXMisc): (char string literal) != (char string literal) is
966 performing a comparison on the addresses. Convert one operand
967 explicitly to string to guarantee expected behaviour.
970 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
973 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
975 * output_plaintext.C: remove unneeded #include gzstream.h.
977 2005-01-20 Angus Leeming <leeming@lyx.org>
979 * SpellBase.h: rename some of the elements of the Result enum.
986 * pspell.C (check): ditto
988 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
990 * buffer.C: add #include <fstream>.
992 * lyx_main.C (init): Compile fix.
994 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
996 2005-01-20 Angus Leeming <leeming@lyx.org>
998 * mover.h: change commentary to reflect the changed meaning of
1001 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * output_linuxdoc.C (linuxdocParagraphs): silence warning
1005 * lyxfind.C (MatchString::operator()): remove bogus semicolon
1007 2005-01-20 Angus Leeming <leeming@lyx.org>
1009 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1010 printing diagnostic data by not dereferecing an iterator past the
1013 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
1015 * buffer.C (readHeader): use "&&" rather than "and".
1017 * lyxserver.h (inPipeName, outPipeName): make these const.
1019 2005-01-19 Angus Leeming <leeming@lyx.org>
1021 * lyx_main.C (error_handler, init): protect SIGHUP with
1022 #ifdef SIGHUP guards.
1024 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1026 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1028 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * text.C (setHeightOfRow): add a margin at the top and bottom of
1031 the document (bug 1761)
1033 2005-01-17 Angus Leeming <leeming@lyx.org>
1035 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1036 with "python ". Workaround for a brain-dead Windows.
1038 2005-01-16 Angus Leeming <leeming@lyx.org>
1040 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1041 for MacOSX and Windows to use prependEnvPath.
1042 Strip out the hard-coded block to add elements to the PATH for
1043 MacOSX and replace it with a call to prependEnvPath using the
1044 contents of LyXRC::path_prefix.
1045 (queryUserLyXDir): strip out the code to run reconfigure, instead
1046 returning a boolean indicating the necessity to do so.
1047 (reconfigureUserLyXDir): contains the code to reconfigure the
1048 user support directory. Is now called after the various LyXRC data
1049 files have been read.
1051 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1053 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1055 * converter.[Ch] (convert): take a new parameter try_default. Use
1056 a default converter (imagemagick) if try_default is true.
1058 2005-01-13 Angus Leeming <leeming@lyx.org>
1060 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1061 os::cygwin_path_fix.
1062 (write): output LyXRC::cygwin_path_fix as necessary.
1064 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
1067 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1069 2005-01-12 Angus Leeming <leeming@lyx.org>
1071 * lyx_main.C (init): set the PATH variable to include the
1072 directory containing the LyX binary when running on Mac or Windows.
1074 2005-01-12 Angus Leeming <leeming@lyx.org>
1076 * lyx_main.C (init): remove cruft that purports to set the locale
1077 dir. It doesn't and is not needed anyway.
1079 2005-01-10 Angus Leeming <leeming@lyx.org>
1081 * Makefile.am: remove the lyx_main.C special casing.
1083 * BufferView_pimpl.C:
1089 * messages.C: use support/package.h to provide the paths to the
1090 various directories used by LyX.
1092 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1094 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1095 layout if pasting into an empty paragraph)
1097 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1099 * tex-accent.C: add <string>
1101 2005-01-06 José Matos <jamatos@lyx.org>
1103 * ParagraphParameters.C (write): put every parameter in its own line.
1104 * paragraph.C (write): reduce number of consecutive empty lines exported.
1105 * buffer.C (LYX_FORMAT): increase file format to 239.
1107 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1109 * everywhere: change support/tostr.h -> support/convert.h
1111 * tabular.C: make all write_attributes templates, tostr -> convert
1113 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1114 (emptyTag): and -> &&, and fix type for ret from getChar
1115 (getFirstWord): fix type for ret from getChar
1116 (onlyText): and -> &&
1117 (simpleDocBookOnePar): and not -> && !, fix type for ret from
1120 * toc.C (goTo, action):
1121 * text3.C (dispatch):
1122 * text.C (currentState):
1123 * tex-accent.C (DoAccent):
1126 * lyxfunc.C (menuNew):
1127 * lyxfinc.C (replace):
1128 * counters.C (laberItem):
1129 * bufferview_funcs.C (font2string):
1130 * bufferparams.C (writeFile):
1131 * buffer.C (readFile):
1133 * MenuBackend.C: tostr -> convert
1135 * LaTeX.C (runMessage): fix format
1136 (scanAuxFiles): tostr -> convert
1138 * BufferView_pimpl.C (savePosition): fix format
1139 (restorePosition): ditto
1142 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1144 * Spacing.[Ch]: New method getValueAsString().
1148 * ParagraphParameters.C:
1151 * text3.C: store/read spacing value as string.
1153 * rowpainter.C: change float value (spacing_val) to double.
1155 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1156 broken custom document spacing).
1158 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1161 namespace, also more use of temp references and const
1163 * cursor.[Ch] (getStatus): move to lyxfunc.C
1165 * bufferparams.C: reformat slightly
1167 * bufferview_funcs.C (font2string): constify arg
1173 * buffer_funcs.C: (many funcs): constify arg on function
1174 definitions, also make more local vars const, also add ASSERTS on
1177 * buffer.C (LYX_FORMAT): put const in correct place
1178 (many funcs): constify arg on function definitions, also make
1179 more local vars const
1181 * aspell_local.h: remove "struct" from typdef setup
1183 * aspell.C (check): make word_ok const
1184 (nextMiss): simplify slightly
1187 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1189 * lyxrc.[Ch]: store all float values as strings.
1190 use int (not float) for lyxrc.dpi.
1192 2005-01-04 Angus Leeming <leeming@lyx.org>
1194 * lyx_cb.C (Reconfigure):
1195 * lyx_main.C (queryUserLyXDir):
1196 to run the <system_lyxdir>/configure correctly on Windows, prefix
1197 the path to the script with "sh " when generating the string that
1198 is passed to system().
1200 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1202 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1204 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1206 * lyxlength.C (asLatexString): get rid of setprecision
1208 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * text2.C (setLayout): remove unused variable endpit.
1211 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1213 * paragraph.C (onlyText): remove unused variable style.
1215 * cursor.C (bruteFind): remove unused variables beg and end.
1217 * Makefile.am (dist_noinset_DATA): not needed anymore
1219 * cheaders/*: remove.
1221 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1223 * text3.C: fix LFUN_MATH_MODE.
1225 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * buffer_funcs.C (countWords): new function. Counts words between
1230 * BufferView_pimpl.C (getStatus, dispatch): handle
1233 * LyXAction.C (init):
1234 * lfuns.h: add LFUN_WORDS_COUNT.
1236 2004-12-19 Angus Leeming <leeming@lyx.org>
1238 * buffer.C (save): s/slashify_path/internal_path/.
1240 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1242 * lyxfind.C (findChange): do not search for end of pars, because
1243 the change tracker cannot handle this (fixes bug 1719).
1245 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
1247 * paragraph.[Ch] (autoBreakRows): remove
1249 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1251 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1252 avoid using the paragraph one
1254 * text2.C (LyXText, insertStringAsLines): adjust
1256 2004-12-16 Angus Leeming <leeming@lyx.org>
1260 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1262 2004-12-14 Angus Leeming <leeming@lyx.org>
1264 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1266 * bufferlist.C (emergencyWrite):
1267 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1270 2004-12-14 Angus Leeming <leeming@lyx.org>
1272 * main.C: (main): no longer pass pointers to os::init.
1274 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1276 * undo.C (textUndoOrRedo): simplify logic, fix a crash
1277 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1279 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1282 * text3.C: remove selection_possible global flag
1284 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
1286 * text2.C (getSelectionSpan): remove
1287 (changeDepth, changeDepthAllowed): adjust
1289 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
1291 * Makefile.am (BOOST_LIBS): use boost variables
1293 2004-12-03 José Matos <jamatos@lyx.org>
1295 * buffer.C: format up to 238.
1297 2004-12-03 José Matos <jamatos@lyx.org>
1299 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1301 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
1303 * cursor.C (goUpDown): remove call to idxUpDown2
1305 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1307 * tabular.[Ch]: use size_t-like types for cell, row and column
1310 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * lyxfunc.C (getStatus): do not lose previous information when
1313 calling BufferView::getStatus; do not set a default "Command
1314 disabled" message at the beginning, but just before returning.
1316 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1318 * cursor.h (getStatus): add better comment from src/cursor.C
1320 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * text3.C (getStatus): return false when the lfun is not handled
1324 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * broken_headers.h: remove
1328 * Makefile.am (lyx_SOURCES): remove broken_headers.h
1330 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1332 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1333 offset_ref accessors
1335 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1336 top_y_, merge fitcursor with update
1337 (updateScrollbar, scrollDocView, fitCursor, center, update): new
1339 (metrics): introduce
1340 (workAreaDispatch): adapt to new coord scheme
1341 (redoCurrentBuffer): remove
1343 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1345 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1348 * coordcache.[Ch]: add paragraph cache and helpers
1350 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1353 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1354 (targetX, setTargetX): introduce
1356 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1357 baseline -> ascent, as the rest of lyx
1359 * lyxtext.h: remove redoParagraphs, updateParPositions,
1360 fullRebreak, redoParagraphInternal. move dist to anon namespace in
1361 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1362 have ascent/descent (ascent is ascent of first par)
1364 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1367 * paragraph.[Ch]: unify dimension handling with the rest of lyx
1369 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1371 * pariterator.C: fix infinite loop introduced in par->pit renaming
1373 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1374 in insets and LyXText, draw two off-screen paragraphs using
1375 NullPainter, and adapt to new coord scheme
1379 * text3.C: adapt lfun handlers to the new coord scheme, which
1380 means: there's only guaranteed coord information for onscreen pars
1381 plus one above and one below. This implies that one can do search
1382 from y coordinates in the range [-1,workHeight]
1384 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1386 * rename a lot of InsetOld to InsetBase
1388 2004-11-25 Angus Leeming <leeming@lyx.org>
1390 * BufferView_pimpl.C:
1392 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1394 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1397 call BufferView::getStatus if LCursor::getStatus did nothing
1398 (setStatusMessage, getStatusMessage): removed.
1400 * FuncStatus.C (message): new methods. Used to provide an error
1401 message indicating why a command is disabled.
1402 (clear, |=, FuncStatus): update for message.
1404 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1406 * lyxfunc.C (dispatch): always call sendDispatchMessage
1408 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
1411 * BufferView_pimpl.C:
1416 * cursor_slice.[Ch]:
1419 * paragraph_funcs.C:
1425 * undo.C: par->pit renaming
1427 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1429 * tabular.C (cellstruct): use initialization, store a shared_ptr
1430 to insettext instead of the insettext directly, adjust to fit.
1431 (operator=): new function
1432 (swap): new function
1433 (rowstruct): use initialization
1434 (columnstruct): use initialization
1435 (ltType): use initialization
1438 * lyxlength.h (swap): new function
1440 * LColor.[Ch] (operator=): use the common semantics
1442 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * lyxfind.C (findNextChange): update the bufferview after setting
1447 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1450 number of InsetOptArgs has already been inserted.
1452 * output_latex.C (latexOptArgInsets): new method. This outputs all
1453 the optarg insets, up to the limit defined in the layout file.
1454 (optArgInset): removed
1455 (TeXOnePar): call latexOptArgInsets; correctly update texrow
1457 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * paragraph.C (isLetter): remove special spellchecker-related
1460 code; return true also for digits
1461 (isWord, isKomma): remove
1463 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1464 * lyxfind.C (MatchString()): use isLetter instead of isWord
1466 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1468 * pariterator.h (operatir=): comment out un-implemented member
1471 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1474 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
1476 * lyxfont.h: include LColor.h to satisfy concept checks.
1478 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1480 * pariterator.h: add typdefs for value_type, difference_type,
1481 pointer and reference to satisfy concept checks. Also add default
1482 constructor for same reason.
1484 * pariterator.C (operator++): add post-increment operator to
1485 satisfy concept checks.
1487 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1490 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1492 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1493 checks. Also rename base_type to BaseType to follow naming
1496 * FloatList.h: include Floating.h to satisfy concept checks.
1498 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * lyxfunc.C (getStatus): when the origin of the request is menu or
1501 toolbar, and the LyXView does not have focus, do as if there was
1502 no buffer (bug 1720)
1504 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1505 FuncRequest to individual entries of LFUN_SEQUENCE
1507 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * output_latex.C (TeXOnePar): override runparams.moving_arg
1510 according to the needprotect value of the current paragraph (bug
1513 * paragraph.C (simpleTeXOnePar): no need to override
1514 runparams.moving_args here
1516 2004-11-14 John Spray <spray_john@users.sourceforge.net>
1518 * vspace.C: fix off-by-one-error, related to fix #1682
1520 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * lengthcommon.C: a more general fix for bug 1682
1524 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
1526 * text.C (backspace): fix crash
1528 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1530 * format.[Ch] (getFormatFromFile): new method
1531 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1533 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1537 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * lyxfunc.C (dispatch): remove the verbose argument
1540 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1543 * kbmap.C (defkey): set the origin of func to KEYBOARD
1545 * MenuBackend.C (MenuItem):
1546 * ToolbarBackend.C (add): set the origin of func to UI
1548 * funcrequest.[Ch]: add origin member, which indicates which part
1549 of LyX requests an action
1551 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1553 * converter.C (move): don't lie in the error message
1554 * converter.h (isReachable, move): document
1556 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1558 * buffer.C: remove unused using lyx::support::atoi
1559 * paragraph_funcs.C: ditto
1561 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1563 * bufferlist.C (exists): use bind and equal_to instead of
1566 * lyxtextclasslist.C (NumberOfClass): ditto
1568 * cursor.C (insert): use for_each instead of explicit for loop
1570 * bufferlist.C (getFileNames): use std::transform and
1571 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1573 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1576 * buffer.C (changeLanguage): use for_each instead of explicit for
1578 (hasParWithID): implement using getParFromID
1580 * LaTeXFeatures.C: ws change only
1582 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1585 * BufferView_pimpl.C (trackChanges): use for_each instead of
1588 2004-11-04 André Pönitz <poenitz@gmx.net>
1591 * undo.C (textUndoOrRedo): fix crash when creating undo information.
1593 * dociterator.C (asDocIterator): use hard assert again.
1595 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1597 * lyxlength.C (asLatexString): rewrite so that it does not use
1600 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1602 * text3.C (specialChar, dispatch): make sure cursor moves to the
1603 right after inserting an inset
1605 2004-11-02 José Matos <jamatos@lyx.org>
1607 * output_docbook.C (docbook):
1608 * paragraph.C (getID):
1609 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1610 garantee that the output is always legal.
1612 * tabular.C (docbook):
1613 * outputprams.[Ch]: remove mixed contents.
1615 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1617 * text2.C (setCounter): prevent endless loop
1619 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1621 * exporter.C (copyFile): use the mover instead of support::copy()
1622 * exporter.C (Export): pass format and latex name to copyFile()
1623 * exporter.h (addExternalFile): document
1624 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1626 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1628 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1630 2004-10-30 José Matos <jamatos@lyx.org>
1632 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1633 text and no inset or font change. This allows to use CDATA
1634 sections just for the whole paragraph.
1636 2004-10-30 José Matos <jamatos@lyx.org>
1638 * paragraph.C (getFirstWord): remove unused variable.
1640 2004-10-30 José Matos <jamatos@lyx.org>
1642 * paragraph.C (getFirstWord): the content should always be escaped
1644 (simpleDocBookOnePar):
1645 * output_docbook.C (makeEnvironment): replace reference to CDATA
1648 2004-10-30 José Matos <jamatos@lyx.org>
1650 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1652 2004-10-30 José Matos <jamatos@lyx.org>
1654 * output_docbook.C (makeParagraphs):
1655 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1656 standard paragraph has only a given type of content drop the wrapper.
1658 2004-10-29 José Matos <jamatos@lyx.org>
1660 * output_docbook.C (makeEnvironment):
1662 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1664 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1666 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1667 (cleanID): sanitize any id.
1669 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1671 * buffer.C, lyxlex_pimpl.C:
1672 * lyxlex_pimpl.C (setFile):
1673 s/getExtFromContents/getFormatFromContents/
1675 2004-10-28 José Matos <jamatos@lyx.org>
1677 * output_docbook.C (makeEnvironment): move id to broadest possible
1680 * sgml.C (openTag): apply substitution of <> for all attributes.
1682 2004-10-28 José Matos <jamatos@lyx.org>
1684 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1685 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1686 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1688 * sgml.[Ch]: new version for open and closeTag for paragraph and
1689 for strings. Now they handle the ids of paragraphs.
1691 2004-10-26 Angus Leeming <leeming@lyx.org>
1693 * Makefile.am: add mover.[Ch].
1695 * converter.C (convert, move): use the new Movers to move external
1696 files to the temp directory.
1698 * lyx_main.C (init): ensure that the global system_movers data
1701 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1704 * mover.[Ch]: new files, defining a Mover as a utility to move an
1705 external file between directories and, if necessary, manipulate this
1706 file using a helper script.
1708 2004-10-25 José Matos <jamatos@lyx.org>
1710 * output_docbook.C (makeCommand): merge two if's that tested the
1713 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1715 * sgml.C (escapeString): fix warning in a better way
1717 2004-10-25 José Matos <jamatos@lyx.org>
1719 * sgml.C (escapeString): import the require boosts header file for
1720 tie, and avoid a signed unsigned comparison.
1722 2004-10-25 José Matos <jamatos@lyx.org>
1724 * sgml.h: add #include <string>
1726 2004-10-25 José Matos <jamatos@lyx.org>
1728 * sgml.[Ch] (escapeString): new function to escape all the string.
1730 2004-10-24 José Matos <jamatos@lyx.org>
1732 * paragraph.[Ch] (getFirstWord): new function to get the first
1733 word. Useful for description.
1734 (simpleDocBookOnePar): remove depth argument, add another that
1735 says where to start the paragraph.
1737 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1738 use the new functions to fix cleanly the support for descriptions.
1740 2004-10-24 José Matos <jamatos@lyx.org>
1742 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1743 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1744 * output_linuxdoc.C (linuxdocParagraphs):
1745 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1746 add buffer as argument.
1748 2004-10-24 José Matos <jamatos@lyx.org>
1750 * output_docbook.C (makeEnvironment, searchEnvironment): place
1751 CDATA inside paragraphs and fix scope for listitems.
1753 2004-10-24 José Matos <jamatos@lyx.org>
1755 * output_docbook.C: remove using statement for stack.
1757 2004-10-23 José Matos <jamatos@lyx.org>
1759 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1760 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1761 docbook. The new scheme is recursive and makes use of iterators, the
1762 same as latex export works.
1763 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1764 directly with the paragraph contents. This code was moved up to
1765 output_docbook.C (docbookParagraphs).
1766 * sgml.C (openTag, closeTag): removed unneeded newlines.
1767 (closeEnvTags) removed.
1769 2004-10-23 André Pönitz <poenitz@gmx.net>
1771 * undo.C (textUndoOrRedo):
1772 * dociterator.C (asDocIterator): work around crash
1774 * cursor.C (getStatus): replace ASSERT by more verbose error message
1775 and manual correction of the problem. Should increase stability
1776 while providing more sensible information.
1778 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1780 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1782 * bufferlist.C (previous, next): new methods
1785 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1787 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1789 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1790 entities to preamble.
1792 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1794 * messages.C (Pimpl): strip off translation context information
1796 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1799 the cursor is correct (bug 1694)
1801 2004-10-13 José Matos <jamatos@lyx.org>
1803 * output_docbook.C (docbookParagraphs): fix closing tags in the
1804 end of the document.
1806 2004-10-09 José Matos <jamatos@lyx.org>
1808 * buffer.C: format up to 237.
1809 * bufferparams.C (write): use tostr to convert booleans to strings.
1811 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1813 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1815 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1817 * LaTeX.C: implement use of babel language in xindy.
1819 2004-10-05 José Matos <jamatos@lyx.org>
1821 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1822 Add new translators to help reading and writing the lyx file.
1824 2004-10-05 José Matos <jamatos@lyx.org>
1826 * ParagraphParameters.C (read):
1827 * text.C (readParToken): replace nexToken by more appropriate lex
1830 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1832 * LaTeX.C (runMakeIndex):
1833 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1834 (usually 'makeindex') configurable.
1836 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1837 with a variable rather than with a number.
1839 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1841 * output_latex.C (TeXOnePar): make sure font setting is the first
1842 thing that gets output (and the last at the end). Should fix bug
1845 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1847 * pch.h: use proper signal include
1849 * LaTeX.h: Use preferred calling of Boost.Signal
1852 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1854 * pch.h: dont include <boost/function/function0.hpp>
1856 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1858 * paragraph_pimpl.h: remove usage of ShareContainer
1860 * paragraph_pimpl.C: remove initialization of ShareContainer.
1862 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * BufferView.C (putSelectionAt): change the semantics when
1867 backwards == true: now, this just swaps cursor and anchor wrt the
1870 * BufferView.h (putSelectionAt): add some documentation
1872 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1873 make sure backwardChar is done at least once (to avoid getting
1875 (findNextChange): use putSelectionAt in the forward direction
1876 (operator()): use Paragraph::isWord
1878 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1880 * Spacing.C (set): c_str fix
1882 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1884 * lyx_cb.C (Reconfigure): quote the name of configure script in
1885 case it contains spaces
1887 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1891 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1892 (BOOST_LIBS): use top_buildir when looking for the file
1894 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1896 * pch.h: do not use include boost/format.hpp, multiple symbols
1897 will result (gcc bug)
1900 2004-08-23 José Matos <jamatos@lyx.org>
1902 * bufferparams.C (readToken): fix reading of the author field.
1904 2004-08-20 José Matos <jamatos@lyx.org>
1906 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1908 2004-08-20 José Matos <jamatos@lyx.org>
1910 * lyxlex.[Ch] (findToken): remove function.
1912 * ParagraphParameters.C (findToken):
1913 * bufferparams.C (findToken): replace call for previous function
1914 with local copy. This local function has one more argument, the
1915 read string argument.
1917 2004-08-16 José Matos <jamatos@lyx.org>
1919 * ParagraphParameters.C (write):
1920 * Spacing.C (writeFile):
1921 * bufferparams.C (writeLaTeX):
1922 * lyx_cb.C (Reconfigure):
1923 * paragraph.C (write):
1924 * tabular.C (write): remove unnecessary space at end of line.
1927 2004-08-16 José Matos <jamatos@lyx.org>
1929 * text.C (readParagraph): remove debug message.
1931 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1933 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1936 * output_plaintext.C (asciiParagraph): set depth correctly
1938 * outputparams.h: add member depth
1940 * paragraph_funcs.C (ownerPar): remove.
1942 * text2.C (setCounter): remove first_pit; comment out some
1943 non-working code that uses ownerPar
1945 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1948 2004-08-16 José Matos <jamatos@lyx.org>
1950 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1951 For the same level of importance use the same chanel to report problems.
1952 (read): add code to deal with \begin_body and \end_body.
1955 2004-08-15 José Matos <jamatos@lyx.org>
1957 * lyxlex.C (getString): fix comment, buffer::readBody is now
1958 buffer:readDocument.
1960 * tex-strings.C (string_papersize): Default -> default,
1961 Custom -> custom, for consistency with other options.
1963 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1967 * Makefile.am: support pch
1969 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1971 * text.C (readParToken): remove the static LyXFont variable and
1972 pass it as a parameter instead. This fixes a nasty bug where an
1973 inset will be inserted with a bad font in some situations
1974 (readParagraph): adapt
1976 * text2.C (setCounter): reduce number of calls to pars_[pit]
1978 * text.C (singleWidth): add an assert, fix a test
1980 * rowpainter.C (paintText): reduce number of calls to singleWidth
1982 * paragraph.C (isHfill):
1983 (isNewline): ws only
1985 2004-08-14 André Pönitz <poenitz@gmx.net>
1990 * lyxtext.h (several functions): use a Paragraph & argument
1993 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1995 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1997 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1999 * text.C (singleWidth): remove useless test
2001 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2003 * tabular.h: remove bogus comments
2005 * tabular.C (getDescentOfRow):
2006 (isPartOfMultiColumn): add assertions
2008 * lyxlength.C (inPixels): remove #warning
2010 2004-08-14 André Pönitz <poenitz@gmx.net>
2012 * paragraph.h: inline getChar()
2014 * BufferView.h: remove unused declarations
2016 2004-08-14 José Matos <jamatos@lyx.org>
2018 * Buffer.[Ch] (readDocument): new name for old readBody.
2019 * Buffer.C: new file format, new keywords: \begin_document,
2020 \begin_header, \begin_body, \end_body.
2022 * bufferparams.C (readToken): replace all calls to lex.nextToken
2023 by lex.next(). Do the same to eatLine except where really needed.
2025 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2026 line when writing to the lyx file.
2028 * output_plaintext.C (asciiParagraph): fix Bibliography style
2031 * text.C (read): fix end of file handling.
2033 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * MenuBackend.C (Menu::operator[]): new method to access
2036 individual menu items
2037 (Menu::hasFunc): new method. search for an item that corresponds
2039 (MenuBackend::specialMenu): new method
2040 (MenuBackend::expand): if a special menu has been set, skip
2041 entries whose func() appears in this menu
2043 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2045 * text3.C: use Debug::DEBUG a bit more
2047 * text.C (leftMargin): try to simplify a tiny bit change var x to
2048 l_margin. Dont output the wide margins always.
2049 (rightMargin): no margin in inner texts
2051 * rowpainter.h (nestMargin): new func
2052 (changebarMargin): new func
2053 (rightMargin): new func
2055 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2059 * factory.C (createInset): modify setDrawFrame
2061 * cursor.C: use Debug::DEBUG a bit more
2063 2004-08-14 André Pönitz <poenitz@gmx.net>
2066 * Makefile.am: new files to accomodate an 'external' (x,y)-position
2067 cache for all insets in (at least partially) visible (top-level)
2070 * BufferView_pimpl.C: reset external coord cache before every update.
2071 This means the coord cache only contains valid entries.
2073 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
2076 * BufferView_pimpl.C (getInsetByCode): move function out of class
2077 and change in to a template in anon namespace. Also fix to do what
2080 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
2083 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2085 (breakParagraph): rename par to par_offset and use a local
2086 reference. Add code to keep the language over a rebreak.
2087 (breakParagraphConservative): rename par to par_offset, use a
2089 (mergeParagraph): ditto
2091 (isFirstInSequence): ditto
2092 (outerFont): rename pit to par_offset
2094 * paragraph.C: ws change
2095 * paragraph.h: ditto
2099 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2104 * paragraph.C (simpleTeXOnePar): when we have a \item with
2105 optional argument, enclose the argument with curly brackets (in
2106 case it contains a closing square bracket)
2110 * text3.C (checkInsetHit): constify
2112 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2114 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2115 documents (bug 1629)
2117 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2119 Fix toggling of collapsable insets with the mouse (bug 1558)
2121 * lyxfunc.C (dispatch): adapt to LCursor changes
2123 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2124 make sure that dispatch is not invoked twice
2126 * cursor.C (needsUpdate): new method
2127 (dispatch): return void
2128 (result): new method, to access the DispatchResult of the cursor.
2130 2004-08-13 José Matos <jamatos@lyx.org>
2132 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2134 2004-08-13 André Pönitz <poenitz@gmx.net>
2136 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2138 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2141 2004-08-12 André Pönitz <poenitz@gmx.net>
2143 * text3.C: take out the 'cursor right' form insertInset and only
2144 do it in those places when it is really needed. Fixes crash on
2147 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2151 * BufferView_pimpl.C (setBuffer): initialize the current font of
2152 the underlying LyXText
2154 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2156 * kbsequence.C (print): use UI native formatting for menu
2159 * text.C (insertChar): call Paragraph::insertChar with a font
2162 * paragraph.C (insertInset, insertChar): the version that takes a
2163 LyXFont argument is now a wrapper around the other one (the
2164 opposite used to be true).
2166 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2167 argument. Font setting is done in Paragraph now.
2169 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2171 * outputparams.h: add new members intitle and lang.
2173 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2174 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2176 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2178 * text3.C (dispatch): remove special handling of button 4 and 5,
2179 it is now taken care of in the frontend code.
2181 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2183 * Spacing.h: add <string> (STLPort compile fix)
2185 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2187 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2189 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
2191 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2194 * converter.C (showMessage): inherit from unary_function, make
2197 * buffer.C (writeFile): initialize retval
2199 * InsetList.h: rename private variable list to list_
2200 * InsetList.[Ch]: adjust accordingly.
2202 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
2204 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2205 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2206 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2207 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2208 * ParagraphParameters.C, LaTeXFeatures.C: replace
2209 "support/std_sstream.h" with <sstream>
2211 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
2213 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2214 * lyxsocket.C (LyXServerSocket): ditto
2215 (serverCallback): ditto
2217 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2219 * LaTeXFeatures.C: check release date when loading jurabib.
2221 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2223 * lyxserver.C (startPipe): call register_socket_callback
2224 (endPipe): call unregister_socket_callback
2226 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
2228 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2229 (LyXServerSocket): register the callback
2230 (LyXServerSocket): unregister the callback
2231 (fd): delete function
2232 (serverCallback): improve error checking and setup the callbacks.
2233 (dataCallback): change arg to fd.
2234 (writeln): new func (copied fro the client socket) used for server
2236 (LyXDataSocket): simplify
2237 (~LyXDataSocket): close ann unregiser callback
2238 (server): delete function
2239 (fd): delete function
2240 (readln): small changes, improve some std::string usage
2241 (writeln): constify a bit
2243 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2245 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2248 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2250 * BufferView_pimpl.C (setBuffer): set the layout combox value only
2251 after it has been populated
2253 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2255 * text2.C (insertInset): move cursor when inserting inset.
2257 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2259 * kbmap.C (findbindings): a couple of new methods. returns a
2260 container of kb_sequence objects. The real work is done by the
2261 private recursive version
2262 (printbindings): uses findbindings to print out a bracketed list
2263 of bindings (renamed from findbinding).
2265 * MenuBackend.C (binding): use kb_keymap::findbindings
2267 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2269 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2271 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2273 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2275 * paragraph.C (isWord): return true on insets that report
2278 * text.C (getWord): use Paragraph::isWord to decide what is in a
2279 word and what is not; fix bug 1609.
2281 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2283 * tex-strings.C: add "none" to string_paperpackages[], fixes
2284 off-by-one-error in the paperpackage selection.
2287 * tex-strings.[Ch]: char const * string[n]
2288 -> char const * const string[]
2290 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2292 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2293 command, return early.
2295 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
2297 * debug.h: add DEBUG to enum and fix size of ANY.
2299 * debug.C: add support for Debug::DEBUG
2300 (showTags): cast errorTags.level to unsigned int
2302 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2303 (redoCurrentBuffer): ditto
2304 (updateScrollbar): ditto
2305 * cursor.C (dispatch): ditto
2306 * text2.C (setLayout): ditto
2308 (updateCounters): ditto
2310 (deleteEmptyParagraphMechanism): ditto
2312 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
2314 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2315 annotations to cleanup the Makefile slightly.
2317 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * lyxrc.C: do not set user_email to a default value but use empty
2320 instead. The entry used to be translated, which does not work
2321 since at the point where lyxrc is constructed there is no
2322 translation service available
2324 * messages.C (getLocaleDir): remove and use directly
2325 lyx_localedir() instead
2327 2004-06-02 Angus Leeming <leeming@lyx.org>
2329 Fix crash caused by dereferencing null pointer 'exportdata' in
2330 OutputParams by creating a new ExportData variable on the heap,
2331 storing it in a boost::shared_ptr.
2332 The crash was triggered when generating an Instant Preview
2333 of an external inset.
2335 * Makefile.am: add outputparams.C
2337 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2338 (c-tor): allocate memory to it.
2340 * exporter.C (c-tor): associated changes.
2342 2004-06-01 Angus Leeming <leeming@lyx.org>
2344 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2345 contains data before calling isInset(0). (Bug 1513.)
2347 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2349 * exporter.C (checkOverwrite): new method
2350 * exporter.C (copyFile): new method
2351 * exporter.C (Export): copy referenced files to the document dir
2352 * exporter.[Ch]: new class ExportedFile
2353 * exporter.[Ch]: new class ExportData. Contains currently the
2354 names of referenced external files
2355 * outputparams.h: add exportdata member.
2357 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2359 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2362 2004-05-19 Angus Leeming <leeming@lyx.org>
2367 * lyxfunc.C: small changes due to the introduction of namespace
2368 lyx::frontend and the moving of namespace biblio to lyx::biblio.
2370 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
2372 * text3.C (dispatch): supress update when only moving the cursor
2373 * cursor.C (selHandle): remove commented code
2375 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2377 * paragraph.C (startTeXParParams): correct column count
2378 * CutAndPaste.C (pasteSelection): remove const_cast
2379 * output_docbook.C (docbookParagraphs): remove const_cast
2380 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2381 const_cast and return ParagraphList::const_iterator
2382 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2383 * output_plaintext.C (writeFileAscii): remove const_cast
2384 * paragraph.[Ch] (simpleTeXOnePar): make const
2385 * paragraph_funcs.C (outerPar): use const iterators
2386 * paragraph_pimpl.C (validate): use const iterators
2387 * text.C (setHeightOfRow): use const iterators
2389 2004-05-17 Angus Leeming <leeming@lyx.org>
2392 * LyXAction.C (init): new LFUN_INSET_REFRESH.
2394 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2395 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2396 if the citation engine has changed.
2398 2004-05-14 José Matos <jamatos@lyx.org>
2400 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2401 if the textclass does not provide it. Have it different for sgml and
2403 support the language of document.
2404 * output_docbook.C (docbookParagraphs):
2405 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2406 first anchor as the id of the paragraph, remove special case code.
2407 * sgml.C (escapeChar): escape only < & >.
2409 2004-05-14 Angus Leeming <leeming@lyx.org>
2411 * bufferparams.h: move biblio::CiteEngine enum here to minimize
2412 dependencies on src/frontends/controllers/biblio.h. Define a
2413 CiteEngine_enum wrapper class to enable the enum to be forward
2416 2004-05-12 Angus Leeming <leeming@lyx.org>
2418 * buffer.C: up LYX_FORMAT to 234.
2419 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2420 use_numerical_citations with a single biblio::CiteEngine cite_engine
2422 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2424 2004-05-13 José Matos <jamatos@lyx.org>
2427 * converter.C (Converter, readFlags): add xml member.
2428 * outputparams.h: add XML flavor.
2429 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2431 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2433 * lyxfunc.C (dispatch):
2434 (getStatus): fix handling of LFUN_SEQUENCE
2436 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2438 * debug.C (showLevel): do not forget the end-of-line marker
2440 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2442 * kbmap.C (read): do not stop parsing a bind file when an error
2445 2004-04-29 Angus Leeming <leeming@lyx.org>
2450 * text2.C: wrap a bunch of #warning statements
2451 inside #ifdef WITH_WARNINGS blocks.
2453 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2455 * buffer.C: increment format to 233.
2457 2004-04-28 Angus Leeming <leeming@lyx.org>
2459 * BufferView_pimpl.C:
2462 s/updateToolbar()/updateToolbars()/
2463 s/Toolbar.h/Toolbars.h/
2465 2004-04-28 Angus Leeming <leeming@lyx.org>
2467 * BufferView.[Ch] (c-tor):
2468 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2469 No longer passes these data to the WorkArea generator.
2471 2004-04-28 Angus Leeming <leeming@lyx.org>
2473 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2475 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2477 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2479 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2481 * output_latex.C (TeXEnvironment): make sure that there is a line
2482 break before \end{foo} for the last paragraph of a document
2483 (TeXOnePar): if the paragraph is at the end of the document (or
2484 inset) and the language has to be reset, then make sure that the
2485 line break is _before_ the language command, not after (fixes bug
2486 1225); also make sure that the language reset command is the first
2487 thing after the paragraph (to ensure proper nesting of
2488 environments and thus fix bug 1404)
2490 2004-04-21 John Levon <levon@movementarian.org>
2493 * ToolbarBackend.C: make "name" be a programmatic name
2494 and a gui_name field.
2496 * lyxfunc.C: display the minibuffer on M-x
2498 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2500 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2503 2004-04-19 Angus Leeming <leeming@lyx.org>
2505 * BufferView_pimpl.C (setBuffer): changed preview interface.
2507 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2510 2004-04-19 John Levon <levon@movementarian.org>
2512 * BufferView_pimpl.C:
2513 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2515 2004-04-05 Angus Leeming <leeming@lyx.org>
2517 * text.C (redoParagraphs): add call to updateCounters(), thereby
2518 fixing the missing "Figure #:" label from the caption of a
2521 2004-04-13 Angus Leeming <leeming@lyx.org>
2523 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2524 cursor is clicked out of an inset.
2526 2004-04-13 Angus Leeming <leeming@lyx.org>
2528 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2529 than an InsetOld one.
2531 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2533 * format.[Ch]: add editor to Format
2534 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2535 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2537 2004-04-08 André Pönitz <poenitz@gmx.net>
2539 * metricsinfo.h: remove PainterInfo::width member
2541 2004-04-08 Angus Leeming <leeming@lyx.org>
2543 * lyx_sty.C (boldsymbol_def): modify so that it outputs
2544 "\providecommand" rather than "\newcommand", thereby preventing
2545 clashes with packages that define "\boldsymbol" themselves.
2548 2004-04-08 Angus Leeming <leeming@lyx.org>
2550 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2551 thereby squashing an unnecessary warning.
2553 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2555 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2558 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
2560 * BufferView.C (setCursor): call redoParagraph (some insets could
2562 (putSelectionAt): remove the 'double update' trick
2564 * BufferView_pimpl.C (fitCursor): call refreshPar
2565 (workAreaDispatch): remove an uneeded update call
2566 (dispatch): remove some manual update calls
2568 * cursor.[Ch]: remove cached_y_, updatePos
2569 (selHandle): set noUpdate when appropriate
2571 * lyxfunc.C (dispatch): track if we need an update
2573 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2575 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2576 (paintSelection): cheap optimization, do not call cursorX when not
2578 (paintPars): change signature
2581 (paintTextInset): adjust
2585 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2587 * lengthcommon.C: compilation fix: remove explicit array size from
2588 unit_name[] and friends
2590 2004-04-05 Angus Leeming <leeming@lyx.org>
2592 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2594 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2595 present only for the preferences dialog.
2596 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2598 2004-04-05 Angus Leeming <leeming@lyx.org>
2600 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2601 to enable the frontends to export changes to lyxrc correctly.
2603 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2605 2004-04-07 André Pönitz <poenitz@gmx.net>
2607 * cursor.[Ch] (selClear, adjust): remove math
2609 * cursor_slice.C: more agressive assert
2612 * BufferView_pimpl.C: rework mouse event dispatch
2619 2004-04-05 André Pönitz <poenitz@gmx.net>
2621 * cursor.[Ch] (valign, halign...): remove unneeded functions
2623 2004-04-05 Angus Leeming <leeming@lyx.org>
2625 * lyxlength.[Ch] (unit_name et al.): const-correct.
2627 2004-04-05 Angus Leeming <leeming@lyx.org>
2629 * BufferView_pimpl.C:
2638 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2640 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2642 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2644 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2646 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2647 * BufferView_pimpl.[Ch] (getStatus)
2648 * BufferView.[Ch] (getStatus): add
2649 * lyxfunc.C (getStatus): move lfuns handled in
2650 BufferView::dispatch to te function above
2651 * Cursor.C (setSelection): set selection() = true
2653 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2655 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2657 2004-03-31 Angus Leeming <leeming@lyx.org>
2659 * lyxfunc.C (dispatch): Fall through to the generic
2660 Dialogs::show("preamble").
2662 2004-03-31 Angus Leeming <leeming@lyx.org>
2664 * lyxfunc.C (dispatch): Fall through to the generic
2665 Dialogs::show("spellchecker").
2667 2004-03-31 Angus Leeming <leeming@lyx.org>
2669 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2672 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2677 * insetiterator.[Ch]:
2682 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2684 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2686 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2687 insets where we are putting the cursor.
2689 2004-03-31 Angus Leeming <leeming@lyx.org>
2692 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2694 * lyxrc.[Ch] (read, write): overloaded member functions taking
2695 a std::[io]stream arguments.
2697 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2699 2004-03-31 Angus Leeming <leeming@lyx.org>
2701 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2702 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2704 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2705 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2707 2004-03-31 Angus Leeming <leeming@lyx.org>
2709 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2710 the LFUN_ALL_INSETS_TOGGLE code.
2712 2004-03-30 Angus Leeming <leeming@lyx.org>
2714 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2715 has died. Fall through to the generic Dialogs::show("document").
2717 2004-03-30 Angus Leeming <leeming@lyx.org>
2720 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2721 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2723 * lyxfunc.C (getStatus, dispatch): define the actions for these
2724 lfuns. Little more than a cut and pste job from ControlDocument.C
2726 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2728 2004-03-30 Angus Leeming <leeming@lyx.org>
2731 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2732 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2734 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2735 open/closed state of ollapsable insets. Usage:
2737 all-inset-toggle <state> <name>, where
2738 <state> == "open" || "closed" || "toggle" and
2739 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2741 * lyxtext.h, text2.C (toggleInset): removed.
2743 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2744 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2745 now passes LFUN_INSET_TOGGLE to the found inset.
2747 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2748 is now invoked as "all-insets-toggle toggle branch".
2750 2004-03-30 Angus Leeming <leeming@lyx.org>
2754 * pariterator.[Ch]: added/corrected header blurb.
2756 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2758 * dociterator.[Ch]: add an inset_ member
2759 (backwardPos): implemented
2760 (backwardPos, forwardPos): use inset_ when the stack is empty.
2761 (doc_iterator_begin, doc_iterator_end): implemented
2762 * pariterator.[Ch]: adjust, add begin, end
2763 * insetiterator.[Ch]: adjust, add begin, end
2767 * BufferView_pimpl.C:
2768 * CutAndPaste.C: adjust
2770 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2772 * buffer.C: increment file format to 232.
2773 * LaTeXFeatures.C: add bibtopic package.
2774 * bufferparams.[Ch]: param \use_bibtopic.
2776 * lyxrc.[Ch]: add lyxrc bibtex_command
2777 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2779 * buffer.C: increment file format to 231.
2781 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2783 * dociterator.C: implement forwardPar
2784 * iterators.[Ch]: remove, replaced by
2785 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2787 * BufferView_pimpl.C:
2790 * bufferview_funcs.C:
2796 * Makefile.am: adjust
2798 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2800 * CutAndPaste.C (pasteSelection): fix 2 crashes
2801 (eraseSelection): fix a crash
2802 * paragraph_funcs.C: remove a warning
2804 2004-03-28 Angus Leeming <leeming@lyx.org>
2807 * LyXAction.C (init): new LFUN_PRINT.
2809 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2811 2004-03-27 Angus Leeming <leeming@lyx.org>
2814 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2816 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2818 2004-03-27 Angus Leeming <leeming@lyx.org>
2820 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2821 insetlist always contains non-null pointers to insets.
2823 2004-03-26 Angus Leeming <leeming@lyx.org>
2825 * src/BufferView_pimpl.C:
2826 * src/CutAndPaste.C:
2829 * src/output_plaintext.C:
2830 * src/outputparams.h:
2831 * src/paragraph_funcs.C:
2835 * src/frontends/controllers/ControlErrorList.C:
2836 * src/frontends/gtk/FileDialogPrivate.C:
2837 * src/frontends/gtk/GPainter.C:
2838 * src/frontends/gtk/GToolbar.C:
2839 * src/frontends/qt2/QRef.C:
2840 * src/mathed/math_scriptinset.C: squash compiler warnings.
2842 2004-03-26 Angus Leeming <leeming@lyx.org>
2844 * ispell.C (LaunchIspell::start):
2845 * lyx_cb.C (AutoSaveBuffer::start):
2846 invoke run(DontWait) rather than runNonBlocking().
2848 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2850 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2852 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2854 * kbsequence.C (print): adjust
2856 * kbmap.C (printKeySym): rename and change signature
2857 (printKey): use LyXKeySym::print()
2859 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2861 * undo.C: add using std::advance to compile for stlport
2863 2004-03-24 Angus Leeming <leeming@lyx.org>
2865 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2866 it leads to a crash when no buffer is present.
2868 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2869 Martin Vermeer <martin.vermeer@hut.fi>
2871 * lyxfunc.C (dispatch):
2872 * bufferparams.C (readToken): use the new LColor::setColor
2874 * LColor.[Ch] (setColor): new version that takes two strings as
2875 argument and creates a new color entry if necessary
2877 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2879 * buffer.C (makeLaTeXFile): if the main latex file that is
2880 processed is usually a subdocument of some master, then pretend
2881 for a while that it is actually the master
2883 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2885 * buffer.C (getLabelList):
2886 (getBibkeyList): use getMasterBuffer()
2887 (getMasterBuffer): new method. Returns the main document in the
2888 case where one is using included documents.
2890 2004-03-25 André Pönitz <poenitz@gmx.net>
2894 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2896 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2898 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2899 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2901 * ParameterStruct.h: merge with ParagraphParameters
2903 * lyxtext.h: remove LyXText::parOffset() and getPar()
2905 * text3.C: Remove all 'manual' update calls. We do now one per user
2906 interaction which is completely sufficient.
2910 * BufferView_pimpl.C:
2911 * FontIterator.[Ch]:
2913 * ParagraphParameters.[Ch]:
2918 * cursor_slice.[Ch]:
2925 * output_docbook.[Ch]:
2926 * output_latex.[Ch]:
2927 * output_linuxdoc.[Ch]:
2928 * output_plaintext.[Ch]:
2930 * paragraph_funcs.[Ch]:
2931 * paragraph_pimpl.[Ch]:
2939 * frontends/controllers/ControlDocument.C:
2940 * frontends/controllers/ControlErrorList.C:
2941 * frontends/controllers/ControlSpellchecker.C:
2944 * insets/insetbase.h:
2945 * insets/insetbibitem.C:
2946 * insets/insetbox.C:
2947 * insets/insetbranch.C:
2948 * insets/insetcaption.C:
2949 * insets/insetcharstyle.C:
2950 * insets/insetcharstyle.h:
2951 * insets/insetcollapsable.C:
2952 * insets/insetcollapsable.h:
2953 * insets/insetert.C:
2954 * insets/insetfloat.C:
2955 * insets/insetfoot.C:
2956 * insets/insetmarginal.C:
2957 * insets/insetnote.C:
2958 * insets/insetoptarg.C:
2959 * insets/insettabular.C:
2960 * insets/insettext.C:
2961 * insets/insettext.h:
2962 * insets/insetwrap.C:
2963 * mathed/math_mboxinset.C:
2964 * mathed/math_nestinset.C:
2965 * mathed/math_scriptinset.C:
2966 * mathed/math_scriptinset.h:
2969 2004-03-24 Angus Leeming <leeming@lyx.org>
2971 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2972 deal with any child processes that have finished but are waiting to
2973 communicate this fact to the rest of LyX.
2975 2004-03-24 Angus Leeming <leeming@lyx.org>
2977 64-bit compile fixes.
2979 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2980 (c-tor): pass lyx::pos_types rather than ints.
2982 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2985 * text.C (Delete): compile fix.
2986 (getPar): ensure that function declaration is the same as that in
2989 2004-03-23 Angus Leeming <leeming@lyx.org>
2991 * ispell.C (LaunchIspell):
2992 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2993 a boost::shred_ptr rather than a std::auto_ptr.
2995 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2997 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2998 handle LFUN_FILE_INSERT_*
3000 * lyxrc.C (setDefaults, getDescription, output, read):
3001 * lyxrc.h: remove ps_command
3003 2004-03-22 Angus Leeming <leeming@lyx.org>
3005 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3006 Ensure that error_handler is processed once only and that all data
3007 is saved before attempting to output any warning messages.
3009 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3011 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
3013 * tabular.C (TeXRow): crash fix (from Kayvan and André)
3015 2004-03-19 André Pönitz <poenitz@gmx.net>
3017 * cursor.[Ch] (reset): take main text inset as argument
3019 * BufferView: adjust
3020 * BufferView_pimpl.C: adjust
3022 * paragraph.[Ch]: fix completely broken operator=()
3024 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3026 * LColor.C (getFromLyXName): make sure that the color name is used
3029 2004-03-17 Angus Leeming <leeming@lyx.org>
3032 * LyXAction.C (init): remove LFUN_FORKS_KILL.
3034 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3035 dialog and to kill a forked process.
3037 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3039 * text2.C (setCursorFromCoordinates): fix font problem
3041 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
3043 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3044 bogus "rebuild cursor" code
3046 2004-03-11 André Pönitz <poenitz@gmx.net>
3048 * buffer.[Ch]: use InsetText instead of LyXText as container for
3051 * dociterator.[Ch]: drop the BufferView * member which is not needed
3052 anymore after the change to buffer.C
3054 * paragraph_funcs.C:
3058 * BufferView_pimpl.[Ch]:
3060 * cursor_slice.[Ch]: adjust
3062 * text3.C: fix bug in mathDispatch
3064 2004-03-08 André Pönitz <poenitz@gmx.net>
3066 * undo.[Ch]: use 'StableDocumentIterator' as base for
3069 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3072 * bufferparams.[Ch]: add jurabib support and param.
3074 * LaTeX.C: add FIXME/comment.
3076 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3078 * buffer.C: increment file format to 230.
3080 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
3082 * cursor.C (dispatch): avoid infinite loops
3084 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3086 * rowpainter.C (paintSelection): fix x coordinates
3088 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3090 * text.C (rowBreakPoint): fix breaking before displayed insets
3092 2004-03-01 André Pönitz <poenitz@gmx.net>
3094 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3096 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3100 * BufferView_pimpl.C:
3108 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3114 * BufferView_pimpl.C: rename textwidth -> maxwidth,
3115 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3117 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3119 * Bidi.[Ch] (computeTables): const correctness
3120 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3121 fill_hfill, fill_label_hfill and x from Row
3122 * lyxtext.h: prepareToPrint returns a RowMetrics
3123 * rowPainter.C: adjust
3124 * text.C (prepareToPrint): use width, not textWidth. adjust
3125 (redoParagraphInternal, cursorX): adjust
3126 * text2.C (getColumnNearX): adjust
3127 (init): put a default value to the top LyXText::width
3129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3131 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
3135 * lyxtext.h: add FontIterator class
3137 * text.C (FontIterator, operator*, operator->, operator++): add
3138 (rowBreakPoint, setRowWidth): adjust (fixing a
3141 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3143 * BufferView_pimpl.C (workAreaDispatch): allow also
3144 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3146 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
3148 * text.C (rowBreakPoint): fix a bug showing with very large insets
3150 2004-02-25 André Pönitz <poenitz@gmx.net>
3153 * cursor.[Ch]: move some mathed specific code to mathed
3155 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3157 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3158 use_tempdir in preferences
3159 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3161 * lyx_main.C: ensure that tempdir is valid
3162 * lyxlex.h: correct typo
3163 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3164 * paragraph.[Ch] (isMultiLingual): make const
3165 * cursor.[Ch] (openable): make const
3167 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3169 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3171 2004-02-20 André Pönitz <poenitz@gmx.net>
3173 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3175 * cursor.[Ch]: prepare for localized getStatus()
3181 * text3.C: streamlines the LyXText cursor movement handlers a bit.
3183 2004-02-20 André Pönitz <poenitz@gmx.net>
3185 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3187 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3189 * text2.C (setCursorFromCoordinates): switch to absolute coords
3191 (cursorDown): adjust
3192 * text3.C (dispatch): adjust
3194 2004-02-16 André Pönitz <poenitz@gmx.net>
3196 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3199 * cursor_slice.[Ch]: remove unneeded acessor function
3201 * lyxtext.h: rename rtl() to isRTL()
3209 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
3211 * rowpainter.C (paintSelection): coord fix
3213 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3215 * Spacing.C: compile fix
3217 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3219 * cursor.C (dispatch): restore current_ before returning
3221 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
3223 * text2.C (cursorUp, cursorDown): fix coords
3226 2004-02-12 André Pönitz <poenitz@gmx.net>
3231 * text3.C: add LCursor & parameter to most cursor movement functions
3232 remove usage of LyXText::cursorRow() and cursorPar()
3234 * cursor.[Ch]: add textRow() needed members
3237 * BufferView_pimpl.C:
3240 * BufferView_pimpl.C: adjust
3242 2004-02-11 André Pönitz <poenitz@gmx.net>
3246 * BufferView_pimpl.C: shift undo/redo handling
3248 * cursor.[Ch]: fix mathed crash
3251 * lyxtext.h: move selectionAsText to LCursor
3259 * rowpainter.C: fix excessive drawing
3261 2004-02-06 André Pönitz <poenitz@gmx.net>
3264 * BufferView_pimpl.[Ch]:
3265 * text3.C: move some text specific LFUN handling
3267 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
3269 * text3.C (checkInsetHit): adjust coords
3270 * text2.C (getColumnNearX): adjust coords
3271 (edit): adjust coords
3272 * text.C (getRowNearY): add two asserts
3274 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
3277 * format.C: add using std::distance to compile on gcc 2.95/stlport
3279 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
3281 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3283 2004-02-04 André Pönitz <poenitz@gmx.net>
3285 * BufferView.[Ch] (insertInset):
3286 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3291 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3293 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3294 on the default clause of the switch
3295 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3296 wasn't catched by LCursor::dispatch
3298 2004-02-03 André Pönitz <poenitz@gmx.net>
3301 * cursor.[Ch]: some additional asserts
3303 * undo.[Ch]: remove LyXText dependency in interface
3307 * lyxtext.h (firstPar, lastPar): remove dead functions
3312 * paragraph.[Ch]: adjust
3314 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
3316 * lyxfind.C (find): fix argument order in call to ::find
3318 2004-02-02 André Pönitz <poenitz@gmx.net>
3320 * cursor.[Ch]: remove direct access to anchor
3322 * text.C: remove findText() hack
3324 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3326 * iterators.[Ch] (lockPath): remove in favour of...
3327 * BufferView.[Ch] (setCursor): this addition
3328 * BufferView.C (putSelectionAt): adjust
3329 * undo.C (performUndoOrRedo): adjust
3330 * lyxfunc.C (dispatch): adjust
3332 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
3334 * iterators.C (lockPath): add a missing slice
3335 * undo.C (performUndoOrRedo): remove redundant positioning code
3337 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
3339 * vc-backend.C (scanMaster): ";" -> ';'
3341 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3343 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3344 std::binary_function
3346 * lyxtextclass.C (compare_name): rename to...
3347 (LayoutNamesEqual): ...this
3349 * lyxlex_pimpl.C (compare_tags): inherit from
3350 std::binary_function, put back into anon namespace
3352 * lyxfind.C (MatchString): inherig from std::binary_function
3353 (findChange): use empty() istead of !size()
3355 * format.C (FormatNamesEqual): new functor
3362 * converter.C (compare_Converter): rename to...
3363 (ConverterEqual): ...this, and fixup a bit.
3364 (getConverter): use it, and make function const
3365 (getNumber): use it, and make function const
3369 * bufferlist.C: add using boost::bind
3371 * MenuBackend.C (MenuNamesEqual): new functor
3372 (hasMenu): use it, and make function const
3373 (hasSubmenu): use nested bind to get rid of compare_memfun.
3375 2004-01-30 André Pönitz <poenitz@gmx.net>
3377 * BufferView_pimpl.C:
3380 * cursor_slice.[Ch]:
3383 * paragraph_funcs.C:
3384 * paragraph_funcs.h:
3388 * text3.C: move some of the edit(x,y) handling to the insets
3389 some coordinate changes.
3391 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3393 * text.C: add using statements for std::advance and std::distance
3395 * paragraph.C: add using statement for std::distance
3397 * lyxfind.C: add using statement for std::advance
3399 * cursor.C (region): remove std:: from swap
3400 (openable): use nucleus in stead of operator->
3402 * BufferView.C: add using statements for std::distance and std::swap
3404 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3406 * iterators.C: Remove the pimple, move the needed structures to
3407 the header file. Create accessor for the positions stack.
3408 (asPosIterator): remove function
3410 * PosIterator.C (PosIterator): move constructors to top of file
3411 (PosIterator): reimplement the constructor taking a ParIterator in
3413 (setFrom): new function
3414 (operator!=): inline it
3416 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
3418 * lyxfind.C (replaceAll): use std::advance
3420 * iterators.h: inherit from std::iterator.
3422 * PosIterator.C (advance, distance): remove
3423 * PosIterator.h: interit from std::iterator.
3425 2004-01-26 André Pönitz <poenitz@gmx.net>
3428 * BufferView_pimpl.[Ch]:
3432 * bufferview_funcs.C:
3442 * output_linuxdoc.C:
3443 * output_plaintext.C:
3445 * paragraph_funcs.[Ch]:
3446 * paragraph_pimpl.[Ch]:
3452 * text3.C: more IU: dumps most of the rest of the mathcursor
3453 implementation into cursor.[Ch]; "globalize" a bit of it.
3455 2004-01-25 Angus Leeming <leeming@lyx.org>
3457 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3459 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3461 * LaTeXFeatures.h: add nice_ and nice() const
3462 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3464 2004-01-20 André Pönitz <poenitz@gmx.net>
3467 * BufferView_pimpl.C:
3469 * bufferview_funcs.C:
3471 * cursor_slice.[Ch]:
3482 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3483 LCursor and mathcursor parts to LCursor and InsetBase.
3485 2004-01-15 André Pönitz <poenitz@gmx.net>
3487 * cursor_slice.[Ch]: add a few covienience functions
3489 * funcrequest.[Ch]: remove BufferView * member
3491 * BufferView_pimpl.C:
3498 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3500 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
3502 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3503 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3505 2004-01-13 André Pönitz <poenitz@gmx.net>
3508 * lyxtext.h: hide cursor and selection anchor behind accessor function
3511 * BufferView_pimpl.[Ch]:
3513 * bufferview_funcs.C:
3523 * cursor_slice.[Ch]: some integer type changes for inset unification
3525 * lyxcursor.[hC]: remove, it's CursorSlice now.
3528 * BufferView_pimpl.[Ch]:
3529 * bufferview_funcs.C:
3535 * textcursor.[Ch]: adjust
3537 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
3539 * text2.C (undoSpan): add and use
3540 * text.C (breakParagraph): use undoSpan (fix bug 578)
3543 2004-01-08 Angus Leeming <leeming@lyx.org>
3545 * BufferView_pimpl.C (MenuInsertLyXFile):
3546 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3547 * lyxfunc.C (menuNew, open, doImport):
3548 FileFilterList change to the FileDialog open and save functions.
3550 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
3552 * ShareContainer.h: make isEqual and isUnique adaptable
3554 * CutAndPaste.C: make resetOwnerAndChanges adaptable
3556 2004-01-07 Angus Leeming <leeming@lyx.org>
3559 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3561 * BufferView_pimpl.C (dispatch): act on these LFUNs.
3563 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3564 functions replacing find, replace and replaceAll.
3566 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3567 LFUN_WORDFIND(FORWARD|BACKWARD).
3569 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3571 * text.C (breakParagraph): remove an outdated #warning
3573 2004-01-07 André Pönitz <poenitz@gmx.net>
3575 * lyxfind.C: somewhat clearer logic
3577 * text.C: prevent crash in cursorX on unitialized row cache
3579 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
3581 * lyxcursor.[Ch] (operator>): add
3582 * textcursor.C (selStart, selEnd): use std::min and std::max
3584 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3586 * Chktex.C: include boost/format.hpp
3588 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3590 * InsetList.C: replace functor MathcIt with adaptable functor
3592 (insetIterator): modify accordingly
3594 * BranchList.h: move the BranchNamesEqual functor here from...
3595 * BranchList.C: ... to here
3597 * BranchList.C: new BranchListEqual fuctor, use it. Remove
3599 (add): replace a finding loop with std::find_if.
3601 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
3603 * output_docbook.C: moving LatexParam functionality into
3606 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3608 * buffer.C: increment format to 229.
3610 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
3613 * lyx_sty.[Ch]: remove minipageindent_def
3619 * text3.C: remove LFUN_INSET_MINIPAGE
3621 2003-12-28 Angus Leeming <leeming@lyx.org>
3623 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3625 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
3627 * text2.C (setParagraph): fix off-by-one crash
3629 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3631 * output_docbook.C: header stuff for AGU
3633 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3635 * text2.C (redoCursor): remove
3638 * BufferView_pimpl.C: remove calls to redoCursor and
3639 setCursor(cursor.par(), cursor.pos()) all around
3641 2003-12-15 Angus Leeming <leeming@lyx.org>
3643 * buffer.C: up the format to 228.
3645 2003-12-15 André Pönitz <poenitz@gmx.net>
3647 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3652 * BufferView_pimpl.C:
3661 2003-12-15 Angus Leeming <leeming@lyx.org>
3663 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3664 than getFromGUIName to manipulate the color.
3666 2003-12-14 Angus Leeming <leeming@lyx.org>
3668 * BranchList.[Ch]: minimize the API.
3669 (Branch::getBranch, getColor): now return a 'const &'.
3670 (Branch::setSelected) now returns a bool set to true if the
3671 selection status changes.
3672 (BranchList::clear, size, getColor, setColor, setSelected,
3673 allBranches, allSelected, separator): removed.
3674 (BranchList::find): new functions, returning the Branch with
3676 (BranchList::add, remove): return a bool indicating that
3677 the operation was successful.
3679 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3680 new InsetBranch::isBranchSlected member function.
3682 * LColor.[Ch]: mimimize the API.
3683 (fill): renamed as addColor and made private.
3684 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3685 versions of these functions taking a string arg have been removed.
3687 * bufferparams.C (readToken):
3688 * lyxfunc.C (dispatch):
3689 * lyxrc.C (read): changes due to the altered BranchList and
3692 * factory.C (createInset, readInset): changes due to altered
3695 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3698 * lyxfunc.C: remove insetminipage. "minipage-insert"
3699 now produces a frameless minipage box inset.
3701 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3703 * textcursor.[Ch] (selStart,selEnd): add new methods
3704 remove selection::start, end, use LyXCursor::operator<
3705 * lyxcursor.[Ch] (operator<): add
3706 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3707 * BufferView.[Ch] (unsetXSel): add
3708 * text2.C (clearSelection): use unsetXSel,adjust
3711 * rowpainter.C: adjust
3712 * bufferview_funcs.C (put_selection_at): adjust
3714 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3716 * BufferView_pimpl.C: small coord. correction
3718 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3720 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3721 dragging over the splash screen.
3723 2003-12-11 Angus Leeming <leeming@lyx.org>
3725 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3726 as it is now handled in LyXText::dispatch.
3728 * text3.C (doInsertInset): remove a level of nesting.
3730 2003-12-11 Angus Leeming <leeming@lyx.org>
3732 * factory.C (createInset): changes due to the changed interface to
3733 InsetCommandMailer::string2params.
3735 2003-12-10 Angus Leeming <leeming@lyx.org>
3737 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3738 'dialog-show-new-inset <inset name>'
3740 2003-12-10 Angus Leeming <leeming@lyx.org>
3742 * buffer.C: up the format to 227.
3744 * factory.C: the box inset is now identified simply by 'Box'.
3746 2003-12-10 Angus Leeming <leeming@lyx.org>
3748 * buffer.C: up the format to 226.
3750 * factory.C: the note inset is now identified simply by 'Note'.
3752 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3754 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3755 when a pit is enough. Standarize a couple of loops.
3757 2003-12-05 Angus Leeming <leeming@lyx.org>
3759 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3760 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3761 data to the re-worked "log" dialog.
3763 2003-12-03 André Pönitz <poenitz@gmx.net>
3769 * paragraph_funcs.C:
3771 * text2.C: use Inset::getText instead of Inset::getParagraph
3773 2003-12-03 André Pönitz <poenitz@gmx.net>
3777 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3778 InsetText::read() as LyXText::read()
3780 2003-12-02 Angus Leeming <leeming@lyx.org>
3782 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3783 type. Add a comment in the implementation that the function uses
3784 the stream's bad() function rather than fail() as the std::streams
3787 2003-12-02 André Pönitz <poenitz@gmx.net>
3789 * lyxlex.[Ch]: make interface more similar to std::stream
3791 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3793 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3795 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3797 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3799 * vspace.[Ch]: remove VSpace::NONE
3801 2003-12-01 André Pönitz <poenitz@gmx.net>
3804 * lyxtext.h: move ParagraphList member to LyXText
3805 rename LyXText::ownerParagraphs to LyXText::paragraph
3808 * bufferview_funcs.C:
3818 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3820 * undo.C: fix cursor positioning
3822 2003-12-01 John Levon <levon@movementarian.org>
3824 * BufferView_pimpl.C: fix a crash on exit with
3827 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3829 * BranchList.C: fix setSelected() method.
3831 2003-11-28 André Pönitz <poenitz@gmx.net>
3833 * ParagraphParameters.[Ch]:
3834 * ParameterStruct.h: remove space above/below from Paragraph to
3837 * BufferView_pimpl.C:
3843 * paragraph_funcs.C:
3849 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3851 * factory.C: Syntax change for CharStyles
3853 2003-11-28 André Pönitz <poenitz@gmx.net>
3858 * buffer.[Ch]: move LyXText member
3860 2003-11-28 André Pönitz <poenitz@gmx.net>
3862 * BufferView.[Ch]: make LyXText * text a private member
3864 * BufferView_pimpl.C:
3875 * output_plaintext.C: cleanup
3877 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3880 * lyxtextclass.[Ch]: parametrize SGML document header
3882 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3885 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3888 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3890 * text2.C (setFont): rework using PosIterator (no more recursive)
3891 (setCharFont): no more needed
3892 (setLayout): no more selection cursors fiddling (done by redoCursor)
3893 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3894 destroy remaining ones)
3896 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3898 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3900 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3903 * text3.C: adjust + re-allow multi par depth changes
3904 * textcursor.C: simplify a bit
3906 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3912 * src/output_docbook.C:
3913 * src/output_latex.C:
3918 * src/text2.C: Introducing a number of tags parametrizing various
3919 XML formats that we may want to support
3921 2003-11-25 André Pönitz <poenitz@gmx.net>
3923 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3925 * lyxtext.h (leftMargin/rightMargin): simplify interface
3932 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3934 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3935 master file to any child files. Fixes bug 546.
3937 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3939 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3941 2003-11-24 André Pönitz <poenitz@gmx.net>
3943 * rowpainter.C: simplification
3945 * text2.C (updateCounters): remove call to redoParagraph on
3946 changed labels as this is far too expensive.
3948 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3950 * converter.C (convert): fix a crash: this function gets
3951 called with buffer == 0 from importer code.
3953 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3955 * text3.C (cursorPrevious): make sure that we do not compare
3956 iterators form different containers.
3959 * rowpainter.C (paintSelection): make sure that we do not compare
3960 iterators from different containers.
3962 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3963 iterators from different ParagraphList containers.
3966 * text2.C (LyXText): change order of initialization slightly
3967 (operator=): new function. copy all variables except cache_par_
3968 (moveUp): make sure that we do not compare iterators from
3969 different ParagraphList constainers.
3972 * text.C (firstPar): new function
3973 (lastPar): new function
3974 (endPar): new function
3976 * lyxtext.h: move things around and group public functions, public
3977 variables, private functions, private variables
3979 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3981 * factory.C: change call to InsetERT constructor to avoid
3982 additional invocation of method status
3983 * text2.C (toggleInset): remove redundant update() call
3984 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3985 instead of a Bufferview pointer
3987 2003-11-21 André Pönitz <poenitz@gmx.net>
3989 * rowpainter.C: simplification
3991 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3993 * text3.C (dispatch): make possible to extend a word/row selection
3996 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3998 * lyxtext.h: x0_,y0_ -> xo_,yo_
3999 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4000 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4001 * rowpainter.C (paintRows): paint full paragraphs
4003 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4005 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4008 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
4010 * lyxtext.h: add x0_, y0_
4011 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4012 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4014 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
4016 * text2.C (setCursorIntern): move the x_target update here *
4017 * text3.C: change some bv() to true/false in calls to
4018 cursorUp/Down/Right/Left
4019 * cursor.C: use helper function.
4021 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4023 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4024 * paragraph_funcs.[Ch]: correct comment
4025 * rowpainter.C: do not paint selections away from bv->cursor()
4026 Fix a long standing selection painting bug.
4027 * text3.C: generalize mouse-selection code to LyXTexts other that
4029 * textcursor.C: do not use y coords if we can use par offsets
4031 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
4033 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4034 cursor position after e.g. inset insert)
4036 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
4038 * lyxfind.C (replace): adjust to locking removal + some
4041 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
4043 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4046 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
4049 * output_docbook.C: XML sanitation: new layout
4050 parameters InnerTag and CommandDepth
4052 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
4054 * BufferView_pimpl.C:
4056 * text3.C: Fix the insertion and modification of button-style
4059 2003-11-13 André Pönitz <poenitz@gmx.net>
4061 * InsetList.[Ch]: remove deleteLyXText
4063 * paragraph.[Ch]: cache beginOfBody position
4068 * text3.C: remove superfluous update() calls
4072 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
4074 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4075 * BufferView.C (fitLockedInsetCursor): remove
4076 * cursor.[Ch] (getDim): add
4077 * text.C (getRowNearY): add faster version
4078 * text3.C: remove some update calls
4080 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
4092 * text3.C: The Character Style /XML short element patch.
4094 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
4097 * factory.C: Small step to solving 'unable to insert some insets'
4100 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
4102 * cursor.[Ch] (updatePos): new function for updating the y
4103 position of the tip inset
4104 * bufferview_funcs.C (put_selection_at):
4105 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4107 2003-11-11 André Pönitz <poenitz@gmx.net>
4109 * text.C: remove big comment on invalid Paragraph pointers as it is
4112 2003-11-11 André Pönitz <poenitz@gmx.net>
4114 * text_funcs.[Ch]: merge with ...
4122 * Makefile.am: remove text_funcs.[Ch]
4124 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
4126 * cursor.C (getPos): return absolute cached y coord
4128 * BufferView_pimpl.C (fitCursor): new simplistic code
4129 (workAreaDispatch): add a fitCursor call
4131 2003-11-10 André Pönitz <poenitz@gmx.net>
4134 * BufferView_pimpl.[Ch]: merge update() and updateInset()
4136 2003-11-10 André Pönitz <poenitz@gmx.net>
4138 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4139 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4140 indicate that the cursor needs to leave an inset
4142 * lyxtext.h: remove inset locking
4144 * cursor.[Ch]: re-implement functionality provided by inset locking
4147 * BufferView_pimpl.[Ch]:
4149 * bufferview_funcs.[Ch]:
4161 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
4163 * PosIterator.[Ch]: replace the stack with a vector, add inset
4165 * iterators.[C]: adjust
4167 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4169 * lyxfind.C (replaceAll): mark the buffer dirty if something was
4171 * paragraph_funcs.C (readParToken): put the correct id in the
4172 error item, not the id of the top paragraph
4174 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
4176 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4177 * bufferview_funcs.C (put_selection_at): use the above
4179 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4181 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4183 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4185 * output_linuxdoc.h:
4186 * output_plaintext.h:
4188 * output_docbook.h: add #include statements
4190 2003-11-05 José Matos <jamatos@lyx.org>
4192 * output_docbook.[Ch]:
4193 * output_latex.[Ch]:
4194 * output_linuxdoc.[Ch]:
4195 * output_plaintext.[Ch]: New files for output formats.
4196 * output.[Ch]: New file for helper functions.
4199 * paragraph_funcs.[Ch]: output functions moved to new files.
4201 * outputparams.h: rename of latexrunparams.h
4209 * paragraph_funcs.[Ch]:
4210 * paragraph_pimpl.[Ch]:
4211 * tabular.[Ch]: rename ascii to plaintext
4212 and LatexRunParams to OutputParams.
4214 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4216 * iterators.[Ch] (text): require bv argument
4217 * undo.C (recordUndo):
4218 * lyxfunc.C (dispatch):
4219 * bufferview_funcs.C (put_selection_at): adjust
4221 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
4223 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4225 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
4227 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4230 2003-11-04 André Pönitz <poenitz@gmx.net>
4232 * cursor.[Ch]: restructure
4235 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4237 * iterators.[Ch] (asCursor): remove
4239 * lfuns.h: remove LFUN_INSET_EDIT
4245 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4247 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4249 * lyxfind.[Ch]: complete overhaul
4250 * BufferView_pimpl.C:
4252 * paragraph.[Ch] (insert): add
4254 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4258 * text.C: remove dead spellcheck code
4260 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4262 * dispatchresult.h: add a val setter
4264 * cursor.C (dispatch): use a tempvar for data_[i]
4266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4268 * PosIterator.[Ch]: compile fix
4270 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
4272 * text.C (cursorPar): deactivate the cursor cache
4274 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4276 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4278 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * text3.C (dispatch): adjust for new DisptchResult semantics.
4282 * lyxfunc.C (dispatch): handle update when return from
4283 Cursor::dispatch, adjust for new DispatchResult semantics.
4285 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4286 DispatchResult(true) mean to not update. Add class functions for
4287 setting dispatched and update, as well as reading.
4289 * cursor.C (dispatch): don't handle update here
4291 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4293 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4294 * trans_mgr.C: adjust
4296 * paragraph_funcs.C (readParToken): exception safety
4298 * lyxvc.h: store the vcs pointer in a scoped_ptr
4301 * lyxsocket.C (serverCallback): exception safety
4303 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4305 * ispell.C (clone): make it return a auto_ptr
4307 * factory.C (createInset): exception safety
4308 (readInset): exception safety
4310 * bufferlist.C (newBuffer): exception safety
4312 * Thesaurus.C (Thesaurus): use initialization for aik_
4314 * MenuBackend.C (expandToc): exception safety.
4316 2003-11-03 André Pönitz <poenitz@gmx.net>
4320 * bufferview_funcs.C: remove getInsetFromId()
4323 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4329 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
4331 * PosIterator.C (distance, advance): new
4332 * bufferview_funcs.[Ch] (put_selection_at): new
4333 * iterators.[Ch] (lockPath): new
4335 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
4337 * iterators.[Ch] (asPosIterator): added
4338 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4339 * PosIterator.[Ch]: added
4341 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4345 * cursor.C (dispatch):
4346 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4348 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4349 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4350 contructor, add a class function dispatched. Remove operator>=
4352 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4354 * debug.C: only use the default constructor for debugstream
4357 * main.C (main): include debug.h and setup the lyxerr streambuf
4360 2003-10-31 José Matos <jamatos@lyx.org>
4362 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4364 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4365 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4366 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4367 * paragraph_pimpl.C (simpleTeXSpecialC):
4368 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4369 add LatexRunParams argument.
4371 * exporter.C (Export): change call accordingly.
4373 * latexrunparams.h: add new member to take care of the other backends.
4374 2003-10-30 José Matos <jamatos@lyx.org>
4376 * buffer.C (makeLinuxDocFile, makeDocBookFile):
4377 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4378 factorise code for paragraph output.
4380 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4383 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * text3.C (dispatch):
4386 * lyxfunc.C (dispatch):
4387 * cursor.C (dispatch):
4388 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4390 * dispatchresult.h: make the dispatch_result_t ctor explicit
4392 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
4395 * buffer.C: small refactoring of docbook stuff
4397 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4399 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4402 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4404 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4405 operator dispatch_result_t, and operators for == != and >=
4407 * cursor.C (dispatch): adjust for operator dispatch_result_t
4408 removal. comment out call to update
4410 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4412 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4420 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4423 * dispatchresult.h: new file, DispatchResult broken out of
4426 * Makefile.am (lyx_SOURCES): add dispatchresult.h
4428 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4430 * text.C (rowBreakPoint): put a hack inside #if 0
4432 2003-10-28 André Pönitz <poenitz@gmx.net>
4436 * paragraph_funcs.C:
4439 * text2.C: general cleanup (lots of small stuff)
4441 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
4443 * text2.C (cursorEnd): simple fix to the "end key goes to one
4444 before the end on last row" bug
4446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4448 * text.C (backspace): fix the "zombie characters"
4450 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4452 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4454 2003-10-27 André Pönitz <poenitz@gmx.net>
4456 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4458 * factory.C: handle new InsetPagebreak, InsetLine
4460 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4461 and move handling into new InsetPagebreak, InsetLine
4463 * BufferView_pimpl.C:
4465 * ParagraphParameters.C:
4466 * ParameterStruct.h:
4471 * paragraph_funcs.C:
4472 * paragraph_pimpl.C:
4478 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4481 * lyxrow_funcs.[Ch]:
4487 * text3.C: remove lastPos uses in favour of Row::endpos
4489 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
4491 * undo.C (performUndoOrRedo): fix two crashes by setting a
4492 cursor by hand and reordering some calls. Use bv->lockInset instead
4493 of inset->edit because the latter loses cursor information
4495 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
4497 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4499 (rowBreakPoint): fix width. change point to point + 1.
4500 Add a missing check.
4502 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
4505 * lyxfunc.C: fix (at least partly) the problems
4506 with the Nav menu and headers inside branch insets
4509 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
4511 * paragraph.C (getChar): add strong asserts
4513 * lyxrow_funcs.C (lastPos): remove hideous hack
4515 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4516 (fill): adjust to that (avoid an infinite loop)
4518 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4520 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4522 2003-10-23 André Pönitz <poenitz@gmx.net>
4524 * RowList_fwd.h: change list<> to vector<> to gain speed
4525 after suggestion from Alfredo
4527 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
4529 * lyxtext.h: move the bidi stuff from here...
4532 * Bidi.[Ch]: ... to here
4534 2003-10-23 André Pönitz <poenitz@gmx.net>
4537 * text.C (isLastRow, isFirstRow): new functions
4539 * paragraph.h: new width cache member
4541 * rowpainter.C: replace RowList::iterator with Row & where possible
4543 * lyxfunc.C: replace several view()->text with a single call
4545 * toc.C: fix 'unused' warning
4547 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
4549 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4550 when woring with stream::pos_type
4551 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4553 2003-10-22 André Pönitz <poenitz@gmx.net>
4556 * text.C: use Row & instead of RowList::iterator
4558 * lyxrow.h: rename end() to endpos()
4564 2003-10-22 Angus Leeming <leeming@lyx.org>
4566 * buffer.[Ch] (fully_loaded): new member function, returning true
4567 only when the file has been loaded fully.
4568 Used to prevent the premature generation of previews and by the
4569 citation inset to prevent computation of the natbib-style label.
4571 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4572 templates are all set up.
4574 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4576 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
4578 * text.C: fixed an "oops" in the "is a bit silly"
4581 2003-10-21 André Pönitz <poenitz@gmx.net>
4583 * FuncStatus.[Ch]: small stuff, whitespace
4585 * lyxfont.[Ch]: operator<<() for debug reasons
4589 * lyxtext.h: whitespace, spelling
4591 * paragraph.C: naming of variables
4594 * text2.C: small stuff
4597 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
4599 * text.C: (1) finish off the inset display() work;
4600 (2) fix the "is a bit silly" bug (accessing char
4603 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
4605 * text.C: re-introduce display() for insets, fixing the
4606 various bugs (stretch of line above, math inset
4609 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4611 * text.C (rightMargin): remove spurious semicolon
4613 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4616 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
4618 * text3.C: fix one crash due to wrong cursor def
4620 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * vc-backend.C (scanMaster): make the regex static
4624 * LaTeX.C (scanAuxFile): make the regexs static
4626 * text3.C (doInsertInset, dispatch, dispatch):
4627 * text2.C (cursorUp, cursorDown):
4628 * text.C (selectNextWordToSpellcheck):
4629 * BufferView_pimpl.C (dispatch):
4630 * lyxfunc.C (dispatch): localDispatch -> dispatch
4632 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4634 * lyxsocket.C: include <cerrno>
4636 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * lyxfunc.C (dispatch): remove textcache stuff
4640 * bufferlist.C (release): remove textcache stuff
4643 * TextCache.C: delete file
4644 * TextCache.h: delete file
4646 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4648 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4649 delete of the bv_->text.
4650 (resizeCurrentBuffer): remove texcache stuff
4651 (workAreaResize): ditto
4653 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4658 2003-10-16 André Pönitz <poenitz@gmx.net>
4665 * text3.C: speed up by storing y positions per paragraph plus per-row
4666 offset instead of having a 'full' y position in the row.
4668 2003-10-15 André Pönitz <poenitz@gmx.net>
4672 * undo.[Ch]: make undo aware of inner insets
4674 2003-10-14 Angus Leeming <leeming@lyx.org>
4676 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4677 static member functions LyX::ref() and LyX::cref.
4678 (lastfiles): new accessor functions for the new lastfiles_ member var.
4679 (addLyXView, views_): add a new LyXView to the list of views_.
4680 (updateInset): loop over all LyXViews to call their own updateInset
4681 member function, returning a pointer to the Buffer owning the inset.
4683 * BufferView_pimpl.C (loadLyXFile):
4684 * MenuBackend.C (expandLastfiles):
4685 * bufferlist.C (MenuWrite, QuitLyX):
4686 lastfiles is no longer a global variable.
4687 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4689 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4690 static function. Access through LyX::cref().emergencyCleanup().
4692 2003-10-14 André Pönitz <poenitz@gmx.net>
4694 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4696 * undo.[Ch]: restoring part of 'undo in insets'
4699 * undo_funcs.[Ch]: merge with undo.[Ch]
4701 * tabular.C: small cleansing stuff
4703 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4705 * paragraph_funcs.C (readParToken): report unknown insets as error
4706 boxes. Use the outer paragraph as location (also for unknown
4709 * factory.C (readInset): do not abort on reading an unknown inset.
4710 Eat it and return 0.
4712 2003-10-13 Angus Leeming <leeming@lyx.org>
4714 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4716 * lyxrc.C: displayTranslator is now a function,
4717 declared in GraphicsTypes.h.
4719 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4721 * format.C: new placeholder $$a to pass the socket address.
4723 * bufferlist.[Ch]: new function getBufferFromTmp.
4725 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4726 files in the temporary dir.
4728 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4730 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4732 * Makefile.am: add lyxsocket.[Ch].
4734 * lyx_main.C (error_handler): handle SIGPIPE.
4736 2003-10-13 André Pönitz <poenitz@gmx.net>
4738 * BufferView_pimpl.C:
4743 * undo_funcs.[Ch]: use paroffset_type instead of
4744 ParagraphList::iterators to prevent multiple conversion
4745 (and get a more robust interface)
4747 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4749 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4751 * text3.C (dispatch): ditto
4753 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4755 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4756 move the onlyfile, use onlyfile instead of foundfile in a couple
4759 * DepTable.C (update): flush the error stream a bit more
4761 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4763 * lyxserver.C (callback): adjust
4765 * lyxfunc.C (getStatus): add a missing brace in commented code
4766 (ensureBufferClean): reindent
4767 (dispatch): delete version taking a string
4769 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4771 * LaTeX.C (deplog): move found file handlig from here...
4772 (handleFoundFile): .. to new function here.
4773 (deplog): make sure to discover several files mentioned on the
4776 2003-10-10 André Pönitz <poenitz@gmx.net>
4783 * text3.C: fix some of the tabular crashes
4785 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4787 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4789 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4791 2003-10-09 André Pönitz <poenitz@gmx.net>
4793 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4796 * BufferView_pimpl.C:
4797 * bufferview_funcs.C:
4808 * undo_funcs.C: adjust
4810 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4812 * text2.C (incrementItemDepth): new function, use a backtracking
4813 algorithm to discover the correct item depth.
4814 (resetEnumCounterIfNeeded): new function, use a backtracking
4815 algorithm to discover if counter reset is needed.
4816 (setCounter): use them. Simplify a bit. Add different labels for
4817 different item depths for itemize.
4819 * paragraph.C (Paragraph): remove initialization of enumdepth
4822 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4823 enumerate and itemize. Change the type of itemdepth to signed char.
4825 2003-10-08 André Pönitz <poenitz@gmx.net>
4827 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4832 * tabular.[Ch]: fix crash after 'row-insert'
4834 2003-10-08 Angus Leeming <leeming@lyx.org>
4836 Fix doxygen warnings.
4838 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4839 Remove CutAndPaste:: prefix from header file declaration.
4841 * LColor.h (fill): remove LColor:: prefix from declaration.
4843 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4844 use lyx::depth_type rather than Paragraph::depth_type so that
4845 header file and .C file match.
4847 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4849 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4850 * aspell.C: \file aspell_local.C -> \file aspell.C
4851 * gettext.C: \file gettext.C -> \file src/gettext.C
4852 * gettext.h: \file gettext.h -> \file src/gettext.h
4853 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4854 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4855 * text.C: \file text.C -> \file src/text.C
4857 * toc.C: move comment so that doxygen is not confused.
4859 2003-10-07 Angus Leeming <leeming@lyx.org>
4861 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4863 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4866 * aspell_local.h: add forgotten std::string's.
4868 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4875 * text3.C: The Box patch. Fancybox support, minipage, parbox
4877 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4883 * ParagraphParameters.h:
4893 * lyxtextclasslist.h:
4896 * paragraph_pimpl.C:
4897 * textcursor.h: add <string> and other small fixes to make Lars'
4898 std::string patch compile with STLport.
4900 2003-10-06 Angus Leeming <leeming@lyx.org>
4902 * LColor.h: Add missing #include <string>.
4904 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * All most all file in all subdirs: Make <string> be the prefered
4907 way of getting to std::string, add using declarations.
4909 2003-10-06 André Pönitz <poenitz@gmx.net>
4911 * metricsinfo.C: initialize LyXFont before changing attribute.
4912 (fixes the 'math in \emph is upright' bug)
4914 2003-10-06 André Pönitz <poenitz@gmx.net>
4916 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4918 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4921 * paragraph_pimpl.C: Small fixes to build using STLport
4923 2003-10-02 André Pönitz <poenitz@gmx.net>
4926 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4928 2003-10-01 André Pönitz <poenitz@gmx.net>
4930 * factory.C: assert early
4932 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * lyx_main.C: remove the global debug object
4936 * debug.h: adjust for new debugstream
4938 * debug.C: adjust for new debugstream and keep the global debug
4941 2003-09-22 Angus Leeming <leeming@lyx.org>
4943 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4944 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4945 an incomplete class LyXFont.
4947 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4949 * factory.C: bug fix in branches
4951 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4953 * lyxfunc.C (processKeySym): adjust
4955 (dispatch): change arg name from ev to func, adjust
4956 (sendDispatchMessage): ditto
4958 * lyx_main.C (defaultKeyBindings): adjust keybindings
4959 (deadKeyBindings): ditto
4961 * kbsequence.C (addkey): return a FuncRequest
4963 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4965 * kbmap.C (bind): take a FuncRequest as arg, adjust
4968 (defkey): change to take a FuncRequest as arg, adjust
4969 (findbinding): take a FuncRequest as arg, adjust.
4971 * funcrequest.h (operator=): added
4973 * funcrequest.C (FuncRequest): default kb_action changed from
4974 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4976 * buffer.C (dispatch): simplify
4977 (dispatch): adjust to take a FuncRequest as arg, adjust
4979 * boost.C (assertion_failed): change assertion message slightly
4981 * ToolbarBackend.C (read): simplify
4983 * MenuBackend.C (binding): adjust call to findbinding, add a
4984 message if no binding is found.
4986 (expandToc): correct by adding a empty FuncRequest
4988 * LyXAction.C: include <boost/assert.hpp>
4989 (isPseudoAction): delete function
4990 (LookupFunc): change name to...
4991 (lookupFunc): this. change return type to FuncRequest.
4992 (getActionName): take kb_action as arg, simplify
4993 (funcHasFlag): add an assert, simplify.
4995 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * toc.C (action): return a FuncRequest, simplify
4999 * lyxfunc.C (processKeySym): adjust
5000 (getStatus): delete version that takes an int.
5002 (dispatch): delete version that takes action as int
5004 (sendDispatchMessage): simplify and adjust
5006 * funcrequest.C (getArg): take unsigned int as arg
5008 * ToolbarBackend.C (read): adjust
5009 (add): delete version that takes func as a string.
5010 (getIton): take a FuncRequest as arg
5012 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5015 * MenuBackend.C (MenuItem): add a new construct that only takes a
5016 Kind, simplify the constructor use for submenus.
5018 (expandLastfiles): adjust
5019 (expandDocuments): adjust
5020 (expandFormats): adjust
5021 (expandFloatListInsert): adjust
5022 (expandFloatInsert): adjust
5023 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5025 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5026 Remove class variables lyx_pseudo_map and lyx_arg_map
5028 * LyXAction.C (searchActionArg): delete function
5029 (getPseudoAction): delete function
5030 (retrieveActionArg): delete function
5031 (LookupFunc): make it return kb_action, simplify.
5032 (getActionName): simplify
5034 * factory.C (createInset): fix new bug
5036 2003-09-19 Angus Leeming <leeming@lyx.org>
5038 * CutAndPaste.C (pasteSelection): remove fudge used to set the
5039 masterFilename_ parameter in the include inset.
5041 * factory.C (createInset): changes due to the changes to InsetInclude.
5043 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5045 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5047 2003-09-18 Angus Leeming <leeming@lyx.org>
5050 * BufferView.C: pass the buffer when calling Inset::getLabelList,
5051 Inset::fillWithBibKeys.
5052 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5054 2003-09-18 Angus Leeming <leeming@lyx.org>
5056 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5058 (ctor): pass and store a 'Buffer const &'
5059 (buffer): new member function.
5061 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5062 '*this' to the LaTeXFeatures ctor.
5064 2003-09-18 Angus Leeming <leeming@lyx.org>
5070 * text.C: rename EnumLColor as LColor_color.
5072 2003-09-18 Angus Leeming <leeming@lyx.org>
5074 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5075 remove #include "insets/insetbase.h" from cursor.h.
5077 2003-09-18 Angus Leeming <leeming@lyx.org>
5079 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5080 InsetOld_code to remove #include "inset.h".
5082 * iterators.C: add #include "insets/inset.h"
5084 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
5086 * BufferView.C: remove more locking stuff that apparently doesn't
5087 do anything sensible.
5089 2003-09-16 André Pönitz <poenitz@gmx.net>
5092 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5095 2003-09-16 Angus Leeming <leeming@lyx.org>
5097 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5099 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5102 * paragraph.h: remove #include "lyxfont.h". Forward declare
5105 2003-09-16 Angus Leeming <leeming@lyx.org>
5107 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5108 of support/textutils.h.
5109 (isWord): move the contents of support/textutils.h's IsWordChar here.
5115 * text2.C: add #include "paragraph.h".
5118 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5120 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * LaTeX.C: use namespace alias for lyx::support::os
5128 2003-09-16 Angus Leeming <leeming@lyx.org>
5131 * bufferview_funcs.C:
5134 * paragraph_pimpl.C:
5136 * text.C: add #include "LColor.h".
5138 2003-09-16 Angus Leeming <leeming@lyx.org>
5140 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5141 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5143 Store the FontBits::color variable as an int rather than as an
5144 LColor::colorso that we can move LColor.h out of the lyxfont.h header
5147 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5148 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5149 string calls together.
5151 * lyxrc.C: add #include "LColor.h".
5153 2003-09-15 Angus Leeming <leeming@lyx.org>
5155 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5158 2003-09-15 Angus Leeming <leeming@lyx.org>
5160 * LColor.h: add an EnumLColor wrapper for LColor::color.
5162 * lyxfont.[Ch] (color, setColor, realColor):
5163 * lyxtext.h, text.C (backgroundColor):
5164 pass EnumLColor args to/from the functions, rather than LColor::color
5168 * lyxtext.h: forward declare EnumLColor.
5170 * lyx_main.C: add #include "LColor.h".
5172 2003-09-15 Angus Leeming <leeming@lyx.org>
5174 * .cvsignore: add lyx-gtk.
5176 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5181 * ParagraphParameters.C
5185 * bufferview_funcs.C
5195 * vc-backend.C: remove usage of STRCONV
5197 2003-09-15 Angus Leeming <leeming@lyx.org>
5199 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5200 explicitly define the color passed to the painter.
5202 2003-09-15 Angus Leeming <leeming@lyx.org>
5204 * bufferparams.C (BufferParams): reorder member initializers to avoid
5207 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
5209 * CutAndPaste.C (pasteSelection): remove an outdated #warning
5210 * text.C (updateRowPositions): remove an unusual nop
5212 2003-09-12 André Pönitz <poenitz@gmx.net>
5214 * BufferView_pimpl.C:
5223 * Counters.[Ch]: finish the 'automatic counters' job
5225 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5227 * aspell.C: include <boost/assert.cpp> (compile fix)
5229 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
5231 * boost.C (assertion_failed): use lyx::support::abort instead of
5234 2003-09-10 Angus Leeming <leeming@lyx.org>
5236 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5237 with their _fwd progeny.
5239 2003-09-09 Angus Leeming <leeming@lyx.org>
5241 134 files throughtout the source tree: replace 'using namespace abc;'
5242 directives with the appropriate 'using abc::xyz;' declarations.
5244 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
5246 * boost.C (emergencyCleanup): moved here from LAssert.c
5247 (assertion_failed): new function, called by BOOST_ASSERT
5249 * several files: change Assert to BOOST_ASSERT
5251 2003-09-09 Angus Leeming <leeming@lyx.org>
5253 * buffer.[Ch]: Add an Impl class and move Buffer's member
5254 variables into it. As a result move several header files out of
5257 Add header files to lots of .C files all over the tree as a result.
5259 2003-09-09 Angus Leeming <leeming@lyx.org>
5261 * buffer.[Ch]: make Buffer's member variables private. Add
5264 Lots of changes all over the tree as a result.
5266 2003-09-08 Angus Leeming <leeming@lyx.org>
5268 * graph.C: #include <config.h>.
5270 2003-09-08 Angus Leeming <leeming@lyx.org>
5274 * BufferView_pimpl.C:
5303 * toc.C: remove redundant using directives.
5305 2003-09-07 Angus Leeming <leeming@lyx.org>
5307 * LaTeXFeatures.h: remove #include "support/types.h".
5308 * ToolbarBackend.h: remove #include <algorithm>.
5309 * changes.h: remove #include <ctime>.
5310 * debug.h: remove #include <iosfwd>.
5311 * graph.h: remove #include "support/std_string.h".
5312 * lyx_main.h: remove #include <csignal>.
5313 * lyxlex_pimpl.h: remove #include <fstream>.
5314 * sgml.h: remove #include <algorithm>, <utility>.
5315 * toc.h: remove #include "support/std_ostream.h".
5316 Add #include <iosfwd>.
5318 2003-09-07 Angus Leeming <leeming@lyx.org>
5320 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5322 * converter.h: forward declare LatexRunParams.
5323 * encoding.h: remove #include "lyxrc.h".
5324 * lyxtext.h: remove #include "LColor.h".
5325 * lyxtextclass.h: remove #include "support/types.h".
5326 * trans.h: remove #include "tex-accent.h".
5327 * trans_mgr.h: remove #include "tex-accent.h".
5328 * insets/inset.h: remove #include "support/types.h", <vector>.
5329 * insets/insetcollapsable.h: remove #include "LColor.h".
5330 * insets/insetinclude.h: remove #include "dimension.h".
5331 * insets/insetlatexaccent.h: remove #include "dimension.h".
5332 * insets/insetoptarg.h:: remove #include "insettext.h".
5333 * insets/insettext.h: remove #include "dimension.h",
5334 <boost/shared_ptr.hpp>
5336 * insets/renderers.h: add #include "dimension.h".
5337 * insets/updatableinset.h: add #include "support/types.h".
5339 * many .C files: Associated changes.
5341 2003-09-06 Angus Leeming <leeming@lyx.org>
5343 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5344 one, inside testInvariant.
5346 * PrinterParams.C: new file.
5347 * PrinterParams.[Ch]: move the function bodies out of line.
5349 2003-09-06 Angus Leeming <leeming@lyx.org>
5351 * ParagraphParameters.h: forward declare ParameterStruct rather than
5352 including its header file.
5353 (depth): moved out-of-line.
5355 2003-09-06 Angus Leeming <leeming@lyx.org>
5357 * BufferView_pimpl.h:
5360 * lyxfunc.h: forward declare LyXKeySym rather than
5361 #include "frontends/LyXKeySym.h".
5363 * BufferView_pimpl.C:
5366 * lyxfunc.C: associated changes.
5368 2003-09-06 Angus Leeming <leeming@lyx.org>
5370 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5371 As a result, can remove the #include "insets/inset.h" from BufferView.h
5373 2003-09-06 Angus Leeming <leeming@lyx.org>
5375 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5376 As a result, can remove the #include "insets/inset.h" from BufferView.h
5378 2003-09-06 Angus Leeming <leeming@lyx.org>
5384 * bufferview_funcs.C:
5385 * BufferView_pimpl.C:
5390 * ParagraphParameters.C:
5395 * frontends/controllers/ControlDocument.C:
5396 * insets/insetcaption.C: rearrange the #includes into some sort of
5399 * buffer.h: remove #includes ErrorList.h, undo.h
5401 2003-09-06 Angus Leeming <leeming@lyx.org>
5403 * support/types.h: add a 'depth_type' typedef, used to store the
5404 nesting depth of a paragraph.
5407 * ParameterStruct.h: use this lyx::depth_type typedef rather than
5408 defining explicitly.
5411 * paragraph_funcs.h:
5412 * ParagraphParameters.h:
5413 * sgml.h: use lyx::depth_type rather than Paragraph or
5414 ParameterStruct's depth_type.
5417 * paragraph_funcs.h: no need to #include paragraph.h anymore.
5420 * BufferView_pimpl.C:
5422 * ParagraphParameters.C:
5425 * bufferview_funcs.C:
5432 * frontends/LyXView.C:
5433 * frontends/controllers/ControlDocument.C:
5434 * frontends/controllers/ControlErrorList.C:
5435 * insets/insetbibitem.C:
5436 * insets/insetbranch.C:
5437 * insets/insetcaption.C:
5438 * insets/insetcollapsable.C:
5439 * insets/insetenv.C:
5440 * insets/insetert.C:
5441 * insets/insetfloat.C:
5442 * insets/insetfoot.C:
5443 * insets/insetfootlike.C:
5444 * insets/insetnewline.C:
5445 * insets/insetquotes.C:
5446 * insets/insettabular.C:
5447 * insets/insettext.C:
5448 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5450 * frontends/controllers/ControlChanges.C: #include "changes.h".
5452 2003-09-06 Angus Leeming <leeming@lyx.org>
5454 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5455 than #including paragraph.h.
5458 * RowList.h: deleted. Superfluous.
5468 * insets/insettext.h: use ParagraphList_fwd.h rather than
5471 * paragraph.h: don't forward declare ParagraphList.
5474 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5475 rather than ParagraphList.h. paragraph.h is still needed for the
5476 Paragraph::depth_type parameters.
5478 * textcursor.h: enable it to compile stand-alone in light of the
5481 * bufferview_funcs.C:
5493 * frontends/controllers/ControlParagraph.C:
5494 * frontends/controllers/ControlTabular.C:
5495 * insets/insetmarginal.C:
5496 * insets/insetminipage.C:
5497 * insets/insetnote.C:
5498 * insets/insetoptarg.C: add header files needed to compile again.
5500 2003-09-06 Angus Leeming <leeming@lyx.org>
5502 * RowList_fwd.h: new file, forward-declaring Row rather than
5503 #including lyxrow.h.
5508 * insets/insettext.h: use it instead of RowList.h
5510 * bufferview_funcs.C:
5517 * text3.C: #include "RowList.h".
5519 2003-09-05 Angus Leeming <leeming@lyx.org>
5521 * factory.C (createInset):
5522 * vspace.C (c-tor): replace sscanf call with an istringstream.
5523 * ispell.C: re-add missing HP/UX headers.
5524 * lyxserver.C: re-add missing os2 headers.
5526 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
5535 * text3.C: re-add missing system headers, needed for 2.95.2.
5537 2003-09-05 Angus Leeming <leeming@lyx.org>
5539 Changes most place everywhere due to the removal of using directives
5540 from support/std_sstream.h.
5542 2003-09-05 Angus Leeming <leeming@lyx.org>
5544 Replace LString.h with support/std_string.h,
5545 Lsstream.h with support/std_sstream.h,
5546 support/LIstream.h with support/std_istream.h,
5547 support/LOstream.h with support/std_ostream.h.
5549 Changes resulting throughout the tree.
5551 2003-09-05 Angus Leeming <leeming@lyx.org>
5553 * sgml.h: ensure that the header file can be compiled stand-alone.
5554 * *.C: strip out redundant #includes. (320 in total.)
5556 2003-09-04 Angus Leeming <leeming@lyx.org>
5558 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5559 here (from getPackages).
5561 * debug.[Ch]: add a new EXTERNAL tag.
5563 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5565 * text2.C (cursorEnd): simplify
5567 (getColumnNearX): adjust
5569 * text.C (computeBidiTables): adjust
5572 * rowpainter.C (paintChars): adjust
5573 (paintSelection): adjust
5574 (paintChangeBar): adjust
5577 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5579 (numberOfSeparators): adjust
5581 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5587 * text3.C: Restricts the mouse click functionality
5588 of insets like bibtex, include, toc and floatlist to the visible
5589 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5590 up the dialogs. Cursor has to be in front of the inset (i.e.
5591 start of row) for this to function.
5593 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5595 * bufferview_funcs.C (currentState): output row information
5597 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5599 * bufferview_funcs.C (currentState): output paragraph position
5601 2003-09-04 Angus Leeming <leeming@lyx.org>
5603 * FloatList.h: move out #include "Floating.h".
5604 * LaTeX.h: move out #include "DepTable.h".
5605 * LyXAction.h: move out #include "funcrequest.h".
5606 * buffer.h: move out #include "author.h", "iterators.h".
5607 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5608 * lyx_main.h: move out #include "errorlist.h".
5609 * lyxfunc.h: move out #include "FuncStatus.h".
5610 * lyxtext: move out #include "lyxcursor.h".
5611 * paragraph_pimpl.h: move out #include "counters.h".
5613 2003-09-03 Angus Leeming <leeming@lyx.org>
5615 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5616 preamble_snippets list, enabling us to add snippets to the preamble
5617 only if the snippet was not there already.
5619 2003-09-04 Angus Leeming <leeming@lyx.org>
5621 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5623 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * lyxfunc.C (dispatch): if fitCursor did something be sure to
5628 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5630 * BranchList.C: point fix, earlier forgotten
5632 2003-09-02 Angus Leeming <leeming@lyx.org>
5634 * box.C (contains): renamed from 'contained' after a fantastic
5637 2003-09-02 John Levon <levon@movementarian.org>
5643 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5645 2003-09-02 John Levon <levon@movementarian.org>
5647 * text2.C: simplification of cursorEnd(), including partial
5650 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * buffer.C (readFile): add a space
5654 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5656 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5658 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5660 * buffer.C (readFile): new function, take a filename and a
5661 ParagraphList::iterator
5663 (readFile): adjust, make it private. don't use setStream, make
5664 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5665 always contain the filename.
5667 * BufferView.C (insertLyXFile): simplify and make it work for
5670 2003-08-30 John Levon <levon@movementarian.org>
5672 * Makefile.am: fix dist (from Kayvan)
5674 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5676 * most files: change to use const Buffer refs
5678 2003-08-27 André Pönitz <poenitz@gmx.net>
5680 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5681 on top of ownerPar().
5683 2003-08-27 John Levon <levon@movementarian.org>
5685 * funcrequest.C: properly initialise POD members
5687 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5689 * lyxtext.h (top_y): move top_y from here
5694 * BufferView_pimpl.[Ch]: to here
5695 * frontends/screen.C:
5696 * insets/insettabular.C:
5697 * insets/insettext.C: adjust
5698 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5700 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5703 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5705 2003-08-26 André Pönitz <poenitz@gmx.net>
5707 * paragraph_func.[Ch] (outerPar): new function
5710 * paragraph_funcs.C:
5711 * paragraph_funcs.h:
5712 * paragraph_pimpl.C:
5713 * text2.C: remove Inset::par_owner
5715 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5720 * text2.C: eliminates the needFullRow/display() stuff
5721 altogether, putting the logic in metrics/draw in the insets.
5723 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5725 * text2.C (redoParagraphInternal, redoParagraphs):
5726 * text.C (redoParagraph): add a call to updateRowPositions at the
5727 end of each 'metrics-like' call. Remove all others.
5728 (getRow): remove the 'y-computing' version.
5729 (getRowNearY): do not compute nor return the real y. Solve the
5730 'y < 0' problem and simplify.
5732 2003-08-22 Angus Leeming <leeming@lyx.org>
5734 * *.[Ch]: clean-up of licence and author blurbs.
5735 Also move config.h out of a few .h files and into a few .C files.
5737 2003-08-22 André Pönitz <poenitz@gmx.net>
5739 * lyxrow.[Ch]: add x_ and *fill_ members
5744 * text2.C: adjust/remove prepareToPrint() calls
5746 2003-08-22 André Pönitz <poenitz@gmx.net>
5748 * lyxrow.[Ch]: add end_ member
5750 * lyxrow_funcs.C: use LyXRow::end_
5752 * lyxtext.h (singleWidth): add LyXFont parameter
5755 * text2.C: adjust LyXText::singleWidth() calls
5757 * text.C (redoParagraph): simplify row breaking logic
5760 2003-08-19 André Pönitz <poenitz@gmx.net>
5762 * funcrequest.C: initialize button_ member
5765 * rowpainter.[Ch]: interface consolidation
5767 2003-08-18 André Pönitz <poenitz@gmx.net>
5770 * BufferView_pimpl.C:
5772 * paragraph_funcs.C:
5774 * text3.C: remove LyXScreen::draw() and fitCursor calls
5776 * BranchList.h: remove spurious semicolons
5778 * MenuBackend.C: fix branchlist related crash
5780 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5788 * bufferparams.[Ch]:
5792 * text3.C: implements the 'branch inset'
5793 idea. This allows the output of various versions of a document
5794 from a single source version, selectively outputing or suppressing
5795 output of parts of the text.
5796 This implementation contains a 'branch list editor' in a separate
5797 tab of the document settings dialog. Branches are user definable
5798 and have a "display colour" to distinguish them on-screen.
5800 ColorHandler was somewhat cleaned up.
5801 (1) make possible a dynamically growing LColor list by allowing
5802 the graphic context cache to grow along (vector);
5803 (2) eliminate an IMHO unnecessary step in colour allocation.
5805 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5807 * BufferView_pimpl.C: compile fix
5809 2003-08-15 André Pönitz <poenitz@gmx.net>
5811 * rowpainter.C: remove extra metrics calls
5813 * lyxtext.h: merge the two constructors into a single one,
5814 pass reference to owner's par list
5816 * BufferView_pimpl.C:
5820 2003-08-15 André Pönitz <poenitz@gmx.net>
5822 * lyxrow_funcs.[Ch]:
5825 * paragraph_funcs.C:
5830 * text_funcs.C: split LyXText::rowlist_ into individual
5831 Paragraph::rows_ chunks
5834 * BufferView_pimpl.[Ch]:
5837 * text3.C: remove toggleSelection()
5839 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5841 * bufferlist.C: beautify two alerts (shorter text of buttons)
5842 * buffer.C: Remove redundant ' ' from message
5844 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5845 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5846 rename VALIGN_CENTER to VALIGN_MIDDLE
5848 2003-08-11 André Pönitz <poenitz@gmx.net>
5850 * lyxtext.h (getPar):
5851 * text.C: new function
5853 2003-08-11 André Pönitz <poenitz@gmx.net>
5856 * tracer.[Ch]: remove unneeded files
5858 * InsetList.[Ch]: remove resizeInsetsLyXText()
5863 * text3.C: merge insertParagraphs() and appendParagraph()
5864 remove breakAgain(), update()
5866 * BufferView_pimpl.[Ch]:
5867 * bufferview_funcs.[Ch]:
5871 * tabular.C: adjust after text & InsetList changes.
5873 2003-08-08 André Pönitz <poenitz@gmx.net>
5875 * text.C (insertChar, backspace): replace rowlist fiddling
5876 with rebreak of full par
5879 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5880 checkParagraph, updateInset): removed
5882 2003-08-07 André Pönitz <poenitz@gmx.net>
5885 * text3.C: merge some LFUN handlers, remove dead code
5887 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5889 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5891 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5893 * text2.C (DEPM): fix part of bug 1255 and 1256
5895 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5897 * BufferView_pimpl.C (workAreaDispatch): change to use
5898 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5899 that are no mouse related.
5901 2003-08-05 André Pönitz <poenitz@gmx.net>
5904 * BufferView_pimpl.[Ch]:
5905 * bufferview_funcs.C:
5907 * text3.C: rip out "deep update"
5909 * textcursor.[Ch] (last_sel_cursor): remove unused member
5911 2003-08-04 André Pönitz <poenitz@gmx.net>
5914 * BufferView_pimpl.[Ch]:
5915 * ParagraphParameters.C:
5916 * bufferview_funcs.C:
5922 * text3.C: replace "complicated" BufferView::update(...) calls with
5925 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5927 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5929 * Makefile.am (lyx_SOURCES): add paper.h
5931 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5933 * Makefile.am: move things around so that both lyx-qt and
5934 lyx-xforms can be built (according to --with-frontend). Then lyx
5935 is a symbolic link to lyx-[firstfrontend]
5937 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5939 * Always use std::endl with lyxerr
5941 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5943 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5945 2003-08-01 André Pönitz <poenitz@gmx.net>
5948 * BufferView_pimpl.[Ch]:
5950 * text3.C: merge BufferView::repaint() and BufferView::update()
5952 2003-08-01 José Matos <jamatos@lyx.org>
5954 * buffer.[Ch]: file_format is no longer a buffer data element.
5956 2003-08-01 André Pönitz <poenitz@gmx.net>
5961 * text2.C: make redoParagraph more independent of current cursor
5963 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5965 * text2.C: remove unneeded members
5967 2003-07-30 André Pönitz <poenitz@gmx.net>
5969 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5971 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5972 create a single function...
5974 * paragraph_funcs.C (moveItem): ... here.
5977 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5979 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5981 * LColor.[Ch]: Add comment and greyedout logical colors.
5983 2003-07-30 André Pönitz <poenitz@gmx.net>
5985 * tabular.C: don't use Assert too heavily. This crashes where it
5988 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5990 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5991 is disabled (bug 1232)
5993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5995 * factory.C: limited 'arg' scope
5997 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5999 * factory.C: fixed Note submenu issues
6001 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
6003 * factory.C: submenu for Note/Comment/Greyedout
6005 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
6008 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6010 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
6013 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6014 greyedout. Patch provided by Jürgen Spitzmüller.
6016 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6018 * kbmap.C (read): fix error message when reading bind files
6020 2003-07-29 Angus Leeming <leeming@lyx.org>
6022 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6023 certainly does not do what it purports to do. I am doing it, and
6024 us, a favour by killing it.
6026 2003-07-28 José Matos <jamatos@lyx.org>
6028 * buffer.C (readBody, do_writeFile):
6029 * paragraph.C(readParagraph): \end_document replaces \the_end.
6031 2003-07-29 André Pönitz <poenitz@gmx.net>
6034 * BufferView_pimpl.[Ch]:
6038 * textcursor.[Ch]: remove toggleToggle & Co
6040 2003-07-28 José Matos <jamatos@fep.up.pt>
6042 * buffer.C (readParagraph):
6043 * params_func (readParToken, readParagraph):
6044 * paragraph.C (write): \layout -> \begin_layout.
6046 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * lyxlex_pimpl.C (setFile): clean up slightly.
6050 * bufferparams.h: add compressed var
6052 * buffer_funcs.C (readFile): adjust for LyXLex change
6053 (newFile): ditto + simplify
6055 * buffer.C (writeFile): handle writing of compressed files
6057 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6058 Check if the file is compressed and set a bufferparm if so.
6060 * Makefile.am (lyx_LDADD): remove explicit -lz
6062 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6064 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6065 makeDocBookFile): put the real LyX version in the first line of
6069 * version.C.in: remove lyx_docversion
6071 * tabular.C (write_attribute): add a template-based version to
6072 write enums properly
6074 2003-07-28 André Pönitz <poenitz@gmx.net>
6079 * text3.C: use doubles again for x-coordinates. They are needed.
6081 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6083 * messages.C (getLocaleDir): use lyx_localedir()
6085 * lyxlex_pimpl.C (setFile): compress stuff
6087 * buffer.C (writeFile): add some compression stuff
6088 (do_writeFile): new func, dont call expliti close... will this
6091 * Makefile.am (lyx_LDADD): add -lz
6093 2003-07-28 José Matos <jamatos@fep.up.pt>
6095 * buffer.C: increment file format.
6096 * paragraph_funcs (readParagraph, readParToken):
6097 * paragraph.C (readParagraph): add \end_layout.
6099 2003-07-27 Angus Leeming <leeming@lyx.org>
6101 * Makefile.am: remove special casing for configure-time setting of
6102 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6104 * lyx_main.C (init): remove all Jean-Marc's magic setting of
6105 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6107 2003-07-26 André Pönitz <poenitz@gmx.net>
6109 * paragraph_func.[Ch]:
6110 * paragraph.C (realizeFont): inline it whereever it is used
6115 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6118 2003-07-26 André Pönitz <poenitz@gmx.net>
6122 * text2.C: get rid of LyXText::need_break_row
6124 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * toc.[Ch]: put namespace toc inside namespace lyx
6128 * MenuBackend.C (expandToc2): adjust for lyx::toc
6131 * lyxfunc.C (dispatch): adjust for lyx::find
6133 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6134 lyx::find instead. Reorganize a bit.
6135 (LyXReplace): rename to replace
6136 (LyXFind): rename to find
6138 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6141 2003-07-26 André Pönitz <poenitz@gmx.net>
6143 * text.C (setHeightOfRow): restrict scope of temporary variable
6145 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
6146 code (never has been used?)
6148 2003-07-27 Asger Alstrup <alstrup@local>
6150 * text.C (fill): Optimise algorithm to exploit that we can reuse
6151 the LyXFont for many characters.
6152 (setHeightOfRow): Same thing.
6153 (rowBreakPoint): Same thing.
6155 2003-07-26 Asger Alstrup <alstrup@local>
6157 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6159 * text.C (singleWidth): Spurious font copying in hot-spot
6160 singleWidth avoided. Reorder tests for arabic for efficiency.
6162 * text.C (fill): handle empty paragraphs better.
6164 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6167 * encoding.h: add includes
6169 * lyxrc.C: remove reading of bind files
6171 * lyx_main.C (init): setup bindings and menus only if we have a
6174 * kbmap.C (read): new method. Do the actual reading of bind
6177 * converter.C (dvipdfm_options):
6180 (output): adapt PAPER_* enums.
6182 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6184 * bufferparams.h: remove paper-related enums from there
6186 * paper.h: New file. A trivial header file to hold paper-related
6187 enums. It should later expand to contain many paper-related
6190 * lyxrc.C: declare extern displayTranslator
6192 2003-07-27 José Matos <jamatos@fep.up.pt>
6194 * tabular.[Ch] (linuxdoc): add support for tables and figures
6197 2003-07-27 José Matos <jamatos@fep.up.pt>
6199 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6200 consistency in both functions.
6201 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6203 2003-07-26 Asger Alstrup <alstrup@local>
6205 * rowpainter.C (paintRows): Change algorithm to work directly on
6206 the insets rather than asking every character in the document
6207 whether its an inset.
6209 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
6211 * buffer.C (openFileWrite): factorize some code
6213 2003-07-26 Angus Leeming <leeming@lyx.org>
6216 * lyx_main.[Ch]: replace occurances of system_tempdir with
6219 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * rename Inset to InsetOld
6223 2003-07-25 Asger Alstrup <alstrup@diku.dk>
6225 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6226 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6227 which I think is a bit clearer. EDIT is gone, since it was
6228 premature optimisation, and broken for mathed anyway.
6229 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6230 with cursor positioning in insets as well (math insets still do not
6231 work, but that's a different story anyway.) It mysteriously
6232 crashes sometimes with undo in the first paragraph, but I'm fairly
6233 confident that this is a compiler bug.
6235 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * paragraph.C (Paragraph): adjust for new clone return type
6239 (copyIntoMinibuffer): ditto
6241 2003-07-25 Asger Alstrup <alstrup@lyx.org>
6243 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6244 by not having a special case, and always doing a full rebreak of
6245 the document after undo.
6247 2003-07-23 Angus Leeming <leeming@lyx.org>
6249 * factory.C (createInset): InsetExternal::setParams now takes a
6252 2003-07-23 Angus Leeming <leeming@lyx.org>
6254 * factory.C (createInset): changed interface to the external and
6255 graphics mailers' string2params functions.
6257 2003-07-23 Angus Leeming <leeming@lyx.org>
6259 * factory.C (createInset): pass a
6260 Buffer const * parameter to InsetExternalMailer's string2params.
6262 2003-07-22 John Levon <levon@movementarian.org>
6264 * Thesaurus.h: include the right aiksaurus header
6266 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6268 * MenuBackend.C (expand): check menu shortcuts unconditionally
6270 2003-07-21 Angus Leeming <leeming@lyx.org>
6272 * factory.C (createInset): pass a
6273 buffer_path parameter to InsetGraphicsMailer's string2params.
6275 2003-07-21 Angus Leeming <leeming@lyx.org>
6277 * BufferView_pimpl.C (buffer):
6280 * lyxfunc.C (dispatch):
6281 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6282 rather than the grfx shortcut.
6284 2003-07-21 André Pönitz <poenitz@gmx.net>
6286 * rowpainter.C: remove unused variables
6289 * tabular_funcs.h: move to tabular.C
6290 * Makefile.am: adjust
6292 * tabular.[Ch]: basic optical cleaning
6294 * author.h: pass references, not values
6296 2003-07-18 André Pönitz <poenitz@gmx.net>
6304 * text3.C: two-phase drawing for InsetText and InsetTabular
6305 some float -> int changes.
6307 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6309 * lyx_main.C: fix the fix
6311 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
6313 * lyx_main.C: fix a crash in batch mode if no files specified
6316 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
6318 * format.[Ch] (papersize): moved to BufferParams
6319 * converter.[Ch] (dvips_options): moved to BufferParams
6320 (dvipdfm_options): moved to anon namespace
6321 * bufferparams.[Ch]: added above functions.
6323 2003-07-17 André Pönitz <poenitz@gmx.net>
6327 * text2.C: don't call inset->update() anymore
6329 * metricsinfo.[Ch]: add convenience constructor
6331 2003-07-16 André Pönitz <poenitz@gmx.net>
6336 * text2.C: replace the LyXCursor::irow_ member with
6337 on-demand computation of the value
6339 2003-07-16 John Levon <levon@movementarian.org>
6341 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6343 2003-07-15 André Pönitz <poenitz@gmx.net>
6346 * text2.C: remove no more needed refresh_row
6348 2003-07-15 André Pönitz <poenitz@gmx.net>
6353 * text3.C: refresh_status tristate -> need_update bool
6355 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
6357 * lyxtext.h (init): remove reinit argument (act as if always true)
6358 * text2.C: adjust to that
6360 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6362 * bufferview_funcs.[Ch]: introduce function replaceSelection()
6363 * text3.C: use it to delete selections in some cases
6364 (bugs 441, 673, 702, 954).
6366 2003-07-14 André Pönitz <poenitz@gmx.net>
6368 * rowpainter.[Ch]: reduce interface
6370 2003-07-14 André Pönitz <poenitz@gmx.net>
6372 * BufferView_pimpl.C:
6373 * text2.C: adjust after removing unused BufferView * argument
6375 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
6377 * text2.C (init): fix a crash fired on resize
6379 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
6381 * buffer.[Ch]: added new closing signal
6382 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6383 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6384 BufferView::Pimpl via the closing the signal
6386 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
6388 * buffer.[Ch]: take out all bv-related from buffer
6390 * BufferView_pimpl.[Ch]: connect to new signals
6391 * CutAndPaste.C: removed useless asserts
6392 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6395 * lyxfunc.C: moved view-related funciontality from vc here
6396 * paragraph.C: removed outdated comments
6399 2003-07-10 André Pönitz <poenitz@gmx.net>
6401 * BufferView_pimpl.C:
6405 * text2.C: remove InsetText::InnerCache, clean up consequences
6407 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6409 * ispell.C: fix two typos in error messages
6411 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
6413 * Extend Note inset to other forms of annotation like Comment
6414 and Greyedout. Right button click gives dialog.
6416 Files modified or added (+):
6420 * ControlNote.[Ch] +
6422 * Makefile.am in frontends/xforms, frontends/xforms/forms,
6423 frontends/controllers
6427 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
6429 * aspell.C: add missing namespace lyx::support
6431 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
6433 * BufferView.[Ch] (newFile): Add
6434 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6435 * LaTeX.[Ch] (message): added this signal and use it
6436 * buffer.[Ch] (busy, message): added these signals and use them
6437 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6441 * importer.C: use buffer signals instead of direct bv calling
6442 * lyx_cb.[Ch] (ShowMessage): removed
6445 * paragraph_funcs.C:
6446 * text2.C: use buffer signals
6448 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * introduce namespace lyx::graphics
6452 2003-07-02 André Pönitz <poenitz@gmx.net>
6454 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6456 2003-07-01 André Pönitz <poenitz@gmx.net>
6463 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6464 text*.C to text_func.C
6466 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6468 * introduce namespace lyx::support
6470 2003-06-30 André Pönitz <poenitz@gmx.net>
6475 * text.C: re-enable --with-included-string
6477 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * textcursor.C: add <config.h>
6481 * text.C (getWord): remove const from word_location arg
6483 * lyxvc.C (getLogFile): fix const type order
6485 * lyxtext.h: remove const from word_location arg, add arg name
6487 * lyxlayout.h: currect type on labeltype.
6489 * importer.C: correct \file
6491 * converter.C (intToFormat): use std:: on ret val, ws changes
6493 * bufferlist.h: correct \file
6495 * buffer.C (makeLinuxDocFile): fix const type order
6496 (makeDocBookFile): ditto
6497 (fillWithBibKeys): use std:: on stdlib args.
6499 * CutAndPaste.C: fix authors.
6500 (availableSelections): use std:: on return vector
6502 2003-06-27 André Pönitz <poenitz@gmx.net>
6504 * BufferView_pimpl.C:
6505 * bufferview_funcs.C:
6513 * text3.C: remove LyXCursor::row_ member
6516 * text.C: rename fullRebreak() to partialRebreak() and implement
6517 a fullRebreak() that really bereks fully
6519 * textcursor.h: new struct for cursor-related data
6521 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
6523 * lyx_main.C (LyX): get full path of document loaded on the
6526 2003-06-26 André Pönitz <poenitz@gmx.net>
6528 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6529 remove unused/broken operator>,<,>=.
6531 * text.C: remove only use of broken operator<= in an Assert().
6533 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6535 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6536 moved errorlist_.clear to showErrorList
6538 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
6540 * converter.C (scanLog, runLaTeX):
6541 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6542 move the bv->showErrorList call to the callers
6543 * lyxfunc.C: i.e. here...
6545 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6546 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6547 namespace, the second to...
6548 * buffer_funcs (BufferFormat, parseErrors): added
6549 * errorlist.C (ErrorList(TeXErrors const &)): removed
6551 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6553 * ToolbarBackend.C (getIcon): complain when icon cannot be found
6555 2003-06-24 "Garst R. Reese" <reese@isn.net>
6559 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6561 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6563 * version.C.in: change docversion to 1.4
6565 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
6567 * buffer.C: fix a bug just introduced
6569 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
6571 * buffer.[Ch]: added the parseError signal and use it, removed
6573 * BufferView.[Ch] (addError): moved to ...
6574 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6575 to the Buffer::parseError signal to catch (guess what) parse errors
6576 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6578 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
6580 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6581 ability to create a buffer and to return an existing one from
6582 the list. Moved these functions to...
6583 * buffer_funcs.[Ch]: added
6584 * BufferView.[Ch] (loadLyXFile): added
6585 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6586 job removed from bufferlist::loadLyXFile.
6587 * buffer.C (setReadOnly): make it work without view
6588 (i.e added an if (users))
6590 2003-06-19 Angus Leeming <leeming@lyx.org>
6593 * LyXAction.C (init):
6594 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6595 with LFUN_DIALOG_SHOW <name> <data>.
6597 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6599 * CutAndPaste.C (availableSelections): small compilation fix for
6600 ancient (gcc 2.9x) compilers
6602 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * text3.C (cursorNext): add tmp var
6606 * text2.C (updateCounters): for function calling out of for clause
6607 (replaceSelectionWithString): ditto
6608 (insertStringAsParagraphs): ditto
6609 (getColumnNearX): add tmp var
6610 (setCursorFromCoordinates): add tmp var
6611 (cursorDownParagraph): add tmp var
6612 (deleteEmptyParagraphMechanism): add tmp var
6614 * text.C (insertChar): add tmp var
6616 * rowpainter.C (paintDepthBar): add tmp var
6618 * CutAndPaste.C (availableSelections): potentially check all
6619 paragraphs in a cut to fill the shown strings.
6621 2003-06-18 André Pönitz <poenitz@gmx.net>
6623 * kbmap.[Ch]: use vector<> instead of list<>
6625 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
6627 * text3.C (dispatch): handle arg to LFUN_PASTE, call
6628 pasteSelection with index
6630 * text2.C (pasteSelection): modify, call pasteSelection with index
6632 * paragraph.C (asString): reimplement version with no interval to
6633 call the one with interval.
6635 * lyxtext.h: add index arg to pasteSelection
6637 * MenuBackend.C (MenuItem): handle PasteRecent
6638 (Menu::read::Menutags): add md_pasterecent
6640 (expandPasteRecent): new function
6643 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6645 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6647 (availableSelections): new function
6649 2003-06-17 Angus Leeming <leeming@lyx.org>
6651 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6653 2003-06-17 Angus Leeming <leeming@lyx.org>
6656 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6658 * lyxfunc.C (dispatch): invoke it.
6660 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6662 * iterators.C (operator++, ParPosition): reintroduce some
6663 const_cast for the benefit of older compilers.
6665 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6667 * text3.C (dispatch): do not modify clipboard when doing
6668 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6669 LFUN_DELETE_SKIP on a selection selection
6671 2003-06-16 André Pönitz <poenitz@gmx.net>
6677 * tabular.[Ch]: IU of clone() and getLabelList();
6679 2003-06-13 André Pönitz <poenitz@gmx.net>
6681 * tabular.h: compactification
6683 2003-06-12 André Pönitz <poenitz@gmx.net>
6687 * tabular_funcs.h: some renaming plus whitespace
6689 2003-06-12 André Pönitz <poenitz@gmx.net>
6692 * BufferView_pimpl.C:
6698 * toc.C: Return a Paragraph & for ParIterator::operator*()
6700 2003-06-11 John Levon <levon@movementarian.org>
6704 * ToolbarBackend.C: add "Toolbars" section and
6707 2003-06-10 Angus Leeming <leeming@lyx.org>
6710 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6712 * lyxfunc.C (dispatch): invoke it.
6714 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * main.C: protect <ios> with HAVE_IOS
6717 (main): protect sync_with_stdio with HAVE_IOS
6719 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6721 * text2.C (cutSelection): adjust
6722 (pasteSelection): adjust
6724 * messages.C: handle get of empty string
6726 * main.C (main): use sync_with_stdio(false)
6728 * lyxfunc.C (dispatch): adjust
6730 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6731 (WriteAs): remove unneeded BufferView arg.
6733 * bufferparams.h: use correct types on papersize, papersize2 and
6736 * bufferparams.C (readToken): adjust for type
6737 (writeLaTeX): add missing cases to switch.
6739 * bufferlist.C (quitWriteBuffer): adjust
6742 * buffer.C (asciiParagraph): remove some commented code.
6744 * CutAndPaste.C: remove current_view extern variable.
6745 (cutSelection): add BufferParams arg.
6746 (eraseSelection): add BufferParams arg.
6747 (pasteSelection): add Buffer const & arg
6749 2003-06-07 John Levon <levon@movementarian.org>
6752 * paragraph_funcs.C:
6753 * paragraph_pimpl.C:
6757 * paragraph.C: allow InsetERT to freely space lines,
6758 and some consolidation of code
6760 2003-06-06 José Matos <jamatos@fep.up.pt>
6762 * buffer.C (makeDocBookFile): fix bug #821
6764 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6766 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6768 2003-06-04 Angus Leeming <leeming@lyx.org>
6770 * buffer.C: bump format to 224.
6772 2003-06-05 André Pönitz <poenitz@gmx.net>
6774 * text2.C (redoParagraphs): remove two const_cast<>
6776 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6778 * ParagraphList.h: remove last remnants of NO_STD_LIST
6780 2003-06-03 Angus Leeming <leeming@lyx.org>
6782 * factory.C (createInset): small change to the way InsetExternal's params
6785 2003-06-04 André Pönitz <poenitz@gmx.net>
6787 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6789 * paragraph_pimpl.h:
6790 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6792 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6794 * undo_funcs.C: make some simple cases of undo work again
6796 2003-06-03 John Levon <levon@movementarian.org>
6798 * ispell.C: HPUX doesn't have sys/select.h
6801 2003-06-03 John Levon <levon@movementarian.org>
6803 * CutAndPaste.C: update tabular and include inset
6808 * paragraph.C: remove owningBuffer(), don't pass Buffer
6811 * factory.C: insetGraphicsParams changed
6813 2003-06-02 John Levon <levon@movementarian.org>
6819 * text3.C: remove insetparent
6821 2003-06-02 John Levon <levon@movementarian.org>
6824 * buffer.C: fix inset_iterator.end(), move out of line
6827 2003-06-01 John Levon <levon@movementarian.org>
6829 * text3.C: use a proper cut/paste when doing inset
6830 insert (from Jürgen Spitzmüller)
6832 2003-06-01 John Levon <levon@movementarian.org>
6834 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6836 2003-05-30 André Pönitz <poenitz@gmx.net>
6838 * rowpainter.C: unify second drawing phase
6840 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6842 * trans_mgr.C: remove one case of current_view
6844 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6846 * paragraph_funcs.h: remove paragraph.h include
6848 * paragraph.h: delete NO_STD_LIST stuff
6850 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6852 * buffer.h: remove paragraph.h include
6854 * ParagraphList.C: delete file
6856 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6858 * toc.C (getTocList): adjust
6860 * paragraph_pimpl.C (validate): adjust
6862 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6864 * paragraph.C (Paragraph): adjust
6865 (getPositionOfInset): use const_iterator, adjust
6866 (bibitem): use const_iterator, adjust
6867 (setInsetOwner): adjust
6869 * iterators.C (operator++): adjust
6871 * InsetList.[Ch]: Replace selfmade iterator with standard
6872 vector::iterator also introduce const_iterator. Remove getPos,
6873 getInset and setInset from InsetTable. Adjust accordingly.
6875 * BufferView.C (lockInset): adjust
6876 (ChangeInsets): adjust
6878 * tabular.[Ch]: delete commented same_id functions
6880 2003-05-28 John Levon <levon@movementarian.org>
6882 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6884 2003-05-28 André Pönitz <poenitz@gmx.net>
6886 * metricsinfo.[Ch]: remove 'fullredraw' member
6888 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6890 * lyxtextclass.C (operator): remove caching.
6892 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * text2.C (cursorBottom): adjust
6897 (setCounter): use ParagraphList::find, adjust
6899 * text.C (workWidth): use ParagraphList::find, adjust
6901 * lyxcursor.C (LyXCursor): adjust
6903 * buffer.C (inset_iterator): adjust
6905 * ParagraphList.h: make iterator(value_type) private, make
6906 ParagraphList a friend of iterator.
6908 * ParagraphList.C (find): new function
6910 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6912 2003-05-27 André Pönitz <poenitz@gmx.net>
6914 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6916 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6918 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6920 2003-05-26 John Levon <levon@movementarian.org>
6922 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6924 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * remove same_id from function signatures, adjust.
6928 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6930 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6932 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6934 * paragraph.C (Paragraph): get rid of same_ids parameter
6936 * ParagraphList.C (insert): adjust
6939 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * paragraph_funcs.C (breakParagraph): adjust
6942 (breakParagraphConservative): adjust
6944 * buffer.C (readParagraph): adjust
6946 * ParagraphList.C (insert): take a reference instead of a pointer
6949 * paragraph.[Ch] (id): new function
6951 * bufferlist.C (newFile): adjust
6953 * ParagraphList.C (ParagraphList): adjust
6955 (push_back): take a reference instead of a pointer.
6957 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6959 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6962 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6963 set else use old code.
6965 * ParagraphList.C: remove all NO_NEXT code and only compile this
6966 code of NO_STD_LIST is set.
6968 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6970 * BufferView_pimpl.C:
6980 * graphics/GraphicsConverter.C:
6981 * graphics/PreviewLoader.C: header adjustment
6983 2003-05-23 Angus Leeming <leeming@lyx.org>
6985 * LaTeXFeatures.[Ch] (useBabel): new method.
6986 * bufferparams.C (writeLaTeX): use it.
6988 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6990 * ParagraphList.h (set): remove unused function.
6992 2003-05-23 André Pönitz <poenitz@gmx.net>
6995 * BufferView_pimpl.C:
6999 * undo_funcs.C: setUndo reworked
7001 * iterators.[Ch]: add access to topmost ParagraphList
7003 * lyxtext.[Ch] (workWidth): add a const
7005 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
7007 * texrow.[Ch] (increasePos): remove function
7008 * exporter.C (export): removed unused var and outdated comment
7010 2003-05-23 Angus Leeming <leeming@lyx.org>
7012 * latexrunparams.h: rename fragile as moving_arg.
7013 * paragraph.C (simpleTeXOnePar): ditto.
7014 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7016 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7018 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7020 (textUndoOrRedo): comment out a currently unused var.
7022 * paragraph.h (NO_NEXT): enable NO_NEXT
7024 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7026 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7028 * exporter.C (Export): adjust for removeAutoInsets removal.
7030 * buffer.C (runChktex): adjust for removeAutoInsets removal.
7032 * LyXAction.C (init): remove LFUN_REMOVEERRORS
7034 * BufferView.[Ch] (removeAutoInsets): delete function
7036 2003-05-22 Angus Leeming <leeming@lyx.org>
7038 * latexrunparams.h: add a free_spacing variable.
7040 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7041 to pass moving_arg, as the data is stored in runparams.fragile.
7043 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7044 to Inset::latexOptional or to simpleTeXOnePar.
7046 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7047 free_spacing arg to Inset::latexOptional.
7049 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7052 2003-05-22 Angus Leeming <leeming@lyx.org>
7054 * latexrunparams.h: add fragile and use_babel variables.
7056 * bufferparams.[Ch] (writeLaTeX): return use_babel.
7057 * buffer.C (makeLaTeXFile): store this returned value in
7058 runparams.use_babel, thus passing it to the inset::latex methods.
7060 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7061 simpleTeXSpecialChars as it is now stored in runparams.fragile.
7063 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7064 longer has a fragile arg, as it is stored in runparams.fragile.
7066 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7067 moving_arg parameter as the data is stored in runparams.fragile.
7069 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7070 a fragile parameter as the data is stored in runparams.fragile.
7072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7074 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7076 2003-05-22 Angus Leeming <leeming@lyx.org>
7078 * latexrunparams.h: add a 'bool nice' which defaults to false.
7080 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7081 now encapsulated within runparams.
7083 * bufferlist.C (updateIncludedTeXfiles):
7084 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7086 2003-05-22 Angus Leeming <leeming@lyx.org>
7088 * latexrunparams.h: new file containing struct LatexRunParams.
7089 * Makefile.am: add new file.
7091 * LaTeX.[Ch] (c-tor, run):
7092 * buffer.[Ch] (makeLaTeXFile):
7093 * bufferlist.[Ch] (updateIncludedTeXfiles):
7094 * converter.C (convert, scanLog):
7095 * converter.[Ch] (runLaTeX):
7096 * exporter.C (Export):
7097 * paragraph.[Ch] (simpleTeXOnePar):
7098 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7099 * paragraph_funcs.[Ch] (latexParagraphs):
7100 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7101 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7102 pass around a LatexRunParams parameter.
7104 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * paragraph.[Ch]: remove unused constructor
7108 * ParagraphList.C (erase): new function, taking two iterators
7110 2003-05-22 André Pönitz <poenitz@gmx.net>
7112 * undo_funcs.C: remove duplicated code
7114 * iterator.[Ch]: operator=
7116 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * tabular.C (SetMultiColumn): ws changes
7120 * rowpainter.C (paintFirst): get rid of a ->previous
7122 * lyx_cb.C (getPossibleLabel): parlist simplification
7124 * BufferView.C (ChangeInsets): simplify slightly.
7126 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
7128 * LyXAction.C: new lfun space-insert, kill protected-space-insert
7129 * lfuns.h: new LFUN_SPACE
7130 * lyxfunc.C: protected space has a new lfun
7131 * paragraph_funcs.C: read new space insets
7133 * factory.C: handle new space insets
7135 2003-05-22 André Pönitz <poenitz@gmx.net>
7138 * BufferView_pimpl.C:
7141 * undo_funcs.C: return a ParIterator from getParFromID.
7143 * iterators.[Ch]: add two const's
7145 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * toc.C (getTocList): adjust
7149 * iterators.[Ch]: rework for parlist
7151 * buffer.C (par_iterator_begin): adjust
7152 (par_iterator_end): adjust
7154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7156 * BufferView.C (removeAutoInsets): adjust
7157 (ChangeInsets): adjust
7159 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
7161 * text.C (top_y): fix bug 1110
7163 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
7165 * errorlist.[Ch]: added
7168 * BufferView_pimpl.C:
7169 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7172 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7174 * Makefile.am: ensure that lyx is relinked upon changes to the
7175 various "convenience" libs.
7177 2003-05-20 Angus Leeming <leeming@lyx.org>
7179 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7180 files are compiled in alphabetical order again.
7182 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7184 2003-05-19 Angus Leeming <leeming@lyx.org>
7186 * gettext.[Ch]: remove "char const * _(char const *)".
7188 2003-05-19 André Pönitz <poenitz@gmx.net>
7190 * dimension.[Ch]: promote from mathed/dimension.[Ch]
7199 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7201 2003-05-19 André Pönitz <poenitz@gmx.net>
7205 * lyxtextclass.[Ch]:
7207 * paragraph_funcs.[Ch]:
7209 * text3.C: more insetenv work
7211 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
7213 * ParagraphParameters.C (params2string): small bug fixed
7215 2003-05-16 André Pönitz <poenitz@gmx.net>
7218 * bufferview_funcs.C: patch from Kornel Benko to prevent
7219 crash when _(...) is called twice in a statement
7221 2003-05-16 André Pönitz <poenitz@gmx.net>
7228 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7230 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
7232 * lyx_main.C (init): remove spurious static_cast
7234 2003-05-14 André Pönitz <poenitz@gmx.net>
7236 * BufferView.C: fix format string
7238 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
7240 * BufferView.[Ch] (insertErrors): removed
7241 * BufferView.[Ch] (showErrorList): added
7242 * buffer.C (runChkTeX):
7243 * converter.C (scanLog): call showErrorList instead of inserterrors
7245 2003-05-13 André Pönitz <poenitz@gmx.net>
7247 * BufferView_pimpl.C:
7249 * bufferview_func.C:
7256 * tabular_funcs.h: tostr() from its own header
7258 * ParagraphParameters.C:
7263 * text3.C: STRCONV()
7265 2003-05-12 André Pönitz <poenitz@gmx.net>
7268 * BufferView_pimpl.C:
7272 * ParagraphParameters.C:
7276 * bufferview_funcs.C:
7289 * paragraph_funcs.C:
7293 * text3.C: boost::format -> bformat all over the place
7296 2003-05-09 André Pönitz <poenitz@gmx.net>
7298 * LColor.[Ch]: Pimpl the #include <map> away
7300 2003-05-09 John Levon <levon@movementarian.org>
7302 * bufferlist.C: never remove emergency saves
7304 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * Makefile.am: better lib building
7308 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
7310 * texrow.[Ch]: remove dependency on Paragraph and just store a id
7312 * paragraph_pimpl.C (simpleTeXBlanks): adjust
7313 (simpleTeXSpecialChars): adjust
7314 (simpleTeXSpecialChars): adjust
7315 * paragraph.C (simpleTeXOnePar): adjust
7316 * buffer.C (makeLaTeXFile): adjust
7318 * Makefile.am (BOOST_LIBS): allow boost as system lib.
7320 * text2.C (changeDepth): parlist cleanup
7321 (getColumnNearX): ditto
7323 * rowpainter.C (getLabelFont): parlist cleanup
7325 * bufferlist.C (newFile): parlist cleanup
7327 * CutAndPaste.C (eraseSelection): parlist cleanup
7329 * BufferView_pimpl.C (trackChanges): parlist cleanup
7332 * BufferView.C (lockInset): parlist cleanup.
7333 (ChangeInsets): ditto
7335 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7337 * CutAndPaste.h: Update file header.
7339 * CutAndPaste.C: Update file header.
7340 Store the parts cut out of the Document in a limited_stack.
7341 (copySelection): adjust
7342 (pasteSelection): new function, takes the index in the limited stack.
7343 (nrOfParagraphs): adjust
7344 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7345 simplify error inset insertion.
7346 (checkPastePossible): adjust
7348 2003-05-06 John Levon <levon@movementarian.org>
7350 * text2.C: don't cast wrap inset to float
7352 2003-05-05 André Pönitz <poenitz@gmx.net>
7355 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7357 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7358 few naked Paragraph *.
7360 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
7362 * bufferparams.C: Output warning if a document with missing
7363 TeX document class is loaded
7364 * exporter.C: Disable TeX exports if the document class is missing
7367 * lyxtextclasslist.C: Handle new textclass.lst format; new method
7368 isTeXClassAvailable()
7370 2003-05-03 John Levon <levon@movementarian.org>
7373 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7374 explicit cursor show/hide
7376 * BufferView_pimpl.h:
7377 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7378 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7380 * lyxfunc.C: hide cursor before dispatching.
7385 * text3.C: remove explicit cursor hides
7387 2003-05-02 André Pönitz <poenitz@gmx.net>
7389 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7392 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7395 * text2.C: tiny whitespace
7397 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7399 * undo_funcs.C: almost only ws changes.
7401 * ParagraphList.C (splice): just return if pl is empty.
7403 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * ParagraphList.C (splice): new function.
7407 * CutAndPaste.C (pasteSelection): use it
7409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * CutAndPaste.C (pasteSelection): remove the last next and
7412 previous from this file.
7414 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7416 * CutAndPaste.C (pasteSelection): more clean up, user proper
7417 ParagraphList functions for pasteing.
7419 * ParagraphList.C (insert): new function, three arg insert
7421 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * ParagraphList.C (insert): new function, three arg insert
7425 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7430 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7434 * CutAndPaste.C (pasteSelection): remove some unneeded code.
7436 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7438 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7439 (copySelection): clean up a bit.
7440 (pasteSelection): use make_pair
7442 * ParagraphList.C (ParagraphList): implement copy constructor
7443 (operator=): implement, base on copy constructor.
7446 * paragraph.C (erase): return a bool
7448 * paragraph_pimpl.C (erasePos): remove function, move contents...
7449 (erase): ... here. Return a bool.
7450 (erase): call erase instead of erasePos.
7452 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
7454 * ParagraphList.h: define PitPosPair
7455 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7456 ParagraphList, fix a bug on pasting multiple pars
7457 * text2.C: change interface to C&P
7459 2003-04-30 André Pönitz <poenitz@gmx.net>
7461 * undo_func.C: revert part of yesterday's patch 2
7463 2003-04-30 John Levon <levon@movementarian.org>
7465 * LColor.C: s/tabular/table/
7467 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * text3.C (dispatch): do not convert iterator -> pointer
7470 * undo_funcs.C (setCursorParUndo): ditto
7471 * text_funcs.C (transposeChars): ditto
7473 * text2.C (setLayout): ws changes only
7475 * text.C (breakParagraph): do not convert iterator -> pointer
7477 (acceptChange): ditto
7478 (rejectChange): ditto
7483 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7486 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7488 * text3.C (gotoInset): YABG (yet another bad getChar)
7490 2003-04-29 André Pönitz <poenitz@gmx.net>
7492 * paragraph.h: make operator= private unimplemented as long as
7495 * ParagraphList.C: whitespace
7498 * paragraph_pimpl.[Ch]:
7499 * paragraph_funcs.C:
7501 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
7504 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7506 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
7508 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7509 * paragraph.[Ch] (erase):
7510 * paragraph_pimpl.[Ch] (erase): change return type and value
7511 * text2.C (cutSelection): some rework
7513 2003-04-28 John Levon <levon@movementarian.org>
7515 * bufferlist.C: changes for unsaved changes dialog
7517 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7519 * bufferlist.C (newFile): set language (messages_) for new
7522 * buffer.C (readFile): ws changes only.
7524 2003-04-28 André Pönitz <poenitz@gmx.net>
7529 * BufferView_pimpl.C:
7530 * BufferView.C: getParFromID related ParagraphList::iterator changes
7532 2003-04-28 André Pönitz <poenitz@gmx.net>
7534 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7537 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * messages.C: remove one more localedir class variable.
7541 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * messages.C (getLocaleDir): singleton generation function
7545 (Messages): add a default constructor.
7547 * main.C (main): do not setup localedir here, do not call
7550 * gettext.C (_): use it.
7551 (gettext_init): delete funciton
7553 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7555 * gettext.C (getLyXMessages): new singleton generating function.
7557 * buffer.C (updateDocLang): adjust
7559 * Makefile.am (messages.o): add target
7560 (main.o): remove target
7562 2003-04-27 John Levon <levon@movementarian.org>
7567 * lyxvc.C: specify cancel button in Alert::prompt
7569 2003-04-26 John Levon <levon@movementarian.org>
7574 * LyXAction.C: add LFUN_INSET_SETTINGS
7576 * lyxfunc.C: don't enable tabular-feature when there's
7577 just any locking inset
7579 2003-04-26 John Levon <levon@movementarian.org>
7581 * bufferlist.C: re-add Cancel to buffer close question
7583 * lyxfunc.C: fix import UI a bit
7585 2003-04-25 John Levon <levon@movementarian.org>
7587 * gettext.C: remove the broken asserts for now
7589 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * messages.C: make case where setlocale cannot comply work better.
7593 * buffer.C (updateDocLang): new function
7594 (changeLanguage): use it
7597 * text2.C (setCounter): use B_ a bit.
7599 * lyxlayout.C (Read): be sure to trim the label strings.
7601 * messages.C (Messages): fix typo in comment
7603 * buffer.C (readFile): set message_ after file is loaded.
7604 (makeDocBookFile): remove double return
7605 (changeLanguage): reset message_ upon language change.
7606 (B_): new func, use this to get translated buffer strings.
7608 * main.C: add myself and Jean Marc as authors.
7610 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
7612 * messages.[hC]: pimplify Messages, and three different pimpls to be
7613 used in different circumstances.
7615 * gettext.[Ch]: change for use with new message code.
7617 2003-04-24 André Pönitz <poenitz@gmx.net>
7619 * factory.C: support for eqref
7621 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * messages.[Ch]: add missing char
7625 * Makefile.am (lyx_SOURCES): add messages.[Ch]
7627 * messages.[Ch]: New files
7629 2003-04-18 John Levon <levon@movementarian.org>
7633 * BufferView_pimpl.C:
7637 * text2.C: remove layout-copy/paste (bug 778)
7639 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7641 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7643 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7645 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7646 if they succeed. Act accordingly.
7648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7650 * text2.C (setCharFont): adjust
7651 (setCounter): adjust
7652 (insertStringAsLines): adjust
7654 * text.C (leftMargin): adjust
7655 (setHeightOfRow): adjust
7657 * rowpainter.C (paintFirst): adjust
7660 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7662 (isFirstInSequence): ditto
7663 (getEndLabel): ditto
7666 * paragraph.C (getParLanguage): comment out some hard stuff.
7668 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7670 (simpleDocBookOnePar): ditto
7671 (makeDocBookFile): use ParagraphList::iterator
7673 * CutAndPaste.C (pasteSelection): adjust
7675 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * text2.C (getFont): adjust
7678 (getLayoutFont): adjust
7679 (getLabelFont): adjust
7681 * paragraph_funcs.C (TeXOnePar): adjust
7683 * buffer.C (simpleLinuxDocOnePar): adjust
7684 (simpleDocBookOnePar): adjust
7686 * CutAndPaste.C (pasteSelection): adjust
7688 * BufferView.C (getEncoding): adjust
7690 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7692 2003-04-16 John Levon <levon@movementarian.org>
7694 * lyxfind.C: use parlist stuff for search/changes
7696 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7698 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7700 * text2.C (deleteEmptyParagraphMechanism): adjust
7702 * text2.[Ch] (ownerParagraph): delete func (both of them
7704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7706 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7710 * ParagraphList.C: prepare for NO_NEXT
7712 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7714 * text2.C (getFont): adjust
7715 (getLayoutFont): adjust
7716 (getLabelFont): adjust
7718 * paragraph.C (getFont): adjust
7719 (getLabelFont): adjust
7720 (getLayoutFont): adjust
7722 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7724 2003-04-15 John Levon <levon@movementarian.org>
7728 * lyx_main.C: handle Include in .ui files
7730 2003-04-15 John Levon <levon@movementarian.org>
7732 * MenuBackend.C: make the doc files length shorter
7735 * ToolbarBackend.C: handle toolbar placement flags,
7738 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7740 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7743 * paragraph_funcs.C (TeXOnePar): adjust
7745 * paragraph.C (getLabelFont): add outerfont arg, adjust
7746 (getLayoutFont): ditto
7747 (simpleTeXOnePar): adjust
7749 * paragraph_pimpl.C (realizeFont): delete func
7751 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7753 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7754 row argument, constify cur argument.
7756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * text2.C (getFont): adjust
7759 (getLayoutFont): adjust
7760 (getLabelFont): adjust
7762 * paragraph_funcs.C (TeXOnePar): adjust
7763 (outerFont): new func...
7764 (realizeFont): ...moved out from here, changed this to facilitate
7767 * paragraph.C (getFont): take outerfont as arg, adjust
7768 (simpleTeXOnePar): add outerfont arg, adjust
7770 * buffer.C (simpleLinuxDocOnePar): adjust
7771 (simpleDocBookOnePar): adjust
7773 * CutAndPaste.C (pasteSelection): adjust
7775 * BufferView.C (getEncoding): adjust
7777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * text2.C (setCharFont): adjust
7780 (setCounter): adjust
7782 * text.C (leftMargin): adjust
7783 (setHeightOfRow): adjust
7785 * rowpainter.C (paintFirst): adjust
7788 * paragraph_pimpl.C (realizeFont): adjust
7790 * paragraph.C (isFirstInSequence): move from here...
7791 * paragraph_funcs.C (isFirstInSequence): ...to here
7793 * paragraph.C (outerHook): move from here...
7794 * paragraph_funcs.C (outerHook): ...to here
7796 * paragraph.C (depthHook): move from here...
7797 * paragraph_funcs.C (depthHook): ...to here
7799 * paragraph.C (getEndLabel): move from here...
7800 * paragraph_funcs.C (getEndLabel): ...to here
7802 * text2.C (realizeFont): move from here...
7803 * paragraph_funcs.C (realizeFont): ...to here
7805 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7807 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7809 2003-04-14 Angus Leeming <leeming@lyx.org>
7811 * LColor.[Ch]: scrap LColor mathcursor.
7813 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7815 * lyxlex.[Ch] (text): delete function
7816 * trans.C (Load): adjust
7817 * paragraph_funcs.C (readParToken): adjust
7819 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7822 vector<char> instead of a char[].
7824 * lyxlex_pimpl.C (getString): adjust
7826 (lex): use getString
7830 * lyxlex.C (text): use pimpl_->getString()
7834 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7837 (makeFontEntriesLayoutSpecific): temp var for par.size()
7838 (setLayout): temp var for ownerParagraphs().end()
7839 (fullRebreak): temp var for rows().end()
7840 (selectionAsString): temp var for boost::next(startpit), realize
7841 that the while really is a regular for loop.
7842 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7843 setCursor in one place.
7844 (setParagraph): temp vr for ownerParagraphs().end()
7845 (updateCounters): make the while loop a for loop
7846 (cutSelection): temp var for ownerParagraphs().end()
7847 (updateInset): make the do {} while() a regular for loop
7848 (getCursorX): use temp vars
7849 (setCurrentFont): use temp vars
7850 (getColumnNearX): use temp vars
7852 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7854 * text.C (transformChar): use temp var for getChar
7855 (computeBidiTables): use temp var for row->par()
7856 (fill): move temp vars for row->par() and pit->layout() earlier in
7858 (labelFill): use temp var for row->par()
7859 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7860 asc and desc, realize that pit never changes and that firstpit is
7861 just a duplicate and not needed. Exchange rit->par() with pit in a
7863 (breakAgain): use a temp var for boost::next(rit)
7864 (breakAgainOneRow): ditto
7865 (breakParagraph): use a temp var for rows().begin()
7866 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7867 (cursorRightOneWord): use temp var for cursor.par() and
7868 cursor.pos(), remove usage of tmpcursor.
7869 (cursorLeftOneWord): use temp var for cursor.par() and
7870 cursor.pos() only set cur at end of function.
7872 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * text.C, text2.C: exchange all usage of Paragraph::next with
7875 boost::next(ParagraphList::iterator)
7877 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7879 * text2.C (cursorTop): simplify implementation
7880 (cursorBottom): ditto
7881 (setParagraph): use ParagraphList::iterator
7882 (setCurrentFont): adjust
7883 (getColumnNearX): adjust
7884 (cursorRight): adjust
7885 (cursorLeft): remove usage of Paragraph::previous
7886 (cursorUpParagraph): ditto
7887 (deleteEmptyParagraphMechanism): slight cleanup
7889 * text.C (isBoundary): take a Paragraph const & instead of a
7891 (addressBreakPoint): ditto
7892 (leftMargin): remove usage of Paragraph::previous.
7893 (setHeightOfRow): ditto
7894 (cursorLeftOneWord): ditto
7895 (selectNextWordToSpellcheck): ditto
7898 (breakParagraph): remove one usage of Paragraph::next
7899 (redoParagraph): ditto
7900 (acceptChange): ditto
7901 (insertChar): adjust
7902 (rowBreakPoint): adjust
7904 * bufferview_funcs.C (toggleAndShow): adjust
7906 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7908 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7909 methods to access it.
7911 * text.C: Added updateRowPositions to compute all row positions.
7912 Make top_y and getRowNearY() to use the cached y position
7914 2003-04-11 John Levon <levon@movementarian.org>
7916 * text.C (rowBreakPoint): reintroduce the labelEnd
7917 checks, code copied from the row fill stuff. Deep voodoo.
7919 * text.C (fill): add a comment and debugging for the
7922 2003-04-11 John Levon <levon@movementarian.org>
7924 * text.C: make sure fullrow insets get wrapped to the next line,
7925 even when they're in a manual label
7927 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7929 * text2.C (insertParagraph): make it take ParagraphList::iterator
7931 (setLayout): make it return ParagraphList::iterator
7932 (redoParagraphs): ditto
7934 (checkParagraph): ditto
7936 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7938 * text2.C: adjust several funcs.
7939 (realizeFont): take a ParagraphList::iterator as arg.
7940 (getLayoutFont): ditto
7941 (getLabelFont): ditto
7942 (setCharFont): ditto
7944 * text.C: adjust several funcs.
7946 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7948 * text.C (selectNextWordToSpellcheck): don't accidentally
7951 2003-04-10 John Levon <levon@movementarian.org>
7953 * ToolbarBackend.C (getIcon): special handling for
7956 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7958 * text2.C (cursorRight): a getChar assert fixed
7960 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * text2.C (getFont): change to take a ParagraphList::iterator
7963 instead of Paragraph*
7964 Adjust several functions.
7966 * text.C (transformChar): change to take a ParagraphList::iterator
7967 instead of Paragraph*
7968 (singleWidth): ditto
7969 Adjust several functions.
7971 * rowpainter.C: adjust several functions
7972 * rowpainter.h:store a ParagraphList::iterator and not a
7976 2003-04-09 John Levon <levon@movementarian.org>
7981 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7982 and the "help" bits as well
7984 2003-04-09 John Levon <levon@movementarian.org>
7987 * ToolbarBackend.C: allow multiple toolbars
7989 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7991 * undo_funcs.C (setCursorParUndo): adjust
7993 * text_funcs.C (transposeChars): adjust
7995 * text3.C (gotoNextInset): adjust
7998 * text2.C (setLayout): adjust
7999 (changeDepth): adjust
8001 (redoParagraphs): adjust
8002 (selectionAsString): adjust
8003 (setParagraph): adjust
8004 (insertInset): adjust
8005 (cutSelection): adjust
8006 (copySelection): adjust
8007 (pasteSelection): adjust
8008 (insertStringAsLines): adjust
8009 (updateInset): adjust
8010 (setCursor): change to take a ParagraphList::iterator parameter
8011 (setCursorIntern): change to take a ParagraphList::iterator parameter
8012 (setCurrentFont): adjust
8013 (cursorLeft): adjust
8014 (cursorRight): adjust
8015 (deleteEmptyParagraphMechanism): adjust
8017 * text.C (breakParagraph): adjust
8018 (insertChar): adjust
8019 (acceptChange): adjust
8020 (rejectChange): adjust
8021 (selectNextWordToSpellcheck): adjust
8022 (changeCase): adjust
8026 * lyxfind.C (SearchForward): adjust
8027 (SearchBackward): adjust
8028 (nextChange): adjust
8030 * lyxcursor.C (par): adjust
8032 * lyxcursor.h: store a ParagraphList::iterator instead of a
8035 * lyx_cb.C (getPossibleLabel): adjust
8037 * bufferview_funcs.C (toggleAndShow): adjust
8039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8042 * BufferView.C (removeAutoInsets): adjust
8043 (lockedInsetStoreUndo): adjust
8045 2003-04-09 John Levon <levon@movementarian.org>
8047 * ToolbarBackend.C: try icon without argument
8048 if with argument fails
8050 2003-04-08 John Levon <levon@movementarian.org>
8053 * ToolbarBackend.C: add getIcon(), handle tooltip,
8054 and change from "Icon" to "Item".
8056 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8058 * BufferView.C (lockInset): another bad getchar crunched
8060 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
8062 * text2.C (changeDepth): do not setUndo on test_only (make undo work
8065 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
8067 * lyxfind.C (searchForward, searchBackwards): bug 782
8069 2003-04-07 John Levon <levon@movementarian.org>
8071 * paragraph.C: remove dead comment
8073 * text.C: remove troublesome depth-fiddling code
8074 in leftMargin() and rightMargin() (bug 1017)
8076 * text.C: fix breaking of rows in nested lists
8079 * text2.C (updateCounters): fix up depth values
8082 2003-04-07 John Levon <levon@movementarian.org>
8084 * BufferView_pimpl.C: clear message when doc finishes resizing,
8085 and after a mouse event
8087 * lyxfunc.C: clear message after exiting inset
8089 2003-04-07 John Levon <levon@movementarian.org>
8091 * bufferview_funcs.C: show math status not outside
8092 status in the statusbar
8094 2003-04-07 John Levon <levon@movementarian.org>
8096 * lyxfunc.C: note status changed after a depth change
8098 2003-04-04 Angus Leeming <leeming@lyx.org>
8100 * LaTeX.h: move AuxInfo operator==, != out of line.
8101 Remove LaTeX virtual destructor; nothing derives from it.
8102 Move operator()() out of public area and rename it startscript().
8103 Change protected for private.
8105 2003-04-04 Angus Leeming <leeming@lyx.org>
8108 * text2.C: remove unneeded #includes.
8110 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8112 * text2.C (dEPM): fix the heigth of the next row
8114 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
8116 * text.C: squashed an invalid getChar requester + some ws changes
8118 2003-04-03 John Levon <levon@movementarian.org>
8120 * bufferview_funcs.h:
8121 * bufferview_funcs.C:
8124 * text2.C: make getStatus work for the env depth lfuns
8126 2003-04-03 John Levon <levon@movementarian.org>
8128 * bufferview_funcs.h:
8129 * bufferview_funcs.C:
8132 * text2.C: parlistize decDepth(), by merging it with incDepth()
8134 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * lyxrow.h: store a ParagraphList::iterator instead of a
8137 Paragraph* and adjust other class functions to suit.
8139 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8142 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8144 * text2.C (setCursor): do not anchor to cursor row for the time being
8146 2003-04-02 John Levon <levon@movementarian.org>
8153 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8155 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8157 * paragraph.h: make ParagraphList and ParagraphList::iterator
8158 friends of Paragraph.
8160 * buffer.C (makeLinuxDocFile): move towards ParagraphList
8162 * ParagraphList.C: Use the private next_ and previous_ from
8165 2003-04-01 John Levon <levon@movementarian.org>
8169 * Makefile.am: rename, remove defaults gunk
8172 * MenuBackend.C: remove defaults gunk
8175 * Languages.C: remove defaults gunk
8178 * lyx_main.C: error out if files couldn't be found.
8180 2003-04-02 John Levon <levon@movementarian.org>
8182 * text2.C: make incDepth() use parlist
8184 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * undo_funcs.C (firstUndoParagraph): adjust
8188 * text3.C (gotoInset): adjust
8189 (dispatch): adjust, and rewrite loop.
8191 * text2.C (init): adjust, and rewrite loop.
8192 (redoParagraphs): adjust
8193 (updateInset): adjust, and rewrite loop.
8194 (deleteEmptyParagraphMechanism): adjust
8196 * tabular.C (LyXTabular): adjust
8197 (SetMultiColumn): adjust
8200 * lyxtext.[Ch] (ownerParagraph): delete function
8201 (ownerParagraphs): new function returns a ParagraphList.
8203 * BufferView.C (removeAutoInsets): adjust
8204 (insertErrors): adjust
8205 (setCursorFromRow): adjust
8207 2003-04-01 Angus Leeming <leeming@lyx.org>
8209 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8212 2003-04-02 John Levon <levon@movementarian.org>
8218 * text_funcs.C: make transposeChars a free function
8220 * lyxrow_funcs.C: remove wrong comment
8222 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8225 * rowpainter.C: adjust
8230 * lyxrow_funcs. [Ch]: new files
8232 * lyxrow.[Ch]: remove next and previous pointers
8233 (next,previous): remove accessor functions
8234 (isParEnd): move to lyxrow_funcs
8235 (lastPos): move to lyxrow_funcs
8236 (nextRowIsAllInset): move to lyxrow_funcs
8237 (lastPrintablePos): move to lyxrow_funcs
8238 (numberOfSeparators): move to lyxrow_funcs
8239 (numberOfHfills): move to lyxrow_funcs
8240 (numberOfLabelHfills): move to lyxrow_funcs
8241 (hfillExpansion): move to lyxrow_funcs
8245 * bufferview_funcs.C (toggleAndShow): adjust
8247 * RowList.h: Remove class RowList from file leave just a
8250 * RowList.C: delete file
8252 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8255 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8257 * text3.C (cursorPrevious): adjust
8258 (cursorNext): adjust
8261 * text2.C (redoHeightOfParagraph): adjust
8262 (redoDrawingOfParagraph): adjust
8265 * text.C (breakParagraph): adjust
8266 (insertChar): adjust
8269 * rowpainter.C (RowPainter): adjust
8270 (leftMargin): simplify and adjust
8271 (most rowpainter functions): adjust.
8273 * rowpainter.h: store the row as RowList::iterator not as Row*
8275 * lyxcursor.C (row): taka RowList::iterator as arg
8278 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8281 2003-04-01 Angus Leeming <leeming@lyx.org>
8283 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8284 stuff like bool Bool.
8286 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
8288 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8291 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8296 * lyxtext.h (rows): drop one version and leve a const variant that
8297 returns a RowList::iterator.
8299 2003-03-31 Angus Leeming <leeming@lyx.org>
8301 * text.C (fill): ensure that the signature is the same as that in the
8304 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8306 * text2.C (redoParagraphs): adjust
8307 (updateCounters): adjust
8308 (checkParagraph): adjust
8309 (getColumnNearX): adjust and reformat a bit.
8311 * text.C (top_y): adjust
8313 (leftMargin): adjust
8314 (prepareToPrint): adjust
8316 (getRowNearY): adjust
8318 * lyxtext.h: make rowlist_ mutable.
8320 * RowList.h: add const_iterator
8321 * RowList.C: adjust for RowList::const_iterator.
8323 * text2.C (getCursorX): make it take a RowList::iterator as arg,
8326 2003-03-31 John Levon <levon@movementarian.org>
8329 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8331 * lyx_main.C: set default fonts from using lyx_gui funcs
8333 * exporter.C: pdf_mode moved from lyxrc
8336 * lyxfunc.C: changes from above
8338 2003-03-31 John Levon <levon@movementarian.org>
8340 * lyx_main.C: fix to the last fix
8342 2003-03-31 John Levon <levon@movementarian.org>
8344 * bufferlist.C: "Load original" -> "Load Original"
8350 * format.C: more Alert cleanups
8352 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8354 * text2.C (removeParagraph): make it take a RowList::iterator as
8356 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8357 (postRowPaint): make it take a RowList::iterator as arg, adjust.
8359 * text.C (anchor_row): make it take a RowList::iterator as arg,
8361 (computeBidiTables): make it take a const reference to Row instead
8362 of Row pointer, adjust.
8363 (leftMargin): make it take a RowList::iterator as arg, adjust.
8364 (rowBreakPoint): adjust
8365 (breakAgainOneRow): make it take a RowList::iterator as arg,
8367 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8369 * bufferview_funcs.C (toggleAndShow): adjust
8371 2003-03-30 John Levon <levon@movementarian.org>
8375 * boost-inst.C: moved to support
8377 * several files: changes as a result
8379 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
8381 * text2.C (LyXText): adjust.
8383 (removeRow): make it take a RowList::iterator as arg, adjust.
8384 (fullRebreak): adjust
8385 (deleteEmptyParagraphMechanism): adjust
8386 (clearPaint): adjust
8389 * text.C (top_y): adjust
8390 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8391 (breakAgain): make it take a RowList::iterator as arg, adjust.
8392 (breakParagraph): adjust
8393 (insertChar): adjust
8396 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8397 need_break_row, and refresh_row.
8399 * text3.C (dispatch): adjust
8401 * text2.C (checkParagraph): adjust
8403 (setCursorFromCoordinates): adjust
8405 * text.C (top_y): adjust
8407 (getRow): make it return a RowList::iterator, adjust
8408 (getRowNearY): make it return a RowList::iterator, adjust
8410 * text2.C (init): adjust
8411 (insertRow): remove function
8412 (insertParagraph): adjust
8413 (redoParagraphs): adjust
8414 (fullRebreak): adjust
8415 (updateCounters): adjust
8417 * text.C (top_y): rewrite to use RowList iterators.
8419 (setHeightOfRow): rewrite to sue RowList iterators.
8420 (appendParagraph): adjust
8421 (breakAgain): adjust
8422 (breakAgainOneRow): adjust
8423 (breakParagraph): adjust
8425 (getRowNearY): adjust, and remove commented code.
8427 * lyxtext.h (firstRow): delete function
8428 (lastRow): delete function
8429 (rows): new function (const and non-const versions.)
8430 (insertRow): delete function
8432 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8434 2003-03-29 John Levon <levon@movementarian.org>
8436 * BufferView_pimpl.C: always update scrollbar top
8437 because pasting text when we're anchored could mean we
8438 miss an update altogether
8440 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * text2.C (init): use rowlist_.end() and not 0.
8443 (insertRow): change to take a RowList::iterator as arg, adjust
8445 (insertParagraph): change to take a RowList::iterator as arg,
8447 (redoParagraphs): remove some debug msgs.
8449 * text.C (appendParagraph): change to take a RowList::iterator
8450 arg, adjust for this.
8451 (breakAgain): add an assert
8452 (breakAgainOneRow): ditto
8454 2003-03-29 John Levon <levon@movementarian.org>
8456 * text2.C: do not clear selection after inc/decDepth
8459 2003-03-29 John Levon <levon@movementarian.org>
8462 * buffer.C: fix broken strerrors according to Lars
8464 2003-03-29 John Levon <levon@movementarian.org>
8466 * converters.C: more Alert cleanups
8468 2003-03-29 John Levon <levon@movementarian.org>
8470 * bufferview_funcs.C: remove pointless Alert
8472 * buffer.C: fix confusing error message when
8473 a template is chmoded 000
8475 2003-03-29 John Levon <levon@movementarian.org>
8479 * BufferView_pimpl.C: Alert fixes
8483 * tabular-old.C: remove unused table compat reading
8485 2003-03-29 John Levon <levon@movementarian.org>
8490 * lyx_cb.C: more Alert cleanups
8492 * lyxfunc.C: don't allow chktex if not latex document
8494 2003-03-29 John Levon <levon@movementarian.org>
8498 * buffer.C: warnings pushed down from support/,
8501 2003-03-29 John Levon <levon@movementarian.org>
8503 * lyxfunc.C: safety check for C-r (revert)
8505 2003-03-29 John Levon <levon@movementarian.org>
8508 * bufferlist.C: several UI fixes using Alert::prompt.
8509 Fix the pointless looping quit code. Fix stupid revert
8514 * lyx_cb.C: use Alert::prompt
8516 * lyx_main.C: remove a silly question
8518 * lyxfunc.C: remove a couple of silly questions,
8521 2003-03-28 John Levon <levon@movementarian.org>
8523 * text2.C: fix bug 974 (End on empty par)
8525 2003-03-28 John Levon <levon@movementarian.org>
8527 * BufferView_pimpl.C:
8529 * lfuns.h: remove do-nothing math greek lfuns
8531 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8533 * lyxgluelength.h (isValidGlueLength): add default arg on
8534 parameter 2. Remove default arg from friend in class.
8536 * lyxlength.h (isValidLength): add default arg on parameter 2.
8537 Remove default arg from friend in class.
8539 * text2.C (LyXText): adjust, initialize refresh_row.
8543 (insertParagraph): adjst
8544 (redoParagraphs): adjust
8545 (fullRebreak): adjust
8546 (updateCounters): adjust
8547 (deleteEmptyParagraphMechanism): first attempt at fixing a
8550 * text.C (top_y): adjust
8551 (setHeightOfRow): adjust
8553 (getRowNearY): adjust
8555 * lyxtext.h: include RowList.h
8556 (~LyXText): not needed anymore, deleted.
8557 (firstRow): modify for RowList
8558 (lastRow): new function
8559 Delete firstrow and lastrow class variables, add a Rowlist
8560 rowlist_ class variable.
8562 * lyxrow.C (lastPos): use empty() and not !size() to check if a
8565 * RowList.C (insert): fix case where it == begin().
8567 2003-03-26 Angus Leeming <leeming@lyx.org>
8569 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8570 the thesaurus dialog.
8572 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8576 * RowList.[Ch]: new files
8578 * ParagraphList.C (erase): handle the case where it == begin
8581 2003-03-25 John Levon <levon@movementarian.org>
8585 * aspell.C: add new aspell support
8588 * lyxrc.C: Make use_pspell be use_spell_lib. Always
8591 2003-03-25 Angus Leeming <leeming@lyx.org>
8594 * LyXAction.C (init): new LFUN_INSET_INSERT.
8596 * BufferView_pimpl.C (dispatch): split out part of the
8597 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8599 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8602 2003-03-25 Angus Leeming <leeming@lyx.org>
8604 * lyxfunc.C (dispatch): changes to the Dialogs interface.
8606 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
8609 * text3.C: remove useless row->height(0)
8611 2003-03-25 John Levon <levon@movementarian.org>
8615 * text3.C: rename the refreshing stuff to better names
8617 2003-03-24 John Levon <levon@movementarian.org>
8619 * BufferView_pimpl.h:
8620 * BufferView_pimpl.C: update layout choice on a mouse
8623 2003-03-23 John Levon <levon@movementarian.org>
8625 * Makefile.am: fix commandtags.h reference
8627 2003-03-22 John Levon <levon@movementarian.org>
8629 * BufferView_pimpl.C:
8634 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8636 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8639 * text.C: take the rtl methods out of line
8641 2003-03-21 André Pönitz <poenitz@gmx.net>
8643 * metricsinfo.[Ch]: new files containing structures to be passed around
8644 during the two-phase-drawing...
8646 2003-03-21 André Pönitz <poenitz@gmx.net>
8648 * lyxtextclass.C: read 'environment' tag.
8650 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8652 * text2.C (removeRow): fix bug 964
8654 2003-03-20 John Levon <levon@movementarian.org>
8658 * text2.C: paint cleanups. Inset::update() dropped font
8661 2003-03-19 John Levon <levon@movementarian.org>
8663 * lyxfunc.C: only fitcursor/markDirty if available()
8665 2003-03-19 John Levon <levon@movementarian.org>
8667 * commandtags.h: rename to ...
8669 * lfuns.h: ... this, and renumber / cleanup
8671 2003-03-19 John Levon <levon@movementarian.org>
8673 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8674 fit the cursor after an lfun
8678 * BufferView_pimpl.h:
8679 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8681 * LyXAction.C: layout-character should have ReadOnly
8683 * ParagraphParameters.C:
8685 * bufferview_funcs.C:
8692 * undo_funcs.C: changes from above
8694 2003-03-18 John Levon <levon@movementarian.org>
8696 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8697 remove it from update()
8699 * lyxfunc.C: update layout choice after an lfun
8701 * text3.C: remove extra updateLayoutChoice()s
8703 2003-03-18 John Levon <levon@movementarian.org>
8705 * text.C: top_y change means full repaint, fix
8706 a drawing bug with cursor movement
8708 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8712 * text2.C: anchor row on setCursor
8714 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8716 * lyxtext.h: remove almost all mutable keywords
8719 * text3.C: remove const keywords accordingly
8721 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8723 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8725 (TeXEnvironment): ditto
8728 2003-03-17 John Levon <levon@movementarian.org>
8730 * text.C (rowBreakPoint): remove attempt to fix displayed
8731 math insets inside a manual label
8733 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8735 * lyxtext.h: remove BufferView* as first arg from almost all class
8737 * other files: adjust.
8739 2003-03-17 John Levon <levon@movementarian.org>
8743 * text2.C: more paint cleanups
8745 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8748 * rowpainter.C: remove "smart" background painting code
8750 2003-03-16 John Levon <levon@movementarian.org>
8755 * text3.C: add helper functions for setting refresh_row/y
8757 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8759 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8760 newline inset which *can* get inserted in the pass_thru layouts.
8761 This is primarily for literate documents.
8763 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8765 * buffer.C: increment LYX_FORMAT to 223
8767 2003-03-14 André Pönitz <poenitz@gmx.net>
8769 * textclass.h: prepare for environment handling, ws changes
8770 * lyxlayout.C: read latexheader and latexfooter tags
8772 2003-03-14 John Levon <levon@movementarian.org>
8774 * text2.C: rewrite ::status() a bit
8776 2003-03-13 John Levon <levon@movementarian.org>
8778 * lyxtext.h: add some docs
8780 2003-03-13 John Levon <levon@movementarian.org>
8785 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8787 2003-03-13 John Levon <levon@movementarian.org>
8789 * text3.C: fix appendix redrawing
8791 2003-03-13 John Levon <levon@movementarian.org>
8793 * text.C (setHeightOfRow):
8795 * rowpainter.C: make appendix mark have the text
8796 "Appendix" so the user knows what it is
8799 * LColor.C: s/appendixline/appendix/ from above
8801 2003-03-13 John Levon <levon@movementarian.org>
8803 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8805 * text.C: fix a getChar(pos) bug properly
8807 2003-03-13 Angus Leeming <leeming@lyx.org>
8810 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8811 Probably only temporary. Let's see how things pan out.
8813 * BufferView.C (unlockInset):
8814 * BufferView_pimpl.C (fitCursor):
8815 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8817 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8818 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8820 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8821 new functions that convert ParagraphParameters to and from a string.
8823 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8824 BufferView::Pimpl's dispatch.
8825 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8827 2003-03-13 André Pönitz <poenitz@gmx.net>
8831 * factory.C: make it aware of InsetEnv
8833 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8835 * text2.C (setCursor): never ask for one past last
8836 (setCursor): add some debugging messages.
8838 * text.C (singleWidth): never ask for one past last
8839 (singleWidth): ditto
8841 (rightMargin): ditto
8842 (rowBreakPoint): ditto
8843 (setHeightOfRow): ditto
8844 (prepareToPrint): ditto
8846 * rowpainter.C (paintBackground): never ask for one past last
8847 (paintText): never ask for one past last
8849 * paragraph_pimpl.C (getChar): make the assert stricter, never
8850 allow the one past last pos to be taken
8852 * paragraph.C (getChar): ws changes only
8854 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8855 (numberOfSeparators): ditto
8856 (numberOfHfills): ditto
8858 2003-03-12 John Levon <levon@movementarian.org>
8864 * paragraph_funcs.C: fix per-buffer authorlists
8866 2003-03-12 John Levon <levon@movementarian.org>
8868 * text.C: fix newline in right address
8870 2003-03-12 Angus Leeming <leeming@lyx.org>
8872 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8873 duplicate those in LyXFunc::dispatch.
8877 * ToolbarDefaults.C:
8878 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8879 Add LFUN_FONTFREE_UPDATE.
8881 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8882 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8884 * bufferview_func.[Ch]: several new functions to facilliate
8885 transfer of data to and from the character dialog.
8887 2003-03-12 John Levon <levon@movementarian.org>
8892 * paragraph_funcs.C:
8893 * paragraph_pimpl.C:
8897 * text3.C: remove META_NEWLINE in favour of an inset
8900 * rowpainter.C: remove paintNewline (done by inset)
8902 2003-03-12 John Levon <levon@movementarian.org>
8904 * paragraph_pimpl.C: complain about bad getChar()s
8905 for a while at least
8907 2003-03-12 John Levon <levon@movementarian.org>
8910 * buffer.C: move paragraph read into a separate function,
8911 a little renaming to reflect that.
8914 * bufferparams.C: remove the author_ids map, not necessary now
8917 * factory.C: moved Buffer::readInset to here
8919 * paragraph_funcs.h:
8920 * paragraph_funcs.C: readParagraph free function moved from
8923 * tabular.C: name change
8925 2003-03-12 John Levon <levon@movementarian.org>
8928 * ParagraphParameters.C: move par params input to
8931 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8932 behave like a normal read from the stream wrt reading
8933 a line vs. a \\token
8935 2003-03-12 John Levon <levon@movementarian.org>
8938 * ParagraphParameters.h:
8939 * ParagraphParameters.C: move output code to a
8942 2003-03-12 John Levon <levon@movementarian.org>
8944 * BufferView.C (insertLyXFile):
8947 * tabular.C: use a parlist iterator for creating the
8950 2003-03-12 John Levon <levon@movementarian.org>
8952 * buffer.C: make current_change static local not
8955 2003-03-12 John Levon <levon@movementarian.org>
8957 * buffer.C: fix insertStringAsLines for change tracking
8959 2003-03-12 John Levon <levon@movementarian.org>
8966 * bufferparams.C: move author list into params. Rename some
8967 functions. Move the header reading into a separate token
8968 loop. Move the header token reading into BufferParams.
8970 2003-03-12 John Levon <levon@movementarian.org>
8972 * changes.C: put debug inside lyxerr.debugging() checks
8974 2003-03-11 André Pönitz <poenitz@gmx.net>
8976 * factory.C: make it aware of InsetHFill
8978 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8980 * buffer.C (latexParagraphs): move function from here...
8981 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8984 2003-03-10 Angus Leeming <leeming@lyx.org>
8986 * LyXAction.C (init): fix bug in poplating array with multiple entries
8987 with the same LFUN (spotted by JMarc).
8989 2003-03-10 John Levon <levon@movementarian.org>
8992 * text2.C: move getColumnNearX() near its
8995 2003-03-10 John Levon <levon@movementarian.org>
8997 * text.C: fix break before a minipage
8999 2003-03-10 John Levon <levon@movementarian.org>
9001 * text.C: fix the last commit
9003 2003-03-09 John Levon <levon@movementarian.org>
9007 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9008 bug 365 (don't break before insets unless needed). Don't
9009 return a value > last under any circumstances.
9011 2003-03-09 Angus Leeming <leeming@lyx.org>
9013 * BufferView_pimpl.C (trackChanges, dispatch): call
9014 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9016 2003-03-09 Angus Leeming <leeming@lyx.org>
9018 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9019 than Dialogs::showAboutlyx().
9021 2003-03-09 Angus Leeming <leeming@lyx.org>
9023 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9024 than Dialogs::showTabularCreate().
9026 2003-03-09 John Levon <levon@movementarian.org>
9030 * text2.C: 3rd arg to nextBreakPoint was always the same.
9033 2003-03-08 John Levon <levon@movementarian.org>
9040 * text2.C: Remove the "main" bit from the "main body"
9043 2003-03-08 John Levon <levon@movementarian.org>
9045 * text.C (leftMargin): The left margin of an empty
9046 manual label paragraph should not include the label width
9049 * text.C (prepareToPrint): don't attempt to measure hfills
9050 for empty manual label paragraphs - the answer should be 0
9052 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9054 * CutAndPaste.C: remove commented code and reindent.
9056 2003-03-08 John Levon <levon@movementarian.org>
9059 * lyxfunc.C: move reloadBuffer()
9062 * BufferView.C: to here
9064 * lyxvc.C: add comment
9067 * vc-backend.C: call bv->reload() to avoid
9068 getStatus() check on MENURELOAD
9070 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
9072 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9073 to an old format .dep file.
9075 2003-03-07 Angus Leeming <leeming@lyx.org>
9077 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9078 when the LFUN_MOUSE_RELEASE should have been handled by
9079 inset->localDispatch.
9081 2003-03-07 Angus Leeming <leeming@lyx.org>
9083 * BufferView_pimpl.C (dispatch):
9084 * LyXAction.C (init):
9085 * ToolbarDefaults.C (init):
9087 * lyxfunc.C (getStatus):
9088 remove LFUN_INSET_GRAPHICS.
9090 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9092 2003-03-07 Angus Leeming <leeming@lyx.org>
9095 * LyXAction.C (init):
9096 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9098 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9101 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9103 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9104 localDispatch method LFUN_INSET_DIALOG_UPDATE.
9106 2003-03-07 Angus Leeming <leeming@lyx.org>
9108 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9111 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9113 * ParagraphList.C (front): new function
9116 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
9118 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9119 and top_row_offset_. removed var first_y.
9121 * text2.C (LyXText, removeRow):
9123 * BufferView_pimpl.C:
9124 use these methods instead of using first_y
9126 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * text2.C (pasteSelection): adjust for checkPastePossible
9130 * CutAndPaste.C: remove Paragraph * buf and replace with
9131 ParagraphList paragraphs.
9132 (DeleteBuffer): delete
9133 (cutSelection): change the tc type to textclass_type
9134 (copySelection): change the tc type to textclass_type
9135 (copySelection): adjust for ParagraphList
9136 (pasteSelection): change the tc type to textclass_type
9137 (pasteSelection): adjust for Paragraphlist
9138 (nrOfParagraphs): simplify for ParagraphList
9139 (checkPastePossible): simplify for ParagraphList
9140 (checkPastePossible): remove unused arg
9142 * ParagraphList.C (insert): handle the case where there are no
9145 * CutAndPaste.h: make CutAndPaste a namespace.
9147 * text3.C (dispatch): adjust
9149 * text.C (breakParagraph): add a ParagraphList as arg
9151 * paragraph_funcs.C (breakParagraph): change to take a
9152 BufferParams and a ParagraphList as args.
9153 (breakParagraphConservative): ditto
9154 (mergeParagraph): ditto
9155 (TeXDeeper): add a ParagraphList arg
9156 (TeXEnvironment): ditto
9159 * buffer.C (readLyXformat2): adjust
9160 (insertStringAsLines): adjust
9161 (latexParagraphs): adjust
9163 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9164 (cutSelection): adjust
9165 (pasteSelection): adjust
9167 * BufferView_pimpl.C (insertInset): adjust
9169 2003-03-05 Angus Leeming <leeming@lyx.org>
9172 * LyXAction.C (init):
9173 * BufferView_pimpl.C (dispatch):
9174 * lyxfunc.C (getStatus):
9175 remove LFUN_CHILD_INSERT.
9177 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9179 2003-03-05 Angus Leeming <leeming@lyx.org>
9182 * LyXAction.C (init):
9183 * src/factory.C (createInset):
9184 * lyxfunc.C (getStatus):
9185 * text3.C (dispatch):
9186 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9188 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9190 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9192 * ParagraphList.C (insert): handle insert right before end()
9193 (erase): fix cases where it can be first or last paragraph.
9195 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9197 * paragraph_funcs.C (TeXEnvironment): remove all usage of
9198 Paragraph::next and Paragraph::previous
9201 * text.C (breakParagraph): adjust
9203 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9204 BufferParams& as arg.
9205 (breakParagraph): use ParagraphList::insert
9206 (breakParagraphConservative): take a Buffer* instead of a
9207 BufferParams& as arg.
9208 (breakParagraphConservative): use ParagraphList::insert.
9210 * buffer.C (insertStringAsLines): un-const it
9211 (insertStringAsLines): adjust
9213 * ParagraphList.C (insert): new function
9215 * CutAndPaste.C (pasteSelection): adjust
9217 * text.C (backspace): adjust
9219 * tabular.C (SetMultiColumn): adjust
9221 * CutAndPaste.C (cutSelection): adjust
9222 (pasteSelection): adjust
9224 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9225 Buffer const * as arg
9227 * ParagraphList.C (erase): new function
9228 * paragraph_funcs.C (mergeParagraph): use it
9229 (mergeParagraph): make it take a Buffer* instead of a
9230 BufferParams* as arg
9232 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9234 (breakParagraphConservative): ditto
9236 * paragraph.h: remove the breakParagraph friend
9238 * paragraph.C (eraseIntern): new function
9239 (setChange): new function
9241 * paragraph_funcs.C (mergeParagraph): make it take a
9242 ParagraphList::iterator instead of a Paragraph *, adjust
9245 * paragraph.h: move an #endif so that the change tracking stuff
9246 also works in the NO_NEXT case.
9248 2003-03-04 Angus Leeming <leeming@lyx.org>
9251 * LyXAction.C: new LFUN_INSET_MODIFY.
9253 * BufferView_pimpl.C (dispatch): if an inset is found to be open
9254 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9256 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9258 * several files: ws changes only
9260 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9261 (TeXEnvironment): ditto
9264 * buffer.C (makeLaTeXFile): adjust
9265 (latexParagraphs): make it take ParagraphList::iterator as args
9267 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
9269 * buffer.C (latexParagraphs): adjust
9271 * paragraph.C (TeXOnePar): move function...
9272 (optArgInset): move function...
9273 (TeXEnvironment): move function...
9274 * paragraph_pimpl.C (TeXDeeper): move function...
9275 * paragraph_funcs.C: ...here
9277 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9279 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9281 * buffer.C (readInset): remove compability code for old Figure and
9284 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9286 * buffer.C: ws changes
9289 * BufferView_pimpl.C: ditto
9292 * bufferlist.h: ditto
9296 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
9298 * converter.[Ch]: split into itself +
9301 * Makefile.am: += graph.[Ch] + format.[Ch]
9308 * lyxrc.C: added #include "format.h"
9310 2003-02-27 Angus Leeming <leeming@lyx.org>
9312 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9315 * factory.C (createInset): add "label" to the factory.
9317 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9318 string and do no more.
9320 2003-02-27 Angus Leeming <leeming@lyx.org>
9323 * LyXAction.C (init):
9324 * factory.C (createInset):
9325 * BufferView_pimpl.C (dispatch):
9326 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9328 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9330 * lyxfunc.C (dispatch):
9331 * text3.C (dispatch): pass name to params2string.
9333 2003-02-26 Angus Leeming <leeming@lyx.org>
9335 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9337 Rearrange the ~includes. Strip out the unnecessary ones.
9339 * factory.C (createInset): reformat.
9340 create new insets for the various LFUN_XYZ_APPLY lfuns.
9342 2003-02-26 John Levon <levon@movementarian.org>
9345 * lyxrow.C: add isParStart,isParEnd helpers
9347 * paragraph.h: make isInserted/DeletedText take refs
9349 * paragraph_funcs.h:
9350 * paragraph_funcs.C: remove #if 0'd code
9355 * text.C: use lyxrow helpers above.
9356 Move draw and paint routines to RowPainter.
9357 Make several methods use refs not pointers.
9358 Make backgroundColor() const.
9359 Add markChangeInDraw(), isInInset().
9360 Merge changeRegionCase into changeCase.
9361 Make workWidth() shouldn't-happen code into an Assert.
9364 * rowpainter.C: new class for painting a row.
9367 * vspace.C: make inPixels take a ref
9369 2003-02-26 Angus Leeming <leeming@lyx.org>
9371 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9374 2003-02-25 John Levon <levon@movementarian.org>
9376 * ispell.C: give the forked command a more accurate name
9378 2003-02-22 John Levon <levon@movementarian.org>
9381 * toc.C: make TocItem store an id not a Paragraph *
9384 2003-02-21 Angus Leeming <leeming@lyx.org>
9386 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9387 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9388 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9389 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9390 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9391 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9393 * BufferView_pimpl.C (dispatch):
9394 * LyXAction.C (init):
9395 * factory.C (createInset):
9396 * lyxfunc.C (getStatus, dispatch):
9397 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9399 2003-02-21 Angus Leeming <leeming@lyx.org>
9401 * BufferView_pimpl.C (MenuInsertLyXFile):
9402 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9403 * lyxfunc.C (menuNew, open, doImport):
9404 no longer pass a LyXView & to fileDlg.
9406 2003-02-21 Angus Leeming <leeming@lyx.org>
9408 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9409 * LyXAction.C: change, BIBKEY to BIBITEM.
9410 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9411 Change InsetBibKey to InsetBibitem.
9412 Change BIBKEY_CODE to BIBITEM_CODE.
9413 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9414 * factory.C: replace insetbib.h with insetbibitem.h.
9415 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9416 * paragraph.C: replace insetbib.h with insetbibitem.h.
9417 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9418 Change bibkey() to bibitem().
9419 * text.C: remove insetbib.h.
9420 * text2.C: replace insetbib.h with insetbibitem.h.
9421 change bibkey() to bibitem().
9422 * text3.C: remove insetbib.h.
9423 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9425 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9427 * lyxrc.C (output): enclose user email in quotes (in case there are
9430 2003-02-18 John Levon <levon@movementarian.org>
9432 * buffer.h: add std::
9434 2003-02-17 John Levon <levon@movementarian.org>
9440 * pspell.C: reworking. Especially in ispell, a large
9441 number of clean ups and bug fixes.
9443 * lyxfunc.C: fix revert to behave sensibly
9445 2003-02-17 André Pönitz <poenitz@gmx.net>
9448 * commandtags.h: new LFUN_INSERT_BIBKEY
9458 * paragraph_func.C: remove special bibkey handling
9460 2003-02-17 John Levon <levon@movementarian.org>
9462 * text.C (Delete): fix case where delete at the end of
9463 the very first paragraph would not merge the pars
9465 2003-02-17 John Levon <levon@movementarian.org>
9467 * lyxrow.C: fix lastPrintablePos()
9469 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9471 * bufferparams.C (writeLaTeX): add a std:here
9473 * buffer.C: and remove a using directive there
9475 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9477 * buffer.C (makeLaTeXFile): move the code that generates the
9480 * bufferparams.C (writeLaTeX): ... in this new method
9482 * LaTeXFeatures.C (getEncodingSet): make const
9483 (getLanguages): make const
9485 * MenuBackend.C (binding): returns the binding associated to this
9487 (add): sets the status of each item by calling getStatus. Adds
9489 (read): add support for OptSubMenu
9490 (expand): remove extra separator at the end of expanded menu
9492 2003-02-15 John Levon <levon@movementarian.org>
9495 * BufferView_pimpl.C:
9497 * bufferlist.C: remove pointless BufferStorage bloat. Remove
9498 inset code that had no actual effect. Remove unneeded status
9501 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9503 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9506 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
9508 * text.C (drawLengthMarker): also draw an arrow marker for
9509 symbolic lengths (medskip...)
9511 2003-02-14 John Levon <levon@movementarian.org>
9514 * tabular.C: better method names
9516 2003-02-14 John Levon <levon@movementarian.org>
9518 * BufferView_pimpl.C:
9523 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9524 it's a more accurate name. Remove some pointless uses.
9526 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9528 * text2.C (LyXText): change order of initilizers to shut off
9531 2003-02-14 John Levon <levon@movementarian.org>
9533 * buffer.C: use ParIterator for getParFromID()
9537 * paragraph_pimpl.h:
9538 * paragraph_pimpl.C: remove unused getParFromID()
9540 2003-02-14 John Levon <levon@movementarian.org>
9542 * buffer.C: remove some very old #if 0'd parse code
9544 2003-02-13 John Levon <levon@movementarian.org>
9548 * text2.C: move hfillExpansion(), numberOfSeparators(),
9549 rowLast(), rowLastPrintable(), numberofHfills(),
9550 numberOfLabelHfills() ...
9553 * lyxrow.C: ... to member functions here.
9558 * text.C: remove LyXText::beginningOfMainBody(), and call
9559 p->beginningOfMainBody() directly. Move the check for
9560 LABEL_MANUAL into the latter.
9567 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9573 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9574 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9576 2003-02-13 John Levon <levon@movementarian.org>
9578 * CutAndPaste.C: remove debug
9580 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * paragraph.C (asString): remove two unused variables
9584 * lyxtextclass.C (readTitleType):
9586 (LyXTextClass): handle new members titletype_ and titlename_
9588 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9590 2003-02-09 John Levon <levon@movementarian.org>
9593 * buffer.C: replace hand-coded list with a map for the dep clean
9595 2003-02-08 John Levon <levon@movementarian.org>
9597 * LaTeX.C: consolidate code into showRunMessage() helper
9599 2003-02-08 John Levon <levon@movementarian.org>
9604 * BufferView.C: change setSelectionOverString() to setSelectionRange()
9605 and pass the size in explicitly
9607 * BufferView_pimpl.h:
9608 * BufferView_pimpl.C:
9610 * BufferView.C: add getCurrentChange()
9612 * BufferView_pimpl.h:
9613 * BufferView_pimpl.C: handle change lfuns
9615 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9616 for changes. Mark pasted paragraphs as new.
9618 * support/lyxtime.h:
9619 * support/lyxtime.C:
9620 * DepTable.C: abstract time_t as lyx::time_type
9623 * LColor.C: add colours for new text, deleted text, changebars
9625 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9626 package use "usenames" option.
9630 * LyXAction.C: add change lfuns
9634 * author.C: author handling
9637 * buffer.C: add a per-buffer author list, with first entry as
9638 current author. Handle new .lyx tokens for change tracking. Output
9639 author list to .lyx file. Output dvipost stuff to .tex preamble.
9640 Bump lyx format to 222.
9643 * bufferlist.C: add setCurrentAuthor() to reset current author details
9647 * bufferparams.C: add param for tracking
9649 * bufferview_funcs.C: output change info in minibuffer
9653 * changes.C: add change-tracking structure
9656 * debug.C: add CHANGES debug flag
9659 * lyxfind.C: add code for finding the next change piece
9662 * lyxrc.C: add user_name and user_email
9665 * lyxrow.C: add a metric for the top of the text line
9668 * text.C: implement accept/rejectChange()
9671 * text.C: paint changebars. Paint new/deleted text in the chosen
9672 colours. Strike through deleted text.
9676 * paragraph_pimpl.h:
9677 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9678 in the current change to the insert functions. Rework erase to
9679 mark text as deleted, adding an eraseIntern() and a range-based
9680 erase(). Implement per-paragraph change lookup and
9683 * paragraph_funcs.C: Fixup paste for change tracking.
9685 * tabular.C: mark added row/columns as new.
9687 * text.C: fix rowLast() to never return -1. Don't allow
9688 spellchecking of deleted text. Track transpose changes. Don't
9689 allow paragraph break or merge where appropriate.
9691 * text2.C: leave cursor at end of selection after a cut.
9693 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9695 * text.C (getLengthMarkerHeight):
9696 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9697 visible on screen too.
9699 2003-02-07 John Levon <levon@movementarian.org>
9701 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9703 2003-02-05 Angus Leeming <leeming@lyx.org>
9705 * lyxserver.C (read_ready): revert my patch of 11 September last year
9706 as it sends PC cpu through the roof. Presumably this means that
9707 the lyxserver will no longer run on an Alpha...
9709 2003-01-30 Angus Leeming <leeming@lyx.org>
9711 * factory.C (createInset): create an InsetCommandParam of type "index"
9712 and use it to 'do the right thing'.
9714 * text2.C (getStringToIndex): ensure that cursor position is always
9715 reset to the reset_cursor position.
9717 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9719 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9722 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9726 * lyxfunc.C: Output messages with identical spelling, punctuation,
9729 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9731 * MenuBackend.C (expandFormats): List only viewable export formats
9734 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9737 * lyxfunc.C (getStatus): Make sure that formats other than
9738 "fax" can also be disabled
9740 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9742 * text3.C (dispatch): put the lfuns that insert insets in 3
9743 groups, and call doInsertInset with appropriate arguments.
9744 (doInsertInset): new function, that creates an inset and inserts
9745 it according to some boolean parameters.
9747 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9749 * buffer.C (readFile): remember to pass on 'par' when calling
9750 readFile recursively.
9752 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9754 * MenuBackend.C (expandFormats): add "..." to import formats.
9756 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9758 * paragraph.C (asString): Remove XForms RTL hacks.
9760 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9761 * buffer.C: fix typo
9763 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9765 * Makefile.am (LIBS): delete var
9766 (lyx_LDADD): add @LIBS@ here instead.
9768 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9770 * Clarify the meaning of "wheel mouse jump"
9772 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9777 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9779 * importer.C (Loaders): do not preallocate 3 elements in the
9780 vector, since one ends up with 6 elements otherwise
9782 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9784 * DepTable.C (write): write the file name as last element of the
9785 .dep file (because it may contain spaces)
9786 (read): read info in the right order
9788 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9790 * paragraph_pimpl.C (simpleTeXBlanks):
9791 (simpleTeXSpecialChars):
9792 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9794 * tabular.C (latex): add some missing case statements. Reindent.
9796 * MenuBackend.C (expandToc): remove unused variable.
9798 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9807 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9810 2003-01-05 John Levon <levon@movementarian.org>
9813 * BufferView.C: add getEncoding()
9816 * kbsequence.C: do not store last keypress
9819 * lyxfunc.C: store last keypress here instead. Pass encoding
9822 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9824 * lyx_main.C (init): remove annoying error message when following
9825 symbolic links (bug #780)
9827 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9829 * text.C (insertChar):
9830 * lyxrc.C (getDescription): remove extra spaces
9832 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * lyxrc.C (getDescription): remove extra spaces
9836 2002-12-20 John Levon <levon@movementarian.org>
9838 * text3.C: hack fix for page up/down across tall rows
9840 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9845 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9847 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9848 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9849 thesaurus is not compiled in
9851 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9853 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9855 2002-12-16 Angus Leeming <leeming@lyx.org>
9858 * lyx_main.C (init): remove override_x_deadkeys stuff.
9860 2002-12-12 John Levon <levon@movementarian.org>
9862 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9863 insert. Only remove shift modifier under strict
9866 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9868 * MenuBackend.C (expandToc): fix crash.
9870 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9872 * MenuBackend.C (expandToc): gettext on float names.
9874 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9876 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9877 implement bool empty() [bug 490]
9879 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9881 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9883 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * several files: ws changes
9887 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9889 * text2.C (setCounter): clean up a bit, use boost.format.
9890 (updateCounters): initialize par upon declaration.
9892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9893 if the layout exists. We do not just store the layout any more.
9894 (SwitchLayoutsBetweenClasses): use boost.format
9896 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9898 * converter.C (convert): if from and to files are the same, use a
9899 temporary files as intermediary
9901 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9904 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9906 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9908 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9910 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9912 * tabular.C (asciiPrintCell): use string(size, char) instead of
9915 * sgml.C (openTag): fix order of arguments to string constructor
9918 * lyxfunc.C (dispatch): use boost.format
9920 * lots of files: change "c" -> 'c'
9922 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9924 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9926 2002-11-25 Angus Leeming <leeming@lyx.org>
9928 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9930 * lyx_main.C (init): compile fix.
9932 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9934 * lyx_cb.C (start): boost.formatify
9935 do not include <iostream>
9937 * lengthcommon.C: ws only
9939 * boost-inst.C,BoostFormat.h: add more explict instantations
9941 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9943 * lots of files: handle USE_BOOST_FORMAT
9945 2002-11-21 John Levon <levon@movementarian.org>
9947 * pspell.C: fix compile
9949 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9951 * lyxfunc.C (dispatch): use boost::format
9955 * lyxfont.C (stateText): use boost::format
9957 * lyx_main.C (LyX): use boost::format
9959 (queryUserLyXDir): ditto
9962 (typedef boost::function): use the recommened syntax.
9964 * importer.C (Import): use boost::format
9966 * debug.C (showLevel): use boost::format
9968 * converter.C (view): use boost::format
9973 * bufferview_funcs.C (currentState): use boost::format
9975 * bufferlist.C (emergencyWrite): use boost::format
9977 * buffer.C (readLyXformat2): use boost::format
9978 (parseSingleLyXformat2Token): ditto
9980 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9982 * LaTeX.C (run): use boost::format
9984 * Chktex.C (scanLogFile): use boost::format
9986 * BufferView_pimpl.C (savePosition): use boost::format
9987 (restorePosition): ditto
9988 (MenuInsertLyXFile): ditto
9990 * BoostFormat.h: help file for explicit instation.
9992 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9994 * tabular.C (latex): Support for block alignment in fixed width
9997 2002-11-17 John Levon <levon@movementarian.org>
9999 * BufferView_pimpl.C:
10001 * lyxfunc.C: split filedialog into open/save
10003 2002-11-08 Juergen Vigna <jug@sad.it>
10005 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10006 by my last patch (hopefully).
10008 2002-11-08 John Levon <levon@movementarian.org>
10017 * toc.C: ParConstIterator, and use it (from Lars)
10019 2002-11-07 Ben Stanley <bds02@uow.edu.au>
10021 * lyxtextclass.[Ch]: revise and add doxygen comments
10023 2002-11-07 John Levon <levon@movementarian.org>
10025 * text.C: fix progress value for spellchecker
10027 * toc.C: fix navigate menu for insetwrap inside minipage
10029 * paragraph_funcs.C: added FIXME for suspect code
10031 2002-11-07 John Levon <levon@movementarian.org>
10033 * BufferView_pimpl.C: fix redrawing of insets
10036 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10038 * text2.C (updateCounters): fix bug 668
10040 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
10042 * text3.C (dispatch): Do not make the buffer dirty when moving the
10045 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10047 * vc-backend.C: STRCONV
10048 (scanMaster): ditto
10050 * text2.C (setCounter): STRCONV
10052 * paragraph.C (asString): STRCONV
10054 * lyxlength.C (asString): STRCONV
10055 (asLatexString): ditto
10057 * lyxgluelength.C (asString): STRCONV
10058 (asLatexString): ditto
10060 * lyxfunc.C (dispatch): STRCONV
10063 * lyxfont.C (stateText): STRCONV
10065 * importer.C (Import): STRCONV
10067 * counters.C (labelItem): STRCONV
10068 (numberLabel): ditto
10069 (numberLabel): remove unused ostringstream o
10074 * bufferview_funcs.C (currentState): STRCONV
10076 * buffer.C (readFile): STRCONV
10077 (asciiParagraph): ditto
10078 (makeLaTeXFile): ditto
10080 * Spacing.C (writeEnvirBegin): STRCONV
10082 * LaTeXFeatures.C (getLanguages): STRCONV
10083 (getPackages): ditto
10085 (getBabelOptions): ditto
10086 (getTClassPreamble): ditto
10087 (getLyXSGMLEntities): ditto
10088 (getIncludedFiles): ditto
10092 (scanAuxFile): ditto
10095 * LString.h: add the STRCONV macros
10097 * BufferView_pimpl.C (savePosition): STRCONV
10098 (restorePosition): ditto
10099 (MenuInsertLyXFile): ditto
10101 * vc-backend.C (scanMaster): change from submatch[...] to
10104 * funcrequest.C: include config.h
10106 * factory.C: include config.h
10108 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10110 * box.C: include config.h
10112 * LaTeX.C (scanAuxFile): change from submatch[...] to
10116 2002-10-25 Angus Leeming <leeming@lyx.org>
10118 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10120 * ispell.[Ch] (setError): new method.
10121 * ispell.C (c-tor): move out child process into new class LaunchIspell.
10122 Use setError() insetead of goto END.
10124 * lyx_cb.C (AutoSave): move out child process into new class
10127 2002-10-30 John Levon <levon@movementarian.org>
10129 * text3.C: make start appendix undoable
10131 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
10133 * lyxlength.C (inPixels): Fix returned value.
10135 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10138 2002-10-24 Angus Leeming <leeming@lyx.org>
10140 * lyxgluelength.h: no need to forward declare BufferParams
10141 or BufferView, so don't.
10143 2002-10-21 John Levon <levon@movementarian.org>
10145 * BufferView.C: menuUndo ->undo, redo
10147 * BufferView.h: document, remove dead, make some methods private
10149 * paragraph_funcs.h:
10150 * paragraph_funcs.C:
10151 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10156 * sgml.C: move sgml open/close tag into sgml.C
10158 * bufferview_funcs.h: unused prototype
10161 * lyxfunc.C: remove unused
10164 * text.C: remove unused
10166 2002-10-21 John Levon <levon@movementarian.org>
10170 * BufferView_pimpl.h:
10171 * BufferView_pimpl.C: fix mouse wheel handling based on
10172 patch from Darren Freeman
10174 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
10176 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10178 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
10180 * lyxlength.C (inPixels): Fix hanfling of negative length.
10181 Fix LyXLength::MU case.
10183 2002-10-16 John Levon <levon@movementarian.org>
10185 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10187 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10189 * converter.C (view): add support for $$i (file name) and $$p
10190 (file path) for the viewer command. If $$i is not specified, then
10191 it is appended to the command (for compatibility with old syntax)
10193 2002-10-14 Juergen Vigna <jug@sad.it>
10195 * undo_funcs.C (textHandleUndo): alter the order in which the
10196 new undopar is added to the LyXText, as we have to set first
10197 the right prev/next and then add it as otherwise the rebuild of
10198 LyXText is not correct. Also reset the cursor to the right paragraph,
10199 with this IMO we could remove the hack in "redoParagraphs()".
10201 2002-10-09 Angus Leeming <leeming@lyx.org>
10203 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10204 to turn off an optimisation if a new inset is to be inserted.
10206 2002-10-11 André Pönitz <poenitz@gmx.net>
10208 * lyxtext.h: make some functions public to allow access
10209 from inset/lyxtext for handling LFUN_PRIOR/NEXT
10211 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10213 * text3.C (dispatch): when changing layout, avoid an infinite loop
10216 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10218 * lyxrc.C (read): treat a viewer or converter command of "none" as
10221 * MenuBackend.C (expandFormats): for an update, also allow the
10222 formats that are not viewable
10224 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10225 script if it is newer than the lyxrc.defaults in user directory
10227 2002-10-07 André Pönitz <poenitz@gmx.net>
10229 * text.C: Vitaly Lipatov's small i18n fix
10231 2002-09-25 Angus Leeming <leeming@lyx.org>
10233 * ispell.h: doxygen fix.
10235 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
10237 * buffer.h (readFile): Add a new argument to the method, to allow
10238 reading of old-format templates.
10240 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
10242 * toc.C (getTocList): Get TOC from InsetWrap.
10244 2002-09-16 John Levon <levon@movementarian.org>
10246 * lyxfunc.C: check tabular for cut/copy too
10248 2002-09-12 John Levon <levon@movementarian.org>
10250 * LyXAction.C: tidy
10253 * factory.C: add header
10255 * paragraph_funcs.h:
10256 * paragraph_funcs.C: cleanup
10258 2002-09-11 John Levon <levon@movementarian.org>
10260 * PrinterParams.h: odd/even default to true
10262 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
10264 * PrinterParams.h: update printer parameters for new xforms dialog
10266 2002-09-11 Angus Leeming <leeming@lyx.org>
10268 * lyxserver.C (read_ready): re-write to make it more transparent
10269 and to make it work in coherent fashion under Tru64 Unix.
10271 2002-09-11 André Pönitz <poenitz@gmx.net>
10275 * text3.C: implement LFUN_WORDSEL
10277 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10279 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10280 make floatlist_ a boost::shared_ptr<FloatList>
10282 * lyxtextclass.C: include FloatList.h
10283 (LyXTextClass): initialize floatlist_
10284 (TextClassTags): add TC_NOFLOAT
10285 (Read): match "nofloat" to TC_NOFLOAT and use it.
10286 (readFloat): modify call to floatlist_
10290 * FloatList.[Ch] (FloatList): remove commented out float
10292 (erase): new function
10294 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10296 * MenuBackend.C (expandToc): fix crash when there is no document
10299 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
10301 * many files: Add insetwrap.
10303 2002-09-09 John Levon <levon@movementarian.org>
10305 * text2.C: remove confusing and awkward depth wraparound
10307 2002-09-09 John Levon <levon@movementarian.org>
10309 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10312 * buffer.C: remove getIncludeonlyList()
10315 * lyxfunc.C: remove headers
10317 2002-09-09 Juergen Vigna <jug@sad.it>
10319 * text.C (getColumnNearX): fix form Michael this is most
10320 probably a cut&paste bug.
10322 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
10324 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10326 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10327 references, ws changes.
10329 * text2.C (init): update counters after init
10330 (insertParagraph): no need to set counter on idividual paragraphs.
10331 (setCounter): access the counters object in the textclass object
10332 on in the buffer object.
10333 (updateCounters): ditto
10335 * lyxtextclass.C: include counters.h, add variable ctrs_ as
10336 shared_ptr<Counters> to avoid loading counters.h in all
10338 (LyXTextClass): initialize ctrs_
10339 (TextClassTags): add TC_COUNTER, and ...
10340 (Read): use it here.
10341 (CounterTags): new tags
10342 (readCounter): new function
10343 (counters): new funtion
10344 (defaultLayoutName): return a const reference
10346 * counters.C (Counters): remove contructor
10347 (newCounter): remove a couple of unneeded statements.
10348 (newCounter): simplify a bit.
10349 (numberLabel): some small formatting changes.
10351 * buffer.[Ch]: remove all traces of counters, move the Counters
10352 object to the LyXTextClass.
10354 2002-09-06 Alain Castera <castera@in2p3.fr>
10356 * tabular.C: uses \tabularnewline; uses >{...} construct from array
10357 package to set the horizontal alignment on fixed width columns.
10360 * lyx_sty.h: added tabularnewline macro def.
10362 * LaTeXFeatures.C: added NeedTabularnewline macro feature
10364 2002-09-06 John Levon <levon@movementarian.org>
10366 * LyXAction.C: tooltips for sub/superscript
10368 * MenuBackend.C: a bit more verbose
10370 * lyxfunc.C: tiny clean
10372 * undo_funcs.C: document undo_frozen
10374 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
10376 * counters.C (Counters): add missing algorithm counter.
10378 * text2.C (setCounter): lookup the counter with layouts latexname
10379 instead of by section number.
10380 (setCounter): use a hackish way to lookup the correct enum
10382 a float name->type change
10383 reset enum couners with counter name directly instead of depth value.
10385 * counters.C (Counters): remove the push_backs, change to use the
10386 float type not the float name.
10387 (labelItem): remove unused string, float name->type change
10389 * counters.h: don't include vector, loose the enums and sects vectors
10391 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
10393 * lyxtextclass.C (TextClassTags): add TC_FLOAT
10394 (Read): add float->TC_FLOAT to textclassTags
10395 (Read): and handle it in the switch
10396 (readFloat): new function
10398 * FloatList.C (FloatList): comment out the hardcoded float
10401 * lyxlayout.h: ws change.
10403 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
10405 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10407 2002-09-03 Angus Leeming <leeming@lyx.org>
10409 * BufferView_pimpl.h: qualified name is not allowed in member
10410 declaration: WorkArea & Pimpl::workarea() const;
10412 * factory.C: added using std::endl directive.
10414 * text3.C: added using std::find and std::vector directives.
10416 2002-08-29 André Pönitz <poenitz@gmx.net>
10419 * text2.C: remove unused member number_of_rows
10422 * BufferView2.C: remove file, move contents to...
10423 * BufferView.C: ... here
10425 * BufferView_pimpl.C:
10426 * factory.C: move more inset creation to factory
10428 * vspace.C: avoid direct usage of LyXText, ws changes
10431 don't provide direct access to WorkArea, use two simple
10432 acessors haveSelction() and workHeight() instead
10435 2002-08-29 John Levon <levon@movementarian.org>
10437 * BufferView_pimpl.C (dispatch): do not continue when
10440 2002-08-28 André Pönitz <poenitz@gmx.net>
10442 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10445 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10447 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
10449 * buffer.C: increment LYX_FORMAT to 221
10451 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10452 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10454 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10456 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10458 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10460 * factory.C (createInset): use LyXTextClass::floats
10462 * MenuBackend.C (expandFloatListInsert):
10463 (expandFloatInsert):
10466 * text2.C (setCounter):
10468 * LaTeXFeatures.C (useFloat):
10469 (getFloatDefinitions):
10471 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10473 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10474 floatlist_, with accessor floats().
10476 * FloatList.h: remove global FloatList
10478 2002-08-26 André Pönitz <poenitz@gmx.net>
10480 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10484 * BufferView_pimpl.C:
10485 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10487 2002-08-25 John Levon <levon@movementarian.org>
10489 * LyXAction.C: fix margin note description
10491 2002-08-24 John Levon <levon@movementarian.org>
10495 * bufferview_funcs.C:
10497 * undo_funcs.C: cleanups
10499 * lyxfunc.C: disable CUT/COPY when no selection
10501 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
10503 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10504 in "enum UNIT"; e.g. PTW for Percent of TextWidth
10506 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10507 Add backward compatibility to "mono", "gray" and "no".
10509 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
10511 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10512 (and file_format >= 200).
10514 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10516 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10518 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10520 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10522 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
10524 * BufferView_pimpl.C:
10531 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10532 inset and code to make it work with the paragraph code. The inset
10533 can be anywhere in the paragraph, but will only do the expected
10534 thing in LaTeX if the layout file contains the parameter line
10536 (or more generally, a nonzero value) for that layout.
10538 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
10540 * paragraph.h: remove the declaration of undefined counters class
10543 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
10545 * text2.C (setCounter): fixed enumeration mis-count as reported by
10546 Dr. Richard Hawkins.
10548 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10550 * paragraph_funcs.h: remove some unneeded includes
10552 * text.C (backspace): pasteParagraph now in global scipe
10554 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10555 (pasteSelection): ditto
10557 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10558 * paragraph_funcs.C (pasteParagraph): ... here
10560 2002-08-20 André Pönitz <poenitz@gmx.net>
10562 * commandtags.h: new LFUNs for swapping/copying table row/colums
10565 * lyxfunc.C: support for new lfuns
10567 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
10570 * buffer.[Ch]: remove NO_COMPABILITY stuff
10572 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
10574 * boost.C (throw_exception): new file, with helper function for
10575 boost compiled without exceptions.
10580 * ParameterStruct.h:
10581 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10583 * bufferlist.C (emergencyWriteAll): use boost bind
10585 * BufferView_pimpl.C (moveCursorUpdate): remove inline
10587 * text.C: include paragraph_funcs.h
10588 (breakParagraph): breakParagraph is now in global scope
10590 * paragraph_funcs.[Ch]: new files
10592 * paragraph.C (breakParagraph,breakParagraphConservative): move to
10595 * buffer.C: include paragraph_funcs.h
10596 (insertStringAsLines): breakParagraph is now in global scope
10598 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10601 * CutAndPaste.C: include paragraph_funcs.h
10602 (cutSelection): breakParagraphConservative is now in global scope
10603 (pasteSelection): ditto
10605 * buffer.h: declare oprator== and operator!= for
10606 Buffer::inset_iterator
10608 * bufferlist.C (emergencyWrite): don't use fmt(...)
10610 * text3.C: add using std::endl
10612 * BufferView.C (moveCursorUpdate): remove default arg
10614 2002-08-20 André Pönitz <poenitz@gmx.net>
10616 * buffer.[Ch]: move inline functions to .C
10619 * BufferView_pimpl.C:
10621 * buffer.[Ch]: use improved inset_iterator
10624 * paragraph.[Ch]: write one paragraph at a time
10626 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
10628 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10629 style if style is not specified.
10631 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10633 * text2.C (setCounter): when searching for right label for a
10634 caption, make sure to recurse to parent insets (so that a caption
10635 in a minipage in a figure float works) (bug #568)
10637 2002-08-20 André Pönitz <poenitz@gmx.net>
10639 * text3.C: new file for LyXText::dispatch() and helpers
10641 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10643 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10645 2002-08-19 André Pönitz <poenitz@gmx.net>
10648 * text.C: new LyXText::dispatch()
10650 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10652 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10654 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10656 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10659 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * Makefile.am: use $(variables) instead of @substitutions@
10663 2002-08-15 André Pönitz <poenitz@gmx.net>
10666 * BufferView_pimpl.C: streamlining mathed <-> outer world
10670 * LyXAction.C: remove unused LFUN_MATH
10672 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10674 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10676 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10678 * paragraph.C (Paragraph): reformat a bit
10679 (cutIntoMinibuffer): use builtin InsetList function instad of
10683 * buffer.C: include boost/bind.hpp, add using std::for_each
10684 (writeFileAscii): use ParagraphList iterators
10685 (validate): use for_each for validate traversal of paragraphs
10686 (getBibkeyList): use ParagraphList iterators
10687 (resizeInsets): use for_each to resizeInsetsLyXText for all
10689 (getParFromID): use ParagraphList iterators
10691 * BufferView2.C (lockInset): use paragraph list and iterators
10693 2002-08-14 John Levon <levon@movementarian.org>
10695 * lyxserver.C: remove spurious xforms include
10697 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10699 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10701 2002-08-13 André Pönitz <poenitz@gmx.net>
10704 * lyxfunc.C: further cleaning
10706 2002-08-13 André Pönitz <poenitz@gmx.net>
10708 * funcrequest.h: new constructor
10710 * funcrequest.C: move stuff here from .h
10713 * BufferView_pimpl.C:
10716 * lyxfunc.C: subsequent changes
10718 * lyxfunc.h: new view() member function
10720 * lyxfunc.C: subsequent changes
10722 2002-08-13 Angus Leeming <leeming@lyx.org>
10725 * BufferView_pimpl.C:
10733 changes due to the changed LyXView interface that now returns references
10734 to member variables not pointers.
10736 2002-08-13 Angus Leeming <leeming@lyx.org>
10738 * WordLangTuple (word, lang_code): return references to strings,
10743 * lyxtext.h: forward-declare WordLangTuple.
10748 * text.C: #include "WordLangTuple.h".
10751 * text.C: (selectNextWordToSpellcheck): constify return type.
10753 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10759 * paragraph_pimpl.h:
10762 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10763 suggested by Angus.
10764 Made updateCounter always count from start of buffer, and removed
10765 second argument (par).
10766 Reverted floats number display to '#'. Perhaps I'll try again when the
10767 code base is sanitized a bit.
10769 2002-08-12 Angus Leeming <leeming@lyx.org>
10771 * buffer.[Ch] (getLabelList): constify.
10773 2002-08-07 André Pönitz <poenitz@gmx.net>
10775 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10777 * funcrequest.h: extension to keep mouse (x,y) position
10779 2002-08-12 Juergen Vigna <jug@sad.it>
10781 * BufferView2.C (insertErrors): forbid undo when inserting error
10784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10786 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10788 * ParagraphList.[Ch]: new files
10790 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10792 * BufferView2.C (lockInset): ParagraphList changes
10795 * bufferlist.C: ditto
10799 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10801 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10802 unused class variable counter_,
10804 * paragraph.[Ch] (getFirstCounter): delete unused function
10806 * counters.C: include LAssert.h
10807 (reset): add a new function with no arg, change other version to
10808 not have def. arg and to not allow empty arg.
10810 * text2.C (setCounter): remove empty arg from call to Counters::reset
10812 2002-08-11 John Levon <levon@movementarian.org>
10814 * Makefile.am: add WordLangTuple.h
10816 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10818 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10819 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10821 * insets/insettext.C: InsetList changes
10823 * graphics/GraphicsSupport.C (operator()): InsetList changes
10825 * toc.C (getTocList): InsetList changes
10827 * paragraph_pimpl.[Ch]: InsetList changes
10829 * paragraph.[Ch]: InsetList changes
10831 * buffer.C (inset_iterator): InsetList changes
10832 (setParagraph): ditto
10833 * buffer.h (inset_iterator): ditto
10834 * iterators.C (operator++): ditto
10835 * iterators.h: ditto
10837 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10839 * InsetList.[Ch]: new files, most InsetList handling moved out of
10842 * BufferView2.C (removeAutoInsets): InsetList changes
10844 (ChangeInsets): ditto
10846 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10848 * paragraph_pimpl.h (empty): new function
10850 * paragraph.[Ch] (empty): new function
10852 * other files: use the new Paragraph::empty function
10854 2002-08-09 John Levon <levon@movementarian.org>
10856 * lyxtext.h: remove unused refresh_height
10858 2002-08-09 John Levon <levon@movementarian.org>
10865 * paragraph.C: move sgml char escaping out of paragraph
10868 * paragraph.C: remove id setter
10872 * paragraph_pimpl.C: remove dead tex_code_break_column
10874 * bufferview_funcs.C: small cleanup
10876 * lyxfunc.C: remove dead proto
10878 * lyxtext.h: make some stuff private. Remove some dead stuff.
10880 * lyxgluelength.C: make as[LyX]String() readable
10882 2002-08-08 John Levon <levon@movementarian.org>
10887 * ToolbarDefaults.C:
10890 * toc.C: lyxaction cleanup
10892 2002-08-08 John Levon <levon@movementarian.org>
10894 * BufferView2.C: small cleanup
10897 * lyxfind.C: move unnecessary header into the .C
10899 2002-08-08 John Levon <levon@movementarian.org>
10901 * funcrequest.h: just tedious nonsense
10904 * lyx_main.C: cleanups
10907 * vspace.C: remove dead header lyx_main.h
10909 2002-08-07 Angus Leeming <leeming@lyx.org>
10912 * paragraph_pimpl.h:
10913 Forward declare class Counters in paragraph.h by moving the ctrs member
10914 variable into Paragraph::Pimpl.
10915 (counters): new method, returning a reference to pimpl_->ctrs.
10917 * text2.C: ensuing changes.
10919 2002-08-07 John Levon <levon@movementarian.org>
10921 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10923 * BufferView_pimpl.C: announce X selection on double/triple
10926 * lyx_main.C: use correct bool in batch dispatch
10928 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10930 2002-08-07 André Pönitz <poenitz@gmx.net>
10932 * funcrequest.h: new class to wrap a kb_action and its argument
10935 * BufferView_pimpl[Ch]:
10939 * lyxrc.C: subsequent changes
10942 2002-08-07 John Levon <levon@movementarian.org>
10944 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10945 document options change.
10947 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10952 * makefile.am: move counters functionality over from
10953 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10955 2002-08-06 John Levon <levon@movementarian.org>
10957 * WordLangTuple.h: new file for word + language code tuple
10968 * BufferView2.C: use WordLangTuple
10971 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10973 2002-08-06 John Levon <levon@movementarian.org>
10975 * lyx_main.C: fix cmdline batch handling
10977 2002-08-06 André Pönitz <poenitz@gmx.net>
10979 * lyxrc.C: set default for show_banner to true
10981 2002-08-06 John Levon <levon@movementarian.org>
10983 * pspell.C: fix a crash, and allow new aspell to work
10985 2002-08-06 John Levon <levon@movementarian.org>
10988 * kbmap.C: small cleanup
10991 * vspace.C: add const
10993 2002-08-05 John Levon <levon@movementarian.org>
10995 * LyXAction.C: back to tabular-insert
10997 2002-08-04 John Levon <levon@movementarian.org>
11000 * BufferView.C: cosmetic change
11002 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11012 * BufferView2.C: purge all "Lyx" not "LyX" strings
11015 * lyxcursor.C: attempt to add some documentation
11020 * ToolbarDefaults.C:
11021 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11022 merge with LFUN_TABULAR_INSERT
11029 * pspell.C: split up i/pspell implementations into separate
11030 files, many cleanups
11032 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11034 * text2.C: some cleanup
11036 * lyxfunc.C: don't check for isp_command == "none" any more, it
11037 didn't make any sense
11039 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
11044 * makefile.am: move counters functionality over
11045 from text2.C/paragraph.[Ch] to counters.[Ch], and
11047 2002-08-02 John Levon <levon@movementarian.org>
11049 * buffer.C: s/lyxconvert/lyx2lyx/
11051 2002-08-02 Angus Leeming <leeming@lyx.org>
11053 * lyxlex.C: revert John's change as it breaks reading of the user
11056 2002-08-02 Angus Leeming <leeming@lyx.org>
11058 * importer.C (Import):
11059 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11060 changes due to LyXView::view() now returning a boost::shared_ptr.
11062 2002-08-02 John Levon <levon@movementarian.org>
11064 * lyxlex.C: small cleanup
11066 2002-08-02 John Levon <levon@movementarian.org>
11068 * text2.C (status): small cleanup, no logic change
11070 2002-08-01 John Levon <levon@movementarian.org>
11073 * buffer.C (writeFile): don't output alerts, caller
11077 * lyx_cb.C: from above
11079 * lyxfunc.C: allow to open non-existent files
11081 2002-07-31 John Levon <levon@movementarian.org>
11083 * lyxserver.C: don't let incidental errors get
11086 2002-07-30 John Levon <levon@movementarian.org>
11088 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11090 2002-07-30 John Levon <levon@movementarian.org>
11093 * lyxserver.C: remove I/O callback too
11095 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11097 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11100 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
11102 * many files: strip,frontStrip -> trim,ltrim,rtrim
11104 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
11106 * PrinterParams.h: remove extern containsOnly, and include
11107 support/lstrings.h instead.
11109 * LaTeX.C (scanAuxFile): modify because of strip changes
11111 * buffer.C (makeLaTeXFile): ditto
11112 * bufferparams.C (writeFile): ditt
11113 * lyxfont.C (stateText): ditto
11114 * lyxserver.C (read_ready): ditto
11115 * vc-backend.C (scanMaster): ditto
11117 * BufferView_pimpl.h: ws changes
11119 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11121 2002-07-26 André Pönitz <poenitz@gmx.net>
11123 * kb_sequence.C: remove unnedred usings
11125 2002-07-26 Juergen Vigna <jug@sad.it>
11127 * lyxfind.C (LyXReplace): we have to check better if the returned
11128 text is not of theLockingInset()->getLockingInset().
11130 2002-07-25 Juergen Vigna <jug@sad.it>
11132 * lyxfind.C (LyXReplace): don't replace if we don't get the
11135 * undo_funcs.C (createUndo): remove debugging code.
11137 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
11139 * buffer.C (parseSingleLyXformat2Token): Use default placement
11140 when reading old floats.
11142 * FloatList.C (FloatList): Change the default placement of figure
11143 and tables to "tbp".
11145 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
11147 * MenuBackend.C: using std::max
11149 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11151 * MenuBackend.C (expandToc):
11152 (expandToc2): code moved from xforms menu frontend. It is now
11153 generic and TOCs are transparent to menu frontends.
11155 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11157 * toc.C (getTocList): protect against buf=0
11159 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11160 Menu as first parameter. Now, this calls itself recursively to
11161 expand a whole tree (this will be useful for TOC handling)
11162 (expandFloatInsert): remove 'wide' version of floats
11164 * MenuBackend.h (submenuname): returns the name of the submenu.
11165 (submenu): returns the submenu itself, provided it has been
11166 created by MenuBackend::expand
11168 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11170 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11171 insets which have noFontChange == true. (bug #172)
11173 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11175 * BufferView_pimpl.C: add connection objects and use them...
11178 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11180 * MenuBackend.C (expandLastfiles):
11183 (expandFloatListInsert):
11184 (expandFloatInsert):
11185 (expand): split expand in parts
11187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11189 * lyx_gui.C: use lyx_gui::exit()
11191 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11193 * LyXAction.C: show the failing pseudo action
11195 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
11197 * buffer.C (readFile): Run the lyxconvert script in order to read
11200 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11204 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11206 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
11210 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11212 2002-07-22 Herbert Voss <voss@lyx.org>
11215 * lyxlength.[Ch]: add support for the vertical lengths
11217 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
11219 * toc.[Ch]: std:: fixes
11221 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11223 * lyxrc.C: do not include lyx_main.h
11225 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11231 * BufferView2.C: include "lyxlex.h"
11234 * bufferparams.h: do not #include "lyxlex.h"
11236 * lyxtextclasslist.C (Add): remove method
11237 (classlist): renamed to classlist_
11239 * paragraph_pimpl.C:
11243 * bufferview_funcs.C:
11248 * toc.C (getTocList): use BufferParams::getLyXTextClass
11250 * toc.C (getTocList): use InsetFloat::addToToc
11252 * toc.[Ch]: new files, containing helper functions to handle table
11255 * lyxfunc.C (dispatch): no need to remove spaces around command
11257 (getStatus): handle LFUN_SEQUENCE by returning the status of the
11258 first command of the sequence; it is not very clever, but I do not
11259 have a better idea, actually
11261 * LyXAction.C (LookupFunc): make sure to remove space at the
11262 beginning and end of the command
11264 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * MenuBackend.C (getMenubar): new method: return the menubar of
11268 (read): treat differently reading of menu and menubar (in
11269 particular, the menubar has no name now)
11270 (Menu::menubar): remove
11272 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11275 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11277 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11278 a bibitem inset in a RTL paragraph.
11280 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
11282 * paragraph_pimpl.C: constify
11284 * BufferView_pimpl.C:
11286 * lyxfunc.C: fix dispatch in a nicer way
11288 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * lyxfunc.C (dispatch):
11291 * BufferView_pimpl.C:
11292 * BufferView_pimpl.h:
11294 * BufferView.h: rename Dispatch() to dispatch()
11296 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11298 * lyxlayout.C (Read): honor DependsOn tag
11300 * lyxlayout.[Ch] (depends_on): new method
11302 * version.C.in: update lyx_docversion
11304 * LaTeXFeatures.C (getMacros): only define \LyX when needed
11306 * paragraph.C (validate): remove from here...
11307 * paragraph_pimpl.C (validate): ... and move here
11308 (isTextAt): make it const
11310 * buffer.C (getLists): ws cleanup
11312 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
11314 * language.C (read): Use iso8859-1 encoding in latex_lang
11315 (this prevents LyX from crashing when using iso10646-1 encoding).
11317 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * text2.C (toggleInset): if cursor is inside an inset, close the
11320 inset and leave cursor _after_ it
11322 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11324 * lyxfunc.C: move minibuffer completion handling out of here
11326 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
11328 * BufferView_pimpl.C:
11329 * LaTeX.C: fix dispatch calls
11331 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
11333 * text.C (drawChars): Fix Arabic text rendering.
11335 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
11339 * lyxfunc.C: remove message-push/pop
11343 * lyxfunc.C: rationalise some code by removing verboseDispatch
11344 in favour of a bool argument to dispatch()
11346 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11348 * lyx_main.C (init): make sure to read symlinks as absolute paths
11350 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11353 * lyxfunc.C: no need for commandshortcut to be a member
11355 2002-07-15 André Pönitz <poenitz@gmx.net>
11357 * converter.C: add support for $$s (scripts from lib/scripts dir)
11358 * lyx_main.C: white space
11360 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11364 * lyxrc.C: remove second exit confirmation
11366 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
11371 * BufferView_pimpl.h:
11372 * BufferView_pimpl.C:
11373 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11375 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11377 * MenuBackend.C (expand): add numeric shortcuts to document menu
11379 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11381 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * lyxfont.C (setLyXFamily):
11390 * buffer.C (asciiParagraph): use ascii_lowercase
11392 2002-07-15 Mike Fabian <mfabian@suse.de>
11394 * lyxlex_pimpl.C (search_kw):
11395 * lyxlex.C (getLongString):
11396 * converter.h (operator<):
11397 * converter.C (operator<):
11398 * buffer.C (parseSingleLyXformat2Token):
11400 * ToolbarDefaults.C (read):
11401 * MenuBackend.C (checkShortcuts):
11403 * LColor.C (getFromGUIName):
11404 (getFromLyXName): use the compare_ascii_no_case instead of
11405 compare_no_case, because in turkish, 'i' is not the lowercase
11406 version of 'I', and thus turkish locale breaks parsing of tags.
11408 2002-07-16 Angus Leeming <leeming@lyx.org>
11410 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11411 now takes a Buffer const & argument.
11413 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
11415 * BufferView.C (resize): check there's a buffer to resize
11417 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
11419 * lyxfunc.C: remove dead code
11422 * lyxserver.C: use lyx_guii::set_read_callback
11424 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
11426 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11427 an inset in a RTL paragraph.
11429 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11431 * lyxfunc.C: repaint after a font size update
11433 2002-07-15 André Pönitz <poenitz@gmx.net>
11435 * lyxlength.C: inBP should be able to return negative values
11437 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11439 * lyxfunc.C: use lyx_gui::update_fonts()
11441 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
11443 * lyxfunc.C: use lyx_gui::update_color()
11445 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11451 * lyxrc.C: remove file->new asks for name option, and let
11452 buffer-new take an argument
11454 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
11456 * BufferView_pimpl.C: remove unneeded extra repaint()
11458 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
11460 * LyXAction.C: allow command-sequence with NoBuffer
11462 * lyxfunc.C: don't insist on trailing ';' for command-sequence
11464 2002-07-10 Angus Leeming <leeming@lyx.org>
11466 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11468 2002-07-09 Angus Leeming <leeming@lyx.org>
11470 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11472 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11474 * lengthcommon.h: whitespace
11476 * lyxfunc.C: update scrollbar after goto paragraph
11478 * lyxtext.h: factor out page break drawing, and fix it so
11479 page break/added space paints as selected nicely
11481 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
11483 * BufferView_pimpl.C: add FIXMEs, clean up a little
11485 2002-07-09 André Pönitz <poenitz@gmx.net>
11487 * lyxfont.[Ch]: support for wasy symbols
11489 2002-07-08 André Pönitz <poenitz@gmx.net>
11491 * BufferView_pimpl.C: apply John's patch for #93.
11493 2002-07-05 Angus Leeming <leeming@lyx.org>
11495 * BufferView_pimpl.C (buffer): generate previews if desired.
11497 * LColor.h: add "preview" to the color enum.
11499 * LColor.C (LColor): add a corresponding entry to the items array.
11501 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11504 2002-07-05 Angus Leeming <leeming@lyx.org>
11506 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11507 The body of the code is now in the method that is passed an ostream &
11508 rather than a file name.
11509 Pass an additional only_preamble parameter, useful for the forthcoming
11512 2002-07-03 André Pönitz <poenitz@gmx.net>
11514 * lyxfunc.C: simplify getStatus() a bit for math stuff
11516 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11518 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11520 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11522 * text.C (changeRegionCase): do not change case of all the
11523 document when region ends at paragraph end (bug #461)
11525 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11527 * paragraph.C (startTeXParParams):
11528 (endTeXParParams): add \protect when necessary
11530 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11532 * BufferView_pimpl.C (workAreaExpose): remove warning
11534 2002-06-27 Angus Leeming <leeming@lyx.org>
11536 * Makefile.am: add lyxlayout_ptr_fwd.h.
11538 2002-06-26 André Pönitz <poenitz@gmx.net>
11540 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11542 2002-06-25 Angus Leeming <leeming@lyx.org>
11544 * lyxfunc.C (dispatch): Comment out the call to
11545 grfx::GCache::changeDisplay. The method no longer exists now that the
11546 pixmap generation part of the graphics loader has been moved into
11549 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * text2.C: layout as layout
11553 * text.C: layout as layout
11555 * tabular.C (OldFormatRead): layout as layout
11557 * paragraph_pimpl.C (TeXDeeper): layout as layout
11558 (realizeFont): layout as layout
11560 * paragraph.C (writeFile): layout as layout
11561 (validate): layout as layout
11562 (getFont): layout as layout
11563 (getLabelFont): layout as layout
11564 (getLayoutFont): layout as layout
11565 (breakParagraph): layout as layout
11566 (stripLeadingSpaces): layout as layout
11567 (getEndLabel): layout as layout
11568 (getMaxDepthAfter): layout as layout
11569 (applyLayout): layout as layout
11570 (TeXOnePar): layout as layout
11571 (simpleTeXOnePar): layout as layout
11572 (TeXEnvironment): layout as layout
11573 (layout): layout as layout
11574 (layout): layout as layout
11576 * lyxtextclass.C (compare_name): new functor to work with
11577 shared_ptr, layout as layout
11578 (Read): layout as layout
11579 (hasLayout): layout as layout
11580 (operator): layout as layout
11581 (delete_layout): layout as layout
11582 (defaultLayout): layout as layout
11584 * lyxlayout_ptr_fwd.h: new file
11586 * lyxlayout.C (Read): layout as layout
11588 * lyx_cb.C (MenuInsertLabel): layout as layout
11590 * bufferlist.C (newFile): layout as layout
11592 * buffer.C (readLyXformat2): layout as layout
11593 (parseSingleLyXformat2Token): layout as layout
11594 (insertStringAsLines): layout as layout
11595 (asciiParagraph): layout as layout
11596 (latexParagraphs): layout as layout
11597 (makeLinuxDocFile): layout as layout
11598 (simpleLinuxDocOnePar): layout as layout
11599 (makeDocBookFile): layout as layout
11600 (simpleDocBookOnePar): layout as layout
11601 (getLists): layout as layout
11603 * LaTeXFeatures.C (getTClassPreamble): layout as layout
11605 * CutAndPaste.C (cutSelection): layout as layout
11606 (pasteSelection): layout as layout
11607 (SwitchLayoutsBetweenClasses): layout as layout
11609 * BufferView_pimpl.C (Dispatch): layout as layout
11610 (smartQuote): layout as layout
11612 * BufferView2.C (unlockInset): layout as layout
11614 2002-06-24 André Pönitz <poenitz@gmx.net>
11616 * lyxfunc.C: fix #487
11618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11622 * lyxfunc.C: remove display_shortcuts, show_banner
11624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11626 * Buffer_pimpl.C: oops, update on resize
11628 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11635 * BufferView.C: use repaint()
11637 * BufferView_pimpl.h:
11638 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11639 as it's a clearer description. Remove superfluous
11642 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11644 * text.C: fix bug 488. Not ideal, but getting
11645 getWord() to work properly for the insets that
11646 matter is more difficult ...
11648 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11650 * BufferView_pimpl.C:
11653 * lyxfunc.C: remove the six million index lyxfuncs to just
11654 one, and DTRT (bug 458)
11656 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11660 * BufferView_pimpl.h:
11661 * BufferView_pimpl.C: clean up resize() stuff,
11662 and unnecessary updateScreen()s
11664 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11668 * BufferView_pimpl.h:
11669 * BufferView_pimpl.C:
11672 * minibuffer.C: remove focus management of workarea,
11673 not needed. Use screen's greyOut()
11675 2002-06-17 Herbert Voss <voss@lyx.org>
11677 * converter.C: (convert) do not post a message, when converting
11678 fails, let the calling function decide what to do in this case
11680 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11682 * lyxfunc.C: tidy up a little
11684 2002-06-16 <alstrup@diku.dk>
11686 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11687 Got rid of FORMS_H_LOCATION include. Now we are
11690 2002-06-15 LyX Development team <lyx@rilke>
11692 * buffer.[Ch] (sgmlOpenTag):
11693 (sgmlCloseTag): Added support for avoiding pernicious mixed
11694 content. Return number of lines written.
11696 (makeLinuxDocFile):
11697 (makeDocBookFile): Fixed calls to sgml*Tag.
11698 Simple white space clean.
11700 (simpleDocBookOnePar): Simple white space clean.
11702 * tabular.[Ch] (docBook): Renamed to docbook and got another
11703 argument to related with the pernicious mixed content.
11705 (docbookRow): Fixed calls for docbook inset method.
11707 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11709 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11710 so it's X11 independent.
11714 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11716 2002-06-15 Lyx Development team <lyx@electronia>
11718 * intl.h: Renamed getTrans to getTransManager.
11720 2002-06-14 Angus Leeming <leeming@lyx.org>
11722 * Makefile.am: nuke forgotten stl_string_fwd.h.
11724 2002-06-12 Angus Leeming <leeming@lyx.org>
11726 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11728 2002-06-13 Angus Leeming <leeming@lyx.org>
11731 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11733 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11735 * kbmap.C (getiso): add support for cyrillic and greek
11737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11741 * BufferView_pimpl.h:
11742 * BufferView_pimpl.C: move bogus scrolling logic
11745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11748 * BufferView_pimpl.C: view->resize() change
11750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11752 * BufferView_pimpl.C: topCursorVisible
11755 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11759 * lyx_gui.C: move to frontends/
11763 * lyx_main.C: changes from above
11765 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11772 * lyx_main.C: minor tidy
11774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11776 * BufferView_pimpl.h:
11777 * BufferView_pimpl.C:
11779 * BufferView.C: make painter() const,
11782 * BufferView2.C: use screen() accessor
11785 * lyx_main.C: some minor cleanup
11787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11789 * BufferView_pimpl.h:
11790 * BufferView_pimpl.C: remove enter/leaveView,
11793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11798 * BufferView_pimpl.h:
11799 * BufferView_pimpl.C: only construct screen once,
11802 * lyxrc.C: remove pointless comment
11804 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11807 * BufferView.C: remove active() and belowMouse()
11809 * BufferView_pimpl.h:
11810 * BufferView_pimpl.C: use workarea() not workarea_,
11811 and make it use a scoped_ptr instead
11813 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11815 * lyx_gui.C: add debug message on BadWindow
11817 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11819 * sp_spell.C: fdopen is not part of the C++ standard.
11821 * paragraph.C (InsetIterator): use >= instead of ==
11823 2002-06-07 Angus Leeming <leeming@lyx.org>
11825 Fixes needed to compile with Compaq cxx 6.5.
11826 * BufferView_pimpl.C:
11833 * lyxtextclasslist.C:
11838 all c-library variables have been moved into namespace std. Wrap
11839 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11844 Add a using std::abs declaration.
11846 * kbmap.h (modifier_pair):
11847 * paragraph.h (InsetTable, InsetList):
11848 * lyxfont.h (FontBits):
11849 type definition made public.
11851 * bufferlist.C (emergencyWriteAll): the compiler complains that
11852 there is more than one possible lyx::class_fun template to choose from.
11853 I re-named the void specialisation as lyx::void_class_fun.
11855 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11857 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11858 the compiler is is unable to find tostr in write_attribute.
11860 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * buffer.C (sgmlError): hide #warning
11864 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11866 * xtl/*: get rid of xtl, which is not in use anyway
11868 * LyXAction.C (init):
11869 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11870 were unimplemented xtl experimentation
11872 2002-06-04 André Pönitz <poenitz@gmx.net>
11874 * lyxfunc.C: disable array operation on simple formulae
11876 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11878 * converter.C: constify a bit
11880 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11882 * lyx_gui.C: check xforms version correctly
11884 2002-04-30 Herbert Voss <voss@lyx.org>
11886 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11889 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11891 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11892 attempt to register it with a VCS)
11894 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11896 * lyx_main.C (init): honor variables LYX_DIR_13x and
11899 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11903 * lyx_main.C: fix a crash on bad command line,
11904 and give a useful exit status on error
11906 * lyxfunc.C (doImport): allow -i lyx to work
11908 2002-03-30 André Pönitz <poenitz@gmx.net>
11910 * lyxfunc.C: mathed font changes
11912 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11927 * trans_mgr.h: srcdocs, and some minor cleanups
11929 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11931 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11932 call getFont all the time)
11934 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * switch from SigC signals to boost::signals
11938 2002-05-29 André Pönitz <poenitz@gmx.net>
11940 * paragraph_pimpl.C (getChar): don't call size() too often...
11942 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * paragraph_pimpl.C (insertChar): do not try to update tables when
11945 appending (pos == size())
11947 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11948 in order to reduce drastically the number of comparisons needed to
11949 parse a large document
11951 2002-05-29 André Pönitz <poenitz@gmx.net>
11957 * textclasslist.[Ch]:
11958 * sp_ispell.h: whitespace change
11960 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11963 lyxaction directly now.
11965 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11969 * lyxvc.C: remove unused headers
11971 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11978 * undo_funcs.C: some cleanups. Use shared_ptr
11979 and a template for the undo stacks.
11981 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11983 * BufferView_pimpl.h:
11984 * BufferView_pimpl.C:
11991 * text2.C: use key_state/mouse_state
11993 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11995 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11998 * chset.C: change include order
11999 (loadFile): use boost regex and get rid of LRegex and LSubstring
12001 * Makefile.am (BOOST_LIBS): new variable
12002 (lyx_LDADD): use it
12004 * LaTeX.C: change include order.
12005 (scanAuxFile): use boost regex and get rid of LRegex and
12009 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12014 * FontInfo.C: moved to frontends/xforms/
12017 * FontLoader.C: moved into frontends for GUIIzation
12022 * lyxfunc.C: changes from above
12024 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
12026 * LColor.C: remove spurious X include
12028 * BufferView_pimpl.C:
12033 * text2.C: move font metrics to frontends/
12035 2002-05-24 Juergen Vigna <jug@sad.it>
12037 * undo_funcs.C (textHandleUndo): fix the cursor selection after
12038 setting the undo_cursor.
12040 * ParagraphParameters.h: include local includes first.
12042 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12044 * BufferView_pimpl.C:
12045 * BufferView_pimpl.h:
12049 * screen.C: move WorkArea into frontends/
12055 * BufferView2.C: move LyXScreen into frontends/
12059 * lyx_gui.C: move lyxlookup into frontends/xforms/
12061 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12064 * BufferView_pimpl.C:
12074 * bufferview_funcs.C:
12087 * vc-backend.C: move LyX/XFormsView into frontends/
12089 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
12101 * text2.C: move Painter to frontends/
12103 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
12105 * buffer.C: comment out some some code that depend upon lyx_format
12108 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12109 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12111 * buffer.h (NO_COMPABILITY): turn off compability
12113 * ColorHandler.C: include scoped_array.hpp
12115 * font.C: Use more specific smart_ptr header.
12118 * ShareContainer.h: ditto
12119 * lyx_main.h: ditto
12121 * FontInfo.h: ditto
12122 * BufferView_pimpl.h: ditto
12123 * ColorHandler.h: ditto
12125 * kbmap.C (defkey): change call to shared_ptr::reset
12127 2002-05-21 Juergen Vigna <jug@sad.it>
12129 * buffer.C (insertErtContents): fix to insert ert asis if it is
12130 non empty. Skip it completely if it contains only whitespaces.
12132 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
12134 * BufferView_pimpl.C:
12135 * BufferView2.C: clear selection on paste (bug 393)
12137 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12139 * DepTable.C: include ctime
12141 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
12143 * buffer.C (latexParagraphs): Add new argument (moving_arg).
12145 2002-05-14 Juergen Vigna <jug@sad.it>
12147 * text.C (breakParagraph): fixed function to honor the keepempty
12148 layout in the right maner and also to permit the right breaking
12149 algorithm on empty or non empyt keepempty paragraphs.
12151 * paragraph.C (breakParagraph): we have to check also if the par
12152 is really empty (!size()) for isempty otherwise we do the wrong
12155 2002-05-10 Juergen Vigna <jug@sad.it>
12157 * buffer.[Ch] : The following are only changes to the ert
12158 compatibility read reading old LaTeX layout and font stuff and
12159 convert it to ERTInsets.
12161 * buffer.h: added isErtInset().
12163 * buffer.C (struct ErtComp): add a fromlayout bool to check
12164 if we're inside a LaTeX layout.
12165 (isErtInset): new helper function.
12166 (insertErtContents): look for other ert insets before this one
12167 and insert the contents there, so that we don't have subsequent
12168 ERT insets with nothing between them. This way we create only one
12169 inset with multiple paragraphs. Also check if we don't insert only
12170 spaces ' ' as they are ignored anyway afterwards in the .tex file
12171 so if we have only spaces we will ignore this latex part in the
12173 (parseSingleLyXformat2Token \\layout): better compatibility when
12174 reading layout-latex stuff.
12175 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12177 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12178 stuff after reading the inset only get the information back from
12181 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
12183 * buffer.C (makeLaTeXFile): Put language options after loading babel.
12185 * LaTeXFeatures.C (getBabelOptions): New method.
12187 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * BufferView_pimpl.C (Dispatch): work around missing argument for
12192 2002-05-08 Juergen Vigna <jug@sad.it>
12194 * text.C (leftMargin): handle paragraph leftindent.
12196 * paragraph.C (writeFile): write the new \\leftindent tag.
12197 (validate): handle leftindent code.
12198 (TeXEnvironment): handle paragraphleftindent code again.
12200 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12202 * buffer.C (parseSingleLyXformat2Token): added compatibility code
12203 for paragrap_extra indent code and new token \\leftindent.
12204 (latexParagraphs): handle the leftindent as environment.
12206 * ParameterStruct.h: added leftindent support.
12208 * ParagraphParameters.C (leftIndent): added support functions for
12209 the paragraph left indent.
12211 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12214 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
12216 * paragraph.C (isRightToLeftPar): Return false for a paragraph
12219 * text.C (computeBidiTables): No bidi in insetERT.
12221 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12224 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12226 * version.C.in: pre 5
12228 2002-05-02 José Matos <jamatos@fep.up.pt>
12229 * buffer.C (makeDocBookFile): white space changes, add newline to
12231 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12233 * tabular.C (docBook): fix typo.
12235 2002-05-03 Juergen Vigna <jug@sad.it>
12237 * screen.C (drawFromTo): recalculate the rowpointer if we had a
12238 change in LyXText as we can not be sure it was not freed.
12239 (drawOneRow): remove unused code.
12241 * text.C (drawInset): redo the calculation of the need_break_row as
12242 it could have a row which was already freed.
12243 (draw): look at the return value of drawInset and return false if
12244 it also returned false.
12245 (paintRowText): look at the return value of draw and return false if
12246 it also returned false.
12248 * lyxtext.h: added bool return type to drawInset() and draw() so that
12249 if we have a change in the row so that the rowbreak has to be redone
12250 we abort drawing as it will be called again.
12252 2002-05-02 Juergen Vigna <jug@sad.it>
12254 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12255 a change in the maintext also if we're inside an inset.
12256 (Dispatch): set the cursor again after a break line and after the
12257 screen has been updated as it could be we're in a different row.
12259 * text2.C (fixCursorAfterDelete): check to make sure we don't request
12260 to set the cursor behind the pargraph with > size().
12261 (setCursor): check also for the same paragraph when checking where
12262 to put the cursor if we have a NFR inset.
12264 * buffer.C (parseSingleLyXformat2Token): move the compatibility
12265 parts of layout read further up as it still was in the wrong
12268 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12270 * screen.C (drawFromTo): change sine fullRebreak always return
12273 * buffer.C (parseSingleLyXformat2Token): reindent some
12275 * BufferView_pimpl.C (update): change since fullRebreak always
12277 (Dispatch): git rid of the last hardcoded "Standard"s.
12279 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
12281 * text2.[Ch] (fullRebreak): make it return void now that we always
12284 2002-04-30 Juergen Vigna <jug@sad.it>
12286 * buffer.C (parseSingleLyXformat2Token): reset the font before the
12287 ert compatibility check for "latex" layout.
12289 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
12291 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12292 minipages: use col% instead of p%, and also use the current font.
12293 (makeLaTeXFile): Fix use babel condition.
12294 (parseSingleLyXformat2Token): Correct font when reading old floats.
12296 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
12298 * BufferView_pimpl.C (Dispatch): Check that float type exists when
12299 inserting list of floats.
12301 2002-04-25 Herbert Voss <voss@lyx.org>
12303 * MenuBackend.C (expand): don't add the graphics extensions to the
12306 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12309 non-existing layout, do not complain if it was the default layout
12310 of the original class (bug #342)
12312 2002-04-24 Juergen Vigna <jug@sad.it>
12314 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12315 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12317 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
12319 * buffer.C (getBibkeyList): If using \bibliography, return the
12320 option field with the reference itself. Enables us to provide natbib
12321 support when using \bibliography.
12323 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
12325 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12327 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12328 natbib is provided by the LaTeX class.
12330 2002-04-23 Juergen Vigna <jug@sad.it>
12332 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12335 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12337 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12341 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12342 ensuremath around textordmasculine, textordfeminine and
12345 2002-04-19 Juergen Vigna <jug@sad.it>
12347 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12348 reinitializing the buffer otherwise row-dimensions may be wrong.
12349 (update): reset also the selection cursors if they do exits otherwise
12350 their x/y positions may be wrong.
12352 * text2.C (cursorDown): don't enter the inset if we came from a row
12353 above and are one row over the inset.
12355 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12356 really leaving an inset.
12358 2002-04-18 Juergen Vigna <jug@sad.it>
12360 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12361 of the selected paragraph does not have the selected layout also if
12364 * text2.C (setLayout): fixed bug which did not change last selected
12367 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12368 changed the read and substituted \\end_float with \\end_inset!
12370 * BufferView_pimpl.C (cursorPrevious):
12371 (cursorNext): fixed to make it work with rows heigher than the work
12372 area without moving the cursor only the draw of the row.
12373 (workAreaMotionNotify): fix jumping over high rows.
12375 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
12377 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12380 2002-04-16 Juergen Vigna <jug@sad.it>
12382 * text2.C (setCursor): set also the irow().
12383 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12385 (cursorDown): support for locking an inset if the x_fix value goes
12386 inside it. That way I can transverse insets too with cursor up/down.
12388 * lyxrow.h: added irow helper function same as other (i) functions.
12390 * BufferView_pimpl.C (cursorPrevious):
12391 (cursorNext): fixed for insets!
12393 2002-04-15 Juergen Vigna <jug@sad.it>
12395 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12396 position otherwise it is wrong in some cases.
12398 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12399 inside the inset before the call.
12401 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
12403 * buffer.[Ch] (getBibkeyList): make it const.
12405 2002-04-12 Juergen Vigna <jug@sad.it>
12407 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12409 * text2.C (getCursorX): new helper function
12410 (setCursor): compute also ix_
12411 (setCursorFromCoordinates): set also ix.
12413 * lyxcursor.h: added ix_ and helper functions.
12415 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12417 * buffer.C (insertStringAsLines): dont break paragraph if the this
12418 paragraph is inside an inset which does not permit it!
12420 * text.C (breakParagraph): honor keepempty flag and break the paragraph
12421 also with no chars on this paragraph.
12422 (paintRowText): only paint stuff if it's inside the workarea!
12424 * paragraph.C (breakParagraph): honor keepempty flag and break the
12425 paragraph always below not above.
12427 * BufferView2.C (unlockInset): update the paragraph layout on inset
12428 unlock as we changed paragraph in such a case.
12430 * lyxfind.C (LyXFind): clear the former selection if not found!
12432 * text2.C (insertInset): freeze Undo after setUndo so that it is not
12433 again called in insertChar().
12435 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12436 an inset which uses the whole row!
12437 (rightMargin): ditto.
12438 (insertChar): force a rebreak if we inserted an inset!
12440 2002-03-28 Herbert Voss <voss@lyx.org>
12442 * lyxlength.[Ch]: add inBP() to get the right PS-point
12443 units (BigPoint). With inPixels we have rounding errors
12445 2002-04-11 Juergen Vigna <jug@sad.it>
12447 * text2.C (setCursorFromCoordinates): set iy to the right value.
12448 (setCursor): add check if row->previous exists!
12450 * buffer.C (parseSingleLyXformat2Token): reset font after read of
12451 an old float_type as this was the case in the old code!
12453 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12455 * BufferView2.C (showLockedInsetCursor): use iy
12456 (fitLockedInsetCursor): ditto
12458 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12459 locked insets as there we have the right value now.
12461 * lyxcursor.C: added iy_ variable and iy functions to set to the
12462 baseline of cursor-y of the locked inset.
12464 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12465 (setCursor): fixed for insets which need a full row.
12467 * text.C (rowLastPrintable): don't ignore the last space when before
12468 an inset which needs a full row.
12469 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12470 as last character of a row when before a inset which needs a full row.
12472 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12474 * version.C.in: update date
12476 * text2.C (fullRebreak): try to always return true and see what
12479 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12481 * MenuBackend.C (expand): use Floating::listName
12483 * FloatList.C (FloatList): add listName argument to the built-in
12486 * Floating.[Ch]: add listName member, which is the 'List of XXX'
12487 text associated with the float.
12489 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12491 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12493 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12495 * ShareContainer.h: add a couple of missing typenames.
12497 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
12499 * lyxrc.C (getDescription): use _() correctly rather than N_().
12501 2002-03-28 Herbert Voss <voss@lyx.org>
12503 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12504 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12506 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12508 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12509 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12511 2002-03-29 Juergen Vigna <jug@sad.it>
12513 * lyxfunc.C (dispatch): add a missing fitCursor call.
12515 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12516 it was scrolled by a cursor move, so return the bool status.
12518 * BufferView.C (fitCursor): return the bool flag also to the outside
12519 world as this is needed.
12521 * screen.C (toggleToggle): don't subtract the offset if it's positive.
12523 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12524 call the edit() as it is not needed (and wrong) IMO.
12525 (workAreaButtonPress): set the screen_first variable before evt.
12526 unlock the inset as this may change screen_first and then we have
12527 a wrong y position for the click!
12529 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12531 * MenuBackend.C (expand): another translation that I missed
12533 2002-03-28 Juergen Vigna <jug@sad.it>
12535 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12537 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12539 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12541 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12543 * MenuBackend.C (expand): fix export/view/update when there is no
12546 2002-03-27 Herbert Voss <voss@lyx.org>
12548 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12551 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * bufferview_funcs.C (currentState): only show paragraph number
12554 for is DEVEL_VERSION is set.
12556 * lyxfunc.C (dispatch): put warning in INFO channel
12558 * MenuBackend.C (expand): translate the name of floats
12560 * FloatList.C (FloatList): mark the float names for translation
12562 * converter.C (convert): use LibScriptSearch
12564 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * MenuBackend.C (defaults): fix default menu (we might as well get
12569 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
12571 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12574 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
12576 * lyxvc.C: reorder includes.
12578 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
12580 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12583 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
12585 * CutAndPaste.C: change layouts earlier on paste
12586 to avoid crashing when calling getFont()
12588 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
12590 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12593 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12595 * WorkArea.C: remove 'Pending' debug message.
12597 * most files: ws cleanup
12599 * buffer.[Ch]: ws changes
12601 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12603 2002-03-21 Juergen Vigna <jug@sad.it>
12605 * tabular.C (SetMultiColumn): collapse also the contents of the
12606 cells and set the last border right. Added a Buffer const * param.
12608 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12613 2002-03-19 Juergen Vigna <jug@sad.it>
12615 * text2.C (clearSelection): reset also xsel_cache.
12617 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12618 where it needs to be called (John tells us to do so too :)
12619 (selectionLost): reset sel_cache.
12621 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12623 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12625 * text2.C (setCursorIntern): put debuging code in INSETS channel
12627 2002-03-19 André Pönitz <poenitz@gmx.net>
12629 * lyxfunc.C: tiny whitespace change
12631 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * ToolbarDefaults.C (init):
12634 * LyXAction.C (init):
12636 * BufferView_pimpl.C (Dispatch):
12637 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12639 2002-03-19 Allan Rae <rae@lyx.org>
12641 * exporter.C (Export): removeAutoInsets before doing anything else.
12642 While I've just introduced a dependency on BufferView this really is
12643 the best place to clean the buffer otherwise you need to cleanup in
12644 a dozen places before calling export or cleanup in a dozen functions
12647 * converter.C (runLaTeX):
12648 (scanLog): Better handling of removeAutoInsets and screen updates.
12650 * lyxfunc.C (dispatch): small whitespace changes
12652 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12654 * WorkArea.C (C_WorkAreaEvent): return a value.
12655 (event_cb): return 1 if we handled the event, 0 otherwise.
12657 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12659 2002-03-18 Juergen Vigna <jug@sad.it>
12661 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12662 (GetAdditionalWidth): ditto.
12663 (RightLine): ditto.
12666 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12667 inset if we're there actually (probably not used right now but this
12668 is the direction to go for unifying code).
12669 (paste): disable code to clear the selection.
12671 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12672 inside an InsetText and move the check further up as it is in the
12675 * text2.C (pasteSelection): set a selection over the pasted text.
12677 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12679 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12680 and libgraphics to build on Cygwin.
12682 2002-03-15 Juergen Vigna <jug@sad.it>
12684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12685 inserting an Inset into the paragraph. I know this is not the best
12686 fix but we already use current_view in CutAndPaste so we will remove
12687 all of it's using at the same time.
12689 * buffer.C (sgmlError): deactivated function till it is rewritten in
12690 the right mode, now it can create problems.
12692 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12693 before accessing it.
12695 2002-03-14 Juergen Vigna <jug@sad.it>
12697 * undo_funcs.C (textHandleUndo): do the right thing when updating
12698 the inset after the undo/redo.
12700 * text2.C (setCursor): just some testcode for #44 not ready yet.
12702 * undo_funcs.C (textHandleUndo): set the next() and previous()
12703 pointers of the paragraph to 0 before deleting otherwise we have
12704 problems with the Paragraph::[destructor].
12706 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12707 on a paragraph insertion.
12709 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12711 * buffer.C (asciiParagraph): use += operator for char append to
12714 * paragraph.C (getFontSettings): compare >= not just >
12715 (highestFontInRange): ditto
12718 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * paragraph.C: change several algorithm to be more appripriate for
12721 the problem domain. This is lookip in FontList and in the InsetList.
12723 2002-03-13 André Pönitz <poenitz@gmx.net>
12726 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12728 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12733 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12735 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12737 * Painter.C (display): anon helper function, adjust code for this
12739 (pixmap): remove function.
12741 * Painter.h: remove private display variable.
12743 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12745 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12747 * WorkArea.[Ch]: remove figinset_canvas cruft.
12749 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * lyxtextclass.C (operator): add one item cache optimization.
12753 * bufferlist.h: doxy changes
12755 * bufferlist.C: ws changes
12757 * DepTable.[Ch] (ext_exist): place const in the right spot.
12759 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12761 (workAreaExpose): call resizeInsets when the with BufferView changes.
12762 (Dispatch): adjust for protectedBlank removal
12763 (specialChar): call updateInset if the insert went ok.
12765 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12766 specialChar instead.
12768 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12770 * BufferView.h: doxy change
12772 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12774 * lyxtextclass.C (operator[]): remove non-const version
12775 (defaultLayout): remove non-const version
12777 2002-03-12 Juergen Vigna <jug@sad.it>
12779 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12780 did resize the LyXText too.
12782 * buffer.C (readLyXformat2): set layout information on newly allocated
12785 * tabular.C (OldFormatRead): set layout information on the paragraph.
12787 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12789 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12791 2002-03-11 Juergen Vigna <jug@sad.it>
12793 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12795 (resizeCurrentBuffer): force also the insets to resize themselfes.
12796 (moveCursorUpdate): fixed up for InsetText.
12798 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12801 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12802 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12803 value of Dialogs::tooltipsEnabled().
12804 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12806 2002-03-08 Juergen Vigna <jug@sad.it>
12808 * BufferView_pimpl.C (updateInset): update inset inside inset also
12809 if it isn't inside theLockingInset().
12811 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12813 * buffer.C (asciiParagraph): redo some of the word and line length
12815 (getLists): look for Caption instead of caption.
12817 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * buffer.C (Buffer): initialize niceFile to true
12821 (makeLinuxDocFile):
12822 (makeDocBookFile): make sure niceFile is true on exit
12824 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12826 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12828 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12830 * LyXSendto.C: remove.
12831 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12832 * lyx_gui.C: remove now-redundant comment.
12833 * ColorHandler.h: remove forward declaration of class WorkArea.
12834 * lyxfunc.C: remove #include "WorkArea.h".
12836 2002-03-07 Juergen Vigna <jug@sad.it>
12838 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12839 got moved away with the DEPM and also set the inset_owner always
12840 right which before could have been omitted.
12842 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12844 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12845 wanted layout is not found.
12847 2002-03-07 Juergen Vigna <jug@sad.it>
12849 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12851 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12853 * paragraph.C (breakParagraph): use default layout not layout of
12855 (Paragraph): clear ParagraphParameters.
12857 2002-03-06 Juergen Vigna <jug@sad.it>
12859 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12860 otherwise it would not be a valid lenght. Fixed a special case in
12861 the minipage compatibility read where we end the document with a
12864 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12865 was set as it could be 0 for InsetTexts first entry.
12867 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12869 * paragraph.C (writeFile): if layout is empty write out
12870 defaultLayoutName().
12872 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12873 file without named layout we set layout to defaultLayoutName().
12875 2002-03-06 Juergen Vigna <jug@sad.it>
12877 * CutAndPaste.C (copySelection): set layout for new paragraph.
12879 * text.C (prepareToPrint): leave ERT inset left aligned
12880 (leftMargin): don't indent paragraphs inside ERT insets
12882 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12884 * paragraph.C (breakParagraph): dont call clear do the work manually
12886 * paragraph.[Ch] (clear): remove function
12888 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * paragraph.C (Paragraph): dont call clear, the work has already
12893 * lyxtextclass.C (operator): assert if n is empty
12895 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12896 work manually instead.
12898 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12900 * BufferView_pimpl.C: protect selectionLost against text == 0
12902 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12904 * text.C (breakParagraph): fix a setting layout to '0' problem.
12906 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12908 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12909 final location of file, for the included files, and graphics.
12911 2002-03-05 Juergen Vigna <jug@sad.it>
12913 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12915 2002-03-04 Juergen Vigna <jug@sad.it>
12917 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12919 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12920 last column of multicolumn cells.
12921 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12923 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12925 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12926 file if it doesn't go to a temporary file.
12928 * buffer.C (sgmlOpenTag):
12929 (sgmlCloseTag): remove extra newline insertion.
12931 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12933 * text.C (getRowNearY): comment out debug msg
12935 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12937 * text2.C: first -> first_y
12939 * text.C (getRowNearY): add some attemts at a possible
12940 optimization, not working.
12942 * tabular.[Ch]: add BufferParams to several function so that newly
12943 created paragraph can be initialized to he default layotu for the
12946 * tabular-old.C (ReadOld): add buf->params to call of Init
12948 * screen.C: rename text->first to text->first_y
12950 * paragraph.C (breakParagraph): always set layout in the broken
12953 * lyxtextclass.C (Read): remove lowercase
12956 (delete_layout): ditto
12958 * lyxtext.h: rename first -> first_y
12960 * lyxlayout.C (Read): remove lowercase
12963 (obsoleted_by): ditto
12965 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12967 * buffer.C (insertErtContents): add params are to InsetERT
12968 (parseSingleLyXformat2Token): add code to check if a paragraphs
12969 layout really exist.
12970 (parseSingleLyXformat2Token): add params to several inset
12972 (asciiParagraph): remove lowercase, do the layout comparisons with
12975 * BufferView_pimpl.C (cursorNext): first -> first_y
12976 (resizeCurrentBuffer): first -> first_y
12977 (updateScrollbar): first -> first_y
12978 (scrollCB): first -> first_y
12979 (workAreaMotionNotify): first -> first_y
12980 (workAreaButtonPress): first -> first_y
12981 (checkInsetHit): first -> first_y
12982 (cursorPrevious): first -> first_y
12983 (cursorNext): first -> first_y
12984 (Dispatch): add buffer_->params to severl inset contructors
12986 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * lyxlayout.C (Read): remove some debug info that I forgot.
12990 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12991 clean up the code slightly.
12992 (makeLinuxDocFile): ditto
12993 (makeDocBookFile): ditto
12995 * text2.C: layout as string
12997 * text.C: layout as string
12999 * paragraph_pimpl.C: layout as string
13001 * paragraph.[Ch]: layout as string
13003 * lyxtextclasslist.[Ch]: layout as string
13005 * lyxtextclass.[Ch]: layout as string
13007 * lyxtext.h: layout as string
13009 * lyxlayout.[Ch]: layout as string
13011 * lyx_cb.C: layout as string
13013 * bufferview_funcs.C: layout as string
13015 * bufferparams.C: layout as string
13017 * buffer.C: layout as string
13019 * LyXView.[Ch]: layout as string
13021 * LaTeXFeatures.[Ch]: layout as string
13023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13025 * BufferView_pimpl.C: change current_layout to string, remove
13030 (workAreaButtonRelease): layout as string
13032 * BufferView2.C (unlockInset): adjust
13034 * vspace.C (asLatexCommand): use an explict temp variable.
13036 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
13038 * Makefile.am: use FRONTEND_*
13040 2002-03-01 Juergen Vigna <jug@sad.it>
13042 * tabular.C (SetWidthOfMulticolCell): changed to something better
13043 I hope but still work in progress.
13044 (recalculateMulticolumnsOfColumn): renamed function from
13045 recalculateMulticolCells as it is more appropriate now.
13046 (SetWidthOfCell): calculate multicols better.
13048 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13050 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13052 * lyxfunc.C (processKeySym): print sequence also if it is
13053 `deleted' (complete)
13055 * kbsequence.C (print): print sequence even if it is deleted
13056 (complete would be a better word, actually).
13058 * lyxfunc.C (dispatch): print complete options after a prefix key
13060 * vspace.C (asLatexCommand): rewrite in a slightly different form.
13062 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
13064 * text2.C (setCharFont): eliminate setCharFont code duplication.
13066 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * BufferView_pimpl.C (Dispatch): remove bogus handling of
13069 LFUN_TABULAR_FEATURE (bug #177)
13071 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
13073 * Makefile.am: remove figure.h
13075 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
13077 * Bufferview_pimpl.C:
13089 * text2.C: remove #include "lyx_gui_misc.h".
13091 * LaTeX.C: added #include <cstdio>
13093 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13095 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13096 that the paragraph following this one can have.
13098 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13100 * vspace.C (asLatexCommand): fix bogus gcc warning
13102 * Makefile.am (lyx_SOURCES): remove vms_defines.h
13104 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
13106 * text2.C (setLayout): get rid of redundant code
13108 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
13110 * text2.C (incDepth): make sure depth cannot be increased beyond
13113 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
13115 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13116 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13118 * PainterBase.h (image):
13119 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13120 a LyXImage const *.
13122 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13126 * BufferView_pimpl.C:
13127 * BufferView_pimpl.h:
13147 * sp_spell.C: remove fig inset, and the crap house of
13148 cards that follows it
13150 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
13155 * os2_errortable.h:
13156 * nt_defines.h: move .h into support/
13158 * vms_defines.h: remove
13160 * WorkArea.C: add space in debug output
13164 * buffer.C: add WITH_WARNINGS
13168 * bufferlist.C: s/retrive/retrieve/, add docs
13177 * chset.C: add docs
13179 * lyxgui.C: add ID to X error handler
13181 * lyxtestclass.c: fix typo
13183 2002-02-26 Juergen Vigna <jug@sad.it>
13185 * tabular_funcs.C (write_attribute): changed so that some default
13186 attributes are not written at all.
13187 (getTokenValue): set default values before trying to read the
13188 value so we have the return value always set as default if we don't
13189 find the token we search for.
13191 * tabular.C (Write): write bools as bools not as strings!
13193 2002-02-22 Juergen Vigna <jug@sad.it>
13195 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13196 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13198 * text.C (leftMargin): don't add an indent for paragraphs inside
13199 tabular cells (fix #208).
13201 2002-02-21 José Matos <jamatos@fep.up.pt>
13203 * tabular.C (docBook): fixed support for long tables.
13205 2002-02-20 Juergen Vigna <jug@sad.it>
13207 * text2.C (getFont): get the drawing font of the Inset if this
13208 paragraph is inside an inset (only important for InsetERT for now).
13210 * buffer.C (insertErtContents): use new lanugage params in ERT
13213 * CutAndPaste.C: commenting out seemingly uneeded code.
13215 2002-02-19 Allan Rae <rae@lyx.org>
13217 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13218 Iterators might be simple to use but they also get invalidated.
13219 (removeAutoInsets): renamed saved cursor tracking variables and added
13220 some comments to clarify what everything does.
13222 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
13229 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13230 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13233 * vc-backend.h: remove #include "support/syscall.h"
13237 * converter.C: rearrange #includes in Lars' approved fashion.
13239 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13240 forward declare class Timeout in the header file.
13242 * XFormsView.C: changes due to the above.
13244 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13245 similar to LyXView.
13247 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13248 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13250 2002-02-18 José Matos <jamatos@fep.up.pt>
13252 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13255 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
13257 * a lot of small ws changes
13258 * add a lot of using std::XXX
13259 * use std construcs some places where approp.
13260 * use some exisint stuff from lyxfunctional where approp.
13261 * Make file changes to use partial linking (lets test this now...)
13263 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13267 remove #include "support/syscontr.h" as it's redundant. Always has been.
13275 change Systemcalls::System to Systemcalls::Wait and
13276 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13277 No change of functionality, just reflects the stripped down Systemcalls
13280 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
13282 * debug.[Ch]: add a GRAPHICS type to the enum.
13284 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13288 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13291 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13293 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13294 match the changes below.
13296 * text2.C (toggleInset): if there is not editable inset at cursor
13297 position, try to see if cursor is _inside_ a collapsable inset
13300 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13302 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13303 document menu has a nice checkbox
13305 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13307 * lyxlength.C (asLatexString): change PW to output as percent of
13310 * lengthcommon.C: change '%' to 't%'
13312 * lyxfunc.C (dispatch): a few comments from Martin
13314 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
13318 * BufferView_pimpl.h:
13319 * BufferView_pimpl.C: clear our selection when X tells us we've lost
13322 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13324 * vspace.C (inPixels): fix compiler warning
13326 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13328 * lyxfunc.C (getStatus): fix status message for disabled commands.
13330 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
13332 * BufferView_pimpl.C: fix crash on close buffer
13333 during selection (#227)
13335 2002-01-27 Herbert Voss <voss@lyx.org>
13337 * buffer.C: link old Figure to new graphic inset
13339 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
13341 * FontLoader.C (getFontinfo): Change the latex font names in order
13342 to match the names of type1inst.
13344 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
13346 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13348 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13349 (extchanged): ditto
13351 (remove_files_with_extension): ditto
13352 (remove_file): ditto
13355 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13356 document is smaller than the work area height. Do not initialize
13357 static variables to 0.
13359 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13361 * lyx_gui.C (init): give the toolbar tooltips a normal font.
13363 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13364 LFUN_LAYOUT_PARAGRAPHS.
13366 * tabular.C (GetCellFromInset): new method. Finds an inset in a
13367 tabular. It is possible to provide a possible cell, which will
13368 typically be the actcell from the corresponding insettabular
13370 * lyxfunc.C (getStatus): small cleanup; disable
13371 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13374 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13376 * tabular.C (Validate): remove broken optimization (fixes bug #201)
13378 * paragraph.C (startTeXParParams):
13379 (endTeXParParams): new methods. The LaTeX code to
13380 start/end paragraph formatting
13381 (simpleTeXOnePar): call startTeXParParams also when paragraph is
13382 empty (fixes bug #200)
13384 * vspace.C (inPixels): adapt to the change below
13385 (inPixels): [later] more cleanups (remove unused variables)
13387 * lyxlength.C (inPixels): change to use a width and a height as
13390 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13392 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13393 Replaced with \paperwidth
13395 * DepTable.C (insert): add std:: qualifier
13397 2002-01-18 Allan Rae <rae@lyx.org>
13399 * text2.C (removeRow): add comment. Should other refresh_?? vars be
13402 * text.C (drawInset): Turned out I didn't know enough about how
13403 rebreaking worked. This fixes most of the redraw problems. I see
13404 an occasional cursor trail when a line is broken now and the cursor
13405 placement can seem out by a few pixels also after a rebreak.
13407 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13409 * buffer.C (parseSingleLyXformat2Token): update because minipage
13410 width is now a LyXLength
13412 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13414 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13417 2002-01-17 Juergen Vigna <jug@sad.it>
13419 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13421 * BufferView2.C (lockInset): call edit() so that theLockingInset()
13422 is set correctly and the inset is updated correctly.
13424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13426 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13427 the beginning of the loop.
13429 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
13431 * lyxrc.C: improve help for use_scalable_fonts
13433 2002-01-17 Allan Rae <rae@lyx.org>
13435 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13437 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13439 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13440 make sure to set their inset_owner to the right value (bug #171)
13442 2001-12-12 Ben Stanley <bds02@uow.edu.au>
13445 * DepTable.C: Implement mtime checking to reduce time spent doing
13448 2002-01-16 Juergen Vigna <jug@sad.it>
13450 * tabular.C (GetAdditionalHeight): one of error fixed.
13452 * lyxrc.C (output): small fix in writing use_pspell.
13454 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
13456 * sp_base.h: #include LString.h
13458 2002-01-16 Allan Rae <rae@lyx.org>
13460 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
13461 Can someone check this please?
13463 * text.C (drawInset): It was possible that p.row would be removed by
13464 breakAgainOneRow upsetting a few other settings. There may be another
13465 small tweak possible by setting need_break_row = 0 when p.row has been
13466 removed but I don't know enough about the logic here.
13468 2002-01-15 Allan Rae <rae@lyx.org>
13470 * text.C (insertChar): removed conditional truism.
13472 * BufferView2.C (removeAutoInsets): More tweaks.
13473 cur_par_prev could be a stray pointer. Check for trailing empty line
13474 in case last line was cur_par and only had an error inset on it.
13476 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13478 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13481 * vc-backend.C (most methods):
13482 * exporter.C (Export):
13483 * converter.C (convert):
13485 * LyXSendto.C (SendtoApplyCB):
13486 * lyxfunc.C (dispatch):
13490 * lyx_cb.C (AutoSave):
13492 * BufferView_pimpl.C (MenuInsertLyXFile):
13493 * buffer.C (runChktex): use Buffer::filePath().
13495 * buffer.h: rename filename to filename_; rename filepath to
13496 filepath_ and make it private
13497 (filePath): new method
13499 * buffer.C (writeFile): use fileName()
13502 * lyx_main.C (init): fix starting of LyX when the binary is a
13503 link from so,ewhere else.
13505 * minibuffer.C: include <cctype> for isprint
13507 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13509 * buffer.C (parseSingleLyXformat2Token): changes associated with the
13510 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13511 name clash with InsetCollapsable's width function.
13513 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13515 * lastfiles.C: include <iterator>
13517 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13519 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13522 * buffer.C (makeLaTeXFile): ditto.
13523 Also make loop operation more transparent.
13525 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
13527 * ToolbarDefaults.C: remove trailing comma closing namespace.
13529 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13531 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13534 * trans.C (Load): comment out unused variable, allowed.
13536 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13538 * minibuffer.[Ch] (append_char): new method to recieve input from the
13539 drop-down completion browser. If a key was pressed, then recieve this
13540 char and append it to the existing string.
13541 (peek_event): modify the positioning data passed to the completion
13542 browser so that it can be placed above the minibuffer rather than below.
13543 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
13545 * LyXAction.C (init): alloe error-next for readonly documents.
13547 * BufferView2.C (ChangeRefsIfUnique): use standard version of
13550 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13552 * bufferlist.C (readFile): create the buffer _after_ checking that
13555 * lyxfunc.C (verboseDispatch): fix handling of arguments
13557 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13559 * lyxrc.C: use string::erase() instead of initializing to "".
13562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13564 * BufferView_pimpl.h:
13565 * BufferView_pimpl.C:
13568 * text2.C: tell X when we have made a selection for copying
13570 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13572 * BufferView_pimpl.C (MenuInsertLyXFile):
13573 * lyxfunc.C (menuNew):
13575 (doImport): add shortcuts to directory buttons
13577 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13580 * lyxfunc.C (setStatusMessage):
13581 (getStatusMessage): new methods
13582 (getStatus):use setStatusMessage instead of setErrorMessage
13583 (dispatch): when function is disabled, set error message here
13584 [instead of in getStatus previously]
13586 * BufferView_pimpl.C (workAreaButtonRelease): update
13587 toolbar/menubar here too.
13589 2002-01-13 Allan Rae <rae@lyx.org>
13591 * BufferView2.C (removeAutoInsets): finished off earlier fix.
13592 Now seems indestructible. Remaining task is to audit all other
13593 code affected by deleteEmptyParagraphMechanism. One small quirk
13594 left is that an empty document with an error in the preamble can
13595 be made to report an error but no error box appears. I don't know
13597 (removeAutoInsets): Improved comments.
13599 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
13602 * Thesaurus.C: update for Aiksaurus 0.14
13604 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
13606 * text2.C (firstParagraph): removed member function, all uses
13607 replaces with ownerParagraph
13608 (redoParagraphs): here
13609 (updateInset): here
13610 (toggleAppendix): here
13611 * BufferView2.C (insertErrors): here
13612 (setCursorFromRow): here
13614 2002-01-13 Allan Rae <rae@lyx.org>
13616 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13617 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13618 There is still a way to segfault this although you may have to do this
13619 multiple times: Have an InsetERT with an unknown command in it.
13620 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13621 <down-arrow>, <Enter> again, View->DVI, BANG!
13623 * text2.C (setCursor):
13624 (deleteEmptyParagraphMechanism):
13625 * lyxtext.h (setCursor):
13626 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13627 Making use of the return value may help fix other bugs.
13629 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13631 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13633 * LyXView.C (updateMenubar): call MenuBar::update here
13634 (updateToolbar): but not here
13635 (showState): do not update toolbar/menubar
13637 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13638 should need to care about that.
13640 * lyxfunc.C (verboseDispatch): simplify a bit
13641 (getStatus): have a version which takes a pseudoaction, and
13642 another which requires a (kb_action,string).
13644 * LyXAction.C (retrieveActionArg): make it work also when action
13645 is not a pseudo-action.
13646 (getActionName): simplify a bit
13649 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13651 * lyxfunc.C (verboseDispatch): new families of methods with
13652 several ways to specify a command and a bool to indicate whether
13653 the command name and shortcut should be displayed in minibuffer
13654 (eventually, we could extend that to a finer bitmask like
13655 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13656 (dispatch): the pristine dispatch command which just, well,
13657 dispatchs! Note it still sets its result to minibuffer; I'm not
13660 * lyxfunc.h: remove setHintMessage
13662 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13664 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13666 * BufferView_pimpl.C (specialChar): delete new inset if we have
13667 not been able to insert it.
13669 * kbmap.C: revert to using int instead of kb_action, since all we
13670 are dealing with is pseudo-actions.
13672 * LyXAction.C (searchActionArg): change to return int instead of
13673 kb_action, since the result is a pseudoaction.
13675 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13677 * buffer.C (insertErtContents): Fix (partially) the font bug.
13679 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13681 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13682 as the other one is broken on my machine!
13684 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13687 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13689 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13691 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13692 reflect their actual use. Provide compatibility code for older lyxrc
13695 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13697 change names of popup font variables in line with the changes to lyxrc.C
13699 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13701 * buffer.C (asciiParagraph): avoid outputing a word twice after
13704 * lyxrc.C (getDescription): document that document_path and
13705 template_path can be empty.
13707 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13709 * LaTeXFeatures.C (getMacros):
13710 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13712 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13714 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13716 (getPackages): rename feature "floats" to "float". Use an array to
13717 iterate over 'simple' features (i.e. just a \usepackage). Add
13718 handling of "amsmath" (renamed from "amsstyle").
13720 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13722 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13725 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13727 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13728 FuncStaus::FuncStatus & FuncStaus::some_method().
13730 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13732 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13733 of the func_satus stuff. Edited and massaged in various ways by
13736 * lyxfunc.C (getStatus): use FuncStatus
13738 2002-01-08 Juergen Vigna <jug@sad.it>
13740 * text.C (nextBreakPoint): use function Inset::isChar().
13742 * paragraph.C (TeXOnePar): use function
13743 Inset::forceDefaultParagraphs.
13745 * buffer.C (latexParagraphs): use function
13746 Inset::forceDefaultParagraphs.
13748 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13750 * lyx_gui.C (init): set the style of the menu popups to
13751 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13753 2002-01-07 Juergen Vigna <jug@sad.it>
13755 * text.C (setHeightOfRow): small fix
13756 (prepareToPrint): don't look at alignment if we don't have the place
13759 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13761 * box.C: New file. Move the Box methods and functions out of box.h,
13762 following Lars' suggestion.
13764 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13766 * box.h: #include "support/LOstream.h", needed for inlined function.
13769 * lyxtextclasslist.C: added some using std declarations.
13771 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13773 * box.h: make signed dimensions to allow insets wider than
13774 the screen (bug #162)
13776 * BufferView_pimpl.C: add some insetHit debug
13778 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13780 * vc-backend.C: add FIXME
13782 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13784 * lyxfunc.C (getStatus): enable code for showing math font status
13787 2002-01-07 Juergen Vigna <jug@sad.it>
13789 * text.C (nextBreakPoint): removed debug output not needed anymore.
13791 2002-01-06 Juergen Vigna <jug@sad.it>
13793 * text.C (nextBreakPoint): fixed up this function we had this bug
13794 since ever but now hopefully we break row better.
13795 (insertChar): we have to check if an inset is the next char as it
13796 could now happen that a large inset is causing a break.
13798 2002-01-05 Juergen Vigna <jug@sad.it>
13800 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13801 if it doesn't like to be drawed.
13803 2002-01-04 Juergen Vigna <jug@sad.it>
13805 * BufferView2.C (lockInset): forgot to set a cursor.
13807 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13809 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13811 * FormMathsPanel.C:
13814 * form_maths_panel.C:
13815 * form_maths_panel.h:
13816 * form_maths_panel.fd: implemented sub- and super- buttons in math
13819 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13820 (or ^ space) to be used as in TeX (req'd by André).
13822 * lyxfunc.C: Allow ^ and _ again to be used both as
13823 super/subscript (mathed) and as themselves (in text).
13825 2002-01-03 Allan Rae <rae@lyx.org>
13827 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13828 "LyX" or the filename of the current buffer if it has one. This is a
13829 modified form of John Levon's patch.
13831 * XFormsView.C (setWindowTitle): also set icon title.
13833 * LyXView.h (setWindowTitle): signature changed.
13834 * XFormsView.h (setWindowTitle): ditto.
13836 2002-01-02 Juergen Vigna <jug@sad.it>
13838 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13840 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13842 * screen.C (topCursorVisible): introduce a temp var for
13843 text->cursor.row(), handle the case where this row is null. (kindo
13846 * text2.C (setCursor): add a couple of asserts.
13848 * paragraph.h (inset_iterator): add -> operator
13850 * paragraph.[Ch] (autoDeleteInsets): remove member function
13852 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13853 cursor pos correctly and handle inset deletion by itself.
13854 (insertErrors): move iterator declaration out of for expression
13856 * lyxtextclass.C: add <algorithm>
13858 * Makefile.am: added the new files to sources, removed layout.C
13860 * layout.C: removed file
13862 * layout.h: remove LYX_DUMMY_LAYOUT
13864 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13868 * lyxtextclass.[Ch]:
13869 * lyxtextclasslist.[Ch]: new files
13871 * include order changes to a lot of files, also changes because of
13874 2001-12-27 Juergen Vigna <jug@sad.it>
13876 * buffer.C (asciiParagraph): more fixes.
13878 * tabular.C (ascii): make ascii export support export of only the
13879 data separated by a column-delimiter.
13880 (ascii): better support for ascii export.
13882 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13884 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * tabular_funcs.C: use a "using std::getline" instead of the
13887 previous fix from Angus (necessary for cxx + lyxstring)
13889 2001-12-24 Juergen Vigna <jug@sad.it>
13891 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13893 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13894 problems. First check a minipage also if we have some ert-contents
13895 (not only on par->size(), second set the right depth of the paragraph
13896 on the relink to the root-paragraph-list!
13898 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13899 which then did not anymore update the main paragraphs on undo/redo!
13901 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13903 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13904 code. Support all font-changing funcs (even those which are not in
13905 menu currently). Support for reporting font settings in
13906 mathed (disabled until Andre provides a function on mathed's side).
13908 * func_status.h (toggle): small helper function to set toggle
13911 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13913 * tabular_funcs.C: getline -> std::getline
13915 2001-12-21 Juergen Vigna <jug@sad.it>
13917 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13918 accessed and could be 0 (I couldn't generate this but it seems
13921 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13924 * tabular_funcs.h: here and include iosfwd
13926 2001-12-20 Juergen Vigna <jug@sad.it>
13928 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13929 inside inset but undo_par was.
13931 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13933 * Thesaurus.C: always include <config.h> in sources.
13937 * box.h: do not include <config.h> in header files
13939 * text.C (paintLastRow): remove unused variable
13941 * text.C (transformChar):
13943 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13945 * Painter.C (text):
13946 * font.C (width): rewrite to use uppercase() instead of
13949 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13951 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13953 * lyxfind.C: clean up of find failure position change
13955 2001-12-20 Juergen Vigna <jug@sad.it>
13957 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13959 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13960 (TeXRow): added to LaTeX a single tabular row.
13961 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13962 (Latex): simplified and finally good LT-h/f support.
13963 (various_functions): just small adaptions for LT-h/f support.
13965 * tabular_funcs.[hC]: added and moved here all not classfunctions
13968 2001-12-19 Juergen Vigna <jug@sad.it>
13970 * tabular.[Ch]: better support for longtabular options (not finished
13973 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13975 * text.C (paintLastRow): use the label font instead of the font of
13976 the last character to compute the size of *_BOX. This makes more
13977 sense and avoids a crash with empty paragraphs.
13978 Use Painter::rectangle to draw EMPTY_BOX.
13980 2001-12-19 Juergen Vigna <jug@sad.it>
13982 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13983 the paragraphs if the replaced paragraph is not the first one!
13984 Tried to delete not used paragraphs but does not work yet so for
13985 now it's inside #ifdef's and by default off!
13987 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13989 * MenuBackend.C: include "lyx_main.h" instead of declaring
13990 lastfiles (actually was declared as LastFiles* instead of a
13993 2001-12-17 Juergen Vigna <jug@sad.it>
13995 * tabular.C (AppendColumn): applied John's fix
13997 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
14001 * BufferView_pimpl.h:
14002 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14005 * box.h: new start of class for above
14007 * lyxfunc.C: ignore space-only minibuffer dispatches.
14008 Show the command name when it doesn't exist
14010 * minibuffer.C: don't add empty lines to the history
14012 * minibuffer.C: add a space on dropdown completion
14014 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
14016 * text.C: fix line above/below drawing in insets
14018 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14020 * lyxlength.C (LyXLength): Initialize private variables.
14022 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
14024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14025 when inserting error insets.
14027 2001-12-13 Juergen Vigna <jug@sad.it>
14029 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14030 actually sometimes the before-paragraph.
14031 (setUndo): don't clear the redostack if we're not actually undoing!
14033 2001-12-06 Juergen Vigna <jug@sad.it>
14035 * undo_funcs.C (textHandleUndo): well after John's hint I got here
14036 and fixed redoing of main paragraph, so we can use it now ;)
14038 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14040 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14042 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14045 2001-12-13 André Pönitz <poenitz@gmx.net>
14048 * undo_func.C: minor cleanup
14050 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14052 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14053 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14054 font in urw-fonts package which is marked as -urw-fontspecific and
14055 does not work (incidentally, changing the encoding in the
14056 fonts.dir of this package to -adobe-fontspecific fixes the
14059 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14060 is a crash when undoing first paragraph (Juergen, please take a
14061 look). THis does not mean the undo fix is wrong, just that it
14064 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14065 the (Paragraph*) version when needed instead of duplicating the
14068 * text.C (workWidth): use Inset::parOwner to find out where the
14069 inset has been inserted. This is a huge performance gain for large
14070 documents with lots of insets. If Inset::parOwner is not set, fall
14071 back on the brute force method
14073 * paragraph_pimpl.C (insertInset):
14074 * paragraph.C (Paragraph):
14075 (cutIntoMinibuffer): set parOwner of insets when
14076 inserting/removing them
14078 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14080 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
14086 * mathed/formulabase.C:
14087 * mathed/math_cursor.[Ch]:
14088 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14091 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * lyxlength.[Ch] (operator!=): new function
14095 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14097 * text.C (workWidth): use Inset::parOwner to find out where the
14098 inset has been inserted. This is a huge performance gain for large
14099 documents with lots of insets. If Inset::parOwner is not set, fall
14100 back on the brute force method
14102 * paragraph_pimpl.C (insertInset):
14103 * paragraph.C (Paragraph):
14104 (cutIntoMinibuffer): set parOwner of insets when
14105 inserting/removing them
14107 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14109 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14111 * tabular-old.C (getTokenValue):
14112 * tabular.C (getTokenValue):
14113 (write_attribute): new versions for LyXLength
14114 (everywhere): adjust the use of widths
14116 * tabular.h: change the type of widths from string to LyXLength
14118 2001-12-11 Ben Stanley <bds02@uow.edu.au>
14120 * paragraph.C: fixed missing line number count when exporting
14121 Environments to LaTeX file
14123 * buffer.C: added informational message for checking line numbers.
14125 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14127 * text2.C (deleteEmptyParagraphMechanism): if there is only one
14128 paragraph, do the 'double space' part, but not the 'empty
14131 * text.C (workWidth): small optimization
14132 (getLengthMarkerHeight): use minimal size for negative lengths.
14134 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
14136 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14138 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14140 2001-12-11 André Pönitz <poenitz@gmx.net>
14143 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14145 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14147 * text2.C: keep selection on a setFont()
14149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14151 * lyx_cb.C: another bv->text misuse, from insert label
14153 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14156 * kbsequence.C: re-instate nmodifier mask
14158 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
14160 * lyx_main.h: make lyxGUI private.
14162 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
14164 * lyxfind.C: place the cursor correctly on failed search
14166 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
14168 * text.C (getLengthMarkerHeight): for small heights, the arrows
14169 are not always on top/bottom of the text
14170 (drawLengthMarker): smaller arrows; take the left margin in
14171 account; draw also vfills.
14173 (paintLastRow): remove special code for vfill and standard spaces,
14174 since everything is handled in drawLengthMarker now.
14176 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14178 * buffer.C (insertErtContents): try to handle font and language
14179 interaction a bit better.g
14181 * ColorHandler.C (updateColor): change the hash to cover the whole
14182 LColor enum, ws cleanup
14183 (getGCLinepars): ditto
14184 (getGCLinepars): only lookup in the linecache once.
14186 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
14188 * iterators.C (operator++): Make the iterator more robust
14190 * BufferView2.C (removeAutoInsets): Use paragraph iterators
14192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14194 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14197 * text.C: better added space drawing
14199 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14202 * BufferView2.C: fix layout combo update on inset unlock
14204 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14206 * Makefile.am: don't compile unused files
14208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14212 * LyXAction.C: remove old LFUN_LAYOUTNO
14214 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14216 * paragraph_pimpl.h:
14217 * paragraph_pimpl.C: isTextAt() doesn't need font param
14219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14222 * lyxlex.C: little cleanup
14224 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
14226 * BufferView_pimpl.C: fix insertAscii for insets
14228 2001-12-05 Juergen Vigna <jug@sad.it>
14230 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14231 set the right font on the "multi" paragraph paste!
14233 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * lyxlength.C: remove out-commented code.
14241 * BufferView_pimpl:
14255 * vc-backend.C: change "while(" to "while ("
14257 * lyxlength.[Ch]: add zero function to check if length is zero or
14259 * lyxgluelength.C: use it
14261 2001-12-05 Allan Rae <rae@lyx.org>
14263 * lyxlength.C: Attempted a fix for the abs(int) header selection.
14264 Works for 2.95.3, from what I understand of Garst's reports this should
14265 work for other g++ versions. We're screwed if the abs(int) definition
14266 changed between bugfix releases of gcc.
14268 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14270 * text.C: fix chapter label offset !
14272 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
14275 * text.C: fix hfill at end of line, clean up
14277 2001-12-04 Juergen Vigna <jug@sad.it>
14279 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14280 that we force an update of the inset and it's owners if neccessary.
14282 2001-12-03 Juergen Vigna <jug@sad.it>
14284 * text.C (rowLast): simplified code
14286 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
14288 * lyxfunc.C: fix show options on timeout
14290 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14292 * screen.C (topCursorVisible): scroll half a page when the cursor
14293 reached top of bottom of screen
14295 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
14297 * minibuffer.C: deactivate on loss of focus
14299 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * vspace.[Ch] (operator!=): add operator.
14303 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
14305 * BufferView_pimpl.C: refuse to open an inset when
14306 there's a selection.
14308 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
14310 * BufferView_pimpl.C: allow to click on RHS of full row insets
14312 2001-11-30 Juergen Vigna <jug@sad.it>
14314 * tabular.C (LyXTabular): add a same_id to set the same id's in the
14315 insets for undo reasons.
14317 2001-11-28 André Pönitz <poenitz@gmx.net>
14319 * vspace.[Ch]: cosmetical changes
14321 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14331 * kbsequence.C: part re-write of old kb code
14334 * WorkArea.C: remove Lgb_bug_find_hack
14336 2001-11-30 José Matos <jamatos@fep.up.pt>
14338 * buffer.C (makeDocBookFile): add a comment to point a hack.
14339 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14340 Fixed a double write of labels.
14342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14345 * LaTeX.h Fixed bug in LaTeX class where it would not
14346 re-run latex if no depfiles were changed, but the .dvi was removed.
14348 2001-11-28 André Pönitz <poenitz@gmx.net>
14350 * all the files from the change on 2001/11/26:
14351 use lyx::layout_type instead of LyXTextClass::size_type
14352 use lyx::textclass_type instead of LyXTextClassList::size_type
14354 2001-11-29 Juergen Vigna <jug@sad.it>
14356 * text.C: added support for paragraph::isFreeSpacing()
14358 * buffer.C: same as above
14360 * paragraph.h: inserted isFreeSpacing() function to enable
14361 FreeSpacing inside InsetERT.
14363 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14364 of the paragraph's in the cut/copy buffer to 0!
14366 * text2.C (removeRow): remove the assert as it can!
14368 * lyxtext.h: added helper function firstRow returning firstrow and
14369 made firstrow private again.
14371 * BufferView2.C (lockInset): don't relock if we're already locked!
14373 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14374 the only paragraph.
14375 (removeRow): added Assert::(firstrow)
14377 * debug.C: forgot to add INSETTEXT here.
14379 2001-11-28 Juergen Vigna <jug@sad.it>
14381 * sp_spell.C (initialize): changed error text to more general
14382 spellchecker command use (not only ispell!)
14384 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14386 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14388 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14390 * vspace.C: initialise lyxgluelength on failure
14392 2001-11-28 Allan Rae <rae@lyx.org>
14394 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14395 declaration & definition that looks like a function declaration.
14397 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * BufferView2.C (copy):
14400 (copyEnvironment): do not clear the selection when doing a copy.
14402 * text.C (paintFirstRow): compilation fix
14404 2001-11-27 Ben Stanley <bds02@uow.edu.au>
14406 * tabular.C (Latex): correct line count when writing latex.
14408 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
14410 * paragraph_pimpl.h:
14411 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14414 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
14418 * LColor.C: change vfillline->added_space
14420 * text.C: add markers and text for added space
14422 * vspace.C: fix comment
14424 2001-11-28 André Pönitz <poenitz@gmx.net>
14426 * paragraph.C: whitespace changes
14427 * all the other files from the change on 2001/11/26:
14428 change *::pos_type into lyx::pos_type
14430 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
14432 * buffer.C (parseSingleLyXformat2Token): Set the language to the
14433 language of the document when inserting error insets.
14435 2001-11-26 André Pönitz <poenitz@gmx.net>
14437 * BufferView_pimpl.[Ch]:
14445 * paragraph_pimpl.[Ch]:
14448 * text2.C: reduce header dependencies, introduce type for positions
14450 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14452 * <various>: change to use Alert.h
14454 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
14456 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14457 when encountering an unknown token.
14458 (readLyXformat2): Show an error message if there were unknown tokens.
14460 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
14463 * BufferView_pimpl.C:
14467 * text2.C: use par->isInset()
14469 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
14471 * paragraph_pimpl.h:
14472 * paragraph_pimpl.C: cleanup
14474 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14476 * text2.C (removeRow):
14477 * text.C (setHeightOfRow): remove useless (and costly) call to
14480 2001-11-20 Allan Rae <rae@lyx.org>
14482 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14483 Now need Inset*::checkInsertChar() to return true for appropriate
14484 cases so that the characters in the minibuffer will actually be
14487 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
14489 * text.C: change the order of the includes.
14490 (workWidth): initialize it at once.
14491 (workWidth): make maxw unsigned
14492 (setHeightOfRow): remove unused variable (inset)
14493 (selectSelectedWord): remove unused variable (inset)
14494 (paintRowText): fix drawing of hfill characters, and clean up a bit.
14496 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14498 * lyxserver.C (emergencyCleanup): do not try to close pipes if
14499 server is not running.
14501 (closeConnection): add debug info when server is disabled.
14503 * ColorHandler.C (getGCForeground): send debug message to GUI
14506 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14508 * kbmap.C (bind): modify because return conventions of
14509 kb_sequence::parse have changed.
14511 * kbsequence.C (parse): only ignore spaces and not any stupid
14512 control character. This avoids tests like s[i] <= ' ', which are
14513 guaranteed to fail with 8bit characters and signed chars.
14514 Change return code to string::npos when there have been no error
14515 (0 was a bad idea when error is at first character)
14517 2001-11-14 José Matos <jamatos@fep.up.pt>
14520 * buffer.C (simpleDocBookOnePar): removed unused argument.
14522 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * text.C (selectNextWordToSpellcheck): do not test explicitely for
14525 insets which are part of a word. Paragraph::isLetter takes care of
14526 that now. Use Paragraph::isInset to identify insets.
14527 (selectSelectedWord): do not test for hyphenation break.
14529 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14530 that protected spaces are considered as spaces.
14532 * paragraph.C (isLetter): cleanup the code for ispell extras; use
14535 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
14538 * lyxserver.C: fix it. and small cleanup.
14540 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14542 * BufferView_pimpl.C: use inline helpers
14545 * LaTeXFeatures.C: fix typos
14548 * Spacing.C: move spacing_string into class
14550 * ToolbarDefaults.C: move stuff into namespace anon
14552 * layout.h: update enum
14554 * lyxfunc.C: use better debug
14556 * minibuffer.h: fix typo
14560 * WorkArea.C: add and use Debug::WORKAREA
14564 * text2.C: code re-organisation, inline helpers
14566 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
14568 * Layout.C: replaced a few cases of std::vector.size() == 0 with
14569 std::vector.empty().
14571 2001-11-09 Allan Rae <rae@lyx.org>
14573 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14574 '\n's after tables. Tabular and ERT inset work now makes this no
14577 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
14580 * minibuffer.C: fix crash, improve drop-down completion
14582 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
14585 * lyxserver.C: invalidate fd's when doing endPipe()
14587 2001-11-08 José Matos <jamatos@fep.up.pt>
14589 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14590 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14593 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14595 2001-11-07 José Matos <jamatos@fep.up.pt>
14598 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14601 * buffer.C (sgmlOpenTag):
14602 * buffer.C (sgmlCloseTag): removed debug info.
14604 * buffer.h (sgmlOpenTag):
14605 * buffer.h (sgmlCloseTag): made public.
14607 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14609 * buffer.C (saveParamsAsDefaults):
14610 * lyx_cb.C (MenuLayoutSave): remove
14612 * LyXAction.C (init):
14614 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14616 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14618 * buffer.C (setPaperStuff): removed from here...
14620 * bufferparams.C (setPaperStuff): ... and moved there.
14622 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
14626 * XFormsView.C: add support for drop-down completion
14628 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14630 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14633 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14635 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14638 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14640 * lyx_main.C: change ref to known bugs
14642 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14644 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14645 to work around older babel problems.
14647 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14649 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14651 2001-10-24 Juergen Vigna <jug@sad.it>
14653 * tabular-old.C (ReadOld): below variable changes reflected.
14655 * tabular.[Ch]: added ltType struct for longtable header/footer
14656 defines and changed all instances where they are used. Added
14657 future support for double top/bottom rows.
14659 2001-10-24 José Matos <jamatos@fep.up.pt>
14661 * buffer.h (docbookHandleCaption):
14662 * buffer.C (docbookHandleCaption): removed unused function.
14663 (makeDocBookFile): moved docbook supported version to v4.1.
14665 2001-10-24 José Matos <jamatos@fep.up.pt>
14668 * tabular.C (docbookRow): new function to export docbook code of a row.
14669 (DocBook): now honors the longtable flags.
14671 2001-10-23 José Matos <jamatos@fep.up.pt>
14674 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14675 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14677 * buffer.C (makeLinuxDocFile):
14678 (makeDocBookFile): reworked the preamble, more clean, and with
14679 support for lyx defined entities. Changed the document declaration
14680 to be more XML friendly.
14682 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14683 if we need to output XML that should be done with a filter.
14685 2001-10-22 Juergen Vigna <jug@sad.it>
14687 * sp_pspell.h (class PSpell): add alive function needed in the
14688 controller to see if the spellchecker could be started.
14690 2001-10-22 Juergen Vigna <jug@sad.it>
14692 * buffer.C (insertStringAsLines): modify the font for inserting
14693 chars in certain conditions by calling checkInsertChar(font).
14695 2001-10-19 Juergen Vigna <jug@sad.it>
14697 * text.C (workWidth): use getRow instead of wrong algorithm.
14698 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14700 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14705 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14707 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14709 * text.C (workWidth): do not search for the exact row when
14710 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14711 optimization for big documents.
14713 2001-10-18 Juergen Vigna <jug@sad.it>
14715 * text.C (workWidth): new function with added Inset * parameter.
14717 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14721 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14722 change return type of getColumnNearX.
14725 * text.C (changeRegionCase): use uppercase/lowercase instead of
14728 (rightMargin): simplify code by factoring out the uses of
14733 (appendParagraph): use Paragraph::size_type
14735 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14737 * vspace.C (asLatexString): add a missing break
14739 2001-10-15 Herbert Voss <voss@perce.de>
14741 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14743 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14745 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14748 2001-10-10 André Pönitz <poenitz@gmx.net>
14750 * lyxfunc.C: removed greek_kb_flag.
14752 2001-10-10 Herbert Voss <voss@perce.de>
14754 * lyx_main.C: delete global string help_lyxdir.
14756 2001-10-09 Herbert Voss <voss@perce.de>
14758 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14760 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14762 * lyx_main.C: added global string help_lyxdir.
14764 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14766 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14768 * lyxrc.C (set_font_norm_type): support iso8859-4
14770 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14772 * LaTeX.C (deplog): add another regex for MikTeX
14774 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14776 * lyxrc.C (set_font_norm_type): support iso8859-3
14778 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14780 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14782 * LaTeXFeatures.C: remove special case of french and index
14784 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14785 before \begin{document}). This solves several incompatibilities.
14787 2001-10-03 Garst Reese <reese@isn.net>
14789 * lyx_cb.C: change CheckTex error msg.
14791 2001-10-03 José Matos <jamatos@fep.up.pt>
14793 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14795 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14797 * .cvsignore: update
14799 * lyx_main.C (commandLineVersionInfo): use new style version info.
14801 * buffer.C (writeFile):
14803 (makeLinuxDocFile):
14804 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14806 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14808 * version.h: update to use stuff in version.C
14810 * version.C.in: new file. Contains version information determined
14811 at compile time. This is a merging of version.h and
14814 2001-10-03 Juergen Vigna <jug@sad.it>
14816 * BufferView_pimpl.C (update): don't change "dirty" status in
14819 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14821 * WorkArea.C (c-tor): re-position version string slightly.
14823 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14825 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14826 revert to previous code.
14828 WorkArea.[Ch]: (show, destroySplash): methods removed.
14830 WorkArea.C: rework code so that it's an amalgam of the codes before and
14831 after the splash screen was moved to WorkArea.
14833 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * vspace.C (inPixels):
14839 * buffer.C (insertStringAsLines):
14840 (asciiParagraph): fix types to be large enough
14842 * lyxlex_pimpl.h: change member status from short to int
14844 * layout.h: fix type of endlabeltype
14847 * kbsequence.C (parse): change return type to string::size_type
14849 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14852 * Bullet.C (bulletSize):
14853 (bulletEntry): do not use short ints as parameters
14855 * BufferView2.C (insertLyXFile): change a char to an int.
14857 * WorkArea.C (WorkArea): remove unneeded floats in computation
14859 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14861 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14863 * paragraph.C (asString): Do not ignore newline/hfill chars when
14864 copying to the clipboard.
14866 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14868 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14869 after a multi-line inset.
14871 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14873 * paragraph.C (validate): Set NeedLyXFootnoteCode
14875 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14877 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14878 and decrease-error to decrease.
14880 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14882 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14883 it more readable (should be equivalent)
14885 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14887 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14889 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14892 of a cursor (row, etc.) after a character has been deleted
14893 (deleteEmptyParagraphMechanism): call the method above on _all_
14894 cursors held by the LyXText when a double space has been
14897 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14899 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14901 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14903 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14904 background. Use greyOut() and the new show() methods to toggle between
14905 the foreground and background. Add code to remove the splash after
14906 its initial showing.
14908 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14909 (create_forms): no longer call Dialogs::showSplash.
14911 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * .cvsignore: add version_info.h
14915 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14917 * version_info.h.in: new file
14919 * Makefile.am: add version_info.h.in
14921 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14922 version_info.h instead of VERSION_INFO
14924 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14926 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14927 The ERT inset now returns string().
14929 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14931 * lyxtext.h, text.C (selectNextWord): renamed as
14932 selectNextWordToSpellcheck.
14934 * text.C (selectNextWordToSpellcheck): Modified to not select
14935 words inside an ERT inset.
14937 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * lyx_cb.C (MenuLayoutSave): change a bit the question
14941 * sp_base.h: include <sys/types.h>
14943 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14945 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14947 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14949 * several files: fix typos in user-visible strings
14951 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * text2.C (pasteSelection): do not set the selection, since it
14954 will be cleared later. Actually, the intent was to fix the way the
14955 selection was set, but I figured rmoving the code was just as good.
14957 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14959 * FontLoader.C (available): Check if font is available without
14962 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14964 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14966 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14968 * lyxrc.[Ch]: added display_graphics variable and associated code.
14970 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * bufferparams.C (hasClassDefaults): new method. Returns true if
14973 the buffer parameters correspond to known class defaults
14975 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14977 * XFormsView.C (show): set minimum size to the main window.
14979 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14981 * text2.C (copySelection):
14983 * lyxfind.C (LyXReplace):
14984 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14985 LyXText::selectionAsString.
14987 * paragraph.C (asString): add "label" argument to the second form
14989 * text2.C (selectionAsString): add "label" argument and pass it to
14990 Paragraph::asString.
14992 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * lyx_main.C (commandLineHelp): remove version information
14996 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14998 * lyx_main.C: add -version commandline option
15000 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15002 * paragraph.h: make the optional constructor arg required instead.
15003 some modifications to other files because of this.
15005 * minibuffer.C (C_MiniBuffer_peek_event): make it static
15007 * lyxserver.C (C_LyXComm_callback): make it static
15009 * lyx_main.C (error_handler): make it static
15011 * lyx_gui.C (LyX_XErrHandler): make it static
15013 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15015 * WorkArea.C: make the extern "C" methods static.
15017 * Makefile.am (lyx_LDADD): simplify
15019 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15021 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15022 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15024 * LyXAction.C (init):
15025 * lyxfunc.C (dispatch): associated code removal.
15027 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * lyxfont.h (isSymbolFont): shut off warning
15031 * text.C (setHeightOfRow):
15032 (getVisibleRow): fix crash with empty paragraphs which have a
15035 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
15037 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15040 2001-09-04 José Matos <jamatos@fep.up.pt>
15043 * tabular.C (docbook): rename docBook method to docbook.
15045 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15047 * Makefile.am: add dependencies to main.o.
15049 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
15051 * FontLoader.C (available): Return false if !lyxrc.use_gui
15053 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
15055 * FontInfo.C (query):
15056 * converter.C (view):
15057 * importer.C (Import):
15058 * exporter.C (Export): Can not -> cannot.
15060 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
15062 * BufferView_pimpl.C: allow to create index inset even if
15065 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
15067 * buffer.C (getLists): replace boost::tie code with an explicit pair
15068 as boost::tie can break some compilers.
15070 * iterators.h: Added a std:: declaration to the return type of
15073 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
15075 * lyxrc.C: add help for view_dvi_paper_option, default to safe
15078 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
15080 * iterators.[Ch]: New files. Provide paragraph iterators.
15082 * buffer.C (changeLanguage): Use paragraph iterators.
15083 (isMultiLingual): ditto
15085 * BufferView2.C (ChangeInsets): Use paragraph iterators.
15087 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
15089 * FontLoader.C: Support for cmr font.
15091 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
15093 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15094 (available): New method.
15096 * FontInfo.C (getFontname): Use scalable fonts even when
15097 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15100 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15102 * converter.C (Formats::view): reverted! Incorrect fix.
15104 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
15106 * converter.C (Formats::view): only output the -paper option
15107 if the dvi viewer is xdvi, thereby fixing bug #233429.
15109 2001-08-23 Herbert Voss <voss@perce>
15111 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15113 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
15115 * Spacing.h (Spacing): Set space to Default on in the default
15118 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
15120 * vc-backend.h (RCS::versionString): add RCS to version
15121 (CVS::versionString): add CVS to version
15123 * vc-backend.C (scanMaster): do not add CVS to version.
15124 (scanMaster): do not add RCS to version
15126 * lyxvc.C (versionString): new method
15128 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15130 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * Spacing.C (set): initialize fval
15134 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
15136 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15139 2001-08-16 Juergen Vigna <jug@sad.it>
15141 * lyxfunc.C (dispatch): implemented the new FINISHED states.
15143 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15145 * BufferView_pimpl.C:
15148 * text2.C: setParagraph takes linespacing now
15150 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
15152 * LyxAction.C: add internal LFUN_CITATION_INSERT
15154 * LyXView.C: actually apply fix
15156 * bufferlist.C: fix open non-existent file
15158 * lyxfind.C: fix indentation
15160 * lyxfunc.C: remove unneeded assert, fix typo
15162 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
15164 * MenuBackend.C: use "Floatname List"
15166 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
15168 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15169 when converting LaTeX layout to insetERT.
15170 Generate a non-collapsed float when reading old float
15172 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15174 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15177 2001-08-13 Juergen Vigna <jug@sad.it>
15179 * text.C (fill): return 0 instead of 20 as this seems to be the more
15182 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
15184 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15187 2001-08-13 Juergen Vigna <jug@sad.it>
15189 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15191 (SearchBackward): comment out the unlocking of the inset_owner this
15192 should not be needed!
15194 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
15196 * Many files: Remove inherit_language, and add latex_language
15198 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15199 collapsible insets.
15201 2001-08-10 Juergen Vigna <jug@sad.it>
15203 * text.C (prepareToPrint): fixed hfill-width in draw!
15205 * BufferView2.C (selectLastWord): save the selection cursor as this
15206 now is cleared in the function LyXText::clearSelection!
15208 2001-08-08 Juergen Vigna <jug@sad.it>
15210 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15211 BACKSPACE type functions.
15213 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15214 is only cutted from the document but not put in the cut-buffer, where
15215 still the old stuff should be.
15217 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15219 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15221 * tabular.C (SetWidthOfCell): fixed special case where the width
15223 (LeftLine): handle '|' in align_special.
15225 (LeftAlreadyDrawed): ditto
15226 (SetWidthOfCell): ditto
15228 2001-08-07 Juergen Vigna <jug@sad.it>
15230 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15232 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15234 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15235 * lyxlex.[hC]: ditto
15237 2001-08-06 Juergen Vigna <jug@sad.it>
15239 * text.C (getVisibleRow): fix up row clearing a bit.
15241 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15243 * minibuffer.C: make sure the X server sees the changes in the input.
15245 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * paragraph.C (getFont): split into...
15248 (getLabelFont): this
15249 (getLayoutFont): and this
15250 * paragraph_pimpl.C (realizeFont): calling this
15252 * text2.C (getFont): split into...
15253 (getLayoutFont): this
15254 (getLabelFont): and this
15255 (realizeFont): all three calling this
15257 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15260 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15262 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15264 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
15266 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15267 layouts from the Quote inset insertion.
15269 2001-08-03 Juergen Vigna <jug@sad.it>
15271 * BufferView_pimpl.C (update): do the fitCursor only at the end!
15273 * screen.C (drawFromTo): don't call fitcursor here and do the loop
15274 only if status not is already CHANGED_IN_DRAW (second level).
15276 * text.C (draw): don't set the need_break_row when inside an
15279 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
15281 * buffer.C (parseSingleLyXformat2Token): handle more latex
15284 * bufferview_funcs.[hC]: change function names to
15285 begin with small char, adjust other files.
15287 2001-08-02 André Pönitz <poenitz@gmx.net>
15290 BufferView_pimpl.C: remove broken special code for math-greek
15292 2001-08-02 Juergen Vigna <jug@sad.it>
15294 * BufferView_pimpl.C (update): redone this function so that we
15295 update the text again if there was a CHANGE_IN_DRAW.
15297 * screen.C (cursorToggle): removed LyXText parameter and recoded.
15298 (drawFromTo): added a new internal bool which is used by draw() and
15300 (general): some cursor drawing problems fixed.
15302 2001-08-01 Juergen Vigna <jug@sad.it>
15304 * lyxfind.C (LyXFind): fixed
15305 (SearchForward): ditto
15306 (SearchBackward): ditto
15308 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15309 spurius drawing of the cursor in the main area.
15311 * text2.C (status): small fix which could lead to a segfault!
15312 (clearSelection): remove unneeded BufferView param.
15314 2001-08-01 André Pönitz <poenitz@gmx.net>
15316 * lyxfunc.C: small change due to changed mathed interface
15318 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15320 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15322 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
15324 * lyxfunc.c: fail gracefully if file doesn't exist
15329 * BufferView_pimpl.C: IsDirWriteable() proto changed
15331 * LyXView.C: fix updateWindowTitle() to store the last title
15333 2001-07-31 Juergen Vigna <jug@sad.it>
15335 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15336 the font (wrong since using of Paragraph::highestFontInRange).
15338 * paragraph.C (highestFontInRange): added a default_size parameter.
15340 * text.C (getVisibleRow): minor clear row changes (still not perfect).
15341 (setHeightOfRow): reformat
15343 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15345 * converter.[hC] + affected files: move to (inital-char)lowercase
15348 * ParagraphParameters.C (ParagraphParameters): remove commented code
15350 * PainterBase.[Ch]: remove commented code
15352 * LaTeXFeatures.h: add "bool floats" for float.sty
15354 * LaTeXFeatures.C (LaTeXFeatures): init floats
15355 (require): handle float
15356 (getPackages): do it with floats
15358 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15360 * BufferView_pimpl.C (Dispatch): improve handling of
15361 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15363 * commandtags.h: #include lyxfont.h here temporarily to avoid
15366 * bufferlist.h: include LString.h here.
15368 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15370 * text2.C (getStringToIndex): new method.
15372 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
15374 * *: Reduced header file dependencies all over.
15376 2001-07-30 Baruch Even <baruch@lyx.org>
15378 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15380 2001-07-29 Baruch Even <baruch@lyx.org>
15382 * buffer.C (readInset): Changed GRAPHICS to Graphics.
15384 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15386 * ParameterStruct.h (endif): add a default constructor to make
15387 sure that all variables is initialized.
15389 * ParagraphParameters.C (ParagraphParameters): adjust
15391 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15393 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15394 index; also, check that there is something to index, and that it
15395 does not span over several paragraphs.
15396 (doubleClick): use WHOLE_WORD_STRICT for double click.
15398 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15400 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15403 2001-07-26 Baruch Even <baruch@lyx.org>
15405 * buffer.C (readInset): Changed to call up InsetGraphics when reading
15406 an InsetFig figure, backwards compatible reading of old figure code.
15408 2001-07-27 Juergen Vigna <jug@sad.it>
15410 * text2.C: font.realize function adaption.
15412 * text.C (draw): add a warnings lyxerr text if needed.
15414 * layout.C: font.realize function adaption.
15416 * language.C: add inherit_language and implement it's handlings
15418 * bufferview_funcs.C (StyleReset): remove language parameter from
15419 font creation (should be language_inherit now).
15421 * bufferparams.C (writeFile): handle ignore_language.
15423 * paragraph.C (getFontSettings): the language has to be resolved
15424 otherwise we have problems in LyXFont!
15426 * lyxfont.C (lyxWriteChanges): added document_language parameter
15427 (update): removed unneeded language parameter
15429 * paragraph.C (validate): fixed wrong output of color-package when
15430 using interface colors for certain fonts in certain environments,
15431 which should not seen as that on the final output.
15433 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
15435 * BufferView_pimpl.C:
15440 * LyXAction.C: add thesaurus support
15443 * lyxfind.C: add "once" parameter, for thesaurus, to not
15444 move to the next match
15446 2001-07-26 Juergen Vigna <jug@sad.it>
15448 * lyxfont.C (realize): honor ignore_language too!
15451 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15453 * text.C (draw): one place more for ignore_language to not draw
15456 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
15458 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15460 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15462 * buffer.C (parseSingleLyXformat2Token): a more general fix for
15463 the minipage conversion problem.
15465 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * buffer.C (parseSingleLyXformat2Token): check minipage if we
15470 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15472 * BufferView.h: don't forward declare WorkArea
15474 * BufferView.C: don't include WorkArea.h
15476 2001-07-25 André Pönitz <poenitz@gmx.net>
15480 * lyxfunc.C: new LFUN 'math-space'
15482 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15484 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * text2.C (toggleInset): call open/close
15488 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15490 * lyxfunc.C (dispatch): add debug for the disabled case
15492 * font.C (buttonText): make similar to rectText
15494 * buffer.C (readInset): comment out parsing of insetlist and
15497 * PainterBase.C (rectText): small correction
15499 * BufferView_pimpl.C: comment out insettheorem and insetlist
15500 * LyXAction.C: ditto
15501 * commandtags.h: ditto
15503 2001-07-24 Juergen Vigna <jug@sad.it>
15505 * text.C (draw): honor the ignore_language.
15507 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15509 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15514 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15516 * lyxtext.h: remove unused (and unimplemented) methods
15518 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15520 * text.C (getVisibleRow): honor background color
15523 * Painter.h: remove default color argument for fillRectangle
15525 * text.C (backgroundColor): new method
15527 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15529 * text.C (getVisibleRow): adjust
15531 * font.[Ch] (rectText): new method, metrics
15532 (buttonText): new method, metrics
15534 * PainterBase.[hC]: make rectText and buttonText always draw and take
15537 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15539 * ToolbarDefaults.C (read):
15540 * MenuBackend.C (read): allow escaping in all strings
15542 * BufferView_pimpl.C (insertAndEditInset): new method.
15543 (Dispatch): use insertAndEditInset whenever appropriate.
15545 * BufferView_pimpl.C (insertNote): removed
15547 * BufferView_pimpl.C (smartQuote): new method, moved from
15548 BufferView; if an insetquote cannot be inserted, insert a '"'
15551 * BufferView2.C: remove insertCorrectQuote();
15553 * lyxfunc.C (getStatus): Add support for all remaingin
15554 inset-insert lfuns.
15556 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15558 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15559 command (necessary to pass " as parameter of self-insert.
15561 * text.C (selectWordWhenUnderCursor):
15562 (selectWord): add word_location parameter
15563 (selectWordWhenUnderCursor): same + remove special code for word
15565 (selectNextWord): use kind() to guess type of insetspecialchar,
15568 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15569 (insertErtContents): create ert insets as collapsed.
15570 (readInset): better compatibility code for Info inset.
15572 2001-07-20 Juergen Vigna <jug@sad.it>
15574 * lyxfunc.C (dispatch): use always LyXFind now!
15576 * text2.C (init): add a reinit flag so that the LyXText can be
15577 reinited instead of deleted and reallocated (used in InsetText).
15579 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15585 2001-07-18 Juergen Vigna <jug@sad.it>
15587 * text.C (selectNextWord): handle insets inside inset by calling
15588 always the bv->text functions so that we can go up the_locking_inset!
15590 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15591 in strange locations when inside an inset!
15593 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15594 handling to include insets.
15596 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15598 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15600 * LyXAction.C (init):
15602 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15603 LIGATURE_BREAK, since the name is so stupid.
15605 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15607 * buffer.C (readInset): enable reading of new InsetNotes as well as old
15610 * FontLoader.C: remove FORMS_H_LOCATION cruft.
15612 * sp_form.[Ch]: remove.
15614 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15616 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15619 * src/buffer.C (readInset): ditto.
15621 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15623 * BufferView_pimpl.C (specialChar): new method. Obsoletes
15624 menuSeparator(), endOfSentenceDot(), ldots() and
15625 hyphenationPoint(), which are therefore removed.
15626 (Dispatch): handle LFUN_HYPHENATION_BREAK.
15628 * LyXAction.C (init):
15629 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15631 * paragraph.C (getWord): removed.
15633 * BufferView_pimpl.C (Dispatch): use last word or selection for
15634 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15636 * lyx_main.C (queryUserLyXDir): do not ask before creating
15637 user_dir, except if it has been named explicitely.
15639 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15641 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15642 a document of zero size.
15644 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15646 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15647 approriately in the c-tor and in require().
15648 (getPackages): output the appropriate LaTeX for natbib support.
15650 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15651 variables "use_natbib" and "use_numerical_citations" when reading the
15653 (readInset): read the various natbib cite commands.
15654 (validate): white-space change.
15656 * bufferparams.[Ch]: new variables "bool use_natbib" and
15657 "bool use_numerical_citations".
15658 (writeFile): output them in the LyX file.
15660 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15662 * lyxfunc.C (getStatus): add support for all the inset insertion
15665 * text2.C (insertInset):
15666 * paragraph.C (insetAllowed):
15667 * BufferView_pimpl.C (insertInset): update to take in account the
15668 renaming of insertInsetAllowed
15670 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15672 * text2.C (getInset): new method. returns inset at cursor position.
15674 * BufferView_pimpl.C (Dispatch): changes because of this.
15676 * LyXAction.C (init): rename open-stuff to inset-toggle.
15678 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15680 * text2.C (toggleInset): renamed from openStuff; use
15683 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15685 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15687 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15689 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15691 * buffer.C (readLyXformat2): Add filename to the error dialog
15693 2001-07-18 Juergen Vigna <jug@sad.it>
15695 * tabular.C (GetCellNumber): put an assert here instead of the check!
15697 2001-07-17 Juergen Vigna <jug@sad.it>
15699 * BufferView_pimpl.C (toggleSelection): adapted too.
15701 * text.C (selectNextWord): adapted for use with insets.
15702 (selectSelectedWord): ditto
15704 2001-07-17 Juergen Vigna <jug@sad.it>
15706 * sp_spell.C (PSpell): fix initialitation order.
15708 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15710 * paragraph.C: spacing
15712 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15714 * sp_spell.C: repair language selection for pspell
15716 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15718 * lyxfunc.h: change more methods to begin with lower char.
15720 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15722 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15723 for unknown layouts.
15725 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15727 * buffer.C (readLyXformat2): Generate an error dialog if there are
15730 2001-07-16 Juergen Vigna <jug@sad.it>
15732 * sp_spell.C: always compile ISpell part.
15734 * lyxrc.C: added use_pspell entry and it's handling.
15736 2001-07-13 Juergen Vigna <jug@sad.it>
15738 * sp_spell.C: removed double includes.
15740 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15742 Consistent use of Lsstream.h:
15743 * Lsstream.h: added using std::stringstream for consistencies sake.
15745 * buffer.C: removed using std::stringstream
15747 * lyxfont.C (stateText):
15748 * paragraph.C (asString):
15749 * text.C (selectNextWord, selectSelectedWord):
15750 * text2.C (setCounter):
15751 * vspace.C (asString, asLatexString):
15752 std::ostringstream -> ostringstream.
15754 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15756 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15757 * commandtags.h: add LFUN_HELP_ABOUTLYX
15758 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15760 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15762 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15764 * lyx_gui_misc.C: remove spellchecker
15765 * lyxfunc.C: showSpellchecker
15767 * sp_ispell.h: added
15768 * sp_pspell.h: added
15769 * sp_spell.C: added
15770 * sp_form.[Ch]: removed
15771 * spellchecker.[Ch]: removed
15773 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15775 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15777 (simpleTeXSpecialChars): Simply print the input character without
15778 any special translation if pass_thru is set.
15780 * layout.h: Added bool pass_thru to layout class for being able to
15781 implement pass through of a paragraph for Literate Programming.
15783 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15784 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15785 * layout.C (Read): add "passthru" to list of layout tags and add
15786 code to set the pass_thru boolean when it is read.
15788 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15790 * trans_decl.h: remove allowed from KmodInfo
15792 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15793 remove allowed code
15796 * paragraph_pimpl.C (erase): use boost::prior
15798 * Painter.C (text): use data() instead of c_str() when length is
15800 * WorkArea.C (putClipboard): ditto
15801 * font.h (width): ditto
15803 * BufferView2.C: use it-> instead of (*it). for iterators
15805 * paragraph_pimpl.C: ditto
15806 * paragraph.C: ditto
15807 * minibuffer.C: ditto
15808 * language.C: ditto
15810 * encoding.C: ditto
15811 * counters.C: ditto
15812 * converter.C: ditto
15814 * Variables.C: ditto
15815 * TextCache.C: ditto
15816 * MenuBackend.C: ditto
15817 * LyXAction.C: ditto
15819 * FloatList.C: ditto
15820 * DepTable.C: ditto
15821 * ColorHandler.C (LyXColorHandler): ditto
15823 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15825 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15827 * text2.C (openStuff): reintroduce this method (which had been
15828 nuked in NEW_INSETS frenzy).
15830 * lyxfunc.C (Dispatch): when an action has not been handled, use
15831 its name in the error message, not its number.
15833 * paragraph.C (inInset): change method name to begin with lowercase.
15836 * text2.C: updates because of this.
15838 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15840 * ToolbarDefaults.C (add): add spaces in error message
15842 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15845 (readLyXformat2): rename return_par to first_par, use lyxlex's
15846 pushToken and remove the manual push handling.
15847 (parseSingleLyXformat2Token): add another ert comp. variable:
15848 in_tabular, rename return_par to first_par. handle newlines better
15850 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15852 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15854 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15856 * text2.C (getParFromID): removed
15858 * buffer.C (getParFromID): new method moved form lyxtext.
15859 * BufferView2.C (insertErrors): adjust
15860 (setCursorFromRow): adjust
15861 * BufferView_pimpl.C (restorePosition): adjust
15862 * lyxfunc.C (Dispatch): adjust
15863 * undo_funcs.C (textUndo): adjust
15865 (textHandleUndo): adjust
15866 (textHandleUndo): adjust
15868 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * buffer.C: up' the LYX_FORMAT
15872 * lyxfont.h: turn NO_LATEX on as default
15874 * buffer.C (insertErtContents): new methods of tex style compability.
15875 (parseSingleLyXformat2Token): use it several places.
15876 * tabular.C (OldFormatRead): and here
15878 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15880 * text2.C: remove some commented code.
15883 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15884 * trans.C: changes because of the above.
15886 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15888 * text2.C (setCounter): Fix counters bug with bibliography layout.
15890 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15892 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15893 own member functions
15894 (simpleTeXSpecialChars): ditto
15896 2001-07-06 Juergen Vigna <jug@sad.it>
15898 * a lot of files: changed the access to LyXText::status and the
15899 call of undo-functions.
15901 * undo.[Ch]: added a inset_id to the undo informations.
15903 * undo_funcs.[Ch]: added and moved here all undo functions.
15905 * lyxtext.h: give the status enum a weight, made status_ a private
15906 variable and made accessor functions for it, removed the whole bunch
15907 of undo-functions as they are now in their own file, make some
15908 functions publically available. Added function ownerParagraph with
15911 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15912 made InInset() a const function, added getParFromID() function.
15914 * buffer.[Ch]: added const version for inset_iterator functions,
15915 added getInsetFromID() function.
15917 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15918 changed undo functions for new version.
15920 2001-07-05 Juergen Vigna <jug@sad.it>
15922 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15923 unknow mechanism does not call the proper constructor but only this
15924 one also if I request the other!?
15926 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15930 * text2.C (LyXText): use initialization lists.
15932 * lyxtext.h (Selection): initialize set_ and mark_
15933 (init): remove method
15935 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15937 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15939 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15941 * screen.[Ch]: change method names to begin with lowercase
15943 * BufferView_pimpl.C (updateScrollbar): simplify further and
15944 hopefully make it a bit faster.
15946 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15949 calling directly xforms functions.
15951 * Painter.C (Painter):
15952 * lyx_cb.C (MenuWrite):
15953 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15956 * lyx_gui.C: remove bogus guiruntime extern declaration.
15958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15960 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15962 (redoDrawingOfParagraph): ditto
15963 (redoParagraphs): ditto
15964 (cutSelection): don't create a object for CutAndPaste use the
15965 static method directly
15966 (pasteSelection): ditto
15968 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15971 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15973 * modifications to some other files because of this.
15975 * Makefile.am (lyx_SOURCES): add XFormsView
15977 * XFormsView.[Ch]: new files
15979 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15980 the main window. Move the gui dependent stuff to XFormsView
15982 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15984 * tabular.C (GetCellInset): update cur_cell also in the row/col
15985 version of this function.
15987 * lyxfunc.C: no need to include figure_form.h here.
15993 * lyxvc.C: no need to include forms.h here.
15995 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15997 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15999 * lyxfunc.C (Dispatch):
16001 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16002 constructor argument.
16004 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16006 * paragraph.C (Paragraph): dont't clear, and just set layout.
16007 (makeSameLayout): use params's copy contructor.
16009 * ParagraphParameters.[Ch] (makeSame): delete method
16011 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
16013 * Variables.[Ch]: fix indentation, rename set to isSet
16015 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16017 * lyxfunc.C (Dispatch): fix typo
16019 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16021 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16024 * bufferlist.C: include assert.h for emergencyWrite().
16026 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16028 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16029 give up at last (bug #425202) !
16031 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
16037 * spellchecker.C: strip spellchecker options and bring up
16038 preferences tab instead
16040 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16042 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16043 the istringstream constructor
16045 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16047 * paragraph.C (getLayout): fix return value
16049 * paragraph.h: do not declare getLayout as inline.
16051 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16053 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16055 * lyxcursor.h (operator<): new func
16056 (operator>): new func
16057 (operator>=): new func
16058 (operator<=): new func
16060 * text.C (changeCase): use selection.start and selection.end
16061 (changeRegionCase): require from to be <= to. Require par to be a
16064 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16066 2001-06-27 Juergen Vigna <jug@sad.it>
16068 * text.C (cursorLeftOneWord): changed to return the cursor and added
16069 overlay with BufferView * parameter which calls this one.
16071 (selectWord): use new getWord function.
16072 (changeCase): renamed from changeWordCase as and extended to work
16073 also on selections.
16075 * lyxtext.h: added enum word_location
16077 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16078 changeCase as this operates now also on selections.
16080 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
16082 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16084 * many files: send debug output to Debug::INFO instead of
16087 * converter.C (View):
16089 (Move): send debug output to Debug::FILES instead of console.
16091 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
16093 * lyxfunc.C (getStatus): use func_status
16095 * func_status.h: new header, describing the results of
16096 LyXFunc::getStatus;
16098 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16101 2001-06-25 The LyX Project <jug@sad.it>
16103 * buffer.C (sgmlOpenTag):
16105 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
16107 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16109 * text2.C: remove some dead code
16111 * tabular.C (GetCellInset): store the last cell checked (gotten)
16113 * tabular.h: add the helper for the speedup
16115 * lyxtext.h: remove some dead code
16117 2001-06-26 The LyX Project <Asger>
16119 * paragraph.C: Change export to LaTeX of alignment to
16120 \begin{center} and family for better roundtrip work with reLyX.
16122 * Tune the math drawing a bit.
16124 2001-06-25 The LyX Project <Asger>
16126 * LColor.C (LColor): New color for math background. New color
16129 2001-06-25 The LyX Project <jug@sad.it>
16131 * lyxfunc.C (MenuNew): remove extra check for .lyx file
16133 * lyxfunc.C (Open):
16134 * bufferlist.C (newFile): do not restrict to files ending with
16137 * BufferView_pimpl.C (MenuInsertLyXFile):
16139 2001-06-24 The LyX Project <jug@sad.it>
16141 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16144 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16146 * lyxtext.h: rename most methods to begin with a small char.
16147 Lots of changes because of this.
16149 * paragraph.C (Paragraph): do not call fitToSize
16150 (erase): call Pimpl::erase
16151 (insertChar): call Pimpl::insertChar
16152 (insertInset): call Pipl::insertInset
16153 (breakParagraph): do not call fitToSize
16154 (breakParagraphConservative): do not call fitToSize
16155 (fitToSize): remove method
16157 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16159 2001-06-24 The LyX Project <Asger>
16161 * Fix Qt compilation^2
16163 2001-06-24 The LyX Project <jug@sad.it>
16165 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16166 depthHook(getDepth()-1).
16169 * ParagraphParameters.h:
16170 * ParameterStruct.h: change type of depth to unsigned int ==
16171 depth_type. Many adaptations to other files before of that.
16173 2001-06-24 The LyX Project <Asger>
16175 * Fix Qt compilation.
16177 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16179 * paragraph.h: renamed several methods to begin with small letter.
16180 several changes to many parts of the code because of this.
16182 2001-06-23 The LyX Project <jug@sad.it>
16184 * text2.C (InsertStringAsLines): renamed from InsertStringA;
16185 rewritten to discard all double spaces when KeepEmpty is off
16186 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16187 to only handle newlines but not fiddle with spaces and friends.
16189 * lyxfunc.C (MenuNew): when doing 'new from template', use
16190 template_path as default directory
16192 2001-06-23 The LyX Project <Asger>
16194 * Clean-up of header file includes all over
16195 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16197 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16199 * paragraph.h: renamed from lyxparagraph.h
16201 2001-06-23 Asger <lyx@violet.home.sad.it>
16203 * Buffer.h: Removed Buffer::resize
16204 * BufferList.h: Removed BufferList::resize
16205 * LyXView.h: Added LyXView::resize. This way, we will only reflow
16206 the document lazily when we change the width, or the font settings.
16208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16210 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16214 * buffer.h: remove out of date comment
16216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
16219 * screen.C: fix "theoretical" GC leak
16221 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16223 * LaTeX.C (scanAuxFile):
16224 (deplog): remove trailing \r when reading stream (useful under
16227 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
16229 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16230 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16231 and BufferView::theLockingInset(Inset*), so should use them and not
16232 access bv_->text->the_locking_inset directly.
16234 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16236 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16239 * tex-defs.h: remove old unused file
16241 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
16243 * BufferView_pimpl.C: fix typo, remove minibuffer message
16244 when buffer has loaded
16246 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
16248 * lyxfunc.C (Dispatch): use stringstream
16249 (MenuNew): use stringstream
16250 (Open): use stringstream
16252 * importer.C (Import): use stringstream
16254 * bufferview_funcs.C (CurrentState): use stringstream
16256 * LaTeX.C (run): use stringstream
16258 * BufferView_pimpl.C (savePosition): use stringstream
16259 (restorePosition): use stringstream
16260 (MenuInsertLyXFile): use stringstream
16262 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
16275 * vspace.C: removed // -*- C++ -*- as first line.
16278 * version.h: added // -*- C++ -*- as first line.
16280 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16282 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16284 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16287 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
16289 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16292 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * gettext.C: include LString.h even when --disable-nls is on.
16296 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
16298 * converter.h (Get): changed argument type from int to
16299 FormatList::size_type to avoid unnecessary conversion.
16301 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16304 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * gettext.h: include LString.h even when --disable-nls is on.
16308 2001-06-07 Juergen Vigna <jug@sad.it>
16310 * text.C (BreakAgain): subst spaces with tabs.
16312 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16313 (resizeInsetsLyXText): set force on resizeLyXText.
16315 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16317 * gettext.h (gettext_init):
16318 (locale_init): use a real definition instead of a macro
16320 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
16322 * Bufferview_pimpl.C:
16324 * LColor.C: further lcolor tidies
16326 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
16328 * BufferView_pimpl.C (updateScrollbar): simplify.
16330 * BufferView2.C: don't include insets/insetinfo.h, change
16331 prototype for insertInset and call the Pimpl version. let
16332 updateInset call Pimpl version.
16334 * BufferView.h: move inset_slept to BufferView::Pimpl, move
16335 gotoInset to BufferView::Pimpl
16337 2001-06-01 Juergen Vigna <jug@sad.it>
16339 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16340 inside a LockingInset (is the update needed at all?).
16342 2001-05-31 Juergen Vigna <jug@sad.it>
16344 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16345 here not the old one otherwise how should we compare it afterwards
16348 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16353 * FontInfo.C: bring C functions into global namespace when
16356 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16358 * LString.h: make sure config.h has been loaded before LString.h.
16360 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16361 (one for each char read by EatLine!).
16363 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16366 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
16368 * paragraph.C (BreakParagraph): set the inset_owner in the new par
16369 to the same as the par we break from
16371 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
16373 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16375 * MenuBackend.C (expand): also create menu entries for wide
16376 versions of the floats.
16378 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16380 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16382 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16383 frontends/Makefile.am
16389 * tabular.C (getTokenValue): add std::
16391 * tabular-old.C (getTokenValue): add std::
16392 (getTokenValue): ditto
16393 (getTokenValue): ditto
16395 * screen.C (ToggleSelection): adjust
16397 * lyxtext.h: put selection cursors inside a Selection struct.
16399 * lyxfunc.C (moveCursorUpdate): adjust
16401 * lyxfont.C (latexWriteStartChanges): add std::
16403 * lyxfind.C: adjust
16405 * font.h: delete with(char const *, LyXFont const &)
16407 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16409 * FontInfo.C (getFontname): add std::
16411 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16412 (workAreaButtonPress): adjust
16413 (tripleClick): adjust
16415 (moveCursorUpdate): adjust
16418 * BufferView2.C (gotoInset): adjust
16420 2001-05-30 Juergen Vigna <jug@sad.it>
16422 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16423 to check pspell I add this as default as I now have new pspell
16424 libraries and they seem to use this.
16426 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
16428 * text2.C (CutSelection): make the cursor valid before the call to
16431 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16433 * kbsequence.C (parse): de-uglify a bit the parsing code, which
16434 relied on 0 terminated strings and other horrors. Bug found due to
16435 the new assert in lyxstring!
16437 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16440 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
16442 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16445 * lyxfunc.C (processKeySym): change method of getting to the
16448 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16449 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16450 * BufferView_pimpl.[Ch]: here as private methods.
16452 2001-05-28 Juergen Vigna <jug@sad.it>
16454 * text.C (SetHeightOfRow): added the update() call again as it is
16455 needed to initialize inset dimensions!
16457 2001-05-16 Juergen Vigna <jug@sad.it>
16459 * text2.C (SetCharFont): Add new function with BufferView * and
16460 bool toggleall parameters for setting insets internal fonts.
16461 (SetFont): Freeze the undo as we may change fonts in Insets and
16462 all this change should be inside only one Undo!
16464 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16465 setting font's in insets as for them we have the SetFont function!
16467 2001-05-15 Juergen Vigna <jug@sad.it>
16469 * text2.C (ClearSelection): to be sure we REALLY don't have any
16472 * tabular.C (TeXCellPreamble): fixed the left border problem for
16475 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
16477 * LaTeX.C (deplog): Make sure that the main .tex file is in the
16480 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
16482 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16483 LFUN_BREAKPARAGRAPH.
16485 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16486 help test to "internal only", similar for LFUN_INSERT_URL
16488 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16489 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16490 auto_region_delete and deadkeys.
16492 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
16495 * LColor.C: remove some dead entries, tidy a little
16497 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
16499 * lyxfunc.C (processKeySym): comment the Escape handling, remove
16501 (Dispatch): implement LFUN_ESCAPE
16503 * commandtags.h: add LFUN_ESCAPE
16505 * LyXAction.C (init): add entry for LFUN_ESCAPE
16507 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16508 Remove commented code.
16509 (insertNote): moved here
16510 (open_new_inset): moved here
16512 * BufferView[2].[Ch]: move insertNote and open_new_inset to
16515 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16517 * kbmap.C (findbinding): clean it up and make it work correctly.
16519 * lyx_main.C (init): do not pass argc and argv as parameters
16521 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
16523 * buffer.C: fix path for OS/2 & Win32
16527 * lyx_main.C: Added os:: class.
16529 * os2_defines.h: update
16531 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16533 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16534 better by trying again with reduced state.
16536 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * lyxrc.C (read): print error about invalid key sequence only when
16539 debugging (because not all latinX keysyms are known to some X
16542 * kbsequence.C (getiso): add a few std:: qualifiers
16543 (getiso): comment out extra return statement.
16545 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
16547 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16549 (Dispatch): enhance the accent inset a bit. (not perfect)
16551 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
16553 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16555 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16557 * bufferlist.C (emergencyWrite): fix assert() call
16559 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
16561 * text.C (InsertChar): Added trivial patch to only send the "you
16562 can not do multiple spaces this way" message once during a
16565 2001-05-08 Baruch Even <baruch@lyx.org>
16567 * Makefile.am: Changed order of libraries to get LyX to link properly
16568 with the gnome frontend.
16570 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16572 * LaTeXFeatures.h: add a std:: qualifier
16574 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
16576 * paragraph.C (String): use stringstream
16578 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
16580 * paragraph.C (writeFile): remove footflag arg
16582 * buffer.C (makeLaTeXFile): use stringstream
16583 (latexParagraphs): remove footnot gurba
16585 * LaTeXFeatures.C (getPackages): use stringstream
16586 (getMacros): likewise
16587 (getTClassPreamble): likewise
16588 (getFloatDefinitions): new method
16590 * paragraph.C (writeFile): reindent
16593 * WorkArea.h: revert the xpos + etc changes.
16595 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16597 * lyxparagraph.[Ch]: add copy constructor, remove Clone
16599 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16600 (pasteSelection): likewise
16601 * text2.C (CreateUndo): likewise
16603 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16605 * minibuffer.C (peek_event): temporarily reduce the functionality
16606 of the minibuffer (to allow args on lfuns)
16608 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16609 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16611 * buffer.C (readInset): add compability reading of old float
16612 lists, add reading of new style float list.
16613 (readInset): avoid reevaluation of inscmd.getCmdName()
16614 (getLists): reindent
16616 * MenuBackend.C (MenuItem): implement parsing of
16617 md_floatlistinsert and md_floatinsert.
16618 (expand::LastFiles): move initalizaton of iterators out of loop,
16619 avoid reevaluation.
16620 (expand::Documents): introduce typdedef vector<string> Strings,
16622 (expand::ExportFormats): introduce typedef vector<Format const *>
16623 Formats, and use it.
16624 (expand): implement FloatListInsert and FloatInsert.
16626 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16627 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16628 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16630 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16632 (Dispatch::LFUN_FLOAT_LIST): implement
16634 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16636 * LaTeX.C (run): Fix problem with --export code.
16638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16640 * BufferView.[Ch] (workarea): removed.
16641 (getClipboard) new method; wrapper for workarea()->getClipboard()
16643 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16646 * WorkArea.h (width, height, xpos, ypos): These methods all
16647 returned the dimensions of the work_area sub-area of WorkArea,
16648 resulting in a position error if the WorkArea were resized. Now
16649 return the dimensions of the entire WorkArea.
16651 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16653 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16655 * LaTeX.C (deplog): correct the syntax of regex reg1
16657 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16659 * undo.C: remove !NEW_INSETS cruft
16661 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16663 * text2.C: remove !NEW_INSETS cruft
16665 * text.C: remove !NEW_INSETS cruft
16667 * tabular.C: remove !NEW_INSETS cruft
16669 * spellchecker.C: remove !NEW_INSETS cruft
16671 * lyxtext.h: remove !NEW_INSETS cruft
16673 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16675 * lyxfunc.C: remove !NEW_INSETS cruft
16677 * lyxfind.C: remove !NEW_INSETS cruft
16679 * lyx_cb.C: remove !NEW_INSETS cruft
16681 * figureForm.C: remove !NEW_INSETS cruft
16683 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16685 * buffer.[Ch]: remove !NEW_INSETS cruft
16687 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16689 * CutAndPaste.C: remove !NEW_INSETS cruft
16691 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16693 * BufferView2.C: remove !NEW_INSETS cruft
16695 * BufferView.h: remove !NEW_INSETS cruft
16697 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16699 * Lsstream.h: include LString.h before the sstream headers to
16700 fix problem with gcc 2.95.3 and lyxstring
16702 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16704 * lyx_main.C: add using directives when needed for C functions
16705 declared in std:: namespace.
16707 2001-04-27 Juergen Vigna <jug@sad.it>
16709 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16710 (SetHeightOfRow): comment out the update call should not be needed!
16712 2001-04-13 Juergen Vigna <jug@sad.it>
16714 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16715 (LyXTabular): tried to minimize operator= operations (and realized
16716 hopfully Lars wish).
16718 2001-04-27 Juergen Vigna <jug@sad.it>
16720 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16722 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16724 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16726 * buffer.C (readInset): hack to make listof algorithm work
16728 * BufferView_pimpl.C: hack to make listof algorithm work
16730 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16732 * LyXAction.C: removed all !NEW_INSETS cruft
16733 (init): moved lfun_item in method
16735 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16737 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16739 * BufferView2.C (theLockingInset): white space.
16741 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16743 * minibuffer.C: include <iostream>
16745 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16747 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16749 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16751 * text.[Ch] (TransposeChars): new method
16753 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16755 * call message directly through LyXView instead of through LyXFunc
16756 * BufferView2.C: adjust
16757 * BufferView_pimpl.C: adjust
16758 * FontLoader.C: adjust
16760 * bufferview_funcs.C: adjust
16761 * converter.C: adjust
16762 * figureForm.C: adjust
16763 * importer.C: adjust
16765 * lyx_gui_misc.C: adjust
16766 * lyxfunc.C: adjust
16769 + more files in subdirs
16771 * lyxparagraph.h (size): move up int file
16774 * adjust all uses of Assert to lyx::Assert.
16776 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16777 lyxfunctional in namespace lyx
16778 * layout.C (hasLayout): ditto
16781 (delete_layout): ditto
16782 (NumberOfClass): ditto
16783 * converter.C (GetFormat): ditto
16788 * bufferlist.C (getFileNames): ditto
16789 (emergencyWriteAll): ditto
16792 * MenuBackend.C (hasSubmenu): ditto
16795 * BufferView_pimpl.C (getInsetByCode): ditto
16797 2001-04-18 Juergen Vigna <jug@sad.it>
16799 * vspace.C (asLatexString): fixed the 100% problem.
16801 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16803 * lyxfunc.C (Dispatch):
16805 * minibuffer.h: add a few std:: qualifiers
16807 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16809 * minibuffer.[Ch]: reimplement so that commands is initiated and
16810 run from lyxfunc, simplified som handling, and made the completion
16811 and history code for complete. wip.
16813 * lyxfunc.C (processKeySym): call message
16814 (miniDispatch): new temporary method
16815 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16816 (LFUN_MESSAGE): implement
16817 (LFUN_MESSAGE_PUSH): implement
16818 (LFUN_MESSAGE_POP): implement
16819 (initMiniBuffer): the initial/defualt minibuffer message.
16821 * lyxfont.[Ch]: inline some more getters
16823 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16825 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16827 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16828 (AutoSave): use LFUN_MESSAGE
16829 (Reconfigure): ditto
16831 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16833 * figureForm.C: use LFUN_MESSAGE
16835 * converter.C (runLaTeX): use LFUN_MESSAGE
16837 * bufferview_funcs.C: use LFUN_MESSAGE
16839 (changeDepth): ditto
16841 * bufferparams.h: use boost::
16843 * bufferlist.h: inherit privately from noncopyable
16845 * bufferlist.C (loadLyXFile): remove some commented code.
16847 * buffer.C (runChktex): use LFUN_MESSAGE
16849 * ShareContainer.h: inherit privately from noncopyable
16851 * ParagraphParameters.[hC] (depth): inline it.
16853 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16855 (message): new method
16856 (messagePush): ditto
16857 (messagePop): ditto
16858 (show): init minibuffer
16859 (showState): direct call
16861 * LaTeX.[Ch]: inherit privately from noncopyable
16862 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16863 instead of WriteStatus.
16865 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16867 * BufferView_pimpl.C (buffer): don't init minibuffer
16868 (workAreaButtonPress): use LFUN_MESSAGE
16869 (workAreaButtonRelease): ditto
16870 (savePosition): ditto
16871 (restorePosition): ditto
16872 (MenuInsertLyXFile): ditto
16873 (workAreaExpose): don't init minibuffer
16874 (update): remove commented code, simplify
16876 * BufferView2.C (openStuff): use LFUN_MESSAGE
16877 (toggleFloat): ditto
16880 (copyEnvironment): ditto
16881 (pasteEnvironment): ditto
16886 (updateInset): remove some commented code
16888 * lastfiles.h: inherit privately from noncopyable
16891 * lyx_main.h: ditto
16893 * lyxlex_pimpl.h: ditto
16895 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16896 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16897 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16899 * LyXAction.h: inherit privately from noncopyable, add methods
16900 func_begin, func_end, returning iterators to the func map.
16902 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16903 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16904 (func_begin): new method
16905 (func_end): new method
16907 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16909 (copySelection): ditto
16910 (pasteSelection): ditto
16912 * BufferView.C: whitespace change
16913 * BufferView.h: inherit privately from noncopyable
16915 2001-04-16 Allan Rae <rae@lyx.org>
16917 * tabular-old.C (l_getline):
16918 * spellchecker.C (sc_check_word):
16919 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16920 an unrecognised preprocessor directive. So ensure they're wrapped.
16922 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16924 * src/exporter.C (Export): Give an error message when path to file
16927 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16929 * LaTeX.C (deplog): Always check that foundfile exists.
16931 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16934 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16936 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16938 * tabular.[Ch] (getLabelList): implement new method
16940 * minibuffer.h: comment ouf setTiimer
16942 * minibuffer.C (ExecutingCB): constify res
16943 (peek_event): constify s
16944 (Set): constify ntext
16945 (Init): constify nicename
16947 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16949 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16950 (savePosition): use two params to Minibuffer::Set
16951 (restorePosition): ditto
16953 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16955 * lyx_main.C: include language.h
16957 * Makefile.am (lyx_main.o): add language.h
16959 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16965 * CutAndPaste.C: include gettext.h
16967 * lyxfont.h: remove old hack with ON and OFF.
16970 * lyxfont.h: do not include language.h...
16975 * bufferview_funcs.C:
16981 * paragraph.C: ... but do it here instead
16983 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16985 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16987 * tabular.C: small reformat
16989 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16992 (BreakParagraph): ditto
16993 (SetOnlyLayout): ditto
16996 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16999 * lastfiles.C: removed most using decl, add std:: where needed
17001 * buffer.C: ws changes
17003 * MenuBackend.C (class compare_format): put into anon namespace
17004 (expand): constify label, names, action, action2
17007 * text.C (SingleWidth): constify font
17008 (IsBoundary): constify rtl2
17009 (GetVisibleRow): constify ww
17011 * LaTeX.C (deplog): constify logfile
17013 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17015 (workAreaExpose): constify widthChange, heightChange
17017 * lyxrow.C (par): moved
17020 * lyxrow.h: as inlines here
17022 * lyxfont.h (shape): moved from lyxfont.C
17023 (emph): moved from lyxfont.C
17025 * lyxfont.C (LyXFont): use initialization list for all
17027 (shape): move to lyxfont.h as inline
17028 (emph): move to lyxfont.h as inline
17031 2001-04-04 Juergen Vigna <jug@sad.it>
17033 * vspace.C: had to include stdio.h for use of sscanf
17035 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
17038 * BufferView_pimpl.h: remove xforms cruft. Both classes are
17039 independent of xforms.
17041 2001-04-02 Juergen Vigna <jug@sad.it>
17043 * spellchecker.C: fixed namespace placing!
17045 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
17047 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17048 the LyXParagraph * is 0.
17050 2001-03-29 Juergen Vigna <jug@sad.it>
17052 * vspace.C: added support for %, c%, p%, l%.
17053 (stringFromUnit): added helper function.
17054 (asLatexString): changed to give right results for the %-values.
17056 * buffer.C: convert the widthp in a width%.
17058 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
17060 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17063 * figureForm.[Ch]: stripped the FD_from_figure manipulation
17064 code out of lux_cb.[Ch], ready for its (imminent?) removal.
17066 * lyx_cb.[Ch]: see above.
17068 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17072 * lyx.[Ch]: replaced by figure_form.[Ch].
17076 * lyxfunc.C: changed headers associated with above changes.
17078 2001-03-27 Juergen Vigna <jug@sad.it>
17080 * BufferView_pimpl.C: set the temporary cursor right!
17082 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
17084 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17086 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
17088 * LString.h: removed "using std::getline"!
17090 * BufferView_pimpl.C (Dispatch): changes due to changes in
17091 InsetInclude::Params.
17093 * buffer.C (tag_name): removed redundant break statements as they were
17094 producing lots of warnings with my compiler.
17096 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17098 * LString.h: add "using std::getline" when using the real <string>.
17100 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
17102 * buffer.C: removed bitset usage.
17103 PAR_TAG moved to an anonymous name space.
17104 (tag_name): new funtion, also in the anonymous namespace.
17105 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17106 (makeDocBookFile): clean code. Completed transition from string arrays
17108 (SimpleDocBookOnePar): code clean.
17110 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17112 * tabular.C: add some comments.
17114 2001-03-22 Juergen Vigna <jug@sad.it>
17116 * buffer.C (parseSingleLyXformat2Token): redone the minipage
17117 compatibility read a bit and fixed bug with minipage in different
17120 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
17122 * buffer.C (pop_tag): removed.
17123 (push_tag): removed.
17124 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17125 array replaced with vector. Added support for CDATA sections.
17126 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17128 (makeDocBookFile): XML conformant declaration of CDATA section,
17129 fixed bug related to <emphasis> in the first paragraph char.
17130 (sgmlOpenTag): exclude empty tags.
17131 (sgmlCloseTag): ditto.
17133 * buffer.h (pop_tag): removed.
17134 (push_tag): removed.
17136 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
17138 * language.h (Languages): added size_type and size().
17140 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17142 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17143 response on compability reading of minipages. One probliem is that
17144 the old usage of minipages was «flertydig»
17146 * several files here and in subdirs: don't use static at file
17147 scope use anon namespaces instead.
17149 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
17151 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17152 LaTeX output. This is necessary for Literate document
17155 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17157 * buffer.C: insert hfill when needed.
17159 * tabular.C (l_getline): use string::erase, small whitespace change.
17161 * BufferView_pimpl.C: try the anon namespace.
17162 * WorkArea.C: ditto
17164 2001-03-16 Juergen Vigna <jug@sad.it>
17166 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17167 otherwise it won't open options-dialogs.
17169 * buffer.C: honor pextraWidth(p) on converting minipages.
17171 * tabular.C (l_getline): changed the functions to strip trailing \r.
17173 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
17175 * BufferView_pimpl.C:
17176 * minibuffer..C: added "using SigC::slot" declaration.
17178 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17180 * lyxlex_pimpl.h: noncopyable is in namespace boost.
17186 * paragraph.C: ditto
17188 * lyxtext.h: NO_PEXTRA
17190 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17192 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17193 * ParameterStruct.h: ditto
17194 * ParagraphParameters.h: ditto
17195 * lyxparagraph.h: ditto
17197 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17199 * buffer.C: add compability for minipage alignment.
17200 (latexParagraphs): remove unwanted pextra check.
17202 * several files: remove CXX_WORKING_NAMESPACES
17204 * buffer.C (pop_tag): tie is in namespace boost
17206 * BufferView.h: noncopyable is in namespace boost
17208 * lyx_main.h: ditto
17211 * lastfiles.h: ditto
17212 * bufferlist.h: ditto
17213 * ShareContainer.h: ditto
17215 * LyXAction.h: ditto
17218 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17220 * Merging changes from BRANCH_MVC back into HEAD.
17222 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17224 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
17226 * BufferView_pimpl.C: change from intl.C
17230 * Makefile.am: move combox.*
17236 * intl.C: remove dialog (covered by prefs)
17238 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
17240 * lyxfunc.C (Dispatch): removed redundant break statement.
17242 2001-03-14 Juergen Vigna <jug@sad.it>
17244 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17246 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17248 * buffer.C: add hack to fix compability reading of minipages.
17250 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
17252 * buffer.C (getLists): Cleanup.
17254 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17256 * lyxfont.C (update): don't honor toggleall on font size.
17258 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
17262 * Makefile.am: moved to frontends/xforms/
17266 * BufferView_pimpl.C: changes for moved mathpanel
17268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17270 * gettext.h: fix gettext_init() in --disable-nls
17272 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17274 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17276 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
17279 * lyx.h: strip external form
17281 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17283 * BufferView_pimpl.C: add comment, destroySplash()
17285 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
17287 * BufferView_pimpl.C:
17291 * lyxfunc.C: use re-worked insetinclude
17293 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17295 * buffer.C: add using std::stringstream.
17297 * lyx_cb.C: readd using std::ios.
17299 * buffer.C: add using std::map.
17301 * BufferView_pimpl.C: add using std::vector.
17303 * ShareContainer.h: add std:: to swap.
17305 * buffer.h: add some typedefs
17306 * buffer.C (getLists): use them
17307 (getLists): renamed from getTocList.
17308 add a counter for the different float types and use it in the
17310 (getLists): use the same counter for the NEW_INSETS and the "non"
17313 * lyx_cb.h: remove unused items, includes, using etc.
17315 * ShareContainer.h: remove some commented code, add more comments
17316 and "documentation".
17318 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17320 * buffer.C (getTocList): make the list also when NEW_INSETS is
17323 * buffer.h: remove TocType
17325 * buffer.C (getTocList): change to return a map<string,
17326 vector<TocItem> >, implement for dynamic number of list.
17328 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17329 * text2.C (PasteSelection): adjust
17330 * CutAndPaste.C (pasteSelection): adjust
17332 * FloatList.C (FloatList): update from the new_insets branch.
17333 * Floating.[Ch]: ditto
17334 * LaTeXFeatures.C: ditto
17336 * lyxlex_pimpl.C: ditto
17338 * paragraph.C (Last): remove when NEW_INSETS is defined.
17340 * other file: changes because of the above.
17342 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17344 * lyxparagraph.h: rename next to next_, previous to previous_,
17345 make them private for NEW_INSETS. Rename Next() to next(),
17346 Previous() to previous().
17348 * other files: changes because of the above.
17350 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
17353 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17356 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17358 * main.C (main): pass lyx_localedir to gettext_init().
17360 * gettext.h: remove locale_init and gettext_init macros
17362 * gettext.C (locale_init): new function
17363 (gettext_init): new function
17365 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17368 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
17370 * Moved credits to frontends:
17371 * credits.[Ch]: removed
17372 * credits_form.[Ch]: removed
17373 * lyx_gui_misc.C: remove credits stuff
17376 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17378 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17380 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17381 unneeded destructor.
17383 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17384 a standalone pointer again.
17386 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17388 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
17394 * ToolbarDefaults.C:
17403 * BufferView_pimpl.C: use new file dialog in GUII
17406 * lyx_cb.C: remove LayoutsCB to Toolbar
17408 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17410 * ShareContainer.h (get): add std:: qualifier
17412 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17414 * ShareContainer.h: define a proper ShareContainer::value_type
17415 type (and use typename to please compaq cxx)
17417 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17419 * lyxparagraph.h: move serveral local vars to
17420 ParameterStruct/ParagraphParameters., use ShareContainer in
17421 FontTable., make vars in FontTable private and add getter and
17424 * paragraph.C: changes because of the above.
17426 * lyxfont.h: remove copy constructor and copy assignment. (the
17427 default ones is ok), move number inside FontBits. move inlines to
17430 * lyxfont.C: add number to initializaton of statics, move several
17431 inlines here. constify several local vars. some whitespace
17432 cleanup. Dont hide outerscope variables.
17434 * Spacing.h: add two new constructors to match the set methods.
17436 * ShareContainer.h: new file, will perhaps be moved to support
17438 * ParameterStruct.h: new file
17440 * ParagraphParameters.h: new file
17442 * ParagraphParameters.C: new file
17444 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17445 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17447 * BufferView_pimpl.C: ParagraphParameter changes.
17448 * buffer.C: Likewise.
17449 * bufferview_funcs.C: Likewise.
17450 * text.C: Likewise.
17451 * text2.C: Likewise.
17453 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17455 * lyxfind.C (LyXReplace): do not redefine default argument in
17457 (IsStringInText): ditto
17458 (SearchForward): ditto
17459 (SearchBackward): ditto
17461 2001-03-06 Juergen Vigna <jug@sad.it>
17463 * lyxfind.C (IsStringInText): put parentes around expressions.
17465 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
17467 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17469 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
17471 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17473 * stl_string_fwd.h: add comment
17475 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17478 * tabular.C: remove unused DocBook methods
17484 killed DO_USE_DEFAULT_LANGUAGE
17486 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17488 * lyx_gui.C: do not include language.h.
17490 * bufferview_funcs.C (ToggleAndShow): do not provide optional
17491 arguments in function implementation.
17493 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17495 * BufferView_pimpl.C: add <ctime>
17497 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17499 * BufferView_pimpl.C: add using std::find_if
17501 2001-02-27 José Matos <jamatos@fep.up.pt>
17503 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17506 2001-02-11 José Matos <jamatos@fep.up.pt>
17508 * buffer.C (makeDocBookFile): command styles now have a parameter as
17509 "title" by default.
17511 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
17513 * layout_forms.[Ch]: removed
17514 * lyx_cb.[Ch]: out character
17515 * lyx_gui.C: out character
17516 * lyx_gui_misc.C: out character
17517 * bufferview_funcs.C: : out character,
17518 added toggleall as parameter in ToggleAndShow
17520 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
17522 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17524 * text2.C (SetCurrentFont): Disable number property at boundary.
17526 2001-02-26 Juergen Vigna <jug@sad.it>
17528 * lyxfunc.C (getStatus): added a string argument override function so
17529 that this is correctly called from LyXFunc::Dispatch if it contains a
17530 do_not_use_argument which is used!
17531 (Dispatch): added check for "custom" export and call appropriate func.
17533 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
17535 * lyxrc.C: Add language_command_local, language_use_babel and
17536 language_global_options.
17538 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17540 * buffer.C (makeLaTeXFile): Use language_use_babel and
17541 language_global_options.
17543 2001-02-23 Juergen Vigna <jug@sad.it>
17545 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17546 which works with LyXText and putted it inside BufferView. Here now we
17547 only call for that part the BufferView::Dispatch() function.
17549 * BufferView.C (Dispatch): added.
17551 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17552 functions which needs to use a LyXText over from LyXFunc.
17553 (MenuInsertLyXFile): added
17554 (getInsetByCode): added
17555 (moveCursorUpdate): added
17556 (static TEXT): added
17558 2001-02-22 Juergen Vigna <jug@sad.it>
17560 * BufferView_pimpl.C (update): call a status update to see if LyXText
17563 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
17565 * vc-backend.C (revert): implement for CVS
17566 (getLog): implement for CVS
17568 2001-02-20 Juergen Vigna <jug@sad.it>
17570 * text2.C (ClearSelection): added BufferView param for inset_owner call
17572 * lyxfunc.C (TEXT): added this function and use it instead of
17573 directly owner->view()-text of getLyXText().
17575 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
17577 * src/layout_forms.C: out preamble
17578 * src/layout_forms.h: out preamble
17579 * src/lyx_cb.C: out preamble
17580 * src/lyx_cb.h: out preamble
17581 * src/lyx_gui.C: out preamble
17582 * src/lyx_gui_misc.C: out preamble
17583 * src/lyxfunc.C: connect with guii preamble
17585 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
17587 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17589 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
17591 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17592 whether to run bibtex.
17594 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
17596 * Makefile.am (lyx_SOURCES): Remove BackStack.h
17598 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
17600 * Makefile.am (lyx_SOURCES): removed bibforms.h
17602 * vspace.h: doxygen
17604 * text.C (GetVisibleRow): make several local vars const
17606 * tabular.C: small cleanup.
17608 * lyxserver.C (callback): use compare instead of strncmp
17610 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17611 inlines to after class or to paragraph.C
17613 * lyxfont.h: remove friend operator!=
17615 * converter.h: move friend bool operator< to non friend and after
17618 * combox.h: small cleanup
17620 * buffer.h: doxygen, remove unused constructor, move inclas inlies
17621 to inlines after class def.
17623 * buffer.C (pop_tag): use string operations instead of strcmp
17625 * bmtable.c: doxygen, small cleanup
17627 * LaTeX.h: remove friend operator==
17629 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17641 * BufferView_pimpl.C:
17642 * BufferView.[Ch]: remove cruft
17644 2001-02-14 Juergen Vigna <jug@sad.it>
17646 * lyxfunc.C: removed #if 0 unused code
17648 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17650 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17652 * text2.C (SetSelection): added a BufferView * parameter
17654 2001-02-13 Juergen Vigna <jug@sad.it>
17656 * lyxfunc.C (Dispatch): fixed protected blank problem.
17657 * BufferView2.C (protectedBlank): added LyxText * parameter.
17659 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17660 (AppendColumn): same as above for column_info.
17662 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17663 (moveCursorUpdate): use a LyXText param for support of InsetText.
17665 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17666 (tripleClick): ditto
17668 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17670 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17672 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17674 * text2.C (SetSelection): set correct update status if inset_owner
17675 (ToggleFree): ditto
17677 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17679 * tabular.C: remove some commented code.
17681 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17683 * BufferView_pimpl.C: call hideSplash()
17685 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17688 * bibforms.h: remove
17691 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17692 add LFUN_CHILD_CREATE
17694 * counters.h: fix tiny typo
17699 * lyx.C: move splash to frontends/xforms/
17701 * lyx_gui_misc.C: move Include and Bibform to frontends
17703 * lyxvc.h: clarify comment
17705 * vspace.C: tiny housekeeping
17707 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17709 * text.C (PrepareToPrint): RTL Fix.
17711 * paragraph.C (GetUChar): New method.
17712 (String): Use GetUChar.
17714 * buffer.C (asciiParagraph): Use GetUChar.
17716 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17718 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17720 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17723 * buffer.C: rename to getLogName(), handle
17724 build log / latex log nicely
17726 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17729 * MenuBackend.h: remove support for reference menuitem type.
17731 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17733 * BufferView_pimpl.C: housekeeping
17734 * BufferView_pimpl.h:
17739 * minibuffer.h: move Timeout GUI-I
17741 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17743 * lyxrc.C (read): Update converters data-structures.
17745 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17747 * LaTeX.h (operator!=): add operator != for Aux_Info
17749 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17751 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17753 * LaTeXLog.C: deleted, useful code moved to Buffer
17756 * buffer.C: new function getLatexLogName()
17762 * lyxfunc.C: use frontends for LaTeX and VC logs
17764 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17766 * LaTeX.h: yet another std:: that Allan forgot.
17768 * Variables.C (set): renamed from isset(), because this clashes
17769 with some HP-UX macros (grr).
17771 2001-02-06 Allan Rae <rae@lyx.org>
17773 * LaTeX.h: Another bug fix. Missing std:: this time.
17775 2001-02-04 Allan Rae <rae@lyx.org>
17777 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17778 floats problem. I've left it commented out because it's not quite
17779 correct. It should also test that the current object is a table or
17780 figure inset. But I haven't gotten around to figuring out how to do
17781 that. I *think* it'll be something like: "table" == inset.type()
17783 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17786 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17788 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17789 all the citation/databases/styles in the auxilary file.
17790 (run): Rerun latex if there was a babel language error.
17792 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17794 * text.C (Backspace): Preserve the font when changing newline char
17796 (BreakParagraph): If the cursor is before a space, delete the space.
17798 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17800 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17802 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17803 new argument (code).
17804 (ChangeCitationsIfUnique): New method.
17806 * paragraph.C (GetPositionOfInset): Handle bibkey.
17808 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17810 * BufferView_pimpl.h: change type of Position::par_pos to
17811 LyXParagraph::size_type.
17813 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17815 * BufferView_pimpl.C (savePosition, restorePosition): Write
17816 messages to minibuffer.
17818 2001-01-28 José Matos <jamatos@fep.up.pt>
17820 * buffer.C (makeDocBookFile): adds support for document language.
17821 A silly restriction on the name of LatexCommand types where removed.
17822 Added support for CDATA sections, allows to chars unescaped, used
17823 among others in code, to avoid escape < and >.
17825 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17827 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17828 saved positions instrad of a stack. Furthermore, a position is
17829 stored using paragraph id/paragraph position.
17831 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17832 Remove LFUN_REF_BACK.
17834 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17836 * converter.C (dvipdfm_options): New method.
17838 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17840 * vspace.C (isValidLength): Fix for empty input string.
17842 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17844 * LyXAction.C (init): change description of LFUN_FIGURE to
17847 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17849 * LaTeX.C: add using directive
17851 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17853 * MenuBackend.C (expand): Fix the sorting of the formats.
17855 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17857 * lyx_main.C: tiny error message fix
17859 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17861 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17862 calling fl_initialize(). This fixes the problem with ',' as
17863 decimal separator in text files.
17865 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17867 * trans.C (process): Fix the keymap bug.
17869 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17871 * LaTeX.C (scanAuxFiles): New method. Provides support for
17872 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17873 (scanLogFile) Scan for "run BibTeX" messages.
17875 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17876 OT1 font encoding. Also, load the aecompl package if the ae
17879 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17881 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17883 * texrow.C (increasePos): turn two error messages into debug
17886 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17888 * LaTeX.C (scanAux): Handle the \@input macro.
17889 (runBibTeX): Use scanAux().
17891 * language.C (latex_options_): New field.
17893 * LaTeXFeatures.C (getMacros): Add language macros.
17895 * buffer.C (makeLaTeXFile): Small fix.
17897 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17899 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17901 * text2.C: add a using directive.
17903 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17908 * lyxfunc.C: kill LyXBell.
17910 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17912 * text.C (IsBoundary): Remove the error message
17914 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17916 * lyxrc.C (setDefaults): Correct initialization value for
17919 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17921 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17924 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17925 and GotoNextNote().
17927 * src/LyXAction.C: Added reference-next.
17929 * text.C (InsertChar): Use contains instead of strchr.
17931 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17933 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17935 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17936 alignment commands (when needed).
17938 * text.C (InsertChar): Add ':' to number separator chars.