1 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * output_linuxdoc.C (linuxdocParagraphs): silence warning
5 * lyxfind.C (MatchString::operator()): remove bogus semicolon
7 2005-01-20 Angus Leeming <leeming@lyx.org>
9 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
10 printing diagnostic data by not dereferecing an iterator past the
13 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
15 * buffer.C (readHeader): use "&&" rather than "and".
17 * lyxserver.h (inPipeName, outPipeName): make these const.
19 2005-01-19 Angus Leeming <leeming@lyx.org>
21 * lyx_main.C (error_handler, init): protect SIGHUP with
24 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
28 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * text.C (setHeightOfRow): add a margin at the top and bottom of
31 the document (bug 1761)
33 2005-01-17 Angus Leeming <leeming@lyx.org>
35 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
36 with "python ". Workaround for a brain-dead Windows.
38 2005-01-16 Angus Leeming <leeming@lyx.org>
40 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
41 for MacOSX and Windows to use prependEnvPath.
42 Strip out the hard-coded block to add elements to the PATH for
43 MacOSX and replace it with a call to prependEnvPath using the
44 contents of LyXRC::path_prefix.
45 (queryUserLyXDir): strip out the code to run reconfigure, instead
46 returning a boolean indicating the necessity to do so.
47 (reconfigureUserLyXDir): contains the code to reconfigure the
48 user support directory. Is now called after the various LyXRC data
51 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
53 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * converter.[Ch] (convert): take a new parameter try_default. Use
56 a default converter (imagemagick) if try_default is true.
58 2005-01-13 Angus Leeming <leeming@lyx.org>
60 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
62 (write): output LyXRC::cygwin_path_fix as necessary.
64 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
67 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
69 2005-01-12 Angus Leeming <leeming@lyx.org>
71 * lyx_main.C (init): set the PATH variable to include the
72 directory containing the LyX binary when running on Mac or Windows.
74 2005-01-12 Angus Leeming <leeming@lyx.org>
76 * lyx_main.C (init): remove cruft that purports to set the locale
77 dir. It doesn't and is not needed anyway.
79 2005-01-10 Angus Leeming <leeming@lyx.org>
81 * Makefile.am: remove the lyx_main.C special casing.
89 * messages.C: use support/package.h to provide the paths to the
90 various directories used by LyX.
92 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
94 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
95 layout if pasting into an empty paragraph)
97 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
99 * tex-accent.C: add <string>
101 2005-01-06 José Matos <jamatos@lyx.org>
103 * ParagraphParameters.C (write): put every parameter in its own line.
104 * paragraph.C (write): reduce number of consecutive empty lines exported.
105 * buffer.C (LYX_FORMAT): increase file format to 239.
107 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
109 * everywhere: change support/tostr.h -> support/convert.h
111 * tabular.C: make all write_attributes templates, tostr -> convert
113 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
114 (emptyTag): and -> &&, and fix type for ret from getChar
115 (getFirstWord): fix type for ret from getChar
116 (onlyText): and -> &&
117 (simpleDocBookOnePar): and not -> && !, fix type for ret from
120 * toc.C (goTo, action):
121 * text3.C (dispatch):
122 * text.C (currentState):
123 * tex-accent.C (DoAccent):
126 * lyxfunc.C (menuNew):
127 * lyxfinc.C (replace):
128 * counters.C (laberItem):
129 * bufferview_funcs.C (font2string):
130 * bufferparams.C (writeFile):
131 * buffer.C (readFile):
133 * MenuBackend.C: tostr -> convert
135 * LaTeX.C (runMessage): fix format
136 (scanAuxFiles): tostr -> convert
138 * BufferView_pimpl.C (savePosition): fix format
139 (restorePosition): ditto
142 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * Spacing.[Ch]: New method getValueAsString().
148 * ParagraphParameters.C:
151 * text3.C: store/read spacing value as string.
153 * rowpainter.C: change float value (spacing_val) to double.
155 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
156 broken custom document spacing).
158 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
160 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
161 namespace, also more use of temp references and const
163 * cursor.[Ch] (getStatus): move to lyxfunc.C
165 * bufferparams.C: reformat slightly
167 * bufferview_funcs.C (font2string): constify arg
173 * buffer_funcs.C: (many funcs): constify arg on function
174 definitions, also make more local vars const, also add ASSERTS on
177 * buffer.C (LYX_FORMAT): put const in correct place
178 (many funcs): constify arg on function definitions, also make
179 more local vars const
181 * aspell_local.h: remove "struct" from typdef setup
183 * aspell.C (check): make word_ok const
184 (nextMiss): simplify slightly
187 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
189 * lyxrc.[Ch]: store all float values as strings.
190 use int (not float) for lyxrc.dpi.
192 2005-01-04 Angus Leeming <leeming@lyx.org>
194 * lyx_cb.C (Reconfigure):
195 * lyx_main.C (queryUserLyXDir):
196 to run the <system_lyxdir>/configure correctly on Windows, prefix
197 the path to the script with "sh " when generating the string that
198 is passed to system().
200 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
202 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
204 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * lyxlength.C (asLatexString): get rid of setprecision
208 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
210 * text2.C (setLayout): remove unused variable endpit.
211 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
213 * paragraph.C (onlyText): remove unused variable style.
215 * cursor.C (bruteFind): remove unused variables beg and end.
217 * Makefile.am (dist_noinset_DATA): not needed anymore
219 * cheaders/*: remove.
221 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
223 * text3.C: fix LFUN_MATH_MODE.
225 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
227 * buffer_funcs.C (countWords): new function. Counts words between
230 * BufferView_pimpl.C (getStatus, dispatch): handle
233 * LyXAction.C (init):
234 * lfuns.h: add LFUN_WORDS_COUNT.
236 2004-12-19 Angus Leeming <leeming@lyx.org>
238 * buffer.C (save): s/slashify_path/internal_path/.
240 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * lyxfind.C (findChange): do not search for end of pars, because
243 the change tracker cannot handle this (fixes bug 1719).
245 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
247 * paragraph.[Ch] (autoBreakRows): remove
249 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
251 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
252 avoid using the paragraph one
254 * text2.C (LyXText, insertStringAsLines): adjust
256 2004-12-16 Angus Leeming <leeming@lyx.org>
260 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
262 2004-12-14 Angus Leeming <leeming@lyx.org>
264 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
266 * bufferlist.C (emergencyWrite):
267 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
270 2004-12-14 Angus Leeming <leeming@lyx.org>
272 * main.C: (main): no longer pass pointers to os::init.
274 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
276 * undo.C (textUndoOrRedo): simplify logic, fix a crash
277 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
279 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
282 * text3.C: remove selection_possible global flag
284 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
286 * text2.C (getSelectionSpan): remove
287 (changeDepth, changeDepthAllowed): adjust
289 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
291 * Makefile.am (BOOST_LIBS): use boost variables
293 2004-12-03 José Matos <jamatos@lyx.org>
295 * buffer.C: format up to 238.
297 2004-12-03 José Matos <jamatos@lyx.org>
299 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
301 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
303 * cursor.C (goUpDown): remove call to idxUpDown2
305 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * tabular.[Ch]: use size_t-like types for cell, row and column
310 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
312 * lyxfunc.C (getStatus): do not lose previous information when
313 calling BufferView::getStatus; do not set a default "Command
314 disabled" message at the beginning, but just before returning.
316 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
318 * cursor.h (getStatus): add better comment from src/cursor.C
320 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
322 * text3.C (getStatus): return false when the lfun is not handled
324 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
326 * broken_headers.h: remove
328 * Makefile.am (lyx_SOURCES): remove broken_headers.h
330 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
332 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
335 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
336 top_y_, merge fitcursor with update
337 (updateScrollbar, scrollDocView, fitCursor, center, update): new
340 (workAreaDispatch): adapt to new coord scheme
341 (redoCurrentBuffer): remove
343 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
345 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
348 * coordcache.[Ch]: add paragraph cache and helpers
350 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
353 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
354 (targetX, setTargetX): introduce
356 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
357 baseline -> ascent, as the rest of lyx
359 * lyxtext.h: remove redoParagraphs, updateParPositions,
360 fullRebreak, redoParagraphInternal. move dist to anon namespace in
361 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
362 have ascent/descent (ascent is ascent of first par)
364 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
367 * paragraph.[Ch]: unify dimension handling with the rest of lyx
369 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
371 * pariterator.C: fix infinite loop introduced in par->pit renaming
373 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
374 in insets and LyXText, draw two off-screen paragraphs using
375 NullPainter, and adapt to new coord scheme
379 * text3.C: adapt lfun handlers to the new coord scheme, which
380 means: there's only guaranteed coord information for onscreen pars
381 plus one above and one below. This implies that one can do search
382 from y coordinates in the range [-1,workHeight]
384 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
386 * rename a lot of InsetOld to InsetBase
388 2004-11-25 Angus Leeming <leeming@lyx.org>
390 * BufferView_pimpl.C:
392 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
394 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
397 call BufferView::getStatus if LCursor::getStatus did nothing
398 (setStatusMessage, getStatusMessage): removed.
400 * FuncStatus.C (message): new methods. Used to provide an error
401 message indicating why a command is disabled.
402 (clear, |=, FuncStatus): update for message.
404 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
406 * lyxfunc.C (dispatch): always call sendDispatchMessage
408 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
411 * BufferView_pimpl.C:
425 * undo.C: par->pit renaming
427 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
429 * tabular.C (cellstruct): use initialization, store a shared_ptr
430 to insettext instead of the insettext directly, adjust to fit.
431 (operator=): new function
433 (rowstruct): use initialization
434 (columnstruct): use initialization
435 (ltType): use initialization
438 * lyxlength.h (swap): new function
440 * LColor.[Ch] (operator=): use the common semantics
442 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * lyxfind.C (findNextChange): update the bufferview after setting
447 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
450 number of InsetOptArgs has already been inserted.
452 * output_latex.C (latexOptArgInsets): new method. This outputs all
453 the optarg insets, up to the limit defined in the layout file.
454 (optArgInset): removed
455 (TeXOnePar): call latexOptArgInsets; correctly update texrow
457 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
459 * paragraph.C (isLetter): remove special spellchecker-related
460 code; return true also for digits
461 (isWord, isKomma): remove
463 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
464 * lyxfind.C (MatchString()): use isLetter instead of isWord
466 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
468 * pariterator.h (operatir=): comment out un-implemented member
471 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
474 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
476 * lyxfont.h: include LColor.h to satisfy concept checks.
478 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
480 * pariterator.h: add typdefs for value_type, difference_type,
481 pointer and reference to satisfy concept checks. Also add default
482 constructor for same reason.
484 * pariterator.C (operator++): add post-increment operator to
485 satisfy concept checks.
487 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
490 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
492 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
493 checks. Also rename base_type to BaseType to follow naming
496 * FloatList.h: include Floating.h to satisfy concept checks.
498 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
500 * lyxfunc.C (getStatus): when the origin of the request is menu or
501 toolbar, and the LyXView does not have focus, do as if there was
504 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
505 FuncRequest to individual entries of LFUN_SEQUENCE
507 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
509 * output_latex.C (TeXOnePar): override runparams.moving_arg
510 according to the needprotect value of the current paragraph (bug
513 * paragraph.C (simpleTeXOnePar): no need to override
514 runparams.moving_args here
516 2004-11-14 John Spray <spray_john@users.sourceforge.net>
518 * vspace.C: fix off-by-one-error, related to fix #1682
520 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
522 * lengthcommon.C: a more general fix for bug 1682
524 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
526 * text.C (backspace): fix crash
528 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * format.[Ch] (getFormatFromFile): new method
531 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
533 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
535 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
537 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
539 * lyxfunc.C (dispatch): remove the verbose argument
540 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
543 * kbmap.C (defkey): set the origin of func to KEYBOARD
545 * MenuBackend.C (MenuItem):
546 * ToolbarBackend.C (add): set the origin of func to UI
548 * funcrequest.[Ch]: add origin member, which indicates which part
549 of LyX requests an action
551 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * converter.C (move): don't lie in the error message
554 * converter.h (isReachable, move): document
556 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * buffer.C: remove unused using lyx::support::atoi
559 * paragraph_funcs.C: ditto
561 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
563 * bufferlist.C (exists): use bind and equal_to instead of
566 * lyxtextclasslist.C (NumberOfClass): ditto
568 * cursor.C (insert): use for_each instead of explicit for loop
570 * bufferlist.C (getFileNames): use std::transform and
571 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
573 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
576 * buffer.C (changeLanguage): use for_each instead of explicit for
578 (hasParWithID): implement using getParFromID
580 * LaTeXFeatures.C: ws change only
582 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
585 * BufferView_pimpl.C (trackChanges): use for_each instead of
588 2004-11-04 André Pönitz <poenitz@gmx.net>
591 * undo.C (textUndoOrRedo): fix crash when creating undo information.
593 * dociterator.C (asDocIterator): use hard assert again.
595 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 * lyxlength.C (asLatexString): rewrite so that it does not use
600 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * text3.C (specialChar, dispatch): make sure cursor moves to the
603 right after inserting an inset
605 2004-11-02 José Matos <jamatos@lyx.org>
607 * output_docbook.C (docbook):
608 * paragraph.C (getID):
609 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
610 garantee that the output is always legal.
612 * tabular.C (docbook):
613 * outputprams.[Ch]: remove mixed contents.
615 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
617 * text2.C (setCounter): prevent endless loop
619 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
621 * exporter.C (copyFile): use the mover instead of support::copy()
622 * exporter.C (Export): pass format and latex name to copyFile()
623 * exporter.h (addExternalFile): document
624 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
626 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
628 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
630 2004-10-30 José Matos <jamatos@lyx.org>
632 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
633 text and no inset or font change. This allows to use CDATA
634 sections just for the whole paragraph.
636 2004-10-30 José Matos <jamatos@lyx.org>
638 * paragraph.C (getFirstWord): remove unused variable.
640 2004-10-30 José Matos <jamatos@lyx.org>
642 * paragraph.C (getFirstWord): the content should always be escaped
644 (simpleDocBookOnePar):
645 * output_docbook.C (makeEnvironment): replace reference to CDATA
648 2004-10-30 José Matos <jamatos@lyx.org>
650 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
652 2004-10-30 José Matos <jamatos@lyx.org>
654 * output_docbook.C (makeParagraphs):
655 * paragraph.[Ch] (emptyTag): for docbook and company, if the
656 standard paragraph has only a given type of content drop the wrapper.
658 2004-10-29 José Matos <jamatos@lyx.org>
660 * output_docbook.C (makeEnvironment):
662 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
664 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
666 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
667 (cleanID): sanitize any id.
669 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
671 * buffer.C, lyxlex_pimpl.C:
672 * lyxlex_pimpl.C (setFile):
673 s/getExtFromContents/getFormatFromContents/
675 2004-10-28 José Matos <jamatos@lyx.org>
677 * output_docbook.C (makeEnvironment): move id to broadest possible
680 * sgml.C (openTag): apply substitution of <> for all attributes.
682 2004-10-28 José Matos <jamatos@lyx.org>
684 * buffer.C (makeLinuxDocFile, makeDocBookFile):
685 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
686 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
688 * sgml.[Ch]: new version for open and closeTag for paragraph and
689 for strings. Now they handle the ids of paragraphs.
691 2004-10-26 Angus Leeming <leeming@lyx.org>
693 * Makefile.am: add mover.[Ch].
695 * converter.C (convert, move): use the new Movers to move external
696 files to the temp directory.
698 * lyx_main.C (init): ensure that the global system_movers data
701 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
704 * mover.[Ch]: new files, defining a Mover as a utility to move an
705 external file between directories and, if necessary, manipulate this
706 file using a helper script.
708 2004-10-25 José Matos <jamatos@lyx.org>
710 * output_docbook.C (makeCommand): merge two if's that tested the
713 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * sgml.C (escapeString): fix warning in a better way
717 2004-10-25 José Matos <jamatos@lyx.org>
719 * sgml.C (escapeString): import the require boosts header file for
720 tie, and avoid a signed unsigned comparison.
722 2004-10-25 José Matos <jamatos@lyx.org>
724 * sgml.h: add #include <string>
726 2004-10-25 José Matos <jamatos@lyx.org>
728 * sgml.[Ch] (escapeString): new function to escape all the string.
730 2004-10-24 José Matos <jamatos@lyx.org>
732 * paragraph.[Ch] (getFirstWord): new function to get the first
733 word. Useful for description.
734 (simpleDocBookOnePar): remove depth argument, add another that
735 says where to start the paragraph.
737 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
738 use the new functions to fix cleanly the support for descriptions.
740 2004-10-24 José Matos <jamatos@lyx.org>
742 * buffer.C (makeLinuxDocFile, makeDocBookFile):
743 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
744 * output_linuxdoc.C (linuxdocParagraphs):
745 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
746 add buffer as argument.
748 2004-10-24 José Matos <jamatos@lyx.org>
750 * output_docbook.C (makeEnvironment, searchEnvironment): place
751 CDATA inside paragraphs and fix scope for listitems.
753 2004-10-24 José Matos <jamatos@lyx.org>
755 * output_docbook.C: remove using statement for stack.
757 2004-10-23 José Matos <jamatos@lyx.org>
759 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
760 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
761 docbook. The new scheme is recursive and makes use of iterators, the
762 same as latex export works.
763 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
764 directly with the paragraph contents. This code was moved up to
765 output_docbook.C (docbookParagraphs).
766 * sgml.C (openTag, closeTag): removed unneeded newlines.
767 (closeEnvTags) removed.
769 2004-10-23 André Pönitz <poenitz@gmx.net>
771 * undo.C (textUndoOrRedo):
772 * dociterator.C (asDocIterator): work around crash
774 * cursor.C (getStatus): replace ASSERT by more verbose error message
775 and manual correction of the problem. Should increase stability
776 while providing more sensible information.
778 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
780 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
782 * bufferlist.C (previous, next): new methods
785 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
787 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
789 * buffer.C (makeDocBookFile): add dsssl stylesheet control
790 entities to preamble.
792 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * messages.C (Pimpl): strip off translation context information
796 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
799 the cursor is correct (bug 1694)
801 2004-10-13 José Matos <jamatos@lyx.org>
803 * output_docbook.C (docbookParagraphs): fix closing tags in the
806 2004-10-09 José Matos <jamatos@lyx.org>
808 * buffer.C: format up to 237.
809 * bufferparams.C (write): use tostr to convert booleans to strings.
811 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
813 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
815 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
817 * LaTeX.C: implement use of babel language in xindy.
819 2004-10-05 José Matos <jamatos@lyx.org>
821 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
822 Add new translators to help reading and writing the lyx file.
824 2004-10-05 José Matos <jamatos@lyx.org>
826 * ParagraphParameters.C (read):
827 * text.C (readParToken): replace nexToken by more appropriate lex
830 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
832 * LaTeX.C (runMakeIndex):
833 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
834 (usually 'makeindex') configurable.
836 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
837 with a variable rather than with a number.
839 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
841 * output_latex.C (TeXOnePar): make sure font setting is the first
842 thing that gets output (and the last at the end). Should fix bug
845 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
847 * pch.h: use proper signal include
849 * LaTeX.h: Use preferred calling of Boost.Signal
852 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
854 * pch.h: dont include <boost/function/function0.hpp>
856 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
858 * paragraph_pimpl.h: remove usage of ShareContainer
860 * paragraph_pimpl.C: remove initialization of ShareContainer.
862 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * BufferView.C (putSelectionAt): change the semantics when
867 backwards == true: now, this just swaps cursor and anchor wrt the
870 * BufferView.h (putSelectionAt): add some documentation
872 * lyxfind.C (findBackwards): rewrite using while(). In particular,
873 make sure backwardChar is done at least once (to avoid getting
875 (findNextChange): use putSelectionAt in the forward direction
876 (operator()): use Paragraph::isWord
878 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
880 * Spacing.C (set): c_str fix
882 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * lyx_cb.C (Reconfigure): quote the name of configure script in
885 case it contains spaces
887 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
892 (BOOST_LIBS): use top_buildir when looking for the file
894 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
896 * pch.h: do not use include boost/format.hpp, multiple symbols
897 will result (gcc bug)
900 2004-08-23 José Matos <jamatos@lyx.org>
902 * bufferparams.C (readToken): fix reading of the author field.
904 2004-08-20 José Matos <jamatos@lyx.org>
906 * lyxrc.C: remove support/translator.h inclusion since it is not used.
908 2004-08-20 José Matos <jamatos@lyx.org>
910 * lyxlex.[Ch] (findToken): remove function.
912 * ParagraphParameters.C (findToken):
913 * bufferparams.C (findToken): replace call for previous function
914 with local copy. This local function has one more argument, the
915 read string argument.
917 2004-08-16 José Matos <jamatos@lyx.org>
919 * ParagraphParameters.C (write):
920 * Spacing.C (writeFile):
921 * bufferparams.C (writeLaTeX):
922 * lyx_cb.C (Reconfigure):
923 * paragraph.C (write):
924 * tabular.C (write): remove unnecessary space at end of line.
927 2004-08-16 José Matos <jamatos@lyx.org>
929 * text.C (readParagraph): remove debug message.
931 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
936 * output_plaintext.C (asciiParagraph): set depth correctly
938 * outputparams.h: add member depth
940 * paragraph_funcs.C (ownerPar): remove.
942 * text2.C (setCounter): remove first_pit; comment out some
943 non-working code that uses ownerPar
945 * BufferView.C (getParentLanguage): remove. Not used anymore, and
948 2004-08-16 José Matos <jamatos@lyx.org>
950 * text.C (readParToken, readParagraph, read): report all unknown tokens.
951 For the same level of importance use the same chanel to report problems.
952 (read): add code to deal with \begin_body and \end_body.
955 2004-08-15 José Matos <jamatos@lyx.org>
957 * lyxlex.C (getString): fix comment, buffer::readBody is now
960 * tex-strings.C (string_papersize): Default -> default,
961 Custom -> custom, for consistency with other options.
963 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
967 * Makefile.am: support pch
969 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * text.C (readParToken): remove the static LyXFont variable and
972 pass it as a parameter instead. This fixes a nasty bug where an
973 inset will be inserted with a bad font in some situations
974 (readParagraph): adapt
976 * text2.C (setCounter): reduce number of calls to pars_[pit]
978 * text.C (singleWidth): add an assert, fix a test
980 * rowpainter.C (paintText): reduce number of calls to singleWidth
982 * paragraph.C (isHfill):
985 2004-08-14 André Pönitz <poenitz@gmx.net>
990 * lyxtext.h (several functions): use a Paragraph & argument
993 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * metricsinfo.h: add a new field ltr_pos to PainterInfo
997 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
999 * text.C (singleWidth): remove useless test
1001 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1003 * tabular.h: remove bogus comments
1005 * tabular.C (getDescentOfRow):
1006 (isPartOfMultiColumn): add assertions
1008 * lyxlength.C (inPixels): remove #warning
1010 2004-08-14 André Pönitz <poenitz@gmx.net>
1012 * paragraph.h: inline getChar()
1014 * BufferView.h: remove unused declarations
1016 2004-08-14 José Matos <jamatos@lyx.org>
1018 * Buffer.[Ch] (readDocument): new name for old readBody.
1019 * Buffer.C: new file format, new keywords: \begin_document,
1020 \begin_header, \begin_body, \end_body.
1022 * bufferparams.C (readToken): replace all calls to lex.nextToken
1023 by lex.next(). Do the same to eatLine except where really needed.
1025 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1026 line when writing to the lyx file.
1028 * output_plaintext.C (asciiParagraph): fix Bibliography style
1031 * text.C (read): fix end of file handling.
1033 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * MenuBackend.C (Menu::operator[]): new method to access
1036 individual menu items
1037 (Menu::hasFunc): new method. search for an item that corresponds
1039 (MenuBackend::specialMenu): new method
1040 (MenuBackend::expand): if a special menu has been set, skip
1041 entries whose func() appears in this menu
1043 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1045 * text3.C: use Debug::DEBUG a bit more
1047 * text.C (leftMargin): try to simplify a tiny bit change var x to
1048 l_margin. Dont output the wide margins always.
1049 (rightMargin): no margin in inner texts
1051 * rowpainter.h (nestMargin): new func
1052 (changebarMargin): new func
1053 (rightMargin): new func
1055 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1059 * factory.C (createInset): modify setDrawFrame
1061 * cursor.C: use Debug::DEBUG a bit more
1063 2004-08-14 André Pönitz <poenitz@gmx.net>
1066 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1067 cache for all insets in (at least partially) visible (top-level)
1070 * BufferView_pimpl.C: reset external coord cache before every update.
1071 This means the coord cache only contains valid entries.
1073 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1076 * BufferView_pimpl.C (getInsetByCode): move function out of class
1077 and change in to a template in anon namespace. Also fix to do what
1080 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1083 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1085 (breakParagraph): rename par to par_offset and use a local
1086 reference. Add code to keep the language over a rebreak.
1087 (breakParagraphConservative): rename par to par_offset, use a
1089 (mergeParagraph): ditto
1091 (isFirstInSequence): ditto
1092 (outerFont): rename pit to par_offset
1094 * paragraph.C: ws change
1095 * paragraph.h: ditto
1099 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1104 * paragraph.C (simpleTeXOnePar): when we have a \item with
1105 optional argument, enclose the argument with curly brackets (in
1106 case it contains a closing square bracket)
1110 * text3.C (checkInsetHit): constify
1112 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1115 documents (bug 1629)
1117 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 Fix toggling of collapsable insets with the mouse (bug 1558)
1121 * lyxfunc.C (dispatch): adapt to LCursor changes
1123 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1124 make sure that dispatch is not invoked twice
1126 * cursor.C (needsUpdate): new method
1127 (dispatch): return void
1128 (result): new method, to access the DispatchResult of the cursor.
1130 2004-08-13 José Matos <jamatos@lyx.org>
1132 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1134 2004-08-13 André Pönitz <poenitz@gmx.net>
1136 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1138 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1141 2004-08-12 André Pönitz <poenitz@gmx.net>
1143 * text3.C: take out the 'cursor right' form insertInset and only
1144 do it in those places when it is really needed. Fixes crash on
1147 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1151 * BufferView_pimpl.C (setBuffer): initialize the current font of
1152 the underlying LyXText
1154 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1156 * kbsequence.C (print): use UI native formatting for menu
1159 * text.C (insertChar): call Paragraph::insertChar with a font
1162 * paragraph.C (insertInset, insertChar): the version that takes a
1163 LyXFont argument is now a wrapper around the other one (the
1164 opposite used to be true).
1166 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1167 argument. Font setting is done in Paragraph now.
1169 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1171 * outputparams.h: add new members intitle and lang.
1173 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1174 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1176 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1178 * text3.C (dispatch): remove special handling of button 4 and 5,
1179 it is now taken care of in the frontend code.
1181 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1183 * Spacing.h: add <string> (STLPort compile fix)
1185 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1187 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1189 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1194 * converter.C (showMessage): inherit from unary_function, make
1197 * buffer.C (writeFile): initialize retval
1199 * InsetList.h: rename private variable list to list_
1200 * InsetList.[Ch]: adjust accordingly.
1202 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1204 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1205 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1206 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1207 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1208 * ParagraphParameters.C, LaTeXFeatures.C: replace
1209 "support/std_sstream.h" with <sstream>
1211 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1213 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1214 * lyxsocket.C (LyXServerSocket): ditto
1215 (serverCallback): ditto
1217 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1219 * LaTeXFeatures.C: check release date when loading jurabib.
1221 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1223 * lyxserver.C (startPipe): call register_socket_callback
1224 (endPipe): call unregister_socket_callback
1226 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1228 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1229 (LyXServerSocket): register the callback
1230 (LyXServerSocket): unregister the callback
1231 (fd): delete function
1232 (serverCallback): improve error checking and setup the callbacks.
1233 (dataCallback): change arg to fd.
1234 (writeln): new func (copied fro the client socket) used for server
1236 (LyXDataSocket): simplify
1237 (~LyXDataSocket): close ann unregiser callback
1238 (server): delete function
1239 (fd): delete function
1240 (readln): small changes, improve some std::string usage
1241 (writeln): constify a bit
1243 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1245 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1248 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1250 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1251 after it has been populated
1253 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * text2.C (insertInset): move cursor when inserting inset.
1257 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1259 * kbmap.C (findbindings): a couple of new methods. returns a
1260 container of kb_sequence objects. The real work is done by the
1261 private recursive version
1262 (printbindings): uses findbindings to print out a bracketed list
1263 of bindings (renamed from findbinding).
1265 * MenuBackend.C (binding): use kb_keymap::findbindings
1267 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1269 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1271 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1273 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1275 * paragraph.C (isWord): return true on insets that report
1278 * text.C (getWord): use Paragraph::isWord to decide what is in a
1279 word and what is not; fix bug 1609.
1281 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * tex-strings.C: add "none" to string_paperpackages[], fixes
1284 off-by-one-error in the paperpackage selection.
1287 * tex-strings.[Ch]: char const * string[n]
1288 -> char const * const string[]
1290 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1293 command, return early.
1295 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1297 * debug.h: add DEBUG to enum and fix size of ANY.
1299 * debug.C: add support for Debug::DEBUG
1300 (showTags): cast errorTags.level to unsigned int
1302 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1303 (redoCurrentBuffer): ditto
1304 (updateScrollbar): ditto
1305 * cursor.C (dispatch): ditto
1306 * text2.C (setLayout): ditto
1308 (updateCounters): ditto
1310 (deleteEmptyParagraphMechanism): ditto
1312 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1314 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1315 annotations to cleanup the Makefile slightly.
1317 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1319 * lyxrc.C: do not set user_email to a default value but use empty
1320 instead. The entry used to be translated, which does not work
1321 since at the point where lyxrc is constructed there is no
1322 translation service available
1324 * messages.C (getLocaleDir): remove and use directly
1325 lyx_localedir() instead
1327 2004-06-02 Angus Leeming <leeming@lyx.org>
1329 Fix crash caused by dereferencing null pointer 'exportdata' in
1330 OutputParams by creating a new ExportData variable on the heap,
1331 storing it in a boost::shared_ptr.
1332 The crash was triggered when generating an Instant Preview
1333 of an external inset.
1335 * Makefile.am: add outputparams.C
1337 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1338 (c-tor): allocate memory to it.
1340 * exporter.C (c-tor): associated changes.
1342 2004-06-01 Angus Leeming <leeming@lyx.org>
1344 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1345 contains data before calling isInset(0). (Bug 1513.)
1347 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1349 * exporter.C (checkOverwrite): new method
1350 * exporter.C (copyFile): new method
1351 * exporter.C (Export): copy referenced files to the document dir
1352 * exporter.[Ch]: new class ExportedFile
1353 * exporter.[Ch]: new class ExportData. Contains currently the
1354 names of referenced external files
1355 * outputparams.h: add exportdata member.
1357 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1359 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1362 2004-05-19 Angus Leeming <leeming@lyx.org>
1367 * lyxfunc.C: small changes due to the introduction of namespace
1368 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1370 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1372 * text3.C (dispatch): supress update when only moving the cursor
1373 * cursor.C (selHandle): remove commented code
1375 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * paragraph.C (startTeXParParams): correct column count
1378 * CutAndPaste.C (pasteSelection): remove const_cast
1379 * output_docbook.C (docbookParagraphs): remove const_cast
1380 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1381 const_cast and return ParagraphList::const_iterator
1382 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1383 * output_plaintext.C (writeFileAscii): remove const_cast
1384 * paragraph.[Ch] (simpleTeXOnePar): make const
1385 * paragraph_funcs.C (outerPar): use const iterators
1386 * paragraph_pimpl.C (validate): use const iterators
1387 * text.C (setHeightOfRow): use const iterators
1389 2004-05-17 Angus Leeming <leeming@lyx.org>
1392 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1394 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1395 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1396 if the citation engine has changed.
1398 2004-05-14 José Matos <jamatos@lyx.org>
1400 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1401 if the textclass does not provide it. Have it different for sgml and
1403 support the language of document.
1404 * output_docbook.C (docbookParagraphs):
1405 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1406 first anchor as the id of the paragraph, remove special case code.
1407 * sgml.C (escapeChar): escape only < & >.
1409 2004-05-14 Angus Leeming <leeming@lyx.org>
1411 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1412 dependencies on src/frontends/controllers/biblio.h. Define a
1413 CiteEngine_enum wrapper class to enable the enum to be forward
1416 2004-05-12 Angus Leeming <leeming@lyx.org>
1418 * buffer.C: up LYX_FORMAT to 234.
1419 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1420 use_numerical_citations with a single biblio::CiteEngine cite_engine
1422 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1424 2004-05-13 José Matos <jamatos@lyx.org>
1427 * converter.C (Converter, readFlags): add xml member.
1428 * outputparams.h: add XML flavor.
1429 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1431 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1433 * lyxfunc.C (dispatch):
1434 (getStatus): fix handling of LFUN_SEQUENCE
1436 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1438 * debug.C (showLevel): do not forget the end-of-line marker
1440 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1442 * kbmap.C (read): do not stop parsing a bind file when an error
1445 2004-04-29 Angus Leeming <leeming@lyx.org>
1450 * text2.C: wrap a bunch of #warning statements
1451 inside #ifdef WITH_WARNINGS blocks.
1453 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * buffer.C: increment format to 233.
1457 2004-04-28 Angus Leeming <leeming@lyx.org>
1459 * BufferView_pimpl.C:
1462 s/updateToolbar()/updateToolbars()/
1463 s/Toolbar.h/Toolbars.h/
1465 2004-04-28 Angus Leeming <leeming@lyx.org>
1467 * BufferView.[Ch] (c-tor):
1468 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1469 No longer passes these data to the WorkArea generator.
1471 2004-04-28 Angus Leeming <leeming@lyx.org>
1473 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1475 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1477 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1479 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * output_latex.C (TeXEnvironment): make sure that there is a line
1482 break before \end{foo} for the last paragraph of a document
1483 (TeXOnePar): if the paragraph is at the end of the document (or
1484 inset) and the language has to be reset, then make sure that the
1485 line break is _before_ the language command, not after (fixes bug
1486 1225); also make sure that the language reset command is the first
1487 thing after the paragraph (to ensure proper nesting of
1488 environments and thus fix bug 1404)
1490 2004-04-21 John Levon <levon@movementarian.org>
1493 * ToolbarBackend.C: make "name" be a programmatic name
1494 and a gui_name field.
1496 * lyxfunc.C: display the minibuffer on M-x
1498 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1503 2004-04-19 Angus Leeming <leeming@lyx.org>
1505 * BufferView_pimpl.C (setBuffer): changed preview interface.
1507 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1510 2004-04-19 John Levon <levon@movementarian.org>
1512 * BufferView_pimpl.C:
1513 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1515 2004-04-05 Angus Leeming <leeming@lyx.org>
1517 * text.C (redoParagraphs): add call to updateCounters(), thereby
1518 fixing the missing "Figure #:" label from the caption of a
1521 2004-04-13 Angus Leeming <leeming@lyx.org>
1523 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1524 cursor is clicked out of an inset.
1526 2004-04-13 Angus Leeming <leeming@lyx.org>
1528 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1529 than an InsetOld one.
1531 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1533 * format.[Ch]: add editor to Format
1534 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1535 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1537 2004-04-08 André Pönitz <poenitz@gmx.net>
1539 * metricsinfo.h: remove PainterInfo::width member
1541 2004-04-08 Angus Leeming <leeming@lyx.org>
1543 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1544 "\providecommand" rather than "\newcommand", thereby preventing
1545 clashes with packages that define "\boldsymbol" themselves.
1548 2004-04-08 Angus Leeming <leeming@lyx.org>
1550 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1551 thereby squashing an unnecessary warning.
1553 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1555 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1558 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1560 * BufferView.C (setCursor): call redoParagraph (some insets could
1562 (putSelectionAt): remove the 'double update' trick
1564 * BufferView_pimpl.C (fitCursor): call refreshPar
1565 (workAreaDispatch): remove an uneeded update call
1566 (dispatch): remove some manual update calls
1568 * cursor.[Ch]: remove cached_y_, updatePos
1569 (selHandle): set noUpdate when appropriate
1571 * lyxfunc.C (dispatch): track if we need an update
1573 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1575 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1576 (paintSelection): cheap optimization, do not call cursorX when not
1578 (paintPars): change signature
1581 (paintTextInset): adjust
1585 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1587 * lengthcommon.C: compilation fix: remove explicit array size from
1588 unit_name[] and friends
1590 2004-04-05 Angus Leeming <leeming@lyx.org>
1592 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1594 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1595 present only for the preferences dialog.
1596 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1598 2004-04-05 Angus Leeming <leeming@lyx.org>
1600 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1601 to enable the frontends to export changes to lyxrc correctly.
1603 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1605 2004-04-07 André Pönitz <poenitz@gmx.net>
1607 * cursor.[Ch] (selClear, adjust): remove math
1609 * cursor_slice.C: more agressive assert
1612 * BufferView_pimpl.C: rework mouse event dispatch
1619 2004-04-05 André Pönitz <poenitz@gmx.net>
1621 * cursor.[Ch] (valign, halign...): remove unneeded functions
1623 2004-04-05 Angus Leeming <leeming@lyx.org>
1625 * lyxlength.[Ch] (unit_name et al.): const-correct.
1627 2004-04-05 Angus Leeming <leeming@lyx.org>
1629 * BufferView_pimpl.C:
1638 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1640 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1642 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1644 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1646 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1647 * BufferView_pimpl.[Ch] (getStatus)
1648 * BufferView.[Ch] (getStatus): add
1649 * lyxfunc.C (getStatus): move lfuns handled in
1650 BufferView::dispatch to te function above
1651 * Cursor.C (setSelection): set selection() = true
1653 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1655 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1657 2004-03-31 Angus Leeming <leeming@lyx.org>
1659 * lyxfunc.C (dispatch): Fall through to the generic
1660 Dialogs::show("preamble").
1662 2004-03-31 Angus Leeming <leeming@lyx.org>
1664 * lyxfunc.C (dispatch): Fall through to the generic
1665 Dialogs::show("spellchecker").
1667 2004-03-31 Angus Leeming <leeming@lyx.org>
1669 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1672 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1677 * insetiterator.[Ch]:
1682 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1684 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1686 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1687 insets where we are putting the cursor.
1689 2004-03-31 Angus Leeming <leeming@lyx.org>
1692 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1694 * lyxrc.[Ch] (read, write): overloaded member functions taking
1695 a std::[io]stream arguments.
1697 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1699 2004-03-31 Angus Leeming <leeming@lyx.org>
1701 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1702 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1704 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1705 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1707 2004-03-31 Angus Leeming <leeming@lyx.org>
1709 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1710 the LFUN_ALL_INSETS_TOGGLE code.
1712 2004-03-30 Angus Leeming <leeming@lyx.org>
1714 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1715 has died. Fall through to the generic Dialogs::show("document").
1717 2004-03-30 Angus Leeming <leeming@lyx.org>
1720 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1721 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1723 * lyxfunc.C (getStatus, dispatch): define the actions for these
1724 lfuns. Little more than a cut and pste job from ControlDocument.C
1726 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1728 2004-03-30 Angus Leeming <leeming@lyx.org>
1731 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1732 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1734 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1735 open/closed state of ollapsable insets. Usage:
1737 all-inset-toggle <state> <name>, where
1738 <state> == "open" || "closed" || "toggle" and
1739 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1741 * lyxtext.h, text2.C (toggleInset): removed.
1743 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1744 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1745 now passes LFUN_INSET_TOGGLE to the found inset.
1747 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1748 is now invoked as "all-insets-toggle toggle branch".
1750 2004-03-30 Angus Leeming <leeming@lyx.org>
1754 * pariterator.[Ch]: added/corrected header blurb.
1756 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1758 * dociterator.[Ch]: add an inset_ member
1759 (backwardPos): implemented
1760 (backwardPos, forwardPos): use inset_ when the stack is empty.
1761 (doc_iterator_begin, doc_iterator_end): implemented
1762 * pariterator.[Ch]: adjust, add begin, end
1763 * insetiterator.[Ch]: adjust, add begin, end
1767 * BufferView_pimpl.C:
1768 * CutAndPaste.C: adjust
1770 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1772 * buffer.C: increment file format to 232.
1773 * LaTeXFeatures.C: add bibtopic package.
1774 * bufferparams.[Ch]: param \use_bibtopic.
1776 * lyxrc.[Ch]: add lyxrc bibtex_command
1777 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1779 * buffer.C: increment file format to 231.
1781 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1783 * dociterator.C: implement forwardPar
1784 * iterators.[Ch]: remove, replaced by
1785 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1787 * BufferView_pimpl.C:
1790 * bufferview_funcs.C:
1796 * Makefile.am: adjust
1798 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1800 * CutAndPaste.C (pasteSelection): fix 2 crashes
1801 (eraseSelection): fix a crash
1802 * paragraph_funcs.C: remove a warning
1804 2004-03-28 Angus Leeming <leeming@lyx.org>
1807 * LyXAction.C (init): new LFUN_PRINT.
1809 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1811 2004-03-27 Angus Leeming <leeming@lyx.org>
1814 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1816 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1818 2004-03-27 Angus Leeming <leeming@lyx.org>
1820 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1821 insetlist always contains non-null pointers to insets.
1823 2004-03-26 Angus Leeming <leeming@lyx.org>
1825 * src/BufferView_pimpl.C:
1826 * src/CutAndPaste.C:
1829 * src/output_plaintext.C:
1830 * src/outputparams.h:
1831 * src/paragraph_funcs.C:
1835 * src/frontends/controllers/ControlErrorList.C:
1836 * src/frontends/gtk/FileDialogPrivate.C:
1837 * src/frontends/gtk/GPainter.C:
1838 * src/frontends/gtk/GToolbar.C:
1839 * src/frontends/qt2/QRef.C:
1840 * src/mathed/math_scriptinset.C: squash compiler warnings.
1842 2004-03-26 Angus Leeming <leeming@lyx.org>
1844 * ispell.C (LaunchIspell::start):
1845 * lyx_cb.C (AutoSaveBuffer::start):
1846 invoke run(DontWait) rather than runNonBlocking().
1848 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1850 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1852 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1854 * kbsequence.C (print): adjust
1856 * kbmap.C (printKeySym): rename and change signature
1857 (printKey): use LyXKeySym::print()
1859 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1861 * undo.C: add using std::advance to compile for stlport
1863 2004-03-24 Angus Leeming <leeming@lyx.org>
1865 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1866 it leads to a crash when no buffer is present.
1868 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 Martin Vermeer <martin.vermeer@hut.fi>
1871 * lyxfunc.C (dispatch):
1872 * bufferparams.C (readToken): use the new LColor::setColor
1874 * LColor.[Ch] (setColor): new version that takes two strings as
1875 argument and creates a new color entry if necessary
1877 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1879 * buffer.C (makeLaTeXFile): if the main latex file that is
1880 processed is usually a subdocument of some master, then pretend
1881 for a while that it is actually the master
1883 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1885 * buffer.C (getLabelList):
1886 (getBibkeyList): use getMasterBuffer()
1887 (getMasterBuffer): new method. Returns the main document in the
1888 case where one is using included documents.
1890 2004-03-25 André Pönitz <poenitz@gmx.net>
1894 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1896 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1898 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1899 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1901 * ParameterStruct.h: merge with ParagraphParameters
1903 * lyxtext.h: remove LyXText::parOffset() and getPar()
1905 * text3.C: Remove all 'manual' update calls. We do now one per user
1906 interaction which is completely sufficient.
1910 * BufferView_pimpl.C:
1911 * FontIterator.[Ch]:
1913 * ParagraphParameters.[Ch]:
1918 * cursor_slice.[Ch]:
1925 * output_docbook.[Ch]:
1926 * output_latex.[Ch]:
1927 * output_linuxdoc.[Ch]:
1928 * output_plaintext.[Ch]:
1930 * paragraph_funcs.[Ch]:
1931 * paragraph_pimpl.[Ch]:
1939 * frontends/controllers/ControlDocument.C:
1940 * frontends/controllers/ControlErrorList.C:
1941 * frontends/controllers/ControlSpellchecker.C:
1944 * insets/insetbase.h:
1945 * insets/insetbibitem.C:
1946 * insets/insetbox.C:
1947 * insets/insetbranch.C:
1948 * insets/insetcaption.C:
1949 * insets/insetcharstyle.C:
1950 * insets/insetcharstyle.h:
1951 * insets/insetcollapsable.C:
1952 * insets/insetcollapsable.h:
1953 * insets/insetert.C:
1954 * insets/insetfloat.C:
1955 * insets/insetfoot.C:
1956 * insets/insetmarginal.C:
1957 * insets/insetnote.C:
1958 * insets/insetoptarg.C:
1959 * insets/insettabular.C:
1960 * insets/insettext.C:
1961 * insets/insettext.h:
1962 * insets/insetwrap.C:
1963 * mathed/math_mboxinset.C:
1964 * mathed/math_nestinset.C:
1965 * mathed/math_scriptinset.C:
1966 * mathed/math_scriptinset.h:
1969 2004-03-24 Angus Leeming <leeming@lyx.org>
1971 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1972 deal with any child processes that have finished but are waiting to
1973 communicate this fact to the rest of LyX.
1975 2004-03-24 Angus Leeming <leeming@lyx.org>
1977 64-bit compile fixes.
1979 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1980 (c-tor): pass lyx::pos_types rather than ints.
1982 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1985 * text.C (Delete): compile fix.
1986 (getPar): ensure that function declaration is the same as that in
1989 2004-03-23 Angus Leeming <leeming@lyx.org>
1991 * ispell.C (LaunchIspell):
1992 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1993 a boost::shred_ptr rather than a std::auto_ptr.
1995 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1997 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1998 handle LFUN_FILE_INSERT_*
2000 * lyxrc.C (setDefaults, getDescription, output, read):
2001 * lyxrc.h: remove ps_command
2003 2004-03-22 Angus Leeming <leeming@lyx.org>
2005 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2006 Ensure that error_handler is processed once only and that all data
2007 is saved before attempting to output any warning messages.
2009 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2011 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2013 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2015 2004-03-19 André Pönitz <poenitz@gmx.net>
2017 * cursor.[Ch] (reset): take main text inset as argument
2019 * BufferView: adjust
2020 * BufferView_pimpl.C: adjust
2022 * paragraph.[Ch]: fix completely broken operator=()
2024 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2026 * LColor.C (getFromLyXName): make sure that the color name is used
2029 2004-03-17 Angus Leeming <leeming@lyx.org>
2032 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2034 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2035 dialog and to kill a forked process.
2037 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2039 * text2.C (setCursorFromCoordinates): fix font problem
2041 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2043 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2044 bogus "rebuild cursor" code
2046 2004-03-11 André Pönitz <poenitz@gmx.net>
2048 * buffer.[Ch]: use InsetText instead of LyXText as container for
2051 * dociterator.[Ch]: drop the BufferView * member which is not needed
2052 anymore after the change to buffer.C
2054 * paragraph_funcs.C:
2058 * BufferView_pimpl.[Ch]:
2060 * cursor_slice.[Ch]: adjust
2062 * text3.C: fix bug in mathDispatch
2064 2004-03-08 André Pönitz <poenitz@gmx.net>
2066 * undo.[Ch]: use 'StableDocumentIterator' as base for
2069 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2072 * bufferparams.[Ch]: add jurabib support and param.
2074 * LaTeX.C: add FIXME/comment.
2076 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2078 * buffer.C: increment file format to 230.
2080 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2082 * cursor.C (dispatch): avoid infinite loops
2084 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2086 * rowpainter.C (paintSelection): fix x coordinates
2088 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2090 * text.C (rowBreakPoint): fix breaking before displayed insets
2092 2004-03-01 André Pönitz <poenitz@gmx.net>
2094 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2096 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2100 * BufferView_pimpl.C:
2108 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2114 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2115 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2117 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2119 * Bidi.[Ch] (computeTables): const correctness
2120 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2121 fill_hfill, fill_label_hfill and x from Row
2122 * lyxtext.h: prepareToPrint returns a RowMetrics
2123 * rowPainter.C: adjust
2124 * text.C (prepareToPrint): use width, not textWidth. adjust
2125 (redoParagraphInternal, cursorX): adjust
2126 * text2.C (getColumnNearX): adjust
2127 (init): put a default value to the top LyXText::width
2129 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2131 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2133 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2135 * lyxtext.h: add FontIterator class
2137 * text.C (FontIterator, operator*, operator->, operator++): add
2138 (rowBreakPoint, setRowWidth): adjust (fixing a
2141 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2143 * BufferView_pimpl.C (workAreaDispatch): allow also
2144 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2146 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2148 * text.C (rowBreakPoint): fix a bug showing with very large insets
2150 2004-02-25 André Pönitz <poenitz@gmx.net>
2153 * cursor.[Ch]: move some mathed specific code to mathed
2155 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2157 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2158 use_tempdir in preferences
2159 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2161 * lyx_main.C: ensure that tempdir is valid
2162 * lyxlex.h: correct typo
2163 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2164 * paragraph.[Ch] (isMultiLingual): make const
2165 * cursor.[Ch] (openable): make const
2167 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2169 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2171 2004-02-20 André Pönitz <poenitz@gmx.net>
2173 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2175 * cursor.[Ch]: prepare for localized getStatus()
2181 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2183 2004-02-20 André Pönitz <poenitz@gmx.net>
2185 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2187 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2189 * text2.C (setCursorFromCoordinates): switch to absolute coords
2191 (cursorDown): adjust
2192 * text3.C (dispatch): adjust
2194 2004-02-16 André Pönitz <poenitz@gmx.net>
2196 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2199 * cursor_slice.[Ch]: remove unneeded acessor function
2201 * lyxtext.h: rename rtl() to isRTL()
2209 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2211 * rowpainter.C (paintSelection): coord fix
2213 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2215 * Spacing.C: compile fix
2217 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2219 * cursor.C (dispatch): restore current_ before returning
2221 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2223 * text2.C (cursorUp, cursorDown): fix coords
2226 2004-02-12 André Pönitz <poenitz@gmx.net>
2231 * text3.C: add LCursor & parameter to most cursor movement functions
2232 remove usage of LyXText::cursorRow() and cursorPar()
2234 * cursor.[Ch]: add textRow() needed members
2237 * BufferView_pimpl.C:
2240 * BufferView_pimpl.C: adjust
2242 2004-02-11 André Pönitz <poenitz@gmx.net>
2246 * BufferView_pimpl.C: shift undo/redo handling
2248 * cursor.[Ch]: fix mathed crash
2251 * lyxtext.h: move selectionAsText to LCursor
2259 * rowpainter.C: fix excessive drawing
2261 2004-02-06 André Pönitz <poenitz@gmx.net>
2264 * BufferView_pimpl.[Ch]:
2265 * text3.C: move some text specific LFUN handling
2267 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2269 * text3.C (checkInsetHit): adjust coords
2270 * text2.C (getColumnNearX): adjust coords
2271 (edit): adjust coords
2272 * text.C (getRowNearY): add two asserts
2274 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2277 * format.C: add using std::distance to compile on gcc 2.95/stlport
2279 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2281 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2283 2004-02-04 André Pönitz <poenitz@gmx.net>
2285 * BufferView.[Ch] (insertInset):
2286 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2291 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2293 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2294 on the default clause of the switch
2295 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2296 wasn't catched by LCursor::dispatch
2298 2004-02-03 André Pönitz <poenitz@gmx.net>
2301 * cursor.[Ch]: some additional asserts
2303 * undo.[Ch]: remove LyXText dependency in interface
2307 * lyxtext.h (firstPar, lastPar): remove dead functions
2312 * paragraph.[Ch]: adjust
2314 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2316 * lyxfind.C (find): fix argument order in call to ::find
2318 2004-02-02 André Pönitz <poenitz@gmx.net>
2320 * cursor.[Ch]: remove direct access to anchor
2322 * text.C: remove findText() hack
2324 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2326 * iterators.[Ch] (lockPath): remove in favour of...
2327 * BufferView.[Ch] (setCursor): this addition
2328 * BufferView.C (putSelectionAt): adjust
2329 * undo.C (performUndoOrRedo): adjust
2330 * lyxfunc.C (dispatch): adjust
2332 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2334 * iterators.C (lockPath): add a missing slice
2335 * undo.C (performUndoOrRedo): remove redundant positioning code
2337 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2339 * vc-backend.C (scanMaster): ";" -> ';'
2341 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2343 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2344 std::binary_function
2346 * lyxtextclass.C (compare_name): rename to...
2347 (LayoutNamesEqual): ...this
2349 * lyxlex_pimpl.C (compare_tags): inherit from
2350 std::binary_function, put back into anon namespace
2352 * lyxfind.C (MatchString): inherig from std::binary_function
2353 (findChange): use empty() istead of !size()
2355 * format.C (FormatNamesEqual): new functor
2362 * converter.C (compare_Converter): rename to...
2363 (ConverterEqual): ...this, and fixup a bit.
2364 (getConverter): use it, and make function const
2365 (getNumber): use it, and make function const
2369 * bufferlist.C: add using boost::bind
2371 * MenuBackend.C (MenuNamesEqual): new functor
2372 (hasMenu): use it, and make function const
2373 (hasSubmenu): use nested bind to get rid of compare_memfun.
2375 2004-01-30 André Pönitz <poenitz@gmx.net>
2377 * BufferView_pimpl.C:
2380 * cursor_slice.[Ch]:
2383 * paragraph_funcs.C:
2384 * paragraph_funcs.h:
2388 * text3.C: move some of the edit(x,y) handling to the insets
2389 some coordinate changes.
2391 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2393 * text.C: add using statements for std::advance and std::distance
2395 * paragraph.C: add using statement for std::distance
2397 * lyxfind.C: add using statement for std::advance
2399 * cursor.C (region): remove std:: from swap
2400 (openable): use nucleus in stead of operator->
2402 * BufferView.C: add using statements for std::distance and std::swap
2404 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2406 * iterators.C: Remove the pimple, move the needed structures to
2407 the header file. Create accessor for the positions stack.
2408 (asPosIterator): remove function
2410 * PosIterator.C (PosIterator): move constructors to top of file
2411 (PosIterator): reimplement the constructor taking a ParIterator in
2413 (setFrom): new function
2414 (operator!=): inline it
2416 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2418 * lyxfind.C (replaceAll): use std::advance
2420 * iterators.h: inherit from std::iterator.
2422 * PosIterator.C (advance, distance): remove
2423 * PosIterator.h: interit from std::iterator.
2425 2004-01-26 André Pönitz <poenitz@gmx.net>
2428 * BufferView_pimpl.[Ch]:
2432 * bufferview_funcs.C:
2442 * output_linuxdoc.C:
2443 * output_plaintext.C:
2445 * paragraph_funcs.[Ch]:
2446 * paragraph_pimpl.[Ch]:
2452 * text3.C: more IU: dumps most of the rest of the mathcursor
2453 implementation into cursor.[Ch]; "globalize" a bit of it.
2455 2004-01-25 Angus Leeming <leeming@lyx.org>
2457 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2459 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2461 * LaTeXFeatures.h: add nice_ and nice() const
2462 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2464 2004-01-20 André Pönitz <poenitz@gmx.net>
2467 * BufferView_pimpl.C:
2469 * bufferview_funcs.C:
2471 * cursor_slice.[Ch]:
2482 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2483 LCursor and mathcursor parts to LCursor and InsetBase.
2485 2004-01-15 André Pönitz <poenitz@gmx.net>
2487 * cursor_slice.[Ch]: add a few covienience functions
2489 * funcrequest.[Ch]: remove BufferView * member
2491 * BufferView_pimpl.C:
2498 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2500 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2502 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2503 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2505 2004-01-13 André Pönitz <poenitz@gmx.net>
2508 * lyxtext.h: hide cursor and selection anchor behind accessor function
2511 * BufferView_pimpl.[Ch]:
2513 * bufferview_funcs.C:
2523 * cursor_slice.[Ch]: some integer type changes for inset unification
2525 * lyxcursor.[hC]: remove, it's CursorSlice now.
2528 * BufferView_pimpl.[Ch]:
2529 * bufferview_funcs.C:
2535 * textcursor.[Ch]: adjust
2537 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2539 * text2.C (undoSpan): add and use
2540 * text.C (breakParagraph): use undoSpan (fix bug 578)
2543 2004-01-08 Angus Leeming <leeming@lyx.org>
2545 * BufferView_pimpl.C (MenuInsertLyXFile):
2546 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2547 * lyxfunc.C (menuNew, open, doImport):
2548 FileFilterList change to the FileDialog open and save functions.
2550 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2552 * ShareContainer.h: make isEqual and isUnique adaptable
2554 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2556 2004-01-07 Angus Leeming <leeming@lyx.org>
2559 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2561 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2563 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2564 functions replacing find, replace and replaceAll.
2566 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2567 LFUN_WORDFIND(FORWARD|BACKWARD).
2569 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2571 * text.C (breakParagraph): remove an outdated #warning
2573 2004-01-07 André Pönitz <poenitz@gmx.net>
2575 * lyxfind.C: somewhat clearer logic
2577 * text.C: prevent crash in cursorX on unitialized row cache
2579 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2581 * lyxcursor.[Ch] (operator>): add
2582 * textcursor.C (selStart, selEnd): use std::min and std::max
2584 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2586 * Chktex.C: include boost/format.hpp
2588 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2590 * InsetList.C: replace functor MathcIt with adaptable functor
2592 (insetIterator): modify accordingly
2594 * BranchList.h: move the BranchNamesEqual functor here from...
2595 * BranchList.C: ... to here
2597 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2599 (add): replace a finding loop with std::find_if.
2601 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2603 * output_docbook.C: moving LatexParam functionality into
2606 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2608 * buffer.C: increment format to 229.
2610 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2613 * lyx_sty.[Ch]: remove minipageindent_def
2619 * text3.C: remove LFUN_INSET_MINIPAGE
2621 2003-12-28 Angus Leeming <leeming@lyx.org>
2623 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2625 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2627 * text2.C (setParagraph): fix off-by-one crash
2629 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2631 * output_docbook.C: header stuff for AGU
2633 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2635 * text2.C (redoCursor): remove
2638 * BufferView_pimpl.C: remove calls to redoCursor and
2639 setCursor(cursor.par(), cursor.pos()) all around
2641 2003-12-15 Angus Leeming <leeming@lyx.org>
2643 * buffer.C: up the format to 228.
2645 2003-12-15 André Pönitz <poenitz@gmx.net>
2647 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2652 * BufferView_pimpl.C:
2661 2003-12-15 Angus Leeming <leeming@lyx.org>
2663 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2664 than getFromGUIName to manipulate the color.
2666 2003-12-14 Angus Leeming <leeming@lyx.org>
2668 * BranchList.[Ch]: minimize the API.
2669 (Branch::getBranch, getColor): now return a 'const &'.
2670 (Branch::setSelected) now returns a bool set to true if the
2671 selection status changes.
2672 (BranchList::clear, size, getColor, setColor, setSelected,
2673 allBranches, allSelected, separator): removed.
2674 (BranchList::find): new functions, returning the Branch with
2676 (BranchList::add, remove): return a bool indicating that
2677 the operation was successful.
2679 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2680 new InsetBranch::isBranchSlected member function.
2682 * LColor.[Ch]: mimimize the API.
2683 (fill): renamed as addColor and made private.
2684 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2685 versions of these functions taking a string arg have been removed.
2687 * bufferparams.C (readToken):
2688 * lyxfunc.C (dispatch):
2689 * lyxrc.C (read): changes due to the altered BranchList and
2692 * factory.C (createInset, readInset): changes due to altered
2695 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2698 * lyxfunc.C: remove insetminipage. "minipage-insert"
2699 now produces a frameless minipage box inset.
2701 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2703 * textcursor.[Ch] (selStart,selEnd): add new methods
2704 remove selection::start, end, use LyXCursor::operator<
2705 * lyxcursor.[Ch] (operator<): add
2706 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2707 * BufferView.[Ch] (unsetXSel): add
2708 * text2.C (clearSelection): use unsetXSel,adjust
2711 * rowpainter.C: adjust
2712 * bufferview_funcs.C (put_selection_at): adjust
2714 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2716 * BufferView_pimpl.C: small coord. correction
2718 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2720 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2721 dragging over the splash screen.
2723 2003-12-11 Angus Leeming <leeming@lyx.org>
2725 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2726 as it is now handled in LyXText::dispatch.
2728 * text3.C (doInsertInset): remove a level of nesting.
2730 2003-12-11 Angus Leeming <leeming@lyx.org>
2732 * factory.C (createInset): changes due to the changed interface to
2733 InsetCommandMailer::string2params.
2735 2003-12-10 Angus Leeming <leeming@lyx.org>
2737 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2738 'dialog-show-new-inset <inset name>'
2740 2003-12-10 Angus Leeming <leeming@lyx.org>
2742 * buffer.C: up the format to 227.
2744 * factory.C: the box inset is now identified simply by 'Box'.
2746 2003-12-10 Angus Leeming <leeming@lyx.org>
2748 * buffer.C: up the format to 226.
2750 * factory.C: the note inset is now identified simply by 'Note'.
2752 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2754 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2755 when a pit is enough. Standarize a couple of loops.
2757 2003-12-05 Angus Leeming <leeming@lyx.org>
2759 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2760 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2761 data to the re-worked "log" dialog.
2763 2003-12-03 André Pönitz <poenitz@gmx.net>
2769 * paragraph_funcs.C:
2771 * text2.C: use Inset::getText instead of Inset::getParagraph
2773 2003-12-03 André Pönitz <poenitz@gmx.net>
2777 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2778 InsetText::read() as LyXText::read()
2780 2003-12-02 Angus Leeming <leeming@lyx.org>
2782 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2783 type. Add a comment in the implementation that the function uses
2784 the stream's bad() function rather than fail() as the std::streams
2787 2003-12-02 André Pönitz <poenitz@gmx.net>
2789 * lyxlex.[Ch]: make interface more similar to std::stream
2791 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2793 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2795 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2797 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2799 * vspace.[Ch]: remove VSpace::NONE
2801 2003-12-01 André Pönitz <poenitz@gmx.net>
2804 * lyxtext.h: move ParagraphList member to LyXText
2805 rename LyXText::ownerParagraphs to LyXText::paragraph
2808 * bufferview_funcs.C:
2818 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2820 * undo.C: fix cursor positioning
2822 2003-12-01 John Levon <levon@movementarian.org>
2824 * BufferView_pimpl.C: fix a crash on exit with
2827 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2829 * BranchList.C: fix setSelected() method.
2831 2003-11-28 André Pönitz <poenitz@gmx.net>
2833 * ParagraphParameters.[Ch]:
2834 * ParameterStruct.h: remove space above/below from Paragraph to
2837 * BufferView_pimpl.C:
2843 * paragraph_funcs.C:
2849 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2851 * factory.C: Syntax change for CharStyles
2853 2003-11-28 André Pönitz <poenitz@gmx.net>
2858 * buffer.[Ch]: move LyXText member
2860 2003-11-28 André Pönitz <poenitz@gmx.net>
2862 * BufferView.[Ch]: make LyXText * text a private member
2864 * BufferView_pimpl.C:
2875 * output_plaintext.C: cleanup
2877 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2880 * lyxtextclass.[Ch]: parametrize SGML document header
2882 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2885 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2888 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2890 * text2.C (setFont): rework using PosIterator (no more recursive)
2891 (setCharFont): no more needed
2892 (setLayout): no more selection cursors fiddling (done by redoCursor)
2893 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2894 destroy remaining ones)
2896 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2898 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2900 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2903 * text3.C: adjust + re-allow multi par depth changes
2904 * textcursor.C: simplify a bit
2906 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2912 * src/output_docbook.C:
2913 * src/output_latex.C:
2918 * src/text2.C: Introducing a number of tags parametrizing various
2919 XML formats that we may want to support
2921 2003-11-25 André Pönitz <poenitz@gmx.net>
2923 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2925 * lyxtext.h (leftMargin/rightMargin): simplify interface
2932 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2934 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2935 master file to any child files. Fixes bug 546.
2937 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2939 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2941 2003-11-24 André Pönitz <poenitz@gmx.net>
2943 * rowpainter.C: simplification
2945 * text2.C (updateCounters): remove call to redoParagraph on
2946 changed labels as this is far too expensive.
2948 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2950 * converter.C (convert): fix a crash: this function gets
2951 called with buffer == 0 from importer code.
2953 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2955 * text3.C (cursorPrevious): make sure that we do not compare
2956 iterators form different containers.
2959 * rowpainter.C (paintSelection): make sure that we do not compare
2960 iterators from different containers.
2962 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2963 iterators from different ParagraphList containers.
2966 * text2.C (LyXText): change order of initialization slightly
2967 (operator=): new function. copy all variables except cache_par_
2968 (moveUp): make sure that we do not compare iterators from
2969 different ParagraphList constainers.
2972 * text.C (firstPar): new function
2973 (lastPar): new function
2974 (endPar): new function
2976 * lyxtext.h: move things around and group public functions, public
2977 variables, private functions, private variables
2979 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2981 * factory.C: change call to InsetERT constructor to avoid
2982 additional invocation of method status
2983 * text2.C (toggleInset): remove redundant update() call
2984 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2985 instead of a Bufferview pointer
2987 2003-11-21 André Pönitz <poenitz@gmx.net>
2989 * rowpainter.C: simplification
2991 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2993 * text3.C (dispatch): make possible to extend a word/row selection
2996 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2998 * lyxtext.h: x0_,y0_ -> xo_,yo_
2999 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3000 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3001 * rowpainter.C (paintRows): paint full paragraphs
3003 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3005 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3008 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3010 * lyxtext.h: add x0_, y0_
3011 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3012 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3014 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3016 * text2.C (setCursorIntern): move the x_target update here *
3017 * text3.C: change some bv() to true/false in calls to
3018 cursorUp/Down/Right/Left
3019 * cursor.C: use helper function.
3021 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3023 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3024 * paragraph_funcs.[Ch]: correct comment
3025 * rowpainter.C: do not paint selections away from bv->cursor()
3026 Fix a long standing selection painting bug.
3027 * text3.C: generalize mouse-selection code to LyXTexts other that
3029 * textcursor.C: do not use y coords if we can use par offsets
3031 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3033 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3034 cursor position after e.g. inset insert)
3036 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3038 * lyxfind.C (replace): adjust to locking removal + some
3041 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3043 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3046 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3049 * output_docbook.C: XML sanitation: new layout
3050 parameters InnerTag and CommandDepth
3052 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3054 * BufferView_pimpl.C:
3056 * text3.C: Fix the insertion and modification of button-style
3059 2003-11-13 André Pönitz <poenitz@gmx.net>
3061 * InsetList.[Ch]: remove deleteLyXText
3063 * paragraph.[Ch]: cache beginOfBody position
3068 * text3.C: remove superfluous update() calls
3072 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3074 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3075 * BufferView.C (fitLockedInsetCursor): remove
3076 * cursor.[Ch] (getDim): add
3077 * text.C (getRowNearY): add faster version
3078 * text3.C: remove some update calls
3080 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3092 * text3.C: The Character Style /XML short element patch.
3094 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3097 * factory.C: Small step to solving 'unable to insert some insets'
3100 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3102 * cursor.[Ch] (updatePos): new function for updating the y
3103 position of the tip inset
3104 * bufferview_funcs.C (put_selection_at):
3105 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3107 2003-11-11 André Pönitz <poenitz@gmx.net>
3109 * text.C: remove big comment on invalid Paragraph pointers as it is
3112 2003-11-11 André Pönitz <poenitz@gmx.net>
3114 * text_funcs.[Ch]: merge with ...
3122 * Makefile.am: remove text_funcs.[Ch]
3124 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3126 * cursor.C (getPos): return absolute cached y coord
3128 * BufferView_pimpl.C (fitCursor): new simplistic code
3129 (workAreaDispatch): add a fitCursor call
3131 2003-11-10 André Pönitz <poenitz@gmx.net>
3134 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3136 2003-11-10 André Pönitz <poenitz@gmx.net>
3138 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3139 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3140 indicate that the cursor needs to leave an inset
3142 * lyxtext.h: remove inset locking
3144 * cursor.[Ch]: re-implement functionality provided by inset locking
3147 * BufferView_pimpl.[Ch]:
3149 * bufferview_funcs.[Ch]:
3161 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3163 * PosIterator.[Ch]: replace the stack with a vector, add inset
3165 * iterators.[C]: adjust
3167 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3169 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3171 * paragraph_funcs.C (readParToken): put the correct id in the
3172 error item, not the id of the top paragraph
3174 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3176 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3177 * bufferview_funcs.C (put_selection_at): use the above
3179 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3181 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3183 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3185 * output_linuxdoc.h:
3186 * output_plaintext.h:
3188 * output_docbook.h: add #include statements
3190 2003-11-05 José Matos <jamatos@lyx.org>
3192 * output_docbook.[Ch]:
3193 * output_latex.[Ch]:
3194 * output_linuxdoc.[Ch]:
3195 * output_plaintext.[Ch]: New files for output formats.
3196 * output.[Ch]: New file for helper functions.
3199 * paragraph_funcs.[Ch]: output functions moved to new files.
3201 * outputparams.h: rename of latexrunparams.h
3209 * paragraph_funcs.[Ch]:
3210 * paragraph_pimpl.[Ch]:
3211 * tabular.[Ch]: rename ascii to plaintext
3212 and LatexRunParams to OutputParams.
3214 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3216 * iterators.[Ch] (text): require bv argument
3217 * undo.C (recordUndo):
3218 * lyxfunc.C (dispatch):
3219 * bufferview_funcs.C (put_selection_at): adjust
3221 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3223 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3225 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3227 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3230 2003-11-04 André Pönitz <poenitz@gmx.net>
3232 * cursor.[Ch]: restructure
3235 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3237 * iterators.[Ch] (asCursor): remove
3239 * lfuns.h: remove LFUN_INSET_EDIT
3245 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3247 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3249 * lyxfind.[Ch]: complete overhaul
3250 * BufferView_pimpl.C:
3252 * paragraph.[Ch] (insert): add
3254 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3258 * text.C: remove dead spellcheck code
3260 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * dispatchresult.h: add a val setter
3264 * cursor.C (dispatch): use a tempvar for data_[i]
3266 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3268 * PosIterator.[Ch]: compile fix
3270 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3272 * text.C (cursorPar): deactivate the cursor cache
3274 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3276 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3278 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * text3.C (dispatch): adjust for new DisptchResult semantics.
3282 * lyxfunc.C (dispatch): handle update when return from
3283 Cursor::dispatch, adjust for new DispatchResult semantics.
3285 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3286 DispatchResult(true) mean to not update. Add class functions for
3287 setting dispatched and update, as well as reading.
3289 * cursor.C (dispatch): don't handle update here
3291 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3294 * trans_mgr.C: adjust
3296 * paragraph_funcs.C (readParToken): exception safety
3298 * lyxvc.h: store the vcs pointer in a scoped_ptr
3301 * lyxsocket.C (serverCallback): exception safety
3303 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3305 * ispell.C (clone): make it return a auto_ptr
3307 * factory.C (createInset): exception safety
3308 (readInset): exception safety
3310 * bufferlist.C (newBuffer): exception safety
3312 * Thesaurus.C (Thesaurus): use initialization for aik_
3314 * MenuBackend.C (expandToc): exception safety.
3316 2003-11-03 André Pönitz <poenitz@gmx.net>
3320 * bufferview_funcs.C: remove getInsetFromId()
3323 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3329 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3331 * PosIterator.C (distance, advance): new
3332 * bufferview_funcs.[Ch] (put_selection_at): new
3333 * iterators.[Ch] (lockPath): new
3335 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3337 * iterators.[Ch] (asPosIterator): added
3338 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3339 * PosIterator.[Ch]: added
3341 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * cursor.C (dispatch):
3346 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3348 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3349 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3350 contructor, add a class function dispatched. Remove operator>=
3352 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * debug.C: only use the default constructor for debugstream
3357 * main.C (main): include debug.h and setup the lyxerr streambuf
3360 2003-10-31 José Matos <jamatos@lyx.org>
3362 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3364 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3365 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3366 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3367 * paragraph_pimpl.C (simpleTeXSpecialC):
3368 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3369 add LatexRunParams argument.
3371 * exporter.C (Export): change call accordingly.
3373 * latexrunparams.h: add new member to take care of the other backends.
3374 2003-10-30 José Matos <jamatos@lyx.org>
3376 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3377 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3378 factorise code for paragraph output.
3380 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3383 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * text3.C (dispatch):
3386 * lyxfunc.C (dispatch):
3387 * cursor.C (dispatch):
3388 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3390 * dispatchresult.h: make the dispatch_result_t ctor explicit
3392 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3395 * buffer.C: small refactoring of docbook stuff
3397 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3402 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3404 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3405 operator dispatch_result_t, and operators for == != and >=
3407 * cursor.C (dispatch): adjust for operator dispatch_result_t
3408 removal. comment out call to update
3410 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3412 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3423 * dispatchresult.h: new file, DispatchResult broken out of
3426 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3428 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3430 * text.C (rowBreakPoint): put a hack inside #if 0
3432 2003-10-28 André Pönitz <poenitz@gmx.net>
3436 * paragraph_funcs.C:
3439 * text2.C: general cleanup (lots of small stuff)
3441 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3443 * text2.C (cursorEnd): simple fix to the "end key goes to one
3444 before the end on last row" bug
3446 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3448 * text.C (backspace): fix the "zombie characters"
3450 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3452 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3454 2003-10-27 André Pönitz <poenitz@gmx.net>
3456 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3458 * factory.C: handle new InsetPagebreak, InsetLine
3460 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3461 and move handling into new InsetPagebreak, InsetLine
3463 * BufferView_pimpl.C:
3465 * ParagraphParameters.C:
3466 * ParameterStruct.h:
3471 * paragraph_funcs.C:
3472 * paragraph_pimpl.C:
3478 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3481 * lyxrow_funcs.[Ch]:
3487 * text3.C: remove lastPos uses in favour of Row::endpos
3489 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3491 * undo.C (performUndoOrRedo): fix two crashes by setting a
3492 cursor by hand and reordering some calls. Use bv->lockInset instead
3493 of inset->edit because the latter loses cursor information
3495 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3497 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3499 (rowBreakPoint): fix width. change point to point + 1.
3500 Add a missing check.
3502 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3505 * lyxfunc.C: fix (at least partly) the problems
3506 with the Nav menu and headers inside branch insets
3509 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3511 * paragraph.C (getChar): add strong asserts
3513 * lyxrow_funcs.C (lastPos): remove hideous hack
3515 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3516 (fill): adjust to that (avoid an infinite loop)
3518 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3520 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3522 2003-10-23 André Pönitz <poenitz@gmx.net>
3524 * RowList_fwd.h: change list<> to vector<> to gain speed
3525 after suggestion from Alfredo
3527 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3529 * lyxtext.h: move the bidi stuff from here...
3532 * Bidi.[Ch]: ... to here
3534 2003-10-23 André Pönitz <poenitz@gmx.net>
3537 * text.C (isLastRow, isFirstRow): new functions
3539 * paragraph.h: new width cache member
3541 * rowpainter.C: replace RowList::iterator with Row & where possible
3543 * lyxfunc.C: replace several view()->text with a single call
3545 * toc.C: fix 'unused' warning
3547 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3550 when woring with stream::pos_type
3551 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3553 2003-10-22 André Pönitz <poenitz@gmx.net>
3556 * text.C: use Row & instead of RowList::iterator
3558 * lyxrow.h: rename end() to endpos()
3564 2003-10-22 Angus Leeming <leeming@lyx.org>
3566 * buffer.[Ch] (fully_loaded): new member function, returning true
3567 only when the file has been loaded fully.
3568 Used to prevent the premature generation of previews and by the
3569 citation inset to prevent computation of the natbib-style label.
3571 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3572 templates are all set up.
3574 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3576 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3578 * text.C: fixed an "oops" in the "is a bit silly"
3581 2003-10-21 André Pönitz <poenitz@gmx.net>
3583 * FuncStatus.[Ch]: small stuff, whitespace
3585 * lyxfont.[Ch]: operator<<() for debug reasons
3589 * lyxtext.h: whitespace, spelling
3591 * paragraph.C: naming of variables
3594 * text2.C: small stuff
3597 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3599 * text.C: (1) finish off the inset display() work;
3600 (2) fix the "is a bit silly" bug (accessing char
3603 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3605 * text.C: re-introduce display() for insets, fixing the
3606 various bugs (stretch of line above, math inset
3609 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3611 * text.C (rightMargin): remove spurious semicolon
3613 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3616 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3618 * text3.C: fix one crash due to wrong cursor def
3620 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * vc-backend.C (scanMaster): make the regex static
3624 * LaTeX.C (scanAuxFile): make the regexs static
3626 * text3.C (doInsertInset, dispatch, dispatch):
3627 * text2.C (cursorUp, cursorDown):
3628 * text.C (selectNextWordToSpellcheck):
3629 * BufferView_pimpl.C (dispatch):
3630 * lyxfunc.C (dispatch): localDispatch -> dispatch
3632 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3634 * lyxsocket.C: include <cerrno>
3636 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * lyxfunc.C (dispatch): remove textcache stuff
3640 * bufferlist.C (release): remove textcache stuff
3643 * TextCache.C: delete file
3644 * TextCache.h: delete file
3646 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3648 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3649 delete of the bv_->text.
3650 (resizeCurrentBuffer): remove texcache stuff
3651 (workAreaResize): ditto
3653 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3658 2003-10-16 André Pönitz <poenitz@gmx.net>
3665 * text3.C: speed up by storing y positions per paragraph plus per-row
3666 offset instead of having a 'full' y position in the row.
3668 2003-10-15 André Pönitz <poenitz@gmx.net>
3672 * undo.[Ch]: make undo aware of inner insets
3674 2003-10-14 Angus Leeming <leeming@lyx.org>
3676 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3677 static member functions LyX::ref() and LyX::cref.
3678 (lastfiles): new accessor functions for the new lastfiles_ member var.
3679 (addLyXView, views_): add a new LyXView to the list of views_.
3680 (updateInset): loop over all LyXViews to call their own updateInset
3681 member function, returning a pointer to the Buffer owning the inset.
3683 * BufferView_pimpl.C (loadLyXFile):
3684 * MenuBackend.C (expandLastfiles):
3685 * bufferlist.C (MenuWrite, QuitLyX):
3686 lastfiles is no longer a global variable.
3687 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3689 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3690 static function. Access through LyX::cref().emergencyCleanup().
3692 2003-10-14 André Pönitz <poenitz@gmx.net>
3694 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3696 * undo.[Ch]: restoring part of 'undo in insets'
3699 * undo_funcs.[Ch]: merge with undo.[Ch]
3701 * tabular.C: small cleansing stuff
3703 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3705 * paragraph_funcs.C (readParToken): report unknown insets as error
3706 boxes. Use the outer paragraph as location (also for unknown
3709 * factory.C (readInset): do not abort on reading an unknown inset.
3710 Eat it and return 0.
3712 2003-10-13 Angus Leeming <leeming@lyx.org>
3714 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3716 * lyxrc.C: displayTranslator is now a function,
3717 declared in GraphicsTypes.h.
3719 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3721 * format.C: new placeholder $$a to pass the socket address.
3723 * bufferlist.[Ch]: new function getBufferFromTmp.
3725 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3726 files in the temporary dir.
3728 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3730 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3732 * Makefile.am: add lyxsocket.[Ch].
3734 * lyx_main.C (error_handler): handle SIGPIPE.
3736 2003-10-13 André Pönitz <poenitz@gmx.net>
3738 * BufferView_pimpl.C:
3743 * undo_funcs.[Ch]: use paroffset_type instead of
3744 ParagraphList::iterators to prevent multiple conversion
3745 (and get a more robust interface)
3747 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3751 * text3.C (dispatch): ditto
3753 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3756 move the onlyfile, use onlyfile instead of foundfile in a couple
3759 * DepTable.C (update): flush the error stream a bit more
3761 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3763 * lyxserver.C (callback): adjust
3765 * lyxfunc.C (getStatus): add a missing brace in commented code
3766 (ensureBufferClean): reindent
3767 (dispatch): delete version taking a string
3769 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3771 * LaTeX.C (deplog): move found file handlig from here...
3772 (handleFoundFile): .. to new function here.
3773 (deplog): make sure to discover several files mentioned on the
3776 2003-10-10 André Pönitz <poenitz@gmx.net>
3783 * text3.C: fix some of the tabular crashes
3785 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3787 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3789 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3791 2003-10-09 André Pönitz <poenitz@gmx.net>
3793 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3796 * BufferView_pimpl.C:
3797 * bufferview_funcs.C:
3808 * undo_funcs.C: adjust
3810 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * text2.C (incrementItemDepth): new function, use a backtracking
3813 algorithm to discover the correct item depth.
3814 (resetEnumCounterIfNeeded): new function, use a backtracking
3815 algorithm to discover if counter reset is needed.
3816 (setCounter): use them. Simplify a bit. Add different labels for
3817 different item depths for itemize.
3819 * paragraph.C (Paragraph): remove initialization of enumdepth
3822 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3823 enumerate and itemize. Change the type of itemdepth to signed char.
3825 2003-10-08 André Pönitz <poenitz@gmx.net>
3827 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3832 * tabular.[Ch]: fix crash after 'row-insert'
3834 2003-10-08 Angus Leeming <leeming@lyx.org>
3836 Fix doxygen warnings.
3838 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3839 Remove CutAndPaste:: prefix from header file declaration.
3841 * LColor.h (fill): remove LColor:: prefix from declaration.
3843 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3844 use lyx::depth_type rather than Paragraph::depth_type so that
3845 header file and .C file match.
3847 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3849 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3850 * aspell.C: \file aspell_local.C -> \file aspell.C
3851 * gettext.C: \file gettext.C -> \file src/gettext.C
3852 * gettext.h: \file gettext.h -> \file src/gettext.h
3853 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3854 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3855 * text.C: \file text.C -> \file src/text.C
3857 * toc.C: move comment so that doxygen is not confused.
3859 2003-10-07 Angus Leeming <leeming@lyx.org>
3861 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3863 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3866 * aspell_local.h: add forgotten std::string's.
3868 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3875 * text3.C: The Box patch. Fancybox support, minipage, parbox
3877 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3883 * ParagraphParameters.h:
3893 * lyxtextclasslist.h:
3896 * paragraph_pimpl.C:
3897 * textcursor.h: add <string> and other small fixes to make Lars'
3898 std::string patch compile with STLport.
3900 2003-10-06 Angus Leeming <leeming@lyx.org>
3902 * LColor.h: Add missing #include <string>.
3904 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * All most all file in all subdirs: Make <string> be the prefered
3907 way of getting to std::string, add using declarations.
3909 2003-10-06 André Pönitz <poenitz@gmx.net>
3911 * metricsinfo.C: initialize LyXFont before changing attribute.
3912 (fixes the 'math in \emph is upright' bug)
3914 2003-10-06 André Pönitz <poenitz@gmx.net>
3916 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3918 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3921 * paragraph_pimpl.C: Small fixes to build using STLport
3923 2003-10-02 André Pönitz <poenitz@gmx.net>
3926 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3928 2003-10-01 André Pönitz <poenitz@gmx.net>
3930 * factory.C: assert early
3932 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3934 * lyx_main.C: remove the global debug object
3936 * debug.h: adjust for new debugstream
3938 * debug.C: adjust for new debugstream and keep the global debug
3941 2003-09-22 Angus Leeming <leeming@lyx.org>
3943 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3944 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3945 an incomplete class LyXFont.
3947 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3949 * factory.C: bug fix in branches
3951 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * lyxfunc.C (processKeySym): adjust
3955 (dispatch): change arg name from ev to func, adjust
3956 (sendDispatchMessage): ditto
3958 * lyx_main.C (defaultKeyBindings): adjust keybindings
3959 (deadKeyBindings): ditto
3961 * kbsequence.C (addkey): return a FuncRequest
3963 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3965 * kbmap.C (bind): take a FuncRequest as arg, adjust
3968 (defkey): change to take a FuncRequest as arg, adjust
3969 (findbinding): take a FuncRequest as arg, adjust.
3971 * funcrequest.h (operator=): added
3973 * funcrequest.C (FuncRequest): default kb_action changed from
3974 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3976 * buffer.C (dispatch): simplify
3977 (dispatch): adjust to take a FuncRequest as arg, adjust
3979 * boost.C (assertion_failed): change assertion message slightly
3981 * ToolbarBackend.C (read): simplify
3983 * MenuBackend.C (binding): adjust call to findbinding, add a
3984 message if no binding is found.
3986 (expandToc): correct by adding a empty FuncRequest
3988 * LyXAction.C: include <boost/assert.hpp>
3989 (isPseudoAction): delete function
3990 (LookupFunc): change name to...
3991 (lookupFunc): this. change return type to FuncRequest.
3992 (getActionName): take kb_action as arg, simplify
3993 (funcHasFlag): add an assert, simplify.
3995 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3997 * toc.C (action): return a FuncRequest, simplify
3999 * lyxfunc.C (processKeySym): adjust
4000 (getStatus): delete version that takes an int.
4002 (dispatch): delete version that takes action as int
4004 (sendDispatchMessage): simplify and adjust
4006 * funcrequest.C (getArg): take unsigned int as arg
4008 * ToolbarBackend.C (read): adjust
4009 (add): delete version that takes func as a string.
4010 (getIton): take a FuncRequest as arg
4012 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4015 * MenuBackend.C (MenuItem): add a new construct that only takes a
4016 Kind, simplify the constructor use for submenus.
4018 (expandLastfiles): adjust
4019 (expandDocuments): adjust
4020 (expandFormats): adjust
4021 (expandFloatListInsert): adjust
4022 (expandFloatInsert): adjust
4023 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4025 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4026 Remove class variables lyx_pseudo_map and lyx_arg_map
4028 * LyXAction.C (searchActionArg): delete function
4029 (getPseudoAction): delete function
4030 (retrieveActionArg): delete function
4031 (LookupFunc): make it return kb_action, simplify.
4032 (getActionName): simplify
4034 * factory.C (createInset): fix new bug
4036 2003-09-19 Angus Leeming <leeming@lyx.org>
4038 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4039 masterFilename_ parameter in the include inset.
4041 * factory.C (createInset): changes due to the changes to InsetInclude.
4043 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4045 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4047 2003-09-18 Angus Leeming <leeming@lyx.org>
4050 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4051 Inset::fillWithBibKeys.
4052 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4054 2003-09-18 Angus Leeming <leeming@lyx.org>
4056 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4058 (ctor): pass and store a 'Buffer const &'
4059 (buffer): new member function.
4061 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4062 '*this' to the LaTeXFeatures ctor.
4064 2003-09-18 Angus Leeming <leeming@lyx.org>
4070 * text.C: rename EnumLColor as LColor_color.
4072 2003-09-18 Angus Leeming <leeming@lyx.org>
4074 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4075 remove #include "insets/insetbase.h" from cursor.h.
4077 2003-09-18 Angus Leeming <leeming@lyx.org>
4079 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4080 InsetOld_code to remove #include "inset.h".
4082 * iterators.C: add #include "insets/inset.h"
4084 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4086 * BufferView.C: remove more locking stuff that apparently doesn't
4087 do anything sensible.
4089 2003-09-16 André Pönitz <poenitz@gmx.net>
4092 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4095 2003-09-16 Angus Leeming <leeming@lyx.org>
4097 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4099 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4102 * paragraph.h: remove #include "lyxfont.h". Forward declare
4105 2003-09-16 Angus Leeming <leeming@lyx.org>
4107 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4108 of support/textutils.h.
4109 (isWord): move the contents of support/textutils.h's IsWordChar here.
4115 * text2.C: add #include "paragraph.h".
4118 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4120 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * LaTeX.C: use namespace alias for lyx::support::os
4128 2003-09-16 Angus Leeming <leeming@lyx.org>
4131 * bufferview_funcs.C:
4134 * paragraph_pimpl.C:
4136 * text.C: add #include "LColor.h".
4138 2003-09-16 Angus Leeming <leeming@lyx.org>
4140 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4141 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4143 Store the FontBits::color variable as an int rather than as an
4144 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4147 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4148 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4149 string calls together.
4151 * lyxrc.C: add #include "LColor.h".
4153 2003-09-15 Angus Leeming <leeming@lyx.org>
4155 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4158 2003-09-15 Angus Leeming <leeming@lyx.org>
4160 * LColor.h: add an EnumLColor wrapper for LColor::color.
4162 * lyxfont.[Ch] (color, setColor, realColor):
4163 * lyxtext.h, text.C (backgroundColor):
4164 pass EnumLColor args to/from the functions, rather than LColor::color
4168 * lyxtext.h: forward declare EnumLColor.
4170 * lyx_main.C: add #include "LColor.h".
4172 2003-09-15 Angus Leeming <leeming@lyx.org>
4174 * .cvsignore: add lyx-gtk.
4176 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4181 * ParagraphParameters.C
4185 * bufferview_funcs.C
4195 * vc-backend.C: remove usage of STRCONV
4197 2003-09-15 Angus Leeming <leeming@lyx.org>
4199 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4200 explicitly define the color passed to the painter.
4202 2003-09-15 Angus Leeming <leeming@lyx.org>
4204 * bufferparams.C (BufferParams): reorder member initializers to avoid
4207 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4209 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4210 * text.C (updateRowPositions): remove an unusual nop
4212 2003-09-12 André Pönitz <poenitz@gmx.net>
4214 * BufferView_pimpl.C:
4223 * Counters.[Ch]: finish the 'automatic counters' job
4225 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4227 * aspell.C: include <boost/assert.cpp> (compile fix)
4229 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4231 * boost.C (assertion_failed): use lyx::support::abort instead of
4234 2003-09-10 Angus Leeming <leeming@lyx.org>
4236 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4237 with their _fwd progeny.
4239 2003-09-09 Angus Leeming <leeming@lyx.org>
4241 134 files throughtout the source tree: replace 'using namespace abc;'
4242 directives with the appropriate 'using abc::xyz;' declarations.
4244 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4246 * boost.C (emergencyCleanup): moved here from LAssert.c
4247 (assertion_failed): new function, called by BOOST_ASSERT
4249 * several files: change Assert to BOOST_ASSERT
4251 2003-09-09 Angus Leeming <leeming@lyx.org>
4253 * buffer.[Ch]: Add an Impl class and move Buffer's member
4254 variables into it. As a result move several header files out of
4257 Add header files to lots of .C files all over the tree as a result.
4259 2003-09-09 Angus Leeming <leeming@lyx.org>
4261 * buffer.[Ch]: make Buffer's member variables private. Add
4264 Lots of changes all over the tree as a result.
4266 2003-09-08 Angus Leeming <leeming@lyx.org>
4268 * graph.C: #include <config.h>.
4270 2003-09-08 Angus Leeming <leeming@lyx.org>
4274 * BufferView_pimpl.C:
4303 * toc.C: remove redundant using directives.
4305 2003-09-07 Angus Leeming <leeming@lyx.org>
4307 * LaTeXFeatures.h: remove #include "support/types.h".
4308 * ToolbarBackend.h: remove #include <algorithm>.
4309 * changes.h: remove #include <ctime>.
4310 * debug.h: remove #include <iosfwd>.
4311 * graph.h: remove #include "support/std_string.h".
4312 * lyx_main.h: remove #include <csignal>.
4313 * lyxlex_pimpl.h: remove #include <fstream>.
4314 * sgml.h: remove #include <algorithm>, <utility>.
4315 * toc.h: remove #include "support/std_ostream.h".
4316 Add #include <iosfwd>.
4318 2003-09-07 Angus Leeming <leeming@lyx.org>
4320 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4322 * converter.h: forward declare LatexRunParams.
4323 * encoding.h: remove #include "lyxrc.h".
4324 * lyxtext.h: remove #include "LColor.h".
4325 * lyxtextclass.h: remove #include "support/types.h".
4326 * trans.h: remove #include "tex-accent.h".
4327 * trans_mgr.h: remove #include "tex-accent.h".
4328 * insets/inset.h: remove #include "support/types.h", <vector>.
4329 * insets/insetcollapsable.h: remove #include "LColor.h".
4330 * insets/insetinclude.h: remove #include "dimension.h".
4331 * insets/insetlatexaccent.h: remove #include "dimension.h".
4332 * insets/insetoptarg.h:: remove #include "insettext.h".
4333 * insets/insettext.h: remove #include "dimension.h",
4334 <boost/shared_ptr.hpp>
4336 * insets/renderers.h: add #include "dimension.h".
4337 * insets/updatableinset.h: add #include "support/types.h".
4339 * many .C files: Associated changes.
4341 2003-09-06 Angus Leeming <leeming@lyx.org>
4343 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4344 one, inside testInvariant.
4346 * PrinterParams.C: new file.
4347 * PrinterParams.[Ch]: move the function bodies out of line.
4349 2003-09-06 Angus Leeming <leeming@lyx.org>
4351 * ParagraphParameters.h: forward declare ParameterStruct rather than
4352 including its header file.
4353 (depth): moved out-of-line.
4355 2003-09-06 Angus Leeming <leeming@lyx.org>
4357 * BufferView_pimpl.h:
4360 * lyxfunc.h: forward declare LyXKeySym rather than
4361 #include "frontends/LyXKeySym.h".
4363 * BufferView_pimpl.C:
4366 * lyxfunc.C: associated changes.
4368 2003-09-06 Angus Leeming <leeming@lyx.org>
4370 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4371 As a result, can remove the #include "insets/inset.h" from BufferView.h
4373 2003-09-06 Angus Leeming <leeming@lyx.org>
4375 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4376 As a result, can remove the #include "insets/inset.h" from BufferView.h
4378 2003-09-06 Angus Leeming <leeming@lyx.org>
4384 * bufferview_funcs.C:
4385 * BufferView_pimpl.C:
4390 * ParagraphParameters.C:
4395 * frontends/controllers/ControlDocument.C:
4396 * insets/insetcaption.C: rearrange the #includes into some sort of
4399 * buffer.h: remove #includes ErrorList.h, undo.h
4401 2003-09-06 Angus Leeming <leeming@lyx.org>
4403 * support/types.h: add a 'depth_type' typedef, used to store the
4404 nesting depth of a paragraph.
4407 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4408 defining explicitly.
4411 * paragraph_funcs.h:
4412 * ParagraphParameters.h:
4413 * sgml.h: use lyx::depth_type rather than Paragraph or
4414 ParameterStruct's depth_type.
4417 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4420 * BufferView_pimpl.C:
4422 * ParagraphParameters.C:
4425 * bufferview_funcs.C:
4432 * frontends/LyXView.C:
4433 * frontends/controllers/ControlDocument.C:
4434 * frontends/controllers/ControlErrorList.C:
4435 * insets/insetbibitem.C:
4436 * insets/insetbranch.C:
4437 * insets/insetcaption.C:
4438 * insets/insetcollapsable.C:
4439 * insets/insetenv.C:
4440 * insets/insetert.C:
4441 * insets/insetfloat.C:
4442 * insets/insetfoot.C:
4443 * insets/insetfootlike.C:
4444 * insets/insetnewline.C:
4445 * insets/insetquotes.C:
4446 * insets/insettabular.C:
4447 * insets/insettext.C:
4448 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4450 * frontends/controllers/ControlChanges.C: #include "changes.h".
4452 2003-09-06 Angus Leeming <leeming@lyx.org>
4454 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4455 than #including paragraph.h.
4458 * RowList.h: deleted. Superfluous.
4468 * insets/insettext.h: use ParagraphList_fwd.h rather than
4471 * paragraph.h: don't forward declare ParagraphList.
4474 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4475 rather than ParagraphList.h. paragraph.h is still needed for the
4476 Paragraph::depth_type parameters.
4478 * textcursor.h: enable it to compile stand-alone in light of the
4481 * bufferview_funcs.C:
4493 * frontends/controllers/ControlParagraph.C:
4494 * frontends/controllers/ControlTabular.C:
4495 * insets/insetmarginal.C:
4496 * insets/insetminipage.C:
4497 * insets/insetnote.C:
4498 * insets/insetoptarg.C: add header files needed to compile again.
4500 2003-09-06 Angus Leeming <leeming@lyx.org>
4502 * RowList_fwd.h: new file, forward-declaring Row rather than
4503 #including lyxrow.h.
4508 * insets/insettext.h: use it instead of RowList.h
4510 * bufferview_funcs.C:
4517 * text3.C: #include "RowList.h".
4519 2003-09-05 Angus Leeming <leeming@lyx.org>
4521 * factory.C (createInset):
4522 * vspace.C (c-tor): replace sscanf call with an istringstream.
4523 * ispell.C: re-add missing HP/UX headers.
4524 * lyxserver.C: re-add missing os2 headers.
4526 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4535 * text3.C: re-add missing system headers, needed for 2.95.2.
4537 2003-09-05 Angus Leeming <leeming@lyx.org>
4539 Changes most place everywhere due to the removal of using directives
4540 from support/std_sstream.h.
4542 2003-09-05 Angus Leeming <leeming@lyx.org>
4544 Replace LString.h with support/std_string.h,
4545 Lsstream.h with support/std_sstream.h,
4546 support/LIstream.h with support/std_istream.h,
4547 support/LOstream.h with support/std_ostream.h.
4549 Changes resulting throughout the tree.
4551 2003-09-05 Angus Leeming <leeming@lyx.org>
4553 * sgml.h: ensure that the header file can be compiled stand-alone.
4554 * *.C: strip out redundant #includes. (320 in total.)
4556 2003-09-04 Angus Leeming <leeming@lyx.org>
4558 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4559 here (from getPackages).
4561 * debug.[Ch]: add a new EXTERNAL tag.
4563 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4565 * text2.C (cursorEnd): simplify
4567 (getColumnNearX): adjust
4569 * text.C (computeBidiTables): adjust
4572 * rowpainter.C (paintChars): adjust
4573 (paintSelection): adjust
4574 (paintChangeBar): adjust
4577 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4579 (numberOfSeparators): adjust
4581 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4587 * text3.C: Restricts the mouse click functionality
4588 of insets like bibtex, include, toc and floatlist to the visible
4589 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4590 up the dialogs. Cursor has to be in front of the inset (i.e.
4591 start of row) for this to function.
4593 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4595 * bufferview_funcs.C (currentState): output row information
4597 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4599 * bufferview_funcs.C (currentState): output paragraph position
4601 2003-09-04 Angus Leeming <leeming@lyx.org>
4603 * FloatList.h: move out #include "Floating.h".
4604 * LaTeX.h: move out #include "DepTable.h".
4605 * LyXAction.h: move out #include "funcrequest.h".
4606 * buffer.h: move out #include "author.h", "iterators.h".
4607 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4608 * lyx_main.h: move out #include "errorlist.h".
4609 * lyxfunc.h: move out #include "FuncStatus.h".
4610 * lyxtext: move out #include "lyxcursor.h".
4611 * paragraph_pimpl.h: move out #include "counters.h".
4613 2003-09-03 Angus Leeming <leeming@lyx.org>
4615 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4616 preamble_snippets list, enabling us to add snippets to the preamble
4617 only if the snippet was not there already.
4619 2003-09-04 Angus Leeming <leeming@lyx.org>
4621 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4623 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4628 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4630 * BranchList.C: point fix, earlier forgotten
4632 2003-09-02 Angus Leeming <leeming@lyx.org>
4634 * box.C (contains): renamed from 'contained' after a fantastic
4637 2003-09-02 John Levon <levon@movementarian.org>
4643 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4645 2003-09-02 John Levon <levon@movementarian.org>
4647 * text2.C: simplification of cursorEnd(), including partial
4650 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4652 * buffer.C (readFile): add a space
4654 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4656 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4658 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4660 * buffer.C (readFile): new function, take a filename and a
4661 ParagraphList::iterator
4663 (readFile): adjust, make it private. don't use setStream, make
4664 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4665 always contain the filename.
4667 * BufferView.C (insertLyXFile): simplify and make it work for
4670 2003-08-30 John Levon <levon@movementarian.org>
4672 * Makefile.am: fix dist (from Kayvan)
4674 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * most files: change to use const Buffer refs
4678 2003-08-27 André Pönitz <poenitz@gmx.net>
4680 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4681 on top of ownerPar().
4683 2003-08-27 John Levon <levon@movementarian.org>
4685 * funcrequest.C: properly initialise POD members
4687 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4689 * lyxtext.h (top_y): move top_y from here
4694 * BufferView_pimpl.[Ch]: to here
4695 * frontends/screen.C:
4696 * insets/insettabular.C:
4697 * insets/insettext.C: adjust
4698 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4700 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4703 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4705 2003-08-26 André Pönitz <poenitz@gmx.net>
4707 * paragraph_func.[Ch] (outerPar): new function
4710 * paragraph_funcs.C:
4711 * paragraph_funcs.h:
4712 * paragraph_pimpl.C:
4713 * text2.C: remove Inset::par_owner
4715 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4720 * text2.C: eliminates the needFullRow/display() stuff
4721 altogether, putting the logic in metrics/draw in the insets.
4723 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4725 * text2.C (redoParagraphInternal, redoParagraphs):
4726 * text.C (redoParagraph): add a call to updateRowPositions at the
4727 end of each 'metrics-like' call. Remove all others.
4728 (getRow): remove the 'y-computing' version.
4729 (getRowNearY): do not compute nor return the real y. Solve the
4730 'y < 0' problem and simplify.
4732 2003-08-22 Angus Leeming <leeming@lyx.org>
4734 * *.[Ch]: clean-up of licence and author blurbs.
4735 Also move config.h out of a few .h files and into a few .C files.
4737 2003-08-22 André Pönitz <poenitz@gmx.net>
4739 * lyxrow.[Ch]: add x_ and *fill_ members
4744 * text2.C: adjust/remove prepareToPrint() calls
4746 2003-08-22 André Pönitz <poenitz@gmx.net>
4748 * lyxrow.[Ch]: add end_ member
4750 * lyxrow_funcs.C: use LyXRow::end_
4752 * lyxtext.h (singleWidth): add LyXFont parameter
4755 * text2.C: adjust LyXText::singleWidth() calls
4757 * text.C (redoParagraph): simplify row breaking logic
4760 2003-08-19 André Pönitz <poenitz@gmx.net>
4762 * funcrequest.C: initialize button_ member
4765 * rowpainter.[Ch]: interface consolidation
4767 2003-08-18 André Pönitz <poenitz@gmx.net>
4770 * BufferView_pimpl.C:
4772 * paragraph_funcs.C:
4774 * text3.C: remove LyXScreen::draw() and fitCursor calls
4776 * BranchList.h: remove spurious semicolons
4778 * MenuBackend.C: fix branchlist related crash
4780 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4788 * bufferparams.[Ch]:
4792 * text3.C: implements the 'branch inset'
4793 idea. This allows the output of various versions of a document
4794 from a single source version, selectively outputing or suppressing
4795 output of parts of the text.
4796 This implementation contains a 'branch list editor' in a separate
4797 tab of the document settings dialog. Branches are user definable
4798 and have a "display colour" to distinguish them on-screen.
4800 ColorHandler was somewhat cleaned up.
4801 (1) make possible a dynamically growing LColor list by allowing
4802 the graphic context cache to grow along (vector);
4803 (2) eliminate an IMHO unnecessary step in colour allocation.
4805 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4807 * BufferView_pimpl.C: compile fix
4809 2003-08-15 André Pönitz <poenitz@gmx.net>
4811 * rowpainter.C: remove extra metrics calls
4813 * lyxtext.h: merge the two constructors into a single one,
4814 pass reference to owner's par list
4816 * BufferView_pimpl.C:
4820 2003-08-15 André Pönitz <poenitz@gmx.net>
4822 * lyxrow_funcs.[Ch]:
4825 * paragraph_funcs.C:
4830 * text_funcs.C: split LyXText::rowlist_ into individual
4831 Paragraph::rows_ chunks
4834 * BufferView_pimpl.[Ch]:
4837 * text3.C: remove toggleSelection()
4839 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4841 * bufferlist.C: beautify two alerts (shorter text of buttons)
4842 * buffer.C: Remove redundant ' ' from message
4844 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4845 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4846 rename VALIGN_CENTER to VALIGN_MIDDLE
4848 2003-08-11 André Pönitz <poenitz@gmx.net>
4850 * lyxtext.h (getPar):
4851 * text.C: new function
4853 2003-08-11 André Pönitz <poenitz@gmx.net>
4856 * tracer.[Ch]: remove unneeded files
4858 * InsetList.[Ch]: remove resizeInsetsLyXText()
4863 * text3.C: merge insertParagraphs() and appendParagraph()
4864 remove breakAgain(), update()
4866 * BufferView_pimpl.[Ch]:
4867 * bufferview_funcs.[Ch]:
4871 * tabular.C: adjust after text & InsetList changes.
4873 2003-08-08 André Pönitz <poenitz@gmx.net>
4875 * text.C (insertChar, backspace): replace rowlist fiddling
4876 with rebreak of full par
4879 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4880 checkParagraph, updateInset): removed
4882 2003-08-07 André Pönitz <poenitz@gmx.net>
4885 * text3.C: merge some LFUN handlers, remove dead code
4887 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4889 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4891 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4893 * text2.C (DEPM): fix part of bug 1255 and 1256
4895 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4897 * BufferView_pimpl.C (workAreaDispatch): change to use
4898 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4899 that are no mouse related.
4901 2003-08-05 André Pönitz <poenitz@gmx.net>
4904 * BufferView_pimpl.[Ch]:
4905 * bufferview_funcs.C:
4907 * text3.C: rip out "deep update"
4909 * textcursor.[Ch] (last_sel_cursor): remove unused member
4911 2003-08-04 André Pönitz <poenitz@gmx.net>
4914 * BufferView_pimpl.[Ch]:
4915 * ParagraphParameters.C:
4916 * bufferview_funcs.C:
4922 * text3.C: replace "complicated" BufferView::update(...) calls with
4925 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4927 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4929 * Makefile.am (lyx_SOURCES): add paper.h
4931 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * Makefile.am: move things around so that both lyx-qt and
4934 lyx-xforms can be built (according to --with-frontend). Then lyx
4935 is a symbolic link to lyx-[firstfrontend]
4937 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4939 * Always use std::endl with lyxerr
4941 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4943 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4945 2003-08-01 André Pönitz <poenitz@gmx.net>
4948 * BufferView_pimpl.[Ch]:
4950 * text3.C: merge BufferView::repaint() and BufferView::update()
4952 2003-08-01 José Matos <jamatos@lyx.org>
4954 * buffer.[Ch]: file_format is no longer a buffer data element.
4956 2003-08-01 André Pönitz <poenitz@gmx.net>
4961 * text2.C: make redoParagraph more independent of current cursor
4963 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4965 * text2.C: remove unneeded members
4967 2003-07-30 André Pönitz <poenitz@gmx.net>
4969 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4971 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4972 create a single function...
4974 * paragraph_funcs.C (moveItem): ... here.
4977 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4979 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4981 * LColor.[Ch]: Add comment and greyedout logical colors.
4983 2003-07-30 André Pönitz <poenitz@gmx.net>
4985 * tabular.C: don't use Assert too heavily. This crashes where it
4988 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4990 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4991 is disabled (bug 1232)
4993 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4995 * factory.C: limited 'arg' scope
4997 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4999 * factory.C: fixed Note submenu issues
5001 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5003 * factory.C: submenu for Note/Comment/Greyedout
5005 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5008 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5010 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5013 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5014 greyedout. Patch provided by Jürgen Spitzmüller.
5016 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5018 * kbmap.C (read): fix error message when reading bind files
5020 2003-07-29 Angus Leeming <leeming@lyx.org>
5022 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5023 certainly does not do what it purports to do. I am doing it, and
5024 us, a favour by killing it.
5026 2003-07-28 José Matos <jamatos@lyx.org>
5028 * buffer.C (readBody, do_writeFile):
5029 * paragraph.C(readParagraph): \end_document replaces \the_end.
5031 2003-07-29 André Pönitz <poenitz@gmx.net>
5034 * BufferView_pimpl.[Ch]:
5038 * textcursor.[Ch]: remove toggleToggle & Co
5040 2003-07-28 José Matos <jamatos@fep.up.pt>
5042 * buffer.C (readParagraph):
5043 * params_func (readParToken, readParagraph):
5044 * paragraph.C (write): \layout -> \begin_layout.
5046 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * lyxlex_pimpl.C (setFile): clean up slightly.
5050 * bufferparams.h: add compressed var
5052 * buffer_funcs.C (readFile): adjust for LyXLex change
5053 (newFile): ditto + simplify
5055 * buffer.C (writeFile): handle writing of compressed files
5057 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5058 Check if the file is compressed and set a bufferparm if so.
5060 * Makefile.am (lyx_LDADD): remove explicit -lz
5062 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5064 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5065 makeDocBookFile): put the real LyX version in the first line of
5069 * version.C.in: remove lyx_docversion
5071 * tabular.C (write_attribute): add a template-based version to
5072 write enums properly
5074 2003-07-28 André Pönitz <poenitz@gmx.net>
5079 * text3.C: use doubles again for x-coordinates. They are needed.
5081 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5083 * messages.C (getLocaleDir): use lyx_localedir()
5085 * lyxlex_pimpl.C (setFile): compress stuff
5087 * buffer.C (writeFile): add some compression stuff
5088 (do_writeFile): new func, dont call expliti close... will this
5091 * Makefile.am (lyx_LDADD): add -lz
5093 2003-07-28 José Matos <jamatos@fep.up.pt>
5095 * buffer.C: increment file format.
5096 * paragraph_funcs (readParagraph, readParToken):
5097 * paragraph.C (readParagraph): add \end_layout.
5099 2003-07-27 Angus Leeming <leeming@lyx.org>
5101 * Makefile.am: remove special casing for configure-time setting of
5102 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5104 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5105 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5107 2003-07-26 André Pönitz <poenitz@gmx.net>
5109 * paragraph_func.[Ch]:
5110 * paragraph.C (realizeFont): inline it whereever it is used
5115 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5118 2003-07-26 André Pönitz <poenitz@gmx.net>
5122 * text2.C: get rid of LyXText::need_break_row
5124 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5126 * toc.[Ch]: put namespace toc inside namespace lyx
5128 * MenuBackend.C (expandToc2): adjust for lyx::toc
5131 * lyxfunc.C (dispatch): adjust for lyx::find
5133 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5134 lyx::find instead. Reorganize a bit.
5135 (LyXReplace): rename to replace
5136 (LyXFind): rename to find
5138 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5141 2003-07-26 André Pönitz <poenitz@gmx.net>
5143 * text.C (setHeightOfRow): restrict scope of temporary variable
5145 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5146 code (never has been used?)
5148 2003-07-27 Asger Alstrup <alstrup@local>
5150 * text.C (fill): Optimise algorithm to exploit that we can reuse
5151 the LyXFont for many characters.
5152 (setHeightOfRow): Same thing.
5153 (rowBreakPoint): Same thing.
5155 2003-07-26 Asger Alstrup <alstrup@local>
5157 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5159 * text.C (singleWidth): Spurious font copying in hot-spot
5160 singleWidth avoided. Reorder tests for arabic for efficiency.
5162 * text.C (fill): handle empty paragraphs better.
5164 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5167 * encoding.h: add includes
5169 * lyxrc.C: remove reading of bind files
5171 * lyx_main.C (init): setup bindings and menus only if we have a
5174 * kbmap.C (read): new method. Do the actual reading of bind
5177 * converter.C (dvipdfm_options):
5180 (output): adapt PAPER_* enums.
5182 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5184 * bufferparams.h: remove paper-related enums from there
5186 * paper.h: New file. A trivial header file to hold paper-related
5187 enums. It should later expand to contain many paper-related
5190 * lyxrc.C: declare extern displayTranslator
5192 2003-07-27 José Matos <jamatos@fep.up.pt>
5194 * tabular.[Ch] (linuxdoc): add support for tables and figures
5197 2003-07-27 José Matos <jamatos@fep.up.pt>
5199 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5200 consistency in both functions.
5201 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5203 2003-07-26 Asger Alstrup <alstrup@local>
5205 * rowpainter.C (paintRows): Change algorithm to work directly on
5206 the insets rather than asking every character in the document
5207 whether its an inset.
5209 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5211 * buffer.C (openFileWrite): factorize some code
5213 2003-07-26 Angus Leeming <leeming@lyx.org>
5216 * lyx_main.[Ch]: replace occurances of system_tempdir with
5219 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5221 * rename Inset to InsetOld
5223 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5225 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5226 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5227 which I think is a bit clearer. EDIT is gone, since it was
5228 premature optimisation, and broken for mathed anyway.
5229 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5230 with cursor positioning in insets as well (math insets still do not
5231 work, but that's a different story anyway.) It mysteriously
5232 crashes sometimes with undo in the first paragraph, but I'm fairly
5233 confident that this is a compiler bug.
5235 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5237 * paragraph.C (Paragraph): adjust for new clone return type
5239 (copyIntoMinibuffer): ditto
5241 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5243 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5244 by not having a special case, and always doing a full rebreak of
5245 the document after undo.
5247 2003-07-23 Angus Leeming <leeming@lyx.org>
5249 * factory.C (createInset): InsetExternal::setParams now takes a
5252 2003-07-23 Angus Leeming <leeming@lyx.org>
5254 * factory.C (createInset): changed interface to the external and
5255 graphics mailers' string2params functions.
5257 2003-07-23 Angus Leeming <leeming@lyx.org>
5259 * factory.C (createInset): pass a
5260 Buffer const * parameter to InsetExternalMailer's string2params.
5262 2003-07-22 John Levon <levon@movementarian.org>
5264 * Thesaurus.h: include the right aiksaurus header
5266 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5268 * MenuBackend.C (expand): check menu shortcuts unconditionally
5270 2003-07-21 Angus Leeming <leeming@lyx.org>
5272 * factory.C (createInset): pass a
5273 buffer_path parameter to InsetGraphicsMailer's string2params.
5275 2003-07-21 Angus Leeming <leeming@lyx.org>
5277 * BufferView_pimpl.C (buffer):
5280 * lyxfunc.C (dispatch):
5281 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5282 rather than the grfx shortcut.
5284 2003-07-21 André Pönitz <poenitz@gmx.net>
5286 * rowpainter.C: remove unused variables
5289 * tabular_funcs.h: move to tabular.C
5290 * Makefile.am: adjust
5292 * tabular.[Ch]: basic optical cleaning
5294 * author.h: pass references, not values
5296 2003-07-18 André Pönitz <poenitz@gmx.net>
5304 * text3.C: two-phase drawing for InsetText and InsetTabular
5305 some float -> int changes.
5307 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5309 * lyx_main.C: fix the fix
5311 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5313 * lyx_main.C: fix a crash in batch mode if no files specified
5316 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5318 * format.[Ch] (papersize): moved to BufferParams
5319 * converter.[Ch] (dvips_options): moved to BufferParams
5320 (dvipdfm_options): moved to anon namespace
5321 * bufferparams.[Ch]: added above functions.
5323 2003-07-17 André Pönitz <poenitz@gmx.net>
5327 * text2.C: don't call inset->update() anymore
5329 * metricsinfo.[Ch]: add convenience constructor
5331 2003-07-16 André Pönitz <poenitz@gmx.net>
5336 * text2.C: replace the LyXCursor::irow_ member with
5337 on-demand computation of the value
5339 2003-07-16 John Levon <levon@movementarian.org>
5341 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5343 2003-07-15 André Pönitz <poenitz@gmx.net>
5346 * text2.C: remove no more needed refresh_row
5348 2003-07-15 André Pönitz <poenitz@gmx.net>
5353 * text3.C: refresh_status tristate -> need_update bool
5355 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5357 * lyxtext.h (init): remove reinit argument (act as if always true)
5358 * text2.C: adjust to that
5360 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5362 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5363 * text3.C: use it to delete selections in some cases
5364 (bugs 441, 673, 702, 954).
5366 2003-07-14 André Pönitz <poenitz@gmx.net>
5368 * rowpainter.[Ch]: reduce interface
5370 2003-07-14 André Pönitz <poenitz@gmx.net>
5372 * BufferView_pimpl.C:
5373 * text2.C: adjust after removing unused BufferView * argument
5375 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5377 * text2.C (init): fix a crash fired on resize
5379 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5381 * buffer.[Ch]: added new closing signal
5382 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5383 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5384 BufferView::Pimpl via the closing the signal
5386 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5388 * buffer.[Ch]: take out all bv-related from buffer
5390 * BufferView_pimpl.[Ch]: connect to new signals
5391 * CutAndPaste.C: removed useless asserts
5392 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5395 * lyxfunc.C: moved view-related funciontality from vc here
5396 * paragraph.C: removed outdated comments
5399 2003-07-10 André Pönitz <poenitz@gmx.net>
5401 * BufferView_pimpl.C:
5405 * text2.C: remove InsetText::InnerCache, clean up consequences
5407 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5409 * ispell.C: fix two typos in error messages
5411 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5413 * Extend Note inset to other forms of annotation like Comment
5414 and Greyedout. Right button click gives dialog.
5416 Files modified or added (+):
5420 * ControlNote.[Ch] +
5422 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5423 frontends/controllers
5427 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5429 * aspell.C: add missing namespace lyx::support
5431 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5433 * BufferView.[Ch] (newFile): Add
5434 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5435 * LaTeX.[Ch] (message): added this signal and use it
5436 * buffer.[Ch] (busy, message): added these signals and use them
5437 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5441 * importer.C: use buffer signals instead of direct bv calling
5442 * lyx_cb.[Ch] (ShowMessage): removed
5445 * paragraph_funcs.C:
5446 * text2.C: use buffer signals
5448 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * introduce namespace lyx::graphics
5452 2003-07-02 André Pönitz <poenitz@gmx.net>
5454 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5456 2003-07-01 André Pönitz <poenitz@gmx.net>
5463 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5464 text*.C to text_func.C
5466 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * introduce namespace lyx::support
5470 2003-06-30 André Pönitz <poenitz@gmx.net>
5475 * text.C: re-enable --with-included-string
5477 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5479 * textcursor.C: add <config.h>
5481 * text.C (getWord): remove const from word_location arg
5483 * lyxvc.C (getLogFile): fix const type order
5485 * lyxtext.h: remove const from word_location arg, add arg name
5487 * lyxlayout.h: currect type on labeltype.
5489 * importer.C: correct \file
5491 * converter.C (intToFormat): use std:: on ret val, ws changes
5493 * bufferlist.h: correct \file
5495 * buffer.C (makeLinuxDocFile): fix const type order
5496 (makeDocBookFile): ditto
5497 (fillWithBibKeys): use std:: on stdlib args.
5499 * CutAndPaste.C: fix authors.
5500 (availableSelections): use std:: on return vector
5502 2003-06-27 André Pönitz <poenitz@gmx.net>
5504 * BufferView_pimpl.C:
5505 * bufferview_funcs.C:
5513 * text3.C: remove LyXCursor::row_ member
5516 * text.C: rename fullRebreak() to partialRebreak() and implement
5517 a fullRebreak() that really bereks fully
5519 * textcursor.h: new struct for cursor-related data
5521 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5523 * lyx_main.C (LyX): get full path of document loaded on the
5526 2003-06-26 André Pönitz <poenitz@gmx.net>
5528 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5529 remove unused/broken operator>,<,>=.
5531 * text.C: remove only use of broken operator<= in an Assert().
5533 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5535 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5536 moved errorlist_.clear to showErrorList
5538 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5540 * converter.C (scanLog, runLaTeX):
5541 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5542 move the bv->showErrorList call to the callers
5543 * lyxfunc.C: i.e. here...
5545 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5546 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5547 namespace, the second to...
5548 * buffer_funcs (BufferFormat, parseErrors): added
5549 * errorlist.C (ErrorList(TeXErrors const &)): removed
5551 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5553 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5555 2003-06-24 "Garst R. Reese" <reese@isn.net>
5559 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5561 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5563 * version.C.in: change docversion to 1.4
5565 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5567 * buffer.C: fix a bug just introduced
5569 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5571 * buffer.[Ch]: added the parseError signal and use it, removed
5573 * BufferView.[Ch] (addError): moved to ...
5574 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5575 to the Buffer::parseError signal to catch (guess what) parse errors
5576 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5578 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5580 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5581 ability to create a buffer and to return an existing one from
5582 the list. Moved these functions to...
5583 * buffer_funcs.[Ch]: added
5584 * BufferView.[Ch] (loadLyXFile): added
5585 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5586 job removed from bufferlist::loadLyXFile.
5587 * buffer.C (setReadOnly): make it work without view
5588 (i.e added an if (users))
5590 2003-06-19 Angus Leeming <leeming@lyx.org>
5593 * LyXAction.C (init):
5594 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5595 with LFUN_DIALOG_SHOW <name> <data>.
5597 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5599 * CutAndPaste.C (availableSelections): small compilation fix for
5600 ancient (gcc 2.9x) compilers
5602 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * text3.C (cursorNext): add tmp var
5606 * text2.C (updateCounters): for function calling out of for clause
5607 (replaceSelectionWithString): ditto
5608 (insertStringAsParagraphs): ditto
5609 (getColumnNearX): add tmp var
5610 (setCursorFromCoordinates): add tmp var
5611 (cursorDownParagraph): add tmp var
5612 (deleteEmptyParagraphMechanism): add tmp var
5614 * text.C (insertChar): add tmp var
5616 * rowpainter.C (paintDepthBar): add tmp var
5618 * CutAndPaste.C (availableSelections): potentially check all
5619 paragraphs in a cut to fill the shown strings.
5621 2003-06-18 André Pönitz <poenitz@gmx.net>
5623 * kbmap.[Ch]: use vector<> instead of list<>
5625 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5627 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5628 pasteSelection with index
5630 * text2.C (pasteSelection): modify, call pasteSelection with index
5632 * paragraph.C (asString): reimplement version with no interval to
5633 call the one with interval.
5635 * lyxtext.h: add index arg to pasteSelection
5637 * MenuBackend.C (MenuItem): handle PasteRecent
5638 (Menu::read::Menutags): add md_pasterecent
5640 (expandPasteRecent): new function
5643 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5645 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5647 (availableSelections): new function
5649 2003-06-17 Angus Leeming <leeming@lyx.org>
5651 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5653 2003-06-17 Angus Leeming <leeming@lyx.org>
5656 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5658 * lyxfunc.C (dispatch): invoke it.
5660 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5662 * iterators.C (operator++, ParPosition): reintroduce some
5663 const_cast for the benefit of older compilers.
5665 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5667 * text3.C (dispatch): do not modify clipboard when doing
5668 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5669 LFUN_DELETE_SKIP on a selection selection
5671 2003-06-16 André Pönitz <poenitz@gmx.net>
5677 * tabular.[Ch]: IU of clone() and getLabelList();
5679 2003-06-13 André Pönitz <poenitz@gmx.net>
5681 * tabular.h: compactification
5683 2003-06-12 André Pönitz <poenitz@gmx.net>
5687 * tabular_funcs.h: some renaming plus whitespace
5689 2003-06-12 André Pönitz <poenitz@gmx.net>
5692 * BufferView_pimpl.C:
5698 * toc.C: Return a Paragraph & for ParIterator::operator*()
5700 2003-06-11 John Levon <levon@movementarian.org>
5704 * ToolbarBackend.C: add "Toolbars" section and
5707 2003-06-10 Angus Leeming <leeming@lyx.org>
5710 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5712 * lyxfunc.C (dispatch): invoke it.
5714 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5716 * main.C: protect <ios> with HAVE_IOS
5717 (main): protect sync_with_stdio with HAVE_IOS
5719 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5721 * text2.C (cutSelection): adjust
5722 (pasteSelection): adjust
5724 * messages.C: handle get of empty string
5726 * main.C (main): use sync_with_stdio(false)
5728 * lyxfunc.C (dispatch): adjust
5730 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5731 (WriteAs): remove unneeded BufferView arg.
5733 * bufferparams.h: use correct types on papersize, papersize2 and
5736 * bufferparams.C (readToken): adjust for type
5737 (writeLaTeX): add missing cases to switch.
5739 * bufferlist.C (quitWriteBuffer): adjust
5742 * buffer.C (asciiParagraph): remove some commented code.
5744 * CutAndPaste.C: remove current_view extern variable.
5745 (cutSelection): add BufferParams arg.
5746 (eraseSelection): add BufferParams arg.
5747 (pasteSelection): add Buffer const & arg
5749 2003-06-07 John Levon <levon@movementarian.org>
5752 * paragraph_funcs.C:
5753 * paragraph_pimpl.C:
5757 * paragraph.C: allow InsetERT to freely space lines,
5758 and some consolidation of code
5760 2003-06-06 José Matos <jamatos@fep.up.pt>
5762 * buffer.C (makeDocBookFile): fix bug #821
5764 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5766 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5768 2003-06-04 Angus Leeming <leeming@lyx.org>
5770 * buffer.C: bump format to 224.
5772 2003-06-05 André Pönitz <poenitz@gmx.net>
5774 * text2.C (redoParagraphs): remove two const_cast<>
5776 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5778 * ParagraphList.h: remove last remnants of NO_STD_LIST
5780 2003-06-03 Angus Leeming <leeming@lyx.org>
5782 * factory.C (createInset): small change to the way InsetExternal's params
5785 2003-06-04 André Pönitz <poenitz@gmx.net>
5787 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5789 * paragraph_pimpl.h:
5790 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5792 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5794 * undo_funcs.C: make some simple cases of undo work again
5796 2003-06-03 John Levon <levon@movementarian.org>
5798 * ispell.C: HPUX doesn't have sys/select.h
5801 2003-06-03 John Levon <levon@movementarian.org>
5803 * CutAndPaste.C: update tabular and include inset
5808 * paragraph.C: remove owningBuffer(), don't pass Buffer
5811 * factory.C: insetGraphicsParams changed
5813 2003-06-02 John Levon <levon@movementarian.org>
5819 * text3.C: remove insetparent
5821 2003-06-02 John Levon <levon@movementarian.org>
5824 * buffer.C: fix inset_iterator.end(), move out of line
5827 2003-06-01 John Levon <levon@movementarian.org>
5829 * text3.C: use a proper cut/paste when doing inset
5830 insert (from Jürgen Spitzmüller)
5832 2003-06-01 John Levon <levon@movementarian.org>
5834 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5836 2003-05-30 André Pönitz <poenitz@gmx.net>
5838 * rowpainter.C: unify second drawing phase
5840 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5842 * trans_mgr.C: remove one case of current_view
5844 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5846 * paragraph_funcs.h: remove paragraph.h include
5848 * paragraph.h: delete NO_STD_LIST stuff
5850 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5852 * buffer.h: remove paragraph.h include
5854 * ParagraphList.C: delete file
5856 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5858 * toc.C (getTocList): adjust
5860 * paragraph_pimpl.C (validate): adjust
5862 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5864 * paragraph.C (Paragraph): adjust
5865 (getPositionOfInset): use const_iterator, adjust
5866 (bibitem): use const_iterator, adjust
5867 (setInsetOwner): adjust
5869 * iterators.C (operator++): adjust
5871 * InsetList.[Ch]: Replace selfmade iterator with standard
5872 vector::iterator also introduce const_iterator. Remove getPos,
5873 getInset and setInset from InsetTable. Adjust accordingly.
5875 * BufferView.C (lockInset): adjust
5876 (ChangeInsets): adjust
5878 * tabular.[Ch]: delete commented same_id functions
5880 2003-05-28 John Levon <levon@movementarian.org>
5882 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5884 2003-05-28 André Pönitz <poenitz@gmx.net>
5886 * metricsinfo.[Ch]: remove 'fullredraw' member
5888 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5890 * lyxtextclass.C (operator): remove caching.
5892 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5896 * text2.C (cursorBottom): adjust
5897 (setCounter): use ParagraphList::find, adjust
5899 * text.C (workWidth): use ParagraphList::find, adjust
5901 * lyxcursor.C (LyXCursor): adjust
5903 * buffer.C (inset_iterator): adjust
5905 * ParagraphList.h: make iterator(value_type) private, make
5906 ParagraphList a friend of iterator.
5908 * ParagraphList.C (find): new function
5910 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5912 2003-05-27 André Pönitz <poenitz@gmx.net>
5914 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5916 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5918 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5920 2003-05-26 John Levon <levon@movementarian.org>
5922 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5924 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * remove same_id from function signatures, adjust.
5928 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5930 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5932 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5934 * paragraph.C (Paragraph): get rid of same_ids parameter
5936 * ParagraphList.C (insert): adjust
5939 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5941 * paragraph_funcs.C (breakParagraph): adjust
5942 (breakParagraphConservative): adjust
5944 * buffer.C (readParagraph): adjust
5946 * ParagraphList.C (insert): take a reference instead of a pointer
5949 * paragraph.[Ch] (id): new function
5951 * bufferlist.C (newFile): adjust
5953 * ParagraphList.C (ParagraphList): adjust
5955 (push_back): take a reference instead of a pointer.
5957 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5959 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5962 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5963 set else use old code.
5965 * ParagraphList.C: remove all NO_NEXT code and only compile this
5966 code of NO_STD_LIST is set.
5968 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5970 * BufferView_pimpl.C:
5980 * graphics/GraphicsConverter.C:
5981 * graphics/PreviewLoader.C: header adjustment
5983 2003-05-23 Angus Leeming <leeming@lyx.org>
5985 * LaTeXFeatures.[Ch] (useBabel): new method.
5986 * bufferparams.C (writeLaTeX): use it.
5988 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * ParagraphList.h (set): remove unused function.
5992 2003-05-23 André Pönitz <poenitz@gmx.net>
5995 * BufferView_pimpl.C:
5999 * undo_funcs.C: setUndo reworked
6001 * iterators.[Ch]: add access to topmost ParagraphList
6003 * lyxtext.[Ch] (workWidth): add a const
6005 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6007 * texrow.[Ch] (increasePos): remove function
6008 * exporter.C (export): removed unused var and outdated comment
6010 2003-05-23 Angus Leeming <leeming@lyx.org>
6012 * latexrunparams.h: rename fragile as moving_arg.
6013 * paragraph.C (simpleTeXOnePar): ditto.
6014 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6016 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6020 (textUndoOrRedo): comment out a currently unused var.
6022 * paragraph.h (NO_NEXT): enable NO_NEXT
6024 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6026 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6028 * exporter.C (Export): adjust for removeAutoInsets removal.
6030 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6032 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6034 * BufferView.[Ch] (removeAutoInsets): delete function
6036 2003-05-22 Angus Leeming <leeming@lyx.org>
6038 * latexrunparams.h: add a free_spacing variable.
6040 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6041 to pass moving_arg, as the data is stored in runparams.fragile.
6043 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6044 to Inset::latexOptional or to simpleTeXOnePar.
6046 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6047 free_spacing arg to Inset::latexOptional.
6049 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6052 2003-05-22 Angus Leeming <leeming@lyx.org>
6054 * latexrunparams.h: add fragile and use_babel variables.
6056 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6057 * buffer.C (makeLaTeXFile): store this returned value in
6058 runparams.use_babel, thus passing it to the inset::latex methods.
6060 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6061 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6063 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6064 longer has a fragile arg, as it is stored in runparams.fragile.
6066 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6067 moving_arg parameter as the data is stored in runparams.fragile.
6069 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6070 a fragile parameter as the data is stored in runparams.fragile.
6072 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6076 2003-05-22 Angus Leeming <leeming@lyx.org>
6078 * latexrunparams.h: add a 'bool nice' which defaults to false.
6080 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6081 now encapsulated within runparams.
6083 * bufferlist.C (updateIncludedTeXfiles):
6084 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6086 2003-05-22 Angus Leeming <leeming@lyx.org>
6088 * latexrunparams.h: new file containing struct LatexRunParams.
6089 * Makefile.am: add new file.
6091 * LaTeX.[Ch] (c-tor, run):
6092 * buffer.[Ch] (makeLaTeXFile):
6093 * bufferlist.[Ch] (updateIncludedTeXfiles):
6094 * converter.C (convert, scanLog):
6095 * converter.[Ch] (runLaTeX):
6096 * exporter.C (Export):
6097 * paragraph.[Ch] (simpleTeXOnePar):
6098 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6099 * paragraph_funcs.[Ch] (latexParagraphs):
6100 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6101 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6102 pass around a LatexRunParams parameter.
6104 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * paragraph.[Ch]: remove unused constructor
6108 * ParagraphList.C (erase): new function, taking two iterators
6110 2003-05-22 André Pönitz <poenitz@gmx.net>
6112 * undo_funcs.C: remove duplicated code
6114 * iterator.[Ch]: operator=
6116 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * tabular.C (SetMultiColumn): ws changes
6120 * rowpainter.C (paintFirst): get rid of a ->previous
6122 * lyx_cb.C (getPossibleLabel): parlist simplification
6124 * BufferView.C (ChangeInsets): simplify slightly.
6126 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6128 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6129 * lfuns.h: new LFUN_SPACE
6130 * lyxfunc.C: protected space has a new lfun
6131 * paragraph_funcs.C: read new space insets
6133 * factory.C: handle new space insets
6135 2003-05-22 André Pönitz <poenitz@gmx.net>
6138 * BufferView_pimpl.C:
6141 * undo_funcs.C: return a ParIterator from getParFromID.
6143 * iterators.[Ch]: add two const's
6145 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * toc.C (getTocList): adjust
6149 * iterators.[Ch]: rework for parlist
6151 * buffer.C (par_iterator_begin): adjust
6152 (par_iterator_end): adjust
6154 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6156 * BufferView.C (removeAutoInsets): adjust
6157 (ChangeInsets): adjust
6159 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6161 * text.C (top_y): fix bug 1110
6163 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6165 * errorlist.[Ch]: added
6168 * BufferView_pimpl.C:
6169 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6172 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6174 * Makefile.am: ensure that lyx is relinked upon changes to the
6175 various "convenience" libs.
6177 2003-05-20 Angus Leeming <leeming@lyx.org>
6179 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6180 files are compiled in alphabetical order again.
6182 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6184 2003-05-19 Angus Leeming <leeming@lyx.org>
6186 * gettext.[Ch]: remove "char const * _(char const *)".
6188 2003-05-19 André Pönitz <poenitz@gmx.net>
6190 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6199 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6201 2003-05-19 André Pönitz <poenitz@gmx.net>
6205 * lyxtextclass.[Ch]:
6207 * paragraph_funcs.[Ch]:
6209 * text3.C: more insetenv work
6211 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6213 * ParagraphParameters.C (params2string): small bug fixed
6215 2003-05-16 André Pönitz <poenitz@gmx.net>
6218 * bufferview_funcs.C: patch from Kornel Benko to prevent
6219 crash when _(...) is called twice in a statement
6221 2003-05-16 André Pönitz <poenitz@gmx.net>
6228 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6230 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6232 * lyx_main.C (init): remove spurious static_cast
6234 2003-05-14 André Pönitz <poenitz@gmx.net>
6236 * BufferView.C: fix format string
6238 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6240 * BufferView.[Ch] (insertErrors): removed
6241 * BufferView.[Ch] (showErrorList): added
6242 * buffer.C (runChkTeX):
6243 * converter.C (scanLog): call showErrorList instead of inserterrors
6245 2003-05-13 André Pönitz <poenitz@gmx.net>
6247 * BufferView_pimpl.C:
6249 * bufferview_func.C:
6256 * tabular_funcs.h: tostr() from its own header
6258 * ParagraphParameters.C:
6263 * text3.C: STRCONV()
6265 2003-05-12 André Pönitz <poenitz@gmx.net>
6268 * BufferView_pimpl.C:
6272 * ParagraphParameters.C:
6276 * bufferview_funcs.C:
6289 * paragraph_funcs.C:
6293 * text3.C: boost::format -> bformat all over the place
6296 2003-05-09 André Pönitz <poenitz@gmx.net>
6298 * LColor.[Ch]: Pimpl the #include <map> away
6300 2003-05-09 John Levon <levon@movementarian.org>
6302 * bufferlist.C: never remove emergency saves
6304 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * Makefile.am: better lib building
6308 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6312 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6313 (simpleTeXSpecialChars): adjust
6314 (simpleTeXSpecialChars): adjust
6315 * paragraph.C (simpleTeXOnePar): adjust
6316 * buffer.C (makeLaTeXFile): adjust
6318 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6320 * text2.C (changeDepth): parlist cleanup
6321 (getColumnNearX): ditto
6323 * rowpainter.C (getLabelFont): parlist cleanup
6325 * bufferlist.C (newFile): parlist cleanup
6327 * CutAndPaste.C (eraseSelection): parlist cleanup
6329 * BufferView_pimpl.C (trackChanges): parlist cleanup
6332 * BufferView.C (lockInset): parlist cleanup.
6333 (ChangeInsets): ditto
6335 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6337 * CutAndPaste.h: Update file header.
6339 * CutAndPaste.C: Update file header.
6340 Store the parts cut out of the Document in a limited_stack.
6341 (copySelection): adjust
6342 (pasteSelection): new function, takes the index in the limited stack.
6343 (nrOfParagraphs): adjust
6344 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6345 simplify error inset insertion.
6346 (checkPastePossible): adjust
6348 2003-05-06 John Levon <levon@movementarian.org>
6350 * text2.C: don't cast wrap inset to float
6352 2003-05-05 André Pönitz <poenitz@gmx.net>
6355 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6357 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6358 few naked Paragraph *.
6360 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6362 * bufferparams.C: Output warning if a document with missing
6363 TeX document class is loaded
6364 * exporter.C: Disable TeX exports if the document class is missing
6367 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6368 isTeXClassAvailable()
6370 2003-05-03 John Levon <levon@movementarian.org>
6373 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6374 explicit cursor show/hide
6376 * BufferView_pimpl.h:
6377 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6378 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6380 * lyxfunc.C: hide cursor before dispatching.
6385 * text3.C: remove explicit cursor hides
6387 2003-05-02 André Pönitz <poenitz@gmx.net>
6389 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6392 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6395 * text2.C: tiny whitespace
6397 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6399 * undo_funcs.C: almost only ws changes.
6401 * ParagraphList.C (splice): just return if pl is empty.
6403 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * ParagraphList.C (splice): new function.
6407 * CutAndPaste.C (pasteSelection): use it
6409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * CutAndPaste.C (pasteSelection): remove the last next and
6412 previous from this file.
6414 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * CutAndPaste.C (pasteSelection): more clean up, user proper
6417 ParagraphList functions for pasteing.
6419 * ParagraphList.C (insert): new function, three arg insert
6421 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * ParagraphList.C (insert): new function, three arg insert
6425 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6428 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6432 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6436 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6438 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6439 (copySelection): clean up a bit.
6440 (pasteSelection): use make_pair
6442 * ParagraphList.C (ParagraphList): implement copy constructor
6443 (operator=): implement, base on copy constructor.
6446 * paragraph.C (erase): return a bool
6448 * paragraph_pimpl.C (erasePos): remove function, move contents...
6449 (erase): ... here. Return a bool.
6450 (erase): call erase instead of erasePos.
6452 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6454 * ParagraphList.h: define PitPosPair
6455 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6456 ParagraphList, fix a bug on pasting multiple pars
6457 * text2.C: change interface to C&P
6459 2003-04-30 André Pönitz <poenitz@gmx.net>
6461 * undo_func.C: revert part of yesterday's patch 2
6463 2003-04-30 John Levon <levon@movementarian.org>
6465 * LColor.C: s/tabular/table/
6467 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * text3.C (dispatch): do not convert iterator -> pointer
6470 * undo_funcs.C (setCursorParUndo): ditto
6471 * text_funcs.C (transposeChars): ditto
6473 * text2.C (setLayout): ws changes only
6475 * text.C (breakParagraph): do not convert iterator -> pointer
6477 (acceptChange): ditto
6478 (rejectChange): ditto
6483 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6486 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6488 * text3.C (gotoInset): YABG (yet another bad getChar)
6490 2003-04-29 André Pönitz <poenitz@gmx.net>
6492 * paragraph.h: make operator= private unimplemented as long as
6495 * ParagraphList.C: whitespace
6498 * paragraph_pimpl.[Ch]:
6499 * paragraph_funcs.C:
6501 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6504 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6506 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6508 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6509 * paragraph.[Ch] (erase):
6510 * paragraph_pimpl.[Ch] (erase): change return type and value
6511 * text2.C (cutSelection): some rework
6513 2003-04-28 John Levon <levon@movementarian.org>
6515 * bufferlist.C: changes for unsaved changes dialog
6517 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * bufferlist.C (newFile): set language (messages_) for new
6522 * buffer.C (readFile): ws changes only.
6524 2003-04-28 André Pönitz <poenitz@gmx.net>
6529 * BufferView_pimpl.C:
6530 * BufferView.C: getParFromID related ParagraphList::iterator changes
6532 2003-04-28 André Pönitz <poenitz@gmx.net>
6534 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6537 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * messages.C: remove one more localedir class variable.
6541 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * messages.C (getLocaleDir): singleton generation function
6545 (Messages): add a default constructor.
6547 * main.C (main): do not setup localedir here, do not call
6550 * gettext.C (_): use it.
6551 (gettext_init): delete funciton
6553 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * gettext.C (getLyXMessages): new singleton generating function.
6557 * buffer.C (updateDocLang): adjust
6559 * Makefile.am (messages.o): add target
6560 (main.o): remove target
6562 2003-04-27 John Levon <levon@movementarian.org>
6567 * lyxvc.C: specify cancel button in Alert::prompt
6569 2003-04-26 John Levon <levon@movementarian.org>
6574 * LyXAction.C: add LFUN_INSET_SETTINGS
6576 * lyxfunc.C: don't enable tabular-feature when there's
6577 just any locking inset
6579 2003-04-26 John Levon <levon@movementarian.org>
6581 * bufferlist.C: re-add Cancel to buffer close question
6583 * lyxfunc.C: fix import UI a bit
6585 2003-04-25 John Levon <levon@movementarian.org>
6587 * gettext.C: remove the broken asserts for now
6589 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6591 * messages.C: make case where setlocale cannot comply work better.
6593 * buffer.C (updateDocLang): new function
6594 (changeLanguage): use it
6597 * text2.C (setCounter): use B_ a bit.
6599 * lyxlayout.C (Read): be sure to trim the label strings.
6601 * messages.C (Messages): fix typo in comment
6603 * buffer.C (readFile): set message_ after file is loaded.
6604 (makeDocBookFile): remove double return
6605 (changeLanguage): reset message_ upon language change.
6606 (B_): new func, use this to get translated buffer strings.
6608 * main.C: add myself and Jean Marc as authors.
6610 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6612 * messages.[hC]: pimplify Messages, and three different pimpls to be
6613 used in different circumstances.
6615 * gettext.[Ch]: change for use with new message code.
6617 2003-04-24 André Pönitz <poenitz@gmx.net>
6619 * factory.C: support for eqref
6621 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * messages.[Ch]: add missing char
6625 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6627 * messages.[Ch]: New files
6629 2003-04-18 John Levon <levon@movementarian.org>
6633 * BufferView_pimpl.C:
6637 * text2.C: remove layout-copy/paste (bug 778)
6639 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6641 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6643 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6645 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6646 if they succeed. Act accordingly.
6648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text2.C (setCharFont): adjust
6651 (setCounter): adjust
6652 (insertStringAsLines): adjust
6654 * text.C (leftMargin): adjust
6655 (setHeightOfRow): adjust
6657 * rowpainter.C (paintFirst): adjust
6660 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6662 (isFirstInSequence): ditto
6663 (getEndLabel): ditto
6666 * paragraph.C (getParLanguage): comment out some hard stuff.
6668 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6670 (simpleDocBookOnePar): ditto
6671 (makeDocBookFile): use ParagraphList::iterator
6673 * CutAndPaste.C (pasteSelection): adjust
6675 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * text2.C (getFont): adjust
6678 (getLayoutFont): adjust
6679 (getLabelFont): adjust
6681 * paragraph_funcs.C (TeXOnePar): adjust
6683 * buffer.C (simpleLinuxDocOnePar): adjust
6684 (simpleDocBookOnePar): adjust
6686 * CutAndPaste.C (pasteSelection): adjust
6688 * BufferView.C (getEncoding): adjust
6690 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6692 2003-04-16 John Levon <levon@movementarian.org>
6694 * lyxfind.C: use parlist stuff for search/changes
6696 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6700 * text2.C (deleteEmptyParagraphMechanism): adjust
6702 * text2.[Ch] (ownerParagraph): delete func (both of them
6704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6706 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6708 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6710 * ParagraphList.C: prepare for NO_NEXT
6712 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6714 * text2.C (getFont): adjust
6715 (getLayoutFont): adjust
6716 (getLabelFont): adjust
6718 * paragraph.C (getFont): adjust
6719 (getLabelFont): adjust
6720 (getLayoutFont): adjust
6722 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6724 2003-04-15 John Levon <levon@movementarian.org>
6728 * lyx_main.C: handle Include in .ui files
6730 2003-04-15 John Levon <levon@movementarian.org>
6732 * MenuBackend.C: make the doc files length shorter
6735 * ToolbarBackend.C: handle toolbar placement flags,
6738 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6743 * paragraph_funcs.C (TeXOnePar): adjust
6745 * paragraph.C (getLabelFont): add outerfont arg, adjust
6746 (getLayoutFont): ditto
6747 (simpleTeXOnePar): adjust
6749 * paragraph_pimpl.C (realizeFont): delete func
6751 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6753 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6754 row argument, constify cur argument.
6756 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * text2.C (getFont): adjust
6759 (getLayoutFont): adjust
6760 (getLabelFont): adjust
6762 * paragraph_funcs.C (TeXOnePar): adjust
6763 (outerFont): new func...
6764 (realizeFont): ...moved out from here, changed this to facilitate
6767 * paragraph.C (getFont): take outerfont as arg, adjust
6768 (simpleTeXOnePar): add outerfont arg, adjust
6770 * buffer.C (simpleLinuxDocOnePar): adjust
6771 (simpleDocBookOnePar): adjust
6773 * CutAndPaste.C (pasteSelection): adjust
6775 * BufferView.C (getEncoding): adjust
6777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * text2.C (setCharFont): adjust
6780 (setCounter): adjust
6782 * text.C (leftMargin): adjust
6783 (setHeightOfRow): adjust
6785 * rowpainter.C (paintFirst): adjust
6788 * paragraph_pimpl.C (realizeFont): adjust
6790 * paragraph.C (isFirstInSequence): move from here...
6791 * paragraph_funcs.C (isFirstInSequence): ...to here
6793 * paragraph.C (outerHook): move from here...
6794 * paragraph_funcs.C (outerHook): ...to here
6796 * paragraph.C (depthHook): move from here...
6797 * paragraph_funcs.C (depthHook): ...to here
6799 * paragraph.C (getEndLabel): move from here...
6800 * paragraph_funcs.C (getEndLabel): ...to here
6802 * text2.C (realizeFont): move from here...
6803 * paragraph_funcs.C (realizeFont): ...to here
6805 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6809 2003-04-14 Angus Leeming <leeming@lyx.org>
6811 * LColor.[Ch]: scrap LColor mathcursor.
6813 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * lyxlex.[Ch] (text): delete function
6816 * trans.C (Load): adjust
6817 * paragraph_funcs.C (readParToken): adjust
6819 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6822 vector<char> instead of a char[].
6824 * lyxlex_pimpl.C (getString): adjust
6826 (lex): use getString
6830 * lyxlex.C (text): use pimpl_->getString()
6834 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6837 (makeFontEntriesLayoutSpecific): temp var for par.size()
6838 (setLayout): temp var for ownerParagraphs().end()
6839 (fullRebreak): temp var for rows().end()
6840 (selectionAsString): temp var for boost::next(startpit), realize
6841 that the while really is a regular for loop.
6842 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6843 setCursor in one place.
6844 (setParagraph): temp vr for ownerParagraphs().end()
6845 (updateCounters): make the while loop a for loop
6846 (cutSelection): temp var for ownerParagraphs().end()
6847 (updateInset): make the do {} while() a regular for loop
6848 (getCursorX): use temp vars
6849 (setCurrentFont): use temp vars
6850 (getColumnNearX): use temp vars
6852 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * text.C (transformChar): use temp var for getChar
6855 (computeBidiTables): use temp var for row->par()
6856 (fill): move temp vars for row->par() and pit->layout() earlier in
6858 (labelFill): use temp var for row->par()
6859 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6860 asc and desc, realize that pit never changes and that firstpit is
6861 just a duplicate and not needed. Exchange rit->par() with pit in a
6863 (breakAgain): use a temp var for boost::next(rit)
6864 (breakAgainOneRow): ditto
6865 (breakParagraph): use a temp var for rows().begin()
6866 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6867 (cursorRightOneWord): use temp var for cursor.par() and
6868 cursor.pos(), remove usage of tmpcursor.
6869 (cursorLeftOneWord): use temp var for cursor.par() and
6870 cursor.pos() only set cur at end of function.
6872 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * text.C, text2.C: exchange all usage of Paragraph::next with
6875 boost::next(ParagraphList::iterator)
6877 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6879 * text2.C (cursorTop): simplify implementation
6880 (cursorBottom): ditto
6881 (setParagraph): use ParagraphList::iterator
6882 (setCurrentFont): adjust
6883 (getColumnNearX): adjust
6884 (cursorRight): adjust
6885 (cursorLeft): remove usage of Paragraph::previous
6886 (cursorUpParagraph): ditto
6887 (deleteEmptyParagraphMechanism): slight cleanup
6889 * text.C (isBoundary): take a Paragraph const & instead of a
6891 (addressBreakPoint): ditto
6892 (leftMargin): remove usage of Paragraph::previous.
6893 (setHeightOfRow): ditto
6894 (cursorLeftOneWord): ditto
6895 (selectNextWordToSpellcheck): ditto
6898 (breakParagraph): remove one usage of Paragraph::next
6899 (redoParagraph): ditto
6900 (acceptChange): ditto
6901 (insertChar): adjust
6902 (rowBreakPoint): adjust
6904 * bufferview_funcs.C (toggleAndShow): adjust
6906 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6908 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6909 methods to access it.
6911 * text.C: Added updateRowPositions to compute all row positions.
6912 Make top_y and getRowNearY() to use the cached y position
6914 2003-04-11 John Levon <levon@movementarian.org>
6916 * text.C (rowBreakPoint): reintroduce the labelEnd
6917 checks, code copied from the row fill stuff. Deep voodoo.
6919 * text.C (fill): add a comment and debugging for the
6922 2003-04-11 John Levon <levon@movementarian.org>
6924 * text.C: make sure fullrow insets get wrapped to the next line,
6925 even when they're in a manual label
6927 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * text2.C (insertParagraph): make it take ParagraphList::iterator
6931 (setLayout): make it return ParagraphList::iterator
6932 (redoParagraphs): ditto
6934 (checkParagraph): ditto
6936 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6938 * text2.C: adjust several funcs.
6939 (realizeFont): take a ParagraphList::iterator as arg.
6940 (getLayoutFont): ditto
6941 (getLabelFont): ditto
6942 (setCharFont): ditto
6944 * text.C: adjust several funcs.
6946 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6948 * text.C (selectNextWordToSpellcheck): don't accidentally
6951 2003-04-10 John Levon <levon@movementarian.org>
6953 * ToolbarBackend.C (getIcon): special handling for
6956 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6958 * text2.C (cursorRight): a getChar assert fixed
6960 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * text2.C (getFont): change to take a ParagraphList::iterator
6963 instead of Paragraph*
6964 Adjust several functions.
6966 * text.C (transformChar): change to take a ParagraphList::iterator
6967 instead of Paragraph*
6968 (singleWidth): ditto
6969 Adjust several functions.
6971 * rowpainter.C: adjust several functions
6972 * rowpainter.h:store a ParagraphList::iterator and not a
6976 2003-04-09 John Levon <levon@movementarian.org>
6981 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6982 and the "help" bits as well
6984 2003-04-09 John Levon <levon@movementarian.org>
6987 * ToolbarBackend.C: allow multiple toolbars
6989 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * undo_funcs.C (setCursorParUndo): adjust
6993 * text_funcs.C (transposeChars): adjust
6995 * text3.C (gotoNextInset): adjust
6998 * text2.C (setLayout): adjust
6999 (changeDepth): adjust
7001 (redoParagraphs): adjust
7002 (selectionAsString): adjust
7003 (setParagraph): adjust
7004 (insertInset): adjust
7005 (cutSelection): adjust
7006 (copySelection): adjust
7007 (pasteSelection): adjust
7008 (insertStringAsLines): adjust
7009 (updateInset): adjust
7010 (setCursor): change to take a ParagraphList::iterator parameter
7011 (setCursorIntern): change to take a ParagraphList::iterator parameter
7012 (setCurrentFont): adjust
7013 (cursorLeft): adjust
7014 (cursorRight): adjust
7015 (deleteEmptyParagraphMechanism): adjust
7017 * text.C (breakParagraph): adjust
7018 (insertChar): adjust
7019 (acceptChange): adjust
7020 (rejectChange): adjust
7021 (selectNextWordToSpellcheck): adjust
7022 (changeCase): adjust
7026 * lyxfind.C (SearchForward): adjust
7027 (SearchBackward): adjust
7028 (nextChange): adjust
7030 * lyxcursor.C (par): adjust
7032 * lyxcursor.h: store a ParagraphList::iterator instead of a
7035 * lyx_cb.C (getPossibleLabel): adjust
7037 * bufferview_funcs.C (toggleAndShow): adjust
7039 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7042 * BufferView.C (removeAutoInsets): adjust
7043 (lockedInsetStoreUndo): adjust
7045 2003-04-09 John Levon <levon@movementarian.org>
7047 * ToolbarBackend.C: try icon without argument
7048 if with argument fails
7050 2003-04-08 John Levon <levon@movementarian.org>
7053 * ToolbarBackend.C: add getIcon(), handle tooltip,
7054 and change from "Icon" to "Item".
7056 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7058 * BufferView.C (lockInset): another bad getchar crunched
7060 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7062 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7065 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7067 * lyxfind.C (searchForward, searchBackwards): bug 782
7069 2003-04-07 John Levon <levon@movementarian.org>
7071 * paragraph.C: remove dead comment
7073 * text.C: remove troublesome depth-fiddling code
7074 in leftMargin() and rightMargin() (bug 1017)
7076 * text.C: fix breaking of rows in nested lists
7079 * text2.C (updateCounters): fix up depth values
7082 2003-04-07 John Levon <levon@movementarian.org>
7084 * BufferView_pimpl.C: clear message when doc finishes resizing,
7085 and after a mouse event
7087 * lyxfunc.C: clear message after exiting inset
7089 2003-04-07 John Levon <levon@movementarian.org>
7091 * bufferview_funcs.C: show math status not outside
7092 status in the statusbar
7094 2003-04-07 John Levon <levon@movementarian.org>
7096 * lyxfunc.C: note status changed after a depth change
7098 2003-04-04 Angus Leeming <leeming@lyx.org>
7100 * LaTeX.h: move AuxInfo operator==, != out of line.
7101 Remove LaTeX virtual destructor; nothing derives from it.
7102 Move operator()() out of public area and rename it startscript().
7103 Change protected for private.
7105 2003-04-04 Angus Leeming <leeming@lyx.org>
7108 * text2.C: remove unneeded #includes.
7110 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7112 * text2.C (dEPM): fix the heigth of the next row
7114 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7116 * text.C: squashed an invalid getChar requester + some ws changes
7118 2003-04-03 John Levon <levon@movementarian.org>
7120 * bufferview_funcs.h:
7121 * bufferview_funcs.C:
7124 * text2.C: make getStatus work for the env depth lfuns
7126 2003-04-03 John Levon <levon@movementarian.org>
7128 * bufferview_funcs.h:
7129 * bufferview_funcs.C:
7132 * text2.C: parlistize decDepth(), by merging it with incDepth()
7134 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * lyxrow.h: store a ParagraphList::iterator instead of a
7137 Paragraph* and adjust other class functions to suit.
7139 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7142 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7144 * text2.C (setCursor): do not anchor to cursor row for the time being
7146 2003-04-02 John Levon <levon@movementarian.org>
7153 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7155 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * paragraph.h: make ParagraphList and ParagraphList::iterator
7158 friends of Paragraph.
7160 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7162 * ParagraphList.C: Use the private next_ and previous_ from
7165 2003-04-01 John Levon <levon@movementarian.org>
7169 * Makefile.am: rename, remove defaults gunk
7172 * MenuBackend.C: remove defaults gunk
7175 * Languages.C: remove defaults gunk
7178 * lyx_main.C: error out if files couldn't be found.
7180 2003-04-02 John Levon <levon@movementarian.org>
7182 * text2.C: make incDepth() use parlist
7184 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7186 * undo_funcs.C (firstUndoParagraph): adjust
7188 * text3.C (gotoInset): adjust
7189 (dispatch): adjust, and rewrite loop.
7191 * text2.C (init): adjust, and rewrite loop.
7192 (redoParagraphs): adjust
7193 (updateInset): adjust, and rewrite loop.
7194 (deleteEmptyParagraphMechanism): adjust
7196 * tabular.C (LyXTabular): adjust
7197 (SetMultiColumn): adjust
7200 * lyxtext.[Ch] (ownerParagraph): delete function
7201 (ownerParagraphs): new function returns a ParagraphList.
7203 * BufferView.C (removeAutoInsets): adjust
7204 (insertErrors): adjust
7205 (setCursorFromRow): adjust
7207 2003-04-01 Angus Leeming <leeming@lyx.org>
7209 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7212 2003-04-02 John Levon <levon@movementarian.org>
7218 * text_funcs.C: make transposeChars a free function
7220 * lyxrow_funcs.C: remove wrong comment
7222 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * rowpainter.C: adjust
7230 * lyxrow_funcs. [Ch]: new files
7232 * lyxrow.[Ch]: remove next and previous pointers
7233 (next,previous): remove accessor functions
7234 (isParEnd): move to lyxrow_funcs
7235 (lastPos): move to lyxrow_funcs
7236 (nextRowIsAllInset): move to lyxrow_funcs
7237 (lastPrintablePos): move to lyxrow_funcs
7238 (numberOfSeparators): move to lyxrow_funcs
7239 (numberOfHfills): move to lyxrow_funcs
7240 (numberOfLabelHfills): move to lyxrow_funcs
7241 (hfillExpansion): move to lyxrow_funcs
7245 * bufferview_funcs.C (toggleAndShow): adjust
7247 * RowList.h: Remove class RowList from file leave just a
7250 * RowList.C: delete file
7252 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7255 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7257 * text3.C (cursorPrevious): adjust
7258 (cursorNext): adjust
7261 * text2.C (redoHeightOfParagraph): adjust
7262 (redoDrawingOfParagraph): adjust
7265 * text.C (breakParagraph): adjust
7266 (insertChar): adjust
7269 * rowpainter.C (RowPainter): adjust
7270 (leftMargin): simplify and adjust
7271 (most rowpainter functions): adjust.
7273 * rowpainter.h: store the row as RowList::iterator not as Row*
7275 * lyxcursor.C (row): taka RowList::iterator as arg
7278 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7281 2003-04-01 Angus Leeming <leeming@lyx.org>
7283 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7284 stuff like bool Bool.
7286 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7288 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7291 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7293 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7296 * lyxtext.h (rows): drop one version and leve a const variant that
7297 returns a RowList::iterator.
7299 2003-03-31 Angus Leeming <leeming@lyx.org>
7301 * text.C (fill): ensure that the signature is the same as that in the
7304 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7306 * text2.C (redoParagraphs): adjust
7307 (updateCounters): adjust
7308 (checkParagraph): adjust
7309 (getColumnNearX): adjust and reformat a bit.
7311 * text.C (top_y): adjust
7313 (leftMargin): adjust
7314 (prepareToPrint): adjust
7316 (getRowNearY): adjust
7318 * lyxtext.h: make rowlist_ mutable.
7320 * RowList.h: add const_iterator
7321 * RowList.C: adjust for RowList::const_iterator.
7323 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7326 2003-03-31 John Levon <levon@movementarian.org>
7329 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7331 * lyx_main.C: set default fonts from using lyx_gui funcs
7333 * exporter.C: pdf_mode moved from lyxrc
7336 * lyxfunc.C: changes from above
7338 2003-03-31 John Levon <levon@movementarian.org>
7340 * lyx_main.C: fix to the last fix
7342 2003-03-31 John Levon <levon@movementarian.org>
7344 * bufferlist.C: "Load original" -> "Load Original"
7350 * format.C: more Alert cleanups
7352 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * text2.C (removeParagraph): make it take a RowList::iterator as
7356 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7357 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7359 * text.C (anchor_row): make it take a RowList::iterator as arg,
7361 (computeBidiTables): make it take a const reference to Row instead
7362 of Row pointer, adjust.
7363 (leftMargin): make it take a RowList::iterator as arg, adjust.
7364 (rowBreakPoint): adjust
7365 (breakAgainOneRow): make it take a RowList::iterator as arg,
7367 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7369 * bufferview_funcs.C (toggleAndShow): adjust
7371 2003-03-30 John Levon <levon@movementarian.org>
7375 * boost-inst.C: moved to support
7377 * several files: changes as a result
7379 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * text2.C (LyXText): adjust.
7383 (removeRow): make it take a RowList::iterator as arg, adjust.
7384 (fullRebreak): adjust
7385 (deleteEmptyParagraphMechanism): adjust
7386 (clearPaint): adjust
7389 * text.C (top_y): adjust
7390 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7391 (breakAgain): make it take a RowList::iterator as arg, adjust.
7392 (breakParagraph): adjust
7393 (insertChar): adjust
7396 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7397 need_break_row, and refresh_row.
7399 * text3.C (dispatch): adjust
7401 * text2.C (checkParagraph): adjust
7403 (setCursorFromCoordinates): adjust
7405 * text.C (top_y): adjust
7407 (getRow): make it return a RowList::iterator, adjust
7408 (getRowNearY): make it return a RowList::iterator, adjust
7410 * text2.C (init): adjust
7411 (insertRow): remove function
7412 (insertParagraph): adjust
7413 (redoParagraphs): adjust
7414 (fullRebreak): adjust
7415 (updateCounters): adjust
7417 * text.C (top_y): rewrite to use RowList iterators.
7419 (setHeightOfRow): rewrite to sue RowList iterators.
7420 (appendParagraph): adjust
7421 (breakAgain): adjust
7422 (breakAgainOneRow): adjust
7423 (breakParagraph): adjust
7425 (getRowNearY): adjust, and remove commented code.
7427 * lyxtext.h (firstRow): delete function
7428 (lastRow): delete function
7429 (rows): new function (const and non-const versions.)
7430 (insertRow): delete function
7432 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7434 2003-03-29 John Levon <levon@movementarian.org>
7436 * BufferView_pimpl.C: always update scrollbar top
7437 because pasting text when we're anchored could mean we
7438 miss an update altogether
7440 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7442 * text2.C (init): use rowlist_.end() and not 0.
7443 (insertRow): change to take a RowList::iterator as arg, adjust
7445 (insertParagraph): change to take a RowList::iterator as arg,
7447 (redoParagraphs): remove some debug msgs.
7449 * text.C (appendParagraph): change to take a RowList::iterator
7450 arg, adjust for this.
7451 (breakAgain): add an assert
7452 (breakAgainOneRow): ditto
7454 2003-03-29 John Levon <levon@movementarian.org>
7456 * text2.C: do not clear selection after inc/decDepth
7459 2003-03-29 John Levon <levon@movementarian.org>
7462 * buffer.C: fix broken strerrors according to Lars
7464 2003-03-29 John Levon <levon@movementarian.org>
7466 * converters.C: more Alert cleanups
7468 2003-03-29 John Levon <levon@movementarian.org>
7470 * bufferview_funcs.C: remove pointless Alert
7472 * buffer.C: fix confusing error message when
7473 a template is chmoded 000
7475 2003-03-29 John Levon <levon@movementarian.org>
7479 * BufferView_pimpl.C: Alert fixes
7483 * tabular-old.C: remove unused table compat reading
7485 2003-03-29 John Levon <levon@movementarian.org>
7490 * lyx_cb.C: more Alert cleanups
7492 * lyxfunc.C: don't allow chktex if not latex document
7494 2003-03-29 John Levon <levon@movementarian.org>
7498 * buffer.C: warnings pushed down from support/,
7501 2003-03-29 John Levon <levon@movementarian.org>
7503 * lyxfunc.C: safety check for C-r (revert)
7505 2003-03-29 John Levon <levon@movementarian.org>
7508 * bufferlist.C: several UI fixes using Alert::prompt.
7509 Fix the pointless looping quit code. Fix stupid revert
7514 * lyx_cb.C: use Alert::prompt
7516 * lyx_main.C: remove a silly question
7518 * lyxfunc.C: remove a couple of silly questions,
7521 2003-03-28 John Levon <levon@movementarian.org>
7523 * text2.C: fix bug 974 (End on empty par)
7525 2003-03-28 John Levon <levon@movementarian.org>
7527 * BufferView_pimpl.C:
7529 * lfuns.h: remove do-nothing math greek lfuns
7531 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7533 * lyxgluelength.h (isValidGlueLength): add default arg on
7534 parameter 2. Remove default arg from friend in class.
7536 * lyxlength.h (isValidLength): add default arg on parameter 2.
7537 Remove default arg from friend in class.
7539 * text2.C (LyXText): adjust, initialize refresh_row.
7543 (insertParagraph): adjst
7544 (redoParagraphs): adjust
7545 (fullRebreak): adjust
7546 (updateCounters): adjust
7547 (deleteEmptyParagraphMechanism): first attempt at fixing a
7550 * text.C (top_y): adjust
7551 (setHeightOfRow): adjust
7553 (getRowNearY): adjust
7555 * lyxtext.h: include RowList.h
7556 (~LyXText): not needed anymore, deleted.
7557 (firstRow): modify for RowList
7558 (lastRow): new function
7559 Delete firstrow and lastrow class variables, add a Rowlist
7560 rowlist_ class variable.
7562 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7565 * RowList.C (insert): fix case where it == begin().
7567 2003-03-26 Angus Leeming <leeming@lyx.org>
7569 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7570 the thesaurus dialog.
7572 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7574 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7576 * RowList.[Ch]: new files
7578 * ParagraphList.C (erase): handle the case where it == begin
7581 2003-03-25 John Levon <levon@movementarian.org>
7585 * aspell.C: add new aspell support
7588 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7591 2003-03-25 Angus Leeming <leeming@lyx.org>
7594 * LyXAction.C (init): new LFUN_INSET_INSERT.
7596 * BufferView_pimpl.C (dispatch): split out part of the
7597 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7599 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7602 2003-03-25 Angus Leeming <leeming@lyx.org>
7604 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7606 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7609 * text3.C: remove useless row->height(0)
7611 2003-03-25 John Levon <levon@movementarian.org>
7615 * text3.C: rename the refreshing stuff to better names
7617 2003-03-24 John Levon <levon@movementarian.org>
7619 * BufferView_pimpl.h:
7620 * BufferView_pimpl.C: update layout choice on a mouse
7623 2003-03-23 John Levon <levon@movementarian.org>
7625 * Makefile.am: fix commandtags.h reference
7627 2003-03-22 John Levon <levon@movementarian.org>
7629 * BufferView_pimpl.C:
7634 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7636 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7639 * text.C: take the rtl methods out of line
7641 2003-03-21 André Pönitz <poenitz@gmx.net>
7643 * metricsinfo.[Ch]: new files containing structures to be passed around
7644 during the two-phase-drawing...
7646 2003-03-21 André Pönitz <poenitz@gmx.net>
7648 * lyxtextclass.C: read 'environment' tag.
7650 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7652 * text2.C (removeRow): fix bug 964
7654 2003-03-20 John Levon <levon@movementarian.org>
7658 * text2.C: paint cleanups. Inset::update() dropped font
7661 2003-03-19 John Levon <levon@movementarian.org>
7663 * lyxfunc.C: only fitcursor/markDirty if available()
7665 2003-03-19 John Levon <levon@movementarian.org>
7667 * commandtags.h: rename to ...
7669 * lfuns.h: ... this, and renumber / cleanup
7671 2003-03-19 John Levon <levon@movementarian.org>
7673 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7674 fit the cursor after an lfun
7678 * BufferView_pimpl.h:
7679 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7681 * LyXAction.C: layout-character should have ReadOnly
7683 * ParagraphParameters.C:
7685 * bufferview_funcs.C:
7692 * undo_funcs.C: changes from above
7694 2003-03-18 John Levon <levon@movementarian.org>
7696 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7697 remove it from update()
7699 * lyxfunc.C: update layout choice after an lfun
7701 * text3.C: remove extra updateLayoutChoice()s
7703 2003-03-18 John Levon <levon@movementarian.org>
7705 * text.C: top_y change means full repaint, fix
7706 a drawing bug with cursor movement
7708 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7712 * text2.C: anchor row on setCursor
7714 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7716 * lyxtext.h: remove almost all mutable keywords
7719 * text3.C: remove const keywords accordingly
7721 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7723 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7725 (TeXEnvironment): ditto
7728 2003-03-17 John Levon <levon@movementarian.org>
7730 * text.C (rowBreakPoint): remove attempt to fix displayed
7731 math insets inside a manual label
7733 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * lyxtext.h: remove BufferView* as first arg from almost all class
7737 * other files: adjust.
7739 2003-03-17 John Levon <levon@movementarian.org>
7743 * text2.C: more paint cleanups
7745 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7748 * rowpainter.C: remove "smart" background painting code
7750 2003-03-16 John Levon <levon@movementarian.org>
7755 * text3.C: add helper functions for setting refresh_row/y
7757 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7759 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7760 newline inset which *can* get inserted in the pass_thru layouts.
7761 This is primarily for literate documents.
7763 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7765 * buffer.C: increment LYX_FORMAT to 223
7767 2003-03-14 André Pönitz <poenitz@gmx.net>
7769 * textclass.h: prepare for environment handling, ws changes
7770 * lyxlayout.C: read latexheader and latexfooter tags
7772 2003-03-14 John Levon <levon@movementarian.org>
7774 * text2.C: rewrite ::status() a bit
7776 2003-03-13 John Levon <levon@movementarian.org>
7778 * lyxtext.h: add some docs
7780 2003-03-13 John Levon <levon@movementarian.org>
7785 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7787 2003-03-13 John Levon <levon@movementarian.org>
7789 * text3.C: fix appendix redrawing
7791 2003-03-13 John Levon <levon@movementarian.org>
7793 * text.C (setHeightOfRow):
7795 * rowpainter.C: make appendix mark have the text
7796 "Appendix" so the user knows what it is
7799 * LColor.C: s/appendixline/appendix/ from above
7801 2003-03-13 John Levon <levon@movementarian.org>
7803 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7805 * text.C: fix a getChar(pos) bug properly
7807 2003-03-13 Angus Leeming <leeming@lyx.org>
7810 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7811 Probably only temporary. Let's see how things pan out.
7813 * BufferView.C (unlockInset):
7814 * BufferView_pimpl.C (fitCursor):
7815 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7817 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7818 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7820 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7821 new functions that convert ParagraphParameters to and from a string.
7823 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7824 BufferView::Pimpl's dispatch.
7825 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7827 2003-03-13 André Pönitz <poenitz@gmx.net>
7831 * factory.C: make it aware of InsetEnv
7833 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7835 * text2.C (setCursor): never ask for one past last
7836 (setCursor): add some debugging messages.
7838 * text.C (singleWidth): never ask for one past last
7839 (singleWidth): ditto
7841 (rightMargin): ditto
7842 (rowBreakPoint): ditto
7843 (setHeightOfRow): ditto
7844 (prepareToPrint): ditto
7846 * rowpainter.C (paintBackground): never ask for one past last
7847 (paintText): never ask for one past last
7849 * paragraph_pimpl.C (getChar): make the assert stricter, never
7850 allow the one past last pos to be taken
7852 * paragraph.C (getChar): ws changes only
7854 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7855 (numberOfSeparators): ditto
7856 (numberOfHfills): ditto
7858 2003-03-12 John Levon <levon@movementarian.org>
7864 * paragraph_funcs.C: fix per-buffer authorlists
7866 2003-03-12 John Levon <levon@movementarian.org>
7868 * text.C: fix newline in right address
7870 2003-03-12 Angus Leeming <leeming@lyx.org>
7872 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7873 duplicate those in LyXFunc::dispatch.
7877 * ToolbarDefaults.C:
7878 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7879 Add LFUN_FONTFREE_UPDATE.
7881 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7882 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7884 * bufferview_func.[Ch]: several new functions to facilliate
7885 transfer of data to and from the character dialog.
7887 2003-03-12 John Levon <levon@movementarian.org>
7892 * paragraph_funcs.C:
7893 * paragraph_pimpl.C:
7897 * text3.C: remove META_NEWLINE in favour of an inset
7900 * rowpainter.C: remove paintNewline (done by inset)
7902 2003-03-12 John Levon <levon@movementarian.org>
7904 * paragraph_pimpl.C: complain about bad getChar()s
7905 for a while at least
7907 2003-03-12 John Levon <levon@movementarian.org>
7910 * buffer.C: move paragraph read into a separate function,
7911 a little renaming to reflect that.
7914 * bufferparams.C: remove the author_ids map, not necessary now
7917 * factory.C: moved Buffer::readInset to here
7919 * paragraph_funcs.h:
7920 * paragraph_funcs.C: readParagraph free function moved from
7923 * tabular.C: name change
7925 2003-03-12 John Levon <levon@movementarian.org>
7928 * ParagraphParameters.C: move par params input to
7931 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7932 behave like a normal read from the stream wrt reading
7933 a line vs. a \\token
7935 2003-03-12 John Levon <levon@movementarian.org>
7938 * ParagraphParameters.h:
7939 * ParagraphParameters.C: move output code to a
7942 2003-03-12 John Levon <levon@movementarian.org>
7944 * BufferView.C (insertLyXFile):
7947 * tabular.C: use a parlist iterator for creating the
7950 2003-03-12 John Levon <levon@movementarian.org>
7952 * buffer.C: make current_change static local not
7955 2003-03-12 John Levon <levon@movementarian.org>
7957 * buffer.C: fix insertStringAsLines for change tracking
7959 2003-03-12 John Levon <levon@movementarian.org>
7966 * bufferparams.C: move author list into params. Rename some
7967 functions. Move the header reading into a separate token
7968 loop. Move the header token reading into BufferParams.
7970 2003-03-12 John Levon <levon@movementarian.org>
7972 * changes.C: put debug inside lyxerr.debugging() checks
7974 2003-03-11 André Pönitz <poenitz@gmx.net>
7976 * factory.C: make it aware of InsetHFill
7978 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7980 * buffer.C (latexParagraphs): move function from here...
7981 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7984 2003-03-10 Angus Leeming <leeming@lyx.org>
7986 * LyXAction.C (init): fix bug in poplating array with multiple entries
7987 with the same LFUN (spotted by JMarc).
7989 2003-03-10 John Levon <levon@movementarian.org>
7992 * text2.C: move getColumnNearX() near its
7995 2003-03-10 John Levon <levon@movementarian.org>
7997 * text.C: fix break before a minipage
7999 2003-03-10 John Levon <levon@movementarian.org>
8001 * text.C: fix the last commit
8003 2003-03-09 John Levon <levon@movementarian.org>
8007 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8008 bug 365 (don't break before insets unless needed). Don't
8009 return a value > last under any circumstances.
8011 2003-03-09 Angus Leeming <leeming@lyx.org>
8013 * BufferView_pimpl.C (trackChanges, dispatch): call
8014 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8016 2003-03-09 Angus Leeming <leeming@lyx.org>
8018 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8019 than Dialogs::showAboutlyx().
8021 2003-03-09 Angus Leeming <leeming@lyx.org>
8023 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8024 than Dialogs::showTabularCreate().
8026 2003-03-09 John Levon <levon@movementarian.org>
8030 * text2.C: 3rd arg to nextBreakPoint was always the same.
8033 2003-03-08 John Levon <levon@movementarian.org>
8040 * text2.C: Remove the "main" bit from the "main body"
8043 2003-03-08 John Levon <levon@movementarian.org>
8045 * text.C (leftMargin): The left margin of an empty
8046 manual label paragraph should not include the label width
8049 * text.C (prepareToPrint): don't attempt to measure hfills
8050 for empty manual label paragraphs - the answer should be 0
8052 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8054 * CutAndPaste.C: remove commented code and reindent.
8056 2003-03-08 John Levon <levon@movementarian.org>
8059 * lyxfunc.C: move reloadBuffer()
8062 * BufferView.C: to here
8064 * lyxvc.C: add comment
8067 * vc-backend.C: call bv->reload() to avoid
8068 getStatus() check on MENURELOAD
8070 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8072 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8073 to an old format .dep file.
8075 2003-03-07 Angus Leeming <leeming@lyx.org>
8077 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8078 when the LFUN_MOUSE_RELEASE should have been handled by
8079 inset->localDispatch.
8081 2003-03-07 Angus Leeming <leeming@lyx.org>
8083 * BufferView_pimpl.C (dispatch):
8084 * LyXAction.C (init):
8085 * ToolbarDefaults.C (init):
8087 * lyxfunc.C (getStatus):
8088 remove LFUN_INSET_GRAPHICS.
8090 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8092 2003-03-07 Angus Leeming <leeming@lyx.org>
8095 * LyXAction.C (init):
8096 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8098 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8101 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8103 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8104 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8106 2003-03-07 Angus Leeming <leeming@lyx.org>
8108 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8111 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8113 * ParagraphList.C (front): new function
8116 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8118 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8119 and top_row_offset_. removed var first_y.
8121 * text2.C (LyXText, removeRow):
8123 * BufferView_pimpl.C:
8124 use these methods instead of using first_y
8126 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * text2.C (pasteSelection): adjust for checkPastePossible
8130 * CutAndPaste.C: remove Paragraph * buf and replace with
8131 ParagraphList paragraphs.
8132 (DeleteBuffer): delete
8133 (cutSelection): change the tc type to textclass_type
8134 (copySelection): change the tc type to textclass_type
8135 (copySelection): adjust for ParagraphList
8136 (pasteSelection): change the tc type to textclass_type
8137 (pasteSelection): adjust for Paragraphlist
8138 (nrOfParagraphs): simplify for ParagraphList
8139 (checkPastePossible): simplify for ParagraphList
8140 (checkPastePossible): remove unused arg
8142 * ParagraphList.C (insert): handle the case where there are no
8145 * CutAndPaste.h: make CutAndPaste a namespace.
8147 * text3.C (dispatch): adjust
8149 * text.C (breakParagraph): add a ParagraphList as arg
8151 * paragraph_funcs.C (breakParagraph): change to take a
8152 BufferParams and a ParagraphList as args.
8153 (breakParagraphConservative): ditto
8154 (mergeParagraph): ditto
8155 (TeXDeeper): add a ParagraphList arg
8156 (TeXEnvironment): ditto
8159 * buffer.C (readLyXformat2): adjust
8160 (insertStringAsLines): adjust
8161 (latexParagraphs): adjust
8163 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8164 (cutSelection): adjust
8165 (pasteSelection): adjust
8167 * BufferView_pimpl.C (insertInset): adjust
8169 2003-03-05 Angus Leeming <leeming@lyx.org>
8172 * LyXAction.C (init):
8173 * BufferView_pimpl.C (dispatch):
8174 * lyxfunc.C (getStatus):
8175 remove LFUN_CHILD_INSERT.
8177 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8179 2003-03-05 Angus Leeming <leeming@lyx.org>
8182 * LyXAction.C (init):
8183 * src/factory.C (createInset):
8184 * lyxfunc.C (getStatus):
8185 * text3.C (dispatch):
8186 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8188 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8190 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8192 * ParagraphList.C (insert): handle insert right before end()
8193 (erase): fix cases where it can be first or last paragraph.
8195 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8197 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8198 Paragraph::next and Paragraph::previous
8201 * text.C (breakParagraph): adjust
8203 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8204 BufferParams& as arg.
8205 (breakParagraph): use ParagraphList::insert
8206 (breakParagraphConservative): take a Buffer* instead of a
8207 BufferParams& as arg.
8208 (breakParagraphConservative): use ParagraphList::insert.
8210 * buffer.C (insertStringAsLines): un-const it
8211 (insertStringAsLines): adjust
8213 * ParagraphList.C (insert): new function
8215 * CutAndPaste.C (pasteSelection): adjust
8217 * text.C (backspace): adjust
8219 * tabular.C (SetMultiColumn): adjust
8221 * CutAndPaste.C (cutSelection): adjust
8222 (pasteSelection): adjust
8224 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8225 Buffer const * as arg
8227 * ParagraphList.C (erase): new function
8228 * paragraph_funcs.C (mergeParagraph): use it
8229 (mergeParagraph): make it take a Buffer* instead of a
8230 BufferParams* as arg
8232 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8234 (breakParagraphConservative): ditto
8236 * paragraph.h: remove the breakParagraph friend
8238 * paragraph.C (eraseIntern): new function
8239 (setChange): new function
8241 * paragraph_funcs.C (mergeParagraph): make it take a
8242 ParagraphList::iterator instead of a Paragraph *, adjust
8245 * paragraph.h: move an #endif so that the change tracking stuff
8246 also works in the NO_NEXT case.
8248 2003-03-04 Angus Leeming <leeming@lyx.org>
8251 * LyXAction.C: new LFUN_INSET_MODIFY.
8253 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8254 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8256 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * several files: ws changes only
8260 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8261 (TeXEnvironment): ditto
8264 * buffer.C (makeLaTeXFile): adjust
8265 (latexParagraphs): make it take ParagraphList::iterator as args
8267 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * buffer.C (latexParagraphs): adjust
8271 * paragraph.C (TeXOnePar): move function...
8272 (optArgInset): move function...
8273 (TeXEnvironment): move function...
8274 * paragraph_pimpl.C (TeXDeeper): move function...
8275 * paragraph_funcs.C: ...here
8277 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8279 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8281 * buffer.C (readInset): remove compability code for old Figure and
8284 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * buffer.C: ws changes
8289 * BufferView_pimpl.C: ditto
8292 * bufferlist.h: ditto
8296 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8298 * converter.[Ch]: split into itself +
8301 * Makefile.am: += graph.[Ch] + format.[Ch]
8308 * lyxrc.C: added #include "format.h"
8310 2003-02-27 Angus Leeming <leeming@lyx.org>
8312 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8315 * factory.C (createInset): add "label" to the factory.
8317 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8318 string and do no more.
8320 2003-02-27 Angus Leeming <leeming@lyx.org>
8323 * LyXAction.C (init):
8324 * factory.C (createInset):
8325 * BufferView_pimpl.C (dispatch):
8326 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8328 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8330 * lyxfunc.C (dispatch):
8331 * text3.C (dispatch): pass name to params2string.
8333 2003-02-26 Angus Leeming <leeming@lyx.org>
8335 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8337 Rearrange the ~includes. Strip out the unnecessary ones.
8339 * factory.C (createInset): reformat.
8340 create new insets for the various LFUN_XYZ_APPLY lfuns.
8342 2003-02-26 John Levon <levon@movementarian.org>
8345 * lyxrow.C: add isParStart,isParEnd helpers
8347 * paragraph.h: make isInserted/DeletedText take refs
8349 * paragraph_funcs.h:
8350 * paragraph_funcs.C: remove #if 0'd code
8355 * text.C: use lyxrow helpers above.
8356 Move draw and paint routines to RowPainter.
8357 Make several methods use refs not pointers.
8358 Make backgroundColor() const.
8359 Add markChangeInDraw(), isInInset().
8360 Merge changeRegionCase into changeCase.
8361 Make workWidth() shouldn't-happen code into an Assert.
8364 * rowpainter.C: new class for painting a row.
8367 * vspace.C: make inPixels take a ref
8369 2003-02-26 Angus Leeming <leeming@lyx.org>
8371 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8374 2003-02-25 John Levon <levon@movementarian.org>
8376 * ispell.C: give the forked command a more accurate name
8378 2003-02-22 John Levon <levon@movementarian.org>
8381 * toc.C: make TocItem store an id not a Paragraph *
8384 2003-02-21 Angus Leeming <leeming@lyx.org>
8386 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8387 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8388 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8389 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8390 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8391 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8393 * BufferView_pimpl.C (dispatch):
8394 * LyXAction.C (init):
8395 * factory.C (createInset):
8396 * lyxfunc.C (getStatus, dispatch):
8397 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8399 2003-02-21 Angus Leeming <leeming@lyx.org>
8401 * BufferView_pimpl.C (MenuInsertLyXFile):
8402 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8403 * lyxfunc.C (menuNew, open, doImport):
8404 no longer pass a LyXView & to fileDlg.
8406 2003-02-21 Angus Leeming <leeming@lyx.org>
8408 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8409 * LyXAction.C: change, BIBKEY to BIBITEM.
8410 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8411 Change InsetBibKey to InsetBibitem.
8412 Change BIBKEY_CODE to BIBITEM_CODE.
8413 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8414 * factory.C: replace insetbib.h with insetbibitem.h.
8415 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8416 * paragraph.C: replace insetbib.h with insetbibitem.h.
8417 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8418 Change bibkey() to bibitem().
8419 * text.C: remove insetbib.h.
8420 * text2.C: replace insetbib.h with insetbibitem.h.
8421 change bibkey() to bibitem().
8422 * text3.C: remove insetbib.h.
8423 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8425 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8427 * lyxrc.C (output): enclose user email in quotes (in case there are
8430 2003-02-18 John Levon <levon@movementarian.org>
8432 * buffer.h: add std::
8434 2003-02-17 John Levon <levon@movementarian.org>
8440 * pspell.C: reworking. Especially in ispell, a large
8441 number of clean ups and bug fixes.
8443 * lyxfunc.C: fix revert to behave sensibly
8445 2003-02-17 André Pönitz <poenitz@gmx.net>
8448 * commandtags.h: new LFUN_INSERT_BIBKEY
8458 * paragraph_func.C: remove special bibkey handling
8460 2003-02-17 John Levon <levon@movementarian.org>
8462 * text.C (Delete): fix case where delete at the end of
8463 the very first paragraph would not merge the pars
8465 2003-02-17 John Levon <levon@movementarian.org>
8467 * lyxrow.C: fix lastPrintablePos()
8469 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8471 * bufferparams.C (writeLaTeX): add a std:here
8473 * buffer.C: and remove a using directive there
8475 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8477 * buffer.C (makeLaTeXFile): move the code that generates the
8480 * bufferparams.C (writeLaTeX): ... in this new method
8482 * LaTeXFeatures.C (getEncodingSet): make const
8483 (getLanguages): make const
8485 * MenuBackend.C (binding): returns the binding associated to this
8487 (add): sets the status of each item by calling getStatus. Adds
8489 (read): add support for OptSubMenu
8490 (expand): remove extra separator at the end of expanded menu
8492 2003-02-15 John Levon <levon@movementarian.org>
8495 * BufferView_pimpl.C:
8497 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8498 inset code that had no actual effect. Remove unneeded status
8501 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8503 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8506 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8508 * text.C (drawLengthMarker): also draw an arrow marker for
8509 symbolic lengths (medskip...)
8511 2003-02-14 John Levon <levon@movementarian.org>
8514 * tabular.C: better method names
8516 2003-02-14 John Levon <levon@movementarian.org>
8518 * BufferView_pimpl.C:
8523 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8524 it's a more accurate name. Remove some pointless uses.
8526 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * text2.C (LyXText): change order of initilizers to shut off
8531 2003-02-14 John Levon <levon@movementarian.org>
8533 * buffer.C: use ParIterator for getParFromID()
8537 * paragraph_pimpl.h:
8538 * paragraph_pimpl.C: remove unused getParFromID()
8540 2003-02-14 John Levon <levon@movementarian.org>
8542 * buffer.C: remove some very old #if 0'd parse code
8544 2003-02-13 John Levon <levon@movementarian.org>
8548 * text2.C: move hfillExpansion(), numberOfSeparators(),
8549 rowLast(), rowLastPrintable(), numberofHfills(),
8550 numberOfLabelHfills() ...
8553 * lyxrow.C: ... to member functions here.
8558 * text.C: remove LyXText::beginningOfMainBody(), and call
8559 p->beginningOfMainBody() directly. Move the check for
8560 LABEL_MANUAL into the latter.
8567 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8573 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8574 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8576 2003-02-13 John Levon <levon@movementarian.org>
8578 * CutAndPaste.C: remove debug
8580 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8582 * paragraph.C (asString): remove two unused variables
8584 * lyxtextclass.C (readTitleType):
8586 (LyXTextClass): handle new members titletype_ and titlename_
8588 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8590 2003-02-09 John Levon <levon@movementarian.org>
8593 * buffer.C: replace hand-coded list with a map for the dep clean
8595 2003-02-08 John Levon <levon@movementarian.org>
8597 * LaTeX.C: consolidate code into showRunMessage() helper
8599 2003-02-08 John Levon <levon@movementarian.org>
8604 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8605 and pass the size in explicitly
8607 * BufferView_pimpl.h:
8608 * BufferView_pimpl.C:
8610 * BufferView.C: add getCurrentChange()
8612 * BufferView_pimpl.h:
8613 * BufferView_pimpl.C: handle change lfuns
8615 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8616 for changes. Mark pasted paragraphs as new.
8618 * support/lyxtime.h:
8619 * support/lyxtime.C:
8620 * DepTable.C: abstract time_t as lyx::time_type
8623 * LColor.C: add colours for new text, deleted text, changebars
8625 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8626 package use "usenames" option.
8630 * LyXAction.C: add change lfuns
8634 * author.C: author handling
8637 * buffer.C: add a per-buffer author list, with first entry as
8638 current author. Handle new .lyx tokens for change tracking. Output
8639 author list to .lyx file. Output dvipost stuff to .tex preamble.
8640 Bump lyx format to 222.
8643 * bufferlist.C: add setCurrentAuthor() to reset current author details
8647 * bufferparams.C: add param for tracking
8649 * bufferview_funcs.C: output change info in minibuffer
8653 * changes.C: add change-tracking structure
8656 * debug.C: add CHANGES debug flag
8659 * lyxfind.C: add code for finding the next change piece
8662 * lyxrc.C: add user_name and user_email
8665 * lyxrow.C: add a metric for the top of the text line
8668 * text.C: implement accept/rejectChange()
8671 * text.C: paint changebars. Paint new/deleted text in the chosen
8672 colours. Strike through deleted text.
8676 * paragraph_pimpl.h:
8677 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8678 in the current change to the insert functions. Rework erase to
8679 mark text as deleted, adding an eraseIntern() and a range-based
8680 erase(). Implement per-paragraph change lookup and
8683 * paragraph_funcs.C: Fixup paste for change tracking.
8685 * tabular.C: mark added row/columns as new.
8687 * text.C: fix rowLast() to never return -1. Don't allow
8688 spellchecking of deleted text. Track transpose changes. Don't
8689 allow paragraph break or merge where appropriate.
8691 * text2.C: leave cursor at end of selection after a cut.
8693 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8695 * text.C (getLengthMarkerHeight):
8696 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8697 visible on screen too.
8699 2003-02-07 John Levon <levon@movementarian.org>
8701 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8703 2003-02-05 Angus Leeming <leeming@lyx.org>
8705 * lyxserver.C (read_ready): revert my patch of 11 September last year
8706 as it sends PC cpu through the roof. Presumably this means that
8707 the lyxserver will no longer run on an Alpha...
8709 2003-01-30 Angus Leeming <leeming@lyx.org>
8711 * factory.C (createInset): create an InsetCommandParam of type "index"
8712 and use it to 'do the right thing'.
8714 * text2.C (getStringToIndex): ensure that cursor position is always
8715 reset to the reset_cursor position.
8717 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8719 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8722 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8726 * lyxfunc.C: Output messages with identical spelling, punctuation,
8729 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8731 * MenuBackend.C (expandFormats): List only viewable export formats
8734 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8737 * lyxfunc.C (getStatus): Make sure that formats other than
8738 "fax" can also be disabled
8740 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * text3.C (dispatch): put the lfuns that insert insets in 3
8743 groups, and call doInsertInset with appropriate arguments.
8744 (doInsertInset): new function, that creates an inset and inserts
8745 it according to some boolean parameters.
8747 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8749 * buffer.C (readFile): remember to pass on 'par' when calling
8750 readFile recursively.
8752 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8754 * MenuBackend.C (expandFormats): add "..." to import formats.
8756 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8758 * paragraph.C (asString): Remove XForms RTL hacks.
8760 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8761 * buffer.C: fix typo
8763 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8765 * Makefile.am (LIBS): delete var
8766 (lyx_LDADD): add @LIBS@ here instead.
8768 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8770 * Clarify the meaning of "wheel mouse jump"
8772 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8777 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8779 * importer.C (Loaders): do not preallocate 3 elements in the
8780 vector, since one ends up with 6 elements otherwise
8782 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8784 * DepTable.C (write): write the file name as last element of the
8785 .dep file (because it may contain spaces)
8786 (read): read info in the right order
8788 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * paragraph_pimpl.C (simpleTeXBlanks):
8791 (simpleTeXSpecialChars):
8792 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8794 * tabular.C (latex): add some missing case statements. Reindent.
8796 * MenuBackend.C (expandToc): remove unused variable.
8798 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8807 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8810 2003-01-05 John Levon <levon@movementarian.org>
8813 * BufferView.C: add getEncoding()
8816 * kbsequence.C: do not store last keypress
8819 * lyxfunc.C: store last keypress here instead. Pass encoding
8822 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8824 * lyx_main.C (init): remove annoying error message when following
8825 symbolic links (bug #780)
8827 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * text.C (insertChar):
8830 * lyxrc.C (getDescription): remove extra spaces
8832 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8834 * lyxrc.C (getDescription): remove extra spaces
8836 2002-12-20 John Levon <levon@movementarian.org>
8838 * text3.C: hack fix for page up/down across tall rows
8840 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8842 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8845 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8848 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8849 thesaurus is not compiled in
8851 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8853 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8855 2002-12-16 Angus Leeming <leeming@lyx.org>
8858 * lyx_main.C (init): remove override_x_deadkeys stuff.
8860 2002-12-12 John Levon <levon@movementarian.org>
8862 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8863 insert. Only remove shift modifier under strict
8866 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8868 * MenuBackend.C (expandToc): fix crash.
8870 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8872 * MenuBackend.C (expandToc): gettext on float names.
8874 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8876 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8877 implement bool empty() [bug 490]
8879 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8881 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8883 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * several files: ws changes
8887 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8889 * text2.C (setCounter): clean up a bit, use boost.format.
8890 (updateCounters): initialize par upon declaration.
8892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8893 if the layout exists. We do not just store the layout any more.
8894 (SwitchLayoutsBetweenClasses): use boost.format
8896 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8898 * converter.C (convert): if from and to files are the same, use a
8899 temporary files as intermediary
8901 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8904 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8906 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8908 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8910 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8912 * tabular.C (asciiPrintCell): use string(size, char) instead of
8915 * sgml.C (openTag): fix order of arguments to string constructor
8918 * lyxfunc.C (dispatch): use boost.format
8920 * lots of files: change "c" -> 'c'
8922 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8924 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8926 2002-11-25 Angus Leeming <leeming@lyx.org>
8928 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8930 * lyx_main.C (init): compile fix.
8932 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8934 * lyx_cb.C (start): boost.formatify
8935 do not include <iostream>
8937 * lengthcommon.C: ws only
8939 * boost-inst.C,BoostFormat.h: add more explict instantations
8941 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8943 * lots of files: handle USE_BOOST_FORMAT
8945 2002-11-21 John Levon <levon@movementarian.org>
8947 * pspell.C: fix compile
8949 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8951 * lyxfunc.C (dispatch): use boost::format
8955 * lyxfont.C (stateText): use boost::format
8957 * lyx_main.C (LyX): use boost::format
8959 (queryUserLyXDir): ditto
8962 (typedef boost::function): use the recommened syntax.
8964 * importer.C (Import): use boost::format
8966 * debug.C (showLevel): use boost::format
8968 * converter.C (view): use boost::format
8973 * bufferview_funcs.C (currentState): use boost::format
8975 * bufferlist.C (emergencyWrite): use boost::format
8977 * buffer.C (readLyXformat2): use boost::format
8978 (parseSingleLyXformat2Token): ditto
8980 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8982 * LaTeX.C (run): use boost::format
8984 * Chktex.C (scanLogFile): use boost::format
8986 * BufferView_pimpl.C (savePosition): use boost::format
8987 (restorePosition): ditto
8988 (MenuInsertLyXFile): ditto
8990 * BoostFormat.h: help file for explicit instation.
8992 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8994 * tabular.C (latex): Support for block alignment in fixed width
8997 2002-11-17 John Levon <levon@movementarian.org>
8999 * BufferView_pimpl.C:
9001 * lyxfunc.C: split filedialog into open/save
9003 2002-11-08 Juergen Vigna <jug@sad.it>
9005 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9006 by my last patch (hopefully).
9008 2002-11-08 John Levon <levon@movementarian.org>
9017 * toc.C: ParConstIterator, and use it (from Lars)
9019 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9021 * lyxtextclass.[Ch]: revise and add doxygen comments
9023 2002-11-07 John Levon <levon@movementarian.org>
9025 * text.C: fix progress value for spellchecker
9027 * toc.C: fix navigate menu for insetwrap inside minipage
9029 * paragraph_funcs.C: added FIXME for suspect code
9031 2002-11-07 John Levon <levon@movementarian.org>
9033 * BufferView_pimpl.C: fix redrawing of insets
9036 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9038 * text2.C (updateCounters): fix bug 668
9040 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9042 * text3.C (dispatch): Do not make the buffer dirty when moving the
9045 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9047 * vc-backend.C: STRCONV
9050 * text2.C (setCounter): STRCONV
9052 * paragraph.C (asString): STRCONV
9054 * lyxlength.C (asString): STRCONV
9055 (asLatexString): ditto
9057 * lyxgluelength.C (asString): STRCONV
9058 (asLatexString): ditto
9060 * lyxfunc.C (dispatch): STRCONV
9063 * lyxfont.C (stateText): STRCONV
9065 * importer.C (Import): STRCONV
9067 * counters.C (labelItem): STRCONV
9068 (numberLabel): ditto
9069 (numberLabel): remove unused ostringstream o
9074 * bufferview_funcs.C (currentState): STRCONV
9076 * buffer.C (readFile): STRCONV
9077 (asciiParagraph): ditto
9078 (makeLaTeXFile): ditto
9080 * Spacing.C (writeEnvirBegin): STRCONV
9082 * LaTeXFeatures.C (getLanguages): STRCONV
9083 (getPackages): ditto
9085 (getBabelOptions): ditto
9086 (getTClassPreamble): ditto
9087 (getLyXSGMLEntities): ditto
9088 (getIncludedFiles): ditto
9092 (scanAuxFile): ditto
9095 * LString.h: add the STRCONV macros
9097 * BufferView_pimpl.C (savePosition): STRCONV
9098 (restorePosition): ditto
9099 (MenuInsertLyXFile): ditto
9101 * vc-backend.C (scanMaster): change from submatch[...] to
9104 * funcrequest.C: include config.h
9106 * factory.C: include config.h
9108 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9110 * box.C: include config.h
9112 * LaTeX.C (scanAuxFile): change from submatch[...] to
9116 2002-10-25 Angus Leeming <leeming@lyx.org>
9118 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9120 * ispell.[Ch] (setError): new method.
9121 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9122 Use setError() insetead of goto END.
9124 * lyx_cb.C (AutoSave): move out child process into new class
9127 2002-10-30 John Levon <levon@movementarian.org>
9129 * text3.C: make start appendix undoable
9131 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9133 * lyxlength.C (inPixels): Fix returned value.
9135 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9138 2002-10-24 Angus Leeming <leeming@lyx.org>
9140 * lyxgluelength.h: no need to forward declare BufferParams
9141 or BufferView, so don't.
9143 2002-10-21 John Levon <levon@movementarian.org>
9145 * BufferView.C: menuUndo ->undo, redo
9147 * BufferView.h: document, remove dead, make some methods private
9149 * paragraph_funcs.h:
9150 * paragraph_funcs.C:
9151 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9156 * sgml.C: move sgml open/close tag into sgml.C
9158 * bufferview_funcs.h: unused prototype
9161 * lyxfunc.C: remove unused
9164 * text.C: remove unused
9166 2002-10-21 John Levon <levon@movementarian.org>
9170 * BufferView_pimpl.h:
9171 * BufferView_pimpl.C: fix mouse wheel handling based on
9172 patch from Darren Freeman
9174 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9176 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9178 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9180 * lyxlength.C (inPixels): Fix hanfling of negative length.
9181 Fix LyXLength::MU case.
9183 2002-10-16 John Levon <levon@movementarian.org>
9185 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9187 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9189 * converter.C (view): add support for $$i (file name) and $$p
9190 (file path) for the viewer command. If $$i is not specified, then
9191 it is appended to the command (for compatibility with old syntax)
9193 2002-10-14 Juergen Vigna <jug@sad.it>
9195 * undo_funcs.C (textHandleUndo): alter the order in which the
9196 new undopar is added to the LyXText, as we have to set first
9197 the right prev/next and then add it as otherwise the rebuild of
9198 LyXText is not correct. Also reset the cursor to the right paragraph,
9199 with this IMO we could remove the hack in "redoParagraphs()".
9201 2002-10-09 Angus Leeming <leeming@lyx.org>
9203 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9204 to turn off an optimisation if a new inset is to be inserted.
9206 2002-10-11 André Pönitz <poenitz@gmx.net>
9208 * lyxtext.h: make some functions public to allow access
9209 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9211 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * text3.C (dispatch): when changing layout, avoid an infinite loop
9216 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * lyxrc.C (read): treat a viewer or converter command of "none" as
9221 * MenuBackend.C (expandFormats): for an update, also allow the
9222 formats that are not viewable
9224 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9225 script if it is newer than the lyxrc.defaults in user directory
9227 2002-10-07 André Pönitz <poenitz@gmx.net>
9229 * text.C: Vitaly Lipatov's small i18n fix
9231 2002-09-25 Angus Leeming <leeming@lyx.org>
9233 * ispell.h: doxygen fix.
9235 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9237 * buffer.h (readFile): Add a new argument to the method, to allow
9238 reading of old-format templates.
9240 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9242 * toc.C (getTocList): Get TOC from InsetWrap.
9244 2002-09-16 John Levon <levon@movementarian.org>
9246 * lyxfunc.C: check tabular for cut/copy too
9248 2002-09-12 John Levon <levon@movementarian.org>
9253 * factory.C: add header
9255 * paragraph_funcs.h:
9256 * paragraph_funcs.C: cleanup
9258 2002-09-11 John Levon <levon@movementarian.org>
9260 * PrinterParams.h: odd/even default to true
9262 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9264 * PrinterParams.h: update printer parameters for new xforms dialog
9266 2002-09-11 Angus Leeming <leeming@lyx.org>
9268 * lyxserver.C (read_ready): re-write to make it more transparent
9269 and to make it work in coherent fashion under Tru64 Unix.
9271 2002-09-11 André Pönitz <poenitz@gmx.net>
9275 * text3.C: implement LFUN_WORDSEL
9277 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9279 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9280 make floatlist_ a boost::shared_ptr<FloatList>
9282 * lyxtextclass.C: include FloatList.h
9283 (LyXTextClass): initialize floatlist_
9284 (TextClassTags): add TC_NOFLOAT
9285 (Read): match "nofloat" to TC_NOFLOAT and use it.
9286 (readFloat): modify call to floatlist_
9290 * FloatList.[Ch] (FloatList): remove commented out float
9292 (erase): new function
9294 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9296 * MenuBackend.C (expandToc): fix crash when there is no document
9299 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9301 * many files: Add insetwrap.
9303 2002-09-09 John Levon <levon@movementarian.org>
9305 * text2.C: remove confusing and awkward depth wraparound
9307 2002-09-09 John Levon <levon@movementarian.org>
9309 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9312 * buffer.C: remove getIncludeonlyList()
9315 * lyxfunc.C: remove headers
9317 2002-09-09 Juergen Vigna <jug@sad.it>
9319 * text.C (getColumnNearX): fix form Michael this is most
9320 probably a cut&paste bug.
9322 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9326 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9327 references, ws changes.
9329 * text2.C (init): update counters after init
9330 (insertParagraph): no need to set counter on idividual paragraphs.
9331 (setCounter): access the counters object in the textclass object
9332 on in the buffer object.
9333 (updateCounters): ditto
9335 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9336 shared_ptr<Counters> to avoid loading counters.h in all
9338 (LyXTextClass): initialize ctrs_
9339 (TextClassTags): add TC_COUNTER, and ...
9340 (Read): use it here.
9341 (CounterTags): new tags
9342 (readCounter): new function
9343 (counters): new funtion
9344 (defaultLayoutName): return a const reference
9346 * counters.C (Counters): remove contructor
9347 (newCounter): remove a couple of unneeded statements.
9348 (newCounter): simplify a bit.
9349 (numberLabel): some small formatting changes.
9351 * buffer.[Ch]: remove all traces of counters, move the Counters
9352 object to the LyXTextClass.
9354 2002-09-06 Alain Castera <castera@in2p3.fr>
9356 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9357 package to set the horizontal alignment on fixed width columns.
9360 * lyx_sty.h: added tabularnewline macro def.
9362 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9364 2002-09-06 John Levon <levon@movementarian.org>
9366 * LyXAction.C: tooltips for sub/superscript
9368 * MenuBackend.C: a bit more verbose
9370 * lyxfunc.C: tiny clean
9372 * undo_funcs.C: document undo_frozen
9374 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9376 * counters.C (Counters): add missing algorithm counter.
9378 * text2.C (setCounter): lookup the counter with layouts latexname
9379 instead of by section number.
9380 (setCounter): use a hackish way to lookup the correct enum
9382 a float name->type change
9383 reset enum couners with counter name directly instead of depth value.
9385 * counters.C (Counters): remove the push_backs, change to use the
9386 float type not the float name.
9387 (labelItem): remove unused string, float name->type change
9389 * counters.h: don't include vector, loose the enums and sects vectors
9391 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9393 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9394 (Read): add float->TC_FLOAT to textclassTags
9395 (Read): and handle it in the switch
9396 (readFloat): new function
9398 * FloatList.C (FloatList): comment out the hardcoded float
9401 * lyxlayout.h: ws change.
9403 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9405 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9407 2002-09-03 Angus Leeming <leeming@lyx.org>
9409 * BufferView_pimpl.h: qualified name is not allowed in member
9410 declaration: WorkArea & Pimpl::workarea() const;
9412 * factory.C: added using std::endl directive.
9414 * text3.C: added using std::find and std::vector directives.
9416 2002-08-29 André Pönitz <poenitz@gmx.net>
9419 * text2.C: remove unused member number_of_rows
9422 * BufferView2.C: remove file, move contents to...
9423 * BufferView.C: ... here
9425 * BufferView_pimpl.C:
9426 * factory.C: move more inset creation to factory
9428 * vspace.C: avoid direct usage of LyXText, ws changes
9431 don't provide direct access to WorkArea, use two simple
9432 acessors haveSelction() and workHeight() instead
9435 2002-08-29 John Levon <levon@movementarian.org>
9437 * BufferView_pimpl.C (dispatch): do not continue when
9440 2002-08-28 André Pönitz <poenitz@gmx.net>
9442 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9445 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9447 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9449 * buffer.C: increment LYX_FORMAT to 221
9451 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9452 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9454 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9456 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9458 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9460 * factory.C (createInset): use LyXTextClass::floats
9462 * MenuBackend.C (expandFloatListInsert):
9463 (expandFloatInsert):
9466 * text2.C (setCounter):
9468 * LaTeXFeatures.C (useFloat):
9469 (getFloatDefinitions):
9471 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9473 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9474 floatlist_, with accessor floats().
9476 * FloatList.h: remove global FloatList
9478 2002-08-26 André Pönitz <poenitz@gmx.net>
9480 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9484 * BufferView_pimpl.C:
9485 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9487 2002-08-25 John Levon <levon@movementarian.org>
9489 * LyXAction.C: fix margin note description
9491 2002-08-24 John Levon <levon@movementarian.org>
9495 * bufferview_funcs.C:
9497 * undo_funcs.C: cleanups
9499 * lyxfunc.C: disable CUT/COPY when no selection
9501 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9503 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9504 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9506 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9507 Add backward compatibility to "mono", "gray" and "no".
9509 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9511 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9512 (and file_format >= 200).
9514 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9516 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9518 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9522 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9524 * BufferView_pimpl.C:
9531 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9532 inset and code to make it work with the paragraph code. The inset
9533 can be anywhere in the paragraph, but will only do the expected
9534 thing in LaTeX if the layout file contains the parameter line
9536 (or more generally, a nonzero value) for that layout.
9538 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9540 * paragraph.h: remove the declaration of undefined counters class
9543 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9545 * text2.C (setCounter): fixed enumeration mis-count as reported by
9546 Dr. Richard Hawkins.
9548 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9550 * paragraph_funcs.h: remove some unneeded includes
9552 * text.C (backspace): pasteParagraph now in global scipe
9554 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9555 (pasteSelection): ditto
9557 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9558 * paragraph_funcs.C (pasteParagraph): ... here
9560 2002-08-20 André Pönitz <poenitz@gmx.net>
9562 * commandtags.h: new LFUNs for swapping/copying table row/colums
9565 * lyxfunc.C: support for new lfuns
9567 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9570 * buffer.[Ch]: remove NO_COMPABILITY stuff
9572 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9574 * boost.C (throw_exception): new file, with helper function for
9575 boost compiled without exceptions.
9580 * ParameterStruct.h:
9581 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9583 * bufferlist.C (emergencyWriteAll): use boost bind
9585 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9587 * text.C: include paragraph_funcs.h
9588 (breakParagraph): breakParagraph is now in global scope
9590 * paragraph_funcs.[Ch]: new files
9592 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9595 * buffer.C: include paragraph_funcs.h
9596 (insertStringAsLines): breakParagraph is now in global scope
9598 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9601 * CutAndPaste.C: include paragraph_funcs.h
9602 (cutSelection): breakParagraphConservative is now in global scope
9603 (pasteSelection): ditto
9605 * buffer.h: declare oprator== and operator!= for
9606 Buffer::inset_iterator
9608 * bufferlist.C (emergencyWrite): don't use fmt(...)
9610 * text3.C: add using std::endl
9612 * BufferView.C (moveCursorUpdate): remove default arg
9614 2002-08-20 André Pönitz <poenitz@gmx.net>
9616 * buffer.[Ch]: move inline functions to .C
9619 * BufferView_pimpl.C:
9621 * buffer.[Ch]: use improved inset_iterator
9624 * paragraph.[Ch]: write one paragraph at a time
9626 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9628 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9629 style if style is not specified.
9631 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9633 * text2.C (setCounter): when searching for right label for a
9634 caption, make sure to recurse to parent insets (so that a caption
9635 in a minipage in a figure float works) (bug #568)
9637 2002-08-20 André Pönitz <poenitz@gmx.net>
9639 * text3.C: new file for LyXText::dispatch() and helpers
9641 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9643 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9645 2002-08-19 André Pönitz <poenitz@gmx.net>
9648 * text.C: new LyXText::dispatch()
9650 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9652 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9654 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9656 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9659 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * Makefile.am: use $(variables) instead of @substitutions@
9663 2002-08-15 André Pönitz <poenitz@gmx.net>
9666 * BufferView_pimpl.C: streamlining mathed <-> outer world
9670 * LyXAction.C: remove unused LFUN_MATH
9672 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9674 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9676 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9678 * paragraph.C (Paragraph): reformat a bit
9679 (cutIntoMinibuffer): use builtin InsetList function instad of
9683 * buffer.C: include boost/bind.hpp, add using std::for_each
9684 (writeFileAscii): use ParagraphList iterators
9685 (validate): use for_each for validate traversal of paragraphs
9686 (getBibkeyList): use ParagraphList iterators
9687 (resizeInsets): use for_each to resizeInsetsLyXText for all
9689 (getParFromID): use ParagraphList iterators
9691 * BufferView2.C (lockInset): use paragraph list and iterators
9693 2002-08-14 John Levon <levon@movementarian.org>
9695 * lyxserver.C: remove spurious xforms include
9697 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9699 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9701 2002-08-13 André Pönitz <poenitz@gmx.net>
9704 * lyxfunc.C: further cleaning
9706 2002-08-13 André Pönitz <poenitz@gmx.net>
9708 * funcrequest.h: new constructor
9710 * funcrequest.C: move stuff here from .h
9713 * BufferView_pimpl.C:
9716 * lyxfunc.C: subsequent changes
9718 * lyxfunc.h: new view() member function
9720 * lyxfunc.C: subsequent changes
9722 2002-08-13 Angus Leeming <leeming@lyx.org>
9725 * BufferView_pimpl.C:
9733 changes due to the changed LyXView interface that now returns references
9734 to member variables not pointers.
9736 2002-08-13 Angus Leeming <leeming@lyx.org>
9738 * WordLangTuple (word, lang_code): return references to strings,
9743 * lyxtext.h: forward-declare WordLangTuple.
9748 * text.C: #include "WordLangTuple.h".
9751 * text.C: (selectNextWordToSpellcheck): constify return type.
9753 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9759 * paragraph_pimpl.h:
9762 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9764 Made updateCounter always count from start of buffer, and removed
9765 second argument (par).
9766 Reverted floats number display to '#'. Perhaps I'll try again when the
9767 code base is sanitized a bit.
9769 2002-08-12 Angus Leeming <leeming@lyx.org>
9771 * buffer.[Ch] (getLabelList): constify.
9773 2002-08-07 André Pönitz <poenitz@gmx.net>
9775 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9777 * funcrequest.h: extension to keep mouse (x,y) position
9779 2002-08-12 Juergen Vigna <jug@sad.it>
9781 * BufferView2.C (insertErrors): forbid undo when inserting error
9784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9786 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9788 * ParagraphList.[Ch]: new files
9790 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9792 * BufferView2.C (lockInset): ParagraphList changes
9795 * bufferlist.C: ditto
9799 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9801 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9802 unused class variable counter_,
9804 * paragraph.[Ch] (getFirstCounter): delete unused function
9806 * counters.C: include LAssert.h
9807 (reset): add a new function with no arg, change other version to
9808 not have def. arg and to not allow empty arg.
9810 * text2.C (setCounter): remove empty arg from call to Counters::reset
9812 2002-08-11 John Levon <levon@movementarian.org>
9814 * Makefile.am: add WordLangTuple.h
9816 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9818 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9819 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9821 * insets/insettext.C: InsetList changes
9823 * graphics/GraphicsSupport.C (operator()): InsetList changes
9825 * toc.C (getTocList): InsetList changes
9827 * paragraph_pimpl.[Ch]: InsetList changes
9829 * paragraph.[Ch]: InsetList changes
9831 * buffer.C (inset_iterator): InsetList changes
9832 (setParagraph): ditto
9833 * buffer.h (inset_iterator): ditto
9834 * iterators.C (operator++): ditto
9835 * iterators.h: ditto
9837 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9839 * InsetList.[Ch]: new files, most InsetList handling moved out of
9842 * BufferView2.C (removeAutoInsets): InsetList changes
9844 (ChangeInsets): ditto
9846 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9848 * paragraph_pimpl.h (empty): new function
9850 * paragraph.[Ch] (empty): new function
9852 * other files: use the new Paragraph::empty function
9854 2002-08-09 John Levon <levon@movementarian.org>
9856 * lyxtext.h: remove unused refresh_height
9858 2002-08-09 John Levon <levon@movementarian.org>
9865 * paragraph.C: move sgml char escaping out of paragraph
9868 * paragraph.C: remove id setter
9872 * paragraph_pimpl.C: remove dead tex_code_break_column
9874 * bufferview_funcs.C: small cleanup
9876 * lyxfunc.C: remove dead proto
9878 * lyxtext.h: make some stuff private. Remove some dead stuff.
9880 * lyxgluelength.C: make as[LyX]String() readable
9882 2002-08-08 John Levon <levon@movementarian.org>
9887 * ToolbarDefaults.C:
9890 * toc.C: lyxaction cleanup
9892 2002-08-08 John Levon <levon@movementarian.org>
9894 * BufferView2.C: small cleanup
9897 * lyxfind.C: move unnecessary header into the .C
9899 2002-08-08 John Levon <levon@movementarian.org>
9901 * funcrequest.h: just tedious nonsense
9904 * lyx_main.C: cleanups
9907 * vspace.C: remove dead header lyx_main.h
9909 2002-08-07 Angus Leeming <leeming@lyx.org>
9912 * paragraph_pimpl.h:
9913 Forward declare class Counters in paragraph.h by moving the ctrs member
9914 variable into Paragraph::Pimpl.
9915 (counters): new method, returning a reference to pimpl_->ctrs.
9917 * text2.C: ensuing changes.
9919 2002-08-07 John Levon <levon@movementarian.org>
9921 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9923 * BufferView_pimpl.C: announce X selection on double/triple
9926 * lyx_main.C: use correct bool in batch dispatch
9928 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9930 2002-08-07 André Pönitz <poenitz@gmx.net>
9932 * funcrequest.h: new class to wrap a kb_action and its argument
9935 * BufferView_pimpl[Ch]:
9939 * lyxrc.C: subsequent changes
9942 2002-08-07 John Levon <levon@movementarian.org>
9944 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9945 document options change.
9947 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9952 * makefile.am: move counters functionality over from
9953 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9955 2002-08-06 John Levon <levon@movementarian.org>
9957 * WordLangTuple.h: new file for word + language code tuple
9968 * BufferView2.C: use WordLangTuple
9971 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9973 2002-08-06 John Levon <levon@movementarian.org>
9975 * lyx_main.C: fix cmdline batch handling
9977 2002-08-06 André Pönitz <poenitz@gmx.net>
9979 * lyxrc.C: set default for show_banner to true
9981 2002-08-06 John Levon <levon@movementarian.org>
9983 * pspell.C: fix a crash, and allow new aspell to work
9985 2002-08-06 John Levon <levon@movementarian.org>
9988 * kbmap.C: small cleanup
9991 * vspace.C: add const
9993 2002-08-05 John Levon <levon@movementarian.org>
9995 * LyXAction.C: back to tabular-insert
9997 2002-08-04 John Levon <levon@movementarian.org>
10000 * BufferView.C: cosmetic change
10002 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10012 * BufferView2.C: purge all "Lyx" not "LyX" strings
10015 * lyxcursor.C: attempt to add some documentation
10020 * ToolbarDefaults.C:
10021 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10022 merge with LFUN_TABULAR_INSERT
10029 * pspell.C: split up i/pspell implementations into separate
10030 files, many cleanups
10032 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10034 * text2.C: some cleanup
10036 * lyxfunc.C: don't check for isp_command == "none" any more, it
10037 didn't make any sense
10039 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10044 * makefile.am: move counters functionality over
10045 from text2.C/paragraph.[Ch] to counters.[Ch], and
10047 2002-08-02 John Levon <levon@movementarian.org>
10049 * buffer.C: s/lyxconvert/lyx2lyx/
10051 2002-08-02 Angus Leeming <leeming@lyx.org>
10053 * lyxlex.C: revert John's change as it breaks reading of the user
10056 2002-08-02 Angus Leeming <leeming@lyx.org>
10058 * importer.C (Import):
10059 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10060 changes due to LyXView::view() now returning a boost::shared_ptr.
10062 2002-08-02 John Levon <levon@movementarian.org>
10064 * lyxlex.C: small cleanup
10066 2002-08-02 John Levon <levon@movementarian.org>
10068 * text2.C (status): small cleanup, no logic change
10070 2002-08-01 John Levon <levon@movementarian.org>
10073 * buffer.C (writeFile): don't output alerts, caller
10077 * lyx_cb.C: from above
10079 * lyxfunc.C: allow to open non-existent files
10081 2002-07-31 John Levon <levon@movementarian.org>
10083 * lyxserver.C: don't let incidental errors get
10086 2002-07-30 John Levon <levon@movementarian.org>
10088 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10090 2002-07-30 John Levon <levon@movementarian.org>
10093 * lyxserver.C: remove I/O callback too
10095 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10097 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10100 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10102 * many files: strip,frontStrip -> trim,ltrim,rtrim
10104 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10106 * PrinterParams.h: remove extern containsOnly, and include
10107 support/lstrings.h instead.
10109 * LaTeX.C (scanAuxFile): modify because of strip changes
10111 * buffer.C (makeLaTeXFile): ditto
10112 * bufferparams.C (writeFile): ditt
10113 * lyxfont.C (stateText): ditto
10114 * lyxserver.C (read_ready): ditto
10115 * vc-backend.C (scanMaster): ditto
10117 * BufferView_pimpl.h: ws changes
10119 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10121 2002-07-26 André Pönitz <poenitz@gmx.net>
10123 * kb_sequence.C: remove unnedred usings
10125 2002-07-26 Juergen Vigna <jug@sad.it>
10127 * lyxfind.C (LyXReplace): we have to check better if the returned
10128 text is not of theLockingInset()->getLockingInset().
10130 2002-07-25 Juergen Vigna <jug@sad.it>
10132 * lyxfind.C (LyXReplace): don't replace if we don't get the
10135 * undo_funcs.C (createUndo): remove debugging code.
10137 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10139 * buffer.C (parseSingleLyXformat2Token): Use default placement
10140 when reading old floats.
10142 * FloatList.C (FloatList): Change the default placement of figure
10143 and tables to "tbp".
10145 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10147 * MenuBackend.C: using std::max
10149 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10151 * MenuBackend.C (expandToc):
10152 (expandToc2): code moved from xforms menu frontend. It is now
10153 generic and TOCs are transparent to menu frontends.
10155 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10157 * toc.C (getTocList): protect against buf=0
10159 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10160 Menu as first parameter. Now, this calls itself recursively to
10161 expand a whole tree (this will be useful for TOC handling)
10162 (expandFloatInsert): remove 'wide' version of floats
10164 * MenuBackend.h (submenuname): returns the name of the submenu.
10165 (submenu): returns the submenu itself, provided it has been
10166 created by MenuBackend::expand
10168 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10170 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10171 insets which have noFontChange == true. (bug #172)
10173 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * BufferView_pimpl.C: add connection objects and use them...
10178 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10180 * MenuBackend.C (expandLastfiles):
10183 (expandFloatListInsert):
10184 (expandFloatInsert):
10185 (expand): split expand in parts
10187 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10189 * lyx_gui.C: use lyx_gui::exit()
10191 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10193 * LyXAction.C: show the failing pseudo action
10195 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10197 * buffer.C (readFile): Run the lyxconvert script in order to read
10200 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10204 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10206 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10210 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10212 2002-07-22 Herbert Voss <voss@lyx.org>
10215 * lyxlength.[Ch]: add support for the vertical lengths
10217 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10219 * toc.[Ch]: std:: fixes
10221 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * lyxrc.C: do not include lyx_main.h
10225 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10231 * BufferView2.C: include "lyxlex.h"
10234 * bufferparams.h: do not #include "lyxlex.h"
10236 * lyxtextclasslist.C (Add): remove method
10237 (classlist): renamed to classlist_
10239 * paragraph_pimpl.C:
10243 * bufferview_funcs.C:
10248 * toc.C (getTocList): use BufferParams::getLyXTextClass
10250 * toc.C (getTocList): use InsetFloat::addToToc
10252 * toc.[Ch]: new files, containing helper functions to handle table
10255 * lyxfunc.C (dispatch): no need to remove spaces around command
10257 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10258 first command of the sequence; it is not very clever, but I do not
10259 have a better idea, actually
10261 * LyXAction.C (LookupFunc): make sure to remove space at the
10262 beginning and end of the command
10264 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10266 * MenuBackend.C (getMenubar): new method: return the menubar of
10268 (read): treat differently reading of menu and menubar (in
10269 particular, the menubar has no name now)
10270 (Menu::menubar): remove
10272 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10275 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10277 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10278 a bibitem inset in a RTL paragraph.
10280 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10282 * paragraph_pimpl.C: constify
10284 * BufferView_pimpl.C:
10286 * lyxfunc.C: fix dispatch in a nicer way
10288 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10290 * lyxfunc.C (dispatch):
10291 * BufferView_pimpl.C:
10292 * BufferView_pimpl.h:
10294 * BufferView.h: rename Dispatch() to dispatch()
10296 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10298 * lyxlayout.C (Read): honor DependsOn tag
10300 * lyxlayout.[Ch] (depends_on): new method
10302 * version.C.in: update lyx_docversion
10304 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10306 * paragraph.C (validate): remove from here...
10307 * paragraph_pimpl.C (validate): ... and move here
10308 (isTextAt): make it const
10310 * buffer.C (getLists): ws cleanup
10312 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10314 * language.C (read): Use iso8859-1 encoding in latex_lang
10315 (this prevents LyX from crashing when using iso10646-1 encoding).
10317 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10319 * text2.C (toggleInset): if cursor is inside an inset, close the
10320 inset and leave cursor _after_ it
10322 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10324 * lyxfunc.C: move minibuffer completion handling out of here
10326 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10328 * BufferView_pimpl.C:
10329 * LaTeX.C: fix dispatch calls
10331 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10333 * text.C (drawChars): Fix Arabic text rendering.
10335 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10339 * lyxfunc.C: remove message-push/pop
10343 * lyxfunc.C: rationalise some code by removing verboseDispatch
10344 in favour of a bool argument to dispatch()
10346 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10348 * lyx_main.C (init): make sure to read symlinks as absolute paths
10350 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10353 * lyxfunc.C: no need for commandshortcut to be a member
10355 2002-07-15 André Pönitz <poenitz@gmx.net>
10357 * converter.C: add support for $$s (scripts from lib/scripts dir)
10358 * lyx_main.C: white space
10360 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10364 * lyxrc.C: remove second exit confirmation
10366 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10371 * BufferView_pimpl.h:
10372 * BufferView_pimpl.C:
10373 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10375 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10377 * MenuBackend.C (expand): add numeric shortcuts to document menu
10379 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10381 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10383 * lyxfont.C (setLyXFamily):
10390 * buffer.C (asciiParagraph): use ascii_lowercase
10392 2002-07-15 Mike Fabian <mfabian@suse.de>
10394 * lyxlex_pimpl.C (search_kw):
10395 * lyxlex.C (getLongString):
10396 * converter.h (operator<):
10397 * converter.C (operator<):
10398 * buffer.C (parseSingleLyXformat2Token):
10400 * ToolbarDefaults.C (read):
10401 * MenuBackend.C (checkShortcuts):
10403 * LColor.C (getFromGUIName):
10404 (getFromLyXName): use the compare_ascii_no_case instead of
10405 compare_no_case, because in turkish, 'i' is not the lowercase
10406 version of 'I', and thus turkish locale breaks parsing of tags.
10408 2002-07-16 Angus Leeming <leeming@lyx.org>
10410 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10411 now takes a Buffer const & argument.
10413 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView.C (resize): check there's a buffer to resize
10417 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxfunc.C: remove dead code
10422 * lyxserver.C: use lyx_guii::set_read_callback
10424 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10426 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10427 an inset in a RTL paragraph.
10429 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10431 * lyxfunc.C: repaint after a font size update
10433 2002-07-15 André Pönitz <poenitz@gmx.net>
10435 * lyxlength.C: inBP should be able to return negative values
10437 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10439 * lyxfunc.C: use lyx_gui::update_fonts()
10441 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10443 * lyxfunc.C: use lyx_gui::update_color()
10445 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10451 * lyxrc.C: remove file->new asks for name option, and let
10452 buffer-new take an argument
10454 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C: remove unneeded extra repaint()
10458 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10460 * LyXAction.C: allow command-sequence with NoBuffer
10462 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10464 2002-07-10 Angus Leeming <leeming@lyx.org>
10466 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10468 2002-07-09 Angus Leeming <leeming@lyx.org>
10470 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10472 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10474 * lengthcommon.h: whitespace
10476 * lyxfunc.C: update scrollbar after goto paragraph
10478 * lyxtext.h: factor out page break drawing, and fix it so
10479 page break/added space paints as selected nicely
10481 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10483 * BufferView_pimpl.C: add FIXMEs, clean up a little
10485 2002-07-09 André Pönitz <poenitz@gmx.net>
10487 * lyxfont.[Ch]: support for wasy symbols
10489 2002-07-08 André Pönitz <poenitz@gmx.net>
10491 * BufferView_pimpl.C: apply John's patch for #93.
10493 2002-07-05 Angus Leeming <leeming@lyx.org>
10495 * BufferView_pimpl.C (buffer): generate previews if desired.
10497 * LColor.h: add "preview" to the color enum.
10499 * LColor.C (LColor): add a corresponding entry to the items array.
10501 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10504 2002-07-05 Angus Leeming <leeming@lyx.org>
10506 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10507 The body of the code is now in the method that is passed an ostream &
10508 rather than a file name.
10509 Pass an additional only_preamble parameter, useful for the forthcoming
10512 2002-07-03 André Pönitz <poenitz@gmx.net>
10514 * lyxfunc.C: simplify getStatus() a bit for math stuff
10516 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10520 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10522 * text.C (changeRegionCase): do not change case of all the
10523 document when region ends at paragraph end (bug #461)
10525 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10527 * paragraph.C (startTeXParParams):
10528 (endTeXParParams): add \protect when necessary
10530 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10532 * BufferView_pimpl.C (workAreaExpose): remove warning
10534 2002-06-27 Angus Leeming <leeming@lyx.org>
10536 * Makefile.am: add lyxlayout_ptr_fwd.h.
10538 2002-06-26 André Pönitz <poenitz@gmx.net>
10540 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10542 2002-06-25 Angus Leeming <leeming@lyx.org>
10544 * lyxfunc.C (dispatch): Comment out the call to
10545 grfx::GCache::changeDisplay. The method no longer exists now that the
10546 pixmap generation part of the graphics loader has been moved into
10549 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10551 * text2.C: layout as layout
10553 * text.C: layout as layout
10555 * tabular.C (OldFormatRead): layout as layout
10557 * paragraph_pimpl.C (TeXDeeper): layout as layout
10558 (realizeFont): layout as layout
10560 * paragraph.C (writeFile): layout as layout
10561 (validate): layout as layout
10562 (getFont): layout as layout
10563 (getLabelFont): layout as layout
10564 (getLayoutFont): layout as layout
10565 (breakParagraph): layout as layout
10566 (stripLeadingSpaces): layout as layout
10567 (getEndLabel): layout as layout
10568 (getMaxDepthAfter): layout as layout
10569 (applyLayout): layout as layout
10570 (TeXOnePar): layout as layout
10571 (simpleTeXOnePar): layout as layout
10572 (TeXEnvironment): layout as layout
10573 (layout): layout as layout
10574 (layout): layout as layout
10576 * lyxtextclass.C (compare_name): new functor to work with
10577 shared_ptr, layout as layout
10578 (Read): layout as layout
10579 (hasLayout): layout as layout
10580 (operator): layout as layout
10581 (delete_layout): layout as layout
10582 (defaultLayout): layout as layout
10584 * lyxlayout_ptr_fwd.h: new file
10586 * lyxlayout.C (Read): layout as layout
10588 * lyx_cb.C (MenuInsertLabel): layout as layout
10590 * bufferlist.C (newFile): layout as layout
10592 * buffer.C (readLyXformat2): layout as layout
10593 (parseSingleLyXformat2Token): layout as layout
10594 (insertStringAsLines): layout as layout
10595 (asciiParagraph): layout as layout
10596 (latexParagraphs): layout as layout
10597 (makeLinuxDocFile): layout as layout
10598 (simpleLinuxDocOnePar): layout as layout
10599 (makeDocBookFile): layout as layout
10600 (simpleDocBookOnePar): layout as layout
10601 (getLists): layout as layout
10603 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10605 * CutAndPaste.C (cutSelection): layout as layout
10606 (pasteSelection): layout as layout
10607 (SwitchLayoutsBetweenClasses): layout as layout
10609 * BufferView_pimpl.C (Dispatch): layout as layout
10610 (smartQuote): layout as layout
10612 * BufferView2.C (unlockInset): layout as layout
10614 2002-06-24 André Pönitz <poenitz@gmx.net>
10616 * lyxfunc.C: fix #487
10618 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10622 * lyxfunc.C: remove display_shortcuts, show_banner
10624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10626 * Buffer_pimpl.C: oops, update on resize
10628 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10635 * BufferView.C: use repaint()
10637 * BufferView_pimpl.h:
10638 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10639 as it's a clearer description. Remove superfluous
10642 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10644 * text.C: fix bug 488. Not ideal, but getting
10645 getWord() to work properly for the insets that
10646 matter is more difficult ...
10648 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10650 * BufferView_pimpl.C:
10653 * lyxfunc.C: remove the six million index lyxfuncs to just
10654 one, and DTRT (bug 458)
10656 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10660 * BufferView_pimpl.h:
10661 * BufferView_pimpl.C: clean up resize() stuff,
10662 and unnecessary updateScreen()s
10664 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.h:
10669 * BufferView_pimpl.C:
10672 * minibuffer.C: remove focus management of workarea,
10673 not needed. Use screen's greyOut()
10675 2002-06-17 Herbert Voss <voss@lyx.org>
10677 * converter.C: (convert) do not post a message, when converting
10678 fails, let the calling function decide what to do in this case
10680 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10682 * lyxfunc.C: tidy up a little
10684 2002-06-16 <alstrup@diku.dk>
10686 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10687 Got rid of FORMS_H_LOCATION include. Now we are
10690 2002-06-15 LyX Development team <lyx@rilke>
10692 * buffer.[Ch] (sgmlOpenTag):
10693 (sgmlCloseTag): Added support for avoiding pernicious mixed
10694 content. Return number of lines written.
10696 (makeLinuxDocFile):
10697 (makeDocBookFile): Fixed calls to sgml*Tag.
10698 Simple white space clean.
10700 (simpleDocBookOnePar): Simple white space clean.
10702 * tabular.[Ch] (docBook): Renamed to docbook and got another
10703 argument to related with the pernicious mixed content.
10705 (docbookRow): Fixed calls for docbook inset method.
10707 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10709 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10710 so it's X11 independent.
10714 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10716 2002-06-15 Lyx Development team <lyx@electronia>
10718 * intl.h: Renamed getTrans to getTransManager.
10720 2002-06-14 Angus Leeming <leeming@lyx.org>
10722 * Makefile.am: nuke forgotten stl_string_fwd.h.
10724 2002-06-12 Angus Leeming <leeming@lyx.org>
10726 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10728 2002-06-13 Angus Leeming <leeming@lyx.org>
10731 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10733 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10735 * kbmap.C (getiso): add support for cyrillic and greek
10737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10741 * BufferView_pimpl.h:
10742 * BufferView_pimpl.C: move bogus scrolling logic
10745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10748 * BufferView_pimpl.C: view->resize() change
10750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.C: topCursorVisible
10755 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10759 * lyx_gui.C: move to frontends/
10763 * lyx_main.C: changes from above
10765 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10772 * lyx_main.C: minor tidy
10774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10776 * BufferView_pimpl.h:
10777 * BufferView_pimpl.C:
10779 * BufferView.C: make painter() const,
10782 * BufferView2.C: use screen() accessor
10785 * lyx_main.C: some minor cleanup
10787 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10789 * BufferView_pimpl.h:
10790 * BufferView_pimpl.C: remove enter/leaveView,
10793 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10798 * BufferView_pimpl.h:
10799 * BufferView_pimpl.C: only construct screen once,
10802 * lyxrc.C: remove pointless comment
10804 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10807 * BufferView.C: remove active() and belowMouse()
10809 * BufferView_pimpl.h:
10810 * BufferView_pimpl.C: use workarea() not workarea_,
10811 and make it use a scoped_ptr instead
10813 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10815 * lyx_gui.C: add debug message on BadWindow
10817 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10819 * sp_spell.C: fdopen is not part of the C++ standard.
10821 * paragraph.C (InsetIterator): use >= instead of ==
10823 2002-06-07 Angus Leeming <leeming@lyx.org>
10825 Fixes needed to compile with Compaq cxx 6.5.
10826 * BufferView_pimpl.C:
10833 * lyxtextclasslist.C:
10838 all c-library variables have been moved into namespace std. Wrap
10839 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10844 Add a using std::abs declaration.
10846 * kbmap.h (modifier_pair):
10847 * paragraph.h (InsetTable, InsetList):
10848 * lyxfont.h (FontBits):
10849 type definition made public.
10851 * bufferlist.C (emergencyWriteAll): the compiler complains that
10852 there is more than one possible lyx::class_fun template to choose from.
10853 I re-named the void specialisation as lyx::void_class_fun.
10855 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10857 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10858 the compiler is is unable to find tostr in write_attribute.
10860 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * buffer.C (sgmlError): hide #warning
10864 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * xtl/*: get rid of xtl, which is not in use anyway
10868 * LyXAction.C (init):
10869 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10870 were unimplemented xtl experimentation
10872 2002-06-04 André Pönitz <poenitz@gmx.net>
10874 * lyxfunc.C: disable array operation on simple formulae
10876 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10878 * converter.C: constify a bit
10880 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10882 * lyx_gui.C: check xforms version correctly
10884 2002-04-30 Herbert Voss <voss@lyx.org>
10886 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10889 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10892 attempt to register it with a VCS)
10894 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * lyx_main.C (init): honor variables LYX_DIR_13x and
10899 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10903 * lyx_main.C: fix a crash on bad command line,
10904 and give a useful exit status on error
10906 * lyxfunc.C (doImport): allow -i lyx to work
10908 2002-03-30 André Pönitz <poenitz@gmx.net>
10910 * lyxfunc.C: mathed font changes
10912 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10927 * trans_mgr.h: srcdocs, and some minor cleanups
10929 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10932 call getFont all the time)
10934 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * switch from SigC signals to boost::signals
10938 2002-05-29 André Pönitz <poenitz@gmx.net>
10940 * paragraph_pimpl.C (getChar): don't call size() too often...
10942 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * paragraph_pimpl.C (insertChar): do not try to update tables when
10945 appending (pos == size())
10947 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10948 in order to reduce drastically the number of comparisons needed to
10949 parse a large document
10951 2002-05-29 André Pönitz <poenitz@gmx.net>
10957 * textclasslist.[Ch]:
10958 * sp_ispell.h: whitespace change
10960 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10962 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10963 lyxaction directly now.
10965 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10969 * lyxvc.C: remove unused headers
10971 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10978 * undo_funcs.C: some cleanups. Use shared_ptr
10979 and a template for the undo stacks.
10981 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10983 * BufferView_pimpl.h:
10984 * BufferView_pimpl.C:
10991 * text2.C: use key_state/mouse_state
10993 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10998 * chset.C: change include order
10999 (loadFile): use boost regex and get rid of LRegex and LSubstring
11001 * Makefile.am (BOOST_LIBS): new variable
11002 (lyx_LDADD): use it
11004 * LaTeX.C: change include order.
11005 (scanAuxFile): use boost regex and get rid of LRegex and
11009 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11014 * FontInfo.C: moved to frontends/xforms/
11017 * FontLoader.C: moved into frontends for GUIIzation
11022 * lyxfunc.C: changes from above
11024 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11026 * LColor.C: remove spurious X include
11028 * BufferView_pimpl.C:
11033 * text2.C: move font metrics to frontends/
11035 2002-05-24 Juergen Vigna <jug@sad.it>
11037 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11038 setting the undo_cursor.
11040 * ParagraphParameters.h: include local includes first.
11042 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.C:
11045 * BufferView_pimpl.h:
11049 * screen.C: move WorkArea into frontends/
11055 * BufferView2.C: move LyXScreen into frontends/
11059 * lyx_gui.C: move lyxlookup into frontends/xforms/
11061 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11064 * BufferView_pimpl.C:
11074 * bufferview_funcs.C:
11087 * vc-backend.C: move LyX/XFormsView into frontends/
11089 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11101 * text2.C: move Painter to frontends/
11103 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11105 * buffer.C: comment out some some code that depend upon lyx_format
11108 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11109 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11111 * buffer.h (NO_COMPABILITY): turn off compability
11113 * ColorHandler.C: include scoped_array.hpp
11115 * font.C: Use more specific smart_ptr header.
11118 * ShareContainer.h: ditto
11119 * lyx_main.h: ditto
11121 * FontInfo.h: ditto
11122 * BufferView_pimpl.h: ditto
11123 * ColorHandler.h: ditto
11125 * kbmap.C (defkey): change call to shared_ptr::reset
11127 2002-05-21 Juergen Vigna <jug@sad.it>
11129 * buffer.C (insertErtContents): fix to insert ert asis if it is
11130 non empty. Skip it completely if it contains only whitespaces.
11132 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView_pimpl.C:
11135 * BufferView2.C: clear selection on paste (bug 393)
11137 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11139 * DepTable.C: include ctime
11141 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11143 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11145 2002-05-14 Juergen Vigna <jug@sad.it>
11147 * text.C (breakParagraph): fixed function to honor the keepempty
11148 layout in the right maner and also to permit the right breaking
11149 algorithm on empty or non empyt keepempty paragraphs.
11151 * paragraph.C (breakParagraph): we have to check also if the par
11152 is really empty (!size()) for isempty otherwise we do the wrong
11155 2002-05-10 Juergen Vigna <jug@sad.it>
11157 * buffer.[Ch] : The following are only changes to the ert
11158 compatibility read reading old LaTeX layout and font stuff and
11159 convert it to ERTInsets.
11161 * buffer.h: added isErtInset().
11163 * buffer.C (struct ErtComp): add a fromlayout bool to check
11164 if we're inside a LaTeX layout.
11165 (isErtInset): new helper function.
11166 (insertErtContents): look for other ert insets before this one
11167 and insert the contents there, so that we don't have subsequent
11168 ERT insets with nothing between them. This way we create only one
11169 inset with multiple paragraphs. Also check if we don't insert only
11170 spaces ' ' as they are ignored anyway afterwards in the .tex file
11171 so if we have only spaces we will ignore this latex part in the
11173 (parseSingleLyXformat2Token \\layout): better compatibility when
11174 reading layout-latex stuff.
11175 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11177 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11178 stuff after reading the inset only get the information back from
11181 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11183 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11185 * LaTeXFeatures.C (getBabelOptions): New method.
11187 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * BufferView_pimpl.C (Dispatch): work around missing argument for
11192 2002-05-08 Juergen Vigna <jug@sad.it>
11194 * text.C (leftMargin): handle paragraph leftindent.
11196 * paragraph.C (writeFile): write the new \\leftindent tag.
11197 (validate): handle leftindent code.
11198 (TeXEnvironment): handle paragraphleftindent code again.
11200 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11202 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11203 for paragrap_extra indent code and new token \\leftindent.
11204 (latexParagraphs): handle the leftindent as environment.
11206 * ParameterStruct.h: added leftindent support.
11208 * ParagraphParameters.C (leftIndent): added support functions for
11209 the paragraph left indent.
11211 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11214 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11216 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11219 * text.C (computeBidiTables): No bidi in insetERT.
11221 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11224 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11226 * version.C.in: pre 5
11228 2002-05-02 José Matos <jamatos@fep.up.pt>
11229 * buffer.C (makeDocBookFile): white space changes, add newline to
11231 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11233 * tabular.C (docBook): fix typo.
11235 2002-05-03 Juergen Vigna <jug@sad.it>
11237 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11238 change in LyXText as we can not be sure it was not freed.
11239 (drawOneRow): remove unused code.
11241 * text.C (drawInset): redo the calculation of the need_break_row as
11242 it could have a row which was already freed.
11243 (draw): look at the return value of drawInset and return false if
11244 it also returned false.
11245 (paintRowText): look at the return value of draw and return false if
11246 it also returned false.
11248 * lyxtext.h: added bool return type to drawInset() and draw() so that
11249 if we have a change in the row so that the rowbreak has to be redone
11250 we abort drawing as it will be called again.
11252 2002-05-02 Juergen Vigna <jug@sad.it>
11254 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11255 a change in the maintext also if we're inside an inset.
11256 (Dispatch): set the cursor again after a break line and after the
11257 screen has been updated as it could be we're in a different row.
11259 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11260 to set the cursor behind the pargraph with > size().
11261 (setCursor): check also for the same paragraph when checking where
11262 to put the cursor if we have a NFR inset.
11264 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11265 parts of layout read further up as it still was in the wrong
11268 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11270 * screen.C (drawFromTo): change sine fullRebreak always return
11273 * buffer.C (parseSingleLyXformat2Token): reindent some
11275 * BufferView_pimpl.C (update): change since fullRebreak always
11277 (Dispatch): git rid of the last hardcoded "Standard"s.
11279 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * text2.[Ch] (fullRebreak): make it return void now that we always
11284 2002-04-30 Juergen Vigna <jug@sad.it>
11286 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11287 ert compatibility check for "latex" layout.
11289 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11291 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11292 minipages: use col% instead of p%, and also use the current font.
11293 (makeLaTeXFile): Fix use babel condition.
11294 (parseSingleLyXformat2Token): Correct font when reading old floats.
11296 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11298 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11299 inserting list of floats.
11301 2002-04-25 Herbert Voss <voss@lyx.org>
11303 * MenuBackend.C (expand): don't add the graphics extensions to the
11306 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11309 non-existing layout, do not complain if it was the default layout
11310 of the original class (bug #342)
11312 2002-04-24 Juergen Vigna <jug@sad.it>
11314 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11315 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11317 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11319 * buffer.C (getBibkeyList): If using \bibliography, return the
11320 option field with the reference itself. Enables us to provide natbib
11321 support when using \bibliography.
11323 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11325 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11327 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11328 natbib is provided by the LaTeX class.
11330 2002-04-23 Juergen Vigna <jug@sad.it>
11332 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11335 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11337 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11339 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11341 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11342 ensuremath around textordmasculine, textordfeminine and
11345 2002-04-19 Juergen Vigna <jug@sad.it>
11347 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11348 reinitializing the buffer otherwise row-dimensions may be wrong.
11349 (update): reset also the selection cursors if they do exits otherwise
11350 their x/y positions may be wrong.
11352 * text2.C (cursorDown): don't enter the inset if we came from a row
11353 above and are one row over the inset.
11355 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11356 really leaving an inset.
11358 2002-04-18 Juergen Vigna <jug@sad.it>
11360 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11361 of the selected paragraph does not have the selected layout also if
11364 * text2.C (setLayout): fixed bug which did not change last selected
11367 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11368 changed the read and substituted \\end_float with \\end_inset!
11370 * BufferView_pimpl.C (cursorPrevious):
11371 (cursorNext): fixed to make it work with rows heigher than the work
11372 area without moving the cursor only the draw of the row.
11373 (workAreaMotionNotify): fix jumping over high rows.
11375 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11380 2002-04-16 Juergen Vigna <jug@sad.it>
11382 * text2.C (setCursor): set also the irow().
11383 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11385 (cursorDown): support for locking an inset if the x_fix value goes
11386 inside it. That way I can transverse insets too with cursor up/down.
11388 * lyxrow.h: added irow helper function same as other (i) functions.
11390 * BufferView_pimpl.C (cursorPrevious):
11391 (cursorNext): fixed for insets!
11393 2002-04-15 Juergen Vigna <jug@sad.it>
11395 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11396 position otherwise it is wrong in some cases.
11398 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11399 inside the inset before the call.
11401 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11403 * buffer.[Ch] (getBibkeyList): make it const.
11405 2002-04-12 Juergen Vigna <jug@sad.it>
11407 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11409 * text2.C (getCursorX): new helper function
11410 (setCursor): compute also ix_
11411 (setCursorFromCoordinates): set also ix.
11413 * lyxcursor.h: added ix_ and helper functions.
11415 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11417 * buffer.C (insertStringAsLines): dont break paragraph if the this
11418 paragraph is inside an inset which does not permit it!
11420 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11421 also with no chars on this paragraph.
11422 (paintRowText): only paint stuff if it's inside the workarea!
11424 * paragraph.C (breakParagraph): honor keepempty flag and break the
11425 paragraph always below not above.
11427 * BufferView2.C (unlockInset): update the paragraph layout on inset
11428 unlock as we changed paragraph in such a case.
11430 * lyxfind.C (LyXFind): clear the former selection if not found!
11432 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11433 again called in insertChar().
11435 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11436 an inset which uses the whole row!
11437 (rightMargin): ditto.
11438 (insertChar): force a rebreak if we inserted an inset!
11440 2002-03-28 Herbert Voss <voss@lyx.org>
11442 * lyxlength.[Ch]: add inBP() to get the right PS-point
11443 units (BigPoint). With inPixels we have rounding errors
11445 2002-04-11 Juergen Vigna <jug@sad.it>
11447 * text2.C (setCursorFromCoordinates): set iy to the right value.
11448 (setCursor): add check if row->previous exists!
11450 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11451 an old float_type as this was the case in the old code!
11453 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11455 * BufferView2.C (showLockedInsetCursor): use iy
11456 (fitLockedInsetCursor): ditto
11458 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11459 locked insets as there we have the right value now.
11461 * lyxcursor.C: added iy_ variable and iy functions to set to the
11462 baseline of cursor-y of the locked inset.
11464 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11465 (setCursor): fixed for insets which need a full row.
11467 * text.C (rowLastPrintable): don't ignore the last space when before
11468 an inset which needs a full row.
11469 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11470 as last character of a row when before a inset which needs a full row.
11472 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * version.C.in: update date
11476 * text2.C (fullRebreak): try to always return true and see what
11479 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * MenuBackend.C (expand): use Floating::listName
11483 * FloatList.C (FloatList): add listName argument to the built-in
11486 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11487 text associated with the float.
11489 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11493 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * ShareContainer.h: add a couple of missing typenames.
11497 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11499 * lyxrc.C (getDescription): use _() correctly rather than N_().
11501 2002-03-28 Herbert Voss <voss@lyx.org>
11503 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11504 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11506 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11508 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11509 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11511 2002-03-29 Juergen Vigna <jug@sad.it>
11513 * lyxfunc.C (dispatch): add a missing fitCursor call.
11515 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11516 it was scrolled by a cursor move, so return the bool status.
11518 * BufferView.C (fitCursor): return the bool flag also to the outside
11519 world as this is needed.
11521 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11523 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11524 call the edit() as it is not needed (and wrong) IMO.
11525 (workAreaButtonPress): set the screen_first variable before evt.
11526 unlock the inset as this may change screen_first and then we have
11527 a wrong y position for the click!
11529 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11531 * MenuBackend.C (expand): another translation that I missed
11533 2002-03-28 Juergen Vigna <jug@sad.it>
11535 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11537 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11539 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11541 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11543 * MenuBackend.C (expand): fix export/view/update when there is no
11546 2002-03-27 Herbert Voss <voss@lyx.org>
11548 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11551 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11553 * bufferview_funcs.C (currentState): only show paragraph number
11554 for is DEVEL_VERSION is set.
11556 * lyxfunc.C (dispatch): put warning in INFO channel
11558 * MenuBackend.C (expand): translate the name of floats
11560 * FloatList.C (FloatList): mark the float names for translation
11562 * converter.C (convert): use LibScriptSearch
11564 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11566 * MenuBackend.C (defaults): fix default menu (we might as well get
11569 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11571 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11574 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * lyxvc.C: reorder includes.
11578 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11580 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11583 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11585 * CutAndPaste.C: change layouts earlier on paste
11586 to avoid crashing when calling getFont()
11588 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11590 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11593 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11595 * WorkArea.C: remove 'Pending' debug message.
11597 * most files: ws cleanup
11599 * buffer.[Ch]: ws changes
11601 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11603 2002-03-21 Juergen Vigna <jug@sad.it>
11605 * tabular.C (SetMultiColumn): collapse also the contents of the
11606 cells and set the last border right. Added a Buffer const * param.
11608 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11613 2002-03-19 Juergen Vigna <jug@sad.it>
11615 * text2.C (clearSelection): reset also xsel_cache.
11617 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11618 where it needs to be called (John tells us to do so too :)
11619 (selectionLost): reset sel_cache.
11621 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11623 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11625 * text2.C (setCursorIntern): put debuging code in INSETS channel
11627 2002-03-19 André Pönitz <poenitz@gmx.net>
11629 * lyxfunc.C: tiny whitespace change
11631 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * ToolbarDefaults.C (init):
11634 * LyXAction.C (init):
11636 * BufferView_pimpl.C (Dispatch):
11637 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11639 2002-03-19 Allan Rae <rae@lyx.org>
11641 * exporter.C (Export): removeAutoInsets before doing anything else.
11642 While I've just introduced a dependency on BufferView this really is
11643 the best place to clean the buffer otherwise you need to cleanup in
11644 a dozen places before calling export or cleanup in a dozen functions
11647 * converter.C (runLaTeX):
11648 (scanLog): Better handling of removeAutoInsets and screen updates.
11650 * lyxfunc.C (dispatch): small whitespace changes
11652 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * WorkArea.C (C_WorkAreaEvent): return a value.
11655 (event_cb): return 1 if we handled the event, 0 otherwise.
11657 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11659 2002-03-18 Juergen Vigna <jug@sad.it>
11661 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11662 (GetAdditionalWidth): ditto.
11663 (RightLine): ditto.
11666 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11667 inset if we're there actually (probably not used right now but this
11668 is the direction to go for unifying code).
11669 (paste): disable code to clear the selection.
11671 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11672 inside an InsetText and move the check further up as it is in the
11675 * text2.C (pasteSelection): set a selection over the pasted text.
11677 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11679 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11680 and libgraphics to build on Cygwin.
11682 2002-03-15 Juergen Vigna <jug@sad.it>
11684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11685 inserting an Inset into the paragraph. I know this is not the best
11686 fix but we already use current_view in CutAndPaste so we will remove
11687 all of it's using at the same time.
11689 * buffer.C (sgmlError): deactivated function till it is rewritten in
11690 the right mode, now it can create problems.
11692 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11693 before accessing it.
11695 2002-03-14 Juergen Vigna <jug@sad.it>
11697 * undo_funcs.C (textHandleUndo): do the right thing when updating
11698 the inset after the undo/redo.
11700 * text2.C (setCursor): just some testcode for #44 not ready yet.
11702 * undo_funcs.C (textHandleUndo): set the next() and previous()
11703 pointers of the paragraph to 0 before deleting otherwise we have
11704 problems with the Paragraph::[destructor].
11706 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11707 on a paragraph insertion.
11709 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11711 * buffer.C (asciiParagraph): use += operator for char append to
11714 * paragraph.C (getFontSettings): compare >= not just >
11715 (highestFontInRange): ditto
11718 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * paragraph.C: change several algorithm to be more appripriate for
11721 the problem domain. This is lookip in FontList and in the InsetList.
11723 2002-03-13 André Pönitz <poenitz@gmx.net>
11726 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11728 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11733 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11735 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11737 * Painter.C (display): anon helper function, adjust code for this
11739 (pixmap): remove function.
11741 * Painter.h: remove private display variable.
11743 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11745 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11747 * WorkArea.[Ch]: remove figinset_canvas cruft.
11749 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11751 * lyxtextclass.C (operator): add one item cache optimization.
11753 * bufferlist.h: doxy changes
11755 * bufferlist.C: ws changes
11757 * DepTable.[Ch] (ext_exist): place const in the right spot.
11759 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11761 (workAreaExpose): call resizeInsets when the with BufferView changes.
11762 (Dispatch): adjust for protectedBlank removal
11763 (specialChar): call updateInset if the insert went ok.
11765 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11766 specialChar instead.
11768 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11770 * BufferView.h: doxy change
11772 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11774 * lyxtextclass.C (operator[]): remove non-const version
11775 (defaultLayout): remove non-const version
11777 2002-03-12 Juergen Vigna <jug@sad.it>
11779 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11780 did resize the LyXText too.
11782 * buffer.C (readLyXformat2): set layout information on newly allocated
11785 * tabular.C (OldFormatRead): set layout information on the paragraph.
11787 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11789 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11791 2002-03-11 Juergen Vigna <jug@sad.it>
11793 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11795 (resizeCurrentBuffer): force also the insets to resize themselfes.
11796 (moveCursorUpdate): fixed up for InsetText.
11798 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11801 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11802 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11803 value of Dialogs::tooltipsEnabled().
11804 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11806 2002-03-08 Juergen Vigna <jug@sad.it>
11808 * BufferView_pimpl.C (updateInset): update inset inside inset also
11809 if it isn't inside theLockingInset().
11811 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11813 * buffer.C (asciiParagraph): redo some of the word and line length
11815 (getLists): look for Caption instead of caption.
11817 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11819 * buffer.C (Buffer): initialize niceFile to true
11821 (makeLinuxDocFile):
11822 (makeDocBookFile): make sure niceFile is true on exit
11824 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11826 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11828 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11830 * LyXSendto.C: remove.
11831 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11832 * lyx_gui.C: remove now-redundant comment.
11833 * ColorHandler.h: remove forward declaration of class WorkArea.
11834 * lyxfunc.C: remove #include "WorkArea.h".
11836 2002-03-07 Juergen Vigna <jug@sad.it>
11838 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11839 got moved away with the DEPM and also set the inset_owner always
11840 right which before could have been omitted.
11842 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11844 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11845 wanted layout is not found.
11847 2002-03-07 Juergen Vigna <jug@sad.it>
11849 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11851 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11853 * paragraph.C (breakParagraph): use default layout not layout of
11855 (Paragraph): clear ParagraphParameters.
11857 2002-03-06 Juergen Vigna <jug@sad.it>
11859 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11860 otherwise it would not be a valid lenght. Fixed a special case in
11861 the minipage compatibility read where we end the document with a
11864 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11865 was set as it could be 0 for InsetTexts first entry.
11867 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * paragraph.C (writeFile): if layout is empty write out
11870 defaultLayoutName().
11872 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11873 file without named layout we set layout to defaultLayoutName().
11875 2002-03-06 Juergen Vigna <jug@sad.it>
11877 * CutAndPaste.C (copySelection): set layout for new paragraph.
11879 * text.C (prepareToPrint): leave ERT inset left aligned
11880 (leftMargin): don't indent paragraphs inside ERT insets
11882 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11884 * paragraph.C (breakParagraph): dont call clear do the work manually
11886 * paragraph.[Ch] (clear): remove function
11888 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11890 * paragraph.C (Paragraph): dont call clear, the work has already
11893 * lyxtextclass.C (operator): assert if n is empty
11895 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11896 work manually instead.
11898 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11900 * BufferView_pimpl.C: protect selectionLost against text == 0
11902 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11904 * text.C (breakParagraph): fix a setting layout to '0' problem.
11906 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11908 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11909 final location of file, for the included files, and graphics.
11911 2002-03-05 Juergen Vigna <jug@sad.it>
11913 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11915 2002-03-04 Juergen Vigna <jug@sad.it>
11917 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11919 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11920 last column of multicolumn cells.
11921 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11923 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11925 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11926 file if it doesn't go to a temporary file.
11928 * buffer.C (sgmlOpenTag):
11929 (sgmlCloseTag): remove extra newline insertion.
11931 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11933 * text.C (getRowNearY): comment out debug msg
11935 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11937 * text2.C: first -> first_y
11939 * text.C (getRowNearY): add some attemts at a possible
11940 optimization, not working.
11942 * tabular.[Ch]: add BufferParams to several function so that newly
11943 created paragraph can be initialized to he default layotu for the
11946 * tabular-old.C (ReadOld): add buf->params to call of Init
11948 * screen.C: rename text->first to text->first_y
11950 * paragraph.C (breakParagraph): always set layout in the broken
11953 * lyxtextclass.C (Read): remove lowercase
11956 (delete_layout): ditto
11958 * lyxtext.h: rename first -> first_y
11960 * lyxlayout.C (Read): remove lowercase
11963 (obsoleted_by): ditto
11965 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11967 * buffer.C (insertErtContents): add params are to InsetERT
11968 (parseSingleLyXformat2Token): add code to check if a paragraphs
11969 layout really exist.
11970 (parseSingleLyXformat2Token): add params to several inset
11972 (asciiParagraph): remove lowercase, do the layout comparisons with
11975 * BufferView_pimpl.C (cursorNext): first -> first_y
11976 (resizeCurrentBuffer): first -> first_y
11977 (updateScrollbar): first -> first_y
11978 (scrollCB): first -> first_y
11979 (workAreaMotionNotify): first -> first_y
11980 (workAreaButtonPress): first -> first_y
11981 (checkInsetHit): first -> first_y
11982 (cursorPrevious): first -> first_y
11983 (cursorNext): first -> first_y
11984 (Dispatch): add buffer_->params to severl inset contructors
11986 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11988 * lyxlayout.C (Read): remove some debug info that I forgot.
11990 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11991 clean up the code slightly.
11992 (makeLinuxDocFile): ditto
11993 (makeDocBookFile): ditto
11995 * text2.C: layout as string
11997 * text.C: layout as string
11999 * paragraph_pimpl.C: layout as string
12001 * paragraph.[Ch]: layout as string
12003 * lyxtextclasslist.[Ch]: layout as string
12005 * lyxtextclass.[Ch]: layout as string
12007 * lyxtext.h: layout as string
12009 * lyxlayout.[Ch]: layout as string
12011 * lyx_cb.C: layout as string
12013 * bufferview_funcs.C: layout as string
12015 * bufferparams.C: layout as string
12017 * buffer.C: layout as string
12019 * LyXView.[Ch]: layout as string
12021 * LaTeXFeatures.[Ch]: layout as string
12023 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12025 * BufferView_pimpl.C: change current_layout to string, remove
12030 (workAreaButtonRelease): layout as string
12032 * BufferView2.C (unlockInset): adjust
12034 * vspace.C (asLatexCommand): use an explict temp variable.
12036 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12038 * Makefile.am: use FRONTEND_*
12040 2002-03-01 Juergen Vigna <jug@sad.it>
12042 * tabular.C (SetWidthOfMulticolCell): changed to something better
12043 I hope but still work in progress.
12044 (recalculateMulticolumnsOfColumn): renamed function from
12045 recalculateMulticolCells as it is more appropriate now.
12046 (SetWidthOfCell): calculate multicols better.
12048 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12052 * lyxfunc.C (processKeySym): print sequence also if it is
12053 `deleted' (complete)
12055 * kbsequence.C (print): print sequence even if it is deleted
12056 (complete would be a better word, actually).
12058 * lyxfunc.C (dispatch): print complete options after a prefix key
12060 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12062 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12064 * text2.C (setCharFont): eliminate setCharFont code duplication.
12066 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12069 LFUN_TABULAR_FEATURE (bug #177)
12071 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12073 * Makefile.am: remove figure.h
12075 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12077 * Bufferview_pimpl.C:
12089 * text2.C: remove #include "lyx_gui_misc.h".
12091 * LaTeX.C: added #include <cstdio>
12093 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12096 that the paragraph following this one can have.
12098 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12100 * vspace.C (asLatexCommand): fix bogus gcc warning
12102 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12104 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12106 * text2.C (setLayout): get rid of redundant code
12108 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12110 * text2.C (incDepth): make sure depth cannot be increased beyond
12113 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12115 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12116 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12118 * PainterBase.h (image):
12119 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12120 a LyXImage const *.
12122 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12126 * BufferView_pimpl.C:
12127 * BufferView_pimpl.h:
12147 * sp_spell.C: remove fig inset, and the crap house of
12148 cards that follows it
12150 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12155 * os2_errortable.h:
12156 * nt_defines.h: move .h into support/
12158 * vms_defines.h: remove
12160 * WorkArea.C: add space in debug output
12164 * buffer.C: add WITH_WARNINGS
12168 * bufferlist.C: s/retrive/retrieve/, add docs
12177 * chset.C: add docs
12179 * lyxgui.C: add ID to X error handler
12181 * lyxtestclass.c: fix typo
12183 2002-02-26 Juergen Vigna <jug@sad.it>
12185 * tabular_funcs.C (write_attribute): changed so that some default
12186 attributes are not written at all.
12187 (getTokenValue): set default values before trying to read the
12188 value so we have the return value always set as default if we don't
12189 find the token we search for.
12191 * tabular.C (Write): write bools as bools not as strings!
12193 2002-02-22 Juergen Vigna <jug@sad.it>
12195 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12196 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12198 * text.C (leftMargin): don't add an indent for paragraphs inside
12199 tabular cells (fix #208).
12201 2002-02-21 José Matos <jamatos@fep.up.pt>
12203 * tabular.C (docBook): fixed support for long tables.
12205 2002-02-20 Juergen Vigna <jug@sad.it>
12207 * text2.C (getFont): get the drawing font of the Inset if this
12208 paragraph is inside an inset (only important for InsetERT for now).
12210 * buffer.C (insertErtContents): use new lanugage params in ERT
12213 * CutAndPaste.C: commenting out seemingly uneeded code.
12215 2002-02-19 Allan Rae <rae@lyx.org>
12217 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12218 Iterators might be simple to use but they also get invalidated.
12219 (removeAutoInsets): renamed saved cursor tracking variables and added
12220 some comments to clarify what everything does.
12222 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12229 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12230 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12233 * vc-backend.h: remove #include "support/syscall.h"
12237 * converter.C: rearrange #includes in Lars' approved fashion.
12239 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12240 forward declare class Timeout in the header file.
12242 * XFormsView.C: changes due to the above.
12244 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12245 similar to LyXView.
12247 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12248 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12250 2002-02-18 José Matos <jamatos@fep.up.pt>
12252 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12255 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12257 * a lot of small ws changes
12258 * add a lot of using std::XXX
12259 * use std construcs some places where approp.
12260 * use some exisint stuff from lyxfunctional where approp.
12261 * Make file changes to use partial linking (lets test this now...)
12263 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12267 remove #include "support/syscontr.h" as it's redundant. Always has been.
12275 change Systemcalls::System to Systemcalls::Wait and
12276 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12277 No change of functionality, just reflects the stripped down Systemcalls
12280 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12282 * debug.[Ch]: add a GRAPHICS type to the enum.
12284 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12286 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12288 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12291 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12293 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12294 match the changes below.
12296 * text2.C (toggleInset): if there is not editable inset at cursor
12297 position, try to see if cursor is _inside_ a collapsable inset
12300 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12302 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12303 document menu has a nice checkbox
12305 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12307 * lyxlength.C (asLatexString): change PW to output as percent of
12310 * lengthcommon.C: change '%' to 't%'
12312 * lyxfunc.C (dispatch): a few comments from Martin
12314 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12318 * BufferView_pimpl.h:
12319 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12322 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * vspace.C (inPixels): fix compiler warning
12326 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * lyxfunc.C (getStatus): fix status message for disabled commands.
12330 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12332 * BufferView_pimpl.C: fix crash on close buffer
12333 during selection (#227)
12335 2002-01-27 Herbert Voss <voss@lyx.org>
12337 * buffer.C: link old Figure to new graphic inset
12339 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12341 * FontLoader.C (getFontinfo): Change the latex font names in order
12342 to match the names of type1inst.
12344 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12346 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12348 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12349 (extchanged): ditto
12351 (remove_files_with_extension): ditto
12352 (remove_file): ditto
12355 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12356 document is smaller than the work area height. Do not initialize
12357 static variables to 0.
12359 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12363 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12364 LFUN_LAYOUT_PARAGRAPHS.
12366 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12367 tabular. It is possible to provide a possible cell, which will
12368 typically be the actcell from the corresponding insettabular
12370 * lyxfunc.C (getStatus): small cleanup; disable
12371 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12374 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12378 * paragraph.C (startTeXParParams):
12379 (endTeXParParams): new methods. The LaTeX code to
12380 start/end paragraph formatting
12381 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12382 empty (fixes bug #200)
12384 * vspace.C (inPixels): adapt to the change below
12385 (inPixels): [later] more cleanups (remove unused variables)
12387 * lyxlength.C (inPixels): change to use a width and a height as
12390 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12392 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12393 Replaced with \paperwidth
12395 * DepTable.C (insert): add std:: qualifier
12397 2002-01-18 Allan Rae <rae@lyx.org>
12399 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12402 * text.C (drawInset): Turned out I didn't know enough about how
12403 rebreaking worked. This fixes most of the redraw problems. I see
12404 an occasional cursor trail when a line is broken now and the cursor
12405 placement can seem out by a few pixels also after a rebreak.
12407 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * buffer.C (parseSingleLyXformat2Token): update because minipage
12410 width is now a LyXLength
12412 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12414 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12417 2002-01-17 Juergen Vigna <jug@sad.it>
12419 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12421 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12422 is set correctly and the inset is updated correctly.
12424 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12426 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12427 the beginning of the loop.
12429 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12431 * lyxrc.C: improve help for use_scalable_fonts
12433 2002-01-17 Allan Rae <rae@lyx.org>
12435 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12437 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12439 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12440 make sure to set their inset_owner to the right value (bug #171)
12442 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12445 * DepTable.C: Implement mtime checking to reduce time spent doing
12448 2002-01-16 Juergen Vigna <jug@sad.it>
12450 * tabular.C (GetAdditionalHeight): one of error fixed.
12452 * lyxrc.C (output): small fix in writing use_pspell.
12454 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12456 * sp_base.h: #include LString.h
12458 2002-01-16 Allan Rae <rae@lyx.org>
12460 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12461 Can someone check this please?
12463 * text.C (drawInset): It was possible that p.row would be removed by
12464 breakAgainOneRow upsetting a few other settings. There may be another
12465 small tweak possible by setting need_break_row = 0 when p.row has been
12466 removed but I don't know enough about the logic here.
12468 2002-01-15 Allan Rae <rae@lyx.org>
12470 * text.C (insertChar): removed conditional truism.
12472 * BufferView2.C (removeAutoInsets): More tweaks.
12473 cur_par_prev could be a stray pointer. Check for trailing empty line
12474 in case last line was cur_par and only had an error inset on it.
12476 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12481 * vc-backend.C (most methods):
12482 * exporter.C (Export):
12483 * converter.C (convert):
12485 * LyXSendto.C (SendtoApplyCB):
12486 * lyxfunc.C (dispatch):
12490 * lyx_cb.C (AutoSave):
12492 * BufferView_pimpl.C (MenuInsertLyXFile):
12493 * buffer.C (runChktex): use Buffer::filePath().
12495 * buffer.h: rename filename to filename_; rename filepath to
12496 filepath_ and make it private
12497 (filePath): new method
12499 * buffer.C (writeFile): use fileName()
12502 * lyx_main.C (init): fix starting of LyX when the binary is a
12503 link from so,ewhere else.
12505 * minibuffer.C: include <cctype> for isprint
12507 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12509 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12510 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12511 name clash with InsetCollapsable's width function.
12513 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12515 * lastfiles.C: include <iterator>
12517 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12519 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12522 * buffer.C (makeLaTeXFile): ditto.
12523 Also make loop operation more transparent.
12525 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12527 * ToolbarDefaults.C: remove trailing comma closing namespace.
12529 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12531 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12534 * trans.C (Load): comment out unused variable, allowed.
12536 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12538 * minibuffer.[Ch] (append_char): new method to recieve input from the
12539 drop-down completion browser. If a key was pressed, then recieve this
12540 char and append it to the existing string.
12541 (peek_event): modify the positioning data passed to the completion
12542 browser so that it can be placed above the minibuffer rather than below.
12543 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12545 * LyXAction.C (init): alloe error-next for readonly documents.
12547 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12550 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * bufferlist.C (readFile): create the buffer _after_ checking that
12555 * lyxfunc.C (verboseDispatch): fix handling of arguments
12557 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12559 * lyxrc.C: use string::erase() instead of initializing to "".
12562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12564 * BufferView_pimpl.h:
12565 * BufferView_pimpl.C:
12568 * text2.C: tell X when we have made a selection for copying
12570 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12572 * BufferView_pimpl.C (MenuInsertLyXFile):
12573 * lyxfunc.C (menuNew):
12575 (doImport): add shortcuts to directory buttons
12577 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12580 * lyxfunc.C (setStatusMessage):
12581 (getStatusMessage): new methods
12582 (getStatus):use setStatusMessage instead of setErrorMessage
12583 (dispatch): when function is disabled, set error message here
12584 [instead of in getStatus previously]
12586 * BufferView_pimpl.C (workAreaButtonRelease): update
12587 toolbar/menubar here too.
12589 2002-01-13 Allan Rae <rae@lyx.org>
12591 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12592 Now seems indestructible. Remaining task is to audit all other
12593 code affected by deleteEmptyParagraphMechanism. One small quirk
12594 left is that an empty document with an error in the preamble can
12595 be made to report an error but no error box appears. I don't know
12597 (removeAutoInsets): Improved comments.
12599 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12602 * Thesaurus.C: update for Aiksaurus 0.14
12604 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12606 * text2.C (firstParagraph): removed member function, all uses
12607 replaces with ownerParagraph
12608 (redoParagraphs): here
12609 (updateInset): here
12610 (toggleAppendix): here
12611 * BufferView2.C (insertErrors): here
12612 (setCursorFromRow): here
12614 2002-01-13 Allan Rae <rae@lyx.org>
12616 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12617 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12618 There is still a way to segfault this although you may have to do this
12619 multiple times: Have an InsetERT with an unknown command in it.
12620 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12621 <down-arrow>, <Enter> again, View->DVI, BANG!
12623 * text2.C (setCursor):
12624 (deleteEmptyParagraphMechanism):
12625 * lyxtext.h (setCursor):
12626 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12627 Making use of the return value may help fix other bugs.
12629 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12631 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12633 * LyXView.C (updateMenubar): call MenuBar::update here
12634 (updateToolbar): but not here
12635 (showState): do not update toolbar/menubar
12637 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12638 should need to care about that.
12640 * lyxfunc.C (verboseDispatch): simplify a bit
12641 (getStatus): have a version which takes a pseudoaction, and
12642 another which requires a (kb_action,string).
12644 * LyXAction.C (retrieveActionArg): make it work also when action
12645 is not a pseudo-action.
12646 (getActionName): simplify a bit
12649 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12651 * lyxfunc.C (verboseDispatch): new families of methods with
12652 several ways to specify a command and a bool to indicate whether
12653 the command name and shortcut should be displayed in minibuffer
12654 (eventually, we could extend that to a finer bitmask like
12655 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12656 (dispatch): the pristine dispatch command which just, well,
12657 dispatchs! Note it still sets its result to minibuffer; I'm not
12660 * lyxfunc.h: remove setHintMessage
12662 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12664 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12666 * BufferView_pimpl.C (specialChar): delete new inset if we have
12667 not been able to insert it.
12669 * kbmap.C: revert to using int instead of kb_action, since all we
12670 are dealing with is pseudo-actions.
12672 * LyXAction.C (searchActionArg): change to return int instead of
12673 kb_action, since the result is a pseudoaction.
12675 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12677 * buffer.C (insertErtContents): Fix (partially) the font bug.
12679 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12681 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12682 as the other one is broken on my machine!
12684 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12687 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12689 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12691 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12692 reflect their actual use. Provide compatibility code for older lyxrc
12695 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12697 change names of popup font variables in line with the changes to lyxrc.C
12699 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12701 * buffer.C (asciiParagraph): avoid outputing a word twice after
12704 * lyxrc.C (getDescription): document that document_path and
12705 template_path can be empty.
12707 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12709 * LaTeXFeatures.C (getMacros):
12710 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12712 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12714 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12716 (getPackages): rename feature "floats" to "float". Use an array to
12717 iterate over 'simple' features (i.e. just a \usepackage). Add
12718 handling of "amsmath" (renamed from "amsstyle").
12720 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12722 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12725 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12727 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12728 FuncStaus::FuncStatus & FuncStaus::some_method().
12730 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12732 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12733 of the func_satus stuff. Edited and massaged in various ways by
12736 * lyxfunc.C (getStatus): use FuncStatus
12738 2002-01-08 Juergen Vigna <jug@sad.it>
12740 * text.C (nextBreakPoint): use function Inset::isChar().
12742 * paragraph.C (TeXOnePar): use function
12743 Inset::forceDefaultParagraphs.
12745 * buffer.C (latexParagraphs): use function
12746 Inset::forceDefaultParagraphs.
12748 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12750 * lyx_gui.C (init): set the style of the menu popups to
12751 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12753 2002-01-07 Juergen Vigna <jug@sad.it>
12755 * text.C (setHeightOfRow): small fix
12756 (prepareToPrint): don't look at alignment if we don't have the place
12759 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12761 * box.C: New file. Move the Box methods and functions out of box.h,
12762 following Lars' suggestion.
12764 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12766 * box.h: #include "support/LOstream.h", needed for inlined function.
12769 * lyxtextclasslist.C: added some using std declarations.
12771 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12773 * box.h: make signed dimensions to allow insets wider than
12774 the screen (bug #162)
12776 * BufferView_pimpl.C: add some insetHit debug
12778 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12780 * vc-backend.C: add FIXME
12782 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * lyxfunc.C (getStatus): enable code for showing math font status
12787 2002-01-07 Juergen Vigna <jug@sad.it>
12789 * text.C (nextBreakPoint): removed debug output not needed anymore.
12791 2002-01-06 Juergen Vigna <jug@sad.it>
12793 * text.C (nextBreakPoint): fixed up this function we had this bug
12794 since ever but now hopefully we break row better.
12795 (insertChar): we have to check if an inset is the next char as it
12796 could now happen that a large inset is causing a break.
12798 2002-01-05 Juergen Vigna <jug@sad.it>
12800 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12801 if it doesn't like to be drawed.
12803 2002-01-04 Juergen Vigna <jug@sad.it>
12805 * BufferView2.C (lockInset): forgot to set a cursor.
12807 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12809 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12811 * FormMathsPanel.C:
12814 * form_maths_panel.C:
12815 * form_maths_panel.h:
12816 * form_maths_panel.fd: implemented sub- and super- buttons in math
12819 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12820 (or ^ space) to be used as in TeX (req'd by André).
12822 * lyxfunc.C: Allow ^ and _ again to be used both as
12823 super/subscript (mathed) and as themselves (in text).
12825 2002-01-03 Allan Rae <rae@lyx.org>
12827 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12828 "LyX" or the filename of the current buffer if it has one. This is a
12829 modified form of John Levon's patch.
12831 * XFormsView.C (setWindowTitle): also set icon title.
12833 * LyXView.h (setWindowTitle): signature changed.
12834 * XFormsView.h (setWindowTitle): ditto.
12836 2002-01-02 Juergen Vigna <jug@sad.it>
12838 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12840 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12842 * screen.C (topCursorVisible): introduce a temp var for
12843 text->cursor.row(), handle the case where this row is null. (kindo
12846 * text2.C (setCursor): add a couple of asserts.
12848 * paragraph.h (inset_iterator): add -> operator
12850 * paragraph.[Ch] (autoDeleteInsets): remove member function
12852 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12853 cursor pos correctly and handle inset deletion by itself.
12854 (insertErrors): move iterator declaration out of for expression
12856 * lyxtextclass.C: add <algorithm>
12858 * Makefile.am: added the new files to sources, removed layout.C
12860 * layout.C: removed file
12862 * layout.h: remove LYX_DUMMY_LAYOUT
12864 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12868 * lyxtextclass.[Ch]:
12869 * lyxtextclasslist.[Ch]: new files
12871 * include order changes to a lot of files, also changes because of
12874 2001-12-27 Juergen Vigna <jug@sad.it>
12876 * buffer.C (asciiParagraph): more fixes.
12878 * tabular.C (ascii): make ascii export support export of only the
12879 data separated by a column-delimiter.
12880 (ascii): better support for ascii export.
12882 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12884 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12886 * tabular_funcs.C: use a "using std::getline" instead of the
12887 previous fix from Angus (necessary for cxx + lyxstring)
12889 2001-12-24 Juergen Vigna <jug@sad.it>
12891 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12893 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12894 problems. First check a minipage also if we have some ert-contents
12895 (not only on par->size(), second set the right depth of the paragraph
12896 on the relink to the root-paragraph-list!
12898 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12899 which then did not anymore update the main paragraphs on undo/redo!
12901 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12903 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12904 code. Support all font-changing funcs (even those which are not in
12905 menu currently). Support for reporting font settings in
12906 mathed (disabled until Andre provides a function on mathed's side).
12908 * func_status.h (toggle): small helper function to set toggle
12911 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12913 * tabular_funcs.C: getline -> std::getline
12915 2001-12-21 Juergen Vigna <jug@sad.it>
12917 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12918 accessed and could be 0 (I couldn't generate this but it seems
12921 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12923 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12924 * tabular_funcs.h: here and include iosfwd
12926 2001-12-20 Juergen Vigna <jug@sad.it>
12928 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12929 inside inset but undo_par was.
12931 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12933 * Thesaurus.C: always include <config.h> in sources.
12937 * box.h: do not include <config.h> in header files
12939 * text.C (paintLastRow): remove unused variable
12941 * text.C (transformChar):
12943 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12945 * Painter.C (text):
12946 * font.C (width): rewrite to use uppercase() instead of
12949 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12951 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12953 * lyxfind.C: clean up of find failure position change
12955 2001-12-20 Juergen Vigna <jug@sad.it>
12957 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12959 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12960 (TeXRow): added to LaTeX a single tabular row.
12961 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12962 (Latex): simplified and finally good LT-h/f support.
12963 (various_functions): just small adaptions for LT-h/f support.
12965 * tabular_funcs.[hC]: added and moved here all not classfunctions
12968 2001-12-19 Juergen Vigna <jug@sad.it>
12970 * tabular.[Ch]: better support for longtabular options (not finished
12973 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12975 * text.C (paintLastRow): use the label font instead of the font of
12976 the last character to compute the size of *_BOX. This makes more
12977 sense and avoids a crash with empty paragraphs.
12978 Use Painter::rectangle to draw EMPTY_BOX.
12980 2001-12-19 Juergen Vigna <jug@sad.it>
12982 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12983 the paragraphs if the replaced paragraph is not the first one!
12984 Tried to delete not used paragraphs but does not work yet so for
12985 now it's inside #ifdef's and by default off!
12987 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12989 * MenuBackend.C: include "lyx_main.h" instead of declaring
12990 lastfiles (actually was declared as LastFiles* instead of a
12993 2001-12-17 Juergen Vigna <jug@sad.it>
12995 * tabular.C (AppendColumn): applied John's fix
12997 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13001 * BufferView_pimpl.h:
13002 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13005 * box.h: new start of class for above
13007 * lyxfunc.C: ignore space-only minibuffer dispatches.
13008 Show the command name when it doesn't exist
13010 * minibuffer.C: don't add empty lines to the history
13012 * minibuffer.C: add a space on dropdown completion
13014 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13016 * text.C: fix line above/below drawing in insets
13018 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13020 * lyxlength.C (LyXLength): Initialize private variables.
13022 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13024 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13025 when inserting error insets.
13027 2001-12-13 Juergen Vigna <jug@sad.it>
13029 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13030 actually sometimes the before-paragraph.
13031 (setUndo): don't clear the redostack if we're not actually undoing!
13033 2001-12-06 Juergen Vigna <jug@sad.it>
13035 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13036 and fixed redoing of main paragraph, so we can use it now ;)
13038 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13040 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13045 2001-12-13 André Pönitz <poenitz@gmx.net>
13048 * undo_func.C: minor cleanup
13050 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13052 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13053 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13054 font in urw-fonts package which is marked as -urw-fontspecific and
13055 does not work (incidentally, changing the encoding in the
13056 fonts.dir of this package to -adobe-fontspecific fixes the
13059 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13060 is a crash when undoing first paragraph (Juergen, please take a
13061 look). THis does not mean the undo fix is wrong, just that it
13064 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13065 the (Paragraph*) version when needed instead of duplicating the
13068 * text.C (workWidth): use Inset::parOwner to find out where the
13069 inset has been inserted. This is a huge performance gain for large
13070 documents with lots of insets. If Inset::parOwner is not set, fall
13071 back on the brute force method
13073 * paragraph_pimpl.C (insertInset):
13074 * paragraph.C (Paragraph):
13075 (cutIntoMinibuffer): set parOwner of insets when
13076 inserting/removing them
13078 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13080 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13086 * mathed/formulabase.C:
13087 * mathed/math_cursor.[Ch]:
13088 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13091 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13093 * lyxlength.[Ch] (operator!=): new function
13095 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13097 * text.C (workWidth): use Inset::parOwner to find out where the
13098 inset has been inserted. This is a huge performance gain for large
13099 documents with lots of insets. If Inset::parOwner is not set, fall
13100 back on the brute force method
13102 * paragraph_pimpl.C (insertInset):
13103 * paragraph.C (Paragraph):
13104 (cutIntoMinibuffer): set parOwner of insets when
13105 inserting/removing them
13107 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13109 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * tabular-old.C (getTokenValue):
13112 * tabular.C (getTokenValue):
13113 (write_attribute): new versions for LyXLength
13114 (everywhere): adjust the use of widths
13116 * tabular.h: change the type of widths from string to LyXLength
13118 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13120 * paragraph.C: fixed missing line number count when exporting
13121 Environments to LaTeX file
13123 * buffer.C: added informational message for checking line numbers.
13125 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13127 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13128 paragraph, do the 'double space' part, but not the 'empty
13131 * text.C (workWidth): small optimization
13132 (getLengthMarkerHeight): use minimal size for negative lengths.
13134 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13136 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13138 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13140 2001-12-11 André Pönitz <poenitz@gmx.net>
13143 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13145 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13147 * text2.C: keep selection on a setFont()
13149 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13151 * lyx_cb.C: another bv->text misuse, from insert label
13153 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13156 * kbsequence.C: re-instate nmodifier mask
13158 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13160 * lyx_main.h: make lyxGUI private.
13162 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13164 * lyxfind.C: place the cursor correctly on failed search
13166 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13168 * text.C (getLengthMarkerHeight): for small heights, the arrows
13169 are not always on top/bottom of the text
13170 (drawLengthMarker): smaller arrows; take the left margin in
13171 account; draw also vfills.
13173 (paintLastRow): remove special code for vfill and standard spaces,
13174 since everything is handled in drawLengthMarker now.
13176 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13178 * buffer.C (insertErtContents): try to handle font and language
13179 interaction a bit better.g
13181 * ColorHandler.C (updateColor): change the hash to cover the whole
13182 LColor enum, ws cleanup
13183 (getGCLinepars): ditto
13184 (getGCLinepars): only lookup in the linecache once.
13186 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13188 * iterators.C (operator++): Make the iterator more robust
13190 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13192 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13194 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13197 * text.C: better added space drawing
13199 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13202 * BufferView2.C: fix layout combo update on inset unlock
13204 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13206 * Makefile.am: don't compile unused files
13208 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13212 * LyXAction.C: remove old LFUN_LAYOUTNO
13214 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13216 * paragraph_pimpl.h:
13217 * paragraph_pimpl.C: isTextAt() doesn't need font param
13219 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13222 * lyxlex.C: little cleanup
13224 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13226 * BufferView_pimpl.C: fix insertAscii for insets
13228 2001-12-05 Juergen Vigna <jug@sad.it>
13230 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13231 set the right font on the "multi" paragraph paste!
13233 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13239 * lyxlength.C: remove out-commented code.
13241 * BufferView_pimpl:
13255 * vc-backend.C: change "while(" to "while ("
13257 * lyxlength.[Ch]: add zero function to check if length is zero or
13259 * lyxgluelength.C: use it
13261 2001-12-05 Allan Rae <rae@lyx.org>
13263 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13264 Works for 2.95.3, from what I understand of Garst's reports this should
13265 work for other g++ versions. We're screwed if the abs(int) definition
13266 changed between bugfix releases of gcc.
13268 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13270 * text.C: fix chapter label offset !
13272 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13275 * text.C: fix hfill at end of line, clean up
13277 2001-12-04 Juergen Vigna <jug@sad.it>
13279 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13280 that we force an update of the inset and it's owners if neccessary.
13282 2001-12-03 Juergen Vigna <jug@sad.it>
13284 * text.C (rowLast): simplified code
13286 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13288 * lyxfunc.C: fix show options on timeout
13290 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13292 * screen.C (topCursorVisible): scroll half a page when the cursor
13293 reached top of bottom of screen
13295 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13297 * minibuffer.C: deactivate on loss of focus
13299 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13301 * vspace.[Ch] (operator!=): add operator.
13303 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13305 * BufferView_pimpl.C: refuse to open an inset when
13306 there's a selection.
13308 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13310 * BufferView_pimpl.C: allow to click on RHS of full row insets
13312 2001-11-30 Juergen Vigna <jug@sad.it>
13314 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13315 insets for undo reasons.
13317 2001-11-28 André Pönitz <poenitz@gmx.net>
13319 * vspace.[Ch]: cosmetical changes
13321 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13331 * kbsequence.C: part re-write of old kb code
13334 * WorkArea.C: remove Lgb_bug_find_hack
13336 2001-11-30 José Matos <jamatos@fep.up.pt>
13338 * buffer.C (makeDocBookFile): add a comment to point a hack.
13339 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13340 Fixed a double write of labels.
13342 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13345 * LaTeX.h Fixed bug in LaTeX class where it would not
13346 re-run latex if no depfiles were changed, but the .dvi was removed.
13348 2001-11-28 André Pönitz <poenitz@gmx.net>
13350 * all the files from the change on 2001/11/26:
13351 use lyx::layout_type instead of LyXTextClass::size_type
13352 use lyx::textclass_type instead of LyXTextClassList::size_type
13354 2001-11-29 Juergen Vigna <jug@sad.it>
13356 * text.C: added support for paragraph::isFreeSpacing()
13358 * buffer.C: same as above
13360 * paragraph.h: inserted isFreeSpacing() function to enable
13361 FreeSpacing inside InsetERT.
13363 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13364 of the paragraph's in the cut/copy buffer to 0!
13366 * text2.C (removeRow): remove the assert as it can!
13368 * lyxtext.h: added helper function firstRow returning firstrow and
13369 made firstrow private again.
13371 * BufferView2.C (lockInset): don't relock if we're already locked!
13373 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13374 the only paragraph.
13375 (removeRow): added Assert::(firstrow)
13377 * debug.C: forgot to add INSETTEXT here.
13379 2001-11-28 Juergen Vigna <jug@sad.it>
13381 * sp_spell.C (initialize): changed error text to more general
13382 spellchecker command use (not only ispell!)
13384 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13386 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13388 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13390 * vspace.C: initialise lyxgluelength on failure
13392 2001-11-28 Allan Rae <rae@lyx.org>
13394 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13395 declaration & definition that looks like a function declaration.
13397 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13399 * BufferView2.C (copy):
13400 (copyEnvironment): do not clear the selection when doing a copy.
13402 * text.C (paintFirstRow): compilation fix
13404 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13406 * tabular.C (Latex): correct line count when writing latex.
13408 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13410 * paragraph_pimpl.h:
13411 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13414 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13418 * LColor.C: change vfillline->added_space
13420 * text.C: add markers and text for added space
13422 * vspace.C: fix comment
13424 2001-11-28 André Pönitz <poenitz@gmx.net>
13426 * paragraph.C: whitespace changes
13427 * all the other files from the change on 2001/11/26:
13428 change *::pos_type into lyx::pos_type
13430 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13432 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13433 language of the document when inserting error insets.
13435 2001-11-26 André Pönitz <poenitz@gmx.net>
13437 * BufferView_pimpl.[Ch]:
13445 * paragraph_pimpl.[Ch]:
13448 * text2.C: reduce header dependencies, introduce type for positions
13450 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13452 * <various>: change to use Alert.h
13454 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13456 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13457 when encountering an unknown token.
13458 (readLyXformat2): Show an error message if there were unknown tokens.
13460 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13463 * BufferView_pimpl.C:
13467 * text2.C: use par->isInset()
13469 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13471 * paragraph_pimpl.h:
13472 * paragraph_pimpl.C: cleanup
13474 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * text2.C (removeRow):
13477 * text.C (setHeightOfRow): remove useless (and costly) call to
13480 2001-11-20 Allan Rae <rae@lyx.org>
13482 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13483 Now need Inset*::checkInsertChar() to return true for appropriate
13484 cases so that the characters in the minibuffer will actually be
13487 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13489 * text.C: change the order of the includes.
13490 (workWidth): initialize it at once.
13491 (workWidth): make maxw unsigned
13492 (setHeightOfRow): remove unused variable (inset)
13493 (selectSelectedWord): remove unused variable (inset)
13494 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13496 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13498 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13499 server is not running.
13501 (closeConnection): add debug info when server is disabled.
13503 * ColorHandler.C (getGCForeground): send debug message to GUI
13506 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13508 * kbmap.C (bind): modify because return conventions of
13509 kb_sequence::parse have changed.
13511 * kbsequence.C (parse): only ignore spaces and not any stupid
13512 control character. This avoids tests like s[i] <= ' ', which are
13513 guaranteed to fail with 8bit characters and signed chars.
13514 Change return code to string::npos when there have been no error
13515 (0 was a bad idea when error is at first character)
13517 2001-11-14 José Matos <jamatos@fep.up.pt>
13520 * buffer.C (simpleDocBookOnePar): removed unused argument.
13522 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13524 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13525 insets which are part of a word. Paragraph::isLetter takes care of
13526 that now. Use Paragraph::isInset to identify insets.
13527 (selectSelectedWord): do not test for hyphenation break.
13529 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13530 that protected spaces are considered as spaces.
13532 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13535 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13538 * lyxserver.C: fix it. and small cleanup.
13540 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13542 * BufferView_pimpl.C: use inline helpers
13545 * LaTeXFeatures.C: fix typos
13548 * Spacing.C: move spacing_string into class
13550 * ToolbarDefaults.C: move stuff into namespace anon
13552 * layout.h: update enum
13554 * lyxfunc.C: use better debug
13556 * minibuffer.h: fix typo
13560 * WorkArea.C: add and use Debug::WORKAREA
13564 * text2.C: code re-organisation, inline helpers
13566 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13568 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13569 std::vector.empty().
13571 2001-11-09 Allan Rae <rae@lyx.org>
13573 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13574 '\n's after tables. Tabular and ERT inset work now makes this no
13577 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13580 * minibuffer.C: fix crash, improve drop-down completion
13582 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13585 * lyxserver.C: invalidate fd's when doing endPipe()
13587 2001-11-08 José Matos <jamatos@fep.up.pt>
13589 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13590 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13593 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13595 2001-11-07 José Matos <jamatos@fep.up.pt>
13598 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13601 * buffer.C (sgmlOpenTag):
13602 * buffer.C (sgmlCloseTag): removed debug info.
13604 * buffer.h (sgmlOpenTag):
13605 * buffer.h (sgmlCloseTag): made public.
13607 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * buffer.C (saveParamsAsDefaults):
13610 * lyx_cb.C (MenuLayoutSave): remove
13612 * LyXAction.C (init):
13614 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13616 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13618 * buffer.C (setPaperStuff): removed from here...
13620 * bufferparams.C (setPaperStuff): ... and moved there.
13622 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13626 * XFormsView.C: add support for drop-down completion
13628 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13630 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13633 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13635 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13638 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13640 * lyx_main.C: change ref to known bugs
13642 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13644 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13645 to work around older babel problems.
13647 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13649 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13651 2001-10-24 Juergen Vigna <jug@sad.it>
13653 * tabular-old.C (ReadOld): below variable changes reflected.
13655 * tabular.[Ch]: added ltType struct for longtable header/footer
13656 defines and changed all instances where they are used. Added
13657 future support for double top/bottom rows.
13659 2001-10-24 José Matos <jamatos@fep.up.pt>
13661 * buffer.h (docbookHandleCaption):
13662 * buffer.C (docbookHandleCaption): removed unused function.
13663 (makeDocBookFile): moved docbook supported version to v4.1.
13665 2001-10-24 José Matos <jamatos@fep.up.pt>
13668 * tabular.C (docbookRow): new function to export docbook code of a row.
13669 (DocBook): now honors the longtable flags.
13671 2001-10-23 José Matos <jamatos@fep.up.pt>
13674 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13675 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13677 * buffer.C (makeLinuxDocFile):
13678 (makeDocBookFile): reworked the preamble, more clean, and with
13679 support for lyx defined entities. Changed the document declaration
13680 to be more XML friendly.
13682 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13683 if we need to output XML that should be done with a filter.
13685 2001-10-22 Juergen Vigna <jug@sad.it>
13687 * sp_pspell.h (class PSpell): add alive function needed in the
13688 controller to see if the spellchecker could be started.
13690 2001-10-22 Juergen Vigna <jug@sad.it>
13692 * buffer.C (insertStringAsLines): modify the font for inserting
13693 chars in certain conditions by calling checkInsertChar(font).
13695 2001-10-19 Juergen Vigna <jug@sad.it>
13697 * text.C (workWidth): use getRow instead of wrong algorithm.
13698 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13700 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13705 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13707 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13709 * text.C (workWidth): do not search for the exact row when
13710 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13711 optimization for big documents.
13713 2001-10-18 Juergen Vigna <jug@sad.it>
13715 * text.C (workWidth): new function with added Inset * parameter.
13717 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13721 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13722 change return type of getColumnNearX.
13725 * text.C (changeRegionCase): use uppercase/lowercase instead of
13728 (rightMargin): simplify code by factoring out the uses of
13733 (appendParagraph): use Paragraph::size_type
13735 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13737 * vspace.C (asLatexString): add a missing break
13739 2001-10-15 Herbert Voss <voss@perce.de>
13741 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13743 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13748 2001-10-10 André Pönitz <poenitz@gmx.net>
13750 * lyxfunc.C: removed greek_kb_flag.
13752 2001-10-10 Herbert Voss <voss@perce.de>
13754 * lyx_main.C: delete global string help_lyxdir.
13756 2001-10-09 Herbert Voss <voss@perce.de>
13758 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13760 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13762 * lyx_main.C: added global string help_lyxdir.
13764 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13766 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13768 * lyxrc.C (set_font_norm_type): support iso8859-4
13770 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13772 * LaTeX.C (deplog): add another regex for MikTeX
13774 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13776 * lyxrc.C (set_font_norm_type): support iso8859-3
13778 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13780 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13782 * LaTeXFeatures.C: remove special case of french and index
13784 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13785 before \begin{document}). This solves several incompatibilities.
13787 2001-10-03 Garst Reese <reese@isn.net>
13789 * lyx_cb.C: change CheckTex error msg.
13791 2001-10-03 José Matos <jamatos@fep.up.pt>
13793 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13795 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13797 * .cvsignore: update
13799 * lyx_main.C (commandLineVersionInfo): use new style version info.
13801 * buffer.C (writeFile):
13803 (makeLinuxDocFile):
13804 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13806 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13808 * version.h: update to use stuff in version.C
13810 * version.C.in: new file. Contains version information determined
13811 at compile time. This is a merging of version.h and
13814 2001-10-03 Juergen Vigna <jug@sad.it>
13816 * BufferView_pimpl.C (update): don't change "dirty" status in
13819 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13821 * WorkArea.C (c-tor): re-position version string slightly.
13823 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13825 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13826 revert to previous code.
13828 WorkArea.[Ch]: (show, destroySplash): methods removed.
13830 WorkArea.C: rework code so that it's an amalgam of the codes before and
13831 after the splash screen was moved to WorkArea.
13833 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13836 * vspace.C (inPixels):
13839 * buffer.C (insertStringAsLines):
13840 (asciiParagraph): fix types to be large enough
13842 * lyxlex_pimpl.h: change member status from short to int
13844 * layout.h: fix type of endlabeltype
13847 * kbsequence.C (parse): change return type to string::size_type
13849 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13852 * Bullet.C (bulletSize):
13853 (bulletEntry): do not use short ints as parameters
13855 * BufferView2.C (insertLyXFile): change a char to an int.
13857 * WorkArea.C (WorkArea): remove unneeded floats in computation
13859 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13861 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13863 * paragraph.C (asString): Do not ignore newline/hfill chars when
13864 copying to the clipboard.
13866 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13868 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13869 after a multi-line inset.
13871 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13873 * paragraph.C (validate): Set NeedLyXFootnoteCode
13875 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13877 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13878 and decrease-error to decrease.
13880 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13883 it more readable (should be equivalent)
13885 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13887 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13889 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13891 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13892 of a cursor (row, etc.) after a character has been deleted
13893 (deleteEmptyParagraphMechanism): call the method above on _all_
13894 cursors held by the LyXText when a double space has been
13897 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13899 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13901 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13903 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13904 background. Use greyOut() and the new show() methods to toggle between
13905 the foreground and background. Add code to remove the splash after
13906 its initial showing.
13908 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13909 (create_forms): no longer call Dialogs::showSplash.
13911 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * .cvsignore: add version_info.h
13915 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13917 * version_info.h.in: new file
13919 * Makefile.am: add version_info.h.in
13921 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13922 version_info.h instead of VERSION_INFO
13924 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13926 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13927 The ERT inset now returns string().
13929 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13931 * lyxtext.h, text.C (selectNextWord): renamed as
13932 selectNextWordToSpellcheck.
13934 * text.C (selectNextWordToSpellcheck): Modified to not select
13935 words inside an ERT inset.
13937 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13939 * lyx_cb.C (MenuLayoutSave): change a bit the question
13941 * sp_base.h: include <sys/types.h>
13943 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13945 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13947 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13949 * several files: fix typos in user-visible strings
13951 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13953 * text2.C (pasteSelection): do not set the selection, since it
13954 will be cleared later. Actually, the intent was to fix the way the
13955 selection was set, but I figured rmoving the code was just as good.
13957 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13959 * FontLoader.C (available): Check if font is available without
13962 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13964 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13966 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13968 * lyxrc.[Ch]: added display_graphics variable and associated code.
13970 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * bufferparams.C (hasClassDefaults): new method. Returns true if
13973 the buffer parameters correspond to known class defaults
13975 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13977 * XFormsView.C (show): set minimum size to the main window.
13979 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13981 * text2.C (copySelection):
13983 * lyxfind.C (LyXReplace):
13984 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13985 LyXText::selectionAsString.
13987 * paragraph.C (asString): add "label" argument to the second form
13989 * text2.C (selectionAsString): add "label" argument and pass it to
13990 Paragraph::asString.
13992 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13994 * lyx_main.C (commandLineHelp): remove version information
13996 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13998 * lyx_main.C: add -version commandline option
14000 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14002 * paragraph.h: make the optional constructor arg required instead.
14003 some modifications to other files because of this.
14005 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14007 * lyxserver.C (C_LyXComm_callback): make it static
14009 * lyx_main.C (error_handler): make it static
14011 * lyx_gui.C (LyX_XErrHandler): make it static
14013 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14015 * WorkArea.C: make the extern "C" methods static.
14017 * Makefile.am (lyx_LDADD): simplify
14019 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14021 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14022 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14024 * LyXAction.C (init):
14025 * lyxfunc.C (dispatch): associated code removal.
14027 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14029 * lyxfont.h (isSymbolFont): shut off warning
14031 * text.C (setHeightOfRow):
14032 (getVisibleRow): fix crash with empty paragraphs which have a
14035 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14037 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14040 2001-09-04 José Matos <jamatos@fep.up.pt>
14043 * tabular.C (docbook): rename docBook method to docbook.
14045 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14047 * Makefile.am: add dependencies to main.o.
14049 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14051 * FontLoader.C (available): Return false if !lyxrc.use_gui
14053 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14055 * FontInfo.C (query):
14056 * converter.C (view):
14057 * importer.C (Import):
14058 * exporter.C (Export): Can not -> cannot.
14060 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14062 * BufferView_pimpl.C: allow to create index inset even if
14065 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14067 * buffer.C (getLists): replace boost::tie code with an explicit pair
14068 as boost::tie can break some compilers.
14070 * iterators.h: Added a std:: declaration to the return type of
14073 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14075 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14078 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14080 * iterators.[Ch]: New files. Provide paragraph iterators.
14082 * buffer.C (changeLanguage): Use paragraph iterators.
14083 (isMultiLingual): ditto
14085 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14087 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14089 * FontLoader.C: Support for cmr font.
14091 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14093 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14094 (available): New method.
14096 * FontInfo.C (getFontname): Use scalable fonts even when
14097 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14100 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14102 * converter.C (Formats::view): reverted! Incorrect fix.
14104 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14106 * converter.C (Formats::view): only output the -paper option
14107 if the dvi viewer is xdvi, thereby fixing bug #233429.
14109 2001-08-23 Herbert Voss <voss@perce>
14111 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14113 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14115 * Spacing.h (Spacing): Set space to Default on in the default
14118 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * vc-backend.h (RCS::versionString): add RCS to version
14121 (CVS::versionString): add CVS to version
14123 * vc-backend.C (scanMaster): do not add CVS to version.
14124 (scanMaster): do not add RCS to version
14126 * lyxvc.C (versionString): new method
14128 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14130 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14132 * Spacing.C (set): initialize fval
14134 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14136 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14139 2001-08-16 Juergen Vigna <jug@sad.it>
14141 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14143 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14145 * BufferView_pimpl.C:
14148 * text2.C: setParagraph takes linespacing now
14150 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14152 * LyxAction.C: add internal LFUN_CITATION_INSERT
14154 * LyXView.C: actually apply fix
14156 * bufferlist.C: fix open non-existent file
14158 * lyxfind.C: fix indentation
14160 * lyxfunc.C: remove unneeded assert, fix typo
14162 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14164 * MenuBackend.C: use "Floatname List"
14166 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14168 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14169 when converting LaTeX layout to insetERT.
14170 Generate a non-collapsed float when reading old float
14172 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14174 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14177 2001-08-13 Juergen Vigna <jug@sad.it>
14179 * text.C (fill): return 0 instead of 20 as this seems to be the more
14182 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14184 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14187 2001-08-13 Juergen Vigna <jug@sad.it>
14189 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14191 (SearchBackward): comment out the unlocking of the inset_owner this
14192 should not be needed!
14194 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14196 * Many files: Remove inherit_language, and add latex_language
14198 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14199 collapsible insets.
14201 2001-08-10 Juergen Vigna <jug@sad.it>
14203 * text.C (prepareToPrint): fixed hfill-width in draw!
14205 * BufferView2.C (selectLastWord): save the selection cursor as this
14206 now is cleared in the function LyXText::clearSelection!
14208 2001-08-08 Juergen Vigna <jug@sad.it>
14210 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14211 BACKSPACE type functions.
14213 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14214 is only cutted from the document but not put in the cut-buffer, where
14215 still the old stuff should be.
14217 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14219 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14221 * tabular.C (SetWidthOfCell): fixed special case where the width
14223 (LeftLine): handle '|' in align_special.
14225 (LeftAlreadyDrawed): ditto
14226 (SetWidthOfCell): ditto
14228 2001-08-07 Juergen Vigna <jug@sad.it>
14230 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14232 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14234 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14235 * lyxlex.[hC]: ditto
14237 2001-08-06 Juergen Vigna <jug@sad.it>
14239 * text.C (getVisibleRow): fix up row clearing a bit.
14241 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14243 * minibuffer.C: make sure the X server sees the changes in the input.
14245 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14247 * paragraph.C (getFont): split into...
14248 (getLabelFont): this
14249 (getLayoutFont): and this
14250 * paragraph_pimpl.C (realizeFont): calling this
14252 * text2.C (getFont): split into...
14253 (getLayoutFont): this
14254 (getLabelFont): and this
14255 (realizeFont): all three calling this
14257 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14260 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14262 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14264 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14266 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14267 layouts from the Quote inset insertion.
14269 2001-08-03 Juergen Vigna <jug@sad.it>
14271 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14273 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14274 only if status not is already CHANGED_IN_DRAW (second level).
14276 * text.C (draw): don't set the need_break_row when inside an
14279 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * buffer.C (parseSingleLyXformat2Token): handle more latex
14284 * bufferview_funcs.[hC]: change function names to
14285 begin with small char, adjust other files.
14287 2001-08-02 André Pönitz <poenitz@gmx.net>
14290 BufferView_pimpl.C: remove broken special code for math-greek
14292 2001-08-02 Juergen Vigna <jug@sad.it>
14294 * BufferView_pimpl.C (update): redone this function so that we
14295 update the text again if there was a CHANGE_IN_DRAW.
14297 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14298 (drawFromTo): added a new internal bool which is used by draw() and
14300 (general): some cursor drawing problems fixed.
14302 2001-08-01 Juergen Vigna <jug@sad.it>
14304 * lyxfind.C (LyXFind): fixed
14305 (SearchForward): ditto
14306 (SearchBackward): ditto
14308 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14309 spurius drawing of the cursor in the main area.
14311 * text2.C (status): small fix which could lead to a segfault!
14312 (clearSelection): remove unneeded BufferView param.
14314 2001-08-01 André Pönitz <poenitz@gmx.net>
14316 * lyxfunc.C: small change due to changed mathed interface
14318 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14320 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14322 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14324 * lyxfunc.c: fail gracefully if file doesn't exist
14329 * BufferView_pimpl.C: IsDirWriteable() proto changed
14331 * LyXView.C: fix updateWindowTitle() to store the last title
14333 2001-07-31 Juergen Vigna <jug@sad.it>
14335 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14336 the font (wrong since using of Paragraph::highestFontInRange).
14338 * paragraph.C (highestFontInRange): added a default_size parameter.
14340 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14341 (setHeightOfRow): reformat
14343 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14345 * converter.[hC] + affected files: move to (inital-char)lowercase
14348 * ParagraphParameters.C (ParagraphParameters): remove commented code
14350 * PainterBase.[Ch]: remove commented code
14352 * LaTeXFeatures.h: add "bool floats" for float.sty
14354 * LaTeXFeatures.C (LaTeXFeatures): init floats
14355 (require): handle float
14356 (getPackages): do it with floats
14358 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14360 * BufferView_pimpl.C (Dispatch): improve handling of
14361 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14363 * commandtags.h: #include lyxfont.h here temporarily to avoid
14366 * bufferlist.h: include LString.h here.
14368 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * text2.C (getStringToIndex): new method.
14372 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14374 * *: Reduced header file dependencies all over.
14376 2001-07-30 Baruch Even <baruch@lyx.org>
14378 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14380 2001-07-29 Baruch Even <baruch@lyx.org>
14382 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14384 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * ParameterStruct.h (endif): add a default constructor to make
14387 sure that all variables is initialized.
14389 * ParagraphParameters.C (ParagraphParameters): adjust
14391 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14393 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14394 index; also, check that there is something to index, and that it
14395 does not span over several paragraphs.
14396 (doubleClick): use WHOLE_WORD_STRICT for double click.
14398 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14400 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14403 2001-07-26 Baruch Even <baruch@lyx.org>
14405 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14406 an InsetFig figure, backwards compatible reading of old figure code.
14408 2001-07-27 Juergen Vigna <jug@sad.it>
14410 * text2.C: font.realize function adaption.
14412 * text.C (draw): add a warnings lyxerr text if needed.
14414 * layout.C: font.realize function adaption.
14416 * language.C: add inherit_language and implement it's handlings
14418 * bufferview_funcs.C (StyleReset): remove language parameter from
14419 font creation (should be language_inherit now).
14421 * bufferparams.C (writeFile): handle ignore_language.
14423 * paragraph.C (getFontSettings): the language has to be resolved
14424 otherwise we have problems in LyXFont!
14426 * lyxfont.C (lyxWriteChanges): added document_language parameter
14427 (update): removed unneeded language parameter
14429 * paragraph.C (validate): fixed wrong output of color-package when
14430 using interface colors for certain fonts in certain environments,
14431 which should not seen as that on the final output.
14433 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14435 * BufferView_pimpl.C:
14440 * LyXAction.C: add thesaurus support
14443 * lyxfind.C: add "once" parameter, for thesaurus, to not
14444 move to the next match
14446 2001-07-26 Juergen Vigna <jug@sad.it>
14448 * lyxfont.C (realize): honor ignore_language too!
14451 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14453 * text.C (draw): one place more for ignore_language to not draw
14456 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14458 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14460 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14462 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14463 the minipage conversion problem.
14465 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14470 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * BufferView.h: don't forward declare WorkArea
14474 * BufferView.C: don't include WorkArea.h
14476 2001-07-25 André Pönitz <poenitz@gmx.net>
14480 * lyxfunc.C: new LFUN 'math-space'
14482 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14484 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * text2.C (toggleInset): call open/close
14488 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14490 * lyxfunc.C (dispatch): add debug for the disabled case
14492 * font.C (buttonText): make similar to rectText
14494 * buffer.C (readInset): comment out parsing of insetlist and
14497 * PainterBase.C (rectText): small correction
14499 * BufferView_pimpl.C: comment out insettheorem and insetlist
14500 * LyXAction.C: ditto
14501 * commandtags.h: ditto
14503 2001-07-24 Juergen Vigna <jug@sad.it>
14505 * text.C (draw): honor the ignore_language.
14507 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14509 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14514 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14516 * lyxtext.h: remove unused (and unimplemented) methods
14518 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14520 * text.C (getVisibleRow): honor background color
14523 * Painter.h: remove default color argument for fillRectangle
14525 * text.C (backgroundColor): new method
14527 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * text.C (getVisibleRow): adjust
14531 * font.[Ch] (rectText): new method, metrics
14532 (buttonText): new method, metrics
14534 * PainterBase.[hC]: make rectText and buttonText always draw and take
14537 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14539 * ToolbarDefaults.C (read):
14540 * MenuBackend.C (read): allow escaping in all strings
14542 * BufferView_pimpl.C (insertAndEditInset): new method.
14543 (Dispatch): use insertAndEditInset whenever appropriate.
14545 * BufferView_pimpl.C (insertNote): removed
14547 * BufferView_pimpl.C (smartQuote): new method, moved from
14548 BufferView; if an insetquote cannot be inserted, insert a '"'
14551 * BufferView2.C: remove insertCorrectQuote();
14553 * lyxfunc.C (getStatus): Add support for all remaingin
14554 inset-insert lfuns.
14556 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14558 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14559 command (necessary to pass " as parameter of self-insert.
14561 * text.C (selectWordWhenUnderCursor):
14562 (selectWord): add word_location parameter
14563 (selectWordWhenUnderCursor): same + remove special code for word
14565 (selectNextWord): use kind() to guess type of insetspecialchar,
14568 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14569 (insertErtContents): create ert insets as collapsed.
14570 (readInset): better compatibility code for Info inset.
14572 2001-07-20 Juergen Vigna <jug@sad.it>
14574 * lyxfunc.C (dispatch): use always LyXFind now!
14576 * text2.C (init): add a reinit flag so that the LyXText can be
14577 reinited instead of deleted and reallocated (used in InsetText).
14579 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14585 2001-07-18 Juergen Vigna <jug@sad.it>
14587 * text.C (selectNextWord): handle insets inside inset by calling
14588 always the bv->text functions so that we can go up the_locking_inset!
14590 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14591 in strange locations when inside an inset!
14593 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14594 handling to include insets.
14596 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14598 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14600 * LyXAction.C (init):
14602 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14603 LIGATURE_BREAK, since the name is so stupid.
14605 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14607 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14610 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14612 * sp_form.[Ch]: remove.
14614 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14616 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14619 * src/buffer.C (readInset): ditto.
14621 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14623 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14624 menuSeparator(), endOfSentenceDot(), ldots() and
14625 hyphenationPoint(), which are therefore removed.
14626 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14628 * LyXAction.C (init):
14629 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14631 * paragraph.C (getWord): removed.
14633 * BufferView_pimpl.C (Dispatch): use last word or selection for
14634 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14636 * lyx_main.C (queryUserLyXDir): do not ask before creating
14637 user_dir, except if it has been named explicitely.
14639 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14641 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14642 a document of zero size.
14644 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14646 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14647 approriately in the c-tor and in require().
14648 (getPackages): output the appropriate LaTeX for natbib support.
14650 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14651 variables "use_natbib" and "use_numerical_citations" when reading the
14653 (readInset): read the various natbib cite commands.
14654 (validate): white-space change.
14656 * bufferparams.[Ch]: new variables "bool use_natbib" and
14657 "bool use_numerical_citations".
14658 (writeFile): output them in the LyX file.
14660 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14662 * lyxfunc.C (getStatus): add support for all the inset insertion
14665 * text2.C (insertInset):
14666 * paragraph.C (insetAllowed):
14667 * BufferView_pimpl.C (insertInset): update to take in account the
14668 renaming of insertInsetAllowed
14670 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14672 * text2.C (getInset): new method. returns inset at cursor position.
14674 * BufferView_pimpl.C (Dispatch): changes because of this.
14676 * LyXAction.C (init): rename open-stuff to inset-toggle.
14678 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14680 * text2.C (toggleInset): renamed from openStuff; use
14683 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14685 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14687 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14689 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14691 * buffer.C (readLyXformat2): Add filename to the error dialog
14693 2001-07-18 Juergen Vigna <jug@sad.it>
14695 * tabular.C (GetCellNumber): put an assert here instead of the check!
14697 2001-07-17 Juergen Vigna <jug@sad.it>
14699 * BufferView_pimpl.C (toggleSelection): adapted too.
14701 * text.C (selectNextWord): adapted for use with insets.
14702 (selectSelectedWord): ditto
14704 2001-07-17 Juergen Vigna <jug@sad.it>
14706 * sp_spell.C (PSpell): fix initialitation order.
14708 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14710 * paragraph.C: spacing
14712 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14714 * sp_spell.C: repair language selection for pspell
14716 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14718 * lyxfunc.h: change more methods to begin with lower char.
14720 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14722 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14723 for unknown layouts.
14725 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14727 * buffer.C (readLyXformat2): Generate an error dialog if there are
14730 2001-07-16 Juergen Vigna <jug@sad.it>
14732 * sp_spell.C: always compile ISpell part.
14734 * lyxrc.C: added use_pspell entry and it's handling.
14736 2001-07-13 Juergen Vigna <jug@sad.it>
14738 * sp_spell.C: removed double includes.
14740 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14742 Consistent use of Lsstream.h:
14743 * Lsstream.h: added using std::stringstream for consistencies sake.
14745 * buffer.C: removed using std::stringstream
14747 * lyxfont.C (stateText):
14748 * paragraph.C (asString):
14749 * text.C (selectNextWord, selectSelectedWord):
14750 * text2.C (setCounter):
14751 * vspace.C (asString, asLatexString):
14752 std::ostringstream -> ostringstream.
14754 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14756 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14757 * commandtags.h: add LFUN_HELP_ABOUTLYX
14758 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14760 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14762 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14764 * lyx_gui_misc.C: remove spellchecker
14765 * lyxfunc.C: showSpellchecker
14767 * sp_ispell.h: added
14768 * sp_pspell.h: added
14769 * sp_spell.C: added
14770 * sp_form.[Ch]: removed
14771 * spellchecker.[Ch]: removed
14773 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14775 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14777 (simpleTeXSpecialChars): Simply print the input character without
14778 any special translation if pass_thru is set.
14780 * layout.h: Added bool pass_thru to layout class for being able to
14781 implement pass through of a paragraph for Literate Programming.
14783 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14784 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14785 * layout.C (Read): add "passthru" to list of layout tags and add
14786 code to set the pass_thru boolean when it is read.
14788 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14790 * trans_decl.h: remove allowed from KmodInfo
14792 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14793 remove allowed code
14796 * paragraph_pimpl.C (erase): use boost::prior
14798 * Painter.C (text): use data() instead of c_str() when length is
14800 * WorkArea.C (putClipboard): ditto
14801 * font.h (width): ditto
14803 * BufferView2.C: use it-> instead of (*it). for iterators
14805 * paragraph_pimpl.C: ditto
14806 * paragraph.C: ditto
14807 * minibuffer.C: ditto
14808 * language.C: ditto
14810 * encoding.C: ditto
14811 * counters.C: ditto
14812 * converter.C: ditto
14814 * Variables.C: ditto
14815 * TextCache.C: ditto
14816 * MenuBackend.C: ditto
14817 * LyXAction.C: ditto
14819 * FloatList.C: ditto
14820 * DepTable.C: ditto
14821 * ColorHandler.C (LyXColorHandler): ditto
14823 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14827 * text2.C (openStuff): reintroduce this method (which had been
14828 nuked in NEW_INSETS frenzy).
14830 * lyxfunc.C (Dispatch): when an action has not been handled, use
14831 its name in the error message, not its number.
14833 * paragraph.C (inInset): change method name to begin with lowercase.
14836 * text2.C: updates because of this.
14838 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * ToolbarDefaults.C (add): add spaces in error message
14842 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14844 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14845 (readLyXformat2): rename return_par to first_par, use lyxlex's
14846 pushToken and remove the manual push handling.
14847 (parseSingleLyXformat2Token): add another ert comp. variable:
14848 in_tabular, rename return_par to first_par. handle newlines better
14850 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14852 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14854 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * text2.C (getParFromID): removed
14858 * buffer.C (getParFromID): new method moved form lyxtext.
14859 * BufferView2.C (insertErrors): adjust
14860 (setCursorFromRow): adjust
14861 * BufferView_pimpl.C (restorePosition): adjust
14862 * lyxfunc.C (Dispatch): adjust
14863 * undo_funcs.C (textUndo): adjust
14865 (textHandleUndo): adjust
14866 (textHandleUndo): adjust
14868 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14870 * buffer.C: up' the LYX_FORMAT
14872 * lyxfont.h: turn NO_LATEX on as default
14874 * buffer.C (insertErtContents): new methods of tex style compability.
14875 (parseSingleLyXformat2Token): use it several places.
14876 * tabular.C (OldFormatRead): and here
14878 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * text2.C: remove some commented code.
14883 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14884 * trans.C: changes because of the above.
14886 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14888 * text2.C (setCounter): Fix counters bug with bibliography layout.
14890 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14893 own member functions
14894 (simpleTeXSpecialChars): ditto
14896 2001-07-06 Juergen Vigna <jug@sad.it>
14898 * a lot of files: changed the access to LyXText::status and the
14899 call of undo-functions.
14901 * undo.[Ch]: added a inset_id to the undo informations.
14903 * undo_funcs.[Ch]: added and moved here all undo functions.
14905 * lyxtext.h: give the status enum a weight, made status_ a private
14906 variable and made accessor functions for it, removed the whole bunch
14907 of undo-functions as they are now in their own file, make some
14908 functions publically available. Added function ownerParagraph with
14911 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14912 made InInset() a const function, added getParFromID() function.
14914 * buffer.[Ch]: added const version for inset_iterator functions,
14915 added getInsetFromID() function.
14917 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14918 changed undo functions for new version.
14920 2001-07-05 Juergen Vigna <jug@sad.it>
14922 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14923 unknow mechanism does not call the proper constructor but only this
14924 one also if I request the other!?
14926 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14928 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14930 * text2.C (LyXText): use initialization lists.
14932 * lyxtext.h (Selection): initialize set_ and mark_
14933 (init): remove method
14935 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14937 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14939 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14941 * screen.[Ch]: change method names to begin with lowercase
14943 * BufferView_pimpl.C (updateScrollbar): simplify further and
14944 hopefully make it a bit faster.
14946 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14948 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14949 calling directly xforms functions.
14951 * Painter.C (Painter):
14952 * lyx_cb.C (MenuWrite):
14953 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14956 * lyx_gui.C: remove bogus guiruntime extern declaration.
14958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14962 (redoDrawingOfParagraph): ditto
14963 (redoParagraphs): ditto
14964 (cutSelection): don't create a object for CutAndPaste use the
14965 static method directly
14966 (pasteSelection): ditto
14968 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14971 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14973 * modifications to some other files because of this.
14975 * Makefile.am (lyx_SOURCES): add XFormsView
14977 * XFormsView.[Ch]: new files
14979 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14980 the main window. Move the gui dependent stuff to XFormsView
14982 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14984 * tabular.C (GetCellInset): update cur_cell also in the row/col
14985 version of this function.
14987 * lyxfunc.C: no need to include figure_form.h here.
14993 * lyxvc.C: no need to include forms.h here.
14995 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14997 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14999 * lyxfunc.C (Dispatch):
15001 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15002 constructor argument.
15004 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15006 * paragraph.C (Paragraph): dont't clear, and just set layout.
15007 (makeSameLayout): use params's copy contructor.
15009 * ParagraphParameters.[Ch] (makeSame): delete method
15011 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15013 * Variables.[Ch]: fix indentation, rename set to isSet
15015 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15017 * lyxfunc.C (Dispatch): fix typo
15019 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15024 * bufferlist.C: include assert.h for emergencyWrite().
15026 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15028 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15029 give up at last (bug #425202) !
15031 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15037 * spellchecker.C: strip spellchecker options and bring up
15038 preferences tab instead
15040 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15042 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15043 the istringstream constructor
15045 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15047 * paragraph.C (getLayout): fix return value
15049 * paragraph.h: do not declare getLayout as inline.
15051 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15053 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15055 * lyxcursor.h (operator<): new func
15056 (operator>): new func
15057 (operator>=): new func
15058 (operator<=): new func
15060 * text.C (changeCase): use selection.start and selection.end
15061 (changeRegionCase): require from to be <= to. Require par to be a
15064 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15066 2001-06-27 Juergen Vigna <jug@sad.it>
15068 * text.C (cursorLeftOneWord): changed to return the cursor and added
15069 overlay with BufferView * parameter which calls this one.
15071 (selectWord): use new getWord function.
15072 (changeCase): renamed from changeWordCase as and extended to work
15073 also on selections.
15075 * lyxtext.h: added enum word_location
15077 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15078 changeCase as this operates now also on selections.
15080 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15082 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15084 * many files: send debug output to Debug::INFO instead of
15087 * converter.C (View):
15089 (Move): send debug output to Debug::FILES instead of console.
15091 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15093 * lyxfunc.C (getStatus): use func_status
15095 * func_status.h: new header, describing the results of
15096 LyXFunc::getStatus;
15098 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15101 2001-06-25 The LyX Project <jug@sad.it>
15103 * buffer.C (sgmlOpenTag):
15105 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15107 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15109 * text2.C: remove some dead code
15111 * tabular.C (GetCellInset): store the last cell checked (gotten)
15113 * tabular.h: add the helper for the speedup
15115 * lyxtext.h: remove some dead code
15117 2001-06-26 The LyX Project <Asger>
15119 * paragraph.C: Change export to LaTeX of alignment to
15120 \begin{center} and family for better roundtrip work with reLyX.
15122 * Tune the math drawing a bit.
15124 2001-06-25 The LyX Project <Asger>
15126 * LColor.C (LColor): New color for math background. New color
15129 2001-06-25 The LyX Project <jug@sad.it>
15131 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15133 * lyxfunc.C (Open):
15134 * bufferlist.C (newFile): do not restrict to files ending with
15137 * BufferView_pimpl.C (MenuInsertLyXFile):
15139 2001-06-24 The LyX Project <jug@sad.it>
15141 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15144 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15146 * lyxtext.h: rename most methods to begin with a small char.
15147 Lots of changes because of this.
15149 * paragraph.C (Paragraph): do not call fitToSize
15150 (erase): call Pimpl::erase
15151 (insertChar): call Pimpl::insertChar
15152 (insertInset): call Pipl::insertInset
15153 (breakParagraph): do not call fitToSize
15154 (breakParagraphConservative): do not call fitToSize
15155 (fitToSize): remove method
15157 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15159 2001-06-24 The LyX Project <Asger>
15161 * Fix Qt compilation^2
15163 2001-06-24 The LyX Project <jug@sad.it>
15165 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15166 depthHook(getDepth()-1).
15169 * ParagraphParameters.h:
15170 * ParameterStruct.h: change type of depth to unsigned int ==
15171 depth_type. Many adaptations to other files before of that.
15173 2001-06-24 The LyX Project <Asger>
15175 * Fix Qt compilation.
15177 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15179 * paragraph.h: renamed several methods to begin with small letter.
15180 several changes to many parts of the code because of this.
15182 2001-06-23 The LyX Project <jug@sad.it>
15184 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15185 rewritten to discard all double spaces when KeepEmpty is off
15186 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15187 to only handle newlines but not fiddle with spaces and friends.
15189 * lyxfunc.C (MenuNew): when doing 'new from template', use
15190 template_path as default directory
15192 2001-06-23 The LyX Project <Asger>
15194 * Clean-up of header file includes all over
15195 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15197 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * paragraph.h: renamed from lyxparagraph.h
15201 2001-06-23 Asger <lyx@violet.home.sad.it>
15203 * Buffer.h: Removed Buffer::resize
15204 * BufferList.h: Removed BufferList::resize
15205 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15206 the document lazily when we change the width, or the font settings.
15208 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15210 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15212 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15214 * buffer.h: remove out of date comment
15216 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15219 * screen.C: fix "theoretical" GC leak
15221 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * LaTeX.C (scanAuxFile):
15224 (deplog): remove trailing \r when reading stream (useful under
15227 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15229 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15230 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15231 and BufferView::theLockingInset(Inset*), so should use them and not
15232 access bv_->text->the_locking_inset directly.
15234 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15236 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15239 * tex-defs.h: remove old unused file
15241 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15243 * BufferView_pimpl.C: fix typo, remove minibuffer message
15244 when buffer has loaded
15246 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15248 * lyxfunc.C (Dispatch): use stringstream
15249 (MenuNew): use stringstream
15250 (Open): use stringstream
15252 * importer.C (Import): use stringstream
15254 * bufferview_funcs.C (CurrentState): use stringstream
15256 * LaTeX.C (run): use stringstream
15258 * BufferView_pimpl.C (savePosition): use stringstream
15259 (restorePosition): use stringstream
15260 (MenuInsertLyXFile): use stringstream
15262 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15275 * vspace.C: removed // -*- C++ -*- as first line.
15278 * version.h: added // -*- C++ -*- as first line.
15280 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15282 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15284 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15287 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15289 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15292 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15294 * gettext.C: include LString.h even when --disable-nls is on.
15296 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15298 * converter.h (Get): changed argument type from int to
15299 FormatList::size_type to avoid unnecessary conversion.
15301 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15304 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * gettext.h: include LString.h even when --disable-nls is on.
15308 2001-06-07 Juergen Vigna <jug@sad.it>
15310 * text.C (BreakAgain): subst spaces with tabs.
15312 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15313 (resizeInsetsLyXText): set force on resizeLyXText.
15315 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15317 * gettext.h (gettext_init):
15318 (locale_init): use a real definition instead of a macro
15320 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15322 * Bufferview_pimpl.C:
15324 * LColor.C: further lcolor tidies
15326 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * BufferView_pimpl.C (updateScrollbar): simplify.
15330 * BufferView2.C: don't include insets/insetinfo.h, change
15331 prototype for insertInset and call the Pimpl version. let
15332 updateInset call Pimpl version.
15334 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15335 gotoInset to BufferView::Pimpl
15337 2001-06-01 Juergen Vigna <jug@sad.it>
15339 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15340 inside a LockingInset (is the update needed at all?).
15342 2001-05-31 Juergen Vigna <jug@sad.it>
15344 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15345 here not the old one otherwise how should we compare it afterwards
15348 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15353 * FontInfo.C: bring C functions into global namespace when
15356 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15358 * LString.h: make sure config.h has been loaded before LString.h.
15360 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15361 (one for each char read by EatLine!).
15363 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15366 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15368 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15369 to the same as the par we break from
15371 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15373 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15375 * MenuBackend.C (expand): also create menu entries for wide
15376 versions of the floats.
15378 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15380 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15382 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15383 frontends/Makefile.am
15389 * tabular.C (getTokenValue): add std::
15391 * tabular-old.C (getTokenValue): add std::
15392 (getTokenValue): ditto
15393 (getTokenValue): ditto
15395 * screen.C (ToggleSelection): adjust
15397 * lyxtext.h: put selection cursors inside a Selection struct.
15399 * lyxfunc.C (moveCursorUpdate): adjust
15401 * lyxfont.C (latexWriteStartChanges): add std::
15403 * lyxfind.C: adjust
15405 * font.h: delete with(char const *, LyXFont const &)
15407 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15409 * FontInfo.C (getFontname): add std::
15411 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15412 (workAreaButtonPress): adjust
15413 (tripleClick): adjust
15415 (moveCursorUpdate): adjust
15418 * BufferView2.C (gotoInset): adjust
15420 2001-05-30 Juergen Vigna <jug@sad.it>
15422 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15423 to check pspell I add this as default as I now have new pspell
15424 libraries and they seem to use this.
15426 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * text2.C (CutSelection): make the cursor valid before the call to
15431 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15434 relied on 0 terminated strings and other horrors. Bug found due to
15435 the new assert in lyxstring!
15437 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15440 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15442 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15445 * lyxfunc.C (processKeySym): change method of getting to the
15448 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15449 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15450 * BufferView_pimpl.[Ch]: here as private methods.
15452 2001-05-28 Juergen Vigna <jug@sad.it>
15454 * text.C (SetHeightOfRow): added the update() call again as it is
15455 needed to initialize inset dimensions!
15457 2001-05-16 Juergen Vigna <jug@sad.it>
15459 * text2.C (SetCharFont): Add new function with BufferView * and
15460 bool toggleall parameters for setting insets internal fonts.
15461 (SetFont): Freeze the undo as we may change fonts in Insets and
15462 all this change should be inside only one Undo!
15464 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15465 setting font's in insets as for them we have the SetFont function!
15467 2001-05-15 Juergen Vigna <jug@sad.it>
15469 * text2.C (ClearSelection): to be sure we REALLY don't have any
15472 * tabular.C (TeXCellPreamble): fixed the left border problem for
15475 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15477 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15480 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15482 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15483 LFUN_BREAKPARAGRAPH.
15485 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15486 help test to "internal only", similar for LFUN_INSERT_URL
15488 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15489 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15490 auto_region_delete and deadkeys.
15492 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15495 * LColor.C: remove some dead entries, tidy a little
15497 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15501 (Dispatch): implement LFUN_ESCAPE
15503 * commandtags.h: add LFUN_ESCAPE
15505 * LyXAction.C (init): add entry for LFUN_ESCAPE
15507 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15508 Remove commented code.
15509 (insertNote): moved here
15510 (open_new_inset): moved here
15512 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15515 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15517 * kbmap.C (findbinding): clean it up and make it work correctly.
15519 * lyx_main.C (init): do not pass argc and argv as parameters
15521 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15523 * buffer.C: fix path for OS/2 & Win32
15527 * lyx_main.C: Added os:: class.
15529 * os2_defines.h: update
15531 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15533 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15534 better by trying again with reduced state.
15536 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15538 * lyxrc.C (read): print error about invalid key sequence only when
15539 debugging (because not all latinX keysyms are known to some X
15542 * kbsequence.C (getiso): add a few std:: qualifiers
15543 (getiso): comment out extra return statement.
15545 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15547 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15549 (Dispatch): enhance the accent inset a bit. (not perfect)
15551 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15555 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * bufferlist.C (emergencyWrite): fix assert() call
15559 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15561 * text.C (InsertChar): Added trivial patch to only send the "you
15562 can not do multiple spaces this way" message once during a
15565 2001-05-08 Baruch Even <baruch@lyx.org>
15567 * Makefile.am: Changed order of libraries to get LyX to link properly
15568 with the gnome frontend.
15570 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15572 * LaTeXFeatures.h: add a std:: qualifier
15574 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15576 * paragraph.C (String): use stringstream
15578 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15580 * paragraph.C (writeFile): remove footflag arg
15582 * buffer.C (makeLaTeXFile): use stringstream
15583 (latexParagraphs): remove footnot gurba
15585 * LaTeXFeatures.C (getPackages): use stringstream
15586 (getMacros): likewise
15587 (getTClassPreamble): likewise
15588 (getFloatDefinitions): new method
15590 * paragraph.C (writeFile): reindent
15593 * WorkArea.h: revert the xpos + etc changes.
15595 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15597 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15599 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15600 (pasteSelection): likewise
15601 * text2.C (CreateUndo): likewise
15603 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15605 * minibuffer.C (peek_event): temporarily reduce the functionality
15606 of the minibuffer (to allow args on lfuns)
15608 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15609 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15611 * buffer.C (readInset): add compability reading of old float
15612 lists, add reading of new style float list.
15613 (readInset): avoid reevaluation of inscmd.getCmdName()
15614 (getLists): reindent
15616 * MenuBackend.C (MenuItem): implement parsing of
15617 md_floatlistinsert and md_floatinsert.
15618 (expand::LastFiles): move initalizaton of iterators out of loop,
15619 avoid reevaluation.
15620 (expand::Documents): introduce typdedef vector<string> Strings,
15622 (expand::ExportFormats): introduce typedef vector<Format const *>
15623 Formats, and use it.
15624 (expand): implement FloatListInsert and FloatInsert.
15626 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15627 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15628 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15630 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15632 (Dispatch::LFUN_FLOAT_LIST): implement
15634 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15636 * LaTeX.C (run): Fix problem with --export code.
15638 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15640 * BufferView.[Ch] (workarea): removed.
15641 (getClipboard) new method; wrapper for workarea()->getClipboard()
15643 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15646 * WorkArea.h (width, height, xpos, ypos): These methods all
15647 returned the dimensions of the work_area sub-area of WorkArea,
15648 resulting in a position error if the WorkArea were resized. Now
15649 return the dimensions of the entire WorkArea.
15651 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15653 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15655 * LaTeX.C (deplog): correct the syntax of regex reg1
15657 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15659 * undo.C: remove !NEW_INSETS cruft
15661 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15663 * text2.C: remove !NEW_INSETS cruft
15665 * text.C: remove !NEW_INSETS cruft
15667 * tabular.C: remove !NEW_INSETS cruft
15669 * spellchecker.C: remove !NEW_INSETS cruft
15671 * lyxtext.h: remove !NEW_INSETS cruft
15673 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15675 * lyxfunc.C: remove !NEW_INSETS cruft
15677 * lyxfind.C: remove !NEW_INSETS cruft
15679 * lyx_cb.C: remove !NEW_INSETS cruft
15681 * figureForm.C: remove !NEW_INSETS cruft
15683 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15685 * buffer.[Ch]: remove !NEW_INSETS cruft
15687 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15689 * CutAndPaste.C: remove !NEW_INSETS cruft
15691 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15693 * BufferView2.C: remove !NEW_INSETS cruft
15695 * BufferView.h: remove !NEW_INSETS cruft
15697 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15699 * Lsstream.h: include LString.h before the sstream headers to
15700 fix problem with gcc 2.95.3 and lyxstring
15702 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15704 * lyx_main.C: add using directives when needed for C functions
15705 declared in std:: namespace.
15707 2001-04-27 Juergen Vigna <jug@sad.it>
15709 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15710 (SetHeightOfRow): comment out the update call should not be needed!
15712 2001-04-13 Juergen Vigna <jug@sad.it>
15714 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15715 (LyXTabular): tried to minimize operator= operations (and realized
15716 hopfully Lars wish).
15718 2001-04-27 Juergen Vigna <jug@sad.it>
15720 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15722 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15724 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15726 * buffer.C (readInset): hack to make listof algorithm work
15728 * BufferView_pimpl.C: hack to make listof algorithm work
15730 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15732 * LyXAction.C: removed all !NEW_INSETS cruft
15733 (init): moved lfun_item in method
15735 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15737 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15739 * BufferView2.C (theLockingInset): white space.
15741 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15743 * minibuffer.C: include <iostream>
15745 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15747 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15749 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15751 * text.[Ch] (TransposeChars): new method
15753 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15755 * call message directly through LyXView instead of through LyXFunc
15756 * BufferView2.C: adjust
15757 * BufferView_pimpl.C: adjust
15758 * FontLoader.C: adjust
15760 * bufferview_funcs.C: adjust
15761 * converter.C: adjust
15762 * figureForm.C: adjust
15763 * importer.C: adjust
15765 * lyx_gui_misc.C: adjust
15766 * lyxfunc.C: adjust
15769 + more files in subdirs
15771 * lyxparagraph.h (size): move up int file
15774 * adjust all uses of Assert to lyx::Assert.
15776 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15777 lyxfunctional in namespace lyx
15778 * layout.C (hasLayout): ditto
15781 (delete_layout): ditto
15782 (NumberOfClass): ditto
15783 * converter.C (GetFormat): ditto
15788 * bufferlist.C (getFileNames): ditto
15789 (emergencyWriteAll): ditto
15792 * MenuBackend.C (hasSubmenu): ditto
15795 * BufferView_pimpl.C (getInsetByCode): ditto
15797 2001-04-18 Juergen Vigna <jug@sad.it>
15799 * vspace.C (asLatexString): fixed the 100% problem.
15801 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15803 * lyxfunc.C (Dispatch):
15805 * minibuffer.h: add a few std:: qualifiers
15807 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * minibuffer.[Ch]: reimplement so that commands is initiated and
15810 run from lyxfunc, simplified som handling, and made the completion
15811 and history code for complete. wip.
15813 * lyxfunc.C (processKeySym): call message
15814 (miniDispatch): new temporary method
15815 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15816 (LFUN_MESSAGE): implement
15817 (LFUN_MESSAGE_PUSH): implement
15818 (LFUN_MESSAGE_POP): implement
15819 (initMiniBuffer): the initial/defualt minibuffer message.
15821 * lyxfont.[Ch]: inline some more getters
15823 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15825 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15827 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15828 (AutoSave): use LFUN_MESSAGE
15829 (Reconfigure): ditto
15831 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15833 * figureForm.C: use LFUN_MESSAGE
15835 * converter.C (runLaTeX): use LFUN_MESSAGE
15837 * bufferview_funcs.C: use LFUN_MESSAGE
15839 (changeDepth): ditto
15841 * bufferparams.h: use boost::
15843 * bufferlist.h: inherit privately from noncopyable
15845 * bufferlist.C (loadLyXFile): remove some commented code.
15847 * buffer.C (runChktex): use LFUN_MESSAGE
15849 * ShareContainer.h: inherit privately from noncopyable
15851 * ParagraphParameters.[hC] (depth): inline it.
15853 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15855 (message): new method
15856 (messagePush): ditto
15857 (messagePop): ditto
15858 (show): init minibuffer
15859 (showState): direct call
15861 * LaTeX.[Ch]: inherit privately from noncopyable
15862 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15863 instead of WriteStatus.
15865 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15867 * BufferView_pimpl.C (buffer): don't init minibuffer
15868 (workAreaButtonPress): use LFUN_MESSAGE
15869 (workAreaButtonRelease): ditto
15870 (savePosition): ditto
15871 (restorePosition): ditto
15872 (MenuInsertLyXFile): ditto
15873 (workAreaExpose): don't init minibuffer
15874 (update): remove commented code, simplify
15876 * BufferView2.C (openStuff): use LFUN_MESSAGE
15877 (toggleFloat): ditto
15880 (copyEnvironment): ditto
15881 (pasteEnvironment): ditto
15886 (updateInset): remove some commented code
15888 * lastfiles.h: inherit privately from noncopyable
15891 * lyx_main.h: ditto
15893 * lyxlex_pimpl.h: ditto
15895 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15896 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15897 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15899 * LyXAction.h: inherit privately from noncopyable, add methods
15900 func_begin, func_end, returning iterators to the func map.
15902 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15903 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15904 (func_begin): new method
15905 (func_end): new method
15907 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15909 (copySelection): ditto
15910 (pasteSelection): ditto
15912 * BufferView.C: whitespace change
15913 * BufferView.h: inherit privately from noncopyable
15915 2001-04-16 Allan Rae <rae@lyx.org>
15917 * tabular-old.C (l_getline):
15918 * spellchecker.C (sc_check_word):
15919 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15920 an unrecognised preprocessor directive. So ensure they're wrapped.
15922 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15924 * src/exporter.C (Export): Give an error message when path to file
15927 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15929 * LaTeX.C (deplog): Always check that foundfile exists.
15931 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15936 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15938 * tabular.[Ch] (getLabelList): implement new method
15940 * minibuffer.h: comment ouf setTiimer
15942 * minibuffer.C (ExecutingCB): constify res
15943 (peek_event): constify s
15944 (Set): constify ntext
15945 (Init): constify nicename
15947 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15949 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15950 (savePosition): use two params to Minibuffer::Set
15951 (restorePosition): ditto
15953 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15955 * lyx_main.C: include language.h
15957 * Makefile.am (lyx_main.o): add language.h
15959 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15965 * CutAndPaste.C: include gettext.h
15967 * lyxfont.h: remove old hack with ON and OFF.
15970 * lyxfont.h: do not include language.h...
15975 * bufferview_funcs.C:
15981 * paragraph.C: ... but do it here instead
15983 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15985 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15987 * tabular.C: small reformat
15989 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15992 (BreakParagraph): ditto
15993 (SetOnlyLayout): ditto
15996 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15999 * lastfiles.C: removed most using decl, add std:: where needed
16001 * buffer.C: ws changes
16003 * MenuBackend.C (class compare_format): put into anon namespace
16004 (expand): constify label, names, action, action2
16007 * text.C (SingleWidth): constify font
16008 (IsBoundary): constify rtl2
16009 (GetVisibleRow): constify ww
16011 * LaTeX.C (deplog): constify logfile
16013 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16015 (workAreaExpose): constify widthChange, heightChange
16017 * lyxrow.C (par): moved
16020 * lyxrow.h: as inlines here
16022 * lyxfont.h (shape): moved from lyxfont.C
16023 (emph): moved from lyxfont.C
16025 * lyxfont.C (LyXFont): use initialization list for all
16027 (shape): move to lyxfont.h as inline
16028 (emph): move to lyxfont.h as inline
16031 2001-04-04 Juergen Vigna <jug@sad.it>
16033 * vspace.C: had to include stdio.h for use of sscanf
16035 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16038 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16039 independent of xforms.
16041 2001-04-02 Juergen Vigna <jug@sad.it>
16043 * spellchecker.C: fixed namespace placing!
16045 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16047 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16048 the LyXParagraph * is 0.
16050 2001-03-29 Juergen Vigna <jug@sad.it>
16052 * vspace.C: added support for %, c%, p%, l%.
16053 (stringFromUnit): added helper function.
16054 (asLatexString): changed to give right results for the %-values.
16056 * buffer.C: convert the widthp in a width%.
16058 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16060 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16063 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16064 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16066 * lyx_cb.[Ch]: see above.
16068 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16072 * lyx.[Ch]: replaced by figure_form.[Ch].
16076 * lyxfunc.C: changed headers associated with above changes.
16078 2001-03-27 Juergen Vigna <jug@sad.it>
16080 * BufferView_pimpl.C: set the temporary cursor right!
16082 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16084 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16086 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16088 * LString.h: removed "using std::getline"!
16090 * BufferView_pimpl.C (Dispatch): changes due to changes in
16091 InsetInclude::Params.
16093 * buffer.C (tag_name): removed redundant break statements as they were
16094 producing lots of warnings with my compiler.
16096 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16098 * LString.h: add "using std::getline" when using the real <string>.
16100 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16102 * buffer.C: removed bitset usage.
16103 PAR_TAG moved to an anonymous name space.
16104 (tag_name): new funtion, also in the anonymous namespace.
16105 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16106 (makeDocBookFile): clean code. Completed transition from string arrays
16108 (SimpleDocBookOnePar): code clean.
16110 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16112 * tabular.C: add some comments.
16114 2001-03-22 Juergen Vigna <jug@sad.it>
16116 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16117 compatibility read a bit and fixed bug with minipage in different
16120 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16122 * buffer.C (pop_tag): removed.
16123 (push_tag): removed.
16124 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16125 array replaced with vector. Added support for CDATA sections.
16126 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16128 (makeDocBookFile): XML conformant declaration of CDATA section,
16129 fixed bug related to <emphasis> in the first paragraph char.
16130 (sgmlOpenTag): exclude empty tags.
16131 (sgmlCloseTag): ditto.
16133 * buffer.h (pop_tag): removed.
16134 (push_tag): removed.
16136 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16138 * language.h (Languages): added size_type and size().
16140 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16142 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16143 response on compability reading of minipages. One probliem is that
16144 the old usage of minipages was «flertydig»
16146 * several files here and in subdirs: don't use static at file
16147 scope use anon namespaces instead.
16149 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16151 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16152 LaTeX output. This is necessary for Literate document
16155 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16157 * buffer.C: insert hfill when needed.
16159 * tabular.C (l_getline): use string::erase, small whitespace change.
16161 * BufferView_pimpl.C: try the anon namespace.
16162 * WorkArea.C: ditto
16164 2001-03-16 Juergen Vigna <jug@sad.it>
16166 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16167 otherwise it won't open options-dialogs.
16169 * buffer.C: honor pextraWidth(p) on converting minipages.
16171 * tabular.C (l_getline): changed the functions to strip trailing \r.
16173 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16175 * BufferView_pimpl.C:
16176 * minibuffer..C: added "using SigC::slot" declaration.
16178 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16180 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16186 * paragraph.C: ditto
16188 * lyxtext.h: NO_PEXTRA
16190 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16192 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16193 * ParameterStruct.h: ditto
16194 * ParagraphParameters.h: ditto
16195 * lyxparagraph.h: ditto
16197 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16199 * buffer.C: add compability for minipage alignment.
16200 (latexParagraphs): remove unwanted pextra check.
16202 * several files: remove CXX_WORKING_NAMESPACES
16204 * buffer.C (pop_tag): tie is in namespace boost
16206 * BufferView.h: noncopyable is in namespace boost
16208 * lyx_main.h: ditto
16211 * lastfiles.h: ditto
16212 * bufferlist.h: ditto
16213 * ShareContainer.h: ditto
16215 * LyXAction.h: ditto
16218 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16220 * Merging changes from BRANCH_MVC back into HEAD.
16222 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16224 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16226 * BufferView_pimpl.C: change from intl.C
16230 * Makefile.am: move combox.*
16236 * intl.C: remove dialog (covered by prefs)
16238 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16240 * lyxfunc.C (Dispatch): removed redundant break statement.
16242 2001-03-14 Juergen Vigna <jug@sad.it>
16244 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16246 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16248 * buffer.C: add hack to fix compability reading of minipages.
16250 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16252 * buffer.C (getLists): Cleanup.
16254 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * lyxfont.C (update): don't honor toggleall on font size.
16258 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16262 * Makefile.am: moved to frontends/xforms/
16266 * BufferView_pimpl.C: changes for moved mathpanel
16268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16270 * gettext.h: fix gettext_init() in --disable-nls
16272 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16274 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16276 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16279 * lyx.h: strip external form
16281 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16283 * BufferView_pimpl.C: add comment, destroySplash()
16285 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16287 * BufferView_pimpl.C:
16291 * lyxfunc.C: use re-worked insetinclude
16293 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16295 * buffer.C: add using std::stringstream.
16297 * lyx_cb.C: readd using std::ios.
16299 * buffer.C: add using std::map.
16301 * BufferView_pimpl.C: add using std::vector.
16303 * ShareContainer.h: add std:: to swap.
16305 * buffer.h: add some typedefs
16306 * buffer.C (getLists): use them
16307 (getLists): renamed from getTocList.
16308 add a counter for the different float types and use it in the
16310 (getLists): use the same counter for the NEW_INSETS and the "non"
16313 * lyx_cb.h: remove unused items, includes, using etc.
16315 * ShareContainer.h: remove some commented code, add more comments
16316 and "documentation".
16318 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16320 * buffer.C (getTocList): make the list also when NEW_INSETS is
16323 * buffer.h: remove TocType
16325 * buffer.C (getTocList): change to return a map<string,
16326 vector<TocItem> >, implement for dynamic number of list.
16328 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16329 * text2.C (PasteSelection): adjust
16330 * CutAndPaste.C (pasteSelection): adjust
16332 * FloatList.C (FloatList): update from the new_insets branch.
16333 * Floating.[Ch]: ditto
16334 * LaTeXFeatures.C: ditto
16336 * lyxlex_pimpl.C: ditto
16338 * paragraph.C (Last): remove when NEW_INSETS is defined.
16340 * other file: changes because of the above.
16342 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16344 * lyxparagraph.h: rename next to next_, previous to previous_,
16345 make them private for NEW_INSETS. Rename Next() to next(),
16346 Previous() to previous().
16348 * other files: changes because of the above.
16350 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16353 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16356 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16358 * main.C (main): pass lyx_localedir to gettext_init().
16360 * gettext.h: remove locale_init and gettext_init macros
16362 * gettext.C (locale_init): new function
16363 (gettext_init): new function
16365 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16368 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16370 * Moved credits to frontends:
16371 * credits.[Ch]: removed
16372 * credits_form.[Ch]: removed
16373 * lyx_gui_misc.C: remove credits stuff
16376 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16378 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16380 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16381 unneeded destructor.
16383 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16384 a standalone pointer again.
16386 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16388 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16394 * ToolbarDefaults.C:
16403 * BufferView_pimpl.C: use new file dialog in GUII
16406 * lyx_cb.C: remove LayoutsCB to Toolbar
16408 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16410 * ShareContainer.h (get): add std:: qualifier
16412 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16414 * ShareContainer.h: define a proper ShareContainer::value_type
16415 type (and use typename to please compaq cxx)
16417 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16419 * lyxparagraph.h: move serveral local vars to
16420 ParameterStruct/ParagraphParameters., use ShareContainer in
16421 FontTable., make vars in FontTable private and add getter and
16424 * paragraph.C: changes because of the above.
16426 * lyxfont.h: remove copy constructor and copy assignment. (the
16427 default ones is ok), move number inside FontBits. move inlines to
16430 * lyxfont.C: add number to initializaton of statics, move several
16431 inlines here. constify several local vars. some whitespace
16432 cleanup. Dont hide outerscope variables.
16434 * Spacing.h: add two new constructors to match the set methods.
16436 * ShareContainer.h: new file, will perhaps be moved to support
16438 * ParameterStruct.h: new file
16440 * ParagraphParameters.h: new file
16442 * ParagraphParameters.C: new file
16444 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16445 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16447 * BufferView_pimpl.C: ParagraphParameter changes.
16448 * buffer.C: Likewise.
16449 * bufferview_funcs.C: Likewise.
16450 * text.C: Likewise.
16451 * text2.C: Likewise.
16453 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16455 * lyxfind.C (LyXReplace): do not redefine default argument in
16457 (IsStringInText): ditto
16458 (SearchForward): ditto
16459 (SearchBackward): ditto
16461 2001-03-06 Juergen Vigna <jug@sad.it>
16463 * lyxfind.C (IsStringInText): put parentes around expressions.
16465 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16467 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16469 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16471 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16473 * stl_string_fwd.h: add comment
16475 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16478 * tabular.C: remove unused DocBook methods
16484 killed DO_USE_DEFAULT_LANGUAGE
16486 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16488 * lyx_gui.C: do not include language.h.
16490 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16491 arguments in function implementation.
16493 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16495 * BufferView_pimpl.C: add <ctime>
16497 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16499 * BufferView_pimpl.C: add using std::find_if
16501 2001-02-27 José Matos <jamatos@fep.up.pt>
16503 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16506 2001-02-11 José Matos <jamatos@fep.up.pt>
16508 * buffer.C (makeDocBookFile): command styles now have a parameter as
16509 "title" by default.
16511 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16513 * layout_forms.[Ch]: removed
16514 * lyx_cb.[Ch]: out character
16515 * lyx_gui.C: out character
16516 * lyx_gui_misc.C: out character
16517 * bufferview_funcs.C: : out character,
16518 added toggleall as parameter in ToggleAndShow
16520 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16522 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16524 * text2.C (SetCurrentFont): Disable number property at boundary.
16526 2001-02-26 Juergen Vigna <jug@sad.it>
16528 * lyxfunc.C (getStatus): added a string argument override function so
16529 that this is correctly called from LyXFunc::Dispatch if it contains a
16530 do_not_use_argument which is used!
16531 (Dispatch): added check for "custom" export and call appropriate func.
16533 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16535 * lyxrc.C: Add language_command_local, language_use_babel and
16536 language_global_options.
16538 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16540 * buffer.C (makeLaTeXFile): Use language_use_babel and
16541 language_global_options.
16543 2001-02-23 Juergen Vigna <jug@sad.it>
16545 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16546 which works with LyXText and putted it inside BufferView. Here now we
16547 only call for that part the BufferView::Dispatch() function.
16549 * BufferView.C (Dispatch): added.
16551 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16552 functions which needs to use a LyXText over from LyXFunc.
16553 (MenuInsertLyXFile): added
16554 (getInsetByCode): added
16555 (moveCursorUpdate): added
16556 (static TEXT): added
16558 2001-02-22 Juergen Vigna <jug@sad.it>
16560 * BufferView_pimpl.C (update): call a status update to see if LyXText
16563 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16565 * vc-backend.C (revert): implement for CVS
16566 (getLog): implement for CVS
16568 2001-02-20 Juergen Vigna <jug@sad.it>
16570 * text2.C (ClearSelection): added BufferView param for inset_owner call
16572 * lyxfunc.C (TEXT): added this function and use it instead of
16573 directly owner->view()-text of getLyXText().
16575 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16577 * src/layout_forms.C: out preamble
16578 * src/layout_forms.h: out preamble
16579 * src/lyx_cb.C: out preamble
16580 * src/lyx_cb.h: out preamble
16581 * src/lyx_gui.C: out preamble
16582 * src/lyx_gui_misc.C: out preamble
16583 * src/lyxfunc.C: connect with guii preamble
16585 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16587 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16589 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16591 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16592 whether to run bibtex.
16594 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16596 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16598 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16600 * Makefile.am (lyx_SOURCES): removed bibforms.h
16602 * vspace.h: doxygen
16604 * text.C (GetVisibleRow): make several local vars const
16606 * tabular.C: small cleanup.
16608 * lyxserver.C (callback): use compare instead of strncmp
16610 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16611 inlines to after class or to paragraph.C
16613 * lyxfont.h: remove friend operator!=
16615 * converter.h: move friend bool operator< to non friend and after
16618 * combox.h: small cleanup
16620 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16621 to inlines after class def.
16623 * buffer.C (pop_tag): use string operations instead of strcmp
16625 * bmtable.c: doxygen, small cleanup
16627 * LaTeX.h: remove friend operator==
16629 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16641 * BufferView_pimpl.C:
16642 * BufferView.[Ch]: remove cruft
16644 2001-02-14 Juergen Vigna <jug@sad.it>
16646 * lyxfunc.C: removed #if 0 unused code
16648 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16650 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16652 * text2.C (SetSelection): added a BufferView * parameter
16654 2001-02-13 Juergen Vigna <jug@sad.it>
16656 * lyxfunc.C (Dispatch): fixed protected blank problem.
16657 * BufferView2.C (protectedBlank): added LyxText * parameter.
16659 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16660 (AppendColumn): same as above for column_info.
16662 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16663 (moveCursorUpdate): use a LyXText param for support of InsetText.
16665 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16666 (tripleClick): ditto
16668 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16670 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16672 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16674 * text2.C (SetSelection): set correct update status if inset_owner
16675 (ToggleFree): ditto
16677 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16679 * tabular.C: remove some commented code.
16681 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16683 * BufferView_pimpl.C: call hideSplash()
16685 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16688 * bibforms.h: remove
16691 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16692 add LFUN_CHILD_CREATE
16694 * counters.h: fix tiny typo
16699 * lyx.C: move splash to frontends/xforms/
16701 * lyx_gui_misc.C: move Include and Bibform to frontends
16703 * lyxvc.h: clarify comment
16705 * vspace.C: tiny housekeeping
16707 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16709 * text.C (PrepareToPrint): RTL Fix.
16711 * paragraph.C (GetUChar): New method.
16712 (String): Use GetUChar.
16714 * buffer.C (asciiParagraph): Use GetUChar.
16716 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16718 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16720 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16723 * buffer.C: rename to getLogName(), handle
16724 build log / latex log nicely
16726 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * MenuBackend.h: remove support for reference menuitem type.
16731 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16733 * BufferView_pimpl.C: housekeeping
16734 * BufferView_pimpl.h:
16739 * minibuffer.h: move Timeout GUI-I
16741 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16743 * lyxrc.C (read): Update converters data-structures.
16745 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16747 * LaTeX.h (operator!=): add operator != for Aux_Info
16749 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16751 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16753 * LaTeXLog.C: deleted, useful code moved to Buffer
16756 * buffer.C: new function getLatexLogName()
16762 * lyxfunc.C: use frontends for LaTeX and VC logs
16764 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16766 * LaTeX.h: yet another std:: that Allan forgot.
16768 * Variables.C (set): renamed from isset(), because this clashes
16769 with some HP-UX macros (grr).
16771 2001-02-06 Allan Rae <rae@lyx.org>
16773 * LaTeX.h: Another bug fix. Missing std:: this time.
16775 2001-02-04 Allan Rae <rae@lyx.org>
16777 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16778 floats problem. I've left it commented out because it's not quite
16779 correct. It should also test that the current object is a table or
16780 figure inset. But I haven't gotten around to figuring out how to do
16781 that. I *think* it'll be something like: "table" == inset.type()
16783 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16786 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16788 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16789 all the citation/databases/styles in the auxilary file.
16790 (run): Rerun latex if there was a babel language error.
16792 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16794 * text.C (Backspace): Preserve the font when changing newline char
16796 (BreakParagraph): If the cursor is before a space, delete the space.
16798 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16800 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16802 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16803 new argument (code).
16804 (ChangeCitationsIfUnique): New method.
16806 * paragraph.C (GetPositionOfInset): Handle bibkey.
16808 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16810 * BufferView_pimpl.h: change type of Position::par_pos to
16811 LyXParagraph::size_type.
16813 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16815 * BufferView_pimpl.C (savePosition, restorePosition): Write
16816 messages to minibuffer.
16818 2001-01-28 José Matos <jamatos@fep.up.pt>
16820 * buffer.C (makeDocBookFile): adds support for document language.
16821 A silly restriction on the name of LatexCommand types where removed.
16822 Added support for CDATA sections, allows to chars unescaped, used
16823 among others in code, to avoid escape < and >.
16825 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16827 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16828 saved positions instrad of a stack. Furthermore, a position is
16829 stored using paragraph id/paragraph position.
16831 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16832 Remove LFUN_REF_BACK.
16834 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16836 * converter.C (dvipdfm_options): New method.
16838 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16840 * vspace.C (isValidLength): Fix for empty input string.
16842 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16844 * LyXAction.C (init): change description of LFUN_FIGURE to
16847 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16849 * LaTeX.C: add using directive
16851 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16853 * MenuBackend.C (expand): Fix the sorting of the formats.
16855 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16857 * lyx_main.C: tiny error message fix
16859 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16861 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16862 calling fl_initialize(). This fixes the problem with ',' as
16863 decimal separator in text files.
16865 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16867 * trans.C (process): Fix the keymap bug.
16869 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16871 * LaTeX.C (scanAuxFiles): New method. Provides support for
16872 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16873 (scanLogFile) Scan for "run BibTeX" messages.
16875 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16876 OT1 font encoding. Also, load the aecompl package if the ae
16879 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16881 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16883 * texrow.C (increasePos): turn two error messages into debug
16886 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16888 * LaTeX.C (scanAux): Handle the \@input macro.
16889 (runBibTeX): Use scanAux().
16891 * language.C (latex_options_): New field.
16893 * LaTeXFeatures.C (getMacros): Add language macros.
16895 * buffer.C (makeLaTeXFile): Small fix.
16897 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16899 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16901 * text2.C: add a using directive.
16903 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16908 * lyxfunc.C: kill LyXBell.
16910 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16912 * text.C (IsBoundary): Remove the error message
16914 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16916 * lyxrc.C (setDefaults): Correct initialization value for
16919 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16921 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16924 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16925 and GotoNextNote().
16927 * src/LyXAction.C: Added reference-next.
16929 * text.C (InsertChar): Use contains instead of strchr.
16931 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16933 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16935 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16936 alignment commands (when needed).
16938 * text.C (InsertChar): Add ':' to number separator chars.