1 2005-01-20 Angus Leeming <leeming@lyx.org>
3 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
4 (setLyXMisc): (char string literal) != (char string literal) is
5 performing a comparison on the addresses. Convert one operand
6 explicitly to string to guarantee expected behaviour.
9 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
12 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
14 * output_plaintext.C: remove unneeded #include gzstream.h.
16 2005-01-20 Angus Leeming <leeming@lyx.org>
18 * SpellBase.h: rename some of the elements of the Result enum.
25 * pspell.C (check): ditto
27 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
29 * buffer.C: add #include <fstream>.
31 * lyx_main.C (init): Compile fix.
33 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
35 2005-01-20 Angus Leeming <leeming@lyx.org>
37 * mover.h: change commentary to reflect the changed meaning of
40 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * output_linuxdoc.C (linuxdocParagraphs): silence warning
44 * lyxfind.C (MatchString::operator()): remove bogus semicolon
46 2005-01-20 Angus Leeming <leeming@lyx.org>
48 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
49 printing diagnostic data by not dereferecing an iterator past the
52 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
54 * buffer.C (readHeader): use "&&" rather than "and".
56 * lyxserver.h (inPipeName, outPipeName): make these const.
58 2005-01-19 Angus Leeming <leeming@lyx.org>
60 * lyx_main.C (error_handler, init): protect SIGHUP with
63 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
67 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * text.C (setHeightOfRow): add a margin at the top and bottom of
70 the document (bug 1761)
72 2005-01-17 Angus Leeming <leeming@lyx.org>
74 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
75 with "python ". Workaround for a brain-dead Windows.
77 2005-01-16 Angus Leeming <leeming@lyx.org>
79 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
80 for MacOSX and Windows to use prependEnvPath.
81 Strip out the hard-coded block to add elements to the PATH for
82 MacOSX and replace it with a call to prependEnvPath using the
83 contents of LyXRC::path_prefix.
84 (queryUserLyXDir): strip out the code to run reconfigure, instead
85 returning a boolean indicating the necessity to do so.
86 (reconfigureUserLyXDir): contains the code to reconfigure the
87 user support directory. Is now called after the various LyXRC data
90 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
92 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * converter.[Ch] (convert): take a new parameter try_default. Use
95 a default converter (imagemagick) if try_default is true.
97 2005-01-13 Angus Leeming <leeming@lyx.org>
99 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
101 (write): output LyXRC::cygwin_path_fix as necessary.
103 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
106 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
108 2005-01-12 Angus Leeming <leeming@lyx.org>
110 * lyx_main.C (init): set the PATH variable to include the
111 directory containing the LyX binary when running on Mac or Windows.
113 2005-01-12 Angus Leeming <leeming@lyx.org>
115 * lyx_main.C (init): remove cruft that purports to set the locale
116 dir. It doesn't and is not needed anyway.
118 2005-01-10 Angus Leeming <leeming@lyx.org>
120 * Makefile.am: remove the lyx_main.C special casing.
122 * BufferView_pimpl.C:
128 * messages.C: use support/package.h to provide the paths to the
129 various directories used by LyX.
131 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
134 layout if pasting into an empty paragraph)
136 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
138 * tex-accent.C: add <string>
140 2005-01-06 José Matos <jamatos@lyx.org>
142 * ParagraphParameters.C (write): put every parameter in its own line.
143 * paragraph.C (write): reduce number of consecutive empty lines exported.
144 * buffer.C (LYX_FORMAT): increase file format to 239.
146 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
148 * everywhere: change support/tostr.h -> support/convert.h
150 * tabular.C: make all write_attributes templates, tostr -> convert
152 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
153 (emptyTag): and -> &&, and fix type for ret from getChar
154 (getFirstWord): fix type for ret from getChar
155 (onlyText): and -> &&
156 (simpleDocBookOnePar): and not -> && !, fix type for ret from
159 * toc.C (goTo, action):
160 * text3.C (dispatch):
161 * text.C (currentState):
162 * tex-accent.C (DoAccent):
165 * lyxfunc.C (menuNew):
166 * lyxfinc.C (replace):
167 * counters.C (laberItem):
168 * bufferview_funcs.C (font2string):
169 * bufferparams.C (writeFile):
170 * buffer.C (readFile):
172 * MenuBackend.C: tostr -> convert
174 * LaTeX.C (runMessage): fix format
175 (scanAuxFiles): tostr -> convert
177 * BufferView_pimpl.C (savePosition): fix format
178 (restorePosition): ditto
181 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
183 * Spacing.[Ch]: New method getValueAsString().
187 * ParagraphParameters.C:
190 * text3.C: store/read spacing value as string.
192 * rowpainter.C: change float value (spacing_val) to double.
194 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
195 broken custom document spacing).
197 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
199 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
200 namespace, also more use of temp references and const
202 * cursor.[Ch] (getStatus): move to lyxfunc.C
204 * bufferparams.C: reformat slightly
206 * bufferview_funcs.C (font2string): constify arg
212 * buffer_funcs.C: (many funcs): constify arg on function
213 definitions, also make more local vars const, also add ASSERTS on
216 * buffer.C (LYX_FORMAT): put const in correct place
217 (many funcs): constify arg on function definitions, also make
218 more local vars const
220 * aspell_local.h: remove "struct" from typdef setup
222 * aspell.C (check): make word_ok const
223 (nextMiss): simplify slightly
226 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
228 * lyxrc.[Ch]: store all float values as strings.
229 use int (not float) for lyxrc.dpi.
231 2005-01-04 Angus Leeming <leeming@lyx.org>
233 * lyx_cb.C (Reconfigure):
234 * lyx_main.C (queryUserLyXDir):
235 to run the <system_lyxdir>/configure correctly on Windows, prefix
236 the path to the script with "sh " when generating the string that
237 is passed to system().
239 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
241 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
243 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
245 * lyxlength.C (asLatexString): get rid of setprecision
247 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
249 * text2.C (setLayout): remove unused variable endpit.
250 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
252 * paragraph.C (onlyText): remove unused variable style.
254 * cursor.C (bruteFind): remove unused variables beg and end.
256 * Makefile.am (dist_noinset_DATA): not needed anymore
258 * cheaders/*: remove.
260 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
262 * text3.C: fix LFUN_MATH_MODE.
264 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
266 * buffer_funcs.C (countWords): new function. Counts words between
269 * BufferView_pimpl.C (getStatus, dispatch): handle
272 * LyXAction.C (init):
273 * lfuns.h: add LFUN_WORDS_COUNT.
275 2004-12-19 Angus Leeming <leeming@lyx.org>
277 * buffer.C (save): s/slashify_path/internal_path/.
279 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
281 * lyxfind.C (findChange): do not search for end of pars, because
282 the change tracker cannot handle this (fixes bug 1719).
284 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
286 * paragraph.[Ch] (autoBreakRows): remove
288 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
290 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
291 avoid using the paragraph one
293 * text2.C (LyXText, insertStringAsLines): adjust
295 2004-12-16 Angus Leeming <leeming@lyx.org>
299 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
301 2004-12-14 Angus Leeming <leeming@lyx.org>
303 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
305 * bufferlist.C (emergencyWrite):
306 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
309 2004-12-14 Angus Leeming <leeming@lyx.org>
311 * main.C: (main): no longer pass pointers to os::init.
313 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
315 * undo.C (textUndoOrRedo): simplify logic, fix a crash
316 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
318 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
321 * text3.C: remove selection_possible global flag
323 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
325 * text2.C (getSelectionSpan): remove
326 (changeDepth, changeDepthAllowed): adjust
328 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
330 * Makefile.am (BOOST_LIBS): use boost variables
332 2004-12-03 José Matos <jamatos@lyx.org>
334 * buffer.C: format up to 238.
336 2004-12-03 José Matos <jamatos@lyx.org>
338 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
340 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
342 * cursor.C (goUpDown): remove call to idxUpDown2
344 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
346 * tabular.[Ch]: use size_t-like types for cell, row and column
349 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * lyxfunc.C (getStatus): do not lose previous information when
352 calling BufferView::getStatus; do not set a default "Command
353 disabled" message at the beginning, but just before returning.
355 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
357 * cursor.h (getStatus): add better comment from src/cursor.C
359 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * text3.C (getStatus): return false when the lfun is not handled
363 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * broken_headers.h: remove
367 * Makefile.am (lyx_SOURCES): remove broken_headers.h
369 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
371 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
374 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
375 top_y_, merge fitcursor with update
376 (updateScrollbar, scrollDocView, fitCursor, center, update): new
379 (workAreaDispatch): adapt to new coord scheme
380 (redoCurrentBuffer): remove
382 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
384 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
387 * coordcache.[Ch]: add paragraph cache and helpers
389 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
392 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
393 (targetX, setTargetX): introduce
395 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
396 baseline -> ascent, as the rest of lyx
398 * lyxtext.h: remove redoParagraphs, updateParPositions,
399 fullRebreak, redoParagraphInternal. move dist to anon namespace in
400 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
401 have ascent/descent (ascent is ascent of first par)
403 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
406 * paragraph.[Ch]: unify dimension handling with the rest of lyx
408 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
410 * pariterator.C: fix infinite loop introduced in par->pit renaming
412 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
413 in insets and LyXText, draw two off-screen paragraphs using
414 NullPainter, and adapt to new coord scheme
418 * text3.C: adapt lfun handlers to the new coord scheme, which
419 means: there's only guaranteed coord information for onscreen pars
420 plus one above and one below. This implies that one can do search
421 from y coordinates in the range [-1,workHeight]
423 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
425 * rename a lot of InsetOld to InsetBase
427 2004-11-25 Angus Leeming <leeming@lyx.org>
429 * BufferView_pimpl.C:
431 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
433 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
436 call BufferView::getStatus if LCursor::getStatus did nothing
437 (setStatusMessage, getStatusMessage): removed.
439 * FuncStatus.C (message): new methods. Used to provide an error
440 message indicating why a command is disabled.
441 (clear, |=, FuncStatus): update for message.
443 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * lyxfunc.C (dispatch): always call sendDispatchMessage
447 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
450 * BufferView_pimpl.C:
464 * undo.C: par->pit renaming
466 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
468 * tabular.C (cellstruct): use initialization, store a shared_ptr
469 to insettext instead of the insettext directly, adjust to fit.
470 (operator=): new function
472 (rowstruct): use initialization
473 (columnstruct): use initialization
474 (ltType): use initialization
477 * lyxlength.h (swap): new function
479 * LColor.[Ch] (operator=): use the common semantics
481 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * lyxfind.C (findNextChange): update the bufferview after setting
486 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
489 number of InsetOptArgs has already been inserted.
491 * output_latex.C (latexOptArgInsets): new method. This outputs all
492 the optarg insets, up to the limit defined in the layout file.
493 (optArgInset): removed
494 (TeXOnePar): call latexOptArgInsets; correctly update texrow
496 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * paragraph.C (isLetter): remove special spellchecker-related
499 code; return true also for digits
500 (isWord, isKomma): remove
502 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
503 * lyxfind.C (MatchString()): use isLetter instead of isWord
505 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * pariterator.h (operatir=): comment out un-implemented member
510 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
513 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
515 * lyxfont.h: include LColor.h to satisfy concept checks.
517 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
519 * pariterator.h: add typdefs for value_type, difference_type,
520 pointer and reference to satisfy concept checks. Also add default
521 constructor for same reason.
523 * pariterator.C (operator++): add post-increment operator to
524 satisfy concept checks.
526 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
529 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
531 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
532 checks. Also rename base_type to BaseType to follow naming
535 * FloatList.h: include Floating.h to satisfy concept checks.
537 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * lyxfunc.C (getStatus): when the origin of the request is menu or
540 toolbar, and the LyXView does not have focus, do as if there was
543 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
544 FuncRequest to individual entries of LFUN_SEQUENCE
546 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
548 * output_latex.C (TeXOnePar): override runparams.moving_arg
549 according to the needprotect value of the current paragraph (bug
552 * paragraph.C (simpleTeXOnePar): no need to override
553 runparams.moving_args here
555 2004-11-14 John Spray <spray_john@users.sourceforge.net>
557 * vspace.C: fix off-by-one-error, related to fix #1682
559 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
561 * lengthcommon.C: a more general fix for bug 1682
563 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
565 * text.C (backspace): fix crash
567 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
569 * format.[Ch] (getFormatFromFile): new method
570 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
572 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
576 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * lyxfunc.C (dispatch): remove the verbose argument
579 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
582 * kbmap.C (defkey): set the origin of func to KEYBOARD
584 * MenuBackend.C (MenuItem):
585 * ToolbarBackend.C (add): set the origin of func to UI
587 * funcrequest.[Ch]: add origin member, which indicates which part
588 of LyX requests an action
590 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
592 * converter.C (move): don't lie in the error message
593 * converter.h (isReachable, move): document
595 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
597 * buffer.C: remove unused using lyx::support::atoi
598 * paragraph_funcs.C: ditto
600 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
602 * bufferlist.C (exists): use bind and equal_to instead of
605 * lyxtextclasslist.C (NumberOfClass): ditto
607 * cursor.C (insert): use for_each instead of explicit for loop
609 * bufferlist.C (getFileNames): use std::transform and
610 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
612 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
615 * buffer.C (changeLanguage): use for_each instead of explicit for
617 (hasParWithID): implement using getParFromID
619 * LaTeXFeatures.C: ws change only
621 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
624 * BufferView_pimpl.C (trackChanges): use for_each instead of
627 2004-11-04 André Pönitz <poenitz@gmx.net>
630 * undo.C (textUndoOrRedo): fix crash when creating undo information.
632 * dociterator.C (asDocIterator): use hard assert again.
634 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
636 * lyxlength.C (asLatexString): rewrite so that it does not use
639 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * text3.C (specialChar, dispatch): make sure cursor moves to the
642 right after inserting an inset
644 2004-11-02 José Matos <jamatos@lyx.org>
646 * output_docbook.C (docbook):
647 * paragraph.C (getID):
648 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
649 garantee that the output is always legal.
651 * tabular.C (docbook):
652 * outputprams.[Ch]: remove mixed contents.
654 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
656 * text2.C (setCounter): prevent endless loop
658 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
660 * exporter.C (copyFile): use the mover instead of support::copy()
661 * exporter.C (Export): pass format and latex name to copyFile()
662 * exporter.h (addExternalFile): document
663 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
665 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
667 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
669 2004-10-30 José Matos <jamatos@lyx.org>
671 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
672 text and no inset or font change. This allows to use CDATA
673 sections just for the whole paragraph.
675 2004-10-30 José Matos <jamatos@lyx.org>
677 * paragraph.C (getFirstWord): remove unused variable.
679 2004-10-30 José Matos <jamatos@lyx.org>
681 * paragraph.C (getFirstWord): the content should always be escaped
683 (simpleDocBookOnePar):
684 * output_docbook.C (makeEnvironment): replace reference to CDATA
687 2004-10-30 José Matos <jamatos@lyx.org>
689 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
691 2004-10-30 José Matos <jamatos@lyx.org>
693 * output_docbook.C (makeParagraphs):
694 * paragraph.[Ch] (emptyTag): for docbook and company, if the
695 standard paragraph has only a given type of content drop the wrapper.
697 2004-10-29 José Matos <jamatos@lyx.org>
699 * output_docbook.C (makeEnvironment):
701 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
703 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
705 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
706 (cleanID): sanitize any id.
708 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * buffer.C, lyxlex_pimpl.C:
711 * lyxlex_pimpl.C (setFile):
712 s/getExtFromContents/getFormatFromContents/
714 2004-10-28 José Matos <jamatos@lyx.org>
716 * output_docbook.C (makeEnvironment): move id to broadest possible
719 * sgml.C (openTag): apply substitution of <> for all attributes.
721 2004-10-28 José Matos <jamatos@lyx.org>
723 * buffer.C (makeLinuxDocFile, makeDocBookFile):
724 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
725 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
727 * sgml.[Ch]: new version for open and closeTag for paragraph and
728 for strings. Now they handle the ids of paragraphs.
730 2004-10-26 Angus Leeming <leeming@lyx.org>
732 * Makefile.am: add mover.[Ch].
734 * converter.C (convert, move): use the new Movers to move external
735 files to the temp directory.
737 * lyx_main.C (init): ensure that the global system_movers data
740 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
743 * mover.[Ch]: new files, defining a Mover as a utility to move an
744 external file between directories and, if necessary, manipulate this
745 file using a helper script.
747 2004-10-25 José Matos <jamatos@lyx.org>
749 * output_docbook.C (makeCommand): merge two if's that tested the
752 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
754 * sgml.C (escapeString): fix warning in a better way
756 2004-10-25 José Matos <jamatos@lyx.org>
758 * sgml.C (escapeString): import the require boosts header file for
759 tie, and avoid a signed unsigned comparison.
761 2004-10-25 José Matos <jamatos@lyx.org>
763 * sgml.h: add #include <string>
765 2004-10-25 José Matos <jamatos@lyx.org>
767 * sgml.[Ch] (escapeString): new function to escape all the string.
769 2004-10-24 José Matos <jamatos@lyx.org>
771 * paragraph.[Ch] (getFirstWord): new function to get the first
772 word. Useful for description.
773 (simpleDocBookOnePar): remove depth argument, add another that
774 says where to start the paragraph.
776 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
777 use the new functions to fix cleanly the support for descriptions.
779 2004-10-24 José Matos <jamatos@lyx.org>
781 * buffer.C (makeLinuxDocFile, makeDocBookFile):
782 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
783 * output_linuxdoc.C (linuxdocParagraphs):
784 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
785 add buffer as argument.
787 2004-10-24 José Matos <jamatos@lyx.org>
789 * output_docbook.C (makeEnvironment, searchEnvironment): place
790 CDATA inside paragraphs and fix scope for listitems.
792 2004-10-24 José Matos <jamatos@lyx.org>
794 * output_docbook.C: remove using statement for stack.
796 2004-10-23 José Matos <jamatos@lyx.org>
798 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
799 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
800 docbook. The new scheme is recursive and makes use of iterators, the
801 same as latex export works.
802 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
803 directly with the paragraph contents. This code was moved up to
804 output_docbook.C (docbookParagraphs).
805 * sgml.C (openTag, closeTag): removed unneeded newlines.
806 (closeEnvTags) removed.
808 2004-10-23 André Pönitz <poenitz@gmx.net>
810 * undo.C (textUndoOrRedo):
811 * dociterator.C (asDocIterator): work around crash
813 * cursor.C (getStatus): replace ASSERT by more verbose error message
814 and manual correction of the problem. Should increase stability
815 while providing more sensible information.
817 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
821 * bufferlist.C (previous, next): new methods
824 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
826 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
828 * buffer.C (makeDocBookFile): add dsssl stylesheet control
829 entities to preamble.
831 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
833 * messages.C (Pimpl): strip off translation context information
835 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
837 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
838 the cursor is correct (bug 1694)
840 2004-10-13 José Matos <jamatos@lyx.org>
842 * output_docbook.C (docbookParagraphs): fix closing tags in the
845 2004-10-09 José Matos <jamatos@lyx.org>
847 * buffer.C: format up to 237.
848 * bufferparams.C (write): use tostr to convert booleans to strings.
850 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
852 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
854 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
856 * LaTeX.C: implement use of babel language in xindy.
858 2004-10-05 José Matos <jamatos@lyx.org>
860 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
861 Add new translators to help reading and writing the lyx file.
863 2004-10-05 José Matos <jamatos@lyx.org>
865 * ParagraphParameters.C (read):
866 * text.C (readParToken): replace nexToken by more appropriate lex
869 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
871 * LaTeX.C (runMakeIndex):
872 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
873 (usually 'makeindex') configurable.
875 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
876 with a variable rather than with a number.
878 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * output_latex.C (TeXOnePar): make sure font setting is the first
881 thing that gets output (and the last at the end). Should fix bug
884 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
886 * pch.h: use proper signal include
888 * LaTeX.h: Use preferred calling of Boost.Signal
891 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
893 * pch.h: dont include <boost/function/function0.hpp>
895 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
897 * paragraph_pimpl.h: remove usage of ShareContainer
899 * paragraph_pimpl.C: remove initialization of ShareContainer.
901 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
905 * BufferView.C (putSelectionAt): change the semantics when
906 backwards == true: now, this just swaps cursor and anchor wrt the
909 * BufferView.h (putSelectionAt): add some documentation
911 * lyxfind.C (findBackwards): rewrite using while(). In particular,
912 make sure backwardChar is done at least once (to avoid getting
914 (findNextChange): use putSelectionAt in the forward direction
915 (operator()): use Paragraph::isWord
917 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
919 * Spacing.C (set): c_str fix
921 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
923 * lyx_cb.C (Reconfigure): quote the name of configure script in
924 case it contains spaces
926 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
930 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
931 (BOOST_LIBS): use top_buildir when looking for the file
933 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
935 * pch.h: do not use include boost/format.hpp, multiple symbols
936 will result (gcc bug)
939 2004-08-23 José Matos <jamatos@lyx.org>
941 * bufferparams.C (readToken): fix reading of the author field.
943 2004-08-20 José Matos <jamatos@lyx.org>
945 * lyxrc.C: remove support/translator.h inclusion since it is not used.
947 2004-08-20 José Matos <jamatos@lyx.org>
949 * lyxlex.[Ch] (findToken): remove function.
951 * ParagraphParameters.C (findToken):
952 * bufferparams.C (findToken): replace call for previous function
953 with local copy. This local function has one more argument, the
954 read string argument.
956 2004-08-16 José Matos <jamatos@lyx.org>
958 * ParagraphParameters.C (write):
959 * Spacing.C (writeFile):
960 * bufferparams.C (writeLaTeX):
961 * lyx_cb.C (Reconfigure):
962 * paragraph.C (write):
963 * tabular.C (write): remove unnecessary space at end of line.
966 2004-08-16 José Matos <jamatos@lyx.org>
968 * text.C (readParagraph): remove debug message.
970 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
972 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
975 * output_plaintext.C (asciiParagraph): set depth correctly
977 * outputparams.h: add member depth
979 * paragraph_funcs.C (ownerPar): remove.
981 * text2.C (setCounter): remove first_pit; comment out some
982 non-working code that uses ownerPar
984 * BufferView.C (getParentLanguage): remove. Not used anymore, and
987 2004-08-16 José Matos <jamatos@lyx.org>
989 * text.C (readParToken, readParagraph, read): report all unknown tokens.
990 For the same level of importance use the same chanel to report problems.
991 (read): add code to deal with \begin_body and \end_body.
994 2004-08-15 José Matos <jamatos@lyx.org>
996 * lyxlex.C (getString): fix comment, buffer::readBody is now
999 * tex-strings.C (string_papersize): Default -> default,
1000 Custom -> custom, for consistency with other options.
1002 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1006 * Makefile.am: support pch
1008 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1010 * text.C (readParToken): remove the static LyXFont variable and
1011 pass it as a parameter instead. This fixes a nasty bug where an
1012 inset will be inserted with a bad font in some situations
1013 (readParagraph): adapt
1015 * text2.C (setCounter): reduce number of calls to pars_[pit]
1017 * text.C (singleWidth): add an assert, fix a test
1019 * rowpainter.C (paintText): reduce number of calls to singleWidth
1021 * paragraph.C (isHfill):
1022 (isNewline): ws only
1024 2004-08-14 André Pönitz <poenitz@gmx.net>
1029 * lyxtext.h (several functions): use a Paragraph & argument
1032 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1034 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1036 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1038 * text.C (singleWidth): remove useless test
1040 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * tabular.h: remove bogus comments
1044 * tabular.C (getDescentOfRow):
1045 (isPartOfMultiColumn): add assertions
1047 * lyxlength.C (inPixels): remove #warning
1049 2004-08-14 André Pönitz <poenitz@gmx.net>
1051 * paragraph.h: inline getChar()
1053 * BufferView.h: remove unused declarations
1055 2004-08-14 José Matos <jamatos@lyx.org>
1057 * Buffer.[Ch] (readDocument): new name for old readBody.
1058 * Buffer.C: new file format, new keywords: \begin_document,
1059 \begin_header, \begin_body, \end_body.
1061 * bufferparams.C (readToken): replace all calls to lex.nextToken
1062 by lex.next(). Do the same to eatLine except where really needed.
1064 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1065 line when writing to the lyx file.
1067 * output_plaintext.C (asciiParagraph): fix Bibliography style
1070 * text.C (read): fix end of file handling.
1072 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * MenuBackend.C (Menu::operator[]): new method to access
1075 individual menu items
1076 (Menu::hasFunc): new method. search for an item that corresponds
1078 (MenuBackend::specialMenu): new method
1079 (MenuBackend::expand): if a special menu has been set, skip
1080 entries whose func() appears in this menu
1082 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1084 * text3.C: use Debug::DEBUG a bit more
1086 * text.C (leftMargin): try to simplify a tiny bit change var x to
1087 l_margin. Dont output the wide margins always.
1088 (rightMargin): no margin in inner texts
1090 * rowpainter.h (nestMargin): new func
1091 (changebarMargin): new func
1092 (rightMargin): new func
1094 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1098 * factory.C (createInset): modify setDrawFrame
1100 * cursor.C: use Debug::DEBUG a bit more
1102 2004-08-14 André Pönitz <poenitz@gmx.net>
1105 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1106 cache for all insets in (at least partially) visible (top-level)
1109 * BufferView_pimpl.C: reset external coord cache before every update.
1110 This means the coord cache only contains valid entries.
1112 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1115 * BufferView_pimpl.C (getInsetByCode): move function out of class
1116 and change in to a template in anon namespace. Also fix to do what
1119 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1122 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1124 (breakParagraph): rename par to par_offset and use a local
1125 reference. Add code to keep the language over a rebreak.
1126 (breakParagraphConservative): rename par to par_offset, use a
1128 (mergeParagraph): ditto
1130 (isFirstInSequence): ditto
1131 (outerFont): rename pit to par_offset
1133 * paragraph.C: ws change
1134 * paragraph.h: ditto
1138 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1140 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1143 * paragraph.C (simpleTeXOnePar): when we have a \item with
1144 optional argument, enclose the argument with curly brackets (in
1145 case it contains a closing square bracket)
1149 * text3.C (checkInsetHit): constify
1151 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1154 documents (bug 1629)
1156 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1158 Fix toggling of collapsable insets with the mouse (bug 1558)
1160 * lyxfunc.C (dispatch): adapt to LCursor changes
1162 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1163 make sure that dispatch is not invoked twice
1165 * cursor.C (needsUpdate): new method
1166 (dispatch): return void
1167 (result): new method, to access the DispatchResult of the cursor.
1169 2004-08-13 José Matos <jamatos@lyx.org>
1171 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1173 2004-08-13 André Pönitz <poenitz@gmx.net>
1175 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1177 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1180 2004-08-12 André Pönitz <poenitz@gmx.net>
1182 * text3.C: take out the 'cursor right' form insertInset and only
1183 do it in those places when it is really needed. Fixes crash on
1186 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1190 * BufferView_pimpl.C (setBuffer): initialize the current font of
1191 the underlying LyXText
1193 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * kbsequence.C (print): use UI native formatting for menu
1198 * text.C (insertChar): call Paragraph::insertChar with a font
1201 * paragraph.C (insertInset, insertChar): the version that takes a
1202 LyXFont argument is now a wrapper around the other one (the
1203 opposite used to be true).
1205 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1206 argument. Font setting is done in Paragraph now.
1208 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1210 * outputparams.h: add new members intitle and lang.
1212 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1213 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1215 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1217 * text3.C (dispatch): remove special handling of button 4 and 5,
1218 it is now taken care of in the frontend code.
1220 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1222 * Spacing.h: add <string> (STLPort compile fix)
1224 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1226 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1228 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1230 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1233 * converter.C (showMessage): inherit from unary_function, make
1236 * buffer.C (writeFile): initialize retval
1238 * InsetList.h: rename private variable list to list_
1239 * InsetList.[Ch]: adjust accordingly.
1241 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1243 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1244 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1245 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1246 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1247 * ParagraphParameters.C, LaTeXFeatures.C: replace
1248 "support/std_sstream.h" with <sstream>
1250 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1252 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1253 * lyxsocket.C (LyXServerSocket): ditto
1254 (serverCallback): ditto
1256 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1258 * LaTeXFeatures.C: check release date when loading jurabib.
1260 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1262 * lyxserver.C (startPipe): call register_socket_callback
1263 (endPipe): call unregister_socket_callback
1265 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1267 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1268 (LyXServerSocket): register the callback
1269 (LyXServerSocket): unregister the callback
1270 (fd): delete function
1271 (serverCallback): improve error checking and setup the callbacks.
1272 (dataCallback): change arg to fd.
1273 (writeln): new func (copied fro the client socket) used for server
1275 (LyXDataSocket): simplify
1276 (~LyXDataSocket): close ann unregiser callback
1277 (server): delete function
1278 (fd): delete function
1279 (readln): small changes, improve some std::string usage
1280 (writeln): constify a bit
1282 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1284 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1287 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1290 after it has been populated
1292 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1294 * text2.C (insertInset): move cursor when inserting inset.
1296 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1298 * kbmap.C (findbindings): a couple of new methods. returns a
1299 container of kb_sequence objects. The real work is done by the
1300 private recursive version
1301 (printbindings): uses findbindings to print out a bracketed list
1302 of bindings (renamed from findbinding).
1304 * MenuBackend.C (binding): use kb_keymap::findbindings
1306 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1308 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1310 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1312 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1314 * paragraph.C (isWord): return true on insets that report
1317 * text.C (getWord): use Paragraph::isWord to decide what is in a
1318 word and what is not; fix bug 1609.
1320 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1322 * tex-strings.C: add "none" to string_paperpackages[], fixes
1323 off-by-one-error in the paperpackage selection.
1326 * tex-strings.[Ch]: char const * string[n]
1327 -> char const * const string[]
1329 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1332 command, return early.
1334 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1336 * debug.h: add DEBUG to enum and fix size of ANY.
1338 * debug.C: add support for Debug::DEBUG
1339 (showTags): cast errorTags.level to unsigned int
1341 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1342 (redoCurrentBuffer): ditto
1343 (updateScrollbar): ditto
1344 * cursor.C (dispatch): ditto
1345 * text2.C (setLayout): ditto
1347 (updateCounters): ditto
1349 (deleteEmptyParagraphMechanism): ditto
1351 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1353 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1354 annotations to cleanup the Makefile slightly.
1356 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1358 * lyxrc.C: do not set user_email to a default value but use empty
1359 instead. The entry used to be translated, which does not work
1360 since at the point where lyxrc is constructed there is no
1361 translation service available
1363 * messages.C (getLocaleDir): remove and use directly
1364 lyx_localedir() instead
1366 2004-06-02 Angus Leeming <leeming@lyx.org>
1368 Fix crash caused by dereferencing null pointer 'exportdata' in
1369 OutputParams by creating a new ExportData variable on the heap,
1370 storing it in a boost::shared_ptr.
1371 The crash was triggered when generating an Instant Preview
1372 of an external inset.
1374 * Makefile.am: add outputparams.C
1376 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1377 (c-tor): allocate memory to it.
1379 * exporter.C (c-tor): associated changes.
1381 2004-06-01 Angus Leeming <leeming@lyx.org>
1383 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1384 contains data before calling isInset(0). (Bug 1513.)
1386 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1388 * exporter.C (checkOverwrite): new method
1389 * exporter.C (copyFile): new method
1390 * exporter.C (Export): copy referenced files to the document dir
1391 * exporter.[Ch]: new class ExportedFile
1392 * exporter.[Ch]: new class ExportData. Contains currently the
1393 names of referenced external files
1394 * outputparams.h: add exportdata member.
1396 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1398 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1401 2004-05-19 Angus Leeming <leeming@lyx.org>
1406 * lyxfunc.C: small changes due to the introduction of namespace
1407 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1409 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1411 * text3.C (dispatch): supress update when only moving the cursor
1412 * cursor.C (selHandle): remove commented code
1414 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1416 * paragraph.C (startTeXParParams): correct column count
1417 * CutAndPaste.C (pasteSelection): remove const_cast
1418 * output_docbook.C (docbookParagraphs): remove const_cast
1419 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1420 const_cast and return ParagraphList::const_iterator
1421 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1422 * output_plaintext.C (writeFileAscii): remove const_cast
1423 * paragraph.[Ch] (simpleTeXOnePar): make const
1424 * paragraph_funcs.C (outerPar): use const iterators
1425 * paragraph_pimpl.C (validate): use const iterators
1426 * text.C (setHeightOfRow): use const iterators
1428 2004-05-17 Angus Leeming <leeming@lyx.org>
1431 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1433 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1434 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1435 if the citation engine has changed.
1437 2004-05-14 José Matos <jamatos@lyx.org>
1439 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1440 if the textclass does not provide it. Have it different for sgml and
1442 support the language of document.
1443 * output_docbook.C (docbookParagraphs):
1444 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1445 first anchor as the id of the paragraph, remove special case code.
1446 * sgml.C (escapeChar): escape only < & >.
1448 2004-05-14 Angus Leeming <leeming@lyx.org>
1450 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1451 dependencies on src/frontends/controllers/biblio.h. Define a
1452 CiteEngine_enum wrapper class to enable the enum to be forward
1455 2004-05-12 Angus Leeming <leeming@lyx.org>
1457 * buffer.C: up LYX_FORMAT to 234.
1458 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1459 use_numerical_citations with a single biblio::CiteEngine cite_engine
1461 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1463 2004-05-13 José Matos <jamatos@lyx.org>
1466 * converter.C (Converter, readFlags): add xml member.
1467 * outputparams.h: add XML flavor.
1468 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1470 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * lyxfunc.C (dispatch):
1473 (getStatus): fix handling of LFUN_SEQUENCE
1475 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * debug.C (showLevel): do not forget the end-of-line marker
1479 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * kbmap.C (read): do not stop parsing a bind file when an error
1484 2004-04-29 Angus Leeming <leeming@lyx.org>
1489 * text2.C: wrap a bunch of #warning statements
1490 inside #ifdef WITH_WARNINGS blocks.
1492 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1494 * buffer.C: increment format to 233.
1496 2004-04-28 Angus Leeming <leeming@lyx.org>
1498 * BufferView_pimpl.C:
1501 s/updateToolbar()/updateToolbars()/
1502 s/Toolbar.h/Toolbars.h/
1504 2004-04-28 Angus Leeming <leeming@lyx.org>
1506 * BufferView.[Ch] (c-tor):
1507 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1508 No longer passes these data to the WorkArea generator.
1510 2004-04-28 Angus Leeming <leeming@lyx.org>
1512 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1514 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1516 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1518 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1520 * output_latex.C (TeXEnvironment): make sure that there is a line
1521 break before \end{foo} for the last paragraph of a document
1522 (TeXOnePar): if the paragraph is at the end of the document (or
1523 inset) and the language has to be reset, then make sure that the
1524 line break is _before_ the language command, not after (fixes bug
1525 1225); also make sure that the language reset command is the first
1526 thing after the paragraph (to ensure proper nesting of
1527 environments and thus fix bug 1404)
1529 2004-04-21 John Levon <levon@movementarian.org>
1532 * ToolbarBackend.C: make "name" be a programmatic name
1533 and a gui_name field.
1535 * lyxfunc.C: display the minibuffer on M-x
1537 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1539 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1542 2004-04-19 Angus Leeming <leeming@lyx.org>
1544 * BufferView_pimpl.C (setBuffer): changed preview interface.
1546 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1549 2004-04-19 John Levon <levon@movementarian.org>
1551 * BufferView_pimpl.C:
1552 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1554 2004-04-05 Angus Leeming <leeming@lyx.org>
1556 * text.C (redoParagraphs): add call to updateCounters(), thereby
1557 fixing the missing "Figure #:" label from the caption of a
1560 2004-04-13 Angus Leeming <leeming@lyx.org>
1562 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1563 cursor is clicked out of an inset.
1565 2004-04-13 Angus Leeming <leeming@lyx.org>
1567 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1568 than an InsetOld one.
1570 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1572 * format.[Ch]: add editor to Format
1573 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1574 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1576 2004-04-08 André Pönitz <poenitz@gmx.net>
1578 * metricsinfo.h: remove PainterInfo::width member
1580 2004-04-08 Angus Leeming <leeming@lyx.org>
1582 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1583 "\providecommand" rather than "\newcommand", thereby preventing
1584 clashes with packages that define "\boldsymbol" themselves.
1587 2004-04-08 Angus Leeming <leeming@lyx.org>
1589 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1590 thereby squashing an unnecessary warning.
1592 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1594 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1597 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1599 * BufferView.C (setCursor): call redoParagraph (some insets could
1601 (putSelectionAt): remove the 'double update' trick
1603 * BufferView_pimpl.C (fitCursor): call refreshPar
1604 (workAreaDispatch): remove an uneeded update call
1605 (dispatch): remove some manual update calls
1607 * cursor.[Ch]: remove cached_y_, updatePos
1608 (selHandle): set noUpdate when appropriate
1610 * lyxfunc.C (dispatch): track if we need an update
1612 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1614 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1615 (paintSelection): cheap optimization, do not call cursorX when not
1617 (paintPars): change signature
1620 (paintTextInset): adjust
1624 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * lengthcommon.C: compilation fix: remove explicit array size from
1627 unit_name[] and friends
1629 2004-04-05 Angus Leeming <leeming@lyx.org>
1631 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1633 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1634 present only for the preferences dialog.
1635 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1637 2004-04-05 Angus Leeming <leeming@lyx.org>
1639 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1640 to enable the frontends to export changes to lyxrc correctly.
1642 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1644 2004-04-07 André Pönitz <poenitz@gmx.net>
1646 * cursor.[Ch] (selClear, adjust): remove math
1648 * cursor_slice.C: more agressive assert
1651 * BufferView_pimpl.C: rework mouse event dispatch
1658 2004-04-05 André Pönitz <poenitz@gmx.net>
1660 * cursor.[Ch] (valign, halign...): remove unneeded functions
1662 2004-04-05 Angus Leeming <leeming@lyx.org>
1664 * lyxlength.[Ch] (unit_name et al.): const-correct.
1666 2004-04-05 Angus Leeming <leeming@lyx.org>
1668 * BufferView_pimpl.C:
1677 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1679 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1681 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1683 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1685 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1686 * BufferView_pimpl.[Ch] (getStatus)
1687 * BufferView.[Ch] (getStatus): add
1688 * lyxfunc.C (getStatus): move lfuns handled in
1689 BufferView::dispatch to te function above
1690 * Cursor.C (setSelection): set selection() = true
1692 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1694 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1696 2004-03-31 Angus Leeming <leeming@lyx.org>
1698 * lyxfunc.C (dispatch): Fall through to the generic
1699 Dialogs::show("preamble").
1701 2004-03-31 Angus Leeming <leeming@lyx.org>
1703 * lyxfunc.C (dispatch): Fall through to the generic
1704 Dialogs::show("spellchecker").
1706 2004-03-31 Angus Leeming <leeming@lyx.org>
1708 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1711 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1716 * insetiterator.[Ch]:
1721 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1723 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1725 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1726 insets where we are putting the cursor.
1728 2004-03-31 Angus Leeming <leeming@lyx.org>
1731 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1733 * lyxrc.[Ch] (read, write): overloaded member functions taking
1734 a std::[io]stream arguments.
1736 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1738 2004-03-31 Angus Leeming <leeming@lyx.org>
1740 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1741 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1743 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1744 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1746 2004-03-31 Angus Leeming <leeming@lyx.org>
1748 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1749 the LFUN_ALL_INSETS_TOGGLE code.
1751 2004-03-30 Angus Leeming <leeming@lyx.org>
1753 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1754 has died. Fall through to the generic Dialogs::show("document").
1756 2004-03-30 Angus Leeming <leeming@lyx.org>
1759 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1760 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1762 * lyxfunc.C (getStatus, dispatch): define the actions for these
1763 lfuns. Little more than a cut and pste job from ControlDocument.C
1765 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1767 2004-03-30 Angus Leeming <leeming@lyx.org>
1770 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1771 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1773 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1774 open/closed state of ollapsable insets. Usage:
1776 all-inset-toggle <state> <name>, where
1777 <state> == "open" || "closed" || "toggle" and
1778 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1780 * lyxtext.h, text2.C (toggleInset): removed.
1782 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1783 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1784 now passes LFUN_INSET_TOGGLE to the found inset.
1786 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1787 is now invoked as "all-insets-toggle toggle branch".
1789 2004-03-30 Angus Leeming <leeming@lyx.org>
1793 * pariterator.[Ch]: added/corrected header blurb.
1795 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1797 * dociterator.[Ch]: add an inset_ member
1798 (backwardPos): implemented
1799 (backwardPos, forwardPos): use inset_ when the stack is empty.
1800 (doc_iterator_begin, doc_iterator_end): implemented
1801 * pariterator.[Ch]: adjust, add begin, end
1802 * insetiterator.[Ch]: adjust, add begin, end
1806 * BufferView_pimpl.C:
1807 * CutAndPaste.C: adjust
1809 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1811 * buffer.C: increment file format to 232.
1812 * LaTeXFeatures.C: add bibtopic package.
1813 * bufferparams.[Ch]: param \use_bibtopic.
1815 * lyxrc.[Ch]: add lyxrc bibtex_command
1816 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1818 * buffer.C: increment file format to 231.
1820 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1822 * dociterator.C: implement forwardPar
1823 * iterators.[Ch]: remove, replaced by
1824 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1826 * BufferView_pimpl.C:
1829 * bufferview_funcs.C:
1835 * Makefile.am: adjust
1837 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1839 * CutAndPaste.C (pasteSelection): fix 2 crashes
1840 (eraseSelection): fix a crash
1841 * paragraph_funcs.C: remove a warning
1843 2004-03-28 Angus Leeming <leeming@lyx.org>
1846 * LyXAction.C (init): new LFUN_PRINT.
1848 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1850 2004-03-27 Angus Leeming <leeming@lyx.org>
1853 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1855 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1857 2004-03-27 Angus Leeming <leeming@lyx.org>
1859 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1860 insetlist always contains non-null pointers to insets.
1862 2004-03-26 Angus Leeming <leeming@lyx.org>
1864 * src/BufferView_pimpl.C:
1865 * src/CutAndPaste.C:
1868 * src/output_plaintext.C:
1869 * src/outputparams.h:
1870 * src/paragraph_funcs.C:
1874 * src/frontends/controllers/ControlErrorList.C:
1875 * src/frontends/gtk/FileDialogPrivate.C:
1876 * src/frontends/gtk/GPainter.C:
1877 * src/frontends/gtk/GToolbar.C:
1878 * src/frontends/qt2/QRef.C:
1879 * src/mathed/math_scriptinset.C: squash compiler warnings.
1881 2004-03-26 Angus Leeming <leeming@lyx.org>
1883 * ispell.C (LaunchIspell::start):
1884 * lyx_cb.C (AutoSaveBuffer::start):
1885 invoke run(DontWait) rather than runNonBlocking().
1887 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1889 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1891 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 * kbsequence.C (print): adjust
1895 * kbmap.C (printKeySym): rename and change signature
1896 (printKey): use LyXKeySym::print()
1898 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1900 * undo.C: add using std::advance to compile for stlport
1902 2004-03-24 Angus Leeming <leeming@lyx.org>
1904 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1905 it leads to a crash when no buffer is present.
1907 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 Martin Vermeer <martin.vermeer@hut.fi>
1910 * lyxfunc.C (dispatch):
1911 * bufferparams.C (readToken): use the new LColor::setColor
1913 * LColor.[Ch] (setColor): new version that takes two strings as
1914 argument and creates a new color entry if necessary
1916 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1918 * buffer.C (makeLaTeXFile): if the main latex file that is
1919 processed is usually a subdocument of some master, then pretend
1920 for a while that it is actually the master
1922 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1924 * buffer.C (getLabelList):
1925 (getBibkeyList): use getMasterBuffer()
1926 (getMasterBuffer): new method. Returns the main document in the
1927 case where one is using included documents.
1929 2004-03-25 André Pönitz <poenitz@gmx.net>
1933 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1935 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1937 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1938 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1940 * ParameterStruct.h: merge with ParagraphParameters
1942 * lyxtext.h: remove LyXText::parOffset() and getPar()
1944 * text3.C: Remove all 'manual' update calls. We do now one per user
1945 interaction which is completely sufficient.
1949 * BufferView_pimpl.C:
1950 * FontIterator.[Ch]:
1952 * ParagraphParameters.[Ch]:
1957 * cursor_slice.[Ch]:
1964 * output_docbook.[Ch]:
1965 * output_latex.[Ch]:
1966 * output_linuxdoc.[Ch]:
1967 * output_plaintext.[Ch]:
1969 * paragraph_funcs.[Ch]:
1970 * paragraph_pimpl.[Ch]:
1978 * frontends/controllers/ControlDocument.C:
1979 * frontends/controllers/ControlErrorList.C:
1980 * frontends/controllers/ControlSpellchecker.C:
1983 * insets/insetbase.h:
1984 * insets/insetbibitem.C:
1985 * insets/insetbox.C:
1986 * insets/insetbranch.C:
1987 * insets/insetcaption.C:
1988 * insets/insetcharstyle.C:
1989 * insets/insetcharstyle.h:
1990 * insets/insetcollapsable.C:
1991 * insets/insetcollapsable.h:
1992 * insets/insetert.C:
1993 * insets/insetfloat.C:
1994 * insets/insetfoot.C:
1995 * insets/insetmarginal.C:
1996 * insets/insetnote.C:
1997 * insets/insetoptarg.C:
1998 * insets/insettabular.C:
1999 * insets/insettext.C:
2000 * insets/insettext.h:
2001 * insets/insetwrap.C:
2002 * mathed/math_mboxinset.C:
2003 * mathed/math_nestinset.C:
2004 * mathed/math_scriptinset.C:
2005 * mathed/math_scriptinset.h:
2008 2004-03-24 Angus Leeming <leeming@lyx.org>
2010 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2011 deal with any child processes that have finished but are waiting to
2012 communicate this fact to the rest of LyX.
2014 2004-03-24 Angus Leeming <leeming@lyx.org>
2016 64-bit compile fixes.
2018 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2019 (c-tor): pass lyx::pos_types rather than ints.
2021 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2024 * text.C (Delete): compile fix.
2025 (getPar): ensure that function declaration is the same as that in
2028 2004-03-23 Angus Leeming <leeming@lyx.org>
2030 * ispell.C (LaunchIspell):
2031 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2032 a boost::shred_ptr rather than a std::auto_ptr.
2034 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2036 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2037 handle LFUN_FILE_INSERT_*
2039 * lyxrc.C (setDefaults, getDescription, output, read):
2040 * lyxrc.h: remove ps_command
2042 2004-03-22 Angus Leeming <leeming@lyx.org>
2044 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2045 Ensure that error_handler is processed once only and that all data
2046 is saved before attempting to output any warning messages.
2048 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2050 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2052 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2054 2004-03-19 André Pönitz <poenitz@gmx.net>
2056 * cursor.[Ch] (reset): take main text inset as argument
2058 * BufferView: adjust
2059 * BufferView_pimpl.C: adjust
2061 * paragraph.[Ch]: fix completely broken operator=()
2063 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * LColor.C (getFromLyXName): make sure that the color name is used
2068 2004-03-17 Angus Leeming <leeming@lyx.org>
2071 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2073 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2074 dialog and to kill a forked process.
2076 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2078 * text2.C (setCursorFromCoordinates): fix font problem
2080 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2082 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2083 bogus "rebuild cursor" code
2085 2004-03-11 André Pönitz <poenitz@gmx.net>
2087 * buffer.[Ch]: use InsetText instead of LyXText as container for
2090 * dociterator.[Ch]: drop the BufferView * member which is not needed
2091 anymore after the change to buffer.C
2093 * paragraph_funcs.C:
2097 * BufferView_pimpl.[Ch]:
2099 * cursor_slice.[Ch]: adjust
2101 * text3.C: fix bug in mathDispatch
2103 2004-03-08 André Pönitz <poenitz@gmx.net>
2105 * undo.[Ch]: use 'StableDocumentIterator' as base for
2108 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2111 * bufferparams.[Ch]: add jurabib support and param.
2113 * LaTeX.C: add FIXME/comment.
2115 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2117 * buffer.C: increment file format to 230.
2119 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2121 * cursor.C (dispatch): avoid infinite loops
2123 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2125 * rowpainter.C (paintSelection): fix x coordinates
2127 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2129 * text.C (rowBreakPoint): fix breaking before displayed insets
2131 2004-03-01 André Pönitz <poenitz@gmx.net>
2133 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2135 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2139 * BufferView_pimpl.C:
2147 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2153 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2154 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2156 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2158 * Bidi.[Ch] (computeTables): const correctness
2159 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2160 fill_hfill, fill_label_hfill and x from Row
2161 * lyxtext.h: prepareToPrint returns a RowMetrics
2162 * rowPainter.C: adjust
2163 * text.C (prepareToPrint): use width, not textWidth. adjust
2164 (redoParagraphInternal, cursorX): adjust
2165 * text2.C (getColumnNearX): adjust
2166 (init): put a default value to the top LyXText::width
2168 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2170 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2172 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2174 * lyxtext.h: add FontIterator class
2176 * text.C (FontIterator, operator*, operator->, operator++): add
2177 (rowBreakPoint, setRowWidth): adjust (fixing a
2180 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2182 * BufferView_pimpl.C (workAreaDispatch): allow also
2183 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2185 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2187 * text.C (rowBreakPoint): fix a bug showing with very large insets
2189 2004-02-25 André Pönitz <poenitz@gmx.net>
2192 * cursor.[Ch]: move some mathed specific code to mathed
2194 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2196 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2197 use_tempdir in preferences
2198 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2200 * lyx_main.C: ensure that tempdir is valid
2201 * lyxlex.h: correct typo
2202 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2203 * paragraph.[Ch] (isMultiLingual): make const
2204 * cursor.[Ch] (openable): make const
2206 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2208 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2210 2004-02-20 André Pönitz <poenitz@gmx.net>
2212 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2214 * cursor.[Ch]: prepare for localized getStatus()
2220 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2222 2004-02-20 André Pönitz <poenitz@gmx.net>
2224 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2226 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2228 * text2.C (setCursorFromCoordinates): switch to absolute coords
2230 (cursorDown): adjust
2231 * text3.C (dispatch): adjust
2233 2004-02-16 André Pönitz <poenitz@gmx.net>
2235 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2238 * cursor_slice.[Ch]: remove unneeded acessor function
2240 * lyxtext.h: rename rtl() to isRTL()
2248 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2250 * rowpainter.C (paintSelection): coord fix
2252 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2254 * Spacing.C: compile fix
2256 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2258 * cursor.C (dispatch): restore current_ before returning
2260 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2262 * text2.C (cursorUp, cursorDown): fix coords
2265 2004-02-12 André Pönitz <poenitz@gmx.net>
2270 * text3.C: add LCursor & parameter to most cursor movement functions
2271 remove usage of LyXText::cursorRow() and cursorPar()
2273 * cursor.[Ch]: add textRow() needed members
2276 * BufferView_pimpl.C:
2279 * BufferView_pimpl.C: adjust
2281 2004-02-11 André Pönitz <poenitz@gmx.net>
2285 * BufferView_pimpl.C: shift undo/redo handling
2287 * cursor.[Ch]: fix mathed crash
2290 * lyxtext.h: move selectionAsText to LCursor
2298 * rowpainter.C: fix excessive drawing
2300 2004-02-06 André Pönitz <poenitz@gmx.net>
2303 * BufferView_pimpl.[Ch]:
2304 * text3.C: move some text specific LFUN handling
2306 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2308 * text3.C (checkInsetHit): adjust coords
2309 * text2.C (getColumnNearX): adjust coords
2310 (edit): adjust coords
2311 * text.C (getRowNearY): add two asserts
2313 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2316 * format.C: add using std::distance to compile on gcc 2.95/stlport
2318 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2320 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2322 2004-02-04 André Pönitz <poenitz@gmx.net>
2324 * BufferView.[Ch] (insertInset):
2325 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2330 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2332 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2333 on the default clause of the switch
2334 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2335 wasn't catched by LCursor::dispatch
2337 2004-02-03 André Pönitz <poenitz@gmx.net>
2340 * cursor.[Ch]: some additional asserts
2342 * undo.[Ch]: remove LyXText dependency in interface
2346 * lyxtext.h (firstPar, lastPar): remove dead functions
2351 * paragraph.[Ch]: adjust
2353 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2355 * lyxfind.C (find): fix argument order in call to ::find
2357 2004-02-02 André Pönitz <poenitz@gmx.net>
2359 * cursor.[Ch]: remove direct access to anchor
2361 * text.C: remove findText() hack
2363 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2365 * iterators.[Ch] (lockPath): remove in favour of...
2366 * BufferView.[Ch] (setCursor): this addition
2367 * BufferView.C (putSelectionAt): adjust
2368 * undo.C (performUndoOrRedo): adjust
2369 * lyxfunc.C (dispatch): adjust
2371 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2373 * iterators.C (lockPath): add a missing slice
2374 * undo.C (performUndoOrRedo): remove redundant positioning code
2376 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2378 * vc-backend.C (scanMaster): ";" -> ';'
2380 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2382 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2383 std::binary_function
2385 * lyxtextclass.C (compare_name): rename to...
2386 (LayoutNamesEqual): ...this
2388 * lyxlex_pimpl.C (compare_tags): inherit from
2389 std::binary_function, put back into anon namespace
2391 * lyxfind.C (MatchString): inherig from std::binary_function
2392 (findChange): use empty() istead of !size()
2394 * format.C (FormatNamesEqual): new functor
2401 * converter.C (compare_Converter): rename to...
2402 (ConverterEqual): ...this, and fixup a bit.
2403 (getConverter): use it, and make function const
2404 (getNumber): use it, and make function const
2408 * bufferlist.C: add using boost::bind
2410 * MenuBackend.C (MenuNamesEqual): new functor
2411 (hasMenu): use it, and make function const
2412 (hasSubmenu): use nested bind to get rid of compare_memfun.
2414 2004-01-30 André Pönitz <poenitz@gmx.net>
2416 * BufferView_pimpl.C:
2419 * cursor_slice.[Ch]:
2422 * paragraph_funcs.C:
2423 * paragraph_funcs.h:
2427 * text3.C: move some of the edit(x,y) handling to the insets
2428 some coordinate changes.
2430 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2432 * text.C: add using statements for std::advance and std::distance
2434 * paragraph.C: add using statement for std::distance
2436 * lyxfind.C: add using statement for std::advance
2438 * cursor.C (region): remove std:: from swap
2439 (openable): use nucleus in stead of operator->
2441 * BufferView.C: add using statements for std::distance and std::swap
2443 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2445 * iterators.C: Remove the pimple, move the needed structures to
2446 the header file. Create accessor for the positions stack.
2447 (asPosIterator): remove function
2449 * PosIterator.C (PosIterator): move constructors to top of file
2450 (PosIterator): reimplement the constructor taking a ParIterator in
2452 (setFrom): new function
2453 (operator!=): inline it
2455 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2457 * lyxfind.C (replaceAll): use std::advance
2459 * iterators.h: inherit from std::iterator.
2461 * PosIterator.C (advance, distance): remove
2462 * PosIterator.h: interit from std::iterator.
2464 2004-01-26 André Pönitz <poenitz@gmx.net>
2467 * BufferView_pimpl.[Ch]:
2471 * bufferview_funcs.C:
2481 * output_linuxdoc.C:
2482 * output_plaintext.C:
2484 * paragraph_funcs.[Ch]:
2485 * paragraph_pimpl.[Ch]:
2491 * text3.C: more IU: dumps most of the rest of the mathcursor
2492 implementation into cursor.[Ch]; "globalize" a bit of it.
2494 2004-01-25 Angus Leeming <leeming@lyx.org>
2496 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2498 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2500 * LaTeXFeatures.h: add nice_ and nice() const
2501 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2503 2004-01-20 André Pönitz <poenitz@gmx.net>
2506 * BufferView_pimpl.C:
2508 * bufferview_funcs.C:
2510 * cursor_slice.[Ch]:
2521 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2522 LCursor and mathcursor parts to LCursor and InsetBase.
2524 2004-01-15 André Pönitz <poenitz@gmx.net>
2526 * cursor_slice.[Ch]: add a few covienience functions
2528 * funcrequest.[Ch]: remove BufferView * member
2530 * BufferView_pimpl.C:
2537 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2539 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2541 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2542 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2544 2004-01-13 André Pönitz <poenitz@gmx.net>
2547 * lyxtext.h: hide cursor and selection anchor behind accessor function
2550 * BufferView_pimpl.[Ch]:
2552 * bufferview_funcs.C:
2562 * cursor_slice.[Ch]: some integer type changes for inset unification
2564 * lyxcursor.[hC]: remove, it's CursorSlice now.
2567 * BufferView_pimpl.[Ch]:
2568 * bufferview_funcs.C:
2574 * textcursor.[Ch]: adjust
2576 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2578 * text2.C (undoSpan): add and use
2579 * text.C (breakParagraph): use undoSpan (fix bug 578)
2582 2004-01-08 Angus Leeming <leeming@lyx.org>
2584 * BufferView_pimpl.C (MenuInsertLyXFile):
2585 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2586 * lyxfunc.C (menuNew, open, doImport):
2587 FileFilterList change to the FileDialog open and save functions.
2589 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2591 * ShareContainer.h: make isEqual and isUnique adaptable
2593 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2595 2004-01-07 Angus Leeming <leeming@lyx.org>
2598 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2600 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2602 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2603 functions replacing find, replace and replaceAll.
2605 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2606 LFUN_WORDFIND(FORWARD|BACKWARD).
2608 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2610 * text.C (breakParagraph): remove an outdated #warning
2612 2004-01-07 André Pönitz <poenitz@gmx.net>
2614 * lyxfind.C: somewhat clearer logic
2616 * text.C: prevent crash in cursorX on unitialized row cache
2618 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2620 * lyxcursor.[Ch] (operator>): add
2621 * textcursor.C (selStart, selEnd): use std::min and std::max
2623 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2625 * Chktex.C: include boost/format.hpp
2627 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2629 * InsetList.C: replace functor MathcIt with adaptable functor
2631 (insetIterator): modify accordingly
2633 * BranchList.h: move the BranchNamesEqual functor here from...
2634 * BranchList.C: ... to here
2636 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2638 (add): replace a finding loop with std::find_if.
2640 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2642 * output_docbook.C: moving LatexParam functionality into
2645 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2647 * buffer.C: increment format to 229.
2649 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2652 * lyx_sty.[Ch]: remove minipageindent_def
2658 * text3.C: remove LFUN_INSET_MINIPAGE
2660 2003-12-28 Angus Leeming <leeming@lyx.org>
2662 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2664 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2666 * text2.C (setParagraph): fix off-by-one crash
2668 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2670 * output_docbook.C: header stuff for AGU
2672 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2674 * text2.C (redoCursor): remove
2677 * BufferView_pimpl.C: remove calls to redoCursor and
2678 setCursor(cursor.par(), cursor.pos()) all around
2680 2003-12-15 Angus Leeming <leeming@lyx.org>
2682 * buffer.C: up the format to 228.
2684 2003-12-15 André Pönitz <poenitz@gmx.net>
2686 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2691 * BufferView_pimpl.C:
2700 2003-12-15 Angus Leeming <leeming@lyx.org>
2702 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2703 than getFromGUIName to manipulate the color.
2705 2003-12-14 Angus Leeming <leeming@lyx.org>
2707 * BranchList.[Ch]: minimize the API.
2708 (Branch::getBranch, getColor): now return a 'const &'.
2709 (Branch::setSelected) now returns a bool set to true if the
2710 selection status changes.
2711 (BranchList::clear, size, getColor, setColor, setSelected,
2712 allBranches, allSelected, separator): removed.
2713 (BranchList::find): new functions, returning the Branch with
2715 (BranchList::add, remove): return a bool indicating that
2716 the operation was successful.
2718 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2719 new InsetBranch::isBranchSlected member function.
2721 * LColor.[Ch]: mimimize the API.
2722 (fill): renamed as addColor and made private.
2723 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2724 versions of these functions taking a string arg have been removed.
2726 * bufferparams.C (readToken):
2727 * lyxfunc.C (dispatch):
2728 * lyxrc.C (read): changes due to the altered BranchList and
2731 * factory.C (createInset, readInset): changes due to altered
2734 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2737 * lyxfunc.C: remove insetminipage. "minipage-insert"
2738 now produces a frameless minipage box inset.
2740 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2742 * textcursor.[Ch] (selStart,selEnd): add new methods
2743 remove selection::start, end, use LyXCursor::operator<
2744 * lyxcursor.[Ch] (operator<): add
2745 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2746 * BufferView.[Ch] (unsetXSel): add
2747 * text2.C (clearSelection): use unsetXSel,adjust
2750 * rowpainter.C: adjust
2751 * bufferview_funcs.C (put_selection_at): adjust
2753 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2755 * BufferView_pimpl.C: small coord. correction
2757 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2759 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2760 dragging over the splash screen.
2762 2003-12-11 Angus Leeming <leeming@lyx.org>
2764 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2765 as it is now handled in LyXText::dispatch.
2767 * text3.C (doInsertInset): remove a level of nesting.
2769 2003-12-11 Angus Leeming <leeming@lyx.org>
2771 * factory.C (createInset): changes due to the changed interface to
2772 InsetCommandMailer::string2params.
2774 2003-12-10 Angus Leeming <leeming@lyx.org>
2776 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2777 'dialog-show-new-inset <inset name>'
2779 2003-12-10 Angus Leeming <leeming@lyx.org>
2781 * buffer.C: up the format to 227.
2783 * factory.C: the box inset is now identified simply by 'Box'.
2785 2003-12-10 Angus Leeming <leeming@lyx.org>
2787 * buffer.C: up the format to 226.
2789 * factory.C: the note inset is now identified simply by 'Note'.
2791 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2793 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2794 when a pit is enough. Standarize a couple of loops.
2796 2003-12-05 Angus Leeming <leeming@lyx.org>
2798 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2799 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2800 data to the re-worked "log" dialog.
2802 2003-12-03 André Pönitz <poenitz@gmx.net>
2808 * paragraph_funcs.C:
2810 * text2.C: use Inset::getText instead of Inset::getParagraph
2812 2003-12-03 André Pönitz <poenitz@gmx.net>
2816 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2817 InsetText::read() as LyXText::read()
2819 2003-12-02 Angus Leeming <leeming@lyx.org>
2821 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2822 type. Add a comment in the implementation that the function uses
2823 the stream's bad() function rather than fail() as the std::streams
2826 2003-12-02 André Pönitz <poenitz@gmx.net>
2828 * lyxlex.[Ch]: make interface more similar to std::stream
2830 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2832 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2834 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2836 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2838 * vspace.[Ch]: remove VSpace::NONE
2840 2003-12-01 André Pönitz <poenitz@gmx.net>
2843 * lyxtext.h: move ParagraphList member to LyXText
2844 rename LyXText::ownerParagraphs to LyXText::paragraph
2847 * bufferview_funcs.C:
2857 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2859 * undo.C: fix cursor positioning
2861 2003-12-01 John Levon <levon@movementarian.org>
2863 * BufferView_pimpl.C: fix a crash on exit with
2866 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2868 * BranchList.C: fix setSelected() method.
2870 2003-11-28 André Pönitz <poenitz@gmx.net>
2872 * ParagraphParameters.[Ch]:
2873 * ParameterStruct.h: remove space above/below from Paragraph to
2876 * BufferView_pimpl.C:
2882 * paragraph_funcs.C:
2888 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2890 * factory.C: Syntax change for CharStyles
2892 2003-11-28 André Pönitz <poenitz@gmx.net>
2897 * buffer.[Ch]: move LyXText member
2899 2003-11-28 André Pönitz <poenitz@gmx.net>
2901 * BufferView.[Ch]: make LyXText * text a private member
2903 * BufferView_pimpl.C:
2914 * output_plaintext.C: cleanup
2916 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2919 * lyxtextclass.[Ch]: parametrize SGML document header
2921 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2924 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2927 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2929 * text2.C (setFont): rework using PosIterator (no more recursive)
2930 (setCharFont): no more needed
2931 (setLayout): no more selection cursors fiddling (done by redoCursor)
2932 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2933 destroy remaining ones)
2935 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2937 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2939 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2942 * text3.C: adjust + re-allow multi par depth changes
2943 * textcursor.C: simplify a bit
2945 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2951 * src/output_docbook.C:
2952 * src/output_latex.C:
2957 * src/text2.C: Introducing a number of tags parametrizing various
2958 XML formats that we may want to support
2960 2003-11-25 André Pönitz <poenitz@gmx.net>
2962 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2964 * lyxtext.h (leftMargin/rightMargin): simplify interface
2971 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2973 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2974 master file to any child files. Fixes bug 546.
2976 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2978 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2980 2003-11-24 André Pönitz <poenitz@gmx.net>
2982 * rowpainter.C: simplification
2984 * text2.C (updateCounters): remove call to redoParagraph on
2985 changed labels as this is far too expensive.
2987 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2989 * converter.C (convert): fix a crash: this function gets
2990 called with buffer == 0 from importer code.
2992 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2994 * text3.C (cursorPrevious): make sure that we do not compare
2995 iterators form different containers.
2998 * rowpainter.C (paintSelection): make sure that we do not compare
2999 iterators from different containers.
3001 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3002 iterators from different ParagraphList containers.
3005 * text2.C (LyXText): change order of initialization slightly
3006 (operator=): new function. copy all variables except cache_par_
3007 (moveUp): make sure that we do not compare iterators from
3008 different ParagraphList constainers.
3011 * text.C (firstPar): new function
3012 (lastPar): new function
3013 (endPar): new function
3015 * lyxtext.h: move things around and group public functions, public
3016 variables, private functions, private variables
3018 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3020 * factory.C: change call to InsetERT constructor to avoid
3021 additional invocation of method status
3022 * text2.C (toggleInset): remove redundant update() call
3023 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3024 instead of a Bufferview pointer
3026 2003-11-21 André Pönitz <poenitz@gmx.net>
3028 * rowpainter.C: simplification
3030 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3032 * text3.C (dispatch): make possible to extend a word/row selection
3035 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3037 * lyxtext.h: x0_,y0_ -> xo_,yo_
3038 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3039 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3040 * rowpainter.C (paintRows): paint full paragraphs
3042 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3044 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3047 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3049 * lyxtext.h: add x0_, y0_
3050 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3051 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3053 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3055 * text2.C (setCursorIntern): move the x_target update here *
3056 * text3.C: change some bv() to true/false in calls to
3057 cursorUp/Down/Right/Left
3058 * cursor.C: use helper function.
3060 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3062 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3063 * paragraph_funcs.[Ch]: correct comment
3064 * rowpainter.C: do not paint selections away from bv->cursor()
3065 Fix a long standing selection painting bug.
3066 * text3.C: generalize mouse-selection code to LyXTexts other that
3068 * textcursor.C: do not use y coords if we can use par offsets
3070 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3072 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3073 cursor position after e.g. inset insert)
3075 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3077 * lyxfind.C (replace): adjust to locking removal + some
3080 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3082 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3085 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3088 * output_docbook.C: XML sanitation: new layout
3089 parameters InnerTag and CommandDepth
3091 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3093 * BufferView_pimpl.C:
3095 * text3.C: Fix the insertion and modification of button-style
3098 2003-11-13 André Pönitz <poenitz@gmx.net>
3100 * InsetList.[Ch]: remove deleteLyXText
3102 * paragraph.[Ch]: cache beginOfBody position
3107 * text3.C: remove superfluous update() calls
3111 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3113 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3114 * BufferView.C (fitLockedInsetCursor): remove
3115 * cursor.[Ch] (getDim): add
3116 * text.C (getRowNearY): add faster version
3117 * text3.C: remove some update calls
3119 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3131 * text3.C: The Character Style /XML short element patch.
3133 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3136 * factory.C: Small step to solving 'unable to insert some insets'
3139 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3141 * cursor.[Ch] (updatePos): new function for updating the y
3142 position of the tip inset
3143 * bufferview_funcs.C (put_selection_at):
3144 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3146 2003-11-11 André Pönitz <poenitz@gmx.net>
3148 * text.C: remove big comment on invalid Paragraph pointers as it is
3151 2003-11-11 André Pönitz <poenitz@gmx.net>
3153 * text_funcs.[Ch]: merge with ...
3161 * Makefile.am: remove text_funcs.[Ch]
3163 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3165 * cursor.C (getPos): return absolute cached y coord
3167 * BufferView_pimpl.C (fitCursor): new simplistic code
3168 (workAreaDispatch): add a fitCursor call
3170 2003-11-10 André Pönitz <poenitz@gmx.net>
3173 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3175 2003-11-10 André Pönitz <poenitz@gmx.net>
3177 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3178 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3179 indicate that the cursor needs to leave an inset
3181 * lyxtext.h: remove inset locking
3183 * cursor.[Ch]: re-implement functionality provided by inset locking
3186 * BufferView_pimpl.[Ch]:
3188 * bufferview_funcs.[Ch]:
3200 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3202 * PosIterator.[Ch]: replace the stack with a vector, add inset
3204 * iterators.[C]: adjust
3206 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3208 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3210 * paragraph_funcs.C (readParToken): put the correct id in the
3211 error item, not the id of the top paragraph
3213 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3215 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3216 * bufferview_funcs.C (put_selection_at): use the above
3218 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3220 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3222 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3224 * output_linuxdoc.h:
3225 * output_plaintext.h:
3227 * output_docbook.h: add #include statements
3229 2003-11-05 José Matos <jamatos@lyx.org>
3231 * output_docbook.[Ch]:
3232 * output_latex.[Ch]:
3233 * output_linuxdoc.[Ch]:
3234 * output_plaintext.[Ch]: New files for output formats.
3235 * output.[Ch]: New file for helper functions.
3238 * paragraph_funcs.[Ch]: output functions moved to new files.
3240 * outputparams.h: rename of latexrunparams.h
3248 * paragraph_funcs.[Ch]:
3249 * paragraph_pimpl.[Ch]:
3250 * tabular.[Ch]: rename ascii to plaintext
3251 and LatexRunParams to OutputParams.
3253 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3255 * iterators.[Ch] (text): require bv argument
3256 * undo.C (recordUndo):
3257 * lyxfunc.C (dispatch):
3258 * bufferview_funcs.C (put_selection_at): adjust
3260 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3262 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3264 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3266 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3269 2003-11-04 André Pönitz <poenitz@gmx.net>
3271 * cursor.[Ch]: restructure
3274 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3276 * iterators.[Ch] (asCursor): remove
3278 * lfuns.h: remove LFUN_INSET_EDIT
3284 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3286 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3288 * lyxfind.[Ch]: complete overhaul
3289 * BufferView_pimpl.C:
3291 * paragraph.[Ch] (insert): add
3293 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3297 * text.C: remove dead spellcheck code
3299 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * dispatchresult.h: add a val setter
3303 * cursor.C (dispatch): use a tempvar for data_[i]
3305 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3307 * PosIterator.[Ch]: compile fix
3309 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3311 * text.C (cursorPar): deactivate the cursor cache
3313 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3315 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3317 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * text3.C (dispatch): adjust for new DisptchResult semantics.
3321 * lyxfunc.C (dispatch): handle update when return from
3322 Cursor::dispatch, adjust for new DispatchResult semantics.
3324 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3325 DispatchResult(true) mean to not update. Add class functions for
3326 setting dispatched and update, as well as reading.
3328 * cursor.C (dispatch): don't handle update here
3330 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3333 * trans_mgr.C: adjust
3335 * paragraph_funcs.C (readParToken): exception safety
3337 * lyxvc.h: store the vcs pointer in a scoped_ptr
3340 * lyxsocket.C (serverCallback): exception safety
3342 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3344 * ispell.C (clone): make it return a auto_ptr
3346 * factory.C (createInset): exception safety
3347 (readInset): exception safety
3349 * bufferlist.C (newBuffer): exception safety
3351 * Thesaurus.C (Thesaurus): use initialization for aik_
3353 * MenuBackend.C (expandToc): exception safety.
3355 2003-11-03 André Pönitz <poenitz@gmx.net>
3359 * bufferview_funcs.C: remove getInsetFromId()
3362 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3368 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3370 * PosIterator.C (distance, advance): new
3371 * bufferview_funcs.[Ch] (put_selection_at): new
3372 * iterators.[Ch] (lockPath): new
3374 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3376 * iterators.[Ch] (asPosIterator): added
3377 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3378 * PosIterator.[Ch]: added
3380 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3384 * cursor.C (dispatch):
3385 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3387 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3388 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3389 contructor, add a class function dispatched. Remove operator>=
3391 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * debug.C: only use the default constructor for debugstream
3396 * main.C (main): include debug.h and setup the lyxerr streambuf
3399 2003-10-31 José Matos <jamatos@lyx.org>
3401 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3403 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3404 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3405 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3406 * paragraph_pimpl.C (simpleTeXSpecialC):
3407 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3408 add LatexRunParams argument.
3410 * exporter.C (Export): change call accordingly.
3412 * latexrunparams.h: add new member to take care of the other backends.
3413 2003-10-30 José Matos <jamatos@lyx.org>
3415 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3416 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3417 factorise code for paragraph output.
3419 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3422 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * text3.C (dispatch):
3425 * lyxfunc.C (dispatch):
3426 * cursor.C (dispatch):
3427 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3429 * dispatchresult.h: make the dispatch_result_t ctor explicit
3431 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3434 * buffer.C: small refactoring of docbook stuff
3436 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3441 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3444 operator dispatch_result_t, and operators for == != and >=
3446 * cursor.C (dispatch): adjust for operator dispatch_result_t
3447 removal. comment out call to update
3449 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3451 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3462 * dispatchresult.h: new file, DispatchResult broken out of
3465 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3467 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3469 * text.C (rowBreakPoint): put a hack inside #if 0
3471 2003-10-28 André Pönitz <poenitz@gmx.net>
3475 * paragraph_funcs.C:
3478 * text2.C: general cleanup (lots of small stuff)
3480 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3482 * text2.C (cursorEnd): simple fix to the "end key goes to one
3483 before the end on last row" bug
3485 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3487 * text.C (backspace): fix the "zombie characters"
3489 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3491 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3493 2003-10-27 André Pönitz <poenitz@gmx.net>
3495 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3497 * factory.C: handle new InsetPagebreak, InsetLine
3499 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3500 and move handling into new InsetPagebreak, InsetLine
3502 * BufferView_pimpl.C:
3504 * ParagraphParameters.C:
3505 * ParameterStruct.h:
3510 * paragraph_funcs.C:
3511 * paragraph_pimpl.C:
3517 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3520 * lyxrow_funcs.[Ch]:
3526 * text3.C: remove lastPos uses in favour of Row::endpos
3528 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3530 * undo.C (performUndoOrRedo): fix two crashes by setting a
3531 cursor by hand and reordering some calls. Use bv->lockInset instead
3532 of inset->edit because the latter loses cursor information
3534 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3536 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3538 (rowBreakPoint): fix width. change point to point + 1.
3539 Add a missing check.
3541 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3544 * lyxfunc.C: fix (at least partly) the problems
3545 with the Nav menu and headers inside branch insets
3548 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3550 * paragraph.C (getChar): add strong asserts
3552 * lyxrow_funcs.C (lastPos): remove hideous hack
3554 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3555 (fill): adjust to that (avoid an infinite loop)
3557 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3559 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3561 2003-10-23 André Pönitz <poenitz@gmx.net>
3563 * RowList_fwd.h: change list<> to vector<> to gain speed
3564 after suggestion from Alfredo
3566 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3568 * lyxtext.h: move the bidi stuff from here...
3571 * Bidi.[Ch]: ... to here
3573 2003-10-23 André Pönitz <poenitz@gmx.net>
3576 * text.C (isLastRow, isFirstRow): new functions
3578 * paragraph.h: new width cache member
3580 * rowpainter.C: replace RowList::iterator with Row & where possible
3582 * lyxfunc.C: replace several view()->text with a single call
3584 * toc.C: fix 'unused' warning
3586 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3589 when woring with stream::pos_type
3590 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3592 2003-10-22 André Pönitz <poenitz@gmx.net>
3595 * text.C: use Row & instead of RowList::iterator
3597 * lyxrow.h: rename end() to endpos()
3603 2003-10-22 Angus Leeming <leeming@lyx.org>
3605 * buffer.[Ch] (fully_loaded): new member function, returning true
3606 only when the file has been loaded fully.
3607 Used to prevent the premature generation of previews and by the
3608 citation inset to prevent computation of the natbib-style label.
3610 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3611 templates are all set up.
3613 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3615 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3617 * text.C: fixed an "oops" in the "is a bit silly"
3620 2003-10-21 André Pönitz <poenitz@gmx.net>
3622 * FuncStatus.[Ch]: small stuff, whitespace
3624 * lyxfont.[Ch]: operator<<() for debug reasons
3628 * lyxtext.h: whitespace, spelling
3630 * paragraph.C: naming of variables
3633 * text2.C: small stuff
3636 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3638 * text.C: (1) finish off the inset display() work;
3639 (2) fix the "is a bit silly" bug (accessing char
3642 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3644 * text.C: re-introduce display() for insets, fixing the
3645 various bugs (stretch of line above, math inset
3648 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3650 * text.C (rightMargin): remove spurious semicolon
3652 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3655 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3657 * text3.C: fix one crash due to wrong cursor def
3659 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * vc-backend.C (scanMaster): make the regex static
3663 * LaTeX.C (scanAuxFile): make the regexs static
3665 * text3.C (doInsertInset, dispatch, dispatch):
3666 * text2.C (cursorUp, cursorDown):
3667 * text.C (selectNextWordToSpellcheck):
3668 * BufferView_pimpl.C (dispatch):
3669 * lyxfunc.C (dispatch): localDispatch -> dispatch
3671 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3673 * lyxsocket.C: include <cerrno>
3675 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * lyxfunc.C (dispatch): remove textcache stuff
3679 * bufferlist.C (release): remove textcache stuff
3682 * TextCache.C: delete file
3683 * TextCache.h: delete file
3685 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3687 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3688 delete of the bv_->text.
3689 (resizeCurrentBuffer): remove texcache stuff
3690 (workAreaResize): ditto
3692 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3694 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3697 2003-10-16 André Pönitz <poenitz@gmx.net>
3704 * text3.C: speed up by storing y positions per paragraph plus per-row
3705 offset instead of having a 'full' y position in the row.
3707 2003-10-15 André Pönitz <poenitz@gmx.net>
3711 * undo.[Ch]: make undo aware of inner insets
3713 2003-10-14 Angus Leeming <leeming@lyx.org>
3715 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3716 static member functions LyX::ref() and LyX::cref.
3717 (lastfiles): new accessor functions for the new lastfiles_ member var.
3718 (addLyXView, views_): add a new LyXView to the list of views_.
3719 (updateInset): loop over all LyXViews to call their own updateInset
3720 member function, returning a pointer to the Buffer owning the inset.
3722 * BufferView_pimpl.C (loadLyXFile):
3723 * MenuBackend.C (expandLastfiles):
3724 * bufferlist.C (MenuWrite, QuitLyX):
3725 lastfiles is no longer a global variable.
3726 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3728 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3729 static function. Access through LyX::cref().emergencyCleanup().
3731 2003-10-14 André Pönitz <poenitz@gmx.net>
3733 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3735 * undo.[Ch]: restoring part of 'undo in insets'
3738 * undo_funcs.[Ch]: merge with undo.[Ch]
3740 * tabular.C: small cleansing stuff
3742 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3744 * paragraph_funcs.C (readParToken): report unknown insets as error
3745 boxes. Use the outer paragraph as location (also for unknown
3748 * factory.C (readInset): do not abort on reading an unknown inset.
3749 Eat it and return 0.
3751 2003-10-13 Angus Leeming <leeming@lyx.org>
3753 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3755 * lyxrc.C: displayTranslator is now a function,
3756 declared in GraphicsTypes.h.
3758 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3760 * format.C: new placeholder $$a to pass the socket address.
3762 * bufferlist.[Ch]: new function getBufferFromTmp.
3764 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3765 files in the temporary dir.
3767 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3769 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3771 * Makefile.am: add lyxsocket.[Ch].
3773 * lyx_main.C (error_handler): handle SIGPIPE.
3775 2003-10-13 André Pönitz <poenitz@gmx.net>
3777 * BufferView_pimpl.C:
3782 * undo_funcs.[Ch]: use paroffset_type instead of
3783 ParagraphList::iterators to prevent multiple conversion
3784 (and get a more robust interface)
3786 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3788 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3790 * text3.C (dispatch): ditto
3792 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3795 move the onlyfile, use onlyfile instead of foundfile in a couple
3798 * DepTable.C (update): flush the error stream a bit more
3800 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * lyxserver.C (callback): adjust
3804 * lyxfunc.C (getStatus): add a missing brace in commented code
3805 (ensureBufferClean): reindent
3806 (dispatch): delete version taking a string
3808 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3810 * LaTeX.C (deplog): move found file handlig from here...
3811 (handleFoundFile): .. to new function here.
3812 (deplog): make sure to discover several files mentioned on the
3815 2003-10-10 André Pönitz <poenitz@gmx.net>
3822 * text3.C: fix some of the tabular crashes
3824 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3826 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3828 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3830 2003-10-09 André Pönitz <poenitz@gmx.net>
3832 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3835 * BufferView_pimpl.C:
3836 * bufferview_funcs.C:
3847 * undo_funcs.C: adjust
3849 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * text2.C (incrementItemDepth): new function, use a backtracking
3852 algorithm to discover the correct item depth.
3853 (resetEnumCounterIfNeeded): new function, use a backtracking
3854 algorithm to discover if counter reset is needed.
3855 (setCounter): use them. Simplify a bit. Add different labels for
3856 different item depths for itemize.
3858 * paragraph.C (Paragraph): remove initialization of enumdepth
3861 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3862 enumerate and itemize. Change the type of itemdepth to signed char.
3864 2003-10-08 André Pönitz <poenitz@gmx.net>
3866 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3871 * tabular.[Ch]: fix crash after 'row-insert'
3873 2003-10-08 Angus Leeming <leeming@lyx.org>
3875 Fix doxygen warnings.
3877 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3878 Remove CutAndPaste:: prefix from header file declaration.
3880 * LColor.h (fill): remove LColor:: prefix from declaration.
3882 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3883 use lyx::depth_type rather than Paragraph::depth_type so that
3884 header file and .C file match.
3886 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3888 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3889 * aspell.C: \file aspell_local.C -> \file aspell.C
3890 * gettext.C: \file gettext.C -> \file src/gettext.C
3891 * gettext.h: \file gettext.h -> \file src/gettext.h
3892 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3893 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3894 * text.C: \file text.C -> \file src/text.C
3896 * toc.C: move comment so that doxygen is not confused.
3898 2003-10-07 Angus Leeming <leeming@lyx.org>
3900 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3902 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3905 * aspell_local.h: add forgotten std::string's.
3907 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3914 * text3.C: The Box patch. Fancybox support, minipage, parbox
3916 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3922 * ParagraphParameters.h:
3932 * lyxtextclasslist.h:
3935 * paragraph_pimpl.C:
3936 * textcursor.h: add <string> and other small fixes to make Lars'
3937 std::string patch compile with STLport.
3939 2003-10-06 Angus Leeming <leeming@lyx.org>
3941 * LColor.h: Add missing #include <string>.
3943 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * All most all file in all subdirs: Make <string> be the prefered
3946 way of getting to std::string, add using declarations.
3948 2003-10-06 André Pönitz <poenitz@gmx.net>
3950 * metricsinfo.C: initialize LyXFont before changing attribute.
3951 (fixes the 'math in \emph is upright' bug)
3953 2003-10-06 André Pönitz <poenitz@gmx.net>
3955 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3957 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3960 * paragraph_pimpl.C: Small fixes to build using STLport
3962 2003-10-02 André Pönitz <poenitz@gmx.net>
3965 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3967 2003-10-01 André Pönitz <poenitz@gmx.net>
3969 * factory.C: assert early
3971 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3973 * lyx_main.C: remove the global debug object
3975 * debug.h: adjust for new debugstream
3977 * debug.C: adjust for new debugstream and keep the global debug
3980 2003-09-22 Angus Leeming <leeming@lyx.org>
3982 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3983 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3984 an incomplete class LyXFont.
3986 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3988 * factory.C: bug fix in branches
3990 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3992 * lyxfunc.C (processKeySym): adjust
3994 (dispatch): change arg name from ev to func, adjust
3995 (sendDispatchMessage): ditto
3997 * lyx_main.C (defaultKeyBindings): adjust keybindings
3998 (deadKeyBindings): ditto
4000 * kbsequence.C (addkey): return a FuncRequest
4002 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4004 * kbmap.C (bind): take a FuncRequest as arg, adjust
4007 (defkey): change to take a FuncRequest as arg, adjust
4008 (findbinding): take a FuncRequest as arg, adjust.
4010 * funcrequest.h (operator=): added
4012 * funcrequest.C (FuncRequest): default kb_action changed from
4013 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4015 * buffer.C (dispatch): simplify
4016 (dispatch): adjust to take a FuncRequest as arg, adjust
4018 * boost.C (assertion_failed): change assertion message slightly
4020 * ToolbarBackend.C (read): simplify
4022 * MenuBackend.C (binding): adjust call to findbinding, add a
4023 message if no binding is found.
4025 (expandToc): correct by adding a empty FuncRequest
4027 * LyXAction.C: include <boost/assert.hpp>
4028 (isPseudoAction): delete function
4029 (LookupFunc): change name to...
4030 (lookupFunc): this. change return type to FuncRequest.
4031 (getActionName): take kb_action as arg, simplify
4032 (funcHasFlag): add an assert, simplify.
4034 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * toc.C (action): return a FuncRequest, simplify
4038 * lyxfunc.C (processKeySym): adjust
4039 (getStatus): delete version that takes an int.
4041 (dispatch): delete version that takes action as int
4043 (sendDispatchMessage): simplify and adjust
4045 * funcrequest.C (getArg): take unsigned int as arg
4047 * ToolbarBackend.C (read): adjust
4048 (add): delete version that takes func as a string.
4049 (getIton): take a FuncRequest as arg
4051 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4054 * MenuBackend.C (MenuItem): add a new construct that only takes a
4055 Kind, simplify the constructor use for submenus.
4057 (expandLastfiles): adjust
4058 (expandDocuments): adjust
4059 (expandFormats): adjust
4060 (expandFloatListInsert): adjust
4061 (expandFloatInsert): adjust
4062 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4064 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4065 Remove class variables lyx_pseudo_map and lyx_arg_map
4067 * LyXAction.C (searchActionArg): delete function
4068 (getPseudoAction): delete function
4069 (retrieveActionArg): delete function
4070 (LookupFunc): make it return kb_action, simplify.
4071 (getActionName): simplify
4073 * factory.C (createInset): fix new bug
4075 2003-09-19 Angus Leeming <leeming@lyx.org>
4077 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4078 masterFilename_ parameter in the include inset.
4080 * factory.C (createInset): changes due to the changes to InsetInclude.
4082 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4084 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4086 2003-09-18 Angus Leeming <leeming@lyx.org>
4089 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4090 Inset::fillWithBibKeys.
4091 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4093 2003-09-18 Angus Leeming <leeming@lyx.org>
4095 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4097 (ctor): pass and store a 'Buffer const &'
4098 (buffer): new member function.
4100 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4101 '*this' to the LaTeXFeatures ctor.
4103 2003-09-18 Angus Leeming <leeming@lyx.org>
4109 * text.C: rename EnumLColor as LColor_color.
4111 2003-09-18 Angus Leeming <leeming@lyx.org>
4113 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4114 remove #include "insets/insetbase.h" from cursor.h.
4116 2003-09-18 Angus Leeming <leeming@lyx.org>
4118 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4119 InsetOld_code to remove #include "inset.h".
4121 * iterators.C: add #include "insets/inset.h"
4123 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4125 * BufferView.C: remove more locking stuff that apparently doesn't
4126 do anything sensible.
4128 2003-09-16 André Pönitz <poenitz@gmx.net>
4131 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4134 2003-09-16 Angus Leeming <leeming@lyx.org>
4136 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4138 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4141 * paragraph.h: remove #include "lyxfont.h". Forward declare
4144 2003-09-16 Angus Leeming <leeming@lyx.org>
4146 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4147 of support/textutils.h.
4148 (isWord): move the contents of support/textutils.h's IsWordChar here.
4154 * text2.C: add #include "paragraph.h".
4157 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4159 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4165 * LaTeX.C: use namespace alias for lyx::support::os
4167 2003-09-16 Angus Leeming <leeming@lyx.org>
4170 * bufferview_funcs.C:
4173 * paragraph_pimpl.C:
4175 * text.C: add #include "LColor.h".
4177 2003-09-16 Angus Leeming <leeming@lyx.org>
4179 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4180 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4182 Store the FontBits::color variable as an int rather than as an
4183 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4186 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4187 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4188 string calls together.
4190 * lyxrc.C: add #include "LColor.h".
4192 2003-09-15 Angus Leeming <leeming@lyx.org>
4194 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4197 2003-09-15 Angus Leeming <leeming@lyx.org>
4199 * LColor.h: add an EnumLColor wrapper for LColor::color.
4201 * lyxfont.[Ch] (color, setColor, realColor):
4202 * lyxtext.h, text.C (backgroundColor):
4203 pass EnumLColor args to/from the functions, rather than LColor::color
4207 * lyxtext.h: forward declare EnumLColor.
4209 * lyx_main.C: add #include "LColor.h".
4211 2003-09-15 Angus Leeming <leeming@lyx.org>
4213 * .cvsignore: add lyx-gtk.
4215 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * ParagraphParameters.C
4224 * bufferview_funcs.C
4234 * vc-backend.C: remove usage of STRCONV
4236 2003-09-15 Angus Leeming <leeming@lyx.org>
4238 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4239 explicitly define the color passed to the painter.
4241 2003-09-15 Angus Leeming <leeming@lyx.org>
4243 * bufferparams.C (BufferParams): reorder member initializers to avoid
4246 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4248 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4249 * text.C (updateRowPositions): remove an unusual nop
4251 2003-09-12 André Pönitz <poenitz@gmx.net>
4253 * BufferView_pimpl.C:
4262 * Counters.[Ch]: finish the 'automatic counters' job
4264 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4266 * aspell.C: include <boost/assert.cpp> (compile fix)
4268 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4270 * boost.C (assertion_failed): use lyx::support::abort instead of
4273 2003-09-10 Angus Leeming <leeming@lyx.org>
4275 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4276 with their _fwd progeny.
4278 2003-09-09 Angus Leeming <leeming@lyx.org>
4280 134 files throughtout the source tree: replace 'using namespace abc;'
4281 directives with the appropriate 'using abc::xyz;' declarations.
4283 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4285 * boost.C (emergencyCleanup): moved here from LAssert.c
4286 (assertion_failed): new function, called by BOOST_ASSERT
4288 * several files: change Assert to BOOST_ASSERT
4290 2003-09-09 Angus Leeming <leeming@lyx.org>
4292 * buffer.[Ch]: Add an Impl class and move Buffer's member
4293 variables into it. As a result move several header files out of
4296 Add header files to lots of .C files all over the tree as a result.
4298 2003-09-09 Angus Leeming <leeming@lyx.org>
4300 * buffer.[Ch]: make Buffer's member variables private. Add
4303 Lots of changes all over the tree as a result.
4305 2003-09-08 Angus Leeming <leeming@lyx.org>
4307 * graph.C: #include <config.h>.
4309 2003-09-08 Angus Leeming <leeming@lyx.org>
4313 * BufferView_pimpl.C:
4342 * toc.C: remove redundant using directives.
4344 2003-09-07 Angus Leeming <leeming@lyx.org>
4346 * LaTeXFeatures.h: remove #include "support/types.h".
4347 * ToolbarBackend.h: remove #include <algorithm>.
4348 * changes.h: remove #include <ctime>.
4349 * debug.h: remove #include <iosfwd>.
4350 * graph.h: remove #include "support/std_string.h".
4351 * lyx_main.h: remove #include <csignal>.
4352 * lyxlex_pimpl.h: remove #include <fstream>.
4353 * sgml.h: remove #include <algorithm>, <utility>.
4354 * toc.h: remove #include "support/std_ostream.h".
4355 Add #include <iosfwd>.
4357 2003-09-07 Angus Leeming <leeming@lyx.org>
4359 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4361 * converter.h: forward declare LatexRunParams.
4362 * encoding.h: remove #include "lyxrc.h".
4363 * lyxtext.h: remove #include "LColor.h".
4364 * lyxtextclass.h: remove #include "support/types.h".
4365 * trans.h: remove #include "tex-accent.h".
4366 * trans_mgr.h: remove #include "tex-accent.h".
4367 * insets/inset.h: remove #include "support/types.h", <vector>.
4368 * insets/insetcollapsable.h: remove #include "LColor.h".
4369 * insets/insetinclude.h: remove #include "dimension.h".
4370 * insets/insetlatexaccent.h: remove #include "dimension.h".
4371 * insets/insetoptarg.h:: remove #include "insettext.h".
4372 * insets/insettext.h: remove #include "dimension.h",
4373 <boost/shared_ptr.hpp>
4375 * insets/renderers.h: add #include "dimension.h".
4376 * insets/updatableinset.h: add #include "support/types.h".
4378 * many .C files: Associated changes.
4380 2003-09-06 Angus Leeming <leeming@lyx.org>
4382 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4383 one, inside testInvariant.
4385 * PrinterParams.C: new file.
4386 * PrinterParams.[Ch]: move the function bodies out of line.
4388 2003-09-06 Angus Leeming <leeming@lyx.org>
4390 * ParagraphParameters.h: forward declare ParameterStruct rather than
4391 including its header file.
4392 (depth): moved out-of-line.
4394 2003-09-06 Angus Leeming <leeming@lyx.org>
4396 * BufferView_pimpl.h:
4399 * lyxfunc.h: forward declare LyXKeySym rather than
4400 #include "frontends/LyXKeySym.h".
4402 * BufferView_pimpl.C:
4405 * lyxfunc.C: associated changes.
4407 2003-09-06 Angus Leeming <leeming@lyx.org>
4409 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4410 As a result, can remove the #include "insets/inset.h" from BufferView.h
4412 2003-09-06 Angus Leeming <leeming@lyx.org>
4414 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4415 As a result, can remove the #include "insets/inset.h" from BufferView.h
4417 2003-09-06 Angus Leeming <leeming@lyx.org>
4423 * bufferview_funcs.C:
4424 * BufferView_pimpl.C:
4429 * ParagraphParameters.C:
4434 * frontends/controllers/ControlDocument.C:
4435 * insets/insetcaption.C: rearrange the #includes into some sort of
4438 * buffer.h: remove #includes ErrorList.h, undo.h
4440 2003-09-06 Angus Leeming <leeming@lyx.org>
4442 * support/types.h: add a 'depth_type' typedef, used to store the
4443 nesting depth of a paragraph.
4446 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4447 defining explicitly.
4450 * paragraph_funcs.h:
4451 * ParagraphParameters.h:
4452 * sgml.h: use lyx::depth_type rather than Paragraph or
4453 ParameterStruct's depth_type.
4456 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4459 * BufferView_pimpl.C:
4461 * ParagraphParameters.C:
4464 * bufferview_funcs.C:
4471 * frontends/LyXView.C:
4472 * frontends/controllers/ControlDocument.C:
4473 * frontends/controllers/ControlErrorList.C:
4474 * insets/insetbibitem.C:
4475 * insets/insetbranch.C:
4476 * insets/insetcaption.C:
4477 * insets/insetcollapsable.C:
4478 * insets/insetenv.C:
4479 * insets/insetert.C:
4480 * insets/insetfloat.C:
4481 * insets/insetfoot.C:
4482 * insets/insetfootlike.C:
4483 * insets/insetnewline.C:
4484 * insets/insetquotes.C:
4485 * insets/insettabular.C:
4486 * insets/insettext.C:
4487 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4489 * frontends/controllers/ControlChanges.C: #include "changes.h".
4491 2003-09-06 Angus Leeming <leeming@lyx.org>
4493 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4494 than #including paragraph.h.
4497 * RowList.h: deleted. Superfluous.
4507 * insets/insettext.h: use ParagraphList_fwd.h rather than
4510 * paragraph.h: don't forward declare ParagraphList.
4513 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4514 rather than ParagraphList.h. paragraph.h is still needed for the
4515 Paragraph::depth_type parameters.
4517 * textcursor.h: enable it to compile stand-alone in light of the
4520 * bufferview_funcs.C:
4532 * frontends/controllers/ControlParagraph.C:
4533 * frontends/controllers/ControlTabular.C:
4534 * insets/insetmarginal.C:
4535 * insets/insetminipage.C:
4536 * insets/insetnote.C:
4537 * insets/insetoptarg.C: add header files needed to compile again.
4539 2003-09-06 Angus Leeming <leeming@lyx.org>
4541 * RowList_fwd.h: new file, forward-declaring Row rather than
4542 #including lyxrow.h.
4547 * insets/insettext.h: use it instead of RowList.h
4549 * bufferview_funcs.C:
4556 * text3.C: #include "RowList.h".
4558 2003-09-05 Angus Leeming <leeming@lyx.org>
4560 * factory.C (createInset):
4561 * vspace.C (c-tor): replace sscanf call with an istringstream.
4562 * ispell.C: re-add missing HP/UX headers.
4563 * lyxserver.C: re-add missing os2 headers.
4565 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4574 * text3.C: re-add missing system headers, needed for 2.95.2.
4576 2003-09-05 Angus Leeming <leeming@lyx.org>
4578 Changes most place everywhere due to the removal of using directives
4579 from support/std_sstream.h.
4581 2003-09-05 Angus Leeming <leeming@lyx.org>
4583 Replace LString.h with support/std_string.h,
4584 Lsstream.h with support/std_sstream.h,
4585 support/LIstream.h with support/std_istream.h,
4586 support/LOstream.h with support/std_ostream.h.
4588 Changes resulting throughout the tree.
4590 2003-09-05 Angus Leeming <leeming@lyx.org>
4592 * sgml.h: ensure that the header file can be compiled stand-alone.
4593 * *.C: strip out redundant #includes. (320 in total.)
4595 2003-09-04 Angus Leeming <leeming@lyx.org>
4597 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4598 here (from getPackages).
4600 * debug.[Ch]: add a new EXTERNAL tag.
4602 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4604 * text2.C (cursorEnd): simplify
4606 (getColumnNearX): adjust
4608 * text.C (computeBidiTables): adjust
4611 * rowpainter.C (paintChars): adjust
4612 (paintSelection): adjust
4613 (paintChangeBar): adjust
4616 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4618 (numberOfSeparators): adjust
4620 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4626 * text3.C: Restricts the mouse click functionality
4627 of insets like bibtex, include, toc and floatlist to the visible
4628 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4629 up the dialogs. Cursor has to be in front of the inset (i.e.
4630 start of row) for this to function.
4632 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4634 * bufferview_funcs.C (currentState): output row information
4636 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4638 * bufferview_funcs.C (currentState): output paragraph position
4640 2003-09-04 Angus Leeming <leeming@lyx.org>
4642 * FloatList.h: move out #include "Floating.h".
4643 * LaTeX.h: move out #include "DepTable.h".
4644 * LyXAction.h: move out #include "funcrequest.h".
4645 * buffer.h: move out #include "author.h", "iterators.h".
4646 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4647 * lyx_main.h: move out #include "errorlist.h".
4648 * lyxfunc.h: move out #include "FuncStatus.h".
4649 * lyxtext: move out #include "lyxcursor.h".
4650 * paragraph_pimpl.h: move out #include "counters.h".
4652 2003-09-03 Angus Leeming <leeming@lyx.org>
4654 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4655 preamble_snippets list, enabling us to add snippets to the preamble
4656 only if the snippet was not there already.
4658 2003-09-04 Angus Leeming <leeming@lyx.org>
4660 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4662 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4664 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4667 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4669 * BranchList.C: point fix, earlier forgotten
4671 2003-09-02 Angus Leeming <leeming@lyx.org>
4673 * box.C (contains): renamed from 'contained' after a fantastic
4676 2003-09-02 John Levon <levon@movementarian.org>
4682 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4684 2003-09-02 John Levon <levon@movementarian.org>
4686 * text2.C: simplification of cursorEnd(), including partial
4689 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4691 * buffer.C (readFile): add a space
4693 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4695 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4697 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * buffer.C (readFile): new function, take a filename and a
4700 ParagraphList::iterator
4702 (readFile): adjust, make it private. don't use setStream, make
4703 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4704 always contain the filename.
4706 * BufferView.C (insertLyXFile): simplify and make it work for
4709 2003-08-30 John Levon <levon@movementarian.org>
4711 * Makefile.am: fix dist (from Kayvan)
4713 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * most files: change to use const Buffer refs
4717 2003-08-27 André Pönitz <poenitz@gmx.net>
4719 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4720 on top of ownerPar().
4722 2003-08-27 John Levon <levon@movementarian.org>
4724 * funcrequest.C: properly initialise POD members
4726 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4728 * lyxtext.h (top_y): move top_y from here
4733 * BufferView_pimpl.[Ch]: to here
4734 * frontends/screen.C:
4735 * insets/insettabular.C:
4736 * insets/insettext.C: adjust
4737 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4739 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4742 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4744 2003-08-26 André Pönitz <poenitz@gmx.net>
4746 * paragraph_func.[Ch] (outerPar): new function
4749 * paragraph_funcs.C:
4750 * paragraph_funcs.h:
4751 * paragraph_pimpl.C:
4752 * text2.C: remove Inset::par_owner
4754 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4759 * text2.C: eliminates the needFullRow/display() stuff
4760 altogether, putting the logic in metrics/draw in the insets.
4762 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4764 * text2.C (redoParagraphInternal, redoParagraphs):
4765 * text.C (redoParagraph): add a call to updateRowPositions at the
4766 end of each 'metrics-like' call. Remove all others.
4767 (getRow): remove the 'y-computing' version.
4768 (getRowNearY): do not compute nor return the real y. Solve the
4769 'y < 0' problem and simplify.
4771 2003-08-22 Angus Leeming <leeming@lyx.org>
4773 * *.[Ch]: clean-up of licence and author blurbs.
4774 Also move config.h out of a few .h files and into a few .C files.
4776 2003-08-22 André Pönitz <poenitz@gmx.net>
4778 * lyxrow.[Ch]: add x_ and *fill_ members
4783 * text2.C: adjust/remove prepareToPrint() calls
4785 2003-08-22 André Pönitz <poenitz@gmx.net>
4787 * lyxrow.[Ch]: add end_ member
4789 * lyxrow_funcs.C: use LyXRow::end_
4791 * lyxtext.h (singleWidth): add LyXFont parameter
4794 * text2.C: adjust LyXText::singleWidth() calls
4796 * text.C (redoParagraph): simplify row breaking logic
4799 2003-08-19 André Pönitz <poenitz@gmx.net>
4801 * funcrequest.C: initialize button_ member
4804 * rowpainter.[Ch]: interface consolidation
4806 2003-08-18 André Pönitz <poenitz@gmx.net>
4809 * BufferView_pimpl.C:
4811 * paragraph_funcs.C:
4813 * text3.C: remove LyXScreen::draw() and fitCursor calls
4815 * BranchList.h: remove spurious semicolons
4817 * MenuBackend.C: fix branchlist related crash
4819 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4827 * bufferparams.[Ch]:
4831 * text3.C: implements the 'branch inset'
4832 idea. This allows the output of various versions of a document
4833 from a single source version, selectively outputing or suppressing
4834 output of parts of the text.
4835 This implementation contains a 'branch list editor' in a separate
4836 tab of the document settings dialog. Branches are user definable
4837 and have a "display colour" to distinguish them on-screen.
4839 ColorHandler was somewhat cleaned up.
4840 (1) make possible a dynamically growing LColor list by allowing
4841 the graphic context cache to grow along (vector);
4842 (2) eliminate an IMHO unnecessary step in colour allocation.
4844 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4846 * BufferView_pimpl.C: compile fix
4848 2003-08-15 André Pönitz <poenitz@gmx.net>
4850 * rowpainter.C: remove extra metrics calls
4852 * lyxtext.h: merge the two constructors into a single one,
4853 pass reference to owner's par list
4855 * BufferView_pimpl.C:
4859 2003-08-15 André Pönitz <poenitz@gmx.net>
4861 * lyxrow_funcs.[Ch]:
4864 * paragraph_funcs.C:
4869 * text_funcs.C: split LyXText::rowlist_ into individual
4870 Paragraph::rows_ chunks
4873 * BufferView_pimpl.[Ch]:
4876 * text3.C: remove toggleSelection()
4878 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4880 * bufferlist.C: beautify two alerts (shorter text of buttons)
4881 * buffer.C: Remove redundant ' ' from message
4883 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4884 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4885 rename VALIGN_CENTER to VALIGN_MIDDLE
4887 2003-08-11 André Pönitz <poenitz@gmx.net>
4889 * lyxtext.h (getPar):
4890 * text.C: new function
4892 2003-08-11 André Pönitz <poenitz@gmx.net>
4895 * tracer.[Ch]: remove unneeded files
4897 * InsetList.[Ch]: remove resizeInsetsLyXText()
4902 * text3.C: merge insertParagraphs() and appendParagraph()
4903 remove breakAgain(), update()
4905 * BufferView_pimpl.[Ch]:
4906 * bufferview_funcs.[Ch]:
4910 * tabular.C: adjust after text & InsetList changes.
4912 2003-08-08 André Pönitz <poenitz@gmx.net>
4914 * text.C (insertChar, backspace): replace rowlist fiddling
4915 with rebreak of full par
4918 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4919 checkParagraph, updateInset): removed
4921 2003-08-07 André Pönitz <poenitz@gmx.net>
4924 * text3.C: merge some LFUN handlers, remove dead code
4926 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4928 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4930 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4932 * text2.C (DEPM): fix part of bug 1255 and 1256
4934 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4936 * BufferView_pimpl.C (workAreaDispatch): change to use
4937 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4938 that are no mouse related.
4940 2003-08-05 André Pönitz <poenitz@gmx.net>
4943 * BufferView_pimpl.[Ch]:
4944 * bufferview_funcs.C:
4946 * text3.C: rip out "deep update"
4948 * textcursor.[Ch] (last_sel_cursor): remove unused member
4950 2003-08-04 André Pönitz <poenitz@gmx.net>
4953 * BufferView_pimpl.[Ch]:
4954 * ParagraphParameters.C:
4955 * bufferview_funcs.C:
4961 * text3.C: replace "complicated" BufferView::update(...) calls with
4964 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4966 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4968 * Makefile.am (lyx_SOURCES): add paper.h
4970 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * Makefile.am: move things around so that both lyx-qt and
4973 lyx-xforms can be built (according to --with-frontend). Then lyx
4974 is a symbolic link to lyx-[firstfrontend]
4976 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4978 * Always use std::endl with lyxerr
4980 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4982 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4984 2003-08-01 André Pönitz <poenitz@gmx.net>
4987 * BufferView_pimpl.[Ch]:
4989 * text3.C: merge BufferView::repaint() and BufferView::update()
4991 2003-08-01 José Matos <jamatos@lyx.org>
4993 * buffer.[Ch]: file_format is no longer a buffer data element.
4995 2003-08-01 André Pönitz <poenitz@gmx.net>
5000 * text2.C: make redoParagraph more independent of current cursor
5002 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5004 * text2.C: remove unneeded members
5006 2003-07-30 André Pönitz <poenitz@gmx.net>
5008 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5010 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5011 create a single function...
5013 * paragraph_funcs.C (moveItem): ... here.
5016 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5018 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5020 * LColor.[Ch]: Add comment and greyedout logical colors.
5022 2003-07-30 André Pönitz <poenitz@gmx.net>
5024 * tabular.C: don't use Assert too heavily. This crashes where it
5027 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5029 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5030 is disabled (bug 1232)
5032 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5034 * factory.C: limited 'arg' scope
5036 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5038 * factory.C: fixed Note submenu issues
5040 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5042 * factory.C: submenu for Note/Comment/Greyedout
5044 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5047 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5049 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5052 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5053 greyedout. Patch provided by Jürgen Spitzmüller.
5055 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5057 * kbmap.C (read): fix error message when reading bind files
5059 2003-07-29 Angus Leeming <leeming@lyx.org>
5061 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5062 certainly does not do what it purports to do. I am doing it, and
5063 us, a favour by killing it.
5065 2003-07-28 José Matos <jamatos@lyx.org>
5067 * buffer.C (readBody, do_writeFile):
5068 * paragraph.C(readParagraph): \end_document replaces \the_end.
5070 2003-07-29 André Pönitz <poenitz@gmx.net>
5073 * BufferView_pimpl.[Ch]:
5077 * textcursor.[Ch]: remove toggleToggle & Co
5079 2003-07-28 José Matos <jamatos@fep.up.pt>
5081 * buffer.C (readParagraph):
5082 * params_func (readParToken, readParagraph):
5083 * paragraph.C (write): \layout -> \begin_layout.
5085 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * lyxlex_pimpl.C (setFile): clean up slightly.
5089 * bufferparams.h: add compressed var
5091 * buffer_funcs.C (readFile): adjust for LyXLex change
5092 (newFile): ditto + simplify
5094 * buffer.C (writeFile): handle writing of compressed files
5096 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5097 Check if the file is compressed and set a bufferparm if so.
5099 * Makefile.am (lyx_LDADD): remove explicit -lz
5101 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5103 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5104 makeDocBookFile): put the real LyX version in the first line of
5108 * version.C.in: remove lyx_docversion
5110 * tabular.C (write_attribute): add a template-based version to
5111 write enums properly
5113 2003-07-28 André Pönitz <poenitz@gmx.net>
5118 * text3.C: use doubles again for x-coordinates. They are needed.
5120 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5122 * messages.C (getLocaleDir): use lyx_localedir()
5124 * lyxlex_pimpl.C (setFile): compress stuff
5126 * buffer.C (writeFile): add some compression stuff
5127 (do_writeFile): new func, dont call expliti close... will this
5130 * Makefile.am (lyx_LDADD): add -lz
5132 2003-07-28 José Matos <jamatos@fep.up.pt>
5134 * buffer.C: increment file format.
5135 * paragraph_funcs (readParagraph, readParToken):
5136 * paragraph.C (readParagraph): add \end_layout.
5138 2003-07-27 Angus Leeming <leeming@lyx.org>
5140 * Makefile.am: remove special casing for configure-time setting of
5141 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5143 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5144 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5146 2003-07-26 André Pönitz <poenitz@gmx.net>
5148 * paragraph_func.[Ch]:
5149 * paragraph.C (realizeFont): inline it whereever it is used
5154 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5157 2003-07-26 André Pönitz <poenitz@gmx.net>
5161 * text2.C: get rid of LyXText::need_break_row
5163 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5165 * toc.[Ch]: put namespace toc inside namespace lyx
5167 * MenuBackend.C (expandToc2): adjust for lyx::toc
5170 * lyxfunc.C (dispatch): adjust for lyx::find
5172 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5173 lyx::find instead. Reorganize a bit.
5174 (LyXReplace): rename to replace
5175 (LyXFind): rename to find
5177 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5180 2003-07-26 André Pönitz <poenitz@gmx.net>
5182 * text.C (setHeightOfRow): restrict scope of temporary variable
5184 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5185 code (never has been used?)
5187 2003-07-27 Asger Alstrup <alstrup@local>
5189 * text.C (fill): Optimise algorithm to exploit that we can reuse
5190 the LyXFont for many characters.
5191 (setHeightOfRow): Same thing.
5192 (rowBreakPoint): Same thing.
5194 2003-07-26 Asger Alstrup <alstrup@local>
5196 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5198 * text.C (singleWidth): Spurious font copying in hot-spot
5199 singleWidth avoided. Reorder tests for arabic for efficiency.
5201 * text.C (fill): handle empty paragraphs better.
5203 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5206 * encoding.h: add includes
5208 * lyxrc.C: remove reading of bind files
5210 * lyx_main.C (init): setup bindings and menus only if we have a
5213 * kbmap.C (read): new method. Do the actual reading of bind
5216 * converter.C (dvipdfm_options):
5219 (output): adapt PAPER_* enums.
5221 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5223 * bufferparams.h: remove paper-related enums from there
5225 * paper.h: New file. A trivial header file to hold paper-related
5226 enums. It should later expand to contain many paper-related
5229 * lyxrc.C: declare extern displayTranslator
5231 2003-07-27 José Matos <jamatos@fep.up.pt>
5233 * tabular.[Ch] (linuxdoc): add support for tables and figures
5236 2003-07-27 José Matos <jamatos@fep.up.pt>
5238 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5239 consistency in both functions.
5240 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5242 2003-07-26 Asger Alstrup <alstrup@local>
5244 * rowpainter.C (paintRows): Change algorithm to work directly on
5245 the insets rather than asking every character in the document
5246 whether its an inset.
5248 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5250 * buffer.C (openFileWrite): factorize some code
5252 2003-07-26 Angus Leeming <leeming@lyx.org>
5255 * lyx_main.[Ch]: replace occurances of system_tempdir with
5258 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * rename Inset to InsetOld
5262 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5264 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5265 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5266 which I think is a bit clearer. EDIT is gone, since it was
5267 premature optimisation, and broken for mathed anyway.
5268 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5269 with cursor positioning in insets as well (math insets still do not
5270 work, but that's a different story anyway.) It mysteriously
5271 crashes sometimes with undo in the first paragraph, but I'm fairly
5272 confident that this is a compiler bug.
5274 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5276 * paragraph.C (Paragraph): adjust for new clone return type
5278 (copyIntoMinibuffer): ditto
5280 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5282 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5283 by not having a special case, and always doing a full rebreak of
5284 the document after undo.
5286 2003-07-23 Angus Leeming <leeming@lyx.org>
5288 * factory.C (createInset): InsetExternal::setParams now takes a
5291 2003-07-23 Angus Leeming <leeming@lyx.org>
5293 * factory.C (createInset): changed interface to the external and
5294 graphics mailers' string2params functions.
5296 2003-07-23 Angus Leeming <leeming@lyx.org>
5298 * factory.C (createInset): pass a
5299 Buffer const * parameter to InsetExternalMailer's string2params.
5301 2003-07-22 John Levon <levon@movementarian.org>
5303 * Thesaurus.h: include the right aiksaurus header
5305 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5307 * MenuBackend.C (expand): check menu shortcuts unconditionally
5309 2003-07-21 Angus Leeming <leeming@lyx.org>
5311 * factory.C (createInset): pass a
5312 buffer_path parameter to InsetGraphicsMailer's string2params.
5314 2003-07-21 Angus Leeming <leeming@lyx.org>
5316 * BufferView_pimpl.C (buffer):
5319 * lyxfunc.C (dispatch):
5320 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5321 rather than the grfx shortcut.
5323 2003-07-21 André Pönitz <poenitz@gmx.net>
5325 * rowpainter.C: remove unused variables
5328 * tabular_funcs.h: move to tabular.C
5329 * Makefile.am: adjust
5331 * tabular.[Ch]: basic optical cleaning
5333 * author.h: pass references, not values
5335 2003-07-18 André Pönitz <poenitz@gmx.net>
5343 * text3.C: two-phase drawing for InsetText and InsetTabular
5344 some float -> int changes.
5346 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5348 * lyx_main.C: fix the fix
5350 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5352 * lyx_main.C: fix a crash in batch mode if no files specified
5355 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5357 * format.[Ch] (papersize): moved to BufferParams
5358 * converter.[Ch] (dvips_options): moved to BufferParams
5359 (dvipdfm_options): moved to anon namespace
5360 * bufferparams.[Ch]: added above functions.
5362 2003-07-17 André Pönitz <poenitz@gmx.net>
5366 * text2.C: don't call inset->update() anymore
5368 * metricsinfo.[Ch]: add convenience constructor
5370 2003-07-16 André Pönitz <poenitz@gmx.net>
5375 * text2.C: replace the LyXCursor::irow_ member with
5376 on-demand computation of the value
5378 2003-07-16 John Levon <levon@movementarian.org>
5380 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5382 2003-07-15 André Pönitz <poenitz@gmx.net>
5385 * text2.C: remove no more needed refresh_row
5387 2003-07-15 André Pönitz <poenitz@gmx.net>
5392 * text3.C: refresh_status tristate -> need_update bool
5394 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5396 * lyxtext.h (init): remove reinit argument (act as if always true)
5397 * text2.C: adjust to that
5399 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5401 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5402 * text3.C: use it to delete selections in some cases
5403 (bugs 441, 673, 702, 954).
5405 2003-07-14 André Pönitz <poenitz@gmx.net>
5407 * rowpainter.[Ch]: reduce interface
5409 2003-07-14 André Pönitz <poenitz@gmx.net>
5411 * BufferView_pimpl.C:
5412 * text2.C: adjust after removing unused BufferView * argument
5414 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5416 * text2.C (init): fix a crash fired on resize
5418 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5420 * buffer.[Ch]: added new closing signal
5421 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5422 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5423 BufferView::Pimpl via the closing the signal
5425 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5427 * buffer.[Ch]: take out all bv-related from buffer
5429 * BufferView_pimpl.[Ch]: connect to new signals
5430 * CutAndPaste.C: removed useless asserts
5431 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5434 * lyxfunc.C: moved view-related funciontality from vc here
5435 * paragraph.C: removed outdated comments
5438 2003-07-10 André Pönitz <poenitz@gmx.net>
5440 * BufferView_pimpl.C:
5444 * text2.C: remove InsetText::InnerCache, clean up consequences
5446 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5448 * ispell.C: fix two typos in error messages
5450 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5452 * Extend Note inset to other forms of annotation like Comment
5453 and Greyedout. Right button click gives dialog.
5455 Files modified or added (+):
5459 * ControlNote.[Ch] +
5461 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5462 frontends/controllers
5466 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5468 * aspell.C: add missing namespace lyx::support
5470 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5472 * BufferView.[Ch] (newFile): Add
5473 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5474 * LaTeX.[Ch] (message): added this signal and use it
5475 * buffer.[Ch] (busy, message): added these signals and use them
5476 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5480 * importer.C: use buffer signals instead of direct bv calling
5481 * lyx_cb.[Ch] (ShowMessage): removed
5484 * paragraph_funcs.C:
5485 * text2.C: use buffer signals
5487 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * introduce namespace lyx::graphics
5491 2003-07-02 André Pönitz <poenitz@gmx.net>
5493 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5495 2003-07-01 André Pönitz <poenitz@gmx.net>
5502 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5503 text*.C to text_func.C
5505 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * introduce namespace lyx::support
5509 2003-06-30 André Pönitz <poenitz@gmx.net>
5514 * text.C: re-enable --with-included-string
5516 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * textcursor.C: add <config.h>
5520 * text.C (getWord): remove const from word_location arg
5522 * lyxvc.C (getLogFile): fix const type order
5524 * lyxtext.h: remove const from word_location arg, add arg name
5526 * lyxlayout.h: currect type on labeltype.
5528 * importer.C: correct \file
5530 * converter.C (intToFormat): use std:: on ret val, ws changes
5532 * bufferlist.h: correct \file
5534 * buffer.C (makeLinuxDocFile): fix const type order
5535 (makeDocBookFile): ditto
5536 (fillWithBibKeys): use std:: on stdlib args.
5538 * CutAndPaste.C: fix authors.
5539 (availableSelections): use std:: on return vector
5541 2003-06-27 André Pönitz <poenitz@gmx.net>
5543 * BufferView_pimpl.C:
5544 * bufferview_funcs.C:
5552 * text3.C: remove LyXCursor::row_ member
5555 * text.C: rename fullRebreak() to partialRebreak() and implement
5556 a fullRebreak() that really bereks fully
5558 * textcursor.h: new struct for cursor-related data
5560 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5562 * lyx_main.C (LyX): get full path of document loaded on the
5565 2003-06-26 André Pönitz <poenitz@gmx.net>
5567 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5568 remove unused/broken operator>,<,>=.
5570 * text.C: remove only use of broken operator<= in an Assert().
5572 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5574 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5575 moved errorlist_.clear to showErrorList
5577 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5579 * converter.C (scanLog, runLaTeX):
5580 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5581 move the bv->showErrorList call to the callers
5582 * lyxfunc.C: i.e. here...
5584 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5585 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5586 namespace, the second to...
5587 * buffer_funcs (BufferFormat, parseErrors): added
5588 * errorlist.C (ErrorList(TeXErrors const &)): removed
5590 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5592 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5594 2003-06-24 "Garst R. Reese" <reese@isn.net>
5598 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5600 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5602 * version.C.in: change docversion to 1.4
5604 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5606 * buffer.C: fix a bug just introduced
5608 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5610 * buffer.[Ch]: added the parseError signal and use it, removed
5612 * BufferView.[Ch] (addError): moved to ...
5613 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5614 to the Buffer::parseError signal to catch (guess what) parse errors
5615 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5617 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5619 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5620 ability to create a buffer and to return an existing one from
5621 the list. Moved these functions to...
5622 * buffer_funcs.[Ch]: added
5623 * BufferView.[Ch] (loadLyXFile): added
5624 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5625 job removed from bufferlist::loadLyXFile.
5626 * buffer.C (setReadOnly): make it work without view
5627 (i.e added an if (users))
5629 2003-06-19 Angus Leeming <leeming@lyx.org>
5632 * LyXAction.C (init):
5633 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5634 with LFUN_DIALOG_SHOW <name> <data>.
5636 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5638 * CutAndPaste.C (availableSelections): small compilation fix for
5639 ancient (gcc 2.9x) compilers
5641 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * text3.C (cursorNext): add tmp var
5645 * text2.C (updateCounters): for function calling out of for clause
5646 (replaceSelectionWithString): ditto
5647 (insertStringAsParagraphs): ditto
5648 (getColumnNearX): add tmp var
5649 (setCursorFromCoordinates): add tmp var
5650 (cursorDownParagraph): add tmp var
5651 (deleteEmptyParagraphMechanism): add tmp var
5653 * text.C (insertChar): add tmp var
5655 * rowpainter.C (paintDepthBar): add tmp var
5657 * CutAndPaste.C (availableSelections): potentially check all
5658 paragraphs in a cut to fill the shown strings.
5660 2003-06-18 André Pönitz <poenitz@gmx.net>
5662 * kbmap.[Ch]: use vector<> instead of list<>
5664 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5666 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5667 pasteSelection with index
5669 * text2.C (pasteSelection): modify, call pasteSelection with index
5671 * paragraph.C (asString): reimplement version with no interval to
5672 call the one with interval.
5674 * lyxtext.h: add index arg to pasteSelection
5676 * MenuBackend.C (MenuItem): handle PasteRecent
5677 (Menu::read::Menutags): add md_pasterecent
5679 (expandPasteRecent): new function
5682 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5684 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5686 (availableSelections): new function
5688 2003-06-17 Angus Leeming <leeming@lyx.org>
5690 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5692 2003-06-17 Angus Leeming <leeming@lyx.org>
5695 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5697 * lyxfunc.C (dispatch): invoke it.
5699 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5701 * iterators.C (operator++, ParPosition): reintroduce some
5702 const_cast for the benefit of older compilers.
5704 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5706 * text3.C (dispatch): do not modify clipboard when doing
5707 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5708 LFUN_DELETE_SKIP on a selection selection
5710 2003-06-16 André Pönitz <poenitz@gmx.net>
5716 * tabular.[Ch]: IU of clone() and getLabelList();
5718 2003-06-13 André Pönitz <poenitz@gmx.net>
5720 * tabular.h: compactification
5722 2003-06-12 André Pönitz <poenitz@gmx.net>
5726 * tabular_funcs.h: some renaming plus whitespace
5728 2003-06-12 André Pönitz <poenitz@gmx.net>
5731 * BufferView_pimpl.C:
5737 * toc.C: Return a Paragraph & for ParIterator::operator*()
5739 2003-06-11 John Levon <levon@movementarian.org>
5743 * ToolbarBackend.C: add "Toolbars" section and
5746 2003-06-10 Angus Leeming <leeming@lyx.org>
5749 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5751 * lyxfunc.C (dispatch): invoke it.
5753 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * main.C: protect <ios> with HAVE_IOS
5756 (main): protect sync_with_stdio with HAVE_IOS
5758 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5760 * text2.C (cutSelection): adjust
5761 (pasteSelection): adjust
5763 * messages.C: handle get of empty string
5765 * main.C (main): use sync_with_stdio(false)
5767 * lyxfunc.C (dispatch): adjust
5769 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5770 (WriteAs): remove unneeded BufferView arg.
5772 * bufferparams.h: use correct types on papersize, papersize2 and
5775 * bufferparams.C (readToken): adjust for type
5776 (writeLaTeX): add missing cases to switch.
5778 * bufferlist.C (quitWriteBuffer): adjust
5781 * buffer.C (asciiParagraph): remove some commented code.
5783 * CutAndPaste.C: remove current_view extern variable.
5784 (cutSelection): add BufferParams arg.
5785 (eraseSelection): add BufferParams arg.
5786 (pasteSelection): add Buffer const & arg
5788 2003-06-07 John Levon <levon@movementarian.org>
5791 * paragraph_funcs.C:
5792 * paragraph_pimpl.C:
5796 * paragraph.C: allow InsetERT to freely space lines,
5797 and some consolidation of code
5799 2003-06-06 José Matos <jamatos@fep.up.pt>
5801 * buffer.C (makeDocBookFile): fix bug #821
5803 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5805 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5807 2003-06-04 Angus Leeming <leeming@lyx.org>
5809 * buffer.C: bump format to 224.
5811 2003-06-05 André Pönitz <poenitz@gmx.net>
5813 * text2.C (redoParagraphs): remove two const_cast<>
5815 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5817 * ParagraphList.h: remove last remnants of NO_STD_LIST
5819 2003-06-03 Angus Leeming <leeming@lyx.org>
5821 * factory.C (createInset): small change to the way InsetExternal's params
5824 2003-06-04 André Pönitz <poenitz@gmx.net>
5826 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5828 * paragraph_pimpl.h:
5829 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5831 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5833 * undo_funcs.C: make some simple cases of undo work again
5835 2003-06-03 John Levon <levon@movementarian.org>
5837 * ispell.C: HPUX doesn't have sys/select.h
5840 2003-06-03 John Levon <levon@movementarian.org>
5842 * CutAndPaste.C: update tabular and include inset
5847 * paragraph.C: remove owningBuffer(), don't pass Buffer
5850 * factory.C: insetGraphicsParams changed
5852 2003-06-02 John Levon <levon@movementarian.org>
5858 * text3.C: remove insetparent
5860 2003-06-02 John Levon <levon@movementarian.org>
5863 * buffer.C: fix inset_iterator.end(), move out of line
5866 2003-06-01 John Levon <levon@movementarian.org>
5868 * text3.C: use a proper cut/paste when doing inset
5869 insert (from Jürgen Spitzmüller)
5871 2003-06-01 John Levon <levon@movementarian.org>
5873 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5875 2003-05-30 André Pönitz <poenitz@gmx.net>
5877 * rowpainter.C: unify second drawing phase
5879 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5881 * trans_mgr.C: remove one case of current_view
5883 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5885 * paragraph_funcs.h: remove paragraph.h include
5887 * paragraph.h: delete NO_STD_LIST stuff
5889 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5891 * buffer.h: remove paragraph.h include
5893 * ParagraphList.C: delete file
5895 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5897 * toc.C (getTocList): adjust
5899 * paragraph_pimpl.C (validate): adjust
5901 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5903 * paragraph.C (Paragraph): adjust
5904 (getPositionOfInset): use const_iterator, adjust
5905 (bibitem): use const_iterator, adjust
5906 (setInsetOwner): adjust
5908 * iterators.C (operator++): adjust
5910 * InsetList.[Ch]: Replace selfmade iterator with standard
5911 vector::iterator also introduce const_iterator. Remove getPos,
5912 getInset and setInset from InsetTable. Adjust accordingly.
5914 * BufferView.C (lockInset): adjust
5915 (ChangeInsets): adjust
5917 * tabular.[Ch]: delete commented same_id functions
5919 2003-05-28 John Levon <levon@movementarian.org>
5921 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5923 2003-05-28 André Pönitz <poenitz@gmx.net>
5925 * metricsinfo.[Ch]: remove 'fullredraw' member
5927 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5929 * lyxtextclass.C (operator): remove caching.
5931 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5935 * text2.C (cursorBottom): adjust
5936 (setCounter): use ParagraphList::find, adjust
5938 * text.C (workWidth): use ParagraphList::find, adjust
5940 * lyxcursor.C (LyXCursor): adjust
5942 * buffer.C (inset_iterator): adjust
5944 * ParagraphList.h: make iterator(value_type) private, make
5945 ParagraphList a friend of iterator.
5947 * ParagraphList.C (find): new function
5949 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5951 2003-05-27 André Pönitz <poenitz@gmx.net>
5953 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5955 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5957 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5959 2003-05-26 John Levon <levon@movementarian.org>
5961 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5963 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * remove same_id from function signatures, adjust.
5967 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5971 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5973 * paragraph.C (Paragraph): get rid of same_ids parameter
5975 * ParagraphList.C (insert): adjust
5978 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * paragraph_funcs.C (breakParagraph): adjust
5981 (breakParagraphConservative): adjust
5983 * buffer.C (readParagraph): adjust
5985 * ParagraphList.C (insert): take a reference instead of a pointer
5988 * paragraph.[Ch] (id): new function
5990 * bufferlist.C (newFile): adjust
5992 * ParagraphList.C (ParagraphList): adjust
5994 (push_back): take a reference instead of a pointer.
5996 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5998 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6001 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6002 set else use old code.
6004 * ParagraphList.C: remove all NO_NEXT code and only compile this
6005 code of NO_STD_LIST is set.
6007 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6009 * BufferView_pimpl.C:
6019 * graphics/GraphicsConverter.C:
6020 * graphics/PreviewLoader.C: header adjustment
6022 2003-05-23 Angus Leeming <leeming@lyx.org>
6024 * LaTeXFeatures.[Ch] (useBabel): new method.
6025 * bufferparams.C (writeLaTeX): use it.
6027 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6029 * ParagraphList.h (set): remove unused function.
6031 2003-05-23 André Pönitz <poenitz@gmx.net>
6034 * BufferView_pimpl.C:
6038 * undo_funcs.C: setUndo reworked
6040 * iterators.[Ch]: add access to topmost ParagraphList
6042 * lyxtext.[Ch] (workWidth): add a const
6044 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6046 * texrow.[Ch] (increasePos): remove function
6047 * exporter.C (export): removed unused var and outdated comment
6049 2003-05-23 Angus Leeming <leeming@lyx.org>
6051 * latexrunparams.h: rename fragile as moving_arg.
6052 * paragraph.C (simpleTeXOnePar): ditto.
6053 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6055 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6059 (textUndoOrRedo): comment out a currently unused var.
6061 * paragraph.h (NO_NEXT): enable NO_NEXT
6063 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6065 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6067 * exporter.C (Export): adjust for removeAutoInsets removal.
6069 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6071 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6073 * BufferView.[Ch] (removeAutoInsets): delete function
6075 2003-05-22 Angus Leeming <leeming@lyx.org>
6077 * latexrunparams.h: add a free_spacing variable.
6079 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6080 to pass moving_arg, as the data is stored in runparams.fragile.
6082 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6083 to Inset::latexOptional or to simpleTeXOnePar.
6085 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6086 free_spacing arg to Inset::latexOptional.
6088 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6091 2003-05-22 Angus Leeming <leeming@lyx.org>
6093 * latexrunparams.h: add fragile and use_babel variables.
6095 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6096 * buffer.C (makeLaTeXFile): store this returned value in
6097 runparams.use_babel, thus passing it to the inset::latex methods.
6099 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6100 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6102 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6103 longer has a fragile arg, as it is stored in runparams.fragile.
6105 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6106 moving_arg parameter as the data is stored in runparams.fragile.
6108 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6109 a fragile parameter as the data is stored in runparams.fragile.
6111 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6115 2003-05-22 Angus Leeming <leeming@lyx.org>
6117 * latexrunparams.h: add a 'bool nice' which defaults to false.
6119 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6120 now encapsulated within runparams.
6122 * bufferlist.C (updateIncludedTeXfiles):
6123 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6125 2003-05-22 Angus Leeming <leeming@lyx.org>
6127 * latexrunparams.h: new file containing struct LatexRunParams.
6128 * Makefile.am: add new file.
6130 * LaTeX.[Ch] (c-tor, run):
6131 * buffer.[Ch] (makeLaTeXFile):
6132 * bufferlist.[Ch] (updateIncludedTeXfiles):
6133 * converter.C (convert, scanLog):
6134 * converter.[Ch] (runLaTeX):
6135 * exporter.C (Export):
6136 * paragraph.[Ch] (simpleTeXOnePar):
6137 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6138 * paragraph_funcs.[Ch] (latexParagraphs):
6139 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6140 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6141 pass around a LatexRunParams parameter.
6143 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * paragraph.[Ch]: remove unused constructor
6147 * ParagraphList.C (erase): new function, taking two iterators
6149 2003-05-22 André Pönitz <poenitz@gmx.net>
6151 * undo_funcs.C: remove duplicated code
6153 * iterator.[Ch]: operator=
6155 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6157 * tabular.C (SetMultiColumn): ws changes
6159 * rowpainter.C (paintFirst): get rid of a ->previous
6161 * lyx_cb.C (getPossibleLabel): parlist simplification
6163 * BufferView.C (ChangeInsets): simplify slightly.
6165 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6167 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6168 * lfuns.h: new LFUN_SPACE
6169 * lyxfunc.C: protected space has a new lfun
6170 * paragraph_funcs.C: read new space insets
6172 * factory.C: handle new space insets
6174 2003-05-22 André Pönitz <poenitz@gmx.net>
6177 * BufferView_pimpl.C:
6180 * undo_funcs.C: return a ParIterator from getParFromID.
6182 * iterators.[Ch]: add two const's
6184 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * toc.C (getTocList): adjust
6188 * iterators.[Ch]: rework for parlist
6190 * buffer.C (par_iterator_begin): adjust
6191 (par_iterator_end): adjust
6193 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6195 * BufferView.C (removeAutoInsets): adjust
6196 (ChangeInsets): adjust
6198 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6200 * text.C (top_y): fix bug 1110
6202 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6204 * errorlist.[Ch]: added
6207 * BufferView_pimpl.C:
6208 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6211 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * Makefile.am: ensure that lyx is relinked upon changes to the
6214 various "convenience" libs.
6216 2003-05-20 Angus Leeming <leeming@lyx.org>
6218 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6219 files are compiled in alphabetical order again.
6221 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6223 2003-05-19 Angus Leeming <leeming@lyx.org>
6225 * gettext.[Ch]: remove "char const * _(char const *)".
6227 2003-05-19 André Pönitz <poenitz@gmx.net>
6229 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6238 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6240 2003-05-19 André Pönitz <poenitz@gmx.net>
6244 * lyxtextclass.[Ch]:
6246 * paragraph_funcs.[Ch]:
6248 * text3.C: more insetenv work
6250 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6252 * ParagraphParameters.C (params2string): small bug fixed
6254 2003-05-16 André Pönitz <poenitz@gmx.net>
6257 * bufferview_funcs.C: patch from Kornel Benko to prevent
6258 crash when _(...) is called twice in a statement
6260 2003-05-16 André Pönitz <poenitz@gmx.net>
6267 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6269 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6271 * lyx_main.C (init): remove spurious static_cast
6273 2003-05-14 André Pönitz <poenitz@gmx.net>
6275 * BufferView.C: fix format string
6277 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6279 * BufferView.[Ch] (insertErrors): removed
6280 * BufferView.[Ch] (showErrorList): added
6281 * buffer.C (runChkTeX):
6282 * converter.C (scanLog): call showErrorList instead of inserterrors
6284 2003-05-13 André Pönitz <poenitz@gmx.net>
6286 * BufferView_pimpl.C:
6288 * bufferview_func.C:
6295 * tabular_funcs.h: tostr() from its own header
6297 * ParagraphParameters.C:
6302 * text3.C: STRCONV()
6304 2003-05-12 André Pönitz <poenitz@gmx.net>
6307 * BufferView_pimpl.C:
6311 * ParagraphParameters.C:
6315 * bufferview_funcs.C:
6328 * paragraph_funcs.C:
6332 * text3.C: boost::format -> bformat all over the place
6335 2003-05-09 André Pönitz <poenitz@gmx.net>
6337 * LColor.[Ch]: Pimpl the #include <map> away
6339 2003-05-09 John Levon <levon@movementarian.org>
6341 * bufferlist.C: never remove emergency saves
6343 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6345 * Makefile.am: better lib building
6347 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6349 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6351 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6352 (simpleTeXSpecialChars): adjust
6353 (simpleTeXSpecialChars): adjust
6354 * paragraph.C (simpleTeXOnePar): adjust
6355 * buffer.C (makeLaTeXFile): adjust
6357 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6359 * text2.C (changeDepth): parlist cleanup
6360 (getColumnNearX): ditto
6362 * rowpainter.C (getLabelFont): parlist cleanup
6364 * bufferlist.C (newFile): parlist cleanup
6366 * CutAndPaste.C (eraseSelection): parlist cleanup
6368 * BufferView_pimpl.C (trackChanges): parlist cleanup
6371 * BufferView.C (lockInset): parlist cleanup.
6372 (ChangeInsets): ditto
6374 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6376 * CutAndPaste.h: Update file header.
6378 * CutAndPaste.C: Update file header.
6379 Store the parts cut out of the Document in a limited_stack.
6380 (copySelection): adjust
6381 (pasteSelection): new function, takes the index in the limited stack.
6382 (nrOfParagraphs): adjust
6383 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6384 simplify error inset insertion.
6385 (checkPastePossible): adjust
6387 2003-05-06 John Levon <levon@movementarian.org>
6389 * text2.C: don't cast wrap inset to float
6391 2003-05-05 André Pönitz <poenitz@gmx.net>
6394 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6396 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6397 few naked Paragraph *.
6399 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6401 * bufferparams.C: Output warning if a document with missing
6402 TeX document class is loaded
6403 * exporter.C: Disable TeX exports if the document class is missing
6406 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6407 isTeXClassAvailable()
6409 2003-05-03 John Levon <levon@movementarian.org>
6412 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6413 explicit cursor show/hide
6415 * BufferView_pimpl.h:
6416 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6417 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6419 * lyxfunc.C: hide cursor before dispatching.
6424 * text3.C: remove explicit cursor hides
6426 2003-05-02 André Pönitz <poenitz@gmx.net>
6428 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6431 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6434 * text2.C: tiny whitespace
6436 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * undo_funcs.C: almost only ws changes.
6440 * ParagraphList.C (splice): just return if pl is empty.
6442 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * ParagraphList.C (splice): new function.
6446 * CutAndPaste.C (pasteSelection): use it
6448 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * CutAndPaste.C (pasteSelection): remove the last next and
6451 previous from this file.
6453 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * CutAndPaste.C (pasteSelection): more clean up, user proper
6456 ParagraphList functions for pasteing.
6458 * ParagraphList.C (insert): new function, three arg insert
6460 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * ParagraphList.C (insert): new function, three arg insert
6464 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6467 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6471 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6473 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6475 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6478 (copySelection): clean up a bit.
6479 (pasteSelection): use make_pair
6481 * ParagraphList.C (ParagraphList): implement copy constructor
6482 (operator=): implement, base on copy constructor.
6485 * paragraph.C (erase): return a bool
6487 * paragraph_pimpl.C (erasePos): remove function, move contents...
6488 (erase): ... here. Return a bool.
6489 (erase): call erase instead of erasePos.
6491 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6493 * ParagraphList.h: define PitPosPair
6494 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6495 ParagraphList, fix a bug on pasting multiple pars
6496 * text2.C: change interface to C&P
6498 2003-04-30 André Pönitz <poenitz@gmx.net>
6500 * undo_func.C: revert part of yesterday's patch 2
6502 2003-04-30 John Levon <levon@movementarian.org>
6504 * LColor.C: s/tabular/table/
6506 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6508 * text3.C (dispatch): do not convert iterator -> pointer
6509 * undo_funcs.C (setCursorParUndo): ditto
6510 * text_funcs.C (transposeChars): ditto
6512 * text2.C (setLayout): ws changes only
6514 * text.C (breakParagraph): do not convert iterator -> pointer
6516 (acceptChange): ditto
6517 (rejectChange): ditto
6522 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6525 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6527 * text3.C (gotoInset): YABG (yet another bad getChar)
6529 2003-04-29 André Pönitz <poenitz@gmx.net>
6531 * paragraph.h: make operator= private unimplemented as long as
6534 * ParagraphList.C: whitespace
6537 * paragraph_pimpl.[Ch]:
6538 * paragraph_funcs.C:
6540 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6543 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6545 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6547 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6548 * paragraph.[Ch] (erase):
6549 * paragraph_pimpl.[Ch] (erase): change return type and value
6550 * text2.C (cutSelection): some rework
6552 2003-04-28 John Levon <levon@movementarian.org>
6554 * bufferlist.C: changes for unsaved changes dialog
6556 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * bufferlist.C (newFile): set language (messages_) for new
6561 * buffer.C (readFile): ws changes only.
6563 2003-04-28 André Pönitz <poenitz@gmx.net>
6568 * BufferView_pimpl.C:
6569 * BufferView.C: getParFromID related ParagraphList::iterator changes
6571 2003-04-28 André Pönitz <poenitz@gmx.net>
6573 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6576 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * messages.C: remove one more localedir class variable.
6580 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * messages.C (getLocaleDir): singleton generation function
6584 (Messages): add a default constructor.
6586 * main.C (main): do not setup localedir here, do not call
6589 * gettext.C (_): use it.
6590 (gettext_init): delete funciton
6592 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * gettext.C (getLyXMessages): new singleton generating function.
6596 * buffer.C (updateDocLang): adjust
6598 * Makefile.am (messages.o): add target
6599 (main.o): remove target
6601 2003-04-27 John Levon <levon@movementarian.org>
6606 * lyxvc.C: specify cancel button in Alert::prompt
6608 2003-04-26 John Levon <levon@movementarian.org>
6613 * LyXAction.C: add LFUN_INSET_SETTINGS
6615 * lyxfunc.C: don't enable tabular-feature when there's
6616 just any locking inset
6618 2003-04-26 John Levon <levon@movementarian.org>
6620 * bufferlist.C: re-add Cancel to buffer close question
6622 * lyxfunc.C: fix import UI a bit
6624 2003-04-25 John Levon <levon@movementarian.org>
6626 * gettext.C: remove the broken asserts for now
6628 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * messages.C: make case where setlocale cannot comply work better.
6632 * buffer.C (updateDocLang): new function
6633 (changeLanguage): use it
6636 * text2.C (setCounter): use B_ a bit.
6638 * lyxlayout.C (Read): be sure to trim the label strings.
6640 * messages.C (Messages): fix typo in comment
6642 * buffer.C (readFile): set message_ after file is loaded.
6643 (makeDocBookFile): remove double return
6644 (changeLanguage): reset message_ upon language change.
6645 (B_): new func, use this to get translated buffer strings.
6647 * main.C: add myself and Jean Marc as authors.
6649 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6651 * messages.[hC]: pimplify Messages, and three different pimpls to be
6652 used in different circumstances.
6654 * gettext.[Ch]: change for use with new message code.
6656 2003-04-24 André Pönitz <poenitz@gmx.net>
6658 * factory.C: support for eqref
6660 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * messages.[Ch]: add missing char
6664 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6666 * messages.[Ch]: New files
6668 2003-04-18 John Levon <levon@movementarian.org>
6672 * BufferView_pimpl.C:
6676 * text2.C: remove layout-copy/paste (bug 778)
6678 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6680 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6682 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6684 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6685 if they succeed. Act accordingly.
6687 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6689 * text2.C (setCharFont): adjust
6690 (setCounter): adjust
6691 (insertStringAsLines): adjust
6693 * text.C (leftMargin): adjust
6694 (setHeightOfRow): adjust
6696 * rowpainter.C (paintFirst): adjust
6699 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6701 (isFirstInSequence): ditto
6702 (getEndLabel): ditto
6705 * paragraph.C (getParLanguage): comment out some hard stuff.
6707 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6709 (simpleDocBookOnePar): ditto
6710 (makeDocBookFile): use ParagraphList::iterator
6712 * CutAndPaste.C (pasteSelection): adjust
6714 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6716 * text2.C (getFont): adjust
6717 (getLayoutFont): adjust
6718 (getLabelFont): adjust
6720 * paragraph_funcs.C (TeXOnePar): adjust
6722 * buffer.C (simpleLinuxDocOnePar): adjust
6723 (simpleDocBookOnePar): adjust
6725 * CutAndPaste.C (pasteSelection): adjust
6727 * BufferView.C (getEncoding): adjust
6729 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6731 2003-04-16 John Levon <levon@movementarian.org>
6733 * lyxfind.C: use parlist stuff for search/changes
6735 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6739 * text2.C (deleteEmptyParagraphMechanism): adjust
6741 * text2.[Ch] (ownerParagraph): delete func (both of them
6743 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6745 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6747 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6749 * ParagraphList.C: prepare for NO_NEXT
6751 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * text2.C (getFont): adjust
6754 (getLayoutFont): adjust
6755 (getLabelFont): adjust
6757 * paragraph.C (getFont): adjust
6758 (getLabelFont): adjust
6759 (getLayoutFont): adjust
6761 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6763 2003-04-15 John Levon <levon@movementarian.org>
6767 * lyx_main.C: handle Include in .ui files
6769 2003-04-15 John Levon <levon@movementarian.org>
6771 * MenuBackend.C: make the doc files length shorter
6774 * ToolbarBackend.C: handle toolbar placement flags,
6777 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6782 * paragraph_funcs.C (TeXOnePar): adjust
6784 * paragraph.C (getLabelFont): add outerfont arg, adjust
6785 (getLayoutFont): ditto
6786 (simpleTeXOnePar): adjust
6788 * paragraph_pimpl.C (realizeFont): delete func
6790 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6792 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6793 row argument, constify cur argument.
6795 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * text2.C (getFont): adjust
6798 (getLayoutFont): adjust
6799 (getLabelFont): adjust
6801 * paragraph_funcs.C (TeXOnePar): adjust
6802 (outerFont): new func...
6803 (realizeFont): ...moved out from here, changed this to facilitate
6806 * paragraph.C (getFont): take outerfont as arg, adjust
6807 (simpleTeXOnePar): add outerfont arg, adjust
6809 * buffer.C (simpleLinuxDocOnePar): adjust
6810 (simpleDocBookOnePar): adjust
6812 * CutAndPaste.C (pasteSelection): adjust
6814 * BufferView.C (getEncoding): adjust
6816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * text2.C (setCharFont): adjust
6819 (setCounter): adjust
6821 * text.C (leftMargin): adjust
6822 (setHeightOfRow): adjust
6824 * rowpainter.C (paintFirst): adjust
6827 * paragraph_pimpl.C (realizeFont): adjust
6829 * paragraph.C (isFirstInSequence): move from here...
6830 * paragraph_funcs.C (isFirstInSequence): ...to here
6832 * paragraph.C (outerHook): move from here...
6833 * paragraph_funcs.C (outerHook): ...to here
6835 * paragraph.C (depthHook): move from here...
6836 * paragraph_funcs.C (depthHook): ...to here
6838 * paragraph.C (getEndLabel): move from here...
6839 * paragraph_funcs.C (getEndLabel): ...to here
6841 * text2.C (realizeFont): move from here...
6842 * paragraph_funcs.C (realizeFont): ...to here
6844 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6848 2003-04-14 Angus Leeming <leeming@lyx.org>
6850 * LColor.[Ch]: scrap LColor mathcursor.
6852 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * lyxlex.[Ch] (text): delete function
6855 * trans.C (Load): adjust
6856 * paragraph_funcs.C (readParToken): adjust
6858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6861 vector<char> instead of a char[].
6863 * lyxlex_pimpl.C (getString): adjust
6865 (lex): use getString
6869 * lyxlex.C (text): use pimpl_->getString()
6873 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6875 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6876 (makeFontEntriesLayoutSpecific): temp var for par.size()
6877 (setLayout): temp var for ownerParagraphs().end()
6878 (fullRebreak): temp var for rows().end()
6879 (selectionAsString): temp var for boost::next(startpit), realize
6880 that the while really is a regular for loop.
6881 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6882 setCursor in one place.
6883 (setParagraph): temp vr for ownerParagraphs().end()
6884 (updateCounters): make the while loop a for loop
6885 (cutSelection): temp var for ownerParagraphs().end()
6886 (updateInset): make the do {} while() a regular for loop
6887 (getCursorX): use temp vars
6888 (setCurrentFont): use temp vars
6889 (getColumnNearX): use temp vars
6891 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6893 * text.C (transformChar): use temp var for getChar
6894 (computeBidiTables): use temp var for row->par()
6895 (fill): move temp vars for row->par() and pit->layout() earlier in
6897 (labelFill): use temp var for row->par()
6898 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6899 asc and desc, realize that pit never changes and that firstpit is
6900 just a duplicate and not needed. Exchange rit->par() with pit in a
6902 (breakAgain): use a temp var for boost::next(rit)
6903 (breakAgainOneRow): ditto
6904 (breakParagraph): use a temp var for rows().begin()
6905 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6906 (cursorRightOneWord): use temp var for cursor.par() and
6907 cursor.pos(), remove usage of tmpcursor.
6908 (cursorLeftOneWord): use temp var for cursor.par() and
6909 cursor.pos() only set cur at end of function.
6911 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * text.C, text2.C: exchange all usage of Paragraph::next with
6914 boost::next(ParagraphList::iterator)
6916 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6918 * text2.C (cursorTop): simplify implementation
6919 (cursorBottom): ditto
6920 (setParagraph): use ParagraphList::iterator
6921 (setCurrentFont): adjust
6922 (getColumnNearX): adjust
6923 (cursorRight): adjust
6924 (cursorLeft): remove usage of Paragraph::previous
6925 (cursorUpParagraph): ditto
6926 (deleteEmptyParagraphMechanism): slight cleanup
6928 * text.C (isBoundary): take a Paragraph const & instead of a
6930 (addressBreakPoint): ditto
6931 (leftMargin): remove usage of Paragraph::previous.
6932 (setHeightOfRow): ditto
6933 (cursorLeftOneWord): ditto
6934 (selectNextWordToSpellcheck): ditto
6937 (breakParagraph): remove one usage of Paragraph::next
6938 (redoParagraph): ditto
6939 (acceptChange): ditto
6940 (insertChar): adjust
6941 (rowBreakPoint): adjust
6943 * bufferview_funcs.C (toggleAndShow): adjust
6945 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6947 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6948 methods to access it.
6950 * text.C: Added updateRowPositions to compute all row positions.
6951 Make top_y and getRowNearY() to use the cached y position
6953 2003-04-11 John Levon <levon@movementarian.org>
6955 * text.C (rowBreakPoint): reintroduce the labelEnd
6956 checks, code copied from the row fill stuff. Deep voodoo.
6958 * text.C (fill): add a comment and debugging for the
6961 2003-04-11 John Levon <levon@movementarian.org>
6963 * text.C: make sure fullrow insets get wrapped to the next line,
6964 even when they're in a manual label
6966 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6968 * text2.C (insertParagraph): make it take ParagraphList::iterator
6970 (setLayout): make it return ParagraphList::iterator
6971 (redoParagraphs): ditto
6973 (checkParagraph): ditto
6975 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6977 * text2.C: adjust several funcs.
6978 (realizeFont): take a ParagraphList::iterator as arg.
6979 (getLayoutFont): ditto
6980 (getLabelFont): ditto
6981 (setCharFont): ditto
6983 * text.C: adjust several funcs.
6985 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6987 * text.C (selectNextWordToSpellcheck): don't accidentally
6990 2003-04-10 John Levon <levon@movementarian.org>
6992 * ToolbarBackend.C (getIcon): special handling for
6995 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6997 * text2.C (cursorRight): a getChar assert fixed
6999 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * text2.C (getFont): change to take a ParagraphList::iterator
7002 instead of Paragraph*
7003 Adjust several functions.
7005 * text.C (transformChar): change to take a ParagraphList::iterator
7006 instead of Paragraph*
7007 (singleWidth): ditto
7008 Adjust several functions.
7010 * rowpainter.C: adjust several functions
7011 * rowpainter.h:store a ParagraphList::iterator and not a
7015 2003-04-09 John Levon <levon@movementarian.org>
7020 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7021 and the "help" bits as well
7023 2003-04-09 John Levon <levon@movementarian.org>
7026 * ToolbarBackend.C: allow multiple toolbars
7028 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * undo_funcs.C (setCursorParUndo): adjust
7032 * text_funcs.C (transposeChars): adjust
7034 * text3.C (gotoNextInset): adjust
7037 * text2.C (setLayout): adjust
7038 (changeDepth): adjust
7040 (redoParagraphs): adjust
7041 (selectionAsString): adjust
7042 (setParagraph): adjust
7043 (insertInset): adjust
7044 (cutSelection): adjust
7045 (copySelection): adjust
7046 (pasteSelection): adjust
7047 (insertStringAsLines): adjust
7048 (updateInset): adjust
7049 (setCursor): change to take a ParagraphList::iterator parameter
7050 (setCursorIntern): change to take a ParagraphList::iterator parameter
7051 (setCurrentFont): adjust
7052 (cursorLeft): adjust
7053 (cursorRight): adjust
7054 (deleteEmptyParagraphMechanism): adjust
7056 * text.C (breakParagraph): adjust
7057 (insertChar): adjust
7058 (acceptChange): adjust
7059 (rejectChange): adjust
7060 (selectNextWordToSpellcheck): adjust
7061 (changeCase): adjust
7065 * lyxfind.C (SearchForward): adjust
7066 (SearchBackward): adjust
7067 (nextChange): adjust
7069 * lyxcursor.C (par): adjust
7071 * lyxcursor.h: store a ParagraphList::iterator instead of a
7074 * lyx_cb.C (getPossibleLabel): adjust
7076 * bufferview_funcs.C (toggleAndShow): adjust
7078 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7081 * BufferView.C (removeAutoInsets): adjust
7082 (lockedInsetStoreUndo): adjust
7084 2003-04-09 John Levon <levon@movementarian.org>
7086 * ToolbarBackend.C: try icon without argument
7087 if with argument fails
7089 2003-04-08 John Levon <levon@movementarian.org>
7092 * ToolbarBackend.C: add getIcon(), handle tooltip,
7093 and change from "Icon" to "Item".
7095 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7097 * BufferView.C (lockInset): another bad getchar crunched
7099 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7101 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7104 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7106 * lyxfind.C (searchForward, searchBackwards): bug 782
7108 2003-04-07 John Levon <levon@movementarian.org>
7110 * paragraph.C: remove dead comment
7112 * text.C: remove troublesome depth-fiddling code
7113 in leftMargin() and rightMargin() (bug 1017)
7115 * text.C: fix breaking of rows in nested lists
7118 * text2.C (updateCounters): fix up depth values
7121 2003-04-07 John Levon <levon@movementarian.org>
7123 * BufferView_pimpl.C: clear message when doc finishes resizing,
7124 and after a mouse event
7126 * lyxfunc.C: clear message after exiting inset
7128 2003-04-07 John Levon <levon@movementarian.org>
7130 * bufferview_funcs.C: show math status not outside
7131 status in the statusbar
7133 2003-04-07 John Levon <levon@movementarian.org>
7135 * lyxfunc.C: note status changed after a depth change
7137 2003-04-04 Angus Leeming <leeming@lyx.org>
7139 * LaTeX.h: move AuxInfo operator==, != out of line.
7140 Remove LaTeX virtual destructor; nothing derives from it.
7141 Move operator()() out of public area and rename it startscript().
7142 Change protected for private.
7144 2003-04-04 Angus Leeming <leeming@lyx.org>
7147 * text2.C: remove unneeded #includes.
7149 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7151 * text2.C (dEPM): fix the heigth of the next row
7153 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7155 * text.C: squashed an invalid getChar requester + some ws changes
7157 2003-04-03 John Levon <levon@movementarian.org>
7159 * bufferview_funcs.h:
7160 * bufferview_funcs.C:
7163 * text2.C: make getStatus work for the env depth lfuns
7165 2003-04-03 John Levon <levon@movementarian.org>
7167 * bufferview_funcs.h:
7168 * bufferview_funcs.C:
7171 * text2.C: parlistize decDepth(), by merging it with incDepth()
7173 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7175 * lyxrow.h: store a ParagraphList::iterator instead of a
7176 Paragraph* and adjust other class functions to suit.
7178 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7181 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7183 * text2.C (setCursor): do not anchor to cursor row for the time being
7185 2003-04-02 John Levon <levon@movementarian.org>
7192 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7194 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7196 * paragraph.h: make ParagraphList and ParagraphList::iterator
7197 friends of Paragraph.
7199 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7201 * ParagraphList.C: Use the private next_ and previous_ from
7204 2003-04-01 John Levon <levon@movementarian.org>
7208 * Makefile.am: rename, remove defaults gunk
7211 * MenuBackend.C: remove defaults gunk
7214 * Languages.C: remove defaults gunk
7217 * lyx_main.C: error out if files couldn't be found.
7219 2003-04-02 John Levon <levon@movementarian.org>
7221 * text2.C: make incDepth() use parlist
7223 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * undo_funcs.C (firstUndoParagraph): adjust
7227 * text3.C (gotoInset): adjust
7228 (dispatch): adjust, and rewrite loop.
7230 * text2.C (init): adjust, and rewrite loop.
7231 (redoParagraphs): adjust
7232 (updateInset): adjust, and rewrite loop.
7233 (deleteEmptyParagraphMechanism): adjust
7235 * tabular.C (LyXTabular): adjust
7236 (SetMultiColumn): adjust
7239 * lyxtext.[Ch] (ownerParagraph): delete function
7240 (ownerParagraphs): new function returns a ParagraphList.
7242 * BufferView.C (removeAutoInsets): adjust
7243 (insertErrors): adjust
7244 (setCursorFromRow): adjust
7246 2003-04-01 Angus Leeming <leeming@lyx.org>
7248 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7251 2003-04-02 John Levon <levon@movementarian.org>
7257 * text_funcs.C: make transposeChars a free function
7259 * lyxrow_funcs.C: remove wrong comment
7261 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7264 * rowpainter.C: adjust
7269 * lyxrow_funcs. [Ch]: new files
7271 * lyxrow.[Ch]: remove next and previous pointers
7272 (next,previous): remove accessor functions
7273 (isParEnd): move to lyxrow_funcs
7274 (lastPos): move to lyxrow_funcs
7275 (nextRowIsAllInset): move to lyxrow_funcs
7276 (lastPrintablePos): move to lyxrow_funcs
7277 (numberOfSeparators): move to lyxrow_funcs
7278 (numberOfHfills): move to lyxrow_funcs
7279 (numberOfLabelHfills): move to lyxrow_funcs
7280 (hfillExpansion): move to lyxrow_funcs
7284 * bufferview_funcs.C (toggleAndShow): adjust
7286 * RowList.h: Remove class RowList from file leave just a
7289 * RowList.C: delete file
7291 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7294 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7296 * text3.C (cursorPrevious): adjust
7297 (cursorNext): adjust
7300 * text2.C (redoHeightOfParagraph): adjust
7301 (redoDrawingOfParagraph): adjust
7304 * text.C (breakParagraph): adjust
7305 (insertChar): adjust
7308 * rowpainter.C (RowPainter): adjust
7309 (leftMargin): simplify and adjust
7310 (most rowpainter functions): adjust.
7312 * rowpainter.h: store the row as RowList::iterator not as Row*
7314 * lyxcursor.C (row): taka RowList::iterator as arg
7317 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7320 2003-04-01 Angus Leeming <leeming@lyx.org>
7322 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7323 stuff like bool Bool.
7325 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7327 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7330 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7335 * lyxtext.h (rows): drop one version and leve a const variant that
7336 returns a RowList::iterator.
7338 2003-03-31 Angus Leeming <leeming@lyx.org>
7340 * text.C (fill): ensure that the signature is the same as that in the
7343 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7345 * text2.C (redoParagraphs): adjust
7346 (updateCounters): adjust
7347 (checkParagraph): adjust
7348 (getColumnNearX): adjust and reformat a bit.
7350 * text.C (top_y): adjust
7352 (leftMargin): adjust
7353 (prepareToPrint): adjust
7355 (getRowNearY): adjust
7357 * lyxtext.h: make rowlist_ mutable.
7359 * RowList.h: add const_iterator
7360 * RowList.C: adjust for RowList::const_iterator.
7362 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7365 2003-03-31 John Levon <levon@movementarian.org>
7368 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7370 * lyx_main.C: set default fonts from using lyx_gui funcs
7372 * exporter.C: pdf_mode moved from lyxrc
7375 * lyxfunc.C: changes from above
7377 2003-03-31 John Levon <levon@movementarian.org>
7379 * lyx_main.C: fix to the last fix
7381 2003-03-31 John Levon <levon@movementarian.org>
7383 * bufferlist.C: "Load original" -> "Load Original"
7389 * format.C: more Alert cleanups
7391 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7393 * text2.C (removeParagraph): make it take a RowList::iterator as
7395 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7396 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7398 * text.C (anchor_row): make it take a RowList::iterator as arg,
7400 (computeBidiTables): make it take a const reference to Row instead
7401 of Row pointer, adjust.
7402 (leftMargin): make it take a RowList::iterator as arg, adjust.
7403 (rowBreakPoint): adjust
7404 (breakAgainOneRow): make it take a RowList::iterator as arg,
7406 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7408 * bufferview_funcs.C (toggleAndShow): adjust
7410 2003-03-30 John Levon <levon@movementarian.org>
7414 * boost-inst.C: moved to support
7416 * several files: changes as a result
7418 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7420 * text2.C (LyXText): adjust.
7422 (removeRow): make it take a RowList::iterator as arg, adjust.
7423 (fullRebreak): adjust
7424 (deleteEmptyParagraphMechanism): adjust
7425 (clearPaint): adjust
7428 * text.C (top_y): adjust
7429 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7430 (breakAgain): make it take a RowList::iterator as arg, adjust.
7431 (breakParagraph): adjust
7432 (insertChar): adjust
7435 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7436 need_break_row, and refresh_row.
7438 * text3.C (dispatch): adjust
7440 * text2.C (checkParagraph): adjust
7442 (setCursorFromCoordinates): adjust
7444 * text.C (top_y): adjust
7446 (getRow): make it return a RowList::iterator, adjust
7447 (getRowNearY): make it return a RowList::iterator, adjust
7449 * text2.C (init): adjust
7450 (insertRow): remove function
7451 (insertParagraph): adjust
7452 (redoParagraphs): adjust
7453 (fullRebreak): adjust
7454 (updateCounters): adjust
7456 * text.C (top_y): rewrite to use RowList iterators.
7458 (setHeightOfRow): rewrite to sue RowList iterators.
7459 (appendParagraph): adjust
7460 (breakAgain): adjust
7461 (breakAgainOneRow): adjust
7462 (breakParagraph): adjust
7464 (getRowNearY): adjust, and remove commented code.
7466 * lyxtext.h (firstRow): delete function
7467 (lastRow): delete function
7468 (rows): new function (const and non-const versions.)
7469 (insertRow): delete function
7471 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7473 2003-03-29 John Levon <levon@movementarian.org>
7475 * BufferView_pimpl.C: always update scrollbar top
7476 because pasting text when we're anchored could mean we
7477 miss an update altogether
7479 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * text2.C (init): use rowlist_.end() and not 0.
7482 (insertRow): change to take a RowList::iterator as arg, adjust
7484 (insertParagraph): change to take a RowList::iterator as arg,
7486 (redoParagraphs): remove some debug msgs.
7488 * text.C (appendParagraph): change to take a RowList::iterator
7489 arg, adjust for this.
7490 (breakAgain): add an assert
7491 (breakAgainOneRow): ditto
7493 2003-03-29 John Levon <levon@movementarian.org>
7495 * text2.C: do not clear selection after inc/decDepth
7498 2003-03-29 John Levon <levon@movementarian.org>
7501 * buffer.C: fix broken strerrors according to Lars
7503 2003-03-29 John Levon <levon@movementarian.org>
7505 * converters.C: more Alert cleanups
7507 2003-03-29 John Levon <levon@movementarian.org>
7509 * bufferview_funcs.C: remove pointless Alert
7511 * buffer.C: fix confusing error message when
7512 a template is chmoded 000
7514 2003-03-29 John Levon <levon@movementarian.org>
7518 * BufferView_pimpl.C: Alert fixes
7522 * tabular-old.C: remove unused table compat reading
7524 2003-03-29 John Levon <levon@movementarian.org>
7529 * lyx_cb.C: more Alert cleanups
7531 * lyxfunc.C: don't allow chktex if not latex document
7533 2003-03-29 John Levon <levon@movementarian.org>
7537 * buffer.C: warnings pushed down from support/,
7540 2003-03-29 John Levon <levon@movementarian.org>
7542 * lyxfunc.C: safety check for C-r (revert)
7544 2003-03-29 John Levon <levon@movementarian.org>
7547 * bufferlist.C: several UI fixes using Alert::prompt.
7548 Fix the pointless looping quit code. Fix stupid revert
7553 * lyx_cb.C: use Alert::prompt
7555 * lyx_main.C: remove a silly question
7557 * lyxfunc.C: remove a couple of silly questions,
7560 2003-03-28 John Levon <levon@movementarian.org>
7562 * text2.C: fix bug 974 (End on empty par)
7564 2003-03-28 John Levon <levon@movementarian.org>
7566 * BufferView_pimpl.C:
7568 * lfuns.h: remove do-nothing math greek lfuns
7570 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7572 * lyxgluelength.h (isValidGlueLength): add default arg on
7573 parameter 2. Remove default arg from friend in class.
7575 * lyxlength.h (isValidLength): add default arg on parameter 2.
7576 Remove default arg from friend in class.
7578 * text2.C (LyXText): adjust, initialize refresh_row.
7582 (insertParagraph): adjst
7583 (redoParagraphs): adjust
7584 (fullRebreak): adjust
7585 (updateCounters): adjust
7586 (deleteEmptyParagraphMechanism): first attempt at fixing a
7589 * text.C (top_y): adjust
7590 (setHeightOfRow): adjust
7592 (getRowNearY): adjust
7594 * lyxtext.h: include RowList.h
7595 (~LyXText): not needed anymore, deleted.
7596 (firstRow): modify for RowList
7597 (lastRow): new function
7598 Delete firstrow and lastrow class variables, add a Rowlist
7599 rowlist_ class variable.
7601 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7604 * RowList.C (insert): fix case where it == begin().
7606 2003-03-26 Angus Leeming <leeming@lyx.org>
7608 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7609 the thesaurus dialog.
7611 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7613 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7615 * RowList.[Ch]: new files
7617 * ParagraphList.C (erase): handle the case where it == begin
7620 2003-03-25 John Levon <levon@movementarian.org>
7624 * aspell.C: add new aspell support
7627 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7630 2003-03-25 Angus Leeming <leeming@lyx.org>
7633 * LyXAction.C (init): new LFUN_INSET_INSERT.
7635 * BufferView_pimpl.C (dispatch): split out part of the
7636 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7638 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7641 2003-03-25 Angus Leeming <leeming@lyx.org>
7643 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7645 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7648 * text3.C: remove useless row->height(0)
7650 2003-03-25 John Levon <levon@movementarian.org>
7654 * text3.C: rename the refreshing stuff to better names
7656 2003-03-24 John Levon <levon@movementarian.org>
7658 * BufferView_pimpl.h:
7659 * BufferView_pimpl.C: update layout choice on a mouse
7662 2003-03-23 John Levon <levon@movementarian.org>
7664 * Makefile.am: fix commandtags.h reference
7666 2003-03-22 John Levon <levon@movementarian.org>
7668 * BufferView_pimpl.C:
7673 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7675 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7678 * text.C: take the rtl methods out of line
7680 2003-03-21 André Pönitz <poenitz@gmx.net>
7682 * metricsinfo.[Ch]: new files containing structures to be passed around
7683 during the two-phase-drawing...
7685 2003-03-21 André Pönitz <poenitz@gmx.net>
7687 * lyxtextclass.C: read 'environment' tag.
7689 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7691 * text2.C (removeRow): fix bug 964
7693 2003-03-20 John Levon <levon@movementarian.org>
7697 * text2.C: paint cleanups. Inset::update() dropped font
7700 2003-03-19 John Levon <levon@movementarian.org>
7702 * lyxfunc.C: only fitcursor/markDirty if available()
7704 2003-03-19 John Levon <levon@movementarian.org>
7706 * commandtags.h: rename to ...
7708 * lfuns.h: ... this, and renumber / cleanup
7710 2003-03-19 John Levon <levon@movementarian.org>
7712 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7713 fit the cursor after an lfun
7717 * BufferView_pimpl.h:
7718 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7720 * LyXAction.C: layout-character should have ReadOnly
7722 * ParagraphParameters.C:
7724 * bufferview_funcs.C:
7731 * undo_funcs.C: changes from above
7733 2003-03-18 John Levon <levon@movementarian.org>
7735 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7736 remove it from update()
7738 * lyxfunc.C: update layout choice after an lfun
7740 * text3.C: remove extra updateLayoutChoice()s
7742 2003-03-18 John Levon <levon@movementarian.org>
7744 * text.C: top_y change means full repaint, fix
7745 a drawing bug with cursor movement
7747 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7751 * text2.C: anchor row on setCursor
7753 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7755 * lyxtext.h: remove almost all mutable keywords
7758 * text3.C: remove const keywords accordingly
7760 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7764 (TeXEnvironment): ditto
7767 2003-03-17 John Levon <levon@movementarian.org>
7769 * text.C (rowBreakPoint): remove attempt to fix displayed
7770 math insets inside a manual label
7772 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * lyxtext.h: remove BufferView* as first arg from almost all class
7776 * other files: adjust.
7778 2003-03-17 John Levon <levon@movementarian.org>
7782 * text2.C: more paint cleanups
7784 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7787 * rowpainter.C: remove "smart" background painting code
7789 2003-03-16 John Levon <levon@movementarian.org>
7794 * text3.C: add helper functions for setting refresh_row/y
7796 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7798 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7799 newline inset which *can* get inserted in the pass_thru layouts.
7800 This is primarily for literate documents.
7802 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7804 * buffer.C: increment LYX_FORMAT to 223
7806 2003-03-14 André Pönitz <poenitz@gmx.net>
7808 * textclass.h: prepare for environment handling, ws changes
7809 * lyxlayout.C: read latexheader and latexfooter tags
7811 2003-03-14 John Levon <levon@movementarian.org>
7813 * text2.C: rewrite ::status() a bit
7815 2003-03-13 John Levon <levon@movementarian.org>
7817 * lyxtext.h: add some docs
7819 2003-03-13 John Levon <levon@movementarian.org>
7824 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7826 2003-03-13 John Levon <levon@movementarian.org>
7828 * text3.C: fix appendix redrawing
7830 2003-03-13 John Levon <levon@movementarian.org>
7832 * text.C (setHeightOfRow):
7834 * rowpainter.C: make appendix mark have the text
7835 "Appendix" so the user knows what it is
7838 * LColor.C: s/appendixline/appendix/ from above
7840 2003-03-13 John Levon <levon@movementarian.org>
7842 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7844 * text.C: fix a getChar(pos) bug properly
7846 2003-03-13 Angus Leeming <leeming@lyx.org>
7849 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7850 Probably only temporary. Let's see how things pan out.
7852 * BufferView.C (unlockInset):
7853 * BufferView_pimpl.C (fitCursor):
7854 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7856 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7857 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7859 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7860 new functions that convert ParagraphParameters to and from a string.
7862 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7863 BufferView::Pimpl's dispatch.
7864 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7866 2003-03-13 André Pönitz <poenitz@gmx.net>
7870 * factory.C: make it aware of InsetEnv
7872 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * text2.C (setCursor): never ask for one past last
7875 (setCursor): add some debugging messages.
7877 * text.C (singleWidth): never ask for one past last
7878 (singleWidth): ditto
7880 (rightMargin): ditto
7881 (rowBreakPoint): ditto
7882 (setHeightOfRow): ditto
7883 (prepareToPrint): ditto
7885 * rowpainter.C (paintBackground): never ask for one past last
7886 (paintText): never ask for one past last
7888 * paragraph_pimpl.C (getChar): make the assert stricter, never
7889 allow the one past last pos to be taken
7891 * paragraph.C (getChar): ws changes only
7893 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7894 (numberOfSeparators): ditto
7895 (numberOfHfills): ditto
7897 2003-03-12 John Levon <levon@movementarian.org>
7903 * paragraph_funcs.C: fix per-buffer authorlists
7905 2003-03-12 John Levon <levon@movementarian.org>
7907 * text.C: fix newline in right address
7909 2003-03-12 Angus Leeming <leeming@lyx.org>
7911 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7912 duplicate those in LyXFunc::dispatch.
7916 * ToolbarDefaults.C:
7917 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7918 Add LFUN_FONTFREE_UPDATE.
7920 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7921 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7923 * bufferview_func.[Ch]: several new functions to facilliate
7924 transfer of data to and from the character dialog.
7926 2003-03-12 John Levon <levon@movementarian.org>
7931 * paragraph_funcs.C:
7932 * paragraph_pimpl.C:
7936 * text3.C: remove META_NEWLINE in favour of an inset
7939 * rowpainter.C: remove paintNewline (done by inset)
7941 2003-03-12 John Levon <levon@movementarian.org>
7943 * paragraph_pimpl.C: complain about bad getChar()s
7944 for a while at least
7946 2003-03-12 John Levon <levon@movementarian.org>
7949 * buffer.C: move paragraph read into a separate function,
7950 a little renaming to reflect that.
7953 * bufferparams.C: remove the author_ids map, not necessary now
7956 * factory.C: moved Buffer::readInset to here
7958 * paragraph_funcs.h:
7959 * paragraph_funcs.C: readParagraph free function moved from
7962 * tabular.C: name change
7964 2003-03-12 John Levon <levon@movementarian.org>
7967 * ParagraphParameters.C: move par params input to
7970 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7971 behave like a normal read from the stream wrt reading
7972 a line vs. a \\token
7974 2003-03-12 John Levon <levon@movementarian.org>
7977 * ParagraphParameters.h:
7978 * ParagraphParameters.C: move output code to a
7981 2003-03-12 John Levon <levon@movementarian.org>
7983 * BufferView.C (insertLyXFile):
7986 * tabular.C: use a parlist iterator for creating the
7989 2003-03-12 John Levon <levon@movementarian.org>
7991 * buffer.C: make current_change static local not
7994 2003-03-12 John Levon <levon@movementarian.org>
7996 * buffer.C: fix insertStringAsLines for change tracking
7998 2003-03-12 John Levon <levon@movementarian.org>
8005 * bufferparams.C: move author list into params. Rename some
8006 functions. Move the header reading into a separate token
8007 loop. Move the header token reading into BufferParams.
8009 2003-03-12 John Levon <levon@movementarian.org>
8011 * changes.C: put debug inside lyxerr.debugging() checks
8013 2003-03-11 André Pönitz <poenitz@gmx.net>
8015 * factory.C: make it aware of InsetHFill
8017 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8019 * buffer.C (latexParagraphs): move function from here...
8020 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8023 2003-03-10 Angus Leeming <leeming@lyx.org>
8025 * LyXAction.C (init): fix bug in poplating array with multiple entries
8026 with the same LFUN (spotted by JMarc).
8028 2003-03-10 John Levon <levon@movementarian.org>
8031 * text2.C: move getColumnNearX() near its
8034 2003-03-10 John Levon <levon@movementarian.org>
8036 * text.C: fix break before a minipage
8038 2003-03-10 John Levon <levon@movementarian.org>
8040 * text.C: fix the last commit
8042 2003-03-09 John Levon <levon@movementarian.org>
8046 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8047 bug 365 (don't break before insets unless needed). Don't
8048 return a value > last under any circumstances.
8050 2003-03-09 Angus Leeming <leeming@lyx.org>
8052 * BufferView_pimpl.C (trackChanges, dispatch): call
8053 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8055 2003-03-09 Angus Leeming <leeming@lyx.org>
8057 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8058 than Dialogs::showAboutlyx().
8060 2003-03-09 Angus Leeming <leeming@lyx.org>
8062 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8063 than Dialogs::showTabularCreate().
8065 2003-03-09 John Levon <levon@movementarian.org>
8069 * text2.C: 3rd arg to nextBreakPoint was always the same.
8072 2003-03-08 John Levon <levon@movementarian.org>
8079 * text2.C: Remove the "main" bit from the "main body"
8082 2003-03-08 John Levon <levon@movementarian.org>
8084 * text.C (leftMargin): The left margin of an empty
8085 manual label paragraph should not include the label width
8088 * text.C (prepareToPrint): don't attempt to measure hfills
8089 for empty manual label paragraphs - the answer should be 0
8091 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8093 * CutAndPaste.C: remove commented code and reindent.
8095 2003-03-08 John Levon <levon@movementarian.org>
8098 * lyxfunc.C: move reloadBuffer()
8101 * BufferView.C: to here
8103 * lyxvc.C: add comment
8106 * vc-backend.C: call bv->reload() to avoid
8107 getStatus() check on MENURELOAD
8109 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8111 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8112 to an old format .dep file.
8114 2003-03-07 Angus Leeming <leeming@lyx.org>
8116 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8117 when the LFUN_MOUSE_RELEASE should have been handled by
8118 inset->localDispatch.
8120 2003-03-07 Angus Leeming <leeming@lyx.org>
8122 * BufferView_pimpl.C (dispatch):
8123 * LyXAction.C (init):
8124 * ToolbarDefaults.C (init):
8126 * lyxfunc.C (getStatus):
8127 remove LFUN_INSET_GRAPHICS.
8129 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8131 2003-03-07 Angus Leeming <leeming@lyx.org>
8134 * LyXAction.C (init):
8135 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8137 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8140 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8142 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8143 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8145 2003-03-07 Angus Leeming <leeming@lyx.org>
8147 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8150 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * ParagraphList.C (front): new function
8155 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8157 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8158 and top_row_offset_. removed var first_y.
8160 * text2.C (LyXText, removeRow):
8162 * BufferView_pimpl.C:
8163 use these methods instead of using first_y
8165 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8167 * text2.C (pasteSelection): adjust for checkPastePossible
8169 * CutAndPaste.C: remove Paragraph * buf and replace with
8170 ParagraphList paragraphs.
8171 (DeleteBuffer): delete
8172 (cutSelection): change the tc type to textclass_type
8173 (copySelection): change the tc type to textclass_type
8174 (copySelection): adjust for ParagraphList
8175 (pasteSelection): change the tc type to textclass_type
8176 (pasteSelection): adjust for Paragraphlist
8177 (nrOfParagraphs): simplify for ParagraphList
8178 (checkPastePossible): simplify for ParagraphList
8179 (checkPastePossible): remove unused arg
8181 * ParagraphList.C (insert): handle the case where there are no
8184 * CutAndPaste.h: make CutAndPaste a namespace.
8186 * text3.C (dispatch): adjust
8188 * text.C (breakParagraph): add a ParagraphList as arg
8190 * paragraph_funcs.C (breakParagraph): change to take a
8191 BufferParams and a ParagraphList as args.
8192 (breakParagraphConservative): ditto
8193 (mergeParagraph): ditto
8194 (TeXDeeper): add a ParagraphList arg
8195 (TeXEnvironment): ditto
8198 * buffer.C (readLyXformat2): adjust
8199 (insertStringAsLines): adjust
8200 (latexParagraphs): adjust
8202 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8203 (cutSelection): adjust
8204 (pasteSelection): adjust
8206 * BufferView_pimpl.C (insertInset): adjust
8208 2003-03-05 Angus Leeming <leeming@lyx.org>
8211 * LyXAction.C (init):
8212 * BufferView_pimpl.C (dispatch):
8213 * lyxfunc.C (getStatus):
8214 remove LFUN_CHILD_INSERT.
8216 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8218 2003-03-05 Angus Leeming <leeming@lyx.org>
8221 * LyXAction.C (init):
8222 * src/factory.C (createInset):
8223 * lyxfunc.C (getStatus):
8224 * text3.C (dispatch):
8225 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8227 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8229 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * ParagraphList.C (insert): handle insert right before end()
8232 (erase): fix cases where it can be first or last paragraph.
8234 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8236 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8237 Paragraph::next and Paragraph::previous
8240 * text.C (breakParagraph): adjust
8242 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8243 BufferParams& as arg.
8244 (breakParagraph): use ParagraphList::insert
8245 (breakParagraphConservative): take a Buffer* instead of a
8246 BufferParams& as arg.
8247 (breakParagraphConservative): use ParagraphList::insert.
8249 * buffer.C (insertStringAsLines): un-const it
8250 (insertStringAsLines): adjust
8252 * ParagraphList.C (insert): new function
8254 * CutAndPaste.C (pasteSelection): adjust
8256 * text.C (backspace): adjust
8258 * tabular.C (SetMultiColumn): adjust
8260 * CutAndPaste.C (cutSelection): adjust
8261 (pasteSelection): adjust
8263 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8264 Buffer const * as arg
8266 * ParagraphList.C (erase): new function
8267 * paragraph_funcs.C (mergeParagraph): use it
8268 (mergeParagraph): make it take a Buffer* instead of a
8269 BufferParams* as arg
8271 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8273 (breakParagraphConservative): ditto
8275 * paragraph.h: remove the breakParagraph friend
8277 * paragraph.C (eraseIntern): new function
8278 (setChange): new function
8280 * paragraph_funcs.C (mergeParagraph): make it take a
8281 ParagraphList::iterator instead of a Paragraph *, adjust
8284 * paragraph.h: move an #endif so that the change tracking stuff
8285 also works in the NO_NEXT case.
8287 2003-03-04 Angus Leeming <leeming@lyx.org>
8290 * LyXAction.C: new LFUN_INSET_MODIFY.
8292 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8293 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8295 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8297 * several files: ws changes only
8299 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8300 (TeXEnvironment): ditto
8303 * buffer.C (makeLaTeXFile): adjust
8304 (latexParagraphs): make it take ParagraphList::iterator as args
8306 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8308 * buffer.C (latexParagraphs): adjust
8310 * paragraph.C (TeXOnePar): move function...
8311 (optArgInset): move function...
8312 (TeXEnvironment): move function...
8313 * paragraph_pimpl.C (TeXDeeper): move function...
8314 * paragraph_funcs.C: ...here
8316 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8318 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8320 * buffer.C (readInset): remove compability code for old Figure and
8323 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * buffer.C: ws changes
8328 * BufferView_pimpl.C: ditto
8331 * bufferlist.h: ditto
8335 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8337 * converter.[Ch]: split into itself +
8340 * Makefile.am: += graph.[Ch] + format.[Ch]
8347 * lyxrc.C: added #include "format.h"
8349 2003-02-27 Angus Leeming <leeming@lyx.org>
8351 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8354 * factory.C (createInset): add "label" to the factory.
8356 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8357 string and do no more.
8359 2003-02-27 Angus Leeming <leeming@lyx.org>
8362 * LyXAction.C (init):
8363 * factory.C (createInset):
8364 * BufferView_pimpl.C (dispatch):
8365 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8367 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8369 * lyxfunc.C (dispatch):
8370 * text3.C (dispatch): pass name to params2string.
8372 2003-02-26 Angus Leeming <leeming@lyx.org>
8374 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8376 Rearrange the ~includes. Strip out the unnecessary ones.
8378 * factory.C (createInset): reformat.
8379 create new insets for the various LFUN_XYZ_APPLY lfuns.
8381 2003-02-26 John Levon <levon@movementarian.org>
8384 * lyxrow.C: add isParStart,isParEnd helpers
8386 * paragraph.h: make isInserted/DeletedText take refs
8388 * paragraph_funcs.h:
8389 * paragraph_funcs.C: remove #if 0'd code
8394 * text.C: use lyxrow helpers above.
8395 Move draw and paint routines to RowPainter.
8396 Make several methods use refs not pointers.
8397 Make backgroundColor() const.
8398 Add markChangeInDraw(), isInInset().
8399 Merge changeRegionCase into changeCase.
8400 Make workWidth() shouldn't-happen code into an Assert.
8403 * rowpainter.C: new class for painting a row.
8406 * vspace.C: make inPixels take a ref
8408 2003-02-26 Angus Leeming <leeming@lyx.org>
8410 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8413 2003-02-25 John Levon <levon@movementarian.org>
8415 * ispell.C: give the forked command a more accurate name
8417 2003-02-22 John Levon <levon@movementarian.org>
8420 * toc.C: make TocItem store an id not a Paragraph *
8423 2003-02-21 Angus Leeming <leeming@lyx.org>
8425 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8426 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8427 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8428 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8429 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8430 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8432 * BufferView_pimpl.C (dispatch):
8433 * LyXAction.C (init):
8434 * factory.C (createInset):
8435 * lyxfunc.C (getStatus, dispatch):
8436 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8438 2003-02-21 Angus Leeming <leeming@lyx.org>
8440 * BufferView_pimpl.C (MenuInsertLyXFile):
8441 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8442 * lyxfunc.C (menuNew, open, doImport):
8443 no longer pass a LyXView & to fileDlg.
8445 2003-02-21 Angus Leeming <leeming@lyx.org>
8447 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8448 * LyXAction.C: change, BIBKEY to BIBITEM.
8449 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8450 Change InsetBibKey to InsetBibitem.
8451 Change BIBKEY_CODE to BIBITEM_CODE.
8452 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8453 * factory.C: replace insetbib.h with insetbibitem.h.
8454 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8455 * paragraph.C: replace insetbib.h with insetbibitem.h.
8456 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8457 Change bibkey() to bibitem().
8458 * text.C: remove insetbib.h.
8459 * text2.C: replace insetbib.h with insetbibitem.h.
8460 change bibkey() to bibitem().
8461 * text3.C: remove insetbib.h.
8462 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8464 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8466 * lyxrc.C (output): enclose user email in quotes (in case there are
8469 2003-02-18 John Levon <levon@movementarian.org>
8471 * buffer.h: add std::
8473 2003-02-17 John Levon <levon@movementarian.org>
8479 * pspell.C: reworking. Especially in ispell, a large
8480 number of clean ups and bug fixes.
8482 * lyxfunc.C: fix revert to behave sensibly
8484 2003-02-17 André Pönitz <poenitz@gmx.net>
8487 * commandtags.h: new LFUN_INSERT_BIBKEY
8497 * paragraph_func.C: remove special bibkey handling
8499 2003-02-17 John Levon <levon@movementarian.org>
8501 * text.C (Delete): fix case where delete at the end of
8502 the very first paragraph would not merge the pars
8504 2003-02-17 John Levon <levon@movementarian.org>
8506 * lyxrow.C: fix lastPrintablePos()
8508 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8510 * bufferparams.C (writeLaTeX): add a std:here
8512 * buffer.C: and remove a using directive there
8514 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8516 * buffer.C (makeLaTeXFile): move the code that generates the
8519 * bufferparams.C (writeLaTeX): ... in this new method
8521 * LaTeXFeatures.C (getEncodingSet): make const
8522 (getLanguages): make const
8524 * MenuBackend.C (binding): returns the binding associated to this
8526 (add): sets the status of each item by calling getStatus. Adds
8528 (read): add support for OptSubMenu
8529 (expand): remove extra separator at the end of expanded menu
8531 2003-02-15 John Levon <levon@movementarian.org>
8534 * BufferView_pimpl.C:
8536 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8537 inset code that had no actual effect. Remove unneeded status
8540 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8542 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8545 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8547 * text.C (drawLengthMarker): also draw an arrow marker for
8548 symbolic lengths (medskip...)
8550 2003-02-14 John Levon <levon@movementarian.org>
8553 * tabular.C: better method names
8555 2003-02-14 John Levon <levon@movementarian.org>
8557 * BufferView_pimpl.C:
8562 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8563 it's a more accurate name. Remove some pointless uses.
8565 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8567 * text2.C (LyXText): change order of initilizers to shut off
8570 2003-02-14 John Levon <levon@movementarian.org>
8572 * buffer.C: use ParIterator for getParFromID()
8576 * paragraph_pimpl.h:
8577 * paragraph_pimpl.C: remove unused getParFromID()
8579 2003-02-14 John Levon <levon@movementarian.org>
8581 * buffer.C: remove some very old #if 0'd parse code
8583 2003-02-13 John Levon <levon@movementarian.org>
8587 * text2.C: move hfillExpansion(), numberOfSeparators(),
8588 rowLast(), rowLastPrintable(), numberofHfills(),
8589 numberOfLabelHfills() ...
8592 * lyxrow.C: ... to member functions here.
8597 * text.C: remove LyXText::beginningOfMainBody(), and call
8598 p->beginningOfMainBody() directly. Move the check for
8599 LABEL_MANUAL into the latter.
8606 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8612 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8613 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8615 2003-02-13 John Levon <levon@movementarian.org>
8617 * CutAndPaste.C: remove debug
8619 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8621 * paragraph.C (asString): remove two unused variables
8623 * lyxtextclass.C (readTitleType):
8625 (LyXTextClass): handle new members titletype_ and titlename_
8627 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8629 2003-02-09 John Levon <levon@movementarian.org>
8632 * buffer.C: replace hand-coded list with a map for the dep clean
8634 2003-02-08 John Levon <levon@movementarian.org>
8636 * LaTeX.C: consolidate code into showRunMessage() helper
8638 2003-02-08 John Levon <levon@movementarian.org>
8643 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8644 and pass the size in explicitly
8646 * BufferView_pimpl.h:
8647 * BufferView_pimpl.C:
8649 * BufferView.C: add getCurrentChange()
8651 * BufferView_pimpl.h:
8652 * BufferView_pimpl.C: handle change lfuns
8654 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8655 for changes. Mark pasted paragraphs as new.
8657 * support/lyxtime.h:
8658 * support/lyxtime.C:
8659 * DepTable.C: abstract time_t as lyx::time_type
8662 * LColor.C: add colours for new text, deleted text, changebars
8664 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8665 package use "usenames" option.
8669 * LyXAction.C: add change lfuns
8673 * author.C: author handling
8676 * buffer.C: add a per-buffer author list, with first entry as
8677 current author. Handle new .lyx tokens for change tracking. Output
8678 author list to .lyx file. Output dvipost stuff to .tex preamble.
8679 Bump lyx format to 222.
8682 * bufferlist.C: add setCurrentAuthor() to reset current author details
8686 * bufferparams.C: add param for tracking
8688 * bufferview_funcs.C: output change info in minibuffer
8692 * changes.C: add change-tracking structure
8695 * debug.C: add CHANGES debug flag
8698 * lyxfind.C: add code for finding the next change piece
8701 * lyxrc.C: add user_name and user_email
8704 * lyxrow.C: add a metric for the top of the text line
8707 * text.C: implement accept/rejectChange()
8710 * text.C: paint changebars. Paint new/deleted text in the chosen
8711 colours. Strike through deleted text.
8715 * paragraph_pimpl.h:
8716 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8717 in the current change to the insert functions. Rework erase to
8718 mark text as deleted, adding an eraseIntern() and a range-based
8719 erase(). Implement per-paragraph change lookup and
8722 * paragraph_funcs.C: Fixup paste for change tracking.
8724 * tabular.C: mark added row/columns as new.
8726 * text.C: fix rowLast() to never return -1. Don't allow
8727 spellchecking of deleted text. Track transpose changes. Don't
8728 allow paragraph break or merge where appropriate.
8730 * text2.C: leave cursor at end of selection after a cut.
8732 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * text.C (getLengthMarkerHeight):
8735 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8736 visible on screen too.
8738 2003-02-07 John Levon <levon@movementarian.org>
8740 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8742 2003-02-05 Angus Leeming <leeming@lyx.org>
8744 * lyxserver.C (read_ready): revert my patch of 11 September last year
8745 as it sends PC cpu through the roof. Presumably this means that
8746 the lyxserver will no longer run on an Alpha...
8748 2003-01-30 Angus Leeming <leeming@lyx.org>
8750 * factory.C (createInset): create an InsetCommandParam of type "index"
8751 and use it to 'do the right thing'.
8753 * text2.C (getStringToIndex): ensure that cursor position is always
8754 reset to the reset_cursor position.
8756 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8758 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8761 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8765 * lyxfunc.C: Output messages with identical spelling, punctuation,
8768 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8770 * MenuBackend.C (expandFormats): List only viewable export formats
8773 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8776 * lyxfunc.C (getStatus): Make sure that formats other than
8777 "fax" can also be disabled
8779 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8781 * text3.C (dispatch): put the lfuns that insert insets in 3
8782 groups, and call doInsertInset with appropriate arguments.
8783 (doInsertInset): new function, that creates an inset and inserts
8784 it according to some boolean parameters.
8786 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8788 * buffer.C (readFile): remember to pass on 'par' when calling
8789 readFile recursively.
8791 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8793 * MenuBackend.C (expandFormats): add "..." to import formats.
8795 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8797 * paragraph.C (asString): Remove XForms RTL hacks.
8799 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8800 * buffer.C: fix typo
8802 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * Makefile.am (LIBS): delete var
8805 (lyx_LDADD): add @LIBS@ here instead.
8807 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8809 * Clarify the meaning of "wheel mouse jump"
8811 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8813 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8816 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8818 * importer.C (Loaders): do not preallocate 3 elements in the
8819 vector, since one ends up with 6 elements otherwise
8821 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8823 * DepTable.C (write): write the file name as last element of the
8824 .dep file (because it may contain spaces)
8825 (read): read info in the right order
8827 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * paragraph_pimpl.C (simpleTeXBlanks):
8830 (simpleTeXSpecialChars):
8831 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8833 * tabular.C (latex): add some missing case statements. Reindent.
8835 * MenuBackend.C (expandToc): remove unused variable.
8837 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8846 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8849 2003-01-05 John Levon <levon@movementarian.org>
8852 * BufferView.C: add getEncoding()
8855 * kbsequence.C: do not store last keypress
8858 * lyxfunc.C: store last keypress here instead. Pass encoding
8861 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8863 * lyx_main.C (init): remove annoying error message when following
8864 symbolic links (bug #780)
8866 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8868 * text.C (insertChar):
8869 * lyxrc.C (getDescription): remove extra spaces
8871 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8873 * lyxrc.C (getDescription): remove extra spaces
8875 2002-12-20 John Levon <levon@movementarian.org>
8877 * text3.C: hack fix for page up/down across tall rows
8879 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8881 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8884 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8886 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8887 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8888 thesaurus is not compiled in
8890 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8892 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8894 2002-12-16 Angus Leeming <leeming@lyx.org>
8897 * lyx_main.C (init): remove override_x_deadkeys stuff.
8899 2002-12-12 John Levon <levon@movementarian.org>
8901 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8902 insert. Only remove shift modifier under strict
8905 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8907 * MenuBackend.C (expandToc): fix crash.
8909 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * MenuBackend.C (expandToc): gettext on float names.
8913 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8915 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8916 implement bool empty() [bug 490]
8918 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8922 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8924 * several files: ws changes
8926 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8928 * text2.C (setCounter): clean up a bit, use boost.format.
8929 (updateCounters): initialize par upon declaration.
8931 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8932 if the layout exists. We do not just store the layout any more.
8933 (SwitchLayoutsBetweenClasses): use boost.format
8935 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8937 * converter.C (convert): if from and to files are the same, use a
8938 temporary files as intermediary
8940 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8945 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8947 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8949 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8951 * tabular.C (asciiPrintCell): use string(size, char) instead of
8954 * sgml.C (openTag): fix order of arguments to string constructor
8957 * lyxfunc.C (dispatch): use boost.format
8959 * lots of files: change "c" -> 'c'
8961 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8963 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8965 2002-11-25 Angus Leeming <leeming@lyx.org>
8967 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8969 * lyx_main.C (init): compile fix.
8971 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8973 * lyx_cb.C (start): boost.formatify
8974 do not include <iostream>
8976 * lengthcommon.C: ws only
8978 * boost-inst.C,BoostFormat.h: add more explict instantations
8980 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8982 * lots of files: handle USE_BOOST_FORMAT
8984 2002-11-21 John Levon <levon@movementarian.org>
8986 * pspell.C: fix compile
8988 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8990 * lyxfunc.C (dispatch): use boost::format
8994 * lyxfont.C (stateText): use boost::format
8996 * lyx_main.C (LyX): use boost::format
8998 (queryUserLyXDir): ditto
9001 (typedef boost::function): use the recommened syntax.
9003 * importer.C (Import): use boost::format
9005 * debug.C (showLevel): use boost::format
9007 * converter.C (view): use boost::format
9012 * bufferview_funcs.C (currentState): use boost::format
9014 * bufferlist.C (emergencyWrite): use boost::format
9016 * buffer.C (readLyXformat2): use boost::format
9017 (parseSingleLyXformat2Token): ditto
9019 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9021 * LaTeX.C (run): use boost::format
9023 * Chktex.C (scanLogFile): use boost::format
9025 * BufferView_pimpl.C (savePosition): use boost::format
9026 (restorePosition): ditto
9027 (MenuInsertLyXFile): ditto
9029 * BoostFormat.h: help file for explicit instation.
9031 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9033 * tabular.C (latex): Support for block alignment in fixed width
9036 2002-11-17 John Levon <levon@movementarian.org>
9038 * BufferView_pimpl.C:
9040 * lyxfunc.C: split filedialog into open/save
9042 2002-11-08 Juergen Vigna <jug@sad.it>
9044 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9045 by my last patch (hopefully).
9047 2002-11-08 John Levon <levon@movementarian.org>
9056 * toc.C: ParConstIterator, and use it (from Lars)
9058 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9060 * lyxtextclass.[Ch]: revise and add doxygen comments
9062 2002-11-07 John Levon <levon@movementarian.org>
9064 * text.C: fix progress value for spellchecker
9066 * toc.C: fix navigate menu for insetwrap inside minipage
9068 * paragraph_funcs.C: added FIXME for suspect code
9070 2002-11-07 John Levon <levon@movementarian.org>
9072 * BufferView_pimpl.C: fix redrawing of insets
9075 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * text2.C (updateCounters): fix bug 668
9079 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9081 * text3.C (dispatch): Do not make the buffer dirty when moving the
9084 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9086 * vc-backend.C: STRCONV
9089 * text2.C (setCounter): STRCONV
9091 * paragraph.C (asString): STRCONV
9093 * lyxlength.C (asString): STRCONV
9094 (asLatexString): ditto
9096 * lyxgluelength.C (asString): STRCONV
9097 (asLatexString): ditto
9099 * lyxfunc.C (dispatch): STRCONV
9102 * lyxfont.C (stateText): STRCONV
9104 * importer.C (Import): STRCONV
9106 * counters.C (labelItem): STRCONV
9107 (numberLabel): ditto
9108 (numberLabel): remove unused ostringstream o
9113 * bufferview_funcs.C (currentState): STRCONV
9115 * buffer.C (readFile): STRCONV
9116 (asciiParagraph): ditto
9117 (makeLaTeXFile): ditto
9119 * Spacing.C (writeEnvirBegin): STRCONV
9121 * LaTeXFeatures.C (getLanguages): STRCONV
9122 (getPackages): ditto
9124 (getBabelOptions): ditto
9125 (getTClassPreamble): ditto
9126 (getLyXSGMLEntities): ditto
9127 (getIncludedFiles): ditto
9131 (scanAuxFile): ditto
9134 * LString.h: add the STRCONV macros
9136 * BufferView_pimpl.C (savePosition): STRCONV
9137 (restorePosition): ditto
9138 (MenuInsertLyXFile): ditto
9140 * vc-backend.C (scanMaster): change from submatch[...] to
9143 * funcrequest.C: include config.h
9145 * factory.C: include config.h
9147 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9149 * box.C: include config.h
9151 * LaTeX.C (scanAuxFile): change from submatch[...] to
9155 2002-10-25 Angus Leeming <leeming@lyx.org>
9157 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9159 * ispell.[Ch] (setError): new method.
9160 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9161 Use setError() insetead of goto END.
9163 * lyx_cb.C (AutoSave): move out child process into new class
9166 2002-10-30 John Levon <levon@movementarian.org>
9168 * text3.C: make start appendix undoable
9170 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9172 * lyxlength.C (inPixels): Fix returned value.
9174 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9177 2002-10-24 Angus Leeming <leeming@lyx.org>
9179 * lyxgluelength.h: no need to forward declare BufferParams
9180 or BufferView, so don't.
9182 2002-10-21 John Levon <levon@movementarian.org>
9184 * BufferView.C: menuUndo ->undo, redo
9186 * BufferView.h: document, remove dead, make some methods private
9188 * paragraph_funcs.h:
9189 * paragraph_funcs.C:
9190 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9195 * sgml.C: move sgml open/close tag into sgml.C
9197 * bufferview_funcs.h: unused prototype
9200 * lyxfunc.C: remove unused
9203 * text.C: remove unused
9205 2002-10-21 John Levon <levon@movementarian.org>
9209 * BufferView_pimpl.h:
9210 * BufferView_pimpl.C: fix mouse wheel handling based on
9211 patch from Darren Freeman
9213 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9215 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9217 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9219 * lyxlength.C (inPixels): Fix hanfling of negative length.
9220 Fix LyXLength::MU case.
9222 2002-10-16 John Levon <levon@movementarian.org>
9224 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9226 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9228 * converter.C (view): add support for $$i (file name) and $$p
9229 (file path) for the viewer command. If $$i is not specified, then
9230 it is appended to the command (for compatibility with old syntax)
9232 2002-10-14 Juergen Vigna <jug@sad.it>
9234 * undo_funcs.C (textHandleUndo): alter the order in which the
9235 new undopar is added to the LyXText, as we have to set first
9236 the right prev/next and then add it as otherwise the rebuild of
9237 LyXText is not correct. Also reset the cursor to the right paragraph,
9238 with this IMO we could remove the hack in "redoParagraphs()".
9240 2002-10-09 Angus Leeming <leeming@lyx.org>
9242 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9243 to turn off an optimisation if a new inset is to be inserted.
9245 2002-10-11 André Pönitz <poenitz@gmx.net>
9247 * lyxtext.h: make some functions public to allow access
9248 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9250 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9252 * text3.C (dispatch): when changing layout, avoid an infinite loop
9255 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9257 * lyxrc.C (read): treat a viewer or converter command of "none" as
9260 * MenuBackend.C (expandFormats): for an update, also allow the
9261 formats that are not viewable
9263 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9264 script if it is newer than the lyxrc.defaults in user directory
9266 2002-10-07 André Pönitz <poenitz@gmx.net>
9268 * text.C: Vitaly Lipatov's small i18n fix
9270 2002-09-25 Angus Leeming <leeming@lyx.org>
9272 * ispell.h: doxygen fix.
9274 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9276 * buffer.h (readFile): Add a new argument to the method, to allow
9277 reading of old-format templates.
9279 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9281 * toc.C (getTocList): Get TOC from InsetWrap.
9283 2002-09-16 John Levon <levon@movementarian.org>
9285 * lyxfunc.C: check tabular for cut/copy too
9287 2002-09-12 John Levon <levon@movementarian.org>
9292 * factory.C: add header
9294 * paragraph_funcs.h:
9295 * paragraph_funcs.C: cleanup
9297 2002-09-11 John Levon <levon@movementarian.org>
9299 * PrinterParams.h: odd/even default to true
9301 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9303 * PrinterParams.h: update printer parameters for new xforms dialog
9305 2002-09-11 Angus Leeming <leeming@lyx.org>
9307 * lyxserver.C (read_ready): re-write to make it more transparent
9308 and to make it work in coherent fashion under Tru64 Unix.
9310 2002-09-11 André Pönitz <poenitz@gmx.net>
9314 * text3.C: implement LFUN_WORDSEL
9316 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9318 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9319 make floatlist_ a boost::shared_ptr<FloatList>
9321 * lyxtextclass.C: include FloatList.h
9322 (LyXTextClass): initialize floatlist_
9323 (TextClassTags): add TC_NOFLOAT
9324 (Read): match "nofloat" to TC_NOFLOAT and use it.
9325 (readFloat): modify call to floatlist_
9329 * FloatList.[Ch] (FloatList): remove commented out float
9331 (erase): new function
9333 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9335 * MenuBackend.C (expandToc): fix crash when there is no document
9338 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9340 * many files: Add insetwrap.
9342 2002-09-09 John Levon <levon@movementarian.org>
9344 * text2.C: remove confusing and awkward depth wraparound
9346 2002-09-09 John Levon <levon@movementarian.org>
9348 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9351 * buffer.C: remove getIncludeonlyList()
9354 * lyxfunc.C: remove headers
9356 2002-09-09 Juergen Vigna <jug@sad.it>
9358 * text.C (getColumnNearX): fix form Michael this is most
9359 probably a cut&paste bug.
9361 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9363 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9365 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9366 references, ws changes.
9368 * text2.C (init): update counters after init
9369 (insertParagraph): no need to set counter on idividual paragraphs.
9370 (setCounter): access the counters object in the textclass object
9371 on in the buffer object.
9372 (updateCounters): ditto
9374 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9375 shared_ptr<Counters> to avoid loading counters.h in all
9377 (LyXTextClass): initialize ctrs_
9378 (TextClassTags): add TC_COUNTER, and ...
9379 (Read): use it here.
9380 (CounterTags): new tags
9381 (readCounter): new function
9382 (counters): new funtion
9383 (defaultLayoutName): return a const reference
9385 * counters.C (Counters): remove contructor
9386 (newCounter): remove a couple of unneeded statements.
9387 (newCounter): simplify a bit.
9388 (numberLabel): some small formatting changes.
9390 * buffer.[Ch]: remove all traces of counters, move the Counters
9391 object to the LyXTextClass.
9393 2002-09-06 Alain Castera <castera@in2p3.fr>
9395 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9396 package to set the horizontal alignment on fixed width columns.
9399 * lyx_sty.h: added tabularnewline macro def.
9401 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9403 2002-09-06 John Levon <levon@movementarian.org>
9405 * LyXAction.C: tooltips for sub/superscript
9407 * MenuBackend.C: a bit more verbose
9409 * lyxfunc.C: tiny clean
9411 * undo_funcs.C: document undo_frozen
9413 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9415 * counters.C (Counters): add missing algorithm counter.
9417 * text2.C (setCounter): lookup the counter with layouts latexname
9418 instead of by section number.
9419 (setCounter): use a hackish way to lookup the correct enum
9421 a float name->type change
9422 reset enum couners with counter name directly instead of depth value.
9424 * counters.C (Counters): remove the push_backs, change to use the
9425 float type not the float name.
9426 (labelItem): remove unused string, float name->type change
9428 * counters.h: don't include vector, loose the enums and sects vectors
9430 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9433 (Read): add float->TC_FLOAT to textclassTags
9434 (Read): and handle it in the switch
9435 (readFloat): new function
9437 * FloatList.C (FloatList): comment out the hardcoded float
9440 * lyxlayout.h: ws change.
9442 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9444 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9446 2002-09-03 Angus Leeming <leeming@lyx.org>
9448 * BufferView_pimpl.h: qualified name is not allowed in member
9449 declaration: WorkArea & Pimpl::workarea() const;
9451 * factory.C: added using std::endl directive.
9453 * text3.C: added using std::find and std::vector directives.
9455 2002-08-29 André Pönitz <poenitz@gmx.net>
9458 * text2.C: remove unused member number_of_rows
9461 * BufferView2.C: remove file, move contents to...
9462 * BufferView.C: ... here
9464 * BufferView_pimpl.C:
9465 * factory.C: move more inset creation to factory
9467 * vspace.C: avoid direct usage of LyXText, ws changes
9470 don't provide direct access to WorkArea, use two simple
9471 acessors haveSelction() and workHeight() instead
9474 2002-08-29 John Levon <levon@movementarian.org>
9476 * BufferView_pimpl.C (dispatch): do not continue when
9479 2002-08-28 André Pönitz <poenitz@gmx.net>
9481 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9484 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9486 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9488 * buffer.C: increment LYX_FORMAT to 221
9490 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9491 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9493 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9495 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9497 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9499 * factory.C (createInset): use LyXTextClass::floats
9501 * MenuBackend.C (expandFloatListInsert):
9502 (expandFloatInsert):
9505 * text2.C (setCounter):
9507 * LaTeXFeatures.C (useFloat):
9508 (getFloatDefinitions):
9510 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9512 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9513 floatlist_, with accessor floats().
9515 * FloatList.h: remove global FloatList
9517 2002-08-26 André Pönitz <poenitz@gmx.net>
9519 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9523 * BufferView_pimpl.C:
9524 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9526 2002-08-25 John Levon <levon@movementarian.org>
9528 * LyXAction.C: fix margin note description
9530 2002-08-24 John Levon <levon@movementarian.org>
9534 * bufferview_funcs.C:
9536 * undo_funcs.C: cleanups
9538 * lyxfunc.C: disable CUT/COPY when no selection
9540 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9542 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9543 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9545 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9546 Add backward compatibility to "mono", "gray" and "no".
9548 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9550 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9551 (and file_format >= 200).
9553 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9557 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9559 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9561 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9563 * BufferView_pimpl.C:
9570 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9571 inset and code to make it work with the paragraph code. The inset
9572 can be anywhere in the paragraph, but will only do the expected
9573 thing in LaTeX if the layout file contains the parameter line
9575 (or more generally, a nonzero value) for that layout.
9577 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9579 * paragraph.h: remove the declaration of undefined counters class
9582 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9584 * text2.C (setCounter): fixed enumeration mis-count as reported by
9585 Dr. Richard Hawkins.
9587 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9589 * paragraph_funcs.h: remove some unneeded includes
9591 * text.C (backspace): pasteParagraph now in global scipe
9593 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9594 (pasteSelection): ditto
9596 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9597 * paragraph_funcs.C (pasteParagraph): ... here
9599 2002-08-20 André Pönitz <poenitz@gmx.net>
9601 * commandtags.h: new LFUNs for swapping/copying table row/colums
9604 * lyxfunc.C: support for new lfuns
9606 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9609 * buffer.[Ch]: remove NO_COMPABILITY stuff
9611 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9613 * boost.C (throw_exception): new file, with helper function for
9614 boost compiled without exceptions.
9619 * ParameterStruct.h:
9620 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9622 * bufferlist.C (emergencyWriteAll): use boost bind
9624 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9626 * text.C: include paragraph_funcs.h
9627 (breakParagraph): breakParagraph is now in global scope
9629 * paragraph_funcs.[Ch]: new files
9631 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9634 * buffer.C: include paragraph_funcs.h
9635 (insertStringAsLines): breakParagraph is now in global scope
9637 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9640 * CutAndPaste.C: include paragraph_funcs.h
9641 (cutSelection): breakParagraphConservative is now in global scope
9642 (pasteSelection): ditto
9644 * buffer.h: declare oprator== and operator!= for
9645 Buffer::inset_iterator
9647 * bufferlist.C (emergencyWrite): don't use fmt(...)
9649 * text3.C: add using std::endl
9651 * BufferView.C (moveCursorUpdate): remove default arg
9653 2002-08-20 André Pönitz <poenitz@gmx.net>
9655 * buffer.[Ch]: move inline functions to .C
9658 * BufferView_pimpl.C:
9660 * buffer.[Ch]: use improved inset_iterator
9663 * paragraph.[Ch]: write one paragraph at a time
9665 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9667 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9668 style if style is not specified.
9670 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * text2.C (setCounter): when searching for right label for a
9673 caption, make sure to recurse to parent insets (so that a caption
9674 in a minipage in a figure float works) (bug #568)
9676 2002-08-20 André Pönitz <poenitz@gmx.net>
9678 * text3.C: new file for LyXText::dispatch() and helpers
9680 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9682 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9684 2002-08-19 André Pönitz <poenitz@gmx.net>
9687 * text.C: new LyXText::dispatch()
9689 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9691 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9693 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9695 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9698 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9700 * Makefile.am: use $(variables) instead of @substitutions@
9702 2002-08-15 André Pönitz <poenitz@gmx.net>
9705 * BufferView_pimpl.C: streamlining mathed <-> outer world
9709 * LyXAction.C: remove unused LFUN_MATH
9711 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9713 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9715 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9717 * paragraph.C (Paragraph): reformat a bit
9718 (cutIntoMinibuffer): use builtin InsetList function instad of
9722 * buffer.C: include boost/bind.hpp, add using std::for_each
9723 (writeFileAscii): use ParagraphList iterators
9724 (validate): use for_each for validate traversal of paragraphs
9725 (getBibkeyList): use ParagraphList iterators
9726 (resizeInsets): use for_each to resizeInsetsLyXText for all
9728 (getParFromID): use ParagraphList iterators
9730 * BufferView2.C (lockInset): use paragraph list and iterators
9732 2002-08-14 John Levon <levon@movementarian.org>
9734 * lyxserver.C: remove spurious xforms include
9736 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9738 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9740 2002-08-13 André Pönitz <poenitz@gmx.net>
9743 * lyxfunc.C: further cleaning
9745 2002-08-13 André Pönitz <poenitz@gmx.net>
9747 * funcrequest.h: new constructor
9749 * funcrequest.C: move stuff here from .h
9752 * BufferView_pimpl.C:
9755 * lyxfunc.C: subsequent changes
9757 * lyxfunc.h: new view() member function
9759 * lyxfunc.C: subsequent changes
9761 2002-08-13 Angus Leeming <leeming@lyx.org>
9764 * BufferView_pimpl.C:
9772 changes due to the changed LyXView interface that now returns references
9773 to member variables not pointers.
9775 2002-08-13 Angus Leeming <leeming@lyx.org>
9777 * WordLangTuple (word, lang_code): return references to strings,
9782 * lyxtext.h: forward-declare WordLangTuple.
9787 * text.C: #include "WordLangTuple.h".
9790 * text.C: (selectNextWordToSpellcheck): constify return type.
9792 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9798 * paragraph_pimpl.h:
9801 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9803 Made updateCounter always count from start of buffer, and removed
9804 second argument (par).
9805 Reverted floats number display to '#'. Perhaps I'll try again when the
9806 code base is sanitized a bit.
9808 2002-08-12 Angus Leeming <leeming@lyx.org>
9810 * buffer.[Ch] (getLabelList): constify.
9812 2002-08-07 André Pönitz <poenitz@gmx.net>
9814 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9816 * funcrequest.h: extension to keep mouse (x,y) position
9818 2002-08-12 Juergen Vigna <jug@sad.it>
9820 * BufferView2.C (insertErrors): forbid undo when inserting error
9823 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9825 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9827 * ParagraphList.[Ch]: new files
9829 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9831 * BufferView2.C (lockInset): ParagraphList changes
9834 * bufferlist.C: ditto
9838 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9840 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9841 unused class variable counter_,
9843 * paragraph.[Ch] (getFirstCounter): delete unused function
9845 * counters.C: include LAssert.h
9846 (reset): add a new function with no arg, change other version to
9847 not have def. arg and to not allow empty arg.
9849 * text2.C (setCounter): remove empty arg from call to Counters::reset
9851 2002-08-11 John Levon <levon@movementarian.org>
9853 * Makefile.am: add WordLangTuple.h
9855 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9857 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9858 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9860 * insets/insettext.C: InsetList changes
9862 * graphics/GraphicsSupport.C (operator()): InsetList changes
9864 * toc.C (getTocList): InsetList changes
9866 * paragraph_pimpl.[Ch]: InsetList changes
9868 * paragraph.[Ch]: InsetList changes
9870 * buffer.C (inset_iterator): InsetList changes
9871 (setParagraph): ditto
9872 * buffer.h (inset_iterator): ditto
9873 * iterators.C (operator++): ditto
9874 * iterators.h: ditto
9876 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9878 * InsetList.[Ch]: new files, most InsetList handling moved out of
9881 * BufferView2.C (removeAutoInsets): InsetList changes
9883 (ChangeInsets): ditto
9885 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9887 * paragraph_pimpl.h (empty): new function
9889 * paragraph.[Ch] (empty): new function
9891 * other files: use the new Paragraph::empty function
9893 2002-08-09 John Levon <levon@movementarian.org>
9895 * lyxtext.h: remove unused refresh_height
9897 2002-08-09 John Levon <levon@movementarian.org>
9904 * paragraph.C: move sgml char escaping out of paragraph
9907 * paragraph.C: remove id setter
9911 * paragraph_pimpl.C: remove dead tex_code_break_column
9913 * bufferview_funcs.C: small cleanup
9915 * lyxfunc.C: remove dead proto
9917 * lyxtext.h: make some stuff private. Remove some dead stuff.
9919 * lyxgluelength.C: make as[LyX]String() readable
9921 2002-08-08 John Levon <levon@movementarian.org>
9926 * ToolbarDefaults.C:
9929 * toc.C: lyxaction cleanup
9931 2002-08-08 John Levon <levon@movementarian.org>
9933 * BufferView2.C: small cleanup
9936 * lyxfind.C: move unnecessary header into the .C
9938 2002-08-08 John Levon <levon@movementarian.org>
9940 * funcrequest.h: just tedious nonsense
9943 * lyx_main.C: cleanups
9946 * vspace.C: remove dead header lyx_main.h
9948 2002-08-07 Angus Leeming <leeming@lyx.org>
9951 * paragraph_pimpl.h:
9952 Forward declare class Counters in paragraph.h by moving the ctrs member
9953 variable into Paragraph::Pimpl.
9954 (counters): new method, returning a reference to pimpl_->ctrs.
9956 * text2.C: ensuing changes.
9958 2002-08-07 John Levon <levon@movementarian.org>
9960 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9962 * BufferView_pimpl.C: announce X selection on double/triple
9965 * lyx_main.C: use correct bool in batch dispatch
9967 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9969 2002-08-07 André Pönitz <poenitz@gmx.net>
9971 * funcrequest.h: new class to wrap a kb_action and its argument
9974 * BufferView_pimpl[Ch]:
9978 * lyxrc.C: subsequent changes
9981 2002-08-07 John Levon <levon@movementarian.org>
9983 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9984 document options change.
9986 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9991 * makefile.am: move counters functionality over from
9992 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9994 2002-08-06 John Levon <levon@movementarian.org>
9996 * WordLangTuple.h: new file for word + language code tuple
10007 * BufferView2.C: use WordLangTuple
10010 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10012 2002-08-06 John Levon <levon@movementarian.org>
10014 * lyx_main.C: fix cmdline batch handling
10016 2002-08-06 André Pönitz <poenitz@gmx.net>
10018 * lyxrc.C: set default for show_banner to true
10020 2002-08-06 John Levon <levon@movementarian.org>
10022 * pspell.C: fix a crash, and allow new aspell to work
10024 2002-08-06 John Levon <levon@movementarian.org>
10027 * kbmap.C: small cleanup
10030 * vspace.C: add const
10032 2002-08-05 John Levon <levon@movementarian.org>
10034 * LyXAction.C: back to tabular-insert
10036 2002-08-04 John Levon <levon@movementarian.org>
10039 * BufferView.C: cosmetic change
10041 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10051 * BufferView2.C: purge all "Lyx" not "LyX" strings
10054 * lyxcursor.C: attempt to add some documentation
10059 * ToolbarDefaults.C:
10060 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10061 merge with LFUN_TABULAR_INSERT
10068 * pspell.C: split up i/pspell implementations into separate
10069 files, many cleanups
10071 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10073 * text2.C: some cleanup
10075 * lyxfunc.C: don't check for isp_command == "none" any more, it
10076 didn't make any sense
10078 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10083 * makefile.am: move counters functionality over
10084 from text2.C/paragraph.[Ch] to counters.[Ch], and
10086 2002-08-02 John Levon <levon@movementarian.org>
10088 * buffer.C: s/lyxconvert/lyx2lyx/
10090 2002-08-02 Angus Leeming <leeming@lyx.org>
10092 * lyxlex.C: revert John's change as it breaks reading of the user
10095 2002-08-02 Angus Leeming <leeming@lyx.org>
10097 * importer.C (Import):
10098 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10099 changes due to LyXView::view() now returning a boost::shared_ptr.
10101 2002-08-02 John Levon <levon@movementarian.org>
10103 * lyxlex.C: small cleanup
10105 2002-08-02 John Levon <levon@movementarian.org>
10107 * text2.C (status): small cleanup, no logic change
10109 2002-08-01 John Levon <levon@movementarian.org>
10112 * buffer.C (writeFile): don't output alerts, caller
10116 * lyx_cb.C: from above
10118 * lyxfunc.C: allow to open non-existent files
10120 2002-07-31 John Levon <levon@movementarian.org>
10122 * lyxserver.C: don't let incidental errors get
10125 2002-07-30 John Levon <levon@movementarian.org>
10127 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10129 2002-07-30 John Levon <levon@movementarian.org>
10132 * lyxserver.C: remove I/O callback too
10134 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10139 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10141 * many files: strip,frontStrip -> trim,ltrim,rtrim
10143 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10145 * PrinterParams.h: remove extern containsOnly, and include
10146 support/lstrings.h instead.
10148 * LaTeX.C (scanAuxFile): modify because of strip changes
10150 * buffer.C (makeLaTeXFile): ditto
10151 * bufferparams.C (writeFile): ditt
10152 * lyxfont.C (stateText): ditto
10153 * lyxserver.C (read_ready): ditto
10154 * vc-backend.C (scanMaster): ditto
10156 * BufferView_pimpl.h: ws changes
10158 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10160 2002-07-26 André Pönitz <poenitz@gmx.net>
10162 * kb_sequence.C: remove unnedred usings
10164 2002-07-26 Juergen Vigna <jug@sad.it>
10166 * lyxfind.C (LyXReplace): we have to check better if the returned
10167 text is not of theLockingInset()->getLockingInset().
10169 2002-07-25 Juergen Vigna <jug@sad.it>
10171 * lyxfind.C (LyXReplace): don't replace if we don't get the
10174 * undo_funcs.C (createUndo): remove debugging code.
10176 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10178 * buffer.C (parseSingleLyXformat2Token): Use default placement
10179 when reading old floats.
10181 * FloatList.C (FloatList): Change the default placement of figure
10182 and tables to "tbp".
10184 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10186 * MenuBackend.C: using std::max
10188 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * MenuBackend.C (expandToc):
10191 (expandToc2): code moved from xforms menu frontend. It is now
10192 generic and TOCs are transparent to menu frontends.
10194 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10196 * toc.C (getTocList): protect against buf=0
10198 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10199 Menu as first parameter. Now, this calls itself recursively to
10200 expand a whole tree (this will be useful for TOC handling)
10201 (expandFloatInsert): remove 'wide' version of floats
10203 * MenuBackend.h (submenuname): returns the name of the submenu.
10204 (submenu): returns the submenu itself, provided it has been
10205 created by MenuBackend::expand
10207 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10210 insets which have noFontChange == true. (bug #172)
10212 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * BufferView_pimpl.C: add connection objects and use them...
10217 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * MenuBackend.C (expandLastfiles):
10222 (expandFloatListInsert):
10223 (expandFloatInsert):
10224 (expand): split expand in parts
10226 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10228 * lyx_gui.C: use lyx_gui::exit()
10230 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10232 * LyXAction.C: show the failing pseudo action
10234 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10236 * buffer.C (readFile): Run the lyxconvert script in order to read
10239 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10243 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10245 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10249 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10251 2002-07-22 Herbert Voss <voss@lyx.org>
10254 * lyxlength.[Ch]: add support for the vertical lengths
10256 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10258 * toc.[Ch]: std:: fixes
10260 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10262 * lyxrc.C: do not include lyx_main.h
10264 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10270 * BufferView2.C: include "lyxlex.h"
10273 * bufferparams.h: do not #include "lyxlex.h"
10275 * lyxtextclasslist.C (Add): remove method
10276 (classlist): renamed to classlist_
10278 * paragraph_pimpl.C:
10282 * bufferview_funcs.C:
10287 * toc.C (getTocList): use BufferParams::getLyXTextClass
10289 * toc.C (getTocList): use InsetFloat::addToToc
10291 * toc.[Ch]: new files, containing helper functions to handle table
10294 * lyxfunc.C (dispatch): no need to remove spaces around command
10296 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10297 first command of the sequence; it is not very clever, but I do not
10298 have a better idea, actually
10300 * LyXAction.C (LookupFunc): make sure to remove space at the
10301 beginning and end of the command
10303 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * MenuBackend.C (getMenubar): new method: return the menubar of
10307 (read): treat differently reading of menu and menubar (in
10308 particular, the menubar has no name now)
10309 (Menu::menubar): remove
10311 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10314 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10316 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10317 a bibitem inset in a RTL paragraph.
10319 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10321 * paragraph_pimpl.C: constify
10323 * BufferView_pimpl.C:
10325 * lyxfunc.C: fix dispatch in a nicer way
10327 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10329 * lyxfunc.C (dispatch):
10330 * BufferView_pimpl.C:
10331 * BufferView_pimpl.h:
10333 * BufferView.h: rename Dispatch() to dispatch()
10335 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10337 * lyxlayout.C (Read): honor DependsOn tag
10339 * lyxlayout.[Ch] (depends_on): new method
10341 * version.C.in: update lyx_docversion
10343 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10345 * paragraph.C (validate): remove from here...
10346 * paragraph_pimpl.C (validate): ... and move here
10347 (isTextAt): make it const
10349 * buffer.C (getLists): ws cleanup
10351 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10353 * language.C (read): Use iso8859-1 encoding in latex_lang
10354 (this prevents LyX from crashing when using iso10646-1 encoding).
10356 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10358 * text2.C (toggleInset): if cursor is inside an inset, close the
10359 inset and leave cursor _after_ it
10361 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10363 * lyxfunc.C: move minibuffer completion handling out of here
10365 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10367 * BufferView_pimpl.C:
10368 * LaTeX.C: fix dispatch calls
10370 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10372 * text.C (drawChars): Fix Arabic text rendering.
10374 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10378 * lyxfunc.C: remove message-push/pop
10382 * lyxfunc.C: rationalise some code by removing verboseDispatch
10383 in favour of a bool argument to dispatch()
10385 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10387 * lyx_main.C (init): make sure to read symlinks as absolute paths
10389 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10392 * lyxfunc.C: no need for commandshortcut to be a member
10394 2002-07-15 André Pönitz <poenitz@gmx.net>
10396 * converter.C: add support for $$s (scripts from lib/scripts dir)
10397 * lyx_main.C: white space
10399 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10403 * lyxrc.C: remove second exit confirmation
10405 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10410 * BufferView_pimpl.h:
10411 * BufferView_pimpl.C:
10412 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10414 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10416 * MenuBackend.C (expand): add numeric shortcuts to document menu
10418 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10420 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * lyxfont.C (setLyXFamily):
10429 * buffer.C (asciiParagraph): use ascii_lowercase
10431 2002-07-15 Mike Fabian <mfabian@suse.de>
10433 * lyxlex_pimpl.C (search_kw):
10434 * lyxlex.C (getLongString):
10435 * converter.h (operator<):
10436 * converter.C (operator<):
10437 * buffer.C (parseSingleLyXformat2Token):
10439 * ToolbarDefaults.C (read):
10440 * MenuBackend.C (checkShortcuts):
10442 * LColor.C (getFromGUIName):
10443 (getFromLyXName): use the compare_ascii_no_case instead of
10444 compare_no_case, because in turkish, 'i' is not the lowercase
10445 version of 'I', and thus turkish locale breaks parsing of tags.
10447 2002-07-16 Angus Leeming <leeming@lyx.org>
10449 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10450 now takes a Buffer const & argument.
10452 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10454 * BufferView.C (resize): check there's a buffer to resize
10456 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10458 * lyxfunc.C: remove dead code
10461 * lyxserver.C: use lyx_guii::set_read_callback
10463 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10465 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10466 an inset in a RTL paragraph.
10468 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10470 * lyxfunc.C: repaint after a font size update
10472 2002-07-15 André Pönitz <poenitz@gmx.net>
10474 * lyxlength.C: inBP should be able to return negative values
10476 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10478 * lyxfunc.C: use lyx_gui::update_fonts()
10480 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10482 * lyxfunc.C: use lyx_gui::update_color()
10484 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10490 * lyxrc.C: remove file->new asks for name option, and let
10491 buffer-new take an argument
10493 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10495 * BufferView_pimpl.C: remove unneeded extra repaint()
10497 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10499 * LyXAction.C: allow command-sequence with NoBuffer
10501 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10503 2002-07-10 Angus Leeming <leeming@lyx.org>
10505 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10507 2002-07-09 Angus Leeming <leeming@lyx.org>
10509 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10511 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10513 * lengthcommon.h: whitespace
10515 * lyxfunc.C: update scrollbar after goto paragraph
10517 * lyxtext.h: factor out page break drawing, and fix it so
10518 page break/added space paints as selected nicely
10520 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10522 * BufferView_pimpl.C: add FIXMEs, clean up a little
10524 2002-07-09 André Pönitz <poenitz@gmx.net>
10526 * lyxfont.[Ch]: support for wasy symbols
10528 2002-07-08 André Pönitz <poenitz@gmx.net>
10530 * BufferView_pimpl.C: apply John's patch for #93.
10532 2002-07-05 Angus Leeming <leeming@lyx.org>
10534 * BufferView_pimpl.C (buffer): generate previews if desired.
10536 * LColor.h: add "preview" to the color enum.
10538 * LColor.C (LColor): add a corresponding entry to the items array.
10540 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10543 2002-07-05 Angus Leeming <leeming@lyx.org>
10545 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10546 The body of the code is now in the method that is passed an ostream &
10547 rather than a file name.
10548 Pass an additional only_preamble parameter, useful for the forthcoming
10551 2002-07-03 André Pönitz <poenitz@gmx.net>
10553 * lyxfunc.C: simplify getStatus() a bit for math stuff
10555 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10557 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10559 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10561 * text.C (changeRegionCase): do not change case of all the
10562 document when region ends at paragraph end (bug #461)
10564 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * paragraph.C (startTeXParParams):
10567 (endTeXParParams): add \protect when necessary
10569 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10571 * BufferView_pimpl.C (workAreaExpose): remove warning
10573 2002-06-27 Angus Leeming <leeming@lyx.org>
10575 * Makefile.am: add lyxlayout_ptr_fwd.h.
10577 2002-06-26 André Pönitz <poenitz@gmx.net>
10579 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10581 2002-06-25 Angus Leeming <leeming@lyx.org>
10583 * lyxfunc.C (dispatch): Comment out the call to
10584 grfx::GCache::changeDisplay. The method no longer exists now that the
10585 pixmap generation part of the graphics loader has been moved into
10588 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * text2.C: layout as layout
10592 * text.C: layout as layout
10594 * tabular.C (OldFormatRead): layout as layout
10596 * paragraph_pimpl.C (TeXDeeper): layout as layout
10597 (realizeFont): layout as layout
10599 * paragraph.C (writeFile): layout as layout
10600 (validate): layout as layout
10601 (getFont): layout as layout
10602 (getLabelFont): layout as layout
10603 (getLayoutFont): layout as layout
10604 (breakParagraph): layout as layout
10605 (stripLeadingSpaces): layout as layout
10606 (getEndLabel): layout as layout
10607 (getMaxDepthAfter): layout as layout
10608 (applyLayout): layout as layout
10609 (TeXOnePar): layout as layout
10610 (simpleTeXOnePar): layout as layout
10611 (TeXEnvironment): layout as layout
10612 (layout): layout as layout
10613 (layout): layout as layout
10615 * lyxtextclass.C (compare_name): new functor to work with
10616 shared_ptr, layout as layout
10617 (Read): layout as layout
10618 (hasLayout): layout as layout
10619 (operator): layout as layout
10620 (delete_layout): layout as layout
10621 (defaultLayout): layout as layout
10623 * lyxlayout_ptr_fwd.h: new file
10625 * lyxlayout.C (Read): layout as layout
10627 * lyx_cb.C (MenuInsertLabel): layout as layout
10629 * bufferlist.C (newFile): layout as layout
10631 * buffer.C (readLyXformat2): layout as layout
10632 (parseSingleLyXformat2Token): layout as layout
10633 (insertStringAsLines): layout as layout
10634 (asciiParagraph): layout as layout
10635 (latexParagraphs): layout as layout
10636 (makeLinuxDocFile): layout as layout
10637 (simpleLinuxDocOnePar): layout as layout
10638 (makeDocBookFile): layout as layout
10639 (simpleDocBookOnePar): layout as layout
10640 (getLists): layout as layout
10642 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10644 * CutAndPaste.C (cutSelection): layout as layout
10645 (pasteSelection): layout as layout
10646 (SwitchLayoutsBetweenClasses): layout as layout
10648 * BufferView_pimpl.C (Dispatch): layout as layout
10649 (smartQuote): layout as layout
10651 * BufferView2.C (unlockInset): layout as layout
10653 2002-06-24 André Pönitz <poenitz@gmx.net>
10655 * lyxfunc.C: fix #487
10657 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10661 * lyxfunc.C: remove display_shortcuts, show_banner
10663 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10665 * Buffer_pimpl.C: oops, update on resize
10667 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10674 * BufferView.C: use repaint()
10676 * BufferView_pimpl.h:
10677 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10678 as it's a clearer description. Remove superfluous
10681 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10683 * text.C: fix bug 488. Not ideal, but getting
10684 getWord() to work properly for the insets that
10685 matter is more difficult ...
10687 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10689 * BufferView_pimpl.C:
10692 * lyxfunc.C: remove the six million index lyxfuncs to just
10693 one, and DTRT (bug 458)
10695 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10699 * BufferView_pimpl.h:
10700 * BufferView_pimpl.C: clean up resize() stuff,
10701 and unnecessary updateScreen()s
10703 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10707 * BufferView_pimpl.h:
10708 * BufferView_pimpl.C:
10711 * minibuffer.C: remove focus management of workarea,
10712 not needed. Use screen's greyOut()
10714 2002-06-17 Herbert Voss <voss@lyx.org>
10716 * converter.C: (convert) do not post a message, when converting
10717 fails, let the calling function decide what to do in this case
10719 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10721 * lyxfunc.C: tidy up a little
10723 2002-06-16 <alstrup@diku.dk>
10725 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10726 Got rid of FORMS_H_LOCATION include. Now we are
10729 2002-06-15 LyX Development team <lyx@rilke>
10731 * buffer.[Ch] (sgmlOpenTag):
10732 (sgmlCloseTag): Added support for avoiding pernicious mixed
10733 content. Return number of lines written.
10735 (makeLinuxDocFile):
10736 (makeDocBookFile): Fixed calls to sgml*Tag.
10737 Simple white space clean.
10739 (simpleDocBookOnePar): Simple white space clean.
10741 * tabular.[Ch] (docBook): Renamed to docbook and got another
10742 argument to related with the pernicious mixed content.
10744 (docbookRow): Fixed calls for docbook inset method.
10746 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10748 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10749 so it's X11 independent.
10753 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10755 2002-06-15 Lyx Development team <lyx@electronia>
10757 * intl.h: Renamed getTrans to getTransManager.
10759 2002-06-14 Angus Leeming <leeming@lyx.org>
10761 * Makefile.am: nuke forgotten stl_string_fwd.h.
10763 2002-06-12 Angus Leeming <leeming@lyx.org>
10765 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10767 2002-06-13 Angus Leeming <leeming@lyx.org>
10770 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10772 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10774 * kbmap.C (getiso): add support for cyrillic and greek
10776 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.h:
10781 * BufferView_pimpl.C: move bogus scrolling logic
10784 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10787 * BufferView_pimpl.C: view->resize() change
10789 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10791 * BufferView_pimpl.C: topCursorVisible
10794 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10798 * lyx_gui.C: move to frontends/
10802 * lyx_main.C: changes from above
10804 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10811 * lyx_main.C: minor tidy
10813 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10815 * BufferView_pimpl.h:
10816 * BufferView_pimpl.C:
10818 * BufferView.C: make painter() const,
10821 * BufferView2.C: use screen() accessor
10824 * lyx_main.C: some minor cleanup
10826 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10828 * BufferView_pimpl.h:
10829 * BufferView_pimpl.C: remove enter/leaveView,
10832 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10837 * BufferView_pimpl.h:
10838 * BufferView_pimpl.C: only construct screen once,
10841 * lyxrc.C: remove pointless comment
10843 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10846 * BufferView.C: remove active() and belowMouse()
10848 * BufferView_pimpl.h:
10849 * BufferView_pimpl.C: use workarea() not workarea_,
10850 and make it use a scoped_ptr instead
10852 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10854 * lyx_gui.C: add debug message on BadWindow
10856 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * sp_spell.C: fdopen is not part of the C++ standard.
10860 * paragraph.C (InsetIterator): use >= instead of ==
10862 2002-06-07 Angus Leeming <leeming@lyx.org>
10864 Fixes needed to compile with Compaq cxx 6.5.
10865 * BufferView_pimpl.C:
10872 * lyxtextclasslist.C:
10877 all c-library variables have been moved into namespace std. Wrap
10878 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10883 Add a using std::abs declaration.
10885 * kbmap.h (modifier_pair):
10886 * paragraph.h (InsetTable, InsetList):
10887 * lyxfont.h (FontBits):
10888 type definition made public.
10890 * bufferlist.C (emergencyWriteAll): the compiler complains that
10891 there is more than one possible lyx::class_fun template to choose from.
10892 I re-named the void specialisation as lyx::void_class_fun.
10894 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10896 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10897 the compiler is is unable to find tostr in write_attribute.
10899 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10901 * buffer.C (sgmlError): hide #warning
10903 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10905 * xtl/*: get rid of xtl, which is not in use anyway
10907 * LyXAction.C (init):
10908 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10909 were unimplemented xtl experimentation
10911 2002-06-04 André Pönitz <poenitz@gmx.net>
10913 * lyxfunc.C: disable array operation on simple formulae
10915 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10917 * converter.C: constify a bit
10919 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10921 * lyx_gui.C: check xforms version correctly
10923 2002-04-30 Herbert Voss <voss@lyx.org>
10925 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10928 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10930 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10931 attempt to register it with a VCS)
10933 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * lyx_main.C (init): honor variables LYX_DIR_13x and
10938 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10942 * lyx_main.C: fix a crash on bad command line,
10943 and give a useful exit status on error
10945 * lyxfunc.C (doImport): allow -i lyx to work
10947 2002-03-30 André Pönitz <poenitz@gmx.net>
10949 * lyxfunc.C: mathed font changes
10951 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10966 * trans_mgr.h: srcdocs, and some minor cleanups
10968 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10970 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10971 call getFont all the time)
10973 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10975 * switch from SigC signals to boost::signals
10977 2002-05-29 André Pönitz <poenitz@gmx.net>
10979 * paragraph_pimpl.C (getChar): don't call size() too often...
10981 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10983 * paragraph_pimpl.C (insertChar): do not try to update tables when
10984 appending (pos == size())
10986 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10987 in order to reduce drastically the number of comparisons needed to
10988 parse a large document
10990 2002-05-29 André Pönitz <poenitz@gmx.net>
10996 * textclasslist.[Ch]:
10997 * sp_ispell.h: whitespace change
10999 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11001 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11002 lyxaction directly now.
11004 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11008 * lyxvc.C: remove unused headers
11010 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11017 * undo_funcs.C: some cleanups. Use shared_ptr
11018 and a template for the undo stacks.
11020 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11022 * BufferView_pimpl.h:
11023 * BufferView_pimpl.C:
11030 * text2.C: use key_state/mouse_state
11032 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11034 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11037 * chset.C: change include order
11038 (loadFile): use boost regex and get rid of LRegex and LSubstring
11040 * Makefile.am (BOOST_LIBS): new variable
11041 (lyx_LDADD): use it
11043 * LaTeX.C: change include order.
11044 (scanAuxFile): use boost regex and get rid of LRegex and
11048 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11053 * FontInfo.C: moved to frontends/xforms/
11056 * FontLoader.C: moved into frontends for GUIIzation
11061 * lyxfunc.C: changes from above
11063 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11065 * LColor.C: remove spurious X include
11067 * BufferView_pimpl.C:
11072 * text2.C: move font metrics to frontends/
11074 2002-05-24 Juergen Vigna <jug@sad.it>
11076 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11077 setting the undo_cursor.
11079 * ParagraphParameters.h: include local includes first.
11081 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11083 * BufferView_pimpl.C:
11084 * BufferView_pimpl.h:
11088 * screen.C: move WorkArea into frontends/
11094 * BufferView2.C: move LyXScreen into frontends/
11098 * lyx_gui.C: move lyxlookup into frontends/xforms/
11100 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11103 * BufferView_pimpl.C:
11113 * bufferview_funcs.C:
11126 * vc-backend.C: move LyX/XFormsView into frontends/
11128 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11140 * text2.C: move Painter to frontends/
11142 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11144 * buffer.C: comment out some some code that depend upon lyx_format
11147 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11148 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11150 * buffer.h (NO_COMPABILITY): turn off compability
11152 * ColorHandler.C: include scoped_array.hpp
11154 * font.C: Use more specific smart_ptr header.
11157 * ShareContainer.h: ditto
11158 * lyx_main.h: ditto
11160 * FontInfo.h: ditto
11161 * BufferView_pimpl.h: ditto
11162 * ColorHandler.h: ditto
11164 * kbmap.C (defkey): change call to shared_ptr::reset
11166 2002-05-21 Juergen Vigna <jug@sad.it>
11168 * buffer.C (insertErtContents): fix to insert ert asis if it is
11169 non empty. Skip it completely if it contains only whitespaces.
11171 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11173 * BufferView_pimpl.C:
11174 * BufferView2.C: clear selection on paste (bug 393)
11176 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * DepTable.C: include ctime
11180 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11182 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11184 2002-05-14 Juergen Vigna <jug@sad.it>
11186 * text.C (breakParagraph): fixed function to honor the keepempty
11187 layout in the right maner and also to permit the right breaking
11188 algorithm on empty or non empyt keepempty paragraphs.
11190 * paragraph.C (breakParagraph): we have to check also if the par
11191 is really empty (!size()) for isempty otherwise we do the wrong
11194 2002-05-10 Juergen Vigna <jug@sad.it>
11196 * buffer.[Ch] : The following are only changes to the ert
11197 compatibility read reading old LaTeX layout and font stuff and
11198 convert it to ERTInsets.
11200 * buffer.h: added isErtInset().
11202 * buffer.C (struct ErtComp): add a fromlayout bool to check
11203 if we're inside a LaTeX layout.
11204 (isErtInset): new helper function.
11205 (insertErtContents): look for other ert insets before this one
11206 and insert the contents there, so that we don't have subsequent
11207 ERT insets with nothing between them. This way we create only one
11208 inset with multiple paragraphs. Also check if we don't insert only
11209 spaces ' ' as they are ignored anyway afterwards in the .tex file
11210 so if we have only spaces we will ignore this latex part in the
11212 (parseSingleLyXformat2Token \\layout): better compatibility when
11213 reading layout-latex stuff.
11214 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11216 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11217 stuff after reading the inset only get the information back from
11220 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11222 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11224 * LaTeXFeatures.C (getBabelOptions): New method.
11226 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11228 * BufferView_pimpl.C (Dispatch): work around missing argument for
11231 2002-05-08 Juergen Vigna <jug@sad.it>
11233 * text.C (leftMargin): handle paragraph leftindent.
11235 * paragraph.C (writeFile): write the new \\leftindent tag.
11236 (validate): handle leftindent code.
11237 (TeXEnvironment): handle paragraphleftindent code again.
11239 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11241 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11242 for paragrap_extra indent code and new token \\leftindent.
11243 (latexParagraphs): handle the leftindent as environment.
11245 * ParameterStruct.h: added leftindent support.
11247 * ParagraphParameters.C (leftIndent): added support functions for
11248 the paragraph left indent.
11250 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11253 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11255 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11258 * text.C (computeBidiTables): No bidi in insetERT.
11260 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11263 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11265 * version.C.in: pre 5
11267 2002-05-02 José Matos <jamatos@fep.up.pt>
11268 * buffer.C (makeDocBookFile): white space changes, add newline to
11270 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11272 * tabular.C (docBook): fix typo.
11274 2002-05-03 Juergen Vigna <jug@sad.it>
11276 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11277 change in LyXText as we can not be sure it was not freed.
11278 (drawOneRow): remove unused code.
11280 * text.C (drawInset): redo the calculation of the need_break_row as
11281 it could have a row which was already freed.
11282 (draw): look at the return value of drawInset and return false if
11283 it also returned false.
11284 (paintRowText): look at the return value of draw and return false if
11285 it also returned false.
11287 * lyxtext.h: added bool return type to drawInset() and draw() so that
11288 if we have a change in the row so that the rowbreak has to be redone
11289 we abort drawing as it will be called again.
11291 2002-05-02 Juergen Vigna <jug@sad.it>
11293 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11294 a change in the maintext also if we're inside an inset.
11295 (Dispatch): set the cursor again after a break line and after the
11296 screen has been updated as it could be we're in a different row.
11298 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11299 to set the cursor behind the pargraph with > size().
11300 (setCursor): check also for the same paragraph when checking where
11301 to put the cursor if we have a NFR inset.
11303 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11304 parts of layout read further up as it still was in the wrong
11307 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * screen.C (drawFromTo): change sine fullRebreak always return
11312 * buffer.C (parseSingleLyXformat2Token): reindent some
11314 * BufferView_pimpl.C (update): change since fullRebreak always
11316 (Dispatch): git rid of the last hardcoded "Standard"s.
11318 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * text2.[Ch] (fullRebreak): make it return void now that we always
11323 2002-04-30 Juergen Vigna <jug@sad.it>
11325 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11326 ert compatibility check for "latex" layout.
11328 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11330 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11331 minipages: use col% instead of p%, and also use the current font.
11332 (makeLaTeXFile): Fix use babel condition.
11333 (parseSingleLyXformat2Token): Correct font when reading old floats.
11335 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11337 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11338 inserting list of floats.
11340 2002-04-25 Herbert Voss <voss@lyx.org>
11342 * MenuBackend.C (expand): don't add the graphics extensions to the
11345 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11347 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11348 non-existing layout, do not complain if it was the default layout
11349 of the original class (bug #342)
11351 2002-04-24 Juergen Vigna <jug@sad.it>
11353 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11354 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11356 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11358 * buffer.C (getBibkeyList): If using \bibliography, return the
11359 option field with the reference itself. Enables us to provide natbib
11360 support when using \bibliography.
11362 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11364 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11366 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11367 natbib is provided by the LaTeX class.
11369 2002-04-23 Juergen Vigna <jug@sad.it>
11371 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11374 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11376 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11378 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11380 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11381 ensuremath around textordmasculine, textordfeminine and
11384 2002-04-19 Juergen Vigna <jug@sad.it>
11386 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11387 reinitializing the buffer otherwise row-dimensions may be wrong.
11388 (update): reset also the selection cursors if they do exits otherwise
11389 their x/y positions may be wrong.
11391 * text2.C (cursorDown): don't enter the inset if we came from a row
11392 above and are one row over the inset.
11394 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11395 really leaving an inset.
11397 2002-04-18 Juergen Vigna <jug@sad.it>
11399 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11400 of the selected paragraph does not have the selected layout also if
11403 * text2.C (setLayout): fixed bug which did not change last selected
11406 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11407 changed the read and substituted \\end_float with \\end_inset!
11409 * BufferView_pimpl.C (cursorPrevious):
11410 (cursorNext): fixed to make it work with rows heigher than the work
11411 area without moving the cursor only the draw of the row.
11412 (workAreaMotionNotify): fix jumping over high rows.
11414 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11416 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11419 2002-04-16 Juergen Vigna <jug@sad.it>
11421 * text2.C (setCursor): set also the irow().
11422 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11424 (cursorDown): support for locking an inset if the x_fix value goes
11425 inside it. That way I can transverse insets too with cursor up/down.
11427 * lyxrow.h: added irow helper function same as other (i) functions.
11429 * BufferView_pimpl.C (cursorPrevious):
11430 (cursorNext): fixed for insets!
11432 2002-04-15 Juergen Vigna <jug@sad.it>
11434 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11435 position otherwise it is wrong in some cases.
11437 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11438 inside the inset before the call.
11440 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11442 * buffer.[Ch] (getBibkeyList): make it const.
11444 2002-04-12 Juergen Vigna <jug@sad.it>
11446 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11448 * text2.C (getCursorX): new helper function
11449 (setCursor): compute also ix_
11450 (setCursorFromCoordinates): set also ix.
11452 * lyxcursor.h: added ix_ and helper functions.
11454 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11456 * buffer.C (insertStringAsLines): dont break paragraph if the this
11457 paragraph is inside an inset which does not permit it!
11459 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11460 also with no chars on this paragraph.
11461 (paintRowText): only paint stuff if it's inside the workarea!
11463 * paragraph.C (breakParagraph): honor keepempty flag and break the
11464 paragraph always below not above.
11466 * BufferView2.C (unlockInset): update the paragraph layout on inset
11467 unlock as we changed paragraph in such a case.
11469 * lyxfind.C (LyXFind): clear the former selection if not found!
11471 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11472 again called in insertChar().
11474 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11475 an inset which uses the whole row!
11476 (rightMargin): ditto.
11477 (insertChar): force a rebreak if we inserted an inset!
11479 2002-03-28 Herbert Voss <voss@lyx.org>
11481 * lyxlength.[Ch]: add inBP() to get the right PS-point
11482 units (BigPoint). With inPixels we have rounding errors
11484 2002-04-11 Juergen Vigna <jug@sad.it>
11486 * text2.C (setCursorFromCoordinates): set iy to the right value.
11487 (setCursor): add check if row->previous exists!
11489 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11490 an old float_type as this was the case in the old code!
11492 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11494 * BufferView2.C (showLockedInsetCursor): use iy
11495 (fitLockedInsetCursor): ditto
11497 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11498 locked insets as there we have the right value now.
11500 * lyxcursor.C: added iy_ variable and iy functions to set to the
11501 baseline of cursor-y of the locked inset.
11503 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11504 (setCursor): fixed for insets which need a full row.
11506 * text.C (rowLastPrintable): don't ignore the last space when before
11507 an inset which needs a full row.
11508 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11509 as last character of a row when before a inset which needs a full row.
11511 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * version.C.in: update date
11515 * text2.C (fullRebreak): try to always return true and see what
11518 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11520 * MenuBackend.C (expand): use Floating::listName
11522 * FloatList.C (FloatList): add listName argument to the built-in
11525 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11526 text associated with the float.
11528 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11532 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11534 * ShareContainer.h: add a couple of missing typenames.
11536 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11538 * lyxrc.C (getDescription): use _() correctly rather than N_().
11540 2002-03-28 Herbert Voss <voss@lyx.org>
11542 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11543 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11545 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11547 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11548 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11550 2002-03-29 Juergen Vigna <jug@sad.it>
11552 * lyxfunc.C (dispatch): add a missing fitCursor call.
11554 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11555 it was scrolled by a cursor move, so return the bool status.
11557 * BufferView.C (fitCursor): return the bool flag also to the outside
11558 world as this is needed.
11560 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11562 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11563 call the edit() as it is not needed (and wrong) IMO.
11564 (workAreaButtonPress): set the screen_first variable before evt.
11565 unlock the inset as this may change screen_first and then we have
11566 a wrong y position for the click!
11568 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11570 * MenuBackend.C (expand): another translation that I missed
11572 2002-03-28 Juergen Vigna <jug@sad.it>
11574 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11576 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11578 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11580 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11582 * MenuBackend.C (expand): fix export/view/update when there is no
11585 2002-03-27 Herbert Voss <voss@lyx.org>
11587 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11590 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11592 * bufferview_funcs.C (currentState): only show paragraph number
11593 for is DEVEL_VERSION is set.
11595 * lyxfunc.C (dispatch): put warning in INFO channel
11597 * MenuBackend.C (expand): translate the name of floats
11599 * FloatList.C (FloatList): mark the float names for translation
11601 * converter.C (convert): use LibScriptSearch
11603 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11605 * MenuBackend.C (defaults): fix default menu (we might as well get
11608 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11613 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11615 * lyxvc.C: reorder includes.
11617 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11622 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11624 * CutAndPaste.C: change layouts earlier on paste
11625 to avoid crashing when calling getFont()
11627 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11629 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11632 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * WorkArea.C: remove 'Pending' debug message.
11636 * most files: ws cleanup
11638 * buffer.[Ch]: ws changes
11640 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11642 2002-03-21 Juergen Vigna <jug@sad.it>
11644 * tabular.C (SetMultiColumn): collapse also the contents of the
11645 cells and set the last border right. Added a Buffer const * param.
11647 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11652 2002-03-19 Juergen Vigna <jug@sad.it>
11654 * text2.C (clearSelection): reset also xsel_cache.
11656 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11657 where it needs to be called (John tells us to do so too :)
11658 (selectionLost): reset sel_cache.
11660 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11662 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11664 * text2.C (setCursorIntern): put debuging code in INSETS channel
11666 2002-03-19 André Pönitz <poenitz@gmx.net>
11668 * lyxfunc.C: tiny whitespace change
11670 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11672 * ToolbarDefaults.C (init):
11673 * LyXAction.C (init):
11675 * BufferView_pimpl.C (Dispatch):
11676 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11678 2002-03-19 Allan Rae <rae@lyx.org>
11680 * exporter.C (Export): removeAutoInsets before doing anything else.
11681 While I've just introduced a dependency on BufferView this really is
11682 the best place to clean the buffer otherwise you need to cleanup in
11683 a dozen places before calling export or cleanup in a dozen functions
11686 * converter.C (runLaTeX):
11687 (scanLog): Better handling of removeAutoInsets and screen updates.
11689 * lyxfunc.C (dispatch): small whitespace changes
11691 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * WorkArea.C (C_WorkAreaEvent): return a value.
11694 (event_cb): return 1 if we handled the event, 0 otherwise.
11696 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11698 2002-03-18 Juergen Vigna <jug@sad.it>
11700 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11701 (GetAdditionalWidth): ditto.
11702 (RightLine): ditto.
11705 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11706 inset if we're there actually (probably not used right now but this
11707 is the direction to go for unifying code).
11708 (paste): disable code to clear the selection.
11710 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11711 inside an InsetText and move the check further up as it is in the
11714 * text2.C (pasteSelection): set a selection over the pasted text.
11716 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11718 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11719 and libgraphics to build on Cygwin.
11721 2002-03-15 Juergen Vigna <jug@sad.it>
11723 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11724 inserting an Inset into the paragraph. I know this is not the best
11725 fix but we already use current_view in CutAndPaste so we will remove
11726 all of it's using at the same time.
11728 * buffer.C (sgmlError): deactivated function till it is rewritten in
11729 the right mode, now it can create problems.
11731 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11732 before accessing it.
11734 2002-03-14 Juergen Vigna <jug@sad.it>
11736 * undo_funcs.C (textHandleUndo): do the right thing when updating
11737 the inset after the undo/redo.
11739 * text2.C (setCursor): just some testcode for #44 not ready yet.
11741 * undo_funcs.C (textHandleUndo): set the next() and previous()
11742 pointers of the paragraph to 0 before deleting otherwise we have
11743 problems with the Paragraph::[destructor].
11745 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11746 on a paragraph insertion.
11748 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11750 * buffer.C (asciiParagraph): use += operator for char append to
11753 * paragraph.C (getFontSettings): compare >= not just >
11754 (highestFontInRange): ditto
11757 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11759 * paragraph.C: change several algorithm to be more appripriate for
11760 the problem domain. This is lookip in FontList and in the InsetList.
11762 2002-03-13 André Pönitz <poenitz@gmx.net>
11765 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11767 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11772 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11774 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * Painter.C (display): anon helper function, adjust code for this
11778 (pixmap): remove function.
11780 * Painter.h: remove private display variable.
11782 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11784 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11786 * WorkArea.[Ch]: remove figinset_canvas cruft.
11788 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * lyxtextclass.C (operator): add one item cache optimization.
11792 * bufferlist.h: doxy changes
11794 * bufferlist.C: ws changes
11796 * DepTable.[Ch] (ext_exist): place const in the right spot.
11798 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11800 (workAreaExpose): call resizeInsets when the with BufferView changes.
11801 (Dispatch): adjust for protectedBlank removal
11802 (specialChar): call updateInset if the insert went ok.
11804 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11805 specialChar instead.
11807 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11809 * BufferView.h: doxy change
11811 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11813 * lyxtextclass.C (operator[]): remove non-const version
11814 (defaultLayout): remove non-const version
11816 2002-03-12 Juergen Vigna <jug@sad.it>
11818 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11819 did resize the LyXText too.
11821 * buffer.C (readLyXformat2): set layout information on newly allocated
11824 * tabular.C (OldFormatRead): set layout information on the paragraph.
11826 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11828 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11830 2002-03-11 Juergen Vigna <jug@sad.it>
11832 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11834 (resizeCurrentBuffer): force also the insets to resize themselfes.
11835 (moveCursorUpdate): fixed up for InsetText.
11837 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11840 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11841 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11842 value of Dialogs::tooltipsEnabled().
11843 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11845 2002-03-08 Juergen Vigna <jug@sad.it>
11847 * BufferView_pimpl.C (updateInset): update inset inside inset also
11848 if it isn't inside theLockingInset().
11850 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * buffer.C (asciiParagraph): redo some of the word and line length
11854 (getLists): look for Caption instead of caption.
11856 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11858 * buffer.C (Buffer): initialize niceFile to true
11860 (makeLinuxDocFile):
11861 (makeDocBookFile): make sure niceFile is true on exit
11863 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11865 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11867 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11869 * LyXSendto.C: remove.
11870 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11871 * lyx_gui.C: remove now-redundant comment.
11872 * ColorHandler.h: remove forward declaration of class WorkArea.
11873 * lyxfunc.C: remove #include "WorkArea.h".
11875 2002-03-07 Juergen Vigna <jug@sad.it>
11877 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11878 got moved away with the DEPM and also set the inset_owner always
11879 right which before could have been omitted.
11881 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11883 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11884 wanted layout is not found.
11886 2002-03-07 Juergen Vigna <jug@sad.it>
11888 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11890 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11892 * paragraph.C (breakParagraph): use default layout not layout of
11894 (Paragraph): clear ParagraphParameters.
11896 2002-03-06 Juergen Vigna <jug@sad.it>
11898 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11899 otherwise it would not be a valid lenght. Fixed a special case in
11900 the minipage compatibility read where we end the document with a
11903 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11904 was set as it could be 0 for InsetTexts first entry.
11906 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11908 * paragraph.C (writeFile): if layout is empty write out
11909 defaultLayoutName().
11911 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11912 file without named layout we set layout to defaultLayoutName().
11914 2002-03-06 Juergen Vigna <jug@sad.it>
11916 * CutAndPaste.C (copySelection): set layout for new paragraph.
11918 * text.C (prepareToPrint): leave ERT inset left aligned
11919 (leftMargin): don't indent paragraphs inside ERT insets
11921 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11923 * paragraph.C (breakParagraph): dont call clear do the work manually
11925 * paragraph.[Ch] (clear): remove function
11927 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11929 * paragraph.C (Paragraph): dont call clear, the work has already
11932 * lyxtextclass.C (operator): assert if n is empty
11934 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11935 work manually instead.
11937 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11939 * BufferView_pimpl.C: protect selectionLost against text == 0
11941 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11943 * text.C (breakParagraph): fix a setting layout to '0' problem.
11945 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11947 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11948 final location of file, for the included files, and graphics.
11950 2002-03-05 Juergen Vigna <jug@sad.it>
11952 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11954 2002-03-04 Juergen Vigna <jug@sad.it>
11956 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11958 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11959 last column of multicolumn cells.
11960 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11962 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11964 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11965 file if it doesn't go to a temporary file.
11967 * buffer.C (sgmlOpenTag):
11968 (sgmlCloseTag): remove extra newline insertion.
11970 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11972 * text.C (getRowNearY): comment out debug msg
11974 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11976 * text2.C: first -> first_y
11978 * text.C (getRowNearY): add some attemts at a possible
11979 optimization, not working.
11981 * tabular.[Ch]: add BufferParams to several function so that newly
11982 created paragraph can be initialized to he default layotu for the
11985 * tabular-old.C (ReadOld): add buf->params to call of Init
11987 * screen.C: rename text->first to text->first_y
11989 * paragraph.C (breakParagraph): always set layout in the broken
11992 * lyxtextclass.C (Read): remove lowercase
11995 (delete_layout): ditto
11997 * lyxtext.h: rename first -> first_y
11999 * lyxlayout.C (Read): remove lowercase
12002 (obsoleted_by): ditto
12004 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12006 * buffer.C (insertErtContents): add params are to InsetERT
12007 (parseSingleLyXformat2Token): add code to check if a paragraphs
12008 layout really exist.
12009 (parseSingleLyXformat2Token): add params to several inset
12011 (asciiParagraph): remove lowercase, do the layout comparisons with
12014 * BufferView_pimpl.C (cursorNext): first -> first_y
12015 (resizeCurrentBuffer): first -> first_y
12016 (updateScrollbar): first -> first_y
12017 (scrollCB): first -> first_y
12018 (workAreaMotionNotify): first -> first_y
12019 (workAreaButtonPress): first -> first_y
12020 (checkInsetHit): first -> first_y
12021 (cursorPrevious): first -> first_y
12022 (cursorNext): first -> first_y
12023 (Dispatch): add buffer_->params to severl inset contructors
12025 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12027 * lyxlayout.C (Read): remove some debug info that I forgot.
12029 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12030 clean up the code slightly.
12031 (makeLinuxDocFile): ditto
12032 (makeDocBookFile): ditto
12034 * text2.C: layout as string
12036 * text.C: layout as string
12038 * paragraph_pimpl.C: layout as string
12040 * paragraph.[Ch]: layout as string
12042 * lyxtextclasslist.[Ch]: layout as string
12044 * lyxtextclass.[Ch]: layout as string
12046 * lyxtext.h: layout as string
12048 * lyxlayout.[Ch]: layout as string
12050 * lyx_cb.C: layout as string
12052 * bufferview_funcs.C: layout as string
12054 * bufferparams.C: layout as string
12056 * buffer.C: layout as string
12058 * LyXView.[Ch]: layout as string
12060 * LaTeXFeatures.[Ch]: layout as string
12062 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12064 * BufferView_pimpl.C: change current_layout to string, remove
12069 (workAreaButtonRelease): layout as string
12071 * BufferView2.C (unlockInset): adjust
12073 * vspace.C (asLatexCommand): use an explict temp variable.
12075 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12077 * Makefile.am: use FRONTEND_*
12079 2002-03-01 Juergen Vigna <jug@sad.it>
12081 * tabular.C (SetWidthOfMulticolCell): changed to something better
12082 I hope but still work in progress.
12083 (recalculateMulticolumnsOfColumn): renamed function from
12084 recalculateMulticolCells as it is more appropriate now.
12085 (SetWidthOfCell): calculate multicols better.
12087 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12089 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12091 * lyxfunc.C (processKeySym): print sequence also if it is
12092 `deleted' (complete)
12094 * kbsequence.C (print): print sequence even if it is deleted
12095 (complete would be a better word, actually).
12097 * lyxfunc.C (dispatch): print complete options after a prefix key
12099 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12101 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12103 * text2.C (setCharFont): eliminate setCharFont code duplication.
12105 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12107 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12108 LFUN_TABULAR_FEATURE (bug #177)
12110 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12112 * Makefile.am: remove figure.h
12114 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12116 * Bufferview_pimpl.C:
12128 * text2.C: remove #include "lyx_gui_misc.h".
12130 * LaTeX.C: added #include <cstdio>
12132 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12135 that the paragraph following this one can have.
12137 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12139 * vspace.C (asLatexCommand): fix bogus gcc warning
12141 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12143 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12145 * text2.C (setLayout): get rid of redundant code
12147 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12149 * text2.C (incDepth): make sure depth cannot be increased beyond
12152 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12154 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12155 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12157 * PainterBase.h (image):
12158 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12159 a LyXImage const *.
12161 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12165 * BufferView_pimpl.C:
12166 * BufferView_pimpl.h:
12186 * sp_spell.C: remove fig inset, and the crap house of
12187 cards that follows it
12189 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12194 * os2_errortable.h:
12195 * nt_defines.h: move .h into support/
12197 * vms_defines.h: remove
12199 * WorkArea.C: add space in debug output
12203 * buffer.C: add WITH_WARNINGS
12207 * bufferlist.C: s/retrive/retrieve/, add docs
12216 * chset.C: add docs
12218 * lyxgui.C: add ID to X error handler
12220 * lyxtestclass.c: fix typo
12222 2002-02-26 Juergen Vigna <jug@sad.it>
12224 * tabular_funcs.C (write_attribute): changed so that some default
12225 attributes are not written at all.
12226 (getTokenValue): set default values before trying to read the
12227 value so we have the return value always set as default if we don't
12228 find the token we search for.
12230 * tabular.C (Write): write bools as bools not as strings!
12232 2002-02-22 Juergen Vigna <jug@sad.it>
12234 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12235 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12237 * text.C (leftMargin): don't add an indent for paragraphs inside
12238 tabular cells (fix #208).
12240 2002-02-21 José Matos <jamatos@fep.up.pt>
12242 * tabular.C (docBook): fixed support for long tables.
12244 2002-02-20 Juergen Vigna <jug@sad.it>
12246 * text2.C (getFont): get the drawing font of the Inset if this
12247 paragraph is inside an inset (only important for InsetERT for now).
12249 * buffer.C (insertErtContents): use new lanugage params in ERT
12252 * CutAndPaste.C: commenting out seemingly uneeded code.
12254 2002-02-19 Allan Rae <rae@lyx.org>
12256 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12257 Iterators might be simple to use but they also get invalidated.
12258 (removeAutoInsets): renamed saved cursor tracking variables and added
12259 some comments to clarify what everything does.
12261 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12268 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12269 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12272 * vc-backend.h: remove #include "support/syscall.h"
12276 * converter.C: rearrange #includes in Lars' approved fashion.
12278 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12279 forward declare class Timeout in the header file.
12281 * XFormsView.C: changes due to the above.
12283 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12284 similar to LyXView.
12286 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12287 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12289 2002-02-18 José Matos <jamatos@fep.up.pt>
12291 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12294 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12296 * a lot of small ws changes
12297 * add a lot of using std::XXX
12298 * use std construcs some places where approp.
12299 * use some exisint stuff from lyxfunctional where approp.
12300 * Make file changes to use partial linking (lets test this now...)
12302 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12306 remove #include "support/syscontr.h" as it's redundant. Always has been.
12314 change Systemcalls::System to Systemcalls::Wait and
12315 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12316 No change of functionality, just reflects the stripped down Systemcalls
12319 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12321 * debug.[Ch]: add a GRAPHICS type to the enum.
12323 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12325 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12327 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12330 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12332 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12333 match the changes below.
12335 * text2.C (toggleInset): if there is not editable inset at cursor
12336 position, try to see if cursor is _inside_ a collapsable inset
12339 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12341 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12342 document menu has a nice checkbox
12344 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * lyxlength.C (asLatexString): change PW to output as percent of
12349 * lengthcommon.C: change '%' to 't%'
12351 * lyxfunc.C (dispatch): a few comments from Martin
12353 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12357 * BufferView_pimpl.h:
12358 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12361 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12363 * vspace.C (inPixels): fix compiler warning
12365 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12367 * lyxfunc.C (getStatus): fix status message for disabled commands.
12369 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12371 * BufferView_pimpl.C: fix crash on close buffer
12372 during selection (#227)
12374 2002-01-27 Herbert Voss <voss@lyx.org>
12376 * buffer.C: link old Figure to new graphic inset
12378 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12380 * FontLoader.C (getFontinfo): Change the latex font names in order
12381 to match the names of type1inst.
12383 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12385 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12387 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12388 (extchanged): ditto
12390 (remove_files_with_extension): ditto
12391 (remove_file): ditto
12394 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12395 document is smaller than the work area height. Do not initialize
12396 static variables to 0.
12398 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12400 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12402 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12403 LFUN_LAYOUT_PARAGRAPHS.
12405 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12406 tabular. It is possible to provide a possible cell, which will
12407 typically be the actcell from the corresponding insettabular
12409 * lyxfunc.C (getStatus): small cleanup; disable
12410 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12413 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12417 * paragraph.C (startTeXParParams):
12418 (endTeXParParams): new methods. The LaTeX code to
12419 start/end paragraph formatting
12420 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12421 empty (fixes bug #200)
12423 * vspace.C (inPixels): adapt to the change below
12424 (inPixels): [later] more cleanups (remove unused variables)
12426 * lyxlength.C (inPixels): change to use a width and a height as
12429 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12431 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12432 Replaced with \paperwidth
12434 * DepTable.C (insert): add std:: qualifier
12436 2002-01-18 Allan Rae <rae@lyx.org>
12438 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12441 * text.C (drawInset): Turned out I didn't know enough about how
12442 rebreaking worked. This fixes most of the redraw problems. I see
12443 an occasional cursor trail when a line is broken now and the cursor
12444 placement can seem out by a few pixels also after a rebreak.
12446 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12448 * buffer.C (parseSingleLyXformat2Token): update because minipage
12449 width is now a LyXLength
12451 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12453 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12456 2002-01-17 Juergen Vigna <jug@sad.it>
12458 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12460 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12461 is set correctly and the inset is updated correctly.
12463 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12465 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12466 the beginning of the loop.
12468 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12470 * lyxrc.C: improve help for use_scalable_fonts
12472 2002-01-17 Allan Rae <rae@lyx.org>
12474 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12476 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12479 make sure to set their inset_owner to the right value (bug #171)
12481 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12484 * DepTable.C: Implement mtime checking to reduce time spent doing
12487 2002-01-16 Juergen Vigna <jug@sad.it>
12489 * tabular.C (GetAdditionalHeight): one of error fixed.
12491 * lyxrc.C (output): small fix in writing use_pspell.
12493 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12495 * sp_base.h: #include LString.h
12497 2002-01-16 Allan Rae <rae@lyx.org>
12499 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12500 Can someone check this please?
12502 * text.C (drawInset): It was possible that p.row would be removed by
12503 breakAgainOneRow upsetting a few other settings. There may be another
12504 small tweak possible by setting need_break_row = 0 when p.row has been
12505 removed but I don't know enough about the logic here.
12507 2002-01-15 Allan Rae <rae@lyx.org>
12509 * text.C (insertChar): removed conditional truism.
12511 * BufferView2.C (removeAutoInsets): More tweaks.
12512 cur_par_prev could be a stray pointer. Check for trailing empty line
12513 in case last line was cur_par and only had an error inset on it.
12515 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12517 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12520 * vc-backend.C (most methods):
12521 * exporter.C (Export):
12522 * converter.C (convert):
12524 * LyXSendto.C (SendtoApplyCB):
12525 * lyxfunc.C (dispatch):
12529 * lyx_cb.C (AutoSave):
12531 * BufferView_pimpl.C (MenuInsertLyXFile):
12532 * buffer.C (runChktex): use Buffer::filePath().
12534 * buffer.h: rename filename to filename_; rename filepath to
12535 filepath_ and make it private
12536 (filePath): new method
12538 * buffer.C (writeFile): use fileName()
12541 * lyx_main.C (init): fix starting of LyX when the binary is a
12542 link from so,ewhere else.
12544 * minibuffer.C: include <cctype> for isprint
12546 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12548 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12549 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12550 name clash with InsetCollapsable's width function.
12552 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * lastfiles.C: include <iterator>
12556 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12558 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12561 * buffer.C (makeLaTeXFile): ditto.
12562 Also make loop operation more transparent.
12564 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12566 * ToolbarDefaults.C: remove trailing comma closing namespace.
12568 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12570 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12573 * trans.C (Load): comment out unused variable, allowed.
12575 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12577 * minibuffer.[Ch] (append_char): new method to recieve input from the
12578 drop-down completion browser. If a key was pressed, then recieve this
12579 char and append it to the existing string.
12580 (peek_event): modify the positioning data passed to the completion
12581 browser so that it can be placed above the minibuffer rather than below.
12582 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12584 * LyXAction.C (init): alloe error-next for readonly documents.
12586 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12589 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12591 * bufferlist.C (readFile): create the buffer _after_ checking that
12594 * lyxfunc.C (verboseDispatch): fix handling of arguments
12596 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12598 * lyxrc.C: use string::erase() instead of initializing to "".
12601 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12603 * BufferView_pimpl.h:
12604 * BufferView_pimpl.C:
12607 * text2.C: tell X when we have made a selection for copying
12609 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * BufferView_pimpl.C (MenuInsertLyXFile):
12612 * lyxfunc.C (menuNew):
12614 (doImport): add shortcuts to directory buttons
12616 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12619 * lyxfunc.C (setStatusMessage):
12620 (getStatusMessage): new methods
12621 (getStatus):use setStatusMessage instead of setErrorMessage
12622 (dispatch): when function is disabled, set error message here
12623 [instead of in getStatus previously]
12625 * BufferView_pimpl.C (workAreaButtonRelease): update
12626 toolbar/menubar here too.
12628 2002-01-13 Allan Rae <rae@lyx.org>
12630 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12631 Now seems indestructible. Remaining task is to audit all other
12632 code affected by deleteEmptyParagraphMechanism. One small quirk
12633 left is that an empty document with an error in the preamble can
12634 be made to report an error but no error box appears. I don't know
12636 (removeAutoInsets): Improved comments.
12638 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12641 * Thesaurus.C: update for Aiksaurus 0.14
12643 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12645 * text2.C (firstParagraph): removed member function, all uses
12646 replaces with ownerParagraph
12647 (redoParagraphs): here
12648 (updateInset): here
12649 (toggleAppendix): here
12650 * BufferView2.C (insertErrors): here
12651 (setCursorFromRow): here
12653 2002-01-13 Allan Rae <rae@lyx.org>
12655 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12656 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12657 There is still a way to segfault this although you may have to do this
12658 multiple times: Have an InsetERT with an unknown command in it.
12659 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12660 <down-arrow>, <Enter> again, View->DVI, BANG!
12662 * text2.C (setCursor):
12663 (deleteEmptyParagraphMechanism):
12664 * lyxtext.h (setCursor):
12665 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12666 Making use of the return value may help fix other bugs.
12668 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12672 * LyXView.C (updateMenubar): call MenuBar::update here
12673 (updateToolbar): but not here
12674 (showState): do not update toolbar/menubar
12676 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12677 should need to care about that.
12679 * lyxfunc.C (verboseDispatch): simplify a bit
12680 (getStatus): have a version which takes a pseudoaction, and
12681 another which requires a (kb_action,string).
12683 * LyXAction.C (retrieveActionArg): make it work also when action
12684 is not a pseudo-action.
12685 (getActionName): simplify a bit
12688 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12690 * lyxfunc.C (verboseDispatch): new families of methods with
12691 several ways to specify a command and a bool to indicate whether
12692 the command name and shortcut should be displayed in minibuffer
12693 (eventually, we could extend that to a finer bitmask like
12694 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12695 (dispatch): the pristine dispatch command which just, well,
12696 dispatchs! Note it still sets its result to minibuffer; I'm not
12699 * lyxfunc.h: remove setHintMessage
12701 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12703 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12705 * BufferView_pimpl.C (specialChar): delete new inset if we have
12706 not been able to insert it.
12708 * kbmap.C: revert to using int instead of kb_action, since all we
12709 are dealing with is pseudo-actions.
12711 * LyXAction.C (searchActionArg): change to return int instead of
12712 kb_action, since the result is a pseudoaction.
12714 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12716 * buffer.C (insertErtContents): Fix (partially) the font bug.
12718 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12720 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12721 as the other one is broken on my machine!
12723 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12726 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12728 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12730 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12731 reflect their actual use. Provide compatibility code for older lyxrc
12734 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12736 change names of popup font variables in line with the changes to lyxrc.C
12738 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12740 * buffer.C (asciiParagraph): avoid outputing a word twice after
12743 * lyxrc.C (getDescription): document that document_path and
12744 template_path can be empty.
12746 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12748 * LaTeXFeatures.C (getMacros):
12749 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12751 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12753 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12755 (getPackages): rename feature "floats" to "float". Use an array to
12756 iterate over 'simple' features (i.e. just a \usepackage). Add
12757 handling of "amsmath" (renamed from "amsstyle").
12759 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12761 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12764 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12766 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12767 FuncStaus::FuncStatus & FuncStaus::some_method().
12769 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12771 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12772 of the func_satus stuff. Edited and massaged in various ways by
12775 * lyxfunc.C (getStatus): use FuncStatus
12777 2002-01-08 Juergen Vigna <jug@sad.it>
12779 * text.C (nextBreakPoint): use function Inset::isChar().
12781 * paragraph.C (TeXOnePar): use function
12782 Inset::forceDefaultParagraphs.
12784 * buffer.C (latexParagraphs): use function
12785 Inset::forceDefaultParagraphs.
12787 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12789 * lyx_gui.C (init): set the style of the menu popups to
12790 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12792 2002-01-07 Juergen Vigna <jug@sad.it>
12794 * text.C (setHeightOfRow): small fix
12795 (prepareToPrint): don't look at alignment if we don't have the place
12798 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12800 * box.C: New file. Move the Box methods and functions out of box.h,
12801 following Lars' suggestion.
12803 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12805 * box.h: #include "support/LOstream.h", needed for inlined function.
12808 * lyxtextclasslist.C: added some using std declarations.
12810 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12812 * box.h: make signed dimensions to allow insets wider than
12813 the screen (bug #162)
12815 * BufferView_pimpl.C: add some insetHit debug
12817 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12819 * vc-backend.C: add FIXME
12821 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * lyxfunc.C (getStatus): enable code for showing math font status
12826 2002-01-07 Juergen Vigna <jug@sad.it>
12828 * text.C (nextBreakPoint): removed debug output not needed anymore.
12830 2002-01-06 Juergen Vigna <jug@sad.it>
12832 * text.C (nextBreakPoint): fixed up this function we had this bug
12833 since ever but now hopefully we break row better.
12834 (insertChar): we have to check if an inset is the next char as it
12835 could now happen that a large inset is causing a break.
12837 2002-01-05 Juergen Vigna <jug@sad.it>
12839 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12840 if it doesn't like to be drawed.
12842 2002-01-04 Juergen Vigna <jug@sad.it>
12844 * BufferView2.C (lockInset): forgot to set a cursor.
12846 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12848 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12850 * FormMathsPanel.C:
12853 * form_maths_panel.C:
12854 * form_maths_panel.h:
12855 * form_maths_panel.fd: implemented sub- and super- buttons in math
12858 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12859 (or ^ space) to be used as in TeX (req'd by André).
12861 * lyxfunc.C: Allow ^ and _ again to be used both as
12862 super/subscript (mathed) and as themselves (in text).
12864 2002-01-03 Allan Rae <rae@lyx.org>
12866 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12867 "LyX" or the filename of the current buffer if it has one. This is a
12868 modified form of John Levon's patch.
12870 * XFormsView.C (setWindowTitle): also set icon title.
12872 * LyXView.h (setWindowTitle): signature changed.
12873 * XFormsView.h (setWindowTitle): ditto.
12875 2002-01-02 Juergen Vigna <jug@sad.it>
12877 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12879 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12881 * screen.C (topCursorVisible): introduce a temp var for
12882 text->cursor.row(), handle the case where this row is null. (kindo
12885 * text2.C (setCursor): add a couple of asserts.
12887 * paragraph.h (inset_iterator): add -> operator
12889 * paragraph.[Ch] (autoDeleteInsets): remove member function
12891 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12892 cursor pos correctly and handle inset deletion by itself.
12893 (insertErrors): move iterator declaration out of for expression
12895 * lyxtextclass.C: add <algorithm>
12897 * Makefile.am: added the new files to sources, removed layout.C
12899 * layout.C: removed file
12901 * layout.h: remove LYX_DUMMY_LAYOUT
12903 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12907 * lyxtextclass.[Ch]:
12908 * lyxtextclasslist.[Ch]: new files
12910 * include order changes to a lot of files, also changes because of
12913 2001-12-27 Juergen Vigna <jug@sad.it>
12915 * buffer.C (asciiParagraph): more fixes.
12917 * tabular.C (ascii): make ascii export support export of only the
12918 data separated by a column-delimiter.
12919 (ascii): better support for ascii export.
12921 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12923 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * tabular_funcs.C: use a "using std::getline" instead of the
12926 previous fix from Angus (necessary for cxx + lyxstring)
12928 2001-12-24 Juergen Vigna <jug@sad.it>
12930 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12932 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12933 problems. First check a minipage also if we have some ert-contents
12934 (not only on par->size(), second set the right depth of the paragraph
12935 on the relink to the root-paragraph-list!
12937 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12938 which then did not anymore update the main paragraphs on undo/redo!
12940 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12942 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12943 code. Support all font-changing funcs (even those which are not in
12944 menu currently). Support for reporting font settings in
12945 mathed (disabled until Andre provides a function on mathed's side).
12947 * func_status.h (toggle): small helper function to set toggle
12950 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12952 * tabular_funcs.C: getline -> std::getline
12954 2001-12-21 Juergen Vigna <jug@sad.it>
12956 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12957 accessed and could be 0 (I couldn't generate this but it seems
12960 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12962 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12963 * tabular_funcs.h: here and include iosfwd
12965 2001-12-20 Juergen Vigna <jug@sad.it>
12967 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12968 inside inset but undo_par was.
12970 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12972 * Thesaurus.C: always include <config.h> in sources.
12976 * box.h: do not include <config.h> in header files
12978 * text.C (paintLastRow): remove unused variable
12980 * text.C (transformChar):
12982 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12984 * Painter.C (text):
12985 * font.C (width): rewrite to use uppercase() instead of
12988 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12990 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12992 * lyxfind.C: clean up of find failure position change
12994 2001-12-20 Juergen Vigna <jug@sad.it>
12996 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12998 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12999 (TeXRow): added to LaTeX a single tabular row.
13000 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13001 (Latex): simplified and finally good LT-h/f support.
13002 (various_functions): just small adaptions for LT-h/f support.
13004 * tabular_funcs.[hC]: added and moved here all not classfunctions
13007 2001-12-19 Juergen Vigna <jug@sad.it>
13009 * tabular.[Ch]: better support for longtabular options (not finished
13012 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13014 * text.C (paintLastRow): use the label font instead of the font of
13015 the last character to compute the size of *_BOX. This makes more
13016 sense and avoids a crash with empty paragraphs.
13017 Use Painter::rectangle to draw EMPTY_BOX.
13019 2001-12-19 Juergen Vigna <jug@sad.it>
13021 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13022 the paragraphs if the replaced paragraph is not the first one!
13023 Tried to delete not used paragraphs but does not work yet so for
13024 now it's inside #ifdef's and by default off!
13026 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13028 * MenuBackend.C: include "lyx_main.h" instead of declaring
13029 lastfiles (actually was declared as LastFiles* instead of a
13032 2001-12-17 Juergen Vigna <jug@sad.it>
13034 * tabular.C (AppendColumn): applied John's fix
13036 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13040 * BufferView_pimpl.h:
13041 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13044 * box.h: new start of class for above
13046 * lyxfunc.C: ignore space-only minibuffer dispatches.
13047 Show the command name when it doesn't exist
13049 * minibuffer.C: don't add empty lines to the history
13051 * minibuffer.C: add a space on dropdown completion
13053 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13055 * text.C: fix line above/below drawing in insets
13057 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13059 * lyxlength.C (LyXLength): Initialize private variables.
13061 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13064 when inserting error insets.
13066 2001-12-13 Juergen Vigna <jug@sad.it>
13068 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13069 actually sometimes the before-paragraph.
13070 (setUndo): don't clear the redostack if we're not actually undoing!
13072 2001-12-06 Juergen Vigna <jug@sad.it>
13074 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13075 and fixed redoing of main paragraph, so we can use it now ;)
13077 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13079 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13081 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13084 2001-12-13 André Pönitz <poenitz@gmx.net>
13087 * undo_func.C: minor cleanup
13089 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13091 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13092 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13093 font in urw-fonts package which is marked as -urw-fontspecific and
13094 does not work (incidentally, changing the encoding in the
13095 fonts.dir of this package to -adobe-fontspecific fixes the
13098 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13099 is a crash when undoing first paragraph (Juergen, please take a
13100 look). THis does not mean the undo fix is wrong, just that it
13103 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13104 the (Paragraph*) version when needed instead of duplicating the
13107 * text.C (workWidth): use Inset::parOwner to find out where the
13108 inset has been inserted. This is a huge performance gain for large
13109 documents with lots of insets. If Inset::parOwner is not set, fall
13110 back on the brute force method
13112 * paragraph_pimpl.C (insertInset):
13113 * paragraph.C (Paragraph):
13114 (cutIntoMinibuffer): set parOwner of insets when
13115 inserting/removing them
13117 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13119 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13125 * mathed/formulabase.C:
13126 * mathed/math_cursor.[Ch]:
13127 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13130 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13132 * lyxlength.[Ch] (operator!=): new function
13134 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13136 * text.C (workWidth): use Inset::parOwner to find out where the
13137 inset has been inserted. This is a huge performance gain for large
13138 documents with lots of insets. If Inset::parOwner is not set, fall
13139 back on the brute force method
13141 * paragraph_pimpl.C (insertInset):
13142 * paragraph.C (Paragraph):
13143 (cutIntoMinibuffer): set parOwner of insets when
13144 inserting/removing them
13146 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13148 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * tabular-old.C (getTokenValue):
13151 * tabular.C (getTokenValue):
13152 (write_attribute): new versions for LyXLength
13153 (everywhere): adjust the use of widths
13155 * tabular.h: change the type of widths from string to LyXLength
13157 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13159 * paragraph.C: fixed missing line number count when exporting
13160 Environments to LaTeX file
13162 * buffer.C: added informational message for checking line numbers.
13164 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13166 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13167 paragraph, do the 'double space' part, but not the 'empty
13170 * text.C (workWidth): small optimization
13171 (getLengthMarkerHeight): use minimal size for negative lengths.
13173 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13175 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13177 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13179 2001-12-11 André Pönitz <poenitz@gmx.net>
13182 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13184 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13186 * text2.C: keep selection on a setFont()
13188 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13190 * lyx_cb.C: another bv->text misuse, from insert label
13192 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13195 * kbsequence.C: re-instate nmodifier mask
13197 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13199 * lyx_main.h: make lyxGUI private.
13201 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13203 * lyxfind.C: place the cursor correctly on failed search
13205 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13207 * text.C (getLengthMarkerHeight): for small heights, the arrows
13208 are not always on top/bottom of the text
13209 (drawLengthMarker): smaller arrows; take the left margin in
13210 account; draw also vfills.
13212 (paintLastRow): remove special code for vfill and standard spaces,
13213 since everything is handled in drawLengthMarker now.
13215 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13217 * buffer.C (insertErtContents): try to handle font and language
13218 interaction a bit better.g
13220 * ColorHandler.C (updateColor): change the hash to cover the whole
13221 LColor enum, ws cleanup
13222 (getGCLinepars): ditto
13223 (getGCLinepars): only lookup in the linecache once.
13225 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13227 * iterators.C (operator++): Make the iterator more robust
13229 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13231 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13233 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13236 * text.C: better added space drawing
13238 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13241 * BufferView2.C: fix layout combo update on inset unlock
13243 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13245 * Makefile.am: don't compile unused files
13247 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13251 * LyXAction.C: remove old LFUN_LAYOUTNO
13253 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13255 * paragraph_pimpl.h:
13256 * paragraph_pimpl.C: isTextAt() doesn't need font param
13258 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13261 * lyxlex.C: little cleanup
13263 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13265 * BufferView_pimpl.C: fix insertAscii for insets
13267 2001-12-05 Juergen Vigna <jug@sad.it>
13269 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13270 set the right font on the "multi" paragraph paste!
13272 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13278 * lyxlength.C: remove out-commented code.
13280 * BufferView_pimpl:
13294 * vc-backend.C: change "while(" to "while ("
13296 * lyxlength.[Ch]: add zero function to check if length is zero or
13298 * lyxgluelength.C: use it
13300 2001-12-05 Allan Rae <rae@lyx.org>
13302 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13303 Works for 2.95.3, from what I understand of Garst's reports this should
13304 work for other g++ versions. We're screwed if the abs(int) definition
13305 changed between bugfix releases of gcc.
13307 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13309 * text.C: fix chapter label offset !
13311 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13314 * text.C: fix hfill at end of line, clean up
13316 2001-12-04 Juergen Vigna <jug@sad.it>
13318 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13319 that we force an update of the inset and it's owners if neccessary.
13321 2001-12-03 Juergen Vigna <jug@sad.it>
13323 * text.C (rowLast): simplified code
13325 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13327 * lyxfunc.C: fix show options on timeout
13329 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13331 * screen.C (topCursorVisible): scroll half a page when the cursor
13332 reached top of bottom of screen
13334 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13336 * minibuffer.C: deactivate on loss of focus
13338 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13340 * vspace.[Ch] (operator!=): add operator.
13342 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13344 * BufferView_pimpl.C: refuse to open an inset when
13345 there's a selection.
13347 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13349 * BufferView_pimpl.C: allow to click on RHS of full row insets
13351 2001-11-30 Juergen Vigna <jug@sad.it>
13353 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13354 insets for undo reasons.
13356 2001-11-28 André Pönitz <poenitz@gmx.net>
13358 * vspace.[Ch]: cosmetical changes
13360 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13370 * kbsequence.C: part re-write of old kb code
13373 * WorkArea.C: remove Lgb_bug_find_hack
13375 2001-11-30 José Matos <jamatos@fep.up.pt>
13377 * buffer.C (makeDocBookFile): add a comment to point a hack.
13378 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13379 Fixed a double write of labels.
13381 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13384 * LaTeX.h Fixed bug in LaTeX class where it would not
13385 re-run latex if no depfiles were changed, but the .dvi was removed.
13387 2001-11-28 André Pönitz <poenitz@gmx.net>
13389 * all the files from the change on 2001/11/26:
13390 use lyx::layout_type instead of LyXTextClass::size_type
13391 use lyx::textclass_type instead of LyXTextClassList::size_type
13393 2001-11-29 Juergen Vigna <jug@sad.it>
13395 * text.C: added support for paragraph::isFreeSpacing()
13397 * buffer.C: same as above
13399 * paragraph.h: inserted isFreeSpacing() function to enable
13400 FreeSpacing inside InsetERT.
13402 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13403 of the paragraph's in the cut/copy buffer to 0!
13405 * text2.C (removeRow): remove the assert as it can!
13407 * lyxtext.h: added helper function firstRow returning firstrow and
13408 made firstrow private again.
13410 * BufferView2.C (lockInset): don't relock if we're already locked!
13412 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13413 the only paragraph.
13414 (removeRow): added Assert::(firstrow)
13416 * debug.C: forgot to add INSETTEXT here.
13418 2001-11-28 Juergen Vigna <jug@sad.it>
13420 * sp_spell.C (initialize): changed error text to more general
13421 spellchecker command use (not only ispell!)
13423 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13425 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13427 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13429 * vspace.C: initialise lyxgluelength on failure
13431 2001-11-28 Allan Rae <rae@lyx.org>
13433 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13434 declaration & definition that looks like a function declaration.
13436 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13438 * BufferView2.C (copy):
13439 (copyEnvironment): do not clear the selection when doing a copy.
13441 * text.C (paintFirstRow): compilation fix
13443 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13445 * tabular.C (Latex): correct line count when writing latex.
13447 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13449 * paragraph_pimpl.h:
13450 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13453 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13457 * LColor.C: change vfillline->added_space
13459 * text.C: add markers and text for added space
13461 * vspace.C: fix comment
13463 2001-11-28 André Pönitz <poenitz@gmx.net>
13465 * paragraph.C: whitespace changes
13466 * all the other files from the change on 2001/11/26:
13467 change *::pos_type into lyx::pos_type
13469 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13471 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13472 language of the document when inserting error insets.
13474 2001-11-26 André Pönitz <poenitz@gmx.net>
13476 * BufferView_pimpl.[Ch]:
13484 * paragraph_pimpl.[Ch]:
13487 * text2.C: reduce header dependencies, introduce type for positions
13489 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13491 * <various>: change to use Alert.h
13493 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13495 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13496 when encountering an unknown token.
13497 (readLyXformat2): Show an error message if there were unknown tokens.
13499 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13502 * BufferView_pimpl.C:
13506 * text2.C: use par->isInset()
13508 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13510 * paragraph_pimpl.h:
13511 * paragraph_pimpl.C: cleanup
13513 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13515 * text2.C (removeRow):
13516 * text.C (setHeightOfRow): remove useless (and costly) call to
13519 2001-11-20 Allan Rae <rae@lyx.org>
13521 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13522 Now need Inset*::checkInsertChar() to return true for appropriate
13523 cases so that the characters in the minibuffer will actually be
13526 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13528 * text.C: change the order of the includes.
13529 (workWidth): initialize it at once.
13530 (workWidth): make maxw unsigned
13531 (setHeightOfRow): remove unused variable (inset)
13532 (selectSelectedWord): remove unused variable (inset)
13533 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13535 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13537 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13538 server is not running.
13540 (closeConnection): add debug info when server is disabled.
13542 * ColorHandler.C (getGCForeground): send debug message to GUI
13545 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13547 * kbmap.C (bind): modify because return conventions of
13548 kb_sequence::parse have changed.
13550 * kbsequence.C (parse): only ignore spaces and not any stupid
13551 control character. This avoids tests like s[i] <= ' ', which are
13552 guaranteed to fail with 8bit characters and signed chars.
13553 Change return code to string::npos when there have been no error
13554 (0 was a bad idea when error is at first character)
13556 2001-11-14 José Matos <jamatos@fep.up.pt>
13559 * buffer.C (simpleDocBookOnePar): removed unused argument.
13561 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13563 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13564 insets which are part of a word. Paragraph::isLetter takes care of
13565 that now. Use Paragraph::isInset to identify insets.
13566 (selectSelectedWord): do not test for hyphenation break.
13568 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13569 that protected spaces are considered as spaces.
13571 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13574 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13577 * lyxserver.C: fix it. and small cleanup.
13579 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13581 * BufferView_pimpl.C: use inline helpers
13584 * LaTeXFeatures.C: fix typos
13587 * Spacing.C: move spacing_string into class
13589 * ToolbarDefaults.C: move stuff into namespace anon
13591 * layout.h: update enum
13593 * lyxfunc.C: use better debug
13595 * minibuffer.h: fix typo
13599 * WorkArea.C: add and use Debug::WORKAREA
13603 * text2.C: code re-organisation, inline helpers
13605 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13607 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13608 std::vector.empty().
13610 2001-11-09 Allan Rae <rae@lyx.org>
13612 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13613 '\n's after tables. Tabular and ERT inset work now makes this no
13616 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13619 * minibuffer.C: fix crash, improve drop-down completion
13621 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13624 * lyxserver.C: invalidate fd's when doing endPipe()
13626 2001-11-08 José Matos <jamatos@fep.up.pt>
13628 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13629 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13632 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13634 2001-11-07 José Matos <jamatos@fep.up.pt>
13637 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13640 * buffer.C (sgmlOpenTag):
13641 * buffer.C (sgmlCloseTag): removed debug info.
13643 * buffer.h (sgmlOpenTag):
13644 * buffer.h (sgmlCloseTag): made public.
13646 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13648 * buffer.C (saveParamsAsDefaults):
13649 * lyx_cb.C (MenuLayoutSave): remove
13651 * LyXAction.C (init):
13653 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13655 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * buffer.C (setPaperStuff): removed from here...
13659 * bufferparams.C (setPaperStuff): ... and moved there.
13661 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13665 * XFormsView.C: add support for drop-down completion
13667 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13669 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13672 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13677 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13679 * lyx_main.C: change ref to known bugs
13681 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13683 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13684 to work around older babel problems.
13686 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13688 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13690 2001-10-24 Juergen Vigna <jug@sad.it>
13692 * tabular-old.C (ReadOld): below variable changes reflected.
13694 * tabular.[Ch]: added ltType struct for longtable header/footer
13695 defines and changed all instances where they are used. Added
13696 future support for double top/bottom rows.
13698 2001-10-24 José Matos <jamatos@fep.up.pt>
13700 * buffer.h (docbookHandleCaption):
13701 * buffer.C (docbookHandleCaption): removed unused function.
13702 (makeDocBookFile): moved docbook supported version to v4.1.
13704 2001-10-24 José Matos <jamatos@fep.up.pt>
13707 * tabular.C (docbookRow): new function to export docbook code of a row.
13708 (DocBook): now honors the longtable flags.
13710 2001-10-23 José Matos <jamatos@fep.up.pt>
13713 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13714 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13716 * buffer.C (makeLinuxDocFile):
13717 (makeDocBookFile): reworked the preamble, more clean, and with
13718 support for lyx defined entities. Changed the document declaration
13719 to be more XML friendly.
13721 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13722 if we need to output XML that should be done with a filter.
13724 2001-10-22 Juergen Vigna <jug@sad.it>
13726 * sp_pspell.h (class PSpell): add alive function needed in the
13727 controller to see if the spellchecker could be started.
13729 2001-10-22 Juergen Vigna <jug@sad.it>
13731 * buffer.C (insertStringAsLines): modify the font for inserting
13732 chars in certain conditions by calling checkInsertChar(font).
13734 2001-10-19 Juergen Vigna <jug@sad.it>
13736 * text.C (workWidth): use getRow instead of wrong algorithm.
13737 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13739 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13744 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13746 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13748 * text.C (workWidth): do not search for the exact row when
13749 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13750 optimization for big documents.
13752 2001-10-18 Juergen Vigna <jug@sad.it>
13754 * text.C (workWidth): new function with added Inset * parameter.
13756 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13758 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13760 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13761 change return type of getColumnNearX.
13764 * text.C (changeRegionCase): use uppercase/lowercase instead of
13767 (rightMargin): simplify code by factoring out the uses of
13772 (appendParagraph): use Paragraph::size_type
13774 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * vspace.C (asLatexString): add a missing break
13778 2001-10-15 Herbert Voss <voss@perce.de>
13780 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13782 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13784 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13787 2001-10-10 André Pönitz <poenitz@gmx.net>
13789 * lyxfunc.C: removed greek_kb_flag.
13791 2001-10-10 Herbert Voss <voss@perce.de>
13793 * lyx_main.C: delete global string help_lyxdir.
13795 2001-10-09 Herbert Voss <voss@perce.de>
13797 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13799 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13801 * lyx_main.C: added global string help_lyxdir.
13803 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13805 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13807 * lyxrc.C (set_font_norm_type): support iso8859-4
13809 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13811 * LaTeX.C (deplog): add another regex for MikTeX
13813 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13815 * lyxrc.C (set_font_norm_type): support iso8859-3
13817 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13819 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13821 * LaTeXFeatures.C: remove special case of french and index
13823 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13824 before \begin{document}). This solves several incompatibilities.
13826 2001-10-03 Garst Reese <reese@isn.net>
13828 * lyx_cb.C: change CheckTex error msg.
13830 2001-10-03 José Matos <jamatos@fep.up.pt>
13832 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13834 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13836 * .cvsignore: update
13838 * lyx_main.C (commandLineVersionInfo): use new style version info.
13840 * buffer.C (writeFile):
13842 (makeLinuxDocFile):
13843 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13845 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13847 * version.h: update to use stuff in version.C
13849 * version.C.in: new file. Contains version information determined
13850 at compile time. This is a merging of version.h and
13853 2001-10-03 Juergen Vigna <jug@sad.it>
13855 * BufferView_pimpl.C (update): don't change "dirty" status in
13858 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13860 * WorkArea.C (c-tor): re-position version string slightly.
13862 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13864 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13865 revert to previous code.
13867 WorkArea.[Ch]: (show, destroySplash): methods removed.
13869 WorkArea.C: rework code so that it's an amalgam of the codes before and
13870 after the splash screen was moved to WorkArea.
13872 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * vspace.C (inPixels):
13878 * buffer.C (insertStringAsLines):
13879 (asciiParagraph): fix types to be large enough
13881 * lyxlex_pimpl.h: change member status from short to int
13883 * layout.h: fix type of endlabeltype
13886 * kbsequence.C (parse): change return type to string::size_type
13888 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13891 * Bullet.C (bulletSize):
13892 (bulletEntry): do not use short ints as parameters
13894 * BufferView2.C (insertLyXFile): change a char to an int.
13896 * WorkArea.C (WorkArea): remove unneeded floats in computation
13898 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13900 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13902 * paragraph.C (asString): Do not ignore newline/hfill chars when
13903 copying to the clipboard.
13905 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13907 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13908 after a multi-line inset.
13910 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13912 * paragraph.C (validate): Set NeedLyXFootnoteCode
13914 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13916 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13917 and decrease-error to decrease.
13919 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13922 it more readable (should be equivalent)
13924 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13926 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13928 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13931 of a cursor (row, etc.) after a character has been deleted
13932 (deleteEmptyParagraphMechanism): call the method above on _all_
13933 cursors held by the LyXText when a double space has been
13936 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13938 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13940 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13942 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13943 background. Use greyOut() and the new show() methods to toggle between
13944 the foreground and background. Add code to remove the splash after
13945 its initial showing.
13947 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13948 (create_forms): no longer call Dialogs::showSplash.
13950 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13952 * .cvsignore: add version_info.h
13954 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * version_info.h.in: new file
13958 * Makefile.am: add version_info.h.in
13960 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13961 version_info.h instead of VERSION_INFO
13963 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13965 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13966 The ERT inset now returns string().
13968 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13970 * lyxtext.h, text.C (selectNextWord): renamed as
13971 selectNextWordToSpellcheck.
13973 * text.C (selectNextWordToSpellcheck): Modified to not select
13974 words inside an ERT inset.
13976 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13978 * lyx_cb.C (MenuLayoutSave): change a bit the question
13980 * sp_base.h: include <sys/types.h>
13982 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13984 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13986 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13988 * several files: fix typos in user-visible strings
13990 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * text2.C (pasteSelection): do not set the selection, since it
13993 will be cleared later. Actually, the intent was to fix the way the
13994 selection was set, but I figured rmoving the code was just as good.
13996 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13998 * FontLoader.C (available): Check if font is available without
14001 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14003 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14005 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14007 * lyxrc.[Ch]: added display_graphics variable and associated code.
14009 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * bufferparams.C (hasClassDefaults): new method. Returns true if
14012 the buffer parameters correspond to known class defaults
14014 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14016 * XFormsView.C (show): set minimum size to the main window.
14018 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * text2.C (copySelection):
14022 * lyxfind.C (LyXReplace):
14023 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14024 LyXText::selectionAsString.
14026 * paragraph.C (asString): add "label" argument to the second form
14028 * text2.C (selectionAsString): add "label" argument and pass it to
14029 Paragraph::asString.
14031 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14033 * lyx_main.C (commandLineHelp): remove version information
14035 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14037 * lyx_main.C: add -version commandline option
14039 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14041 * paragraph.h: make the optional constructor arg required instead.
14042 some modifications to other files because of this.
14044 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14046 * lyxserver.C (C_LyXComm_callback): make it static
14048 * lyx_main.C (error_handler): make it static
14050 * lyx_gui.C (LyX_XErrHandler): make it static
14052 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14054 * WorkArea.C: make the extern "C" methods static.
14056 * Makefile.am (lyx_LDADD): simplify
14058 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14060 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14061 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14063 * LyXAction.C (init):
14064 * lyxfunc.C (dispatch): associated code removal.
14066 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14068 * lyxfont.h (isSymbolFont): shut off warning
14070 * text.C (setHeightOfRow):
14071 (getVisibleRow): fix crash with empty paragraphs which have a
14074 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14076 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14079 2001-09-04 José Matos <jamatos@fep.up.pt>
14082 * tabular.C (docbook): rename docBook method to docbook.
14084 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14086 * Makefile.am: add dependencies to main.o.
14088 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14090 * FontLoader.C (available): Return false if !lyxrc.use_gui
14092 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14094 * FontInfo.C (query):
14095 * converter.C (view):
14096 * importer.C (Import):
14097 * exporter.C (Export): Can not -> cannot.
14099 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14101 * BufferView_pimpl.C: allow to create index inset even if
14104 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14106 * buffer.C (getLists): replace boost::tie code with an explicit pair
14107 as boost::tie can break some compilers.
14109 * iterators.h: Added a std:: declaration to the return type of
14112 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14114 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14117 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14119 * iterators.[Ch]: New files. Provide paragraph iterators.
14121 * buffer.C (changeLanguage): Use paragraph iterators.
14122 (isMultiLingual): ditto
14124 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14126 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14128 * FontLoader.C: Support for cmr font.
14130 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14132 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14133 (available): New method.
14135 * FontInfo.C (getFontname): Use scalable fonts even when
14136 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14139 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14141 * converter.C (Formats::view): reverted! Incorrect fix.
14143 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14145 * converter.C (Formats::view): only output the -paper option
14146 if the dvi viewer is xdvi, thereby fixing bug #233429.
14148 2001-08-23 Herbert Voss <voss@perce>
14150 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14152 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14154 * Spacing.h (Spacing): Set space to Default on in the default
14157 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14159 * vc-backend.h (RCS::versionString): add RCS to version
14160 (CVS::versionString): add CVS to version
14162 * vc-backend.C (scanMaster): do not add CVS to version.
14163 (scanMaster): do not add RCS to version
14165 * lyxvc.C (versionString): new method
14167 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14169 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14171 * Spacing.C (set): initialize fval
14173 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14175 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14178 2001-08-16 Juergen Vigna <jug@sad.it>
14180 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14182 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14184 * BufferView_pimpl.C:
14187 * text2.C: setParagraph takes linespacing now
14189 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14191 * LyxAction.C: add internal LFUN_CITATION_INSERT
14193 * LyXView.C: actually apply fix
14195 * bufferlist.C: fix open non-existent file
14197 * lyxfind.C: fix indentation
14199 * lyxfunc.C: remove unneeded assert, fix typo
14201 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14203 * MenuBackend.C: use "Floatname List"
14205 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14207 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14208 when converting LaTeX layout to insetERT.
14209 Generate a non-collapsed float when reading old float
14211 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14213 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14216 2001-08-13 Juergen Vigna <jug@sad.it>
14218 * text.C (fill): return 0 instead of 20 as this seems to be the more
14221 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14223 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14226 2001-08-13 Juergen Vigna <jug@sad.it>
14228 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14230 (SearchBackward): comment out the unlocking of the inset_owner this
14231 should not be needed!
14233 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14235 * Many files: Remove inherit_language, and add latex_language
14237 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14238 collapsible insets.
14240 2001-08-10 Juergen Vigna <jug@sad.it>
14242 * text.C (prepareToPrint): fixed hfill-width in draw!
14244 * BufferView2.C (selectLastWord): save the selection cursor as this
14245 now is cleared in the function LyXText::clearSelection!
14247 2001-08-08 Juergen Vigna <jug@sad.it>
14249 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14250 BACKSPACE type functions.
14252 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14253 is only cutted from the document but not put in the cut-buffer, where
14254 still the old stuff should be.
14256 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14258 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14260 * tabular.C (SetWidthOfCell): fixed special case where the width
14262 (LeftLine): handle '|' in align_special.
14264 (LeftAlreadyDrawed): ditto
14265 (SetWidthOfCell): ditto
14267 2001-08-07 Juergen Vigna <jug@sad.it>
14269 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14271 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14273 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14274 * lyxlex.[hC]: ditto
14276 2001-08-06 Juergen Vigna <jug@sad.it>
14278 * text.C (getVisibleRow): fix up row clearing a bit.
14280 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14282 * minibuffer.C: make sure the X server sees the changes in the input.
14284 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * paragraph.C (getFont): split into...
14287 (getLabelFont): this
14288 (getLayoutFont): and this
14289 * paragraph_pimpl.C (realizeFont): calling this
14291 * text2.C (getFont): split into...
14292 (getLayoutFont): this
14293 (getLabelFont): and this
14294 (realizeFont): all three calling this
14296 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14299 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14301 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14303 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14305 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14306 layouts from the Quote inset insertion.
14308 2001-08-03 Juergen Vigna <jug@sad.it>
14310 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14312 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14313 only if status not is already CHANGED_IN_DRAW (second level).
14315 * text.C (draw): don't set the need_break_row when inside an
14318 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * buffer.C (parseSingleLyXformat2Token): handle more latex
14323 * bufferview_funcs.[hC]: change function names to
14324 begin with small char, adjust other files.
14326 2001-08-02 André Pönitz <poenitz@gmx.net>
14329 BufferView_pimpl.C: remove broken special code for math-greek
14331 2001-08-02 Juergen Vigna <jug@sad.it>
14333 * BufferView_pimpl.C (update): redone this function so that we
14334 update the text again if there was a CHANGE_IN_DRAW.
14336 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14337 (drawFromTo): added a new internal bool which is used by draw() and
14339 (general): some cursor drawing problems fixed.
14341 2001-08-01 Juergen Vigna <jug@sad.it>
14343 * lyxfind.C (LyXFind): fixed
14344 (SearchForward): ditto
14345 (SearchBackward): ditto
14347 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14348 spurius drawing of the cursor in the main area.
14350 * text2.C (status): small fix which could lead to a segfault!
14351 (clearSelection): remove unneeded BufferView param.
14353 2001-08-01 André Pönitz <poenitz@gmx.net>
14355 * lyxfunc.C: small change due to changed mathed interface
14357 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14359 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14361 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14363 * lyxfunc.c: fail gracefully if file doesn't exist
14368 * BufferView_pimpl.C: IsDirWriteable() proto changed
14370 * LyXView.C: fix updateWindowTitle() to store the last title
14372 2001-07-31 Juergen Vigna <jug@sad.it>
14374 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14375 the font (wrong since using of Paragraph::highestFontInRange).
14377 * paragraph.C (highestFontInRange): added a default_size parameter.
14379 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14380 (setHeightOfRow): reformat
14382 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * converter.[hC] + affected files: move to (inital-char)lowercase
14387 * ParagraphParameters.C (ParagraphParameters): remove commented code
14389 * PainterBase.[Ch]: remove commented code
14391 * LaTeXFeatures.h: add "bool floats" for float.sty
14393 * LaTeXFeatures.C (LaTeXFeatures): init floats
14394 (require): handle float
14395 (getPackages): do it with floats
14397 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14399 * BufferView_pimpl.C (Dispatch): improve handling of
14400 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14402 * commandtags.h: #include lyxfont.h here temporarily to avoid
14405 * bufferlist.h: include LString.h here.
14407 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14409 * text2.C (getStringToIndex): new method.
14411 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14413 * *: Reduced header file dependencies all over.
14415 2001-07-30 Baruch Even <baruch@lyx.org>
14417 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14419 2001-07-29 Baruch Even <baruch@lyx.org>
14421 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14423 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14425 * ParameterStruct.h (endif): add a default constructor to make
14426 sure that all variables is initialized.
14428 * ParagraphParameters.C (ParagraphParameters): adjust
14430 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14432 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14433 index; also, check that there is something to index, and that it
14434 does not span over several paragraphs.
14435 (doubleClick): use WHOLE_WORD_STRICT for double click.
14437 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14439 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14442 2001-07-26 Baruch Even <baruch@lyx.org>
14444 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14445 an InsetFig figure, backwards compatible reading of old figure code.
14447 2001-07-27 Juergen Vigna <jug@sad.it>
14449 * text2.C: font.realize function adaption.
14451 * text.C (draw): add a warnings lyxerr text if needed.
14453 * layout.C: font.realize function adaption.
14455 * language.C: add inherit_language and implement it's handlings
14457 * bufferview_funcs.C (StyleReset): remove language parameter from
14458 font creation (should be language_inherit now).
14460 * bufferparams.C (writeFile): handle ignore_language.
14462 * paragraph.C (getFontSettings): the language has to be resolved
14463 otherwise we have problems in LyXFont!
14465 * lyxfont.C (lyxWriteChanges): added document_language parameter
14466 (update): removed unneeded language parameter
14468 * paragraph.C (validate): fixed wrong output of color-package when
14469 using interface colors for certain fonts in certain environments,
14470 which should not seen as that on the final output.
14472 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14474 * BufferView_pimpl.C:
14479 * LyXAction.C: add thesaurus support
14482 * lyxfind.C: add "once" parameter, for thesaurus, to not
14483 move to the next match
14485 2001-07-26 Juergen Vigna <jug@sad.it>
14487 * lyxfont.C (realize): honor ignore_language too!
14490 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14492 * text.C (draw): one place more for ignore_language to not draw
14495 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14497 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14499 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14501 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14502 the minipage conversion problem.
14504 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14506 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14509 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14511 * BufferView.h: don't forward declare WorkArea
14513 * BufferView.C: don't include WorkArea.h
14515 2001-07-25 André Pönitz <poenitz@gmx.net>
14519 * lyxfunc.C: new LFUN 'math-space'
14521 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14523 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14525 * text2.C (toggleInset): call open/close
14527 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * lyxfunc.C (dispatch): add debug for the disabled case
14531 * font.C (buttonText): make similar to rectText
14533 * buffer.C (readInset): comment out parsing of insetlist and
14536 * PainterBase.C (rectText): small correction
14538 * BufferView_pimpl.C: comment out insettheorem and insetlist
14539 * LyXAction.C: ditto
14540 * commandtags.h: ditto
14542 2001-07-24 Juergen Vigna <jug@sad.it>
14544 * text.C (draw): honor the ignore_language.
14546 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14548 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14550 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14553 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14555 * lyxtext.h: remove unused (and unimplemented) methods
14557 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14559 * text.C (getVisibleRow): honor background color
14562 * Painter.h: remove default color argument for fillRectangle
14564 * text.C (backgroundColor): new method
14566 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14568 * text.C (getVisibleRow): adjust
14570 * font.[Ch] (rectText): new method, metrics
14571 (buttonText): new method, metrics
14573 * PainterBase.[hC]: make rectText and buttonText always draw and take
14576 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14578 * ToolbarDefaults.C (read):
14579 * MenuBackend.C (read): allow escaping in all strings
14581 * BufferView_pimpl.C (insertAndEditInset): new method.
14582 (Dispatch): use insertAndEditInset whenever appropriate.
14584 * BufferView_pimpl.C (insertNote): removed
14586 * BufferView_pimpl.C (smartQuote): new method, moved from
14587 BufferView; if an insetquote cannot be inserted, insert a '"'
14590 * BufferView2.C: remove insertCorrectQuote();
14592 * lyxfunc.C (getStatus): Add support for all remaingin
14593 inset-insert lfuns.
14595 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14597 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14598 command (necessary to pass " as parameter of self-insert.
14600 * text.C (selectWordWhenUnderCursor):
14601 (selectWord): add word_location parameter
14602 (selectWordWhenUnderCursor): same + remove special code for word
14604 (selectNextWord): use kind() to guess type of insetspecialchar,
14607 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14608 (insertErtContents): create ert insets as collapsed.
14609 (readInset): better compatibility code for Info inset.
14611 2001-07-20 Juergen Vigna <jug@sad.it>
14613 * lyxfunc.C (dispatch): use always LyXFind now!
14615 * text2.C (init): add a reinit flag so that the LyXText can be
14616 reinited instead of deleted and reallocated (used in InsetText).
14618 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14624 2001-07-18 Juergen Vigna <jug@sad.it>
14626 * text.C (selectNextWord): handle insets inside inset by calling
14627 always the bv->text functions so that we can go up the_locking_inset!
14629 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14630 in strange locations when inside an inset!
14632 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14633 handling to include insets.
14635 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14637 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14639 * LyXAction.C (init):
14641 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14642 LIGATURE_BREAK, since the name is so stupid.
14644 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14646 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14649 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14651 * sp_form.[Ch]: remove.
14653 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14655 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14658 * src/buffer.C (readInset): ditto.
14660 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14662 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14663 menuSeparator(), endOfSentenceDot(), ldots() and
14664 hyphenationPoint(), which are therefore removed.
14665 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14667 * LyXAction.C (init):
14668 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14670 * paragraph.C (getWord): removed.
14672 * BufferView_pimpl.C (Dispatch): use last word or selection for
14673 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14675 * lyx_main.C (queryUserLyXDir): do not ask before creating
14676 user_dir, except if it has been named explicitely.
14678 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14680 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14681 a document of zero size.
14683 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14685 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14686 approriately in the c-tor and in require().
14687 (getPackages): output the appropriate LaTeX for natbib support.
14689 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14690 variables "use_natbib" and "use_numerical_citations" when reading the
14692 (readInset): read the various natbib cite commands.
14693 (validate): white-space change.
14695 * bufferparams.[Ch]: new variables "bool use_natbib" and
14696 "bool use_numerical_citations".
14697 (writeFile): output them in the LyX file.
14699 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14701 * lyxfunc.C (getStatus): add support for all the inset insertion
14704 * text2.C (insertInset):
14705 * paragraph.C (insetAllowed):
14706 * BufferView_pimpl.C (insertInset): update to take in account the
14707 renaming of insertInsetAllowed
14709 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14711 * text2.C (getInset): new method. returns inset at cursor position.
14713 * BufferView_pimpl.C (Dispatch): changes because of this.
14715 * LyXAction.C (init): rename open-stuff to inset-toggle.
14717 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14719 * text2.C (toggleInset): renamed from openStuff; use
14722 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14724 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14726 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14728 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14730 * buffer.C (readLyXformat2): Add filename to the error dialog
14732 2001-07-18 Juergen Vigna <jug@sad.it>
14734 * tabular.C (GetCellNumber): put an assert here instead of the check!
14736 2001-07-17 Juergen Vigna <jug@sad.it>
14738 * BufferView_pimpl.C (toggleSelection): adapted too.
14740 * text.C (selectNextWord): adapted for use with insets.
14741 (selectSelectedWord): ditto
14743 2001-07-17 Juergen Vigna <jug@sad.it>
14745 * sp_spell.C (PSpell): fix initialitation order.
14747 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14749 * paragraph.C: spacing
14751 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14753 * sp_spell.C: repair language selection for pspell
14755 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14757 * lyxfunc.h: change more methods to begin with lower char.
14759 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14761 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14762 for unknown layouts.
14764 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14766 * buffer.C (readLyXformat2): Generate an error dialog if there are
14769 2001-07-16 Juergen Vigna <jug@sad.it>
14771 * sp_spell.C: always compile ISpell part.
14773 * lyxrc.C: added use_pspell entry and it's handling.
14775 2001-07-13 Juergen Vigna <jug@sad.it>
14777 * sp_spell.C: removed double includes.
14779 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14781 Consistent use of Lsstream.h:
14782 * Lsstream.h: added using std::stringstream for consistencies sake.
14784 * buffer.C: removed using std::stringstream
14786 * lyxfont.C (stateText):
14787 * paragraph.C (asString):
14788 * text.C (selectNextWord, selectSelectedWord):
14789 * text2.C (setCounter):
14790 * vspace.C (asString, asLatexString):
14791 std::ostringstream -> ostringstream.
14793 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14795 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14796 * commandtags.h: add LFUN_HELP_ABOUTLYX
14797 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14799 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14801 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14803 * lyx_gui_misc.C: remove spellchecker
14804 * lyxfunc.C: showSpellchecker
14806 * sp_ispell.h: added
14807 * sp_pspell.h: added
14808 * sp_spell.C: added
14809 * sp_form.[Ch]: removed
14810 * spellchecker.[Ch]: removed
14812 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14814 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14816 (simpleTeXSpecialChars): Simply print the input character without
14817 any special translation if pass_thru is set.
14819 * layout.h: Added bool pass_thru to layout class for being able to
14820 implement pass through of a paragraph for Literate Programming.
14822 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14823 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14824 * layout.C (Read): add "passthru" to list of layout tags and add
14825 code to set the pass_thru boolean when it is read.
14827 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * trans_decl.h: remove allowed from KmodInfo
14831 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14832 remove allowed code
14835 * paragraph_pimpl.C (erase): use boost::prior
14837 * Painter.C (text): use data() instead of c_str() when length is
14839 * WorkArea.C (putClipboard): ditto
14840 * font.h (width): ditto
14842 * BufferView2.C: use it-> instead of (*it). for iterators
14844 * paragraph_pimpl.C: ditto
14845 * paragraph.C: ditto
14846 * minibuffer.C: ditto
14847 * language.C: ditto
14849 * encoding.C: ditto
14850 * counters.C: ditto
14851 * converter.C: ditto
14853 * Variables.C: ditto
14854 * TextCache.C: ditto
14855 * MenuBackend.C: ditto
14856 * LyXAction.C: ditto
14858 * FloatList.C: ditto
14859 * DepTable.C: ditto
14860 * ColorHandler.C (LyXColorHandler): ditto
14862 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14866 * text2.C (openStuff): reintroduce this method (which had been
14867 nuked in NEW_INSETS frenzy).
14869 * lyxfunc.C (Dispatch): when an action has not been handled, use
14870 its name in the error message, not its number.
14872 * paragraph.C (inInset): change method name to begin with lowercase.
14875 * text2.C: updates because of this.
14877 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14879 * ToolbarDefaults.C (add): add spaces in error message
14881 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14884 (readLyXformat2): rename return_par to first_par, use lyxlex's
14885 pushToken and remove the manual push handling.
14886 (parseSingleLyXformat2Token): add another ert comp. variable:
14887 in_tabular, rename return_par to first_par. handle newlines better
14889 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14893 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14895 * text2.C (getParFromID): removed
14897 * buffer.C (getParFromID): new method moved form lyxtext.
14898 * BufferView2.C (insertErrors): adjust
14899 (setCursorFromRow): adjust
14900 * BufferView_pimpl.C (restorePosition): adjust
14901 * lyxfunc.C (Dispatch): adjust
14902 * undo_funcs.C (textUndo): adjust
14904 (textHandleUndo): adjust
14905 (textHandleUndo): adjust
14907 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * buffer.C: up' the LYX_FORMAT
14911 * lyxfont.h: turn NO_LATEX on as default
14913 * buffer.C (insertErtContents): new methods of tex style compability.
14914 (parseSingleLyXformat2Token): use it several places.
14915 * tabular.C (OldFormatRead): and here
14917 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14919 * text2.C: remove some commented code.
14922 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14923 * trans.C: changes because of the above.
14925 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14927 * text2.C (setCounter): Fix counters bug with bibliography layout.
14929 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14931 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14932 own member functions
14933 (simpleTeXSpecialChars): ditto
14935 2001-07-06 Juergen Vigna <jug@sad.it>
14937 * a lot of files: changed the access to LyXText::status and the
14938 call of undo-functions.
14940 * undo.[Ch]: added a inset_id to the undo informations.
14942 * undo_funcs.[Ch]: added and moved here all undo functions.
14944 * lyxtext.h: give the status enum a weight, made status_ a private
14945 variable and made accessor functions for it, removed the whole bunch
14946 of undo-functions as they are now in their own file, make some
14947 functions publically available. Added function ownerParagraph with
14950 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14951 made InInset() a const function, added getParFromID() function.
14953 * buffer.[Ch]: added const version for inset_iterator functions,
14954 added getInsetFromID() function.
14956 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14957 changed undo functions for new version.
14959 2001-07-05 Juergen Vigna <jug@sad.it>
14961 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14962 unknow mechanism does not call the proper constructor but only this
14963 one also if I request the other!?
14965 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14969 * text2.C (LyXText): use initialization lists.
14971 * lyxtext.h (Selection): initialize set_ and mark_
14972 (init): remove method
14974 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14976 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14978 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14980 * screen.[Ch]: change method names to begin with lowercase
14982 * BufferView_pimpl.C (updateScrollbar): simplify further and
14983 hopefully make it a bit faster.
14985 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14987 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14988 calling directly xforms functions.
14990 * Painter.C (Painter):
14991 * lyx_cb.C (MenuWrite):
14992 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14995 * lyx_gui.C: remove bogus guiruntime extern declaration.
14997 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15001 (redoDrawingOfParagraph): ditto
15002 (redoParagraphs): ditto
15003 (cutSelection): don't create a object for CutAndPaste use the
15004 static method directly
15005 (pasteSelection): ditto
15007 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15010 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15012 * modifications to some other files because of this.
15014 * Makefile.am (lyx_SOURCES): add XFormsView
15016 * XFormsView.[Ch]: new files
15018 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15019 the main window. Move the gui dependent stuff to XFormsView
15021 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * tabular.C (GetCellInset): update cur_cell also in the row/col
15024 version of this function.
15026 * lyxfunc.C: no need to include figure_form.h here.
15032 * lyxvc.C: no need to include forms.h here.
15034 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15036 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15038 * lyxfunc.C (Dispatch):
15040 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15041 constructor argument.
15043 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * paragraph.C (Paragraph): dont't clear, and just set layout.
15046 (makeSameLayout): use params's copy contructor.
15048 * ParagraphParameters.[Ch] (makeSame): delete method
15050 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15052 * Variables.[Ch]: fix indentation, rename set to isSet
15054 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * lyxfunc.C (Dispatch): fix typo
15058 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15060 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15063 * bufferlist.C: include assert.h for emergencyWrite().
15065 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15067 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15068 give up at last (bug #425202) !
15070 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15076 * spellchecker.C: strip spellchecker options and bring up
15077 preferences tab instead
15079 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15081 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15082 the istringstream constructor
15084 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * paragraph.C (getLayout): fix return value
15088 * paragraph.h: do not declare getLayout as inline.
15090 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15092 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15094 * lyxcursor.h (operator<): new func
15095 (operator>): new func
15096 (operator>=): new func
15097 (operator<=): new func
15099 * text.C (changeCase): use selection.start and selection.end
15100 (changeRegionCase): require from to be <= to. Require par to be a
15103 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15105 2001-06-27 Juergen Vigna <jug@sad.it>
15107 * text.C (cursorLeftOneWord): changed to return the cursor and added
15108 overlay with BufferView * parameter which calls this one.
15110 (selectWord): use new getWord function.
15111 (changeCase): renamed from changeWordCase as and extended to work
15112 also on selections.
15114 * lyxtext.h: added enum word_location
15116 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15117 changeCase as this operates now also on selections.
15119 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15121 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15123 * many files: send debug output to Debug::INFO instead of
15126 * converter.C (View):
15128 (Move): send debug output to Debug::FILES instead of console.
15130 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15132 * lyxfunc.C (getStatus): use func_status
15134 * func_status.h: new header, describing the results of
15135 LyXFunc::getStatus;
15137 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15140 2001-06-25 The LyX Project <jug@sad.it>
15142 * buffer.C (sgmlOpenTag):
15144 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15146 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * text2.C: remove some dead code
15150 * tabular.C (GetCellInset): store the last cell checked (gotten)
15152 * tabular.h: add the helper for the speedup
15154 * lyxtext.h: remove some dead code
15156 2001-06-26 The LyX Project <Asger>
15158 * paragraph.C: Change export to LaTeX of alignment to
15159 \begin{center} and family for better roundtrip work with reLyX.
15161 * Tune the math drawing a bit.
15163 2001-06-25 The LyX Project <Asger>
15165 * LColor.C (LColor): New color for math background. New color
15168 2001-06-25 The LyX Project <jug@sad.it>
15170 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15172 * lyxfunc.C (Open):
15173 * bufferlist.C (newFile): do not restrict to files ending with
15176 * BufferView_pimpl.C (MenuInsertLyXFile):
15178 2001-06-24 The LyX Project <jug@sad.it>
15180 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15183 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15185 * lyxtext.h: rename most methods to begin with a small char.
15186 Lots of changes because of this.
15188 * paragraph.C (Paragraph): do not call fitToSize
15189 (erase): call Pimpl::erase
15190 (insertChar): call Pimpl::insertChar
15191 (insertInset): call Pipl::insertInset
15192 (breakParagraph): do not call fitToSize
15193 (breakParagraphConservative): do not call fitToSize
15194 (fitToSize): remove method
15196 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15198 2001-06-24 The LyX Project <Asger>
15200 * Fix Qt compilation^2
15202 2001-06-24 The LyX Project <jug@sad.it>
15204 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15205 depthHook(getDepth()-1).
15208 * ParagraphParameters.h:
15209 * ParameterStruct.h: change type of depth to unsigned int ==
15210 depth_type. Many adaptations to other files before of that.
15212 2001-06-24 The LyX Project <Asger>
15214 * Fix Qt compilation.
15216 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15218 * paragraph.h: renamed several methods to begin with small letter.
15219 several changes to many parts of the code because of this.
15221 2001-06-23 The LyX Project <jug@sad.it>
15223 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15224 rewritten to discard all double spaces when KeepEmpty is off
15225 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15226 to only handle newlines but not fiddle with spaces and friends.
15228 * lyxfunc.C (MenuNew): when doing 'new from template', use
15229 template_path as default directory
15231 2001-06-23 The LyX Project <Asger>
15233 * Clean-up of header file includes all over
15234 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15236 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15238 * paragraph.h: renamed from lyxparagraph.h
15240 2001-06-23 Asger <lyx@violet.home.sad.it>
15242 * Buffer.h: Removed Buffer::resize
15243 * BufferList.h: Removed BufferList::resize
15244 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15245 the document lazily when we change the width, or the font settings.
15247 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15249 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15251 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15253 * buffer.h: remove out of date comment
15255 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15258 * screen.C: fix "theoretical" GC leak
15260 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15262 * LaTeX.C (scanAuxFile):
15263 (deplog): remove trailing \r when reading stream (useful under
15266 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15268 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15269 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15270 and BufferView::theLockingInset(Inset*), so should use them and not
15271 access bv_->text->the_locking_inset directly.
15273 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15275 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15278 * tex-defs.h: remove old unused file
15280 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15282 * BufferView_pimpl.C: fix typo, remove minibuffer message
15283 when buffer has loaded
15285 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15287 * lyxfunc.C (Dispatch): use stringstream
15288 (MenuNew): use stringstream
15289 (Open): use stringstream
15291 * importer.C (Import): use stringstream
15293 * bufferview_funcs.C (CurrentState): use stringstream
15295 * LaTeX.C (run): use stringstream
15297 * BufferView_pimpl.C (savePosition): use stringstream
15298 (restorePosition): use stringstream
15299 (MenuInsertLyXFile): use stringstream
15301 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15314 * vspace.C: removed // -*- C++ -*- as first line.
15317 * version.h: added // -*- C++ -*- as first line.
15319 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15321 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15323 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15326 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15331 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * gettext.C: include LString.h even when --disable-nls is on.
15335 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15337 * converter.h (Get): changed argument type from int to
15338 FormatList::size_type to avoid unnecessary conversion.
15340 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15343 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15345 * gettext.h: include LString.h even when --disable-nls is on.
15347 2001-06-07 Juergen Vigna <jug@sad.it>
15349 * text.C (BreakAgain): subst spaces with tabs.
15351 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15352 (resizeInsetsLyXText): set force on resizeLyXText.
15354 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * gettext.h (gettext_init):
15357 (locale_init): use a real definition instead of a macro
15359 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15361 * Bufferview_pimpl.C:
15363 * LColor.C: further lcolor tidies
15365 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * BufferView_pimpl.C (updateScrollbar): simplify.
15369 * BufferView2.C: don't include insets/insetinfo.h, change
15370 prototype for insertInset and call the Pimpl version. let
15371 updateInset call Pimpl version.
15373 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15374 gotoInset to BufferView::Pimpl
15376 2001-06-01 Juergen Vigna <jug@sad.it>
15378 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15379 inside a LockingInset (is the update needed at all?).
15381 2001-05-31 Juergen Vigna <jug@sad.it>
15383 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15384 here not the old one otherwise how should we compare it afterwards
15387 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * FontInfo.C: bring C functions into global namespace when
15395 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * LString.h: make sure config.h has been loaded before LString.h.
15399 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15400 (one for each char read by EatLine!).
15402 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15405 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15407 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15408 to the same as the par we break from
15410 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15414 * MenuBackend.C (expand): also create menu entries for wide
15415 versions of the floats.
15417 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15419 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15421 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15422 frontends/Makefile.am
15428 * tabular.C (getTokenValue): add std::
15430 * tabular-old.C (getTokenValue): add std::
15431 (getTokenValue): ditto
15432 (getTokenValue): ditto
15434 * screen.C (ToggleSelection): adjust
15436 * lyxtext.h: put selection cursors inside a Selection struct.
15438 * lyxfunc.C (moveCursorUpdate): adjust
15440 * lyxfont.C (latexWriteStartChanges): add std::
15442 * lyxfind.C: adjust
15444 * font.h: delete with(char const *, LyXFont const &)
15446 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15448 * FontInfo.C (getFontname): add std::
15450 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15451 (workAreaButtonPress): adjust
15452 (tripleClick): adjust
15454 (moveCursorUpdate): adjust
15457 * BufferView2.C (gotoInset): adjust
15459 2001-05-30 Juergen Vigna <jug@sad.it>
15461 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15462 to check pspell I add this as default as I now have new pspell
15463 libraries and they seem to use this.
15465 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15467 * text2.C (CutSelection): make the cursor valid before the call to
15470 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15473 relied on 0 terminated strings and other horrors. Bug found due to
15474 the new assert in lyxstring!
15476 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15479 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15484 * lyxfunc.C (processKeySym): change method of getting to the
15487 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15488 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15489 * BufferView_pimpl.[Ch]: here as private methods.
15491 2001-05-28 Juergen Vigna <jug@sad.it>
15493 * text.C (SetHeightOfRow): added the update() call again as it is
15494 needed to initialize inset dimensions!
15496 2001-05-16 Juergen Vigna <jug@sad.it>
15498 * text2.C (SetCharFont): Add new function with BufferView * and
15499 bool toggleall parameters for setting insets internal fonts.
15500 (SetFont): Freeze the undo as we may change fonts in Insets and
15501 all this change should be inside only one Undo!
15503 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15504 setting font's in insets as for them we have the SetFont function!
15506 2001-05-15 Juergen Vigna <jug@sad.it>
15508 * text2.C (ClearSelection): to be sure we REALLY don't have any
15511 * tabular.C (TeXCellPreamble): fixed the left border problem for
15514 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15516 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15519 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15521 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15522 LFUN_BREAKPARAGRAPH.
15524 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15525 help test to "internal only", similar for LFUN_INSERT_URL
15527 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15528 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15529 auto_region_delete and deadkeys.
15531 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15534 * LColor.C: remove some dead entries, tidy a little
15536 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15538 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15540 (Dispatch): implement LFUN_ESCAPE
15542 * commandtags.h: add LFUN_ESCAPE
15544 * LyXAction.C (init): add entry for LFUN_ESCAPE
15546 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15547 Remove commented code.
15548 (insertNote): moved here
15549 (open_new_inset): moved here
15551 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15554 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15556 * kbmap.C (findbinding): clean it up and make it work correctly.
15558 * lyx_main.C (init): do not pass argc and argv as parameters
15560 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15562 * buffer.C: fix path for OS/2 & Win32
15566 * lyx_main.C: Added os:: class.
15568 * os2_defines.h: update
15570 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15572 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15573 better by trying again with reduced state.
15575 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15577 * lyxrc.C (read): print error about invalid key sequence only when
15578 debugging (because not all latinX keysyms are known to some X
15581 * kbsequence.C (getiso): add a few std:: qualifiers
15582 (getiso): comment out extra return statement.
15584 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15586 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15588 (Dispatch): enhance the accent inset a bit. (not perfect)
15590 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15592 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15594 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * bufferlist.C (emergencyWrite): fix assert() call
15598 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15600 * text.C (InsertChar): Added trivial patch to only send the "you
15601 can not do multiple spaces this way" message once during a
15604 2001-05-08 Baruch Even <baruch@lyx.org>
15606 * Makefile.am: Changed order of libraries to get LyX to link properly
15607 with the gnome frontend.
15609 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15611 * LaTeXFeatures.h: add a std:: qualifier
15613 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15615 * paragraph.C (String): use stringstream
15617 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * paragraph.C (writeFile): remove footflag arg
15621 * buffer.C (makeLaTeXFile): use stringstream
15622 (latexParagraphs): remove footnot gurba
15624 * LaTeXFeatures.C (getPackages): use stringstream
15625 (getMacros): likewise
15626 (getTClassPreamble): likewise
15627 (getFloatDefinitions): new method
15629 * paragraph.C (writeFile): reindent
15632 * WorkArea.h: revert the xpos + etc changes.
15634 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15636 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15638 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15639 (pasteSelection): likewise
15640 * text2.C (CreateUndo): likewise
15642 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15644 * minibuffer.C (peek_event): temporarily reduce the functionality
15645 of the minibuffer (to allow args on lfuns)
15647 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15648 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15650 * buffer.C (readInset): add compability reading of old float
15651 lists, add reading of new style float list.
15652 (readInset): avoid reevaluation of inscmd.getCmdName()
15653 (getLists): reindent
15655 * MenuBackend.C (MenuItem): implement parsing of
15656 md_floatlistinsert and md_floatinsert.
15657 (expand::LastFiles): move initalizaton of iterators out of loop,
15658 avoid reevaluation.
15659 (expand::Documents): introduce typdedef vector<string> Strings,
15661 (expand::ExportFormats): introduce typedef vector<Format const *>
15662 Formats, and use it.
15663 (expand): implement FloatListInsert and FloatInsert.
15665 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15666 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15667 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15669 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15671 (Dispatch::LFUN_FLOAT_LIST): implement
15673 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15675 * LaTeX.C (run): Fix problem with --export code.
15677 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15679 * BufferView.[Ch] (workarea): removed.
15680 (getClipboard) new method; wrapper for workarea()->getClipboard()
15682 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15685 * WorkArea.h (width, height, xpos, ypos): These methods all
15686 returned the dimensions of the work_area sub-area of WorkArea,
15687 resulting in a position error if the WorkArea were resized. Now
15688 return the dimensions of the entire WorkArea.
15690 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15692 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15694 * LaTeX.C (deplog): correct the syntax of regex reg1
15696 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * undo.C: remove !NEW_INSETS cruft
15700 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15702 * text2.C: remove !NEW_INSETS cruft
15704 * text.C: remove !NEW_INSETS cruft
15706 * tabular.C: remove !NEW_INSETS cruft
15708 * spellchecker.C: remove !NEW_INSETS cruft
15710 * lyxtext.h: remove !NEW_INSETS cruft
15712 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15714 * lyxfunc.C: remove !NEW_INSETS cruft
15716 * lyxfind.C: remove !NEW_INSETS cruft
15718 * lyx_cb.C: remove !NEW_INSETS cruft
15720 * figureForm.C: remove !NEW_INSETS cruft
15722 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15724 * buffer.[Ch]: remove !NEW_INSETS cruft
15726 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15728 * CutAndPaste.C: remove !NEW_INSETS cruft
15730 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15732 * BufferView2.C: remove !NEW_INSETS cruft
15734 * BufferView.h: remove !NEW_INSETS cruft
15736 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15738 * Lsstream.h: include LString.h before the sstream headers to
15739 fix problem with gcc 2.95.3 and lyxstring
15741 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15743 * lyx_main.C: add using directives when needed for C functions
15744 declared in std:: namespace.
15746 2001-04-27 Juergen Vigna <jug@sad.it>
15748 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15749 (SetHeightOfRow): comment out the update call should not be needed!
15751 2001-04-13 Juergen Vigna <jug@sad.it>
15753 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15754 (LyXTabular): tried to minimize operator= operations (and realized
15755 hopfully Lars wish).
15757 2001-04-27 Juergen Vigna <jug@sad.it>
15759 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15761 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15763 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15765 * buffer.C (readInset): hack to make listof algorithm work
15767 * BufferView_pimpl.C: hack to make listof algorithm work
15769 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15771 * LyXAction.C: removed all !NEW_INSETS cruft
15772 (init): moved lfun_item in method
15774 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15776 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15778 * BufferView2.C (theLockingInset): white space.
15780 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15782 * minibuffer.C: include <iostream>
15784 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15786 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15788 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15790 * text.[Ch] (TransposeChars): new method
15792 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15794 * call message directly through LyXView instead of through LyXFunc
15795 * BufferView2.C: adjust
15796 * BufferView_pimpl.C: adjust
15797 * FontLoader.C: adjust
15799 * bufferview_funcs.C: adjust
15800 * converter.C: adjust
15801 * figureForm.C: adjust
15802 * importer.C: adjust
15804 * lyx_gui_misc.C: adjust
15805 * lyxfunc.C: adjust
15808 + more files in subdirs
15810 * lyxparagraph.h (size): move up int file
15813 * adjust all uses of Assert to lyx::Assert.
15815 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15816 lyxfunctional in namespace lyx
15817 * layout.C (hasLayout): ditto
15820 (delete_layout): ditto
15821 (NumberOfClass): ditto
15822 * converter.C (GetFormat): ditto
15827 * bufferlist.C (getFileNames): ditto
15828 (emergencyWriteAll): ditto
15831 * MenuBackend.C (hasSubmenu): ditto
15834 * BufferView_pimpl.C (getInsetByCode): ditto
15836 2001-04-18 Juergen Vigna <jug@sad.it>
15838 * vspace.C (asLatexString): fixed the 100% problem.
15840 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15842 * lyxfunc.C (Dispatch):
15844 * minibuffer.h: add a few std:: qualifiers
15846 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15848 * minibuffer.[Ch]: reimplement so that commands is initiated and
15849 run from lyxfunc, simplified som handling, and made the completion
15850 and history code for complete. wip.
15852 * lyxfunc.C (processKeySym): call message
15853 (miniDispatch): new temporary method
15854 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15855 (LFUN_MESSAGE): implement
15856 (LFUN_MESSAGE_PUSH): implement
15857 (LFUN_MESSAGE_POP): implement
15858 (initMiniBuffer): the initial/defualt minibuffer message.
15860 * lyxfont.[Ch]: inline some more getters
15862 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15864 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15866 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15867 (AutoSave): use LFUN_MESSAGE
15868 (Reconfigure): ditto
15870 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15872 * figureForm.C: use LFUN_MESSAGE
15874 * converter.C (runLaTeX): use LFUN_MESSAGE
15876 * bufferview_funcs.C: use LFUN_MESSAGE
15878 (changeDepth): ditto
15880 * bufferparams.h: use boost::
15882 * bufferlist.h: inherit privately from noncopyable
15884 * bufferlist.C (loadLyXFile): remove some commented code.
15886 * buffer.C (runChktex): use LFUN_MESSAGE
15888 * ShareContainer.h: inherit privately from noncopyable
15890 * ParagraphParameters.[hC] (depth): inline it.
15892 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15894 (message): new method
15895 (messagePush): ditto
15896 (messagePop): ditto
15897 (show): init minibuffer
15898 (showState): direct call
15900 * LaTeX.[Ch]: inherit privately from noncopyable
15901 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15902 instead of WriteStatus.
15904 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15906 * BufferView_pimpl.C (buffer): don't init minibuffer
15907 (workAreaButtonPress): use LFUN_MESSAGE
15908 (workAreaButtonRelease): ditto
15909 (savePosition): ditto
15910 (restorePosition): ditto
15911 (MenuInsertLyXFile): ditto
15912 (workAreaExpose): don't init minibuffer
15913 (update): remove commented code, simplify
15915 * BufferView2.C (openStuff): use LFUN_MESSAGE
15916 (toggleFloat): ditto
15919 (copyEnvironment): ditto
15920 (pasteEnvironment): ditto
15925 (updateInset): remove some commented code
15927 * lastfiles.h: inherit privately from noncopyable
15930 * lyx_main.h: ditto
15932 * lyxlex_pimpl.h: ditto
15934 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15935 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15936 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15938 * LyXAction.h: inherit privately from noncopyable, add methods
15939 func_begin, func_end, returning iterators to the func map.
15941 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15942 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15943 (func_begin): new method
15944 (func_end): new method
15946 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15948 (copySelection): ditto
15949 (pasteSelection): ditto
15951 * BufferView.C: whitespace change
15952 * BufferView.h: inherit privately from noncopyable
15954 2001-04-16 Allan Rae <rae@lyx.org>
15956 * tabular-old.C (l_getline):
15957 * spellchecker.C (sc_check_word):
15958 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15959 an unrecognised preprocessor directive. So ensure they're wrapped.
15961 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15963 * src/exporter.C (Export): Give an error message when path to file
15966 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15968 * LaTeX.C (deplog): Always check that foundfile exists.
15970 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15973 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15975 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15977 * tabular.[Ch] (getLabelList): implement new method
15979 * minibuffer.h: comment ouf setTiimer
15981 * minibuffer.C (ExecutingCB): constify res
15982 (peek_event): constify s
15983 (Set): constify ntext
15984 (Init): constify nicename
15986 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15988 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15989 (savePosition): use two params to Minibuffer::Set
15990 (restorePosition): ditto
15992 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15994 * lyx_main.C: include language.h
15996 * Makefile.am (lyx_main.o): add language.h
15998 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16004 * CutAndPaste.C: include gettext.h
16006 * lyxfont.h: remove old hack with ON and OFF.
16009 * lyxfont.h: do not include language.h...
16014 * bufferview_funcs.C:
16020 * paragraph.C: ... but do it here instead
16022 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16024 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16026 * tabular.C: small reformat
16028 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16031 (BreakParagraph): ditto
16032 (SetOnlyLayout): ditto
16035 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16038 * lastfiles.C: removed most using decl, add std:: where needed
16040 * buffer.C: ws changes
16042 * MenuBackend.C (class compare_format): put into anon namespace
16043 (expand): constify label, names, action, action2
16046 * text.C (SingleWidth): constify font
16047 (IsBoundary): constify rtl2
16048 (GetVisibleRow): constify ww
16050 * LaTeX.C (deplog): constify logfile
16052 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16054 (workAreaExpose): constify widthChange, heightChange
16056 * lyxrow.C (par): moved
16059 * lyxrow.h: as inlines here
16061 * lyxfont.h (shape): moved from lyxfont.C
16062 (emph): moved from lyxfont.C
16064 * lyxfont.C (LyXFont): use initialization list for all
16066 (shape): move to lyxfont.h as inline
16067 (emph): move to lyxfont.h as inline
16070 2001-04-04 Juergen Vigna <jug@sad.it>
16072 * vspace.C: had to include stdio.h for use of sscanf
16074 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16077 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16078 independent of xforms.
16080 2001-04-02 Juergen Vigna <jug@sad.it>
16082 * spellchecker.C: fixed namespace placing!
16084 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16086 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16087 the LyXParagraph * is 0.
16089 2001-03-29 Juergen Vigna <jug@sad.it>
16091 * vspace.C: added support for %, c%, p%, l%.
16092 (stringFromUnit): added helper function.
16093 (asLatexString): changed to give right results for the %-values.
16095 * buffer.C: convert the widthp in a width%.
16097 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16099 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16102 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16103 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16105 * lyx_cb.[Ch]: see above.
16107 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16111 * lyx.[Ch]: replaced by figure_form.[Ch].
16115 * lyxfunc.C: changed headers associated with above changes.
16117 2001-03-27 Juergen Vigna <jug@sad.it>
16119 * BufferView_pimpl.C: set the temporary cursor right!
16121 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16123 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16125 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16127 * LString.h: removed "using std::getline"!
16129 * BufferView_pimpl.C (Dispatch): changes due to changes in
16130 InsetInclude::Params.
16132 * buffer.C (tag_name): removed redundant break statements as they were
16133 producing lots of warnings with my compiler.
16135 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16137 * LString.h: add "using std::getline" when using the real <string>.
16139 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16141 * buffer.C: removed bitset usage.
16142 PAR_TAG moved to an anonymous name space.
16143 (tag_name): new funtion, also in the anonymous namespace.
16144 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16145 (makeDocBookFile): clean code. Completed transition from string arrays
16147 (SimpleDocBookOnePar): code clean.
16149 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16151 * tabular.C: add some comments.
16153 2001-03-22 Juergen Vigna <jug@sad.it>
16155 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16156 compatibility read a bit and fixed bug with minipage in different
16159 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16161 * buffer.C (pop_tag): removed.
16162 (push_tag): removed.
16163 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16164 array replaced with vector. Added support for CDATA sections.
16165 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16167 (makeDocBookFile): XML conformant declaration of CDATA section,
16168 fixed bug related to <emphasis> in the first paragraph char.
16169 (sgmlOpenTag): exclude empty tags.
16170 (sgmlCloseTag): ditto.
16172 * buffer.h (pop_tag): removed.
16173 (push_tag): removed.
16175 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16177 * language.h (Languages): added size_type and size().
16179 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16181 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16182 response on compability reading of minipages. One probliem is that
16183 the old usage of minipages was «flertydig»
16185 * several files here and in subdirs: don't use static at file
16186 scope use anon namespaces instead.
16188 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16190 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16191 LaTeX output. This is necessary for Literate document
16194 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16196 * buffer.C: insert hfill when needed.
16198 * tabular.C (l_getline): use string::erase, small whitespace change.
16200 * BufferView_pimpl.C: try the anon namespace.
16201 * WorkArea.C: ditto
16203 2001-03-16 Juergen Vigna <jug@sad.it>
16205 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16206 otherwise it won't open options-dialogs.
16208 * buffer.C: honor pextraWidth(p) on converting minipages.
16210 * tabular.C (l_getline): changed the functions to strip trailing \r.
16212 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16214 * BufferView_pimpl.C:
16215 * minibuffer..C: added "using SigC::slot" declaration.
16217 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16219 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16225 * paragraph.C: ditto
16227 * lyxtext.h: NO_PEXTRA
16229 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16231 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16232 * ParameterStruct.h: ditto
16233 * ParagraphParameters.h: ditto
16234 * lyxparagraph.h: ditto
16236 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16238 * buffer.C: add compability for minipage alignment.
16239 (latexParagraphs): remove unwanted pextra check.
16241 * several files: remove CXX_WORKING_NAMESPACES
16243 * buffer.C (pop_tag): tie is in namespace boost
16245 * BufferView.h: noncopyable is in namespace boost
16247 * lyx_main.h: ditto
16250 * lastfiles.h: ditto
16251 * bufferlist.h: ditto
16252 * ShareContainer.h: ditto
16254 * LyXAction.h: ditto
16257 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16259 * Merging changes from BRANCH_MVC back into HEAD.
16261 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16263 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16265 * BufferView_pimpl.C: change from intl.C
16269 * Makefile.am: move combox.*
16275 * intl.C: remove dialog (covered by prefs)
16277 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16279 * lyxfunc.C (Dispatch): removed redundant break statement.
16281 2001-03-14 Juergen Vigna <jug@sad.it>
16283 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16285 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16287 * buffer.C: add hack to fix compability reading of minipages.
16289 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16291 * buffer.C (getLists): Cleanup.
16293 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16295 * lyxfont.C (update): don't honor toggleall on font size.
16297 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16301 * Makefile.am: moved to frontends/xforms/
16305 * BufferView_pimpl.C: changes for moved mathpanel
16307 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16309 * gettext.h: fix gettext_init() in --disable-nls
16311 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16313 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16315 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16318 * lyx.h: strip external form
16320 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16322 * BufferView_pimpl.C: add comment, destroySplash()
16324 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16326 * BufferView_pimpl.C:
16330 * lyxfunc.C: use re-worked insetinclude
16332 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16334 * buffer.C: add using std::stringstream.
16336 * lyx_cb.C: readd using std::ios.
16338 * buffer.C: add using std::map.
16340 * BufferView_pimpl.C: add using std::vector.
16342 * ShareContainer.h: add std:: to swap.
16344 * buffer.h: add some typedefs
16345 * buffer.C (getLists): use them
16346 (getLists): renamed from getTocList.
16347 add a counter for the different float types and use it in the
16349 (getLists): use the same counter for the NEW_INSETS and the "non"
16352 * lyx_cb.h: remove unused items, includes, using etc.
16354 * ShareContainer.h: remove some commented code, add more comments
16355 and "documentation".
16357 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16359 * buffer.C (getTocList): make the list also when NEW_INSETS is
16362 * buffer.h: remove TocType
16364 * buffer.C (getTocList): change to return a map<string,
16365 vector<TocItem> >, implement for dynamic number of list.
16367 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16368 * text2.C (PasteSelection): adjust
16369 * CutAndPaste.C (pasteSelection): adjust
16371 * FloatList.C (FloatList): update from the new_insets branch.
16372 * Floating.[Ch]: ditto
16373 * LaTeXFeatures.C: ditto
16375 * lyxlex_pimpl.C: ditto
16377 * paragraph.C (Last): remove when NEW_INSETS is defined.
16379 * other file: changes because of the above.
16381 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16383 * lyxparagraph.h: rename next to next_, previous to previous_,
16384 make them private for NEW_INSETS. Rename Next() to next(),
16385 Previous() to previous().
16387 * other files: changes because of the above.
16389 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16392 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16395 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16397 * main.C (main): pass lyx_localedir to gettext_init().
16399 * gettext.h: remove locale_init and gettext_init macros
16401 * gettext.C (locale_init): new function
16402 (gettext_init): new function
16404 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16407 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16409 * Moved credits to frontends:
16410 * credits.[Ch]: removed
16411 * credits_form.[Ch]: removed
16412 * lyx_gui_misc.C: remove credits stuff
16415 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16417 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16419 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16420 unneeded destructor.
16422 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16423 a standalone pointer again.
16425 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16427 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16433 * ToolbarDefaults.C:
16442 * BufferView_pimpl.C: use new file dialog in GUII
16445 * lyx_cb.C: remove LayoutsCB to Toolbar
16447 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16449 * ShareContainer.h (get): add std:: qualifier
16451 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16453 * ShareContainer.h: define a proper ShareContainer::value_type
16454 type (and use typename to please compaq cxx)
16456 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16458 * lyxparagraph.h: move serveral local vars to
16459 ParameterStruct/ParagraphParameters., use ShareContainer in
16460 FontTable., make vars in FontTable private and add getter and
16463 * paragraph.C: changes because of the above.
16465 * lyxfont.h: remove copy constructor and copy assignment. (the
16466 default ones is ok), move number inside FontBits. move inlines to
16469 * lyxfont.C: add number to initializaton of statics, move several
16470 inlines here. constify several local vars. some whitespace
16471 cleanup. Dont hide outerscope variables.
16473 * Spacing.h: add two new constructors to match the set methods.
16475 * ShareContainer.h: new file, will perhaps be moved to support
16477 * ParameterStruct.h: new file
16479 * ParagraphParameters.h: new file
16481 * ParagraphParameters.C: new file
16483 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16484 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16486 * BufferView_pimpl.C: ParagraphParameter changes.
16487 * buffer.C: Likewise.
16488 * bufferview_funcs.C: Likewise.
16489 * text.C: Likewise.
16490 * text2.C: Likewise.
16492 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16494 * lyxfind.C (LyXReplace): do not redefine default argument in
16496 (IsStringInText): ditto
16497 (SearchForward): ditto
16498 (SearchBackward): ditto
16500 2001-03-06 Juergen Vigna <jug@sad.it>
16502 * lyxfind.C (IsStringInText): put parentes around expressions.
16504 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16506 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16508 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16510 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16512 * stl_string_fwd.h: add comment
16514 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16517 * tabular.C: remove unused DocBook methods
16523 killed DO_USE_DEFAULT_LANGUAGE
16525 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16527 * lyx_gui.C: do not include language.h.
16529 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16530 arguments in function implementation.
16532 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16534 * BufferView_pimpl.C: add <ctime>
16536 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16538 * BufferView_pimpl.C: add using std::find_if
16540 2001-02-27 José Matos <jamatos@fep.up.pt>
16542 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16545 2001-02-11 José Matos <jamatos@fep.up.pt>
16547 * buffer.C (makeDocBookFile): command styles now have a parameter as
16548 "title" by default.
16550 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16552 * layout_forms.[Ch]: removed
16553 * lyx_cb.[Ch]: out character
16554 * lyx_gui.C: out character
16555 * lyx_gui_misc.C: out character
16556 * bufferview_funcs.C: : out character,
16557 added toggleall as parameter in ToggleAndShow
16559 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16561 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16563 * text2.C (SetCurrentFont): Disable number property at boundary.
16565 2001-02-26 Juergen Vigna <jug@sad.it>
16567 * lyxfunc.C (getStatus): added a string argument override function so
16568 that this is correctly called from LyXFunc::Dispatch if it contains a
16569 do_not_use_argument which is used!
16570 (Dispatch): added check for "custom" export and call appropriate func.
16572 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16574 * lyxrc.C: Add language_command_local, language_use_babel and
16575 language_global_options.
16577 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16579 * buffer.C (makeLaTeXFile): Use language_use_babel and
16580 language_global_options.
16582 2001-02-23 Juergen Vigna <jug@sad.it>
16584 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16585 which works with LyXText and putted it inside BufferView. Here now we
16586 only call for that part the BufferView::Dispatch() function.
16588 * BufferView.C (Dispatch): added.
16590 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16591 functions which needs to use a LyXText over from LyXFunc.
16592 (MenuInsertLyXFile): added
16593 (getInsetByCode): added
16594 (moveCursorUpdate): added
16595 (static TEXT): added
16597 2001-02-22 Juergen Vigna <jug@sad.it>
16599 * BufferView_pimpl.C (update): call a status update to see if LyXText
16602 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16604 * vc-backend.C (revert): implement for CVS
16605 (getLog): implement for CVS
16607 2001-02-20 Juergen Vigna <jug@sad.it>
16609 * text2.C (ClearSelection): added BufferView param for inset_owner call
16611 * lyxfunc.C (TEXT): added this function and use it instead of
16612 directly owner->view()-text of getLyXText().
16614 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16616 * src/layout_forms.C: out preamble
16617 * src/layout_forms.h: out preamble
16618 * src/lyx_cb.C: out preamble
16619 * src/lyx_cb.h: out preamble
16620 * src/lyx_gui.C: out preamble
16621 * src/lyx_gui_misc.C: out preamble
16622 * src/lyxfunc.C: connect with guii preamble
16624 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16626 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16628 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16630 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16631 whether to run bibtex.
16633 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16635 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16637 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16639 * Makefile.am (lyx_SOURCES): removed bibforms.h
16641 * vspace.h: doxygen
16643 * text.C (GetVisibleRow): make several local vars const
16645 * tabular.C: small cleanup.
16647 * lyxserver.C (callback): use compare instead of strncmp
16649 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16650 inlines to after class or to paragraph.C
16652 * lyxfont.h: remove friend operator!=
16654 * converter.h: move friend bool operator< to non friend and after
16657 * combox.h: small cleanup
16659 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16660 to inlines after class def.
16662 * buffer.C (pop_tag): use string operations instead of strcmp
16664 * bmtable.c: doxygen, small cleanup
16666 * LaTeX.h: remove friend operator==
16668 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16680 * BufferView_pimpl.C:
16681 * BufferView.[Ch]: remove cruft
16683 2001-02-14 Juergen Vigna <jug@sad.it>
16685 * lyxfunc.C: removed #if 0 unused code
16687 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16689 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16691 * text2.C (SetSelection): added a BufferView * parameter
16693 2001-02-13 Juergen Vigna <jug@sad.it>
16695 * lyxfunc.C (Dispatch): fixed protected blank problem.
16696 * BufferView2.C (protectedBlank): added LyxText * parameter.
16698 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16699 (AppendColumn): same as above for column_info.
16701 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16702 (moveCursorUpdate): use a LyXText param for support of InsetText.
16704 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16705 (tripleClick): ditto
16707 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16709 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16711 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16713 * text2.C (SetSelection): set correct update status if inset_owner
16714 (ToggleFree): ditto
16716 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16718 * tabular.C: remove some commented code.
16720 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16722 * BufferView_pimpl.C: call hideSplash()
16724 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16727 * bibforms.h: remove
16730 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16731 add LFUN_CHILD_CREATE
16733 * counters.h: fix tiny typo
16738 * lyx.C: move splash to frontends/xforms/
16740 * lyx_gui_misc.C: move Include and Bibform to frontends
16742 * lyxvc.h: clarify comment
16744 * vspace.C: tiny housekeeping
16746 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16748 * text.C (PrepareToPrint): RTL Fix.
16750 * paragraph.C (GetUChar): New method.
16751 (String): Use GetUChar.
16753 * buffer.C (asciiParagraph): Use GetUChar.
16755 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16757 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16759 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16762 * buffer.C: rename to getLogName(), handle
16763 build log / latex log nicely
16765 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16768 * MenuBackend.h: remove support for reference menuitem type.
16770 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16772 * BufferView_pimpl.C: housekeeping
16773 * BufferView_pimpl.h:
16778 * minibuffer.h: move Timeout GUI-I
16780 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16782 * lyxrc.C (read): Update converters data-structures.
16784 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16786 * LaTeX.h (operator!=): add operator != for Aux_Info
16788 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16790 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16792 * LaTeXLog.C: deleted, useful code moved to Buffer
16795 * buffer.C: new function getLatexLogName()
16801 * lyxfunc.C: use frontends for LaTeX and VC logs
16803 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16805 * LaTeX.h: yet another std:: that Allan forgot.
16807 * Variables.C (set): renamed from isset(), because this clashes
16808 with some HP-UX macros (grr).
16810 2001-02-06 Allan Rae <rae@lyx.org>
16812 * LaTeX.h: Another bug fix. Missing std:: this time.
16814 2001-02-04 Allan Rae <rae@lyx.org>
16816 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16817 floats problem. I've left it commented out because it's not quite
16818 correct. It should also test that the current object is a table or
16819 figure inset. But I haven't gotten around to figuring out how to do
16820 that. I *think* it'll be something like: "table" == inset.type()
16822 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16825 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16827 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16828 all the citation/databases/styles in the auxilary file.
16829 (run): Rerun latex if there was a babel language error.
16831 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16833 * text.C (Backspace): Preserve the font when changing newline char
16835 (BreakParagraph): If the cursor is before a space, delete the space.
16837 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16839 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16841 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16842 new argument (code).
16843 (ChangeCitationsIfUnique): New method.
16845 * paragraph.C (GetPositionOfInset): Handle bibkey.
16847 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * BufferView_pimpl.h: change type of Position::par_pos to
16850 LyXParagraph::size_type.
16852 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16854 * BufferView_pimpl.C (savePosition, restorePosition): Write
16855 messages to minibuffer.
16857 2001-01-28 José Matos <jamatos@fep.up.pt>
16859 * buffer.C (makeDocBookFile): adds support for document language.
16860 A silly restriction on the name of LatexCommand types where removed.
16861 Added support for CDATA sections, allows to chars unescaped, used
16862 among others in code, to avoid escape < and >.
16864 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16866 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16867 saved positions instrad of a stack. Furthermore, a position is
16868 stored using paragraph id/paragraph position.
16870 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16871 Remove LFUN_REF_BACK.
16873 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16875 * converter.C (dvipdfm_options): New method.
16877 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16879 * vspace.C (isValidLength): Fix for empty input string.
16881 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16883 * LyXAction.C (init): change description of LFUN_FIGURE to
16886 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16888 * LaTeX.C: add using directive
16890 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16892 * MenuBackend.C (expand): Fix the sorting of the formats.
16894 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16896 * lyx_main.C: tiny error message fix
16898 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16900 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16901 calling fl_initialize(). This fixes the problem with ',' as
16902 decimal separator in text files.
16904 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16906 * trans.C (process): Fix the keymap bug.
16908 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16910 * LaTeX.C (scanAuxFiles): New method. Provides support for
16911 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16912 (scanLogFile) Scan for "run BibTeX" messages.
16914 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16915 OT1 font encoding. Also, load the aecompl package if the ae
16918 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16920 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16922 * texrow.C (increasePos): turn two error messages into debug
16925 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16927 * LaTeX.C (scanAux): Handle the \@input macro.
16928 (runBibTeX): Use scanAux().
16930 * language.C (latex_options_): New field.
16932 * LaTeXFeatures.C (getMacros): Add language macros.
16934 * buffer.C (makeLaTeXFile): Small fix.
16936 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16938 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16940 * text2.C: add a using directive.
16942 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16947 * lyxfunc.C: kill LyXBell.
16949 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16951 * text.C (IsBoundary): Remove the error message
16953 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16955 * lyxrc.C (setDefaults): Correct initialization value for
16958 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16960 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16963 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16964 and GotoNextNote().
16966 * src/LyXAction.C: Added reference-next.
16968 * text.C (InsertChar): Use contains instead of strchr.
16970 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16972 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16974 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16975 alignment commands (when needed).
16977 * text.C (InsertChar): Add ':' to number separator chars.