1 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text.C (setHeightOfRow): add a margin at the top and bottom of
4 the document (bug 1761)
6 2005-01-17 Angus Leeming <leeming@lyx.org>
8 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
9 with "python ". Workaround for a brain-dead Windows.
11 2005-01-16 Angus Leeming <leeming@lyx.org>
13 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
14 for MacOSX and Windows to use prependEnvPath.
15 Strip out the hard-coded block to add elements to the PATH for
16 MacOSX and replace it with a call to prependEnvPath using the
17 contents of LyXRC::path_prefix.
18 (queryUserLyXDir): strip out the code to run reconfigure, instead
19 returning a boolean indicating the necessity to do so.
20 (reconfigureUserLyXDir): contains the code to reconfigure the
21 user support directory. Is now called after the various LyXRC data
24 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
26 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
28 * converter.[Ch] (convert): take a new parameter try_default. Use
29 a default converter (imagemagick) if try_default is true.
31 2005-01-13 Angus Leeming <leeming@lyx.org>
33 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
35 (write): output LyXRC::cygwin_path_fix as necessary.
37 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
40 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
42 2005-01-12 Angus Leeming <leeming@lyx.org>
44 * lyx_main.C (init): set the PATH variable to include the
45 directory containing the LyX binary when running on Mac or Windows.
47 2005-01-12 Angus Leeming <leeming@lyx.org>
49 * lyx_main.C (init): remove cruft that purports to set the locale
50 dir. It doesn't and is not needed anyway.
52 2005-01-10 Angus Leeming <leeming@lyx.org>
54 * Makefile.am: remove the lyx_main.C special casing.
62 * messages.C: use support/package.h to provide the paths to the
63 various directories used by LyX.
65 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
67 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
68 layout if pasting into an empty paragraph)
70 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
72 * tex-accent.C: add <string>
74 2005-01-06 José Matos <jamatos@lyx.org>
76 * ParagraphParameters.C (write): put every parameter in its own line.
77 * paragraph.C (write): reduce number of consecutive empty lines exported.
78 * buffer.C (LYX_FORMAT): increase file format to 239.
80 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
82 * everywhere: change support/tostr.h -> support/convert.h
84 * tabular.C: make all write_attributes templates, tostr -> convert
86 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
87 (emptyTag): and -> &&, and fix type for ret from getChar
88 (getFirstWord): fix type for ret from getChar
90 (simpleDocBookOnePar): and not -> && !, fix type for ret from
93 * toc.C (goTo, action):
95 * text.C (currentState):
96 * tex-accent.C (DoAccent):
99 * lyxfunc.C (menuNew):
100 * lyxfinc.C (replace):
101 * counters.C (laberItem):
102 * bufferview_funcs.C (font2string):
103 * bufferparams.C (writeFile):
104 * buffer.C (readFile):
106 * MenuBackend.C: tostr -> convert
108 * LaTeX.C (runMessage): fix format
109 (scanAuxFiles): tostr -> convert
111 * BufferView_pimpl.C (savePosition): fix format
112 (restorePosition): ditto
115 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * Spacing.[Ch]: New method getValueAsString().
121 * ParagraphParameters.C:
124 * text3.C: store/read spacing value as string.
126 * rowpainter.C: change float value (spacing_val) to double.
128 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
129 broken custom document spacing).
131 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
133 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
134 namespace, also more use of temp references and const
136 * cursor.[Ch] (getStatus): move to lyxfunc.C
138 * bufferparams.C: reformat slightly
140 * bufferview_funcs.C (font2string): constify arg
146 * buffer_funcs.C: (many funcs): constify arg on function
147 definitions, also make more local vars const, also add ASSERTS on
150 * buffer.C (LYX_FORMAT): put const in correct place
151 (many funcs): constify arg on function definitions, also make
152 more local vars const
154 * aspell_local.h: remove "struct" from typdef setup
156 * aspell.C (check): make word_ok const
157 (nextMiss): simplify slightly
160 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
162 * lyxrc.[Ch]: store all float values as strings.
163 use int (not float) for lyxrc.dpi.
165 2005-01-04 Angus Leeming <leeming@lyx.org>
167 * lyx_cb.C (Reconfigure):
168 * lyx_main.C (queryUserLyXDir):
169 to run the <system_lyxdir>/configure correctly on Windows, prefix
170 the path to the script with "sh " when generating the string that
171 is passed to system().
173 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
177 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * lyxlength.C (asLatexString): get rid of setprecision
181 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
183 * text2.C (setLayout): remove unused variable endpit.
184 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
186 * paragraph.C (onlyText): remove unused variable style.
188 * cursor.C (bruteFind): remove unused variables beg and end.
190 * Makefile.am (dist_noinset_DATA): not needed anymore
192 * cheaders/*: remove.
194 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
196 * text3.C: fix LFUN_MATH_MODE.
198 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * buffer_funcs.C (countWords): new function. Counts words between
203 * BufferView_pimpl.C (getStatus, dispatch): handle
206 * LyXAction.C (init):
207 * lfuns.h: add LFUN_WORDS_COUNT.
209 2004-12-19 Angus Leeming <leeming@lyx.org>
211 * buffer.C (save): s/slashify_path/internal_path/.
213 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * lyxfind.C (findChange): do not search for end of pars, because
216 the change tracker cannot handle this (fixes bug 1719).
218 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
220 * paragraph.[Ch] (autoBreakRows): remove
222 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
224 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
225 avoid using the paragraph one
227 * text2.C (LyXText, insertStringAsLines): adjust
229 2004-12-16 Angus Leeming <leeming@lyx.org>
233 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
235 2004-12-14 Angus Leeming <leeming@lyx.org>
237 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
239 * bufferlist.C (emergencyWrite):
240 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
243 2004-12-14 Angus Leeming <leeming@lyx.org>
245 * main.C: (main): no longer pass pointers to os::init.
247 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
249 * undo.C (textUndoOrRedo): simplify logic, fix a crash
250 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
252 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
255 * text3.C: remove selection_possible global flag
257 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
259 * text2.C (getSelectionSpan): remove
260 (changeDepth, changeDepthAllowed): adjust
262 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
264 * Makefile.am (BOOST_LIBS): use boost variables
266 2004-12-03 José Matos <jamatos@lyx.org>
268 * buffer.C: format up to 238.
270 2004-12-03 José Matos <jamatos@lyx.org>
272 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
274 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
276 * cursor.C (goUpDown): remove call to idxUpDown2
278 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * tabular.[Ch]: use size_t-like types for cell, row and column
283 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * lyxfunc.C (getStatus): do not lose previous information when
286 calling BufferView::getStatus; do not set a default "Command
287 disabled" message at the beginning, but just before returning.
289 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
291 * cursor.h (getStatus): add better comment from src/cursor.C
293 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
295 * text3.C (getStatus): return false when the lfun is not handled
297 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * broken_headers.h: remove
301 * Makefile.am (lyx_SOURCES): remove broken_headers.h
303 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
305 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
308 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
309 top_y_, merge fitcursor with update
310 (updateScrollbar, scrollDocView, fitCursor, center, update): new
313 (workAreaDispatch): adapt to new coord scheme
314 (redoCurrentBuffer): remove
316 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
318 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
321 * coordcache.[Ch]: add paragraph cache and helpers
323 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
326 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
327 (targetX, setTargetX): introduce
329 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
330 baseline -> ascent, as the rest of lyx
332 * lyxtext.h: remove redoParagraphs, updateParPositions,
333 fullRebreak, redoParagraphInternal. move dist to anon namespace in
334 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
335 have ascent/descent (ascent is ascent of first par)
337 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
340 * paragraph.[Ch]: unify dimension handling with the rest of lyx
342 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
344 * pariterator.C: fix infinite loop introduced in par->pit renaming
346 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
347 in insets and LyXText, draw two off-screen paragraphs using
348 NullPainter, and adapt to new coord scheme
352 * text3.C: adapt lfun handlers to the new coord scheme, which
353 means: there's only guaranteed coord information for onscreen pars
354 plus one above and one below. This implies that one can do search
355 from y coordinates in the range [-1,workHeight]
357 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
359 * rename a lot of InsetOld to InsetBase
361 2004-11-25 Angus Leeming <leeming@lyx.org>
363 * BufferView_pimpl.C:
365 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
367 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
369 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
370 call BufferView::getStatus if LCursor::getStatus did nothing
371 (setStatusMessage, getStatusMessage): removed.
373 * FuncStatus.C (message): new methods. Used to provide an error
374 message indicating why a command is disabled.
375 (clear, |=, FuncStatus): update for message.
377 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * lyxfunc.C (dispatch): always call sendDispatchMessage
381 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
384 * BufferView_pimpl.C:
398 * undo.C: par->pit renaming
400 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * tabular.C (cellstruct): use initialization, store a shared_ptr
403 to insettext instead of the insettext directly, adjust to fit.
404 (operator=): new function
406 (rowstruct): use initialization
407 (columnstruct): use initialization
408 (ltType): use initialization
411 * lyxlength.h (swap): new function
413 * LColor.[Ch] (operator=): use the common semantics
415 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
417 * lyxfind.C (findNextChange): update the bufferview after setting
420 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
423 number of InsetOptArgs has already been inserted.
425 * output_latex.C (latexOptArgInsets): new method. This outputs all
426 the optarg insets, up to the limit defined in the layout file.
427 (optArgInset): removed
428 (TeXOnePar): call latexOptArgInsets; correctly update texrow
430 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * paragraph.C (isLetter): remove special spellchecker-related
433 code; return true also for digits
434 (isWord, isKomma): remove
436 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
437 * lyxfind.C (MatchString()): use isLetter instead of isWord
439 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
441 * pariterator.h (operatir=): comment out un-implemented member
444 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
447 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
449 * lyxfont.h: include LColor.h to satisfy concept checks.
451 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * pariterator.h: add typdefs for value_type, difference_type,
454 pointer and reference to satisfy concept checks. Also add default
455 constructor for same reason.
457 * pariterator.C (operator++): add post-increment operator to
458 satisfy concept checks.
460 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
463 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
465 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
466 checks. Also rename base_type to BaseType to follow naming
469 * FloatList.h: include Floating.h to satisfy concept checks.
471 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * lyxfunc.C (getStatus): when the origin of the request is menu or
474 toolbar, and the LyXView does not have focus, do as if there was
477 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
478 FuncRequest to individual entries of LFUN_SEQUENCE
480 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * output_latex.C (TeXOnePar): override runparams.moving_arg
483 according to the needprotect value of the current paragraph (bug
486 * paragraph.C (simpleTeXOnePar): no need to override
487 runparams.moving_args here
489 2004-11-14 John Spray <spray_john@users.sourceforge.net>
491 * vspace.C: fix off-by-one-error, related to fix #1682
493 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
495 * lengthcommon.C: a more general fix for bug 1682
497 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
499 * text.C (backspace): fix crash
501 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
503 * format.[Ch] (getFormatFromFile): new method
504 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
506 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
508 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
510 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
512 * lyxfunc.C (dispatch): remove the verbose argument
513 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
516 * kbmap.C (defkey): set the origin of func to KEYBOARD
518 * MenuBackend.C (MenuItem):
519 * ToolbarBackend.C (add): set the origin of func to UI
521 * funcrequest.[Ch]: add origin member, which indicates which part
522 of LyX requests an action
524 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
526 * converter.C (move): don't lie in the error message
527 * converter.h (isReachable, move): document
529 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
531 * buffer.C: remove unused using lyx::support::atoi
532 * paragraph_funcs.C: ditto
534 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
536 * bufferlist.C (exists): use bind and equal_to instead of
539 * lyxtextclasslist.C (NumberOfClass): ditto
541 * cursor.C (insert): use for_each instead of explicit for loop
543 * bufferlist.C (getFileNames): use std::transform and
544 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
546 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
549 * buffer.C (changeLanguage): use for_each instead of explicit for
551 (hasParWithID): implement using getParFromID
553 * LaTeXFeatures.C: ws change only
555 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
558 * BufferView_pimpl.C (trackChanges): use for_each instead of
561 2004-11-04 André Pönitz <poenitz@gmx.net>
564 * undo.C (textUndoOrRedo): fix crash when creating undo information.
566 * dociterator.C (asDocIterator): use hard assert again.
568 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * lyxlength.C (asLatexString): rewrite so that it does not use
573 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * text3.C (specialChar, dispatch): make sure cursor moves to the
576 right after inserting an inset
578 2004-11-02 José Matos <jamatos@lyx.org>
580 * output_docbook.C (docbook):
581 * paragraph.C (getID):
582 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
583 garantee that the output is always legal.
585 * tabular.C (docbook):
586 * outputprams.[Ch]: remove mixed contents.
588 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
590 * text2.C (setCounter): prevent endless loop
592 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
594 * exporter.C (copyFile): use the mover instead of support::copy()
595 * exporter.C (Export): pass format and latex name to copyFile()
596 * exporter.h (addExternalFile): document
597 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
599 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
601 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
603 2004-10-30 José Matos <jamatos@lyx.org>
605 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
606 text and no inset or font change. This allows to use CDATA
607 sections just for the whole paragraph.
609 2004-10-30 José Matos <jamatos@lyx.org>
611 * paragraph.C (getFirstWord): remove unused variable.
613 2004-10-30 José Matos <jamatos@lyx.org>
615 * paragraph.C (getFirstWord): the content should always be escaped
617 (simpleDocBookOnePar):
618 * output_docbook.C (makeEnvironment): replace reference to CDATA
621 2004-10-30 José Matos <jamatos@lyx.org>
623 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
625 2004-10-30 José Matos <jamatos@lyx.org>
627 * output_docbook.C (makeParagraphs):
628 * paragraph.[Ch] (emptyTag): for docbook and company, if the
629 standard paragraph has only a given type of content drop the wrapper.
631 2004-10-29 José Matos <jamatos@lyx.org>
633 * output_docbook.C (makeEnvironment):
635 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
637 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
639 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
640 (cleanID): sanitize any id.
642 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
644 * buffer.C, lyxlex_pimpl.C:
645 * lyxlex_pimpl.C (setFile):
646 s/getExtFromContents/getFormatFromContents/
648 2004-10-28 José Matos <jamatos@lyx.org>
650 * output_docbook.C (makeEnvironment): move id to broadest possible
653 * sgml.C (openTag): apply substitution of <> for all attributes.
655 2004-10-28 José Matos <jamatos@lyx.org>
657 * buffer.C (makeLinuxDocFile, makeDocBookFile):
658 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
659 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
661 * sgml.[Ch]: new version for open and closeTag for paragraph and
662 for strings. Now they handle the ids of paragraphs.
664 2004-10-26 Angus Leeming <leeming@lyx.org>
666 * Makefile.am: add mover.[Ch].
668 * converter.C (convert, move): use the new Movers to move external
669 files to the temp directory.
671 * lyx_main.C (init): ensure that the global system_movers data
674 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
677 * mover.[Ch]: new files, defining a Mover as a utility to move an
678 external file between directories and, if necessary, manipulate this
679 file using a helper script.
681 2004-10-25 José Matos <jamatos@lyx.org>
683 * output_docbook.C (makeCommand): merge two if's that tested the
686 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
688 * sgml.C (escapeString): fix warning in a better way
690 2004-10-25 José Matos <jamatos@lyx.org>
692 * sgml.C (escapeString): import the require boosts header file for
693 tie, and avoid a signed unsigned comparison.
695 2004-10-25 José Matos <jamatos@lyx.org>
697 * sgml.h: add #include <string>
699 2004-10-25 José Matos <jamatos@lyx.org>
701 * sgml.[Ch] (escapeString): new function to escape all the string.
703 2004-10-24 José Matos <jamatos@lyx.org>
705 * paragraph.[Ch] (getFirstWord): new function to get the first
706 word. Useful for description.
707 (simpleDocBookOnePar): remove depth argument, add another that
708 says where to start the paragraph.
710 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
711 use the new functions to fix cleanly the support for descriptions.
713 2004-10-24 José Matos <jamatos@lyx.org>
715 * buffer.C (makeLinuxDocFile, makeDocBookFile):
716 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
717 * output_linuxdoc.C (linuxdocParagraphs):
718 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
719 add buffer as argument.
721 2004-10-24 José Matos <jamatos@lyx.org>
723 * output_docbook.C (makeEnvironment, searchEnvironment): place
724 CDATA inside paragraphs and fix scope for listitems.
726 2004-10-24 José Matos <jamatos@lyx.org>
728 * output_docbook.C: remove using statement for stack.
730 2004-10-23 José Matos <jamatos@lyx.org>
732 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
733 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
734 docbook. The new scheme is recursive and makes use of iterators, the
735 same as latex export works.
736 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
737 directly with the paragraph contents. This code was moved up to
738 output_docbook.C (docbookParagraphs).
739 * sgml.C (openTag, closeTag): removed unneeded newlines.
740 (closeEnvTags) removed.
742 2004-10-23 André Pönitz <poenitz@gmx.net>
744 * undo.C (textUndoOrRedo):
745 * dociterator.C (asDocIterator): work around crash
747 * cursor.C (getStatus): replace ASSERT by more verbose error message
748 and manual correction of the problem. Should increase stability
749 while providing more sensible information.
751 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
755 * bufferlist.C (previous, next): new methods
758 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
760 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
762 * buffer.C (makeDocBookFile): add dsssl stylesheet control
763 entities to preamble.
765 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
767 * messages.C (Pimpl): strip off translation context information
769 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
771 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
772 the cursor is correct (bug 1694)
774 2004-10-13 José Matos <jamatos@lyx.org>
776 * output_docbook.C (docbookParagraphs): fix closing tags in the
779 2004-10-09 José Matos <jamatos@lyx.org>
781 * buffer.C: format up to 237.
782 * bufferparams.C (write): use tostr to convert booleans to strings.
784 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
786 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
788 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
790 * LaTeX.C: implement use of babel language in xindy.
792 2004-10-05 José Matos <jamatos@lyx.org>
794 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
795 Add new translators to help reading and writing the lyx file.
797 2004-10-05 José Matos <jamatos@lyx.org>
799 * ParagraphParameters.C (read):
800 * text.C (readParToken): replace nexToken by more appropriate lex
803 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
805 * LaTeX.C (runMakeIndex):
806 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
807 (usually 'makeindex') configurable.
809 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
810 with a variable rather than with a number.
812 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * output_latex.C (TeXOnePar): make sure font setting is the first
815 thing that gets output (and the last at the end). Should fix bug
818 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
820 * pch.h: use proper signal include
822 * LaTeX.h: Use preferred calling of Boost.Signal
825 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
827 * pch.h: dont include <boost/function/function0.hpp>
829 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
831 * paragraph_pimpl.h: remove usage of ShareContainer
833 * paragraph_pimpl.C: remove initialization of ShareContainer.
835 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * BufferView.C (putSelectionAt): change the semantics when
840 backwards == true: now, this just swaps cursor and anchor wrt the
843 * BufferView.h (putSelectionAt): add some documentation
845 * lyxfind.C (findBackwards): rewrite using while(). In particular,
846 make sure backwardChar is done at least once (to avoid getting
848 (findNextChange): use putSelectionAt in the forward direction
849 (operator()): use Paragraph::isWord
851 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
853 * Spacing.C (set): c_str fix
855 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * lyx_cb.C (Reconfigure): quote the name of configure script in
858 case it contains spaces
860 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
864 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
865 (BOOST_LIBS): use top_buildir when looking for the file
867 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
869 * pch.h: do not use include boost/format.hpp, multiple symbols
870 will result (gcc bug)
873 2004-08-23 José Matos <jamatos@lyx.org>
875 * bufferparams.C (readToken): fix reading of the author field.
877 2004-08-20 José Matos <jamatos@lyx.org>
879 * lyxrc.C: remove support/translator.h inclusion since it is not used.
881 2004-08-20 José Matos <jamatos@lyx.org>
883 * lyxlex.[Ch] (findToken): remove function.
885 * ParagraphParameters.C (findToken):
886 * bufferparams.C (findToken): replace call for previous function
887 with local copy. This local function has one more argument, the
888 read string argument.
890 2004-08-16 José Matos <jamatos@lyx.org>
892 * ParagraphParameters.C (write):
893 * Spacing.C (writeFile):
894 * bufferparams.C (writeLaTeX):
895 * lyx_cb.C (Reconfigure):
896 * paragraph.C (write):
897 * tabular.C (write): remove unnecessary space at end of line.
900 2004-08-16 José Matos <jamatos@lyx.org>
902 * text.C (readParagraph): remove debug message.
904 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
909 * output_plaintext.C (asciiParagraph): set depth correctly
911 * outputparams.h: add member depth
913 * paragraph_funcs.C (ownerPar): remove.
915 * text2.C (setCounter): remove first_pit; comment out some
916 non-working code that uses ownerPar
918 * BufferView.C (getParentLanguage): remove. Not used anymore, and
921 2004-08-16 José Matos <jamatos@lyx.org>
923 * text.C (readParToken, readParagraph, read): report all unknown tokens.
924 For the same level of importance use the same chanel to report problems.
925 (read): add code to deal with \begin_body and \end_body.
928 2004-08-15 José Matos <jamatos@lyx.org>
930 * lyxlex.C (getString): fix comment, buffer::readBody is now
933 * tex-strings.C (string_papersize): Default -> default,
934 Custom -> custom, for consistency with other options.
936 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
940 * Makefile.am: support pch
942 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * text.C (readParToken): remove the static LyXFont variable and
945 pass it as a parameter instead. This fixes a nasty bug where an
946 inset will be inserted with a bad font in some situations
947 (readParagraph): adapt
949 * text2.C (setCounter): reduce number of calls to pars_[pit]
951 * text.C (singleWidth): add an assert, fix a test
953 * rowpainter.C (paintText): reduce number of calls to singleWidth
955 * paragraph.C (isHfill):
958 2004-08-14 André Pönitz <poenitz@gmx.net>
963 * lyxtext.h (several functions): use a Paragraph & argument
966 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * metricsinfo.h: add a new field ltr_pos to PainterInfo
970 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
972 * text.C (singleWidth): remove useless test
974 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
976 * tabular.h: remove bogus comments
978 * tabular.C (getDescentOfRow):
979 (isPartOfMultiColumn): add assertions
981 * lyxlength.C (inPixels): remove #warning
983 2004-08-14 André Pönitz <poenitz@gmx.net>
985 * paragraph.h: inline getChar()
987 * BufferView.h: remove unused declarations
989 2004-08-14 José Matos <jamatos@lyx.org>
991 * Buffer.[Ch] (readDocument): new name for old readBody.
992 * Buffer.C: new file format, new keywords: \begin_document,
993 \begin_header, \begin_body, \end_body.
995 * bufferparams.C (readToken): replace all calls to lex.nextToken
996 by lex.next(). Do the same to eatLine except where really needed.
998 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
999 line when writing to the lyx file.
1001 * output_plaintext.C (asciiParagraph): fix Bibliography style
1004 * text.C (read): fix end of file handling.
1006 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * MenuBackend.C (Menu::operator[]): new method to access
1009 individual menu items
1010 (Menu::hasFunc): new method. search for an item that corresponds
1012 (MenuBackend::specialMenu): new method
1013 (MenuBackend::expand): if a special menu has been set, skip
1014 entries whose func() appears in this menu
1016 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1018 * text3.C: use Debug::DEBUG a bit more
1020 * text.C (leftMargin): try to simplify a tiny bit change var x to
1021 l_margin. Dont output the wide margins always.
1022 (rightMargin): no margin in inner texts
1024 * rowpainter.h (nestMargin): new func
1025 (changebarMargin): new func
1026 (rightMargin): new func
1028 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1032 * factory.C (createInset): modify setDrawFrame
1034 * cursor.C: use Debug::DEBUG a bit more
1036 2004-08-14 André Pönitz <poenitz@gmx.net>
1039 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1040 cache for all insets in (at least partially) visible (top-level)
1043 * BufferView_pimpl.C: reset external coord cache before every update.
1044 This means the coord cache only contains valid entries.
1046 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1049 * BufferView_pimpl.C (getInsetByCode): move function out of class
1050 and change in to a template in anon namespace. Also fix to do what
1053 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1056 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1058 (breakParagraph): rename par to par_offset and use a local
1059 reference. Add code to keep the language over a rebreak.
1060 (breakParagraphConservative): rename par to par_offset, use a
1062 (mergeParagraph): ditto
1064 (isFirstInSequence): ditto
1065 (outerFont): rename pit to par_offset
1067 * paragraph.C: ws change
1068 * paragraph.h: ditto
1072 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1077 * paragraph.C (simpleTeXOnePar): when we have a \item with
1078 optional argument, enclose the argument with curly brackets (in
1079 case it contains a closing square bracket)
1083 * text3.C (checkInsetHit): constify
1085 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1087 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1088 documents (bug 1629)
1090 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 Fix toggling of collapsable insets with the mouse (bug 1558)
1094 * lyxfunc.C (dispatch): adapt to LCursor changes
1096 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1097 make sure that dispatch is not invoked twice
1099 * cursor.C (needsUpdate): new method
1100 (dispatch): return void
1101 (result): new method, to access the DispatchResult of the cursor.
1103 2004-08-13 José Matos <jamatos@lyx.org>
1105 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1107 2004-08-13 André Pönitz <poenitz@gmx.net>
1109 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1111 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1114 2004-08-12 André Pönitz <poenitz@gmx.net>
1116 * text3.C: take out the 'cursor right' form insertInset and only
1117 do it in those places when it is really needed. Fixes crash on
1120 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1122 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1124 * BufferView_pimpl.C (setBuffer): initialize the current font of
1125 the underlying LyXText
1127 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * kbsequence.C (print): use UI native formatting for menu
1132 * text.C (insertChar): call Paragraph::insertChar with a font
1135 * paragraph.C (insertInset, insertChar): the version that takes a
1136 LyXFont argument is now a wrapper around the other one (the
1137 opposite used to be true).
1139 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1140 argument. Font setting is done in Paragraph now.
1142 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * outputparams.h: add new members intitle and lang.
1146 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1147 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1149 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1151 * text3.C (dispatch): remove special handling of button 4 and 5,
1152 it is now taken care of in the frontend code.
1154 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1156 * Spacing.h: add <string> (STLPort compile fix)
1158 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1160 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1162 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1164 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1167 * converter.C (showMessage): inherit from unary_function, make
1170 * buffer.C (writeFile): initialize retval
1172 * InsetList.h: rename private variable list to list_
1173 * InsetList.[Ch]: adjust accordingly.
1175 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1177 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1178 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1179 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1180 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1181 * ParagraphParameters.C, LaTeXFeatures.C: replace
1182 "support/std_sstream.h" with <sstream>
1184 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1186 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1187 * lyxsocket.C (LyXServerSocket): ditto
1188 (serverCallback): ditto
1190 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1192 * LaTeXFeatures.C: check release date when loading jurabib.
1194 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1196 * lyxserver.C (startPipe): call register_socket_callback
1197 (endPipe): call unregister_socket_callback
1199 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1201 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1202 (LyXServerSocket): register the callback
1203 (LyXServerSocket): unregister the callback
1204 (fd): delete function
1205 (serverCallback): improve error checking and setup the callbacks.
1206 (dataCallback): change arg to fd.
1207 (writeln): new func (copied fro the client socket) used for server
1209 (LyXDataSocket): simplify
1210 (~LyXDataSocket): close ann unregiser callback
1211 (server): delete function
1212 (fd): delete function
1213 (readln): small changes, improve some std::string usage
1214 (writeln): constify a bit
1216 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1221 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1224 after it has been populated
1226 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1228 * text2.C (insertInset): move cursor when inserting inset.
1230 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * kbmap.C (findbindings): a couple of new methods. returns a
1233 container of kb_sequence objects. The real work is done by the
1234 private recursive version
1235 (printbindings): uses findbindings to print out a bracketed list
1236 of bindings (renamed from findbinding).
1238 * MenuBackend.C (binding): use kb_keymap::findbindings
1240 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1242 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1244 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1246 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1248 * paragraph.C (isWord): return true on insets that report
1251 * text.C (getWord): use Paragraph::isWord to decide what is in a
1252 word and what is not; fix bug 1609.
1254 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1256 * tex-strings.C: add "none" to string_paperpackages[], fixes
1257 off-by-one-error in the paperpackage selection.
1260 * tex-strings.[Ch]: char const * string[n]
1261 -> char const * const string[]
1263 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1265 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1266 command, return early.
1268 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1270 * debug.h: add DEBUG to enum and fix size of ANY.
1272 * debug.C: add support for Debug::DEBUG
1273 (showTags): cast errorTags.level to unsigned int
1275 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1276 (redoCurrentBuffer): ditto
1277 (updateScrollbar): ditto
1278 * cursor.C (dispatch): ditto
1279 * text2.C (setLayout): ditto
1281 (updateCounters): ditto
1283 (deleteEmptyParagraphMechanism): ditto
1285 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1287 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1288 annotations to cleanup the Makefile slightly.
1290 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * lyxrc.C: do not set user_email to a default value but use empty
1293 instead. The entry used to be translated, which does not work
1294 since at the point where lyxrc is constructed there is no
1295 translation service available
1297 * messages.C (getLocaleDir): remove and use directly
1298 lyx_localedir() instead
1300 2004-06-02 Angus Leeming <leeming@lyx.org>
1302 Fix crash caused by dereferencing null pointer 'exportdata' in
1303 OutputParams by creating a new ExportData variable on the heap,
1304 storing it in a boost::shared_ptr.
1305 The crash was triggered when generating an Instant Preview
1306 of an external inset.
1308 * Makefile.am: add outputparams.C
1310 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1311 (c-tor): allocate memory to it.
1313 * exporter.C (c-tor): associated changes.
1315 2004-06-01 Angus Leeming <leeming@lyx.org>
1317 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1318 contains data before calling isInset(0). (Bug 1513.)
1320 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1322 * exporter.C (checkOverwrite): new method
1323 * exporter.C (copyFile): new method
1324 * exporter.C (Export): copy referenced files to the document dir
1325 * exporter.[Ch]: new class ExportedFile
1326 * exporter.[Ch]: new class ExportData. Contains currently the
1327 names of referenced external files
1328 * outputparams.h: add exportdata member.
1330 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1332 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1335 2004-05-19 Angus Leeming <leeming@lyx.org>
1340 * lyxfunc.C: small changes due to the introduction of namespace
1341 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1343 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1345 * text3.C (dispatch): supress update when only moving the cursor
1346 * cursor.C (selHandle): remove commented code
1348 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1350 * paragraph.C (startTeXParParams): correct column count
1351 * CutAndPaste.C (pasteSelection): remove const_cast
1352 * output_docbook.C (docbookParagraphs): remove const_cast
1353 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1354 const_cast and return ParagraphList::const_iterator
1355 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1356 * output_plaintext.C (writeFileAscii): remove const_cast
1357 * paragraph.[Ch] (simpleTeXOnePar): make const
1358 * paragraph_funcs.C (outerPar): use const iterators
1359 * paragraph_pimpl.C (validate): use const iterators
1360 * text.C (setHeightOfRow): use const iterators
1362 2004-05-17 Angus Leeming <leeming@lyx.org>
1365 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1367 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1368 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1369 if the citation engine has changed.
1371 2004-05-14 José Matos <jamatos@lyx.org>
1373 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1374 if the textclass does not provide it. Have it different for sgml and
1376 support the language of document.
1377 * output_docbook.C (docbookParagraphs):
1378 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1379 first anchor as the id of the paragraph, remove special case code.
1380 * sgml.C (escapeChar): escape only < & >.
1382 2004-05-14 Angus Leeming <leeming@lyx.org>
1384 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1385 dependencies on src/frontends/controllers/biblio.h. Define a
1386 CiteEngine_enum wrapper class to enable the enum to be forward
1389 2004-05-12 Angus Leeming <leeming@lyx.org>
1391 * buffer.C: up LYX_FORMAT to 234.
1392 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1393 use_numerical_citations with a single biblio::CiteEngine cite_engine
1395 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1397 2004-05-13 José Matos <jamatos@lyx.org>
1400 * converter.C (Converter, readFlags): add xml member.
1401 * outputparams.h: add XML flavor.
1402 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1404 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1406 * lyxfunc.C (dispatch):
1407 (getStatus): fix handling of LFUN_SEQUENCE
1409 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1411 * debug.C (showLevel): do not forget the end-of-line marker
1413 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * kbmap.C (read): do not stop parsing a bind file when an error
1418 2004-04-29 Angus Leeming <leeming@lyx.org>
1423 * text2.C: wrap a bunch of #warning statements
1424 inside #ifdef WITH_WARNINGS blocks.
1426 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1428 * buffer.C: increment format to 233.
1430 2004-04-28 Angus Leeming <leeming@lyx.org>
1432 * BufferView_pimpl.C:
1435 s/updateToolbar()/updateToolbars()/
1436 s/Toolbar.h/Toolbars.h/
1438 2004-04-28 Angus Leeming <leeming@lyx.org>
1440 * BufferView.[Ch] (c-tor):
1441 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1442 No longer passes these data to the WorkArea generator.
1444 2004-04-28 Angus Leeming <leeming@lyx.org>
1446 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1448 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1450 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1452 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * output_latex.C (TeXEnvironment): make sure that there is a line
1455 break before \end{foo} for the last paragraph of a document
1456 (TeXOnePar): if the paragraph is at the end of the document (or
1457 inset) and the language has to be reset, then make sure that the
1458 line break is _before_ the language command, not after (fixes bug
1459 1225); also make sure that the language reset command is the first
1460 thing after the paragraph (to ensure proper nesting of
1461 environments and thus fix bug 1404)
1463 2004-04-21 John Levon <levon@movementarian.org>
1466 * ToolbarBackend.C: make "name" be a programmatic name
1467 and a gui_name field.
1469 * lyxfunc.C: display the minibuffer on M-x
1471 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1476 2004-04-19 Angus Leeming <leeming@lyx.org>
1478 * BufferView_pimpl.C (setBuffer): changed preview interface.
1480 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1483 2004-04-19 John Levon <levon@movementarian.org>
1485 * BufferView_pimpl.C:
1486 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1488 2004-04-05 Angus Leeming <leeming@lyx.org>
1490 * text.C (redoParagraphs): add call to updateCounters(), thereby
1491 fixing the missing "Figure #:" label from the caption of a
1494 2004-04-13 Angus Leeming <leeming@lyx.org>
1496 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1497 cursor is clicked out of an inset.
1499 2004-04-13 Angus Leeming <leeming@lyx.org>
1501 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1502 than an InsetOld one.
1504 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1506 * format.[Ch]: add editor to Format
1507 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1508 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1510 2004-04-08 André Pönitz <poenitz@gmx.net>
1512 * metricsinfo.h: remove PainterInfo::width member
1514 2004-04-08 Angus Leeming <leeming@lyx.org>
1516 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1517 "\providecommand" rather than "\newcommand", thereby preventing
1518 clashes with packages that define "\boldsymbol" themselves.
1521 2004-04-08 Angus Leeming <leeming@lyx.org>
1523 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1524 thereby squashing an unnecessary warning.
1526 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1528 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1531 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1533 * BufferView.C (setCursor): call redoParagraph (some insets could
1535 (putSelectionAt): remove the 'double update' trick
1537 * BufferView_pimpl.C (fitCursor): call refreshPar
1538 (workAreaDispatch): remove an uneeded update call
1539 (dispatch): remove some manual update calls
1541 * cursor.[Ch]: remove cached_y_, updatePos
1542 (selHandle): set noUpdate when appropriate
1544 * lyxfunc.C (dispatch): track if we need an update
1546 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1548 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1549 (paintSelection): cheap optimization, do not call cursorX when not
1551 (paintPars): change signature
1554 (paintTextInset): adjust
1558 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * lengthcommon.C: compilation fix: remove explicit array size from
1561 unit_name[] and friends
1563 2004-04-05 Angus Leeming <leeming@lyx.org>
1565 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1567 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1568 present only for the preferences dialog.
1569 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1571 2004-04-05 Angus Leeming <leeming@lyx.org>
1573 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1574 to enable the frontends to export changes to lyxrc correctly.
1576 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1578 2004-04-07 André Pönitz <poenitz@gmx.net>
1580 * cursor.[Ch] (selClear, adjust): remove math
1582 * cursor_slice.C: more agressive assert
1585 * BufferView_pimpl.C: rework mouse event dispatch
1592 2004-04-05 André Pönitz <poenitz@gmx.net>
1594 * cursor.[Ch] (valign, halign...): remove unneeded functions
1596 2004-04-05 Angus Leeming <leeming@lyx.org>
1598 * lyxlength.[Ch] (unit_name et al.): const-correct.
1600 2004-04-05 Angus Leeming <leeming@lyx.org>
1602 * BufferView_pimpl.C:
1611 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1613 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1615 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1617 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1619 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1620 * BufferView_pimpl.[Ch] (getStatus)
1621 * BufferView.[Ch] (getStatus): add
1622 * lyxfunc.C (getStatus): move lfuns handled in
1623 BufferView::dispatch to te function above
1624 * Cursor.C (setSelection): set selection() = true
1626 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1628 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1630 2004-03-31 Angus Leeming <leeming@lyx.org>
1632 * lyxfunc.C (dispatch): Fall through to the generic
1633 Dialogs::show("preamble").
1635 2004-03-31 Angus Leeming <leeming@lyx.org>
1637 * lyxfunc.C (dispatch): Fall through to the generic
1638 Dialogs::show("spellchecker").
1640 2004-03-31 Angus Leeming <leeming@lyx.org>
1642 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1645 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1650 * insetiterator.[Ch]:
1655 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1657 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1659 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1660 insets where we are putting the cursor.
1662 2004-03-31 Angus Leeming <leeming@lyx.org>
1665 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1667 * lyxrc.[Ch] (read, write): overloaded member functions taking
1668 a std::[io]stream arguments.
1670 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1672 2004-03-31 Angus Leeming <leeming@lyx.org>
1674 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1675 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1677 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1678 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1680 2004-03-31 Angus Leeming <leeming@lyx.org>
1682 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1683 the LFUN_ALL_INSETS_TOGGLE code.
1685 2004-03-30 Angus Leeming <leeming@lyx.org>
1687 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1688 has died. Fall through to the generic Dialogs::show("document").
1690 2004-03-30 Angus Leeming <leeming@lyx.org>
1693 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1694 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1696 * lyxfunc.C (getStatus, dispatch): define the actions for these
1697 lfuns. Little more than a cut and pste job from ControlDocument.C
1699 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1701 2004-03-30 Angus Leeming <leeming@lyx.org>
1704 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1705 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1707 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1708 open/closed state of ollapsable insets. Usage:
1710 all-inset-toggle <state> <name>, where
1711 <state> == "open" || "closed" || "toggle" and
1712 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1714 * lyxtext.h, text2.C (toggleInset): removed.
1716 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1717 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1718 now passes LFUN_INSET_TOGGLE to the found inset.
1720 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1721 is now invoked as "all-insets-toggle toggle branch".
1723 2004-03-30 Angus Leeming <leeming@lyx.org>
1727 * pariterator.[Ch]: added/corrected header blurb.
1729 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1731 * dociterator.[Ch]: add an inset_ member
1732 (backwardPos): implemented
1733 (backwardPos, forwardPos): use inset_ when the stack is empty.
1734 (doc_iterator_begin, doc_iterator_end): implemented
1735 * pariterator.[Ch]: adjust, add begin, end
1736 * insetiterator.[Ch]: adjust, add begin, end
1740 * BufferView_pimpl.C:
1741 * CutAndPaste.C: adjust
1743 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1745 * buffer.C: increment file format to 232.
1746 * LaTeXFeatures.C: add bibtopic package.
1747 * bufferparams.[Ch]: param \use_bibtopic.
1749 * lyxrc.[Ch]: add lyxrc bibtex_command
1750 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1752 * buffer.C: increment file format to 231.
1754 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1756 * dociterator.C: implement forwardPar
1757 * iterators.[Ch]: remove, replaced by
1758 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1760 * BufferView_pimpl.C:
1763 * bufferview_funcs.C:
1769 * Makefile.am: adjust
1771 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1773 * CutAndPaste.C (pasteSelection): fix 2 crashes
1774 (eraseSelection): fix a crash
1775 * paragraph_funcs.C: remove a warning
1777 2004-03-28 Angus Leeming <leeming@lyx.org>
1780 * LyXAction.C (init): new LFUN_PRINT.
1782 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1784 2004-03-27 Angus Leeming <leeming@lyx.org>
1787 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1789 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1791 2004-03-27 Angus Leeming <leeming@lyx.org>
1793 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1794 insetlist always contains non-null pointers to insets.
1796 2004-03-26 Angus Leeming <leeming@lyx.org>
1798 * src/BufferView_pimpl.C:
1799 * src/CutAndPaste.C:
1802 * src/output_plaintext.C:
1803 * src/outputparams.h:
1804 * src/paragraph_funcs.C:
1808 * src/frontends/controllers/ControlErrorList.C:
1809 * src/frontends/gtk/FileDialogPrivate.C:
1810 * src/frontends/gtk/GPainter.C:
1811 * src/frontends/gtk/GToolbar.C:
1812 * src/frontends/qt2/QRef.C:
1813 * src/mathed/math_scriptinset.C: squash compiler warnings.
1815 2004-03-26 Angus Leeming <leeming@lyx.org>
1817 * ispell.C (LaunchIspell::start):
1818 * lyx_cb.C (AutoSaveBuffer::start):
1819 invoke run(DontWait) rather than runNonBlocking().
1821 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1823 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1825 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1827 * kbsequence.C (print): adjust
1829 * kbmap.C (printKeySym): rename and change signature
1830 (printKey): use LyXKeySym::print()
1832 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1834 * undo.C: add using std::advance to compile for stlport
1836 2004-03-24 Angus Leeming <leeming@lyx.org>
1838 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1839 it leads to a crash when no buffer is present.
1841 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1842 Martin Vermeer <martin.vermeer@hut.fi>
1844 * lyxfunc.C (dispatch):
1845 * bufferparams.C (readToken): use the new LColor::setColor
1847 * LColor.[Ch] (setColor): new version that takes two strings as
1848 argument and creates a new color entry if necessary
1850 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1852 * buffer.C (makeLaTeXFile): if the main latex file that is
1853 processed is usually a subdocument of some master, then pretend
1854 for a while that it is actually the master
1856 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1858 * buffer.C (getLabelList):
1859 (getBibkeyList): use getMasterBuffer()
1860 (getMasterBuffer): new method. Returns the main document in the
1861 case where one is using included documents.
1863 2004-03-25 André Pönitz <poenitz@gmx.net>
1867 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1869 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1871 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1872 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1874 * ParameterStruct.h: merge with ParagraphParameters
1876 * lyxtext.h: remove LyXText::parOffset() and getPar()
1878 * text3.C: Remove all 'manual' update calls. We do now one per user
1879 interaction which is completely sufficient.
1883 * BufferView_pimpl.C:
1884 * FontIterator.[Ch]:
1886 * ParagraphParameters.[Ch]:
1891 * cursor_slice.[Ch]:
1898 * output_docbook.[Ch]:
1899 * output_latex.[Ch]:
1900 * output_linuxdoc.[Ch]:
1901 * output_plaintext.[Ch]:
1903 * paragraph_funcs.[Ch]:
1904 * paragraph_pimpl.[Ch]:
1912 * frontends/controllers/ControlDocument.C:
1913 * frontends/controllers/ControlErrorList.C:
1914 * frontends/controllers/ControlSpellchecker.C:
1917 * insets/insetbase.h:
1918 * insets/insetbibitem.C:
1919 * insets/insetbox.C:
1920 * insets/insetbranch.C:
1921 * insets/insetcaption.C:
1922 * insets/insetcharstyle.C:
1923 * insets/insetcharstyle.h:
1924 * insets/insetcollapsable.C:
1925 * insets/insetcollapsable.h:
1926 * insets/insetert.C:
1927 * insets/insetfloat.C:
1928 * insets/insetfoot.C:
1929 * insets/insetmarginal.C:
1930 * insets/insetnote.C:
1931 * insets/insetoptarg.C:
1932 * insets/insettabular.C:
1933 * insets/insettext.C:
1934 * insets/insettext.h:
1935 * insets/insetwrap.C:
1936 * mathed/math_mboxinset.C:
1937 * mathed/math_nestinset.C:
1938 * mathed/math_scriptinset.C:
1939 * mathed/math_scriptinset.h:
1942 2004-03-24 Angus Leeming <leeming@lyx.org>
1944 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1945 deal with any child processes that have finished but are waiting to
1946 communicate this fact to the rest of LyX.
1948 2004-03-24 Angus Leeming <leeming@lyx.org>
1950 64-bit compile fixes.
1952 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1953 (c-tor): pass lyx::pos_types rather than ints.
1955 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1958 * text.C (Delete): compile fix.
1959 (getPar): ensure that function declaration is the same as that in
1962 2004-03-23 Angus Leeming <leeming@lyx.org>
1964 * ispell.C (LaunchIspell):
1965 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1966 a boost::shred_ptr rather than a std::auto_ptr.
1968 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1970 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1971 handle LFUN_FILE_INSERT_*
1973 * lyxrc.C (setDefaults, getDescription, output, read):
1974 * lyxrc.h: remove ps_command
1976 2004-03-22 Angus Leeming <leeming@lyx.org>
1978 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1979 Ensure that error_handler is processed once only and that all data
1980 is saved before attempting to output any warning messages.
1982 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1984 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1986 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1988 2004-03-19 André Pönitz <poenitz@gmx.net>
1990 * cursor.[Ch] (reset): take main text inset as argument
1992 * BufferView: adjust
1993 * BufferView_pimpl.C: adjust
1995 * paragraph.[Ch]: fix completely broken operator=()
1997 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1999 * LColor.C (getFromLyXName): make sure that the color name is used
2002 2004-03-17 Angus Leeming <leeming@lyx.org>
2005 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2007 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2008 dialog and to kill a forked process.
2010 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2012 * text2.C (setCursorFromCoordinates): fix font problem
2014 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2016 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2017 bogus "rebuild cursor" code
2019 2004-03-11 André Pönitz <poenitz@gmx.net>
2021 * buffer.[Ch]: use InsetText instead of LyXText as container for
2024 * dociterator.[Ch]: drop the BufferView * member which is not needed
2025 anymore after the change to buffer.C
2027 * paragraph_funcs.C:
2031 * BufferView_pimpl.[Ch]:
2033 * cursor_slice.[Ch]: adjust
2035 * text3.C: fix bug in mathDispatch
2037 2004-03-08 André Pönitz <poenitz@gmx.net>
2039 * undo.[Ch]: use 'StableDocumentIterator' as base for
2042 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2045 * bufferparams.[Ch]: add jurabib support and param.
2047 * LaTeX.C: add FIXME/comment.
2049 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2051 * buffer.C: increment file format to 230.
2053 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2055 * cursor.C (dispatch): avoid infinite loops
2057 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2059 * rowpainter.C (paintSelection): fix x coordinates
2061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2063 * text.C (rowBreakPoint): fix breaking before displayed insets
2065 2004-03-01 André Pönitz <poenitz@gmx.net>
2067 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2069 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2073 * BufferView_pimpl.C:
2081 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2087 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2088 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2090 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2092 * Bidi.[Ch] (computeTables): const correctness
2093 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2094 fill_hfill, fill_label_hfill and x from Row
2095 * lyxtext.h: prepareToPrint returns a RowMetrics
2096 * rowPainter.C: adjust
2097 * text.C (prepareToPrint): use width, not textWidth. adjust
2098 (redoParagraphInternal, cursorX): adjust
2099 * text2.C (getColumnNearX): adjust
2100 (init): put a default value to the top LyXText::width
2102 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2104 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2106 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2108 * lyxtext.h: add FontIterator class
2110 * text.C (FontIterator, operator*, operator->, operator++): add
2111 (rowBreakPoint, setRowWidth): adjust (fixing a
2114 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2116 * BufferView_pimpl.C (workAreaDispatch): allow also
2117 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2119 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2121 * text.C (rowBreakPoint): fix a bug showing with very large insets
2123 2004-02-25 André Pönitz <poenitz@gmx.net>
2126 * cursor.[Ch]: move some mathed specific code to mathed
2128 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2130 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2131 use_tempdir in preferences
2132 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2134 * lyx_main.C: ensure that tempdir is valid
2135 * lyxlex.h: correct typo
2136 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2137 * paragraph.[Ch] (isMultiLingual): make const
2138 * cursor.[Ch] (openable): make const
2140 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2142 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2144 2004-02-20 André Pönitz <poenitz@gmx.net>
2146 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2148 * cursor.[Ch]: prepare for localized getStatus()
2154 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2156 2004-02-20 André Pönitz <poenitz@gmx.net>
2158 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2160 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2162 * text2.C (setCursorFromCoordinates): switch to absolute coords
2164 (cursorDown): adjust
2165 * text3.C (dispatch): adjust
2167 2004-02-16 André Pönitz <poenitz@gmx.net>
2169 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2172 * cursor_slice.[Ch]: remove unneeded acessor function
2174 * lyxtext.h: rename rtl() to isRTL()
2182 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2184 * rowpainter.C (paintSelection): coord fix
2186 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2188 * Spacing.C: compile fix
2190 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2192 * cursor.C (dispatch): restore current_ before returning
2194 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2196 * text2.C (cursorUp, cursorDown): fix coords
2199 2004-02-12 André Pönitz <poenitz@gmx.net>
2204 * text3.C: add LCursor & parameter to most cursor movement functions
2205 remove usage of LyXText::cursorRow() and cursorPar()
2207 * cursor.[Ch]: add textRow() needed members
2210 * BufferView_pimpl.C:
2213 * BufferView_pimpl.C: adjust
2215 2004-02-11 André Pönitz <poenitz@gmx.net>
2219 * BufferView_pimpl.C: shift undo/redo handling
2221 * cursor.[Ch]: fix mathed crash
2224 * lyxtext.h: move selectionAsText to LCursor
2232 * rowpainter.C: fix excessive drawing
2234 2004-02-06 André Pönitz <poenitz@gmx.net>
2237 * BufferView_pimpl.[Ch]:
2238 * text3.C: move some text specific LFUN handling
2240 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2242 * text3.C (checkInsetHit): adjust coords
2243 * text2.C (getColumnNearX): adjust coords
2244 (edit): adjust coords
2245 * text.C (getRowNearY): add two asserts
2247 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2250 * format.C: add using std::distance to compile on gcc 2.95/stlport
2252 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2254 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2256 2004-02-04 André Pönitz <poenitz@gmx.net>
2258 * BufferView.[Ch] (insertInset):
2259 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2264 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2266 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2267 on the default clause of the switch
2268 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2269 wasn't catched by LCursor::dispatch
2271 2004-02-03 André Pönitz <poenitz@gmx.net>
2274 * cursor.[Ch]: some additional asserts
2276 * undo.[Ch]: remove LyXText dependency in interface
2280 * lyxtext.h (firstPar, lastPar): remove dead functions
2285 * paragraph.[Ch]: adjust
2287 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2289 * lyxfind.C (find): fix argument order in call to ::find
2291 2004-02-02 André Pönitz <poenitz@gmx.net>
2293 * cursor.[Ch]: remove direct access to anchor
2295 * text.C: remove findText() hack
2297 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2299 * iterators.[Ch] (lockPath): remove in favour of...
2300 * BufferView.[Ch] (setCursor): this addition
2301 * BufferView.C (putSelectionAt): adjust
2302 * undo.C (performUndoOrRedo): adjust
2303 * lyxfunc.C (dispatch): adjust
2305 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2307 * iterators.C (lockPath): add a missing slice
2308 * undo.C (performUndoOrRedo): remove redundant positioning code
2310 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2312 * vc-backend.C (scanMaster): ";" -> ';'
2314 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2316 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2317 std::binary_function
2319 * lyxtextclass.C (compare_name): rename to...
2320 (LayoutNamesEqual): ...this
2322 * lyxlex_pimpl.C (compare_tags): inherit from
2323 std::binary_function, put back into anon namespace
2325 * lyxfind.C (MatchString): inherig from std::binary_function
2326 (findChange): use empty() istead of !size()
2328 * format.C (FormatNamesEqual): new functor
2335 * converter.C (compare_Converter): rename to...
2336 (ConverterEqual): ...this, and fixup a bit.
2337 (getConverter): use it, and make function const
2338 (getNumber): use it, and make function const
2342 * bufferlist.C: add using boost::bind
2344 * MenuBackend.C (MenuNamesEqual): new functor
2345 (hasMenu): use it, and make function const
2346 (hasSubmenu): use nested bind to get rid of compare_memfun.
2348 2004-01-30 André Pönitz <poenitz@gmx.net>
2350 * BufferView_pimpl.C:
2353 * cursor_slice.[Ch]:
2356 * paragraph_funcs.C:
2357 * paragraph_funcs.h:
2361 * text3.C: move some of the edit(x,y) handling to the insets
2362 some coordinate changes.
2364 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * text.C: add using statements for std::advance and std::distance
2368 * paragraph.C: add using statement for std::distance
2370 * lyxfind.C: add using statement for std::advance
2372 * cursor.C (region): remove std:: from swap
2373 (openable): use nucleus in stead of operator->
2375 * BufferView.C: add using statements for std::distance and std::swap
2377 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2379 * iterators.C: Remove the pimple, move the needed structures to
2380 the header file. Create accessor for the positions stack.
2381 (asPosIterator): remove function
2383 * PosIterator.C (PosIterator): move constructors to top of file
2384 (PosIterator): reimplement the constructor taking a ParIterator in
2386 (setFrom): new function
2387 (operator!=): inline it
2389 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2391 * lyxfind.C (replaceAll): use std::advance
2393 * iterators.h: inherit from std::iterator.
2395 * PosIterator.C (advance, distance): remove
2396 * PosIterator.h: interit from std::iterator.
2398 2004-01-26 André Pönitz <poenitz@gmx.net>
2401 * BufferView_pimpl.[Ch]:
2405 * bufferview_funcs.C:
2415 * output_linuxdoc.C:
2416 * output_plaintext.C:
2418 * paragraph_funcs.[Ch]:
2419 * paragraph_pimpl.[Ch]:
2425 * text3.C: more IU: dumps most of the rest of the mathcursor
2426 implementation into cursor.[Ch]; "globalize" a bit of it.
2428 2004-01-25 Angus Leeming <leeming@lyx.org>
2430 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2432 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2434 * LaTeXFeatures.h: add nice_ and nice() const
2435 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2437 2004-01-20 André Pönitz <poenitz@gmx.net>
2440 * BufferView_pimpl.C:
2442 * bufferview_funcs.C:
2444 * cursor_slice.[Ch]:
2455 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2456 LCursor and mathcursor parts to LCursor and InsetBase.
2458 2004-01-15 André Pönitz <poenitz@gmx.net>
2460 * cursor_slice.[Ch]: add a few covienience functions
2462 * funcrequest.[Ch]: remove BufferView * member
2464 * BufferView_pimpl.C:
2471 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2473 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2475 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2476 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2478 2004-01-13 André Pönitz <poenitz@gmx.net>
2481 * lyxtext.h: hide cursor and selection anchor behind accessor function
2484 * BufferView_pimpl.[Ch]:
2486 * bufferview_funcs.C:
2496 * cursor_slice.[Ch]: some integer type changes for inset unification
2498 * lyxcursor.[hC]: remove, it's CursorSlice now.
2501 * BufferView_pimpl.[Ch]:
2502 * bufferview_funcs.C:
2508 * textcursor.[Ch]: adjust
2510 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2512 * text2.C (undoSpan): add and use
2513 * text.C (breakParagraph): use undoSpan (fix bug 578)
2516 2004-01-08 Angus Leeming <leeming@lyx.org>
2518 * BufferView_pimpl.C (MenuInsertLyXFile):
2519 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2520 * lyxfunc.C (menuNew, open, doImport):
2521 FileFilterList change to the FileDialog open and save functions.
2523 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2525 * ShareContainer.h: make isEqual and isUnique adaptable
2527 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2529 2004-01-07 Angus Leeming <leeming@lyx.org>
2532 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2534 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2536 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2537 functions replacing find, replace and replaceAll.
2539 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2540 LFUN_WORDFIND(FORWARD|BACKWARD).
2542 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2544 * text.C (breakParagraph): remove an outdated #warning
2546 2004-01-07 André Pönitz <poenitz@gmx.net>
2548 * lyxfind.C: somewhat clearer logic
2550 * text.C: prevent crash in cursorX on unitialized row cache
2552 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2554 * lyxcursor.[Ch] (operator>): add
2555 * textcursor.C (selStart, selEnd): use std::min and std::max
2557 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2559 * Chktex.C: include boost/format.hpp
2561 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2563 * InsetList.C: replace functor MathcIt with adaptable functor
2565 (insetIterator): modify accordingly
2567 * BranchList.h: move the BranchNamesEqual functor here from...
2568 * BranchList.C: ... to here
2570 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2572 (add): replace a finding loop with std::find_if.
2574 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2576 * output_docbook.C: moving LatexParam functionality into
2579 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2581 * buffer.C: increment format to 229.
2583 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2586 * lyx_sty.[Ch]: remove minipageindent_def
2592 * text3.C: remove LFUN_INSET_MINIPAGE
2594 2003-12-28 Angus Leeming <leeming@lyx.org>
2596 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2598 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2600 * text2.C (setParagraph): fix off-by-one crash
2602 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2604 * output_docbook.C: header stuff for AGU
2606 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2608 * text2.C (redoCursor): remove
2611 * BufferView_pimpl.C: remove calls to redoCursor and
2612 setCursor(cursor.par(), cursor.pos()) all around
2614 2003-12-15 Angus Leeming <leeming@lyx.org>
2616 * buffer.C: up the format to 228.
2618 2003-12-15 André Pönitz <poenitz@gmx.net>
2620 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2625 * BufferView_pimpl.C:
2634 2003-12-15 Angus Leeming <leeming@lyx.org>
2636 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2637 than getFromGUIName to manipulate the color.
2639 2003-12-14 Angus Leeming <leeming@lyx.org>
2641 * BranchList.[Ch]: minimize the API.
2642 (Branch::getBranch, getColor): now return a 'const &'.
2643 (Branch::setSelected) now returns a bool set to true if the
2644 selection status changes.
2645 (BranchList::clear, size, getColor, setColor, setSelected,
2646 allBranches, allSelected, separator): removed.
2647 (BranchList::find): new functions, returning the Branch with
2649 (BranchList::add, remove): return a bool indicating that
2650 the operation was successful.
2652 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2653 new InsetBranch::isBranchSlected member function.
2655 * LColor.[Ch]: mimimize the API.
2656 (fill): renamed as addColor and made private.
2657 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2658 versions of these functions taking a string arg have been removed.
2660 * bufferparams.C (readToken):
2661 * lyxfunc.C (dispatch):
2662 * lyxrc.C (read): changes due to the altered BranchList and
2665 * factory.C (createInset, readInset): changes due to altered
2668 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2671 * lyxfunc.C: remove insetminipage. "minipage-insert"
2672 now produces a frameless minipage box inset.
2674 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2676 * textcursor.[Ch] (selStart,selEnd): add new methods
2677 remove selection::start, end, use LyXCursor::operator<
2678 * lyxcursor.[Ch] (operator<): add
2679 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2680 * BufferView.[Ch] (unsetXSel): add
2681 * text2.C (clearSelection): use unsetXSel,adjust
2684 * rowpainter.C: adjust
2685 * bufferview_funcs.C (put_selection_at): adjust
2687 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2689 * BufferView_pimpl.C: small coord. correction
2691 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2693 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2694 dragging over the splash screen.
2696 2003-12-11 Angus Leeming <leeming@lyx.org>
2698 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2699 as it is now handled in LyXText::dispatch.
2701 * text3.C (doInsertInset): remove a level of nesting.
2703 2003-12-11 Angus Leeming <leeming@lyx.org>
2705 * factory.C (createInset): changes due to the changed interface to
2706 InsetCommandMailer::string2params.
2708 2003-12-10 Angus Leeming <leeming@lyx.org>
2710 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2711 'dialog-show-new-inset <inset name>'
2713 2003-12-10 Angus Leeming <leeming@lyx.org>
2715 * buffer.C: up the format to 227.
2717 * factory.C: the box inset is now identified simply by 'Box'.
2719 2003-12-10 Angus Leeming <leeming@lyx.org>
2721 * buffer.C: up the format to 226.
2723 * factory.C: the note inset is now identified simply by 'Note'.
2725 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2727 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2728 when a pit is enough. Standarize a couple of loops.
2730 2003-12-05 Angus Leeming <leeming@lyx.org>
2732 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2733 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2734 data to the re-worked "log" dialog.
2736 2003-12-03 André Pönitz <poenitz@gmx.net>
2742 * paragraph_funcs.C:
2744 * text2.C: use Inset::getText instead of Inset::getParagraph
2746 2003-12-03 André Pönitz <poenitz@gmx.net>
2750 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2751 InsetText::read() as LyXText::read()
2753 2003-12-02 Angus Leeming <leeming@lyx.org>
2755 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2756 type. Add a comment in the implementation that the function uses
2757 the stream's bad() function rather than fail() as the std::streams
2760 2003-12-02 André Pönitz <poenitz@gmx.net>
2762 * lyxlex.[Ch]: make interface more similar to std::stream
2764 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2766 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2768 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2770 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2772 * vspace.[Ch]: remove VSpace::NONE
2774 2003-12-01 André Pönitz <poenitz@gmx.net>
2777 * lyxtext.h: move ParagraphList member to LyXText
2778 rename LyXText::ownerParagraphs to LyXText::paragraph
2781 * bufferview_funcs.C:
2791 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2793 * undo.C: fix cursor positioning
2795 2003-12-01 John Levon <levon@movementarian.org>
2797 * BufferView_pimpl.C: fix a crash on exit with
2800 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2802 * BranchList.C: fix setSelected() method.
2804 2003-11-28 André Pönitz <poenitz@gmx.net>
2806 * ParagraphParameters.[Ch]:
2807 * ParameterStruct.h: remove space above/below from Paragraph to
2810 * BufferView_pimpl.C:
2816 * paragraph_funcs.C:
2822 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2824 * factory.C: Syntax change for CharStyles
2826 2003-11-28 André Pönitz <poenitz@gmx.net>
2831 * buffer.[Ch]: move LyXText member
2833 2003-11-28 André Pönitz <poenitz@gmx.net>
2835 * BufferView.[Ch]: make LyXText * text a private member
2837 * BufferView_pimpl.C:
2848 * output_plaintext.C: cleanup
2850 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2853 * lyxtextclass.[Ch]: parametrize SGML document header
2855 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2858 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2861 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2863 * text2.C (setFont): rework using PosIterator (no more recursive)
2864 (setCharFont): no more needed
2865 (setLayout): no more selection cursors fiddling (done by redoCursor)
2866 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2867 destroy remaining ones)
2869 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2871 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2873 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2876 * text3.C: adjust + re-allow multi par depth changes
2877 * textcursor.C: simplify a bit
2879 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2885 * src/output_docbook.C:
2886 * src/output_latex.C:
2891 * src/text2.C: Introducing a number of tags parametrizing various
2892 XML formats that we may want to support
2894 2003-11-25 André Pönitz <poenitz@gmx.net>
2896 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2898 * lyxtext.h (leftMargin/rightMargin): simplify interface
2905 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2907 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2908 master file to any child files. Fixes bug 546.
2910 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2912 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2914 2003-11-24 André Pönitz <poenitz@gmx.net>
2916 * rowpainter.C: simplification
2918 * text2.C (updateCounters): remove call to redoParagraph on
2919 changed labels as this is far too expensive.
2921 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2923 * converter.C (convert): fix a crash: this function gets
2924 called with buffer == 0 from importer code.
2926 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2928 * text3.C (cursorPrevious): make sure that we do not compare
2929 iterators form different containers.
2932 * rowpainter.C (paintSelection): make sure that we do not compare
2933 iterators from different containers.
2935 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2936 iterators from different ParagraphList containers.
2939 * text2.C (LyXText): change order of initialization slightly
2940 (operator=): new function. copy all variables except cache_par_
2941 (moveUp): make sure that we do not compare iterators from
2942 different ParagraphList constainers.
2945 * text.C (firstPar): new function
2946 (lastPar): new function
2947 (endPar): new function
2949 * lyxtext.h: move things around and group public functions, public
2950 variables, private functions, private variables
2952 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2954 * factory.C: change call to InsetERT constructor to avoid
2955 additional invocation of method status
2956 * text2.C (toggleInset): remove redundant update() call
2957 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2958 instead of a Bufferview pointer
2960 2003-11-21 André Pönitz <poenitz@gmx.net>
2962 * rowpainter.C: simplification
2964 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2966 * text3.C (dispatch): make possible to extend a word/row selection
2969 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2971 * lyxtext.h: x0_,y0_ -> xo_,yo_
2972 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2973 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2974 * rowpainter.C (paintRows): paint full paragraphs
2976 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2978 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2981 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2983 * lyxtext.h: add x0_, y0_
2984 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2985 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2987 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2989 * text2.C (setCursorIntern): move the x_target update here *
2990 * text3.C: change some bv() to true/false in calls to
2991 cursorUp/Down/Right/Left
2992 * cursor.C: use helper function.
2994 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2996 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2997 * paragraph_funcs.[Ch]: correct comment
2998 * rowpainter.C: do not paint selections away from bv->cursor()
2999 Fix a long standing selection painting bug.
3000 * text3.C: generalize mouse-selection code to LyXTexts other that
3002 * textcursor.C: do not use y coords if we can use par offsets
3004 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3006 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3007 cursor position after e.g. inset insert)
3009 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3011 * lyxfind.C (replace): adjust to locking removal + some
3014 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3016 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3019 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3022 * output_docbook.C: XML sanitation: new layout
3023 parameters InnerTag and CommandDepth
3025 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3027 * BufferView_pimpl.C:
3029 * text3.C: Fix the insertion and modification of button-style
3032 2003-11-13 André Pönitz <poenitz@gmx.net>
3034 * InsetList.[Ch]: remove deleteLyXText
3036 * paragraph.[Ch]: cache beginOfBody position
3041 * text3.C: remove superfluous update() calls
3045 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3047 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3048 * BufferView.C (fitLockedInsetCursor): remove
3049 * cursor.[Ch] (getDim): add
3050 * text.C (getRowNearY): add faster version
3051 * text3.C: remove some update calls
3053 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3065 * text3.C: The Character Style /XML short element patch.
3067 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3070 * factory.C: Small step to solving 'unable to insert some insets'
3073 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3075 * cursor.[Ch] (updatePos): new function for updating the y
3076 position of the tip inset
3077 * bufferview_funcs.C (put_selection_at):
3078 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3080 2003-11-11 André Pönitz <poenitz@gmx.net>
3082 * text.C: remove big comment on invalid Paragraph pointers as it is
3085 2003-11-11 André Pönitz <poenitz@gmx.net>
3087 * text_funcs.[Ch]: merge with ...
3095 * Makefile.am: remove text_funcs.[Ch]
3097 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3099 * cursor.C (getPos): return absolute cached y coord
3101 * BufferView_pimpl.C (fitCursor): new simplistic code
3102 (workAreaDispatch): add a fitCursor call
3104 2003-11-10 André Pönitz <poenitz@gmx.net>
3107 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3109 2003-11-10 André Pönitz <poenitz@gmx.net>
3111 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3112 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3113 indicate that the cursor needs to leave an inset
3115 * lyxtext.h: remove inset locking
3117 * cursor.[Ch]: re-implement functionality provided by inset locking
3120 * BufferView_pimpl.[Ch]:
3122 * bufferview_funcs.[Ch]:
3134 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3136 * PosIterator.[Ch]: replace the stack with a vector, add inset
3138 * iterators.[C]: adjust
3140 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3142 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3144 * paragraph_funcs.C (readParToken): put the correct id in the
3145 error item, not the id of the top paragraph
3147 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3149 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3150 * bufferview_funcs.C (put_selection_at): use the above
3152 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3154 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3156 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3158 * output_linuxdoc.h:
3159 * output_plaintext.h:
3161 * output_docbook.h: add #include statements
3163 2003-11-05 José Matos <jamatos@lyx.org>
3165 * output_docbook.[Ch]:
3166 * output_latex.[Ch]:
3167 * output_linuxdoc.[Ch]:
3168 * output_plaintext.[Ch]: New files for output formats.
3169 * output.[Ch]: New file for helper functions.
3172 * paragraph_funcs.[Ch]: output functions moved to new files.
3174 * outputparams.h: rename of latexrunparams.h
3182 * paragraph_funcs.[Ch]:
3183 * paragraph_pimpl.[Ch]:
3184 * tabular.[Ch]: rename ascii to plaintext
3185 and LatexRunParams to OutputParams.
3187 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3189 * iterators.[Ch] (text): require bv argument
3190 * undo.C (recordUndo):
3191 * lyxfunc.C (dispatch):
3192 * bufferview_funcs.C (put_selection_at): adjust
3194 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3196 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3198 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3200 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3203 2003-11-04 André Pönitz <poenitz@gmx.net>
3205 * cursor.[Ch]: restructure
3208 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3210 * iterators.[Ch] (asCursor): remove
3212 * lfuns.h: remove LFUN_INSET_EDIT
3218 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3220 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3222 * lyxfind.[Ch]: complete overhaul
3223 * BufferView_pimpl.C:
3225 * paragraph.[Ch] (insert): add
3227 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3231 * text.C: remove dead spellcheck code
3233 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3235 * dispatchresult.h: add a val setter
3237 * cursor.C (dispatch): use a tempvar for data_[i]
3239 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3241 * PosIterator.[Ch]: compile fix
3243 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3245 * text.C (cursorPar): deactivate the cursor cache
3247 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3249 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3251 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * text3.C (dispatch): adjust for new DisptchResult semantics.
3255 * lyxfunc.C (dispatch): handle update when return from
3256 Cursor::dispatch, adjust for new DispatchResult semantics.
3258 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3259 DispatchResult(true) mean to not update. Add class functions for
3260 setting dispatched and update, as well as reading.
3262 * cursor.C (dispatch): don't handle update here
3264 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3267 * trans_mgr.C: adjust
3269 * paragraph_funcs.C (readParToken): exception safety
3271 * lyxvc.h: store the vcs pointer in a scoped_ptr
3274 * lyxsocket.C (serverCallback): exception safety
3276 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3278 * ispell.C (clone): make it return a auto_ptr
3280 * factory.C (createInset): exception safety
3281 (readInset): exception safety
3283 * bufferlist.C (newBuffer): exception safety
3285 * Thesaurus.C (Thesaurus): use initialization for aik_
3287 * MenuBackend.C (expandToc): exception safety.
3289 2003-11-03 André Pönitz <poenitz@gmx.net>
3293 * bufferview_funcs.C: remove getInsetFromId()
3296 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3302 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3304 * PosIterator.C (distance, advance): new
3305 * bufferview_funcs.[Ch] (put_selection_at): new
3306 * iterators.[Ch] (lockPath): new
3308 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3310 * iterators.[Ch] (asPosIterator): added
3311 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3312 * PosIterator.[Ch]: added
3314 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3318 * cursor.C (dispatch):
3319 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3321 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3322 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3323 contructor, add a class function dispatched. Remove operator>=
3325 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * debug.C: only use the default constructor for debugstream
3330 * main.C (main): include debug.h and setup the lyxerr streambuf
3333 2003-10-31 José Matos <jamatos@lyx.org>
3335 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3337 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3338 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3339 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3340 * paragraph_pimpl.C (simpleTeXSpecialC):
3341 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3342 add LatexRunParams argument.
3344 * exporter.C (Export): change call accordingly.
3346 * latexrunparams.h: add new member to take care of the other backends.
3347 2003-10-30 José Matos <jamatos@lyx.org>
3349 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3350 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3351 factorise code for paragraph output.
3353 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3356 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * text3.C (dispatch):
3359 * lyxfunc.C (dispatch):
3360 * cursor.C (dispatch):
3361 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3363 * dispatchresult.h: make the dispatch_result_t ctor explicit
3365 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3368 * buffer.C: small refactoring of docbook stuff
3370 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3375 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3378 operator dispatch_result_t, and operators for == != and >=
3380 * cursor.C (dispatch): adjust for operator dispatch_result_t
3381 removal. comment out call to update
3383 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3385 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3396 * dispatchresult.h: new file, DispatchResult broken out of
3399 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3401 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3403 * text.C (rowBreakPoint): put a hack inside #if 0
3405 2003-10-28 André Pönitz <poenitz@gmx.net>
3409 * paragraph_funcs.C:
3412 * text2.C: general cleanup (lots of small stuff)
3414 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3416 * text2.C (cursorEnd): simple fix to the "end key goes to one
3417 before the end on last row" bug
3419 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3421 * text.C (backspace): fix the "zombie characters"
3423 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3425 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3427 2003-10-27 André Pönitz <poenitz@gmx.net>
3429 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3431 * factory.C: handle new InsetPagebreak, InsetLine
3433 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3434 and move handling into new InsetPagebreak, InsetLine
3436 * BufferView_pimpl.C:
3438 * ParagraphParameters.C:
3439 * ParameterStruct.h:
3444 * paragraph_funcs.C:
3445 * paragraph_pimpl.C:
3451 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3454 * lyxrow_funcs.[Ch]:
3460 * text3.C: remove lastPos uses in favour of Row::endpos
3462 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3464 * undo.C (performUndoOrRedo): fix two crashes by setting a
3465 cursor by hand and reordering some calls. Use bv->lockInset instead
3466 of inset->edit because the latter loses cursor information
3468 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3470 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3472 (rowBreakPoint): fix width. change point to point + 1.
3473 Add a missing check.
3475 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3478 * lyxfunc.C: fix (at least partly) the problems
3479 with the Nav menu and headers inside branch insets
3482 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3484 * paragraph.C (getChar): add strong asserts
3486 * lyxrow_funcs.C (lastPos): remove hideous hack
3488 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3489 (fill): adjust to that (avoid an infinite loop)
3491 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3493 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3495 2003-10-23 André Pönitz <poenitz@gmx.net>
3497 * RowList_fwd.h: change list<> to vector<> to gain speed
3498 after suggestion from Alfredo
3500 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3502 * lyxtext.h: move the bidi stuff from here...
3505 * Bidi.[Ch]: ... to here
3507 2003-10-23 André Pönitz <poenitz@gmx.net>
3510 * text.C (isLastRow, isFirstRow): new functions
3512 * paragraph.h: new width cache member
3514 * rowpainter.C: replace RowList::iterator with Row & where possible
3516 * lyxfunc.C: replace several view()->text with a single call
3518 * toc.C: fix 'unused' warning
3520 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3523 when woring with stream::pos_type
3524 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3526 2003-10-22 André Pönitz <poenitz@gmx.net>
3529 * text.C: use Row & instead of RowList::iterator
3531 * lyxrow.h: rename end() to endpos()
3537 2003-10-22 Angus Leeming <leeming@lyx.org>
3539 * buffer.[Ch] (fully_loaded): new member function, returning true
3540 only when the file has been loaded fully.
3541 Used to prevent the premature generation of previews and by the
3542 citation inset to prevent computation of the natbib-style label.
3544 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3545 templates are all set up.
3547 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3549 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3551 * text.C: fixed an "oops" in the "is a bit silly"
3554 2003-10-21 André Pönitz <poenitz@gmx.net>
3556 * FuncStatus.[Ch]: small stuff, whitespace
3558 * lyxfont.[Ch]: operator<<() for debug reasons
3562 * lyxtext.h: whitespace, spelling
3564 * paragraph.C: naming of variables
3567 * text2.C: small stuff
3570 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3572 * text.C: (1) finish off the inset display() work;
3573 (2) fix the "is a bit silly" bug (accessing char
3576 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3578 * text.C: re-introduce display() for insets, fixing the
3579 various bugs (stretch of line above, math inset
3582 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3584 * text.C (rightMargin): remove spurious semicolon
3586 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3589 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3591 * text3.C: fix one crash due to wrong cursor def
3593 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * vc-backend.C (scanMaster): make the regex static
3597 * LaTeX.C (scanAuxFile): make the regexs static
3599 * text3.C (doInsertInset, dispatch, dispatch):
3600 * text2.C (cursorUp, cursorDown):
3601 * text.C (selectNextWordToSpellcheck):
3602 * BufferView_pimpl.C (dispatch):
3603 * lyxfunc.C (dispatch): localDispatch -> dispatch
3605 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3607 * lyxsocket.C: include <cerrno>
3609 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * lyxfunc.C (dispatch): remove textcache stuff
3613 * bufferlist.C (release): remove textcache stuff
3616 * TextCache.C: delete file
3617 * TextCache.h: delete file
3619 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3621 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3622 delete of the bv_->text.
3623 (resizeCurrentBuffer): remove texcache stuff
3624 (workAreaResize): ditto
3626 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3631 2003-10-16 André Pönitz <poenitz@gmx.net>
3638 * text3.C: speed up by storing y positions per paragraph plus per-row
3639 offset instead of having a 'full' y position in the row.
3641 2003-10-15 André Pönitz <poenitz@gmx.net>
3645 * undo.[Ch]: make undo aware of inner insets
3647 2003-10-14 Angus Leeming <leeming@lyx.org>
3649 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3650 static member functions LyX::ref() and LyX::cref.
3651 (lastfiles): new accessor functions for the new lastfiles_ member var.
3652 (addLyXView, views_): add a new LyXView to the list of views_.
3653 (updateInset): loop over all LyXViews to call their own updateInset
3654 member function, returning a pointer to the Buffer owning the inset.
3656 * BufferView_pimpl.C (loadLyXFile):
3657 * MenuBackend.C (expandLastfiles):
3658 * bufferlist.C (MenuWrite, QuitLyX):
3659 lastfiles is no longer a global variable.
3660 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3662 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3663 static function. Access through LyX::cref().emergencyCleanup().
3665 2003-10-14 André Pönitz <poenitz@gmx.net>
3667 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3669 * undo.[Ch]: restoring part of 'undo in insets'
3672 * undo_funcs.[Ch]: merge with undo.[Ch]
3674 * tabular.C: small cleansing stuff
3676 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3678 * paragraph_funcs.C (readParToken): report unknown insets as error
3679 boxes. Use the outer paragraph as location (also for unknown
3682 * factory.C (readInset): do not abort on reading an unknown inset.
3683 Eat it and return 0.
3685 2003-10-13 Angus Leeming <leeming@lyx.org>
3687 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3689 * lyxrc.C: displayTranslator is now a function,
3690 declared in GraphicsTypes.h.
3692 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3694 * format.C: new placeholder $$a to pass the socket address.
3696 * bufferlist.[Ch]: new function getBufferFromTmp.
3698 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3699 files in the temporary dir.
3701 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3703 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3705 * Makefile.am: add lyxsocket.[Ch].
3707 * lyx_main.C (error_handler): handle SIGPIPE.
3709 2003-10-13 André Pönitz <poenitz@gmx.net>
3711 * BufferView_pimpl.C:
3716 * undo_funcs.[Ch]: use paroffset_type instead of
3717 ParagraphList::iterators to prevent multiple conversion
3718 (and get a more robust interface)
3720 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3724 * text3.C (dispatch): ditto
3726 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3729 move the onlyfile, use onlyfile instead of foundfile in a couple
3732 * DepTable.C (update): flush the error stream a bit more
3734 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3736 * lyxserver.C (callback): adjust
3738 * lyxfunc.C (getStatus): add a missing brace in commented code
3739 (ensureBufferClean): reindent
3740 (dispatch): delete version taking a string
3742 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * LaTeX.C (deplog): move found file handlig from here...
3745 (handleFoundFile): .. to new function here.
3746 (deplog): make sure to discover several files mentioned on the
3749 2003-10-10 André Pönitz <poenitz@gmx.net>
3756 * text3.C: fix some of the tabular crashes
3758 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3760 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3762 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3764 2003-10-09 André Pönitz <poenitz@gmx.net>
3766 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3769 * BufferView_pimpl.C:
3770 * bufferview_funcs.C:
3781 * undo_funcs.C: adjust
3783 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * text2.C (incrementItemDepth): new function, use a backtracking
3786 algorithm to discover the correct item depth.
3787 (resetEnumCounterIfNeeded): new function, use a backtracking
3788 algorithm to discover if counter reset is needed.
3789 (setCounter): use them. Simplify a bit. Add different labels for
3790 different item depths for itemize.
3792 * paragraph.C (Paragraph): remove initialization of enumdepth
3795 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3796 enumerate and itemize. Change the type of itemdepth to signed char.
3798 2003-10-08 André Pönitz <poenitz@gmx.net>
3800 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3805 * tabular.[Ch]: fix crash after 'row-insert'
3807 2003-10-08 Angus Leeming <leeming@lyx.org>
3809 Fix doxygen warnings.
3811 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3812 Remove CutAndPaste:: prefix from header file declaration.
3814 * LColor.h (fill): remove LColor:: prefix from declaration.
3816 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3817 use lyx::depth_type rather than Paragraph::depth_type so that
3818 header file and .C file match.
3820 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3822 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3823 * aspell.C: \file aspell_local.C -> \file aspell.C
3824 * gettext.C: \file gettext.C -> \file src/gettext.C
3825 * gettext.h: \file gettext.h -> \file src/gettext.h
3826 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3827 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3828 * text.C: \file text.C -> \file src/text.C
3830 * toc.C: move comment so that doxygen is not confused.
3832 2003-10-07 Angus Leeming <leeming@lyx.org>
3834 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3836 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3839 * aspell_local.h: add forgotten std::string's.
3841 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3848 * text3.C: The Box patch. Fancybox support, minipage, parbox
3850 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3856 * ParagraphParameters.h:
3866 * lyxtextclasslist.h:
3869 * paragraph_pimpl.C:
3870 * textcursor.h: add <string> and other small fixes to make Lars'
3871 std::string patch compile with STLport.
3873 2003-10-06 Angus Leeming <leeming@lyx.org>
3875 * LColor.h: Add missing #include <string>.
3877 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * All most all file in all subdirs: Make <string> be the prefered
3880 way of getting to std::string, add using declarations.
3882 2003-10-06 André Pönitz <poenitz@gmx.net>
3884 * metricsinfo.C: initialize LyXFont before changing attribute.
3885 (fixes the 'math in \emph is upright' bug)
3887 2003-10-06 André Pönitz <poenitz@gmx.net>
3889 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3891 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3894 * paragraph_pimpl.C: Small fixes to build using STLport
3896 2003-10-02 André Pönitz <poenitz@gmx.net>
3899 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3901 2003-10-01 André Pönitz <poenitz@gmx.net>
3903 * factory.C: assert early
3905 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * lyx_main.C: remove the global debug object
3909 * debug.h: adjust for new debugstream
3911 * debug.C: adjust for new debugstream and keep the global debug
3914 2003-09-22 Angus Leeming <leeming@lyx.org>
3916 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3917 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3918 an incomplete class LyXFont.
3920 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3922 * factory.C: bug fix in branches
3924 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3926 * lyxfunc.C (processKeySym): adjust
3928 (dispatch): change arg name from ev to func, adjust
3929 (sendDispatchMessage): ditto
3931 * lyx_main.C (defaultKeyBindings): adjust keybindings
3932 (deadKeyBindings): ditto
3934 * kbsequence.C (addkey): return a FuncRequest
3936 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3938 * kbmap.C (bind): take a FuncRequest as arg, adjust
3941 (defkey): change to take a FuncRequest as arg, adjust
3942 (findbinding): take a FuncRequest as arg, adjust.
3944 * funcrequest.h (operator=): added
3946 * funcrequest.C (FuncRequest): default kb_action changed from
3947 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3949 * buffer.C (dispatch): simplify
3950 (dispatch): adjust to take a FuncRequest as arg, adjust
3952 * boost.C (assertion_failed): change assertion message slightly
3954 * ToolbarBackend.C (read): simplify
3956 * MenuBackend.C (binding): adjust call to findbinding, add a
3957 message if no binding is found.
3959 (expandToc): correct by adding a empty FuncRequest
3961 * LyXAction.C: include <boost/assert.hpp>
3962 (isPseudoAction): delete function
3963 (LookupFunc): change name to...
3964 (lookupFunc): this. change return type to FuncRequest.
3965 (getActionName): take kb_action as arg, simplify
3966 (funcHasFlag): add an assert, simplify.
3968 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3970 * toc.C (action): return a FuncRequest, simplify
3972 * lyxfunc.C (processKeySym): adjust
3973 (getStatus): delete version that takes an int.
3975 (dispatch): delete version that takes action as int
3977 (sendDispatchMessage): simplify and adjust
3979 * funcrequest.C (getArg): take unsigned int as arg
3981 * ToolbarBackend.C (read): adjust
3982 (add): delete version that takes func as a string.
3983 (getIton): take a FuncRequest as arg
3985 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3988 * MenuBackend.C (MenuItem): add a new construct that only takes a
3989 Kind, simplify the constructor use for submenus.
3991 (expandLastfiles): adjust
3992 (expandDocuments): adjust
3993 (expandFormats): adjust
3994 (expandFloatListInsert): adjust
3995 (expandFloatInsert): adjust
3996 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3998 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3999 Remove class variables lyx_pseudo_map and lyx_arg_map
4001 * LyXAction.C (searchActionArg): delete function
4002 (getPseudoAction): delete function
4003 (retrieveActionArg): delete function
4004 (LookupFunc): make it return kb_action, simplify.
4005 (getActionName): simplify
4007 * factory.C (createInset): fix new bug
4009 2003-09-19 Angus Leeming <leeming@lyx.org>
4011 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4012 masterFilename_ parameter in the include inset.
4014 * factory.C (createInset): changes due to the changes to InsetInclude.
4016 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4018 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4020 2003-09-18 Angus Leeming <leeming@lyx.org>
4023 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4024 Inset::fillWithBibKeys.
4025 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4027 2003-09-18 Angus Leeming <leeming@lyx.org>
4029 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4031 (ctor): pass and store a 'Buffer const &'
4032 (buffer): new member function.
4034 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4035 '*this' to the LaTeXFeatures ctor.
4037 2003-09-18 Angus Leeming <leeming@lyx.org>
4043 * text.C: rename EnumLColor as LColor_color.
4045 2003-09-18 Angus Leeming <leeming@lyx.org>
4047 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4048 remove #include "insets/insetbase.h" from cursor.h.
4050 2003-09-18 Angus Leeming <leeming@lyx.org>
4052 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4053 InsetOld_code to remove #include "inset.h".
4055 * iterators.C: add #include "insets/inset.h"
4057 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4059 * BufferView.C: remove more locking stuff that apparently doesn't
4060 do anything sensible.
4062 2003-09-16 André Pönitz <poenitz@gmx.net>
4065 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4068 2003-09-16 Angus Leeming <leeming@lyx.org>
4070 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4072 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4075 * paragraph.h: remove #include "lyxfont.h". Forward declare
4078 2003-09-16 Angus Leeming <leeming@lyx.org>
4080 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4081 of support/textutils.h.
4082 (isWord): move the contents of support/textutils.h's IsWordChar here.
4088 * text2.C: add #include "paragraph.h".
4091 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4093 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * LaTeX.C: use namespace alias for lyx::support::os
4101 2003-09-16 Angus Leeming <leeming@lyx.org>
4104 * bufferview_funcs.C:
4107 * paragraph_pimpl.C:
4109 * text.C: add #include "LColor.h".
4111 2003-09-16 Angus Leeming <leeming@lyx.org>
4113 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4114 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4116 Store the FontBits::color variable as an int rather than as an
4117 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4120 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4121 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4122 string calls together.
4124 * lyxrc.C: add #include "LColor.h".
4126 2003-09-15 Angus Leeming <leeming@lyx.org>
4128 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4131 2003-09-15 Angus Leeming <leeming@lyx.org>
4133 * LColor.h: add an EnumLColor wrapper for LColor::color.
4135 * lyxfont.[Ch] (color, setColor, realColor):
4136 * lyxtext.h, text.C (backgroundColor):
4137 pass EnumLColor args to/from the functions, rather than LColor::color
4141 * lyxtext.h: forward declare EnumLColor.
4143 * lyx_main.C: add #include "LColor.h".
4145 2003-09-15 Angus Leeming <leeming@lyx.org>
4147 * .cvsignore: add lyx-gtk.
4149 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4154 * ParagraphParameters.C
4158 * bufferview_funcs.C
4168 * vc-backend.C: remove usage of STRCONV
4170 2003-09-15 Angus Leeming <leeming@lyx.org>
4172 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4173 explicitly define the color passed to the painter.
4175 2003-09-15 Angus Leeming <leeming@lyx.org>
4177 * bufferparams.C (BufferParams): reorder member initializers to avoid
4180 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4182 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4183 * text.C (updateRowPositions): remove an unusual nop
4185 2003-09-12 André Pönitz <poenitz@gmx.net>
4187 * BufferView_pimpl.C:
4196 * Counters.[Ch]: finish the 'automatic counters' job
4198 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4200 * aspell.C: include <boost/assert.cpp> (compile fix)
4202 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4204 * boost.C (assertion_failed): use lyx::support::abort instead of
4207 2003-09-10 Angus Leeming <leeming@lyx.org>
4209 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4210 with their _fwd progeny.
4212 2003-09-09 Angus Leeming <leeming@lyx.org>
4214 134 files throughtout the source tree: replace 'using namespace abc;'
4215 directives with the appropriate 'using abc::xyz;' declarations.
4217 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4219 * boost.C (emergencyCleanup): moved here from LAssert.c
4220 (assertion_failed): new function, called by BOOST_ASSERT
4222 * several files: change Assert to BOOST_ASSERT
4224 2003-09-09 Angus Leeming <leeming@lyx.org>
4226 * buffer.[Ch]: Add an Impl class and move Buffer's member
4227 variables into it. As a result move several header files out of
4230 Add header files to lots of .C files all over the tree as a result.
4232 2003-09-09 Angus Leeming <leeming@lyx.org>
4234 * buffer.[Ch]: make Buffer's member variables private. Add
4237 Lots of changes all over the tree as a result.
4239 2003-09-08 Angus Leeming <leeming@lyx.org>
4241 * graph.C: #include <config.h>.
4243 2003-09-08 Angus Leeming <leeming@lyx.org>
4247 * BufferView_pimpl.C:
4276 * toc.C: remove redundant using directives.
4278 2003-09-07 Angus Leeming <leeming@lyx.org>
4280 * LaTeXFeatures.h: remove #include "support/types.h".
4281 * ToolbarBackend.h: remove #include <algorithm>.
4282 * changes.h: remove #include <ctime>.
4283 * debug.h: remove #include <iosfwd>.
4284 * graph.h: remove #include "support/std_string.h".
4285 * lyx_main.h: remove #include <csignal>.
4286 * lyxlex_pimpl.h: remove #include <fstream>.
4287 * sgml.h: remove #include <algorithm>, <utility>.
4288 * toc.h: remove #include "support/std_ostream.h".
4289 Add #include <iosfwd>.
4291 2003-09-07 Angus Leeming <leeming@lyx.org>
4293 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4295 * converter.h: forward declare LatexRunParams.
4296 * encoding.h: remove #include "lyxrc.h".
4297 * lyxtext.h: remove #include "LColor.h".
4298 * lyxtextclass.h: remove #include "support/types.h".
4299 * trans.h: remove #include "tex-accent.h".
4300 * trans_mgr.h: remove #include "tex-accent.h".
4301 * insets/inset.h: remove #include "support/types.h", <vector>.
4302 * insets/insetcollapsable.h: remove #include "LColor.h".
4303 * insets/insetinclude.h: remove #include "dimension.h".
4304 * insets/insetlatexaccent.h: remove #include "dimension.h".
4305 * insets/insetoptarg.h:: remove #include "insettext.h".
4306 * insets/insettext.h: remove #include "dimension.h",
4307 <boost/shared_ptr.hpp>
4309 * insets/renderers.h: add #include "dimension.h".
4310 * insets/updatableinset.h: add #include "support/types.h".
4312 * many .C files: Associated changes.
4314 2003-09-06 Angus Leeming <leeming@lyx.org>
4316 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4317 one, inside testInvariant.
4319 * PrinterParams.C: new file.
4320 * PrinterParams.[Ch]: move the function bodies out of line.
4322 2003-09-06 Angus Leeming <leeming@lyx.org>
4324 * ParagraphParameters.h: forward declare ParameterStruct rather than
4325 including its header file.
4326 (depth): moved out-of-line.
4328 2003-09-06 Angus Leeming <leeming@lyx.org>
4330 * BufferView_pimpl.h:
4333 * lyxfunc.h: forward declare LyXKeySym rather than
4334 #include "frontends/LyXKeySym.h".
4336 * BufferView_pimpl.C:
4339 * lyxfunc.C: associated changes.
4341 2003-09-06 Angus Leeming <leeming@lyx.org>
4343 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4344 As a result, can remove the #include "insets/inset.h" from BufferView.h
4346 2003-09-06 Angus Leeming <leeming@lyx.org>
4348 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4349 As a result, can remove the #include "insets/inset.h" from BufferView.h
4351 2003-09-06 Angus Leeming <leeming@lyx.org>
4357 * bufferview_funcs.C:
4358 * BufferView_pimpl.C:
4363 * ParagraphParameters.C:
4368 * frontends/controllers/ControlDocument.C:
4369 * insets/insetcaption.C: rearrange the #includes into some sort of
4372 * buffer.h: remove #includes ErrorList.h, undo.h
4374 2003-09-06 Angus Leeming <leeming@lyx.org>
4376 * support/types.h: add a 'depth_type' typedef, used to store the
4377 nesting depth of a paragraph.
4380 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4381 defining explicitly.
4384 * paragraph_funcs.h:
4385 * ParagraphParameters.h:
4386 * sgml.h: use lyx::depth_type rather than Paragraph or
4387 ParameterStruct's depth_type.
4390 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4393 * BufferView_pimpl.C:
4395 * ParagraphParameters.C:
4398 * bufferview_funcs.C:
4405 * frontends/LyXView.C:
4406 * frontends/controllers/ControlDocument.C:
4407 * frontends/controllers/ControlErrorList.C:
4408 * insets/insetbibitem.C:
4409 * insets/insetbranch.C:
4410 * insets/insetcaption.C:
4411 * insets/insetcollapsable.C:
4412 * insets/insetenv.C:
4413 * insets/insetert.C:
4414 * insets/insetfloat.C:
4415 * insets/insetfoot.C:
4416 * insets/insetfootlike.C:
4417 * insets/insetnewline.C:
4418 * insets/insetquotes.C:
4419 * insets/insettabular.C:
4420 * insets/insettext.C:
4421 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4423 * frontends/controllers/ControlChanges.C: #include "changes.h".
4425 2003-09-06 Angus Leeming <leeming@lyx.org>
4427 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4428 than #including paragraph.h.
4431 * RowList.h: deleted. Superfluous.
4441 * insets/insettext.h: use ParagraphList_fwd.h rather than
4444 * paragraph.h: don't forward declare ParagraphList.
4447 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4448 rather than ParagraphList.h. paragraph.h is still needed for the
4449 Paragraph::depth_type parameters.
4451 * textcursor.h: enable it to compile stand-alone in light of the
4454 * bufferview_funcs.C:
4466 * frontends/controllers/ControlParagraph.C:
4467 * frontends/controllers/ControlTabular.C:
4468 * insets/insetmarginal.C:
4469 * insets/insetminipage.C:
4470 * insets/insetnote.C:
4471 * insets/insetoptarg.C: add header files needed to compile again.
4473 2003-09-06 Angus Leeming <leeming@lyx.org>
4475 * RowList_fwd.h: new file, forward-declaring Row rather than
4476 #including lyxrow.h.
4481 * insets/insettext.h: use it instead of RowList.h
4483 * bufferview_funcs.C:
4490 * text3.C: #include "RowList.h".
4492 2003-09-05 Angus Leeming <leeming@lyx.org>
4494 * factory.C (createInset):
4495 * vspace.C (c-tor): replace sscanf call with an istringstream.
4496 * ispell.C: re-add missing HP/UX headers.
4497 * lyxserver.C: re-add missing os2 headers.
4499 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4508 * text3.C: re-add missing system headers, needed for 2.95.2.
4510 2003-09-05 Angus Leeming <leeming@lyx.org>
4512 Changes most place everywhere due to the removal of using directives
4513 from support/std_sstream.h.
4515 2003-09-05 Angus Leeming <leeming@lyx.org>
4517 Replace LString.h with support/std_string.h,
4518 Lsstream.h with support/std_sstream.h,
4519 support/LIstream.h with support/std_istream.h,
4520 support/LOstream.h with support/std_ostream.h.
4522 Changes resulting throughout the tree.
4524 2003-09-05 Angus Leeming <leeming@lyx.org>
4526 * sgml.h: ensure that the header file can be compiled stand-alone.
4527 * *.C: strip out redundant #includes. (320 in total.)
4529 2003-09-04 Angus Leeming <leeming@lyx.org>
4531 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4532 here (from getPackages).
4534 * debug.[Ch]: add a new EXTERNAL tag.
4536 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4538 * text2.C (cursorEnd): simplify
4540 (getColumnNearX): adjust
4542 * text.C (computeBidiTables): adjust
4545 * rowpainter.C (paintChars): adjust
4546 (paintSelection): adjust
4547 (paintChangeBar): adjust
4550 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4552 (numberOfSeparators): adjust
4554 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4560 * text3.C: Restricts the mouse click functionality
4561 of insets like bibtex, include, toc and floatlist to the visible
4562 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4563 up the dialogs. Cursor has to be in front of the inset (i.e.
4564 start of row) for this to function.
4566 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4568 * bufferview_funcs.C (currentState): output row information
4570 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4572 * bufferview_funcs.C (currentState): output paragraph position
4574 2003-09-04 Angus Leeming <leeming@lyx.org>
4576 * FloatList.h: move out #include "Floating.h".
4577 * LaTeX.h: move out #include "DepTable.h".
4578 * LyXAction.h: move out #include "funcrequest.h".
4579 * buffer.h: move out #include "author.h", "iterators.h".
4580 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4581 * lyx_main.h: move out #include "errorlist.h".
4582 * lyxfunc.h: move out #include "FuncStatus.h".
4583 * lyxtext: move out #include "lyxcursor.h".
4584 * paragraph_pimpl.h: move out #include "counters.h".
4586 2003-09-03 Angus Leeming <leeming@lyx.org>
4588 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4589 preamble_snippets list, enabling us to add snippets to the preamble
4590 only if the snippet was not there already.
4592 2003-09-04 Angus Leeming <leeming@lyx.org>
4594 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4596 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4601 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4603 * BranchList.C: point fix, earlier forgotten
4605 2003-09-02 Angus Leeming <leeming@lyx.org>
4607 * box.C (contains): renamed from 'contained' after a fantastic
4610 2003-09-02 John Levon <levon@movementarian.org>
4616 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4618 2003-09-02 John Levon <levon@movementarian.org>
4620 * text2.C: simplification of cursorEnd(), including partial
4623 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4625 * buffer.C (readFile): add a space
4627 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4629 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4631 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4633 * buffer.C (readFile): new function, take a filename and a
4634 ParagraphList::iterator
4636 (readFile): adjust, make it private. don't use setStream, make
4637 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4638 always contain the filename.
4640 * BufferView.C (insertLyXFile): simplify and make it work for
4643 2003-08-30 John Levon <levon@movementarian.org>
4645 * Makefile.am: fix dist (from Kayvan)
4647 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * most files: change to use const Buffer refs
4651 2003-08-27 André Pönitz <poenitz@gmx.net>
4653 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4654 on top of ownerPar().
4656 2003-08-27 John Levon <levon@movementarian.org>
4658 * funcrequest.C: properly initialise POD members
4660 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4662 * lyxtext.h (top_y): move top_y from here
4667 * BufferView_pimpl.[Ch]: to here
4668 * frontends/screen.C:
4669 * insets/insettabular.C:
4670 * insets/insettext.C: adjust
4671 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4673 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4676 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4678 2003-08-26 André Pönitz <poenitz@gmx.net>
4680 * paragraph_func.[Ch] (outerPar): new function
4683 * paragraph_funcs.C:
4684 * paragraph_funcs.h:
4685 * paragraph_pimpl.C:
4686 * text2.C: remove Inset::par_owner
4688 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4693 * text2.C: eliminates the needFullRow/display() stuff
4694 altogether, putting the logic in metrics/draw in the insets.
4696 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4698 * text2.C (redoParagraphInternal, redoParagraphs):
4699 * text.C (redoParagraph): add a call to updateRowPositions at the
4700 end of each 'metrics-like' call. Remove all others.
4701 (getRow): remove the 'y-computing' version.
4702 (getRowNearY): do not compute nor return the real y. Solve the
4703 'y < 0' problem and simplify.
4705 2003-08-22 Angus Leeming <leeming@lyx.org>
4707 * *.[Ch]: clean-up of licence and author blurbs.
4708 Also move config.h out of a few .h files and into a few .C files.
4710 2003-08-22 André Pönitz <poenitz@gmx.net>
4712 * lyxrow.[Ch]: add x_ and *fill_ members
4717 * text2.C: adjust/remove prepareToPrint() calls
4719 2003-08-22 André Pönitz <poenitz@gmx.net>
4721 * lyxrow.[Ch]: add end_ member
4723 * lyxrow_funcs.C: use LyXRow::end_
4725 * lyxtext.h (singleWidth): add LyXFont parameter
4728 * text2.C: adjust LyXText::singleWidth() calls
4730 * text.C (redoParagraph): simplify row breaking logic
4733 2003-08-19 André Pönitz <poenitz@gmx.net>
4735 * funcrequest.C: initialize button_ member
4738 * rowpainter.[Ch]: interface consolidation
4740 2003-08-18 André Pönitz <poenitz@gmx.net>
4743 * BufferView_pimpl.C:
4745 * paragraph_funcs.C:
4747 * text3.C: remove LyXScreen::draw() and fitCursor calls
4749 * BranchList.h: remove spurious semicolons
4751 * MenuBackend.C: fix branchlist related crash
4753 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4761 * bufferparams.[Ch]:
4765 * text3.C: implements the 'branch inset'
4766 idea. This allows the output of various versions of a document
4767 from a single source version, selectively outputing or suppressing
4768 output of parts of the text.
4769 This implementation contains a 'branch list editor' in a separate
4770 tab of the document settings dialog. Branches are user definable
4771 and have a "display colour" to distinguish them on-screen.
4773 ColorHandler was somewhat cleaned up.
4774 (1) make possible a dynamically growing LColor list by allowing
4775 the graphic context cache to grow along (vector);
4776 (2) eliminate an IMHO unnecessary step in colour allocation.
4778 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4780 * BufferView_pimpl.C: compile fix
4782 2003-08-15 André Pönitz <poenitz@gmx.net>
4784 * rowpainter.C: remove extra metrics calls
4786 * lyxtext.h: merge the two constructors into a single one,
4787 pass reference to owner's par list
4789 * BufferView_pimpl.C:
4793 2003-08-15 André Pönitz <poenitz@gmx.net>
4795 * lyxrow_funcs.[Ch]:
4798 * paragraph_funcs.C:
4803 * text_funcs.C: split LyXText::rowlist_ into individual
4804 Paragraph::rows_ chunks
4807 * BufferView_pimpl.[Ch]:
4810 * text3.C: remove toggleSelection()
4812 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4814 * bufferlist.C: beautify two alerts (shorter text of buttons)
4815 * buffer.C: Remove redundant ' ' from message
4817 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4818 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4819 rename VALIGN_CENTER to VALIGN_MIDDLE
4821 2003-08-11 André Pönitz <poenitz@gmx.net>
4823 * lyxtext.h (getPar):
4824 * text.C: new function
4826 2003-08-11 André Pönitz <poenitz@gmx.net>
4829 * tracer.[Ch]: remove unneeded files
4831 * InsetList.[Ch]: remove resizeInsetsLyXText()
4836 * text3.C: merge insertParagraphs() and appendParagraph()
4837 remove breakAgain(), update()
4839 * BufferView_pimpl.[Ch]:
4840 * bufferview_funcs.[Ch]:
4844 * tabular.C: adjust after text & InsetList changes.
4846 2003-08-08 André Pönitz <poenitz@gmx.net>
4848 * text.C (insertChar, backspace): replace rowlist fiddling
4849 with rebreak of full par
4852 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4853 checkParagraph, updateInset): removed
4855 2003-08-07 André Pönitz <poenitz@gmx.net>
4858 * text3.C: merge some LFUN handlers, remove dead code
4860 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4862 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4864 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4866 * text2.C (DEPM): fix part of bug 1255 and 1256
4868 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4870 * BufferView_pimpl.C (workAreaDispatch): change to use
4871 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4872 that are no mouse related.
4874 2003-08-05 André Pönitz <poenitz@gmx.net>
4877 * BufferView_pimpl.[Ch]:
4878 * bufferview_funcs.C:
4880 * text3.C: rip out "deep update"
4882 * textcursor.[Ch] (last_sel_cursor): remove unused member
4884 2003-08-04 André Pönitz <poenitz@gmx.net>
4887 * BufferView_pimpl.[Ch]:
4888 * ParagraphParameters.C:
4889 * bufferview_funcs.C:
4895 * text3.C: replace "complicated" BufferView::update(...) calls with
4898 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4900 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4902 * Makefile.am (lyx_SOURCES): add paper.h
4904 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4906 * Makefile.am: move things around so that both lyx-qt and
4907 lyx-xforms can be built (according to --with-frontend). Then lyx
4908 is a symbolic link to lyx-[firstfrontend]
4910 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4912 * Always use std::endl with lyxerr
4914 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4916 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4918 2003-08-01 André Pönitz <poenitz@gmx.net>
4921 * BufferView_pimpl.[Ch]:
4923 * text3.C: merge BufferView::repaint() and BufferView::update()
4925 2003-08-01 José Matos <jamatos@lyx.org>
4927 * buffer.[Ch]: file_format is no longer a buffer data element.
4929 2003-08-01 André Pönitz <poenitz@gmx.net>
4934 * text2.C: make redoParagraph more independent of current cursor
4936 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4938 * text2.C: remove unneeded members
4940 2003-07-30 André Pönitz <poenitz@gmx.net>
4942 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4944 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4945 create a single function...
4947 * paragraph_funcs.C (moveItem): ... here.
4950 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4952 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4954 * LColor.[Ch]: Add comment and greyedout logical colors.
4956 2003-07-30 André Pönitz <poenitz@gmx.net>
4958 * tabular.C: don't use Assert too heavily. This crashes where it
4961 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4963 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4964 is disabled (bug 1232)
4966 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4968 * factory.C: limited 'arg' scope
4970 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4972 * factory.C: fixed Note submenu issues
4974 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4976 * factory.C: submenu for Note/Comment/Greyedout
4978 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4981 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4983 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4986 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4987 greyedout. Patch provided by Jürgen Spitzmüller.
4989 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4991 * kbmap.C (read): fix error message when reading bind files
4993 2003-07-29 Angus Leeming <leeming@lyx.org>
4995 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4996 certainly does not do what it purports to do. I am doing it, and
4997 us, a favour by killing it.
4999 2003-07-28 José Matos <jamatos@lyx.org>
5001 * buffer.C (readBody, do_writeFile):
5002 * paragraph.C(readParagraph): \end_document replaces \the_end.
5004 2003-07-29 André Pönitz <poenitz@gmx.net>
5007 * BufferView_pimpl.[Ch]:
5011 * textcursor.[Ch]: remove toggleToggle & Co
5013 2003-07-28 José Matos <jamatos@fep.up.pt>
5015 * buffer.C (readParagraph):
5016 * params_func (readParToken, readParagraph):
5017 * paragraph.C (write): \layout -> \begin_layout.
5019 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5021 * lyxlex_pimpl.C (setFile): clean up slightly.
5023 * bufferparams.h: add compressed var
5025 * buffer_funcs.C (readFile): adjust for LyXLex change
5026 (newFile): ditto + simplify
5028 * buffer.C (writeFile): handle writing of compressed files
5030 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5031 Check if the file is compressed and set a bufferparm if so.
5033 * Makefile.am (lyx_LDADD): remove explicit -lz
5035 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5037 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5038 makeDocBookFile): put the real LyX version in the first line of
5042 * version.C.in: remove lyx_docversion
5044 * tabular.C (write_attribute): add a template-based version to
5045 write enums properly
5047 2003-07-28 André Pönitz <poenitz@gmx.net>
5052 * text3.C: use doubles again for x-coordinates. They are needed.
5054 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5056 * messages.C (getLocaleDir): use lyx_localedir()
5058 * lyxlex_pimpl.C (setFile): compress stuff
5060 * buffer.C (writeFile): add some compression stuff
5061 (do_writeFile): new func, dont call expliti close... will this
5064 * Makefile.am (lyx_LDADD): add -lz
5066 2003-07-28 José Matos <jamatos@fep.up.pt>
5068 * buffer.C: increment file format.
5069 * paragraph_funcs (readParagraph, readParToken):
5070 * paragraph.C (readParagraph): add \end_layout.
5072 2003-07-27 Angus Leeming <leeming@lyx.org>
5074 * Makefile.am: remove special casing for configure-time setting of
5075 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5077 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5078 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5080 2003-07-26 André Pönitz <poenitz@gmx.net>
5082 * paragraph_func.[Ch]:
5083 * paragraph.C (realizeFont): inline it whereever it is used
5088 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5091 2003-07-26 André Pönitz <poenitz@gmx.net>
5095 * text2.C: get rid of LyXText::need_break_row
5097 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5099 * toc.[Ch]: put namespace toc inside namespace lyx
5101 * MenuBackend.C (expandToc2): adjust for lyx::toc
5104 * lyxfunc.C (dispatch): adjust for lyx::find
5106 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5107 lyx::find instead. Reorganize a bit.
5108 (LyXReplace): rename to replace
5109 (LyXFind): rename to find
5111 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5114 2003-07-26 André Pönitz <poenitz@gmx.net>
5116 * text.C (setHeightOfRow): restrict scope of temporary variable
5118 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5119 code (never has been used?)
5121 2003-07-27 Asger Alstrup <alstrup@local>
5123 * text.C (fill): Optimise algorithm to exploit that we can reuse
5124 the LyXFont for many characters.
5125 (setHeightOfRow): Same thing.
5126 (rowBreakPoint): Same thing.
5128 2003-07-26 Asger Alstrup <alstrup@local>
5130 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5132 * text.C (singleWidth): Spurious font copying in hot-spot
5133 singleWidth avoided. Reorder tests for arabic for efficiency.
5135 * text.C (fill): handle empty paragraphs better.
5137 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5140 * encoding.h: add includes
5142 * lyxrc.C: remove reading of bind files
5144 * lyx_main.C (init): setup bindings and menus only if we have a
5147 * kbmap.C (read): new method. Do the actual reading of bind
5150 * converter.C (dvipdfm_options):
5153 (output): adapt PAPER_* enums.
5155 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5157 * bufferparams.h: remove paper-related enums from there
5159 * paper.h: New file. A trivial header file to hold paper-related
5160 enums. It should later expand to contain many paper-related
5163 * lyxrc.C: declare extern displayTranslator
5165 2003-07-27 José Matos <jamatos@fep.up.pt>
5167 * tabular.[Ch] (linuxdoc): add support for tables and figures
5170 2003-07-27 José Matos <jamatos@fep.up.pt>
5172 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5173 consistency in both functions.
5174 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5176 2003-07-26 Asger Alstrup <alstrup@local>
5178 * rowpainter.C (paintRows): Change algorithm to work directly on
5179 the insets rather than asking every character in the document
5180 whether its an inset.
5182 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5184 * buffer.C (openFileWrite): factorize some code
5186 2003-07-26 Angus Leeming <leeming@lyx.org>
5189 * lyx_main.[Ch]: replace occurances of system_tempdir with
5192 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * rename Inset to InsetOld
5196 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5198 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5199 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5200 which I think is a bit clearer. EDIT is gone, since it was
5201 premature optimisation, and broken for mathed anyway.
5202 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5203 with cursor positioning in insets as well (math insets still do not
5204 work, but that's a different story anyway.) It mysteriously
5205 crashes sometimes with undo in the first paragraph, but I'm fairly
5206 confident that this is a compiler bug.
5208 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5210 * paragraph.C (Paragraph): adjust for new clone return type
5212 (copyIntoMinibuffer): ditto
5214 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5216 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5217 by not having a special case, and always doing a full rebreak of
5218 the document after undo.
5220 2003-07-23 Angus Leeming <leeming@lyx.org>
5222 * factory.C (createInset): InsetExternal::setParams now takes a
5225 2003-07-23 Angus Leeming <leeming@lyx.org>
5227 * factory.C (createInset): changed interface to the external and
5228 graphics mailers' string2params functions.
5230 2003-07-23 Angus Leeming <leeming@lyx.org>
5232 * factory.C (createInset): pass a
5233 Buffer const * parameter to InsetExternalMailer's string2params.
5235 2003-07-22 John Levon <levon@movementarian.org>
5237 * Thesaurus.h: include the right aiksaurus header
5239 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5241 * MenuBackend.C (expand): check menu shortcuts unconditionally
5243 2003-07-21 Angus Leeming <leeming@lyx.org>
5245 * factory.C (createInset): pass a
5246 buffer_path parameter to InsetGraphicsMailer's string2params.
5248 2003-07-21 Angus Leeming <leeming@lyx.org>
5250 * BufferView_pimpl.C (buffer):
5253 * lyxfunc.C (dispatch):
5254 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5255 rather than the grfx shortcut.
5257 2003-07-21 André Pönitz <poenitz@gmx.net>
5259 * rowpainter.C: remove unused variables
5262 * tabular_funcs.h: move to tabular.C
5263 * Makefile.am: adjust
5265 * tabular.[Ch]: basic optical cleaning
5267 * author.h: pass references, not values
5269 2003-07-18 André Pönitz <poenitz@gmx.net>
5277 * text3.C: two-phase drawing for InsetText and InsetTabular
5278 some float -> int changes.
5280 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5282 * lyx_main.C: fix the fix
5284 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5286 * lyx_main.C: fix a crash in batch mode if no files specified
5289 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5291 * format.[Ch] (papersize): moved to BufferParams
5292 * converter.[Ch] (dvips_options): moved to BufferParams
5293 (dvipdfm_options): moved to anon namespace
5294 * bufferparams.[Ch]: added above functions.
5296 2003-07-17 André Pönitz <poenitz@gmx.net>
5300 * text2.C: don't call inset->update() anymore
5302 * metricsinfo.[Ch]: add convenience constructor
5304 2003-07-16 André Pönitz <poenitz@gmx.net>
5309 * text2.C: replace the LyXCursor::irow_ member with
5310 on-demand computation of the value
5312 2003-07-16 John Levon <levon@movementarian.org>
5314 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5316 2003-07-15 André Pönitz <poenitz@gmx.net>
5319 * text2.C: remove no more needed refresh_row
5321 2003-07-15 André Pönitz <poenitz@gmx.net>
5326 * text3.C: refresh_status tristate -> need_update bool
5328 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5330 * lyxtext.h (init): remove reinit argument (act as if always true)
5331 * text2.C: adjust to that
5333 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5335 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5336 * text3.C: use it to delete selections in some cases
5337 (bugs 441, 673, 702, 954).
5339 2003-07-14 André Pönitz <poenitz@gmx.net>
5341 * rowpainter.[Ch]: reduce interface
5343 2003-07-14 André Pönitz <poenitz@gmx.net>
5345 * BufferView_pimpl.C:
5346 * text2.C: adjust after removing unused BufferView * argument
5348 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5350 * text2.C (init): fix a crash fired on resize
5352 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5354 * buffer.[Ch]: added new closing signal
5355 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5356 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5357 BufferView::Pimpl via the closing the signal
5359 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5361 * buffer.[Ch]: take out all bv-related from buffer
5363 * BufferView_pimpl.[Ch]: connect to new signals
5364 * CutAndPaste.C: removed useless asserts
5365 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5368 * lyxfunc.C: moved view-related funciontality from vc here
5369 * paragraph.C: removed outdated comments
5372 2003-07-10 André Pönitz <poenitz@gmx.net>
5374 * BufferView_pimpl.C:
5378 * text2.C: remove InsetText::InnerCache, clean up consequences
5380 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5382 * ispell.C: fix two typos in error messages
5384 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5386 * Extend Note inset to other forms of annotation like Comment
5387 and Greyedout. Right button click gives dialog.
5389 Files modified or added (+):
5393 * ControlNote.[Ch] +
5395 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5396 frontends/controllers
5400 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5402 * aspell.C: add missing namespace lyx::support
5404 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5406 * BufferView.[Ch] (newFile): Add
5407 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5408 * LaTeX.[Ch] (message): added this signal and use it
5409 * buffer.[Ch] (busy, message): added these signals and use them
5410 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5414 * importer.C: use buffer signals instead of direct bv calling
5415 * lyx_cb.[Ch] (ShowMessage): removed
5418 * paragraph_funcs.C:
5419 * text2.C: use buffer signals
5421 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * introduce namespace lyx::graphics
5425 2003-07-02 André Pönitz <poenitz@gmx.net>
5427 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5429 2003-07-01 André Pönitz <poenitz@gmx.net>
5436 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5437 text*.C to text_func.C
5439 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5441 * introduce namespace lyx::support
5443 2003-06-30 André Pönitz <poenitz@gmx.net>
5448 * text.C: re-enable --with-included-string
5450 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5452 * textcursor.C: add <config.h>
5454 * text.C (getWord): remove const from word_location arg
5456 * lyxvc.C (getLogFile): fix const type order
5458 * lyxtext.h: remove const from word_location arg, add arg name
5460 * lyxlayout.h: currect type on labeltype.
5462 * importer.C: correct \file
5464 * converter.C (intToFormat): use std:: on ret val, ws changes
5466 * bufferlist.h: correct \file
5468 * buffer.C (makeLinuxDocFile): fix const type order
5469 (makeDocBookFile): ditto
5470 (fillWithBibKeys): use std:: on stdlib args.
5472 * CutAndPaste.C: fix authors.
5473 (availableSelections): use std:: on return vector
5475 2003-06-27 André Pönitz <poenitz@gmx.net>
5477 * BufferView_pimpl.C:
5478 * bufferview_funcs.C:
5486 * text3.C: remove LyXCursor::row_ member
5489 * text.C: rename fullRebreak() to partialRebreak() and implement
5490 a fullRebreak() that really bereks fully
5492 * textcursor.h: new struct for cursor-related data
5494 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5496 * lyx_main.C (LyX): get full path of document loaded on the
5499 2003-06-26 André Pönitz <poenitz@gmx.net>
5501 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5502 remove unused/broken operator>,<,>=.
5504 * text.C: remove only use of broken operator<= in an Assert().
5506 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5508 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5509 moved errorlist_.clear to showErrorList
5511 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5513 * converter.C (scanLog, runLaTeX):
5514 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5515 move the bv->showErrorList call to the callers
5516 * lyxfunc.C: i.e. here...
5518 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5519 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5520 namespace, the second to...
5521 * buffer_funcs (BufferFormat, parseErrors): added
5522 * errorlist.C (ErrorList(TeXErrors const &)): removed
5524 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5526 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5528 2003-06-24 "Garst R. Reese" <reese@isn.net>
5532 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5534 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5536 * version.C.in: change docversion to 1.4
5538 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5540 * buffer.C: fix a bug just introduced
5542 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5544 * buffer.[Ch]: added the parseError signal and use it, removed
5546 * BufferView.[Ch] (addError): moved to ...
5547 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5548 to the Buffer::parseError signal to catch (guess what) parse errors
5549 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5551 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5553 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5554 ability to create a buffer and to return an existing one from
5555 the list. Moved these functions to...
5556 * buffer_funcs.[Ch]: added
5557 * BufferView.[Ch] (loadLyXFile): added
5558 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5559 job removed from bufferlist::loadLyXFile.
5560 * buffer.C (setReadOnly): make it work without view
5561 (i.e added an if (users))
5563 2003-06-19 Angus Leeming <leeming@lyx.org>
5566 * LyXAction.C (init):
5567 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5568 with LFUN_DIALOG_SHOW <name> <data>.
5570 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5572 * CutAndPaste.C (availableSelections): small compilation fix for
5573 ancient (gcc 2.9x) compilers
5575 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5577 * text3.C (cursorNext): add tmp var
5579 * text2.C (updateCounters): for function calling out of for clause
5580 (replaceSelectionWithString): ditto
5581 (insertStringAsParagraphs): ditto
5582 (getColumnNearX): add tmp var
5583 (setCursorFromCoordinates): add tmp var
5584 (cursorDownParagraph): add tmp var
5585 (deleteEmptyParagraphMechanism): add tmp var
5587 * text.C (insertChar): add tmp var
5589 * rowpainter.C (paintDepthBar): add tmp var
5591 * CutAndPaste.C (availableSelections): potentially check all
5592 paragraphs in a cut to fill the shown strings.
5594 2003-06-18 André Pönitz <poenitz@gmx.net>
5596 * kbmap.[Ch]: use vector<> instead of list<>
5598 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5600 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5601 pasteSelection with index
5603 * text2.C (pasteSelection): modify, call pasteSelection with index
5605 * paragraph.C (asString): reimplement version with no interval to
5606 call the one with interval.
5608 * lyxtext.h: add index arg to pasteSelection
5610 * MenuBackend.C (MenuItem): handle PasteRecent
5611 (Menu::read::Menutags): add md_pasterecent
5613 (expandPasteRecent): new function
5616 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5618 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5620 (availableSelections): new function
5622 2003-06-17 Angus Leeming <leeming@lyx.org>
5624 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5626 2003-06-17 Angus Leeming <leeming@lyx.org>
5629 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5631 * lyxfunc.C (dispatch): invoke it.
5633 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5635 * iterators.C (operator++, ParPosition): reintroduce some
5636 const_cast for the benefit of older compilers.
5638 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5640 * text3.C (dispatch): do not modify clipboard when doing
5641 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5642 LFUN_DELETE_SKIP on a selection selection
5644 2003-06-16 André Pönitz <poenitz@gmx.net>
5650 * tabular.[Ch]: IU of clone() and getLabelList();
5652 2003-06-13 André Pönitz <poenitz@gmx.net>
5654 * tabular.h: compactification
5656 2003-06-12 André Pönitz <poenitz@gmx.net>
5660 * tabular_funcs.h: some renaming plus whitespace
5662 2003-06-12 André Pönitz <poenitz@gmx.net>
5665 * BufferView_pimpl.C:
5671 * toc.C: Return a Paragraph & for ParIterator::operator*()
5673 2003-06-11 John Levon <levon@movementarian.org>
5677 * ToolbarBackend.C: add "Toolbars" section and
5680 2003-06-10 Angus Leeming <leeming@lyx.org>
5683 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5685 * lyxfunc.C (dispatch): invoke it.
5687 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5689 * main.C: protect <ios> with HAVE_IOS
5690 (main): protect sync_with_stdio with HAVE_IOS
5692 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5694 * text2.C (cutSelection): adjust
5695 (pasteSelection): adjust
5697 * messages.C: handle get of empty string
5699 * main.C (main): use sync_with_stdio(false)
5701 * lyxfunc.C (dispatch): adjust
5703 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5704 (WriteAs): remove unneeded BufferView arg.
5706 * bufferparams.h: use correct types on papersize, papersize2 and
5709 * bufferparams.C (readToken): adjust for type
5710 (writeLaTeX): add missing cases to switch.
5712 * bufferlist.C (quitWriteBuffer): adjust
5715 * buffer.C (asciiParagraph): remove some commented code.
5717 * CutAndPaste.C: remove current_view extern variable.
5718 (cutSelection): add BufferParams arg.
5719 (eraseSelection): add BufferParams arg.
5720 (pasteSelection): add Buffer const & arg
5722 2003-06-07 John Levon <levon@movementarian.org>
5725 * paragraph_funcs.C:
5726 * paragraph_pimpl.C:
5730 * paragraph.C: allow InsetERT to freely space lines,
5731 and some consolidation of code
5733 2003-06-06 José Matos <jamatos@fep.up.pt>
5735 * buffer.C (makeDocBookFile): fix bug #821
5737 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5739 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5741 2003-06-04 Angus Leeming <leeming@lyx.org>
5743 * buffer.C: bump format to 224.
5745 2003-06-05 André Pönitz <poenitz@gmx.net>
5747 * text2.C (redoParagraphs): remove two const_cast<>
5749 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5751 * ParagraphList.h: remove last remnants of NO_STD_LIST
5753 2003-06-03 Angus Leeming <leeming@lyx.org>
5755 * factory.C (createInset): small change to the way InsetExternal's params
5758 2003-06-04 André Pönitz <poenitz@gmx.net>
5760 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5762 * paragraph_pimpl.h:
5763 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5765 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5767 * undo_funcs.C: make some simple cases of undo work again
5769 2003-06-03 John Levon <levon@movementarian.org>
5771 * ispell.C: HPUX doesn't have sys/select.h
5774 2003-06-03 John Levon <levon@movementarian.org>
5776 * CutAndPaste.C: update tabular and include inset
5781 * paragraph.C: remove owningBuffer(), don't pass Buffer
5784 * factory.C: insetGraphicsParams changed
5786 2003-06-02 John Levon <levon@movementarian.org>
5792 * text3.C: remove insetparent
5794 2003-06-02 John Levon <levon@movementarian.org>
5797 * buffer.C: fix inset_iterator.end(), move out of line
5800 2003-06-01 John Levon <levon@movementarian.org>
5802 * text3.C: use a proper cut/paste when doing inset
5803 insert (from Jürgen Spitzmüller)
5805 2003-06-01 John Levon <levon@movementarian.org>
5807 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5809 2003-05-30 André Pönitz <poenitz@gmx.net>
5811 * rowpainter.C: unify second drawing phase
5813 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * trans_mgr.C: remove one case of current_view
5817 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5819 * paragraph_funcs.h: remove paragraph.h include
5821 * paragraph.h: delete NO_STD_LIST stuff
5823 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5825 * buffer.h: remove paragraph.h include
5827 * ParagraphList.C: delete file
5829 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5831 * toc.C (getTocList): adjust
5833 * paragraph_pimpl.C (validate): adjust
5835 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5837 * paragraph.C (Paragraph): adjust
5838 (getPositionOfInset): use const_iterator, adjust
5839 (bibitem): use const_iterator, adjust
5840 (setInsetOwner): adjust
5842 * iterators.C (operator++): adjust
5844 * InsetList.[Ch]: Replace selfmade iterator with standard
5845 vector::iterator also introduce const_iterator. Remove getPos,
5846 getInset and setInset from InsetTable. Adjust accordingly.
5848 * BufferView.C (lockInset): adjust
5849 (ChangeInsets): adjust
5851 * tabular.[Ch]: delete commented same_id functions
5853 2003-05-28 John Levon <levon@movementarian.org>
5855 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5857 2003-05-28 André Pönitz <poenitz@gmx.net>
5859 * metricsinfo.[Ch]: remove 'fullredraw' member
5861 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5863 * lyxtextclass.C (operator): remove caching.
5865 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5869 * text2.C (cursorBottom): adjust
5870 (setCounter): use ParagraphList::find, adjust
5872 * text.C (workWidth): use ParagraphList::find, adjust
5874 * lyxcursor.C (LyXCursor): adjust
5876 * buffer.C (inset_iterator): adjust
5878 * ParagraphList.h: make iterator(value_type) private, make
5879 ParagraphList a friend of iterator.
5881 * ParagraphList.C (find): new function
5883 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5885 2003-05-27 André Pönitz <poenitz@gmx.net>
5887 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5889 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5891 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5893 2003-05-26 John Levon <levon@movementarian.org>
5895 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5897 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5899 * remove same_id from function signatures, adjust.
5901 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5905 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5907 * paragraph.C (Paragraph): get rid of same_ids parameter
5909 * ParagraphList.C (insert): adjust
5912 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * paragraph_funcs.C (breakParagraph): adjust
5915 (breakParagraphConservative): adjust
5917 * buffer.C (readParagraph): adjust
5919 * ParagraphList.C (insert): take a reference instead of a pointer
5922 * paragraph.[Ch] (id): new function
5924 * bufferlist.C (newFile): adjust
5926 * ParagraphList.C (ParagraphList): adjust
5928 (push_back): take a reference instead of a pointer.
5930 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5932 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5935 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5936 set else use old code.
5938 * ParagraphList.C: remove all NO_NEXT code and only compile this
5939 code of NO_STD_LIST is set.
5941 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5943 * BufferView_pimpl.C:
5953 * graphics/GraphicsConverter.C:
5954 * graphics/PreviewLoader.C: header adjustment
5956 2003-05-23 Angus Leeming <leeming@lyx.org>
5958 * LaTeXFeatures.[Ch] (useBabel): new method.
5959 * bufferparams.C (writeLaTeX): use it.
5961 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * ParagraphList.h (set): remove unused function.
5965 2003-05-23 André Pönitz <poenitz@gmx.net>
5968 * BufferView_pimpl.C:
5972 * undo_funcs.C: setUndo reworked
5974 * iterators.[Ch]: add access to topmost ParagraphList
5976 * lyxtext.[Ch] (workWidth): add a const
5978 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5980 * texrow.[Ch] (increasePos): remove function
5981 * exporter.C (export): removed unused var and outdated comment
5983 2003-05-23 Angus Leeming <leeming@lyx.org>
5985 * latexrunparams.h: rename fragile as moving_arg.
5986 * paragraph.C (simpleTeXOnePar): ditto.
5987 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5989 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5991 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5993 (textUndoOrRedo): comment out a currently unused var.
5995 * paragraph.h (NO_NEXT): enable NO_NEXT
5997 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5999 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6001 * exporter.C (Export): adjust for removeAutoInsets removal.
6003 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6005 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6007 * BufferView.[Ch] (removeAutoInsets): delete function
6009 2003-05-22 Angus Leeming <leeming@lyx.org>
6011 * latexrunparams.h: add a free_spacing variable.
6013 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6014 to pass moving_arg, as the data is stored in runparams.fragile.
6016 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6017 to Inset::latexOptional or to simpleTeXOnePar.
6019 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6020 free_spacing arg to Inset::latexOptional.
6022 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6025 2003-05-22 Angus Leeming <leeming@lyx.org>
6027 * latexrunparams.h: add fragile and use_babel variables.
6029 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6030 * buffer.C (makeLaTeXFile): store this returned value in
6031 runparams.use_babel, thus passing it to the inset::latex methods.
6033 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6034 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6036 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6037 longer has a fragile arg, as it is stored in runparams.fragile.
6039 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6040 moving_arg parameter as the data is stored in runparams.fragile.
6042 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6043 a fragile parameter as the data is stored in runparams.fragile.
6045 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6049 2003-05-22 Angus Leeming <leeming@lyx.org>
6051 * latexrunparams.h: add a 'bool nice' which defaults to false.
6053 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6054 now encapsulated within runparams.
6056 * bufferlist.C (updateIncludedTeXfiles):
6057 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6059 2003-05-22 Angus Leeming <leeming@lyx.org>
6061 * latexrunparams.h: new file containing struct LatexRunParams.
6062 * Makefile.am: add new file.
6064 * LaTeX.[Ch] (c-tor, run):
6065 * buffer.[Ch] (makeLaTeXFile):
6066 * bufferlist.[Ch] (updateIncludedTeXfiles):
6067 * converter.C (convert, scanLog):
6068 * converter.[Ch] (runLaTeX):
6069 * exporter.C (Export):
6070 * paragraph.[Ch] (simpleTeXOnePar):
6071 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6072 * paragraph_funcs.[Ch] (latexParagraphs):
6073 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6074 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6075 pass around a LatexRunParams parameter.
6077 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * paragraph.[Ch]: remove unused constructor
6081 * ParagraphList.C (erase): new function, taking two iterators
6083 2003-05-22 André Pönitz <poenitz@gmx.net>
6085 * undo_funcs.C: remove duplicated code
6087 * iterator.[Ch]: operator=
6089 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6091 * tabular.C (SetMultiColumn): ws changes
6093 * rowpainter.C (paintFirst): get rid of a ->previous
6095 * lyx_cb.C (getPossibleLabel): parlist simplification
6097 * BufferView.C (ChangeInsets): simplify slightly.
6099 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6101 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6102 * lfuns.h: new LFUN_SPACE
6103 * lyxfunc.C: protected space has a new lfun
6104 * paragraph_funcs.C: read new space insets
6106 * factory.C: handle new space insets
6108 2003-05-22 André Pönitz <poenitz@gmx.net>
6111 * BufferView_pimpl.C:
6114 * undo_funcs.C: return a ParIterator from getParFromID.
6116 * iterators.[Ch]: add two const's
6118 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * toc.C (getTocList): adjust
6122 * iterators.[Ch]: rework for parlist
6124 * buffer.C (par_iterator_begin): adjust
6125 (par_iterator_end): adjust
6127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6129 * BufferView.C (removeAutoInsets): adjust
6130 (ChangeInsets): adjust
6132 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6134 * text.C (top_y): fix bug 1110
6136 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6138 * errorlist.[Ch]: added
6141 * BufferView_pimpl.C:
6142 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6145 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6147 * Makefile.am: ensure that lyx is relinked upon changes to the
6148 various "convenience" libs.
6150 2003-05-20 Angus Leeming <leeming@lyx.org>
6152 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6153 files are compiled in alphabetical order again.
6155 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6157 2003-05-19 Angus Leeming <leeming@lyx.org>
6159 * gettext.[Ch]: remove "char const * _(char const *)".
6161 2003-05-19 André Pönitz <poenitz@gmx.net>
6163 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6172 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6174 2003-05-19 André Pönitz <poenitz@gmx.net>
6178 * lyxtextclass.[Ch]:
6180 * paragraph_funcs.[Ch]:
6182 * text3.C: more insetenv work
6184 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6186 * ParagraphParameters.C (params2string): small bug fixed
6188 2003-05-16 André Pönitz <poenitz@gmx.net>
6191 * bufferview_funcs.C: patch from Kornel Benko to prevent
6192 crash when _(...) is called twice in a statement
6194 2003-05-16 André Pönitz <poenitz@gmx.net>
6201 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6203 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6205 * lyx_main.C (init): remove spurious static_cast
6207 2003-05-14 André Pönitz <poenitz@gmx.net>
6209 * BufferView.C: fix format string
6211 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6213 * BufferView.[Ch] (insertErrors): removed
6214 * BufferView.[Ch] (showErrorList): added
6215 * buffer.C (runChkTeX):
6216 * converter.C (scanLog): call showErrorList instead of inserterrors
6218 2003-05-13 André Pönitz <poenitz@gmx.net>
6220 * BufferView_pimpl.C:
6222 * bufferview_func.C:
6229 * tabular_funcs.h: tostr() from its own header
6231 * ParagraphParameters.C:
6236 * text3.C: STRCONV()
6238 2003-05-12 André Pönitz <poenitz@gmx.net>
6241 * BufferView_pimpl.C:
6245 * ParagraphParameters.C:
6249 * bufferview_funcs.C:
6262 * paragraph_funcs.C:
6266 * text3.C: boost::format -> bformat all over the place
6269 2003-05-09 André Pönitz <poenitz@gmx.net>
6271 * LColor.[Ch]: Pimpl the #include <map> away
6273 2003-05-09 John Levon <levon@movementarian.org>
6275 * bufferlist.C: never remove emergency saves
6277 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6279 * Makefile.am: better lib building
6281 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6283 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6285 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6286 (simpleTeXSpecialChars): adjust
6287 (simpleTeXSpecialChars): adjust
6288 * paragraph.C (simpleTeXOnePar): adjust
6289 * buffer.C (makeLaTeXFile): adjust
6291 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6293 * text2.C (changeDepth): parlist cleanup
6294 (getColumnNearX): ditto
6296 * rowpainter.C (getLabelFont): parlist cleanup
6298 * bufferlist.C (newFile): parlist cleanup
6300 * CutAndPaste.C (eraseSelection): parlist cleanup
6302 * BufferView_pimpl.C (trackChanges): parlist cleanup
6305 * BufferView.C (lockInset): parlist cleanup.
6306 (ChangeInsets): ditto
6308 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * CutAndPaste.h: Update file header.
6312 * CutAndPaste.C: Update file header.
6313 Store the parts cut out of the Document in a limited_stack.
6314 (copySelection): adjust
6315 (pasteSelection): new function, takes the index in the limited stack.
6316 (nrOfParagraphs): adjust
6317 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6318 simplify error inset insertion.
6319 (checkPastePossible): adjust
6321 2003-05-06 John Levon <levon@movementarian.org>
6323 * text2.C: don't cast wrap inset to float
6325 2003-05-05 André Pönitz <poenitz@gmx.net>
6328 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6330 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6331 few naked Paragraph *.
6333 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6335 * bufferparams.C: Output warning if a document with missing
6336 TeX document class is loaded
6337 * exporter.C: Disable TeX exports if the document class is missing
6340 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6341 isTeXClassAvailable()
6343 2003-05-03 John Levon <levon@movementarian.org>
6346 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6347 explicit cursor show/hide
6349 * BufferView_pimpl.h:
6350 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6351 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6353 * lyxfunc.C: hide cursor before dispatching.
6358 * text3.C: remove explicit cursor hides
6360 2003-05-02 André Pönitz <poenitz@gmx.net>
6362 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6365 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6368 * text2.C: tiny whitespace
6370 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6372 * undo_funcs.C: almost only ws changes.
6374 * ParagraphList.C (splice): just return if pl is empty.
6376 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * ParagraphList.C (splice): new function.
6380 * CutAndPaste.C (pasteSelection): use it
6382 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6384 * CutAndPaste.C (pasteSelection): remove the last next and
6385 previous from this file.
6387 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * CutAndPaste.C (pasteSelection): more clean up, user proper
6390 ParagraphList functions for pasteing.
6392 * ParagraphList.C (insert): new function, three arg insert
6394 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6396 * ParagraphList.C (insert): new function, three arg insert
6398 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6401 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6405 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6409 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6412 (copySelection): clean up a bit.
6413 (pasteSelection): use make_pair
6415 * ParagraphList.C (ParagraphList): implement copy constructor
6416 (operator=): implement, base on copy constructor.
6419 * paragraph.C (erase): return a bool
6421 * paragraph_pimpl.C (erasePos): remove function, move contents...
6422 (erase): ... here. Return a bool.
6423 (erase): call erase instead of erasePos.
6425 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6427 * ParagraphList.h: define PitPosPair
6428 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6429 ParagraphList, fix a bug on pasting multiple pars
6430 * text2.C: change interface to C&P
6432 2003-04-30 André Pönitz <poenitz@gmx.net>
6434 * undo_func.C: revert part of yesterday's patch 2
6436 2003-04-30 John Levon <levon@movementarian.org>
6438 * LColor.C: s/tabular/table/
6440 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6442 * text3.C (dispatch): do not convert iterator -> pointer
6443 * undo_funcs.C (setCursorParUndo): ditto
6444 * text_funcs.C (transposeChars): ditto
6446 * text2.C (setLayout): ws changes only
6448 * text.C (breakParagraph): do not convert iterator -> pointer
6450 (acceptChange): ditto
6451 (rejectChange): ditto
6456 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6459 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6461 * text3.C (gotoInset): YABG (yet another bad getChar)
6463 2003-04-29 André Pönitz <poenitz@gmx.net>
6465 * paragraph.h: make operator= private unimplemented as long as
6468 * ParagraphList.C: whitespace
6471 * paragraph_pimpl.[Ch]:
6472 * paragraph_funcs.C:
6474 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6477 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6479 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6481 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6482 * paragraph.[Ch] (erase):
6483 * paragraph_pimpl.[Ch] (erase): change return type and value
6484 * text2.C (cutSelection): some rework
6486 2003-04-28 John Levon <levon@movementarian.org>
6488 * bufferlist.C: changes for unsaved changes dialog
6490 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6492 * bufferlist.C (newFile): set language (messages_) for new
6495 * buffer.C (readFile): ws changes only.
6497 2003-04-28 André Pönitz <poenitz@gmx.net>
6502 * BufferView_pimpl.C:
6503 * BufferView.C: getParFromID related ParagraphList::iterator changes
6505 2003-04-28 André Pönitz <poenitz@gmx.net>
6507 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6510 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * messages.C: remove one more localedir class variable.
6514 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * messages.C (getLocaleDir): singleton generation function
6518 (Messages): add a default constructor.
6520 * main.C (main): do not setup localedir here, do not call
6523 * gettext.C (_): use it.
6524 (gettext_init): delete funciton
6526 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * gettext.C (getLyXMessages): new singleton generating function.
6530 * buffer.C (updateDocLang): adjust
6532 * Makefile.am (messages.o): add target
6533 (main.o): remove target
6535 2003-04-27 John Levon <levon@movementarian.org>
6540 * lyxvc.C: specify cancel button in Alert::prompt
6542 2003-04-26 John Levon <levon@movementarian.org>
6547 * LyXAction.C: add LFUN_INSET_SETTINGS
6549 * lyxfunc.C: don't enable tabular-feature when there's
6550 just any locking inset
6552 2003-04-26 John Levon <levon@movementarian.org>
6554 * bufferlist.C: re-add Cancel to buffer close question
6556 * lyxfunc.C: fix import UI a bit
6558 2003-04-25 John Levon <levon@movementarian.org>
6560 * gettext.C: remove the broken asserts for now
6562 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6564 * messages.C: make case where setlocale cannot comply work better.
6566 * buffer.C (updateDocLang): new function
6567 (changeLanguage): use it
6570 * text2.C (setCounter): use B_ a bit.
6572 * lyxlayout.C (Read): be sure to trim the label strings.
6574 * messages.C (Messages): fix typo in comment
6576 * buffer.C (readFile): set message_ after file is loaded.
6577 (makeDocBookFile): remove double return
6578 (changeLanguage): reset message_ upon language change.
6579 (B_): new func, use this to get translated buffer strings.
6581 * main.C: add myself and Jean Marc as authors.
6583 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6585 * messages.[hC]: pimplify Messages, and three different pimpls to be
6586 used in different circumstances.
6588 * gettext.[Ch]: change for use with new message code.
6590 2003-04-24 André Pönitz <poenitz@gmx.net>
6592 * factory.C: support for eqref
6594 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * messages.[Ch]: add missing char
6598 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6600 * messages.[Ch]: New files
6602 2003-04-18 John Levon <levon@movementarian.org>
6606 * BufferView_pimpl.C:
6610 * text2.C: remove layout-copy/paste (bug 778)
6612 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6614 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6616 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6618 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6619 if they succeed. Act accordingly.
6621 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * text2.C (setCharFont): adjust
6624 (setCounter): adjust
6625 (insertStringAsLines): adjust
6627 * text.C (leftMargin): adjust
6628 (setHeightOfRow): adjust
6630 * rowpainter.C (paintFirst): adjust
6633 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6635 (isFirstInSequence): ditto
6636 (getEndLabel): ditto
6639 * paragraph.C (getParLanguage): comment out some hard stuff.
6641 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6643 (simpleDocBookOnePar): ditto
6644 (makeDocBookFile): use ParagraphList::iterator
6646 * CutAndPaste.C (pasteSelection): adjust
6648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text2.C (getFont): adjust
6651 (getLayoutFont): adjust
6652 (getLabelFont): adjust
6654 * paragraph_funcs.C (TeXOnePar): adjust
6656 * buffer.C (simpleLinuxDocOnePar): adjust
6657 (simpleDocBookOnePar): adjust
6659 * CutAndPaste.C (pasteSelection): adjust
6661 * BufferView.C (getEncoding): adjust
6663 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6665 2003-04-16 John Levon <levon@movementarian.org>
6667 * lyxfind.C: use parlist stuff for search/changes
6669 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6673 * text2.C (deleteEmptyParagraphMechanism): adjust
6675 * text2.[Ch] (ownerParagraph): delete func (both of them
6677 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6683 * ParagraphList.C: prepare for NO_NEXT
6685 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6687 * text2.C (getFont): adjust
6688 (getLayoutFont): adjust
6689 (getLabelFont): adjust
6691 * paragraph.C (getFont): adjust
6692 (getLabelFont): adjust
6693 (getLayoutFont): adjust
6695 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6697 2003-04-15 John Levon <levon@movementarian.org>
6701 * lyx_main.C: handle Include in .ui files
6703 2003-04-15 John Levon <levon@movementarian.org>
6705 * MenuBackend.C: make the doc files length shorter
6708 * ToolbarBackend.C: handle toolbar placement flags,
6711 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6716 * paragraph_funcs.C (TeXOnePar): adjust
6718 * paragraph.C (getLabelFont): add outerfont arg, adjust
6719 (getLayoutFont): ditto
6720 (simpleTeXOnePar): adjust
6722 * paragraph_pimpl.C (realizeFont): delete func
6724 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6726 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6727 row argument, constify cur argument.
6729 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * text2.C (getFont): adjust
6732 (getLayoutFont): adjust
6733 (getLabelFont): adjust
6735 * paragraph_funcs.C (TeXOnePar): adjust
6736 (outerFont): new func...
6737 (realizeFont): ...moved out from here, changed this to facilitate
6740 * paragraph.C (getFont): take outerfont as arg, adjust
6741 (simpleTeXOnePar): add outerfont arg, adjust
6743 * buffer.C (simpleLinuxDocOnePar): adjust
6744 (simpleDocBookOnePar): adjust
6746 * CutAndPaste.C (pasteSelection): adjust
6748 * BufferView.C (getEncoding): adjust
6750 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * text2.C (setCharFont): adjust
6753 (setCounter): adjust
6755 * text.C (leftMargin): adjust
6756 (setHeightOfRow): adjust
6758 * rowpainter.C (paintFirst): adjust
6761 * paragraph_pimpl.C (realizeFont): adjust
6763 * paragraph.C (isFirstInSequence): move from here...
6764 * paragraph_funcs.C (isFirstInSequence): ...to here
6766 * paragraph.C (outerHook): move from here...
6767 * paragraph_funcs.C (outerHook): ...to here
6769 * paragraph.C (depthHook): move from here...
6770 * paragraph_funcs.C (depthHook): ...to here
6772 * paragraph.C (getEndLabel): move from here...
6773 * paragraph_funcs.C (getEndLabel): ...to here
6775 * text2.C (realizeFont): move from here...
6776 * paragraph_funcs.C (realizeFont): ...to here
6778 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6782 2003-04-14 Angus Leeming <leeming@lyx.org>
6784 * LColor.[Ch]: scrap LColor mathcursor.
6786 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * lyxlex.[Ch] (text): delete function
6789 * trans.C (Load): adjust
6790 * paragraph_funcs.C (readParToken): adjust
6792 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6795 vector<char> instead of a char[].
6797 * lyxlex_pimpl.C (getString): adjust
6799 (lex): use getString
6803 * lyxlex.C (text): use pimpl_->getString()
6807 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6810 (makeFontEntriesLayoutSpecific): temp var for par.size()
6811 (setLayout): temp var for ownerParagraphs().end()
6812 (fullRebreak): temp var for rows().end()
6813 (selectionAsString): temp var for boost::next(startpit), realize
6814 that the while really is a regular for loop.
6815 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6816 setCursor in one place.
6817 (setParagraph): temp vr for ownerParagraphs().end()
6818 (updateCounters): make the while loop a for loop
6819 (cutSelection): temp var for ownerParagraphs().end()
6820 (updateInset): make the do {} while() a regular for loop
6821 (getCursorX): use temp vars
6822 (setCurrentFont): use temp vars
6823 (getColumnNearX): use temp vars
6825 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * text.C (transformChar): use temp var for getChar
6828 (computeBidiTables): use temp var for row->par()
6829 (fill): move temp vars for row->par() and pit->layout() earlier in
6831 (labelFill): use temp var for row->par()
6832 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6833 asc and desc, realize that pit never changes and that firstpit is
6834 just a duplicate and not needed. Exchange rit->par() with pit in a
6836 (breakAgain): use a temp var for boost::next(rit)
6837 (breakAgainOneRow): ditto
6838 (breakParagraph): use a temp var for rows().begin()
6839 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6840 (cursorRightOneWord): use temp var for cursor.par() and
6841 cursor.pos(), remove usage of tmpcursor.
6842 (cursorLeftOneWord): use temp var for cursor.par() and
6843 cursor.pos() only set cur at end of function.
6845 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * text.C, text2.C: exchange all usage of Paragraph::next with
6848 boost::next(ParagraphList::iterator)
6850 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6852 * text2.C (cursorTop): simplify implementation
6853 (cursorBottom): ditto
6854 (setParagraph): use ParagraphList::iterator
6855 (setCurrentFont): adjust
6856 (getColumnNearX): adjust
6857 (cursorRight): adjust
6858 (cursorLeft): remove usage of Paragraph::previous
6859 (cursorUpParagraph): ditto
6860 (deleteEmptyParagraphMechanism): slight cleanup
6862 * text.C (isBoundary): take a Paragraph const & instead of a
6864 (addressBreakPoint): ditto
6865 (leftMargin): remove usage of Paragraph::previous.
6866 (setHeightOfRow): ditto
6867 (cursorLeftOneWord): ditto
6868 (selectNextWordToSpellcheck): ditto
6871 (breakParagraph): remove one usage of Paragraph::next
6872 (redoParagraph): ditto
6873 (acceptChange): ditto
6874 (insertChar): adjust
6875 (rowBreakPoint): adjust
6877 * bufferview_funcs.C (toggleAndShow): adjust
6879 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6881 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6882 methods to access it.
6884 * text.C: Added updateRowPositions to compute all row positions.
6885 Make top_y and getRowNearY() to use the cached y position
6887 2003-04-11 John Levon <levon@movementarian.org>
6889 * text.C (rowBreakPoint): reintroduce the labelEnd
6890 checks, code copied from the row fill stuff. Deep voodoo.
6892 * text.C (fill): add a comment and debugging for the
6895 2003-04-11 John Levon <levon@movementarian.org>
6897 * text.C: make sure fullrow insets get wrapped to the next line,
6898 even when they're in a manual label
6900 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * text2.C (insertParagraph): make it take ParagraphList::iterator
6904 (setLayout): make it return ParagraphList::iterator
6905 (redoParagraphs): ditto
6907 (checkParagraph): ditto
6909 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6911 * text2.C: adjust several funcs.
6912 (realizeFont): take a ParagraphList::iterator as arg.
6913 (getLayoutFont): ditto
6914 (getLabelFont): ditto
6915 (setCharFont): ditto
6917 * text.C: adjust several funcs.
6919 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6921 * text.C (selectNextWordToSpellcheck): don't accidentally
6924 2003-04-10 John Levon <levon@movementarian.org>
6926 * ToolbarBackend.C (getIcon): special handling for
6929 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6931 * text2.C (cursorRight): a getChar assert fixed
6933 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * text2.C (getFont): change to take a ParagraphList::iterator
6936 instead of Paragraph*
6937 Adjust several functions.
6939 * text.C (transformChar): change to take a ParagraphList::iterator
6940 instead of Paragraph*
6941 (singleWidth): ditto
6942 Adjust several functions.
6944 * rowpainter.C: adjust several functions
6945 * rowpainter.h:store a ParagraphList::iterator and not a
6949 2003-04-09 John Levon <levon@movementarian.org>
6954 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6955 and the "help" bits as well
6957 2003-04-09 John Levon <levon@movementarian.org>
6960 * ToolbarBackend.C: allow multiple toolbars
6962 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6964 * undo_funcs.C (setCursorParUndo): adjust
6966 * text_funcs.C (transposeChars): adjust
6968 * text3.C (gotoNextInset): adjust
6971 * text2.C (setLayout): adjust
6972 (changeDepth): adjust
6974 (redoParagraphs): adjust
6975 (selectionAsString): adjust
6976 (setParagraph): adjust
6977 (insertInset): adjust
6978 (cutSelection): adjust
6979 (copySelection): adjust
6980 (pasteSelection): adjust
6981 (insertStringAsLines): adjust
6982 (updateInset): adjust
6983 (setCursor): change to take a ParagraphList::iterator parameter
6984 (setCursorIntern): change to take a ParagraphList::iterator parameter
6985 (setCurrentFont): adjust
6986 (cursorLeft): adjust
6987 (cursorRight): adjust
6988 (deleteEmptyParagraphMechanism): adjust
6990 * text.C (breakParagraph): adjust
6991 (insertChar): adjust
6992 (acceptChange): adjust
6993 (rejectChange): adjust
6994 (selectNextWordToSpellcheck): adjust
6995 (changeCase): adjust
6999 * lyxfind.C (SearchForward): adjust
7000 (SearchBackward): adjust
7001 (nextChange): adjust
7003 * lyxcursor.C (par): adjust
7005 * lyxcursor.h: store a ParagraphList::iterator instead of a
7008 * lyx_cb.C (getPossibleLabel): adjust
7010 * bufferview_funcs.C (toggleAndShow): adjust
7012 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7015 * BufferView.C (removeAutoInsets): adjust
7016 (lockedInsetStoreUndo): adjust
7018 2003-04-09 John Levon <levon@movementarian.org>
7020 * ToolbarBackend.C: try icon without argument
7021 if with argument fails
7023 2003-04-08 John Levon <levon@movementarian.org>
7026 * ToolbarBackend.C: add getIcon(), handle tooltip,
7027 and change from "Icon" to "Item".
7029 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7031 * BufferView.C (lockInset): another bad getchar crunched
7033 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7035 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7038 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7040 * lyxfind.C (searchForward, searchBackwards): bug 782
7042 2003-04-07 John Levon <levon@movementarian.org>
7044 * paragraph.C: remove dead comment
7046 * text.C: remove troublesome depth-fiddling code
7047 in leftMargin() and rightMargin() (bug 1017)
7049 * text.C: fix breaking of rows in nested lists
7052 * text2.C (updateCounters): fix up depth values
7055 2003-04-07 John Levon <levon@movementarian.org>
7057 * BufferView_pimpl.C: clear message when doc finishes resizing,
7058 and after a mouse event
7060 * lyxfunc.C: clear message after exiting inset
7062 2003-04-07 John Levon <levon@movementarian.org>
7064 * bufferview_funcs.C: show math status not outside
7065 status in the statusbar
7067 2003-04-07 John Levon <levon@movementarian.org>
7069 * lyxfunc.C: note status changed after a depth change
7071 2003-04-04 Angus Leeming <leeming@lyx.org>
7073 * LaTeX.h: move AuxInfo operator==, != out of line.
7074 Remove LaTeX virtual destructor; nothing derives from it.
7075 Move operator()() out of public area and rename it startscript().
7076 Change protected for private.
7078 2003-04-04 Angus Leeming <leeming@lyx.org>
7081 * text2.C: remove unneeded #includes.
7083 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7085 * text2.C (dEPM): fix the heigth of the next row
7087 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7089 * text.C: squashed an invalid getChar requester + some ws changes
7091 2003-04-03 John Levon <levon@movementarian.org>
7093 * bufferview_funcs.h:
7094 * bufferview_funcs.C:
7097 * text2.C: make getStatus work for the env depth lfuns
7099 2003-04-03 John Levon <levon@movementarian.org>
7101 * bufferview_funcs.h:
7102 * bufferview_funcs.C:
7105 * text2.C: parlistize decDepth(), by merging it with incDepth()
7107 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * lyxrow.h: store a ParagraphList::iterator instead of a
7110 Paragraph* and adjust other class functions to suit.
7112 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7115 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7117 * text2.C (setCursor): do not anchor to cursor row for the time being
7119 2003-04-02 John Levon <levon@movementarian.org>
7126 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7128 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7130 * paragraph.h: make ParagraphList and ParagraphList::iterator
7131 friends of Paragraph.
7133 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7135 * ParagraphList.C: Use the private next_ and previous_ from
7138 2003-04-01 John Levon <levon@movementarian.org>
7142 * Makefile.am: rename, remove defaults gunk
7145 * MenuBackend.C: remove defaults gunk
7148 * Languages.C: remove defaults gunk
7151 * lyx_main.C: error out if files couldn't be found.
7153 2003-04-02 John Levon <levon@movementarian.org>
7155 * text2.C: make incDepth() use parlist
7157 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7159 * undo_funcs.C (firstUndoParagraph): adjust
7161 * text3.C (gotoInset): adjust
7162 (dispatch): adjust, and rewrite loop.
7164 * text2.C (init): adjust, and rewrite loop.
7165 (redoParagraphs): adjust
7166 (updateInset): adjust, and rewrite loop.
7167 (deleteEmptyParagraphMechanism): adjust
7169 * tabular.C (LyXTabular): adjust
7170 (SetMultiColumn): adjust
7173 * lyxtext.[Ch] (ownerParagraph): delete function
7174 (ownerParagraphs): new function returns a ParagraphList.
7176 * BufferView.C (removeAutoInsets): adjust
7177 (insertErrors): adjust
7178 (setCursorFromRow): adjust
7180 2003-04-01 Angus Leeming <leeming@lyx.org>
7182 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7185 2003-04-02 John Levon <levon@movementarian.org>
7191 * text_funcs.C: make transposeChars a free function
7193 * lyxrow_funcs.C: remove wrong comment
7195 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * rowpainter.C: adjust
7203 * lyxrow_funcs. [Ch]: new files
7205 * lyxrow.[Ch]: remove next and previous pointers
7206 (next,previous): remove accessor functions
7207 (isParEnd): move to lyxrow_funcs
7208 (lastPos): move to lyxrow_funcs
7209 (nextRowIsAllInset): move to lyxrow_funcs
7210 (lastPrintablePos): move to lyxrow_funcs
7211 (numberOfSeparators): move to lyxrow_funcs
7212 (numberOfHfills): move to lyxrow_funcs
7213 (numberOfLabelHfills): move to lyxrow_funcs
7214 (hfillExpansion): move to lyxrow_funcs
7218 * bufferview_funcs.C (toggleAndShow): adjust
7220 * RowList.h: Remove class RowList from file leave just a
7223 * RowList.C: delete file
7225 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7228 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7230 * text3.C (cursorPrevious): adjust
7231 (cursorNext): adjust
7234 * text2.C (redoHeightOfParagraph): adjust
7235 (redoDrawingOfParagraph): adjust
7238 * text.C (breakParagraph): adjust
7239 (insertChar): adjust
7242 * rowpainter.C (RowPainter): adjust
7243 (leftMargin): simplify and adjust
7244 (most rowpainter functions): adjust.
7246 * rowpainter.h: store the row as RowList::iterator not as Row*
7248 * lyxcursor.C (row): taka RowList::iterator as arg
7251 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7254 2003-04-01 Angus Leeming <leeming@lyx.org>
7256 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7257 stuff like bool Bool.
7259 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7261 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7264 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7266 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7269 * lyxtext.h (rows): drop one version and leve a const variant that
7270 returns a RowList::iterator.
7272 2003-03-31 Angus Leeming <leeming@lyx.org>
7274 * text.C (fill): ensure that the signature is the same as that in the
7277 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7279 * text2.C (redoParagraphs): adjust
7280 (updateCounters): adjust
7281 (checkParagraph): adjust
7282 (getColumnNearX): adjust and reformat a bit.
7284 * text.C (top_y): adjust
7286 (leftMargin): adjust
7287 (prepareToPrint): adjust
7289 (getRowNearY): adjust
7291 * lyxtext.h: make rowlist_ mutable.
7293 * RowList.h: add const_iterator
7294 * RowList.C: adjust for RowList::const_iterator.
7296 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7299 2003-03-31 John Levon <levon@movementarian.org>
7302 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7304 * lyx_main.C: set default fonts from using lyx_gui funcs
7306 * exporter.C: pdf_mode moved from lyxrc
7309 * lyxfunc.C: changes from above
7311 2003-03-31 John Levon <levon@movementarian.org>
7313 * lyx_main.C: fix to the last fix
7315 2003-03-31 John Levon <levon@movementarian.org>
7317 * bufferlist.C: "Load original" -> "Load Original"
7323 * format.C: more Alert cleanups
7325 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7327 * text2.C (removeParagraph): make it take a RowList::iterator as
7329 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7330 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7332 * text.C (anchor_row): make it take a RowList::iterator as arg,
7334 (computeBidiTables): make it take a const reference to Row instead
7335 of Row pointer, adjust.
7336 (leftMargin): make it take a RowList::iterator as arg, adjust.
7337 (rowBreakPoint): adjust
7338 (breakAgainOneRow): make it take a RowList::iterator as arg,
7340 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7342 * bufferview_funcs.C (toggleAndShow): adjust
7344 2003-03-30 John Levon <levon@movementarian.org>
7348 * boost-inst.C: moved to support
7350 * several files: changes as a result
7352 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * text2.C (LyXText): adjust.
7356 (removeRow): make it take a RowList::iterator as arg, adjust.
7357 (fullRebreak): adjust
7358 (deleteEmptyParagraphMechanism): adjust
7359 (clearPaint): adjust
7362 * text.C (top_y): adjust
7363 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7364 (breakAgain): make it take a RowList::iterator as arg, adjust.
7365 (breakParagraph): adjust
7366 (insertChar): adjust
7369 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7370 need_break_row, and refresh_row.
7372 * text3.C (dispatch): adjust
7374 * text2.C (checkParagraph): adjust
7376 (setCursorFromCoordinates): adjust
7378 * text.C (top_y): adjust
7380 (getRow): make it return a RowList::iterator, adjust
7381 (getRowNearY): make it return a RowList::iterator, adjust
7383 * text2.C (init): adjust
7384 (insertRow): remove function
7385 (insertParagraph): adjust
7386 (redoParagraphs): adjust
7387 (fullRebreak): adjust
7388 (updateCounters): adjust
7390 * text.C (top_y): rewrite to use RowList iterators.
7392 (setHeightOfRow): rewrite to sue RowList iterators.
7393 (appendParagraph): adjust
7394 (breakAgain): adjust
7395 (breakAgainOneRow): adjust
7396 (breakParagraph): adjust
7398 (getRowNearY): adjust, and remove commented code.
7400 * lyxtext.h (firstRow): delete function
7401 (lastRow): delete function
7402 (rows): new function (const and non-const versions.)
7403 (insertRow): delete function
7405 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7407 2003-03-29 John Levon <levon@movementarian.org>
7409 * BufferView_pimpl.C: always update scrollbar top
7410 because pasting text when we're anchored could mean we
7411 miss an update altogether
7413 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7415 * text2.C (init): use rowlist_.end() and not 0.
7416 (insertRow): change to take a RowList::iterator as arg, adjust
7418 (insertParagraph): change to take a RowList::iterator as arg,
7420 (redoParagraphs): remove some debug msgs.
7422 * text.C (appendParagraph): change to take a RowList::iterator
7423 arg, adjust for this.
7424 (breakAgain): add an assert
7425 (breakAgainOneRow): ditto
7427 2003-03-29 John Levon <levon@movementarian.org>
7429 * text2.C: do not clear selection after inc/decDepth
7432 2003-03-29 John Levon <levon@movementarian.org>
7435 * buffer.C: fix broken strerrors according to Lars
7437 2003-03-29 John Levon <levon@movementarian.org>
7439 * converters.C: more Alert cleanups
7441 2003-03-29 John Levon <levon@movementarian.org>
7443 * bufferview_funcs.C: remove pointless Alert
7445 * buffer.C: fix confusing error message when
7446 a template is chmoded 000
7448 2003-03-29 John Levon <levon@movementarian.org>
7452 * BufferView_pimpl.C: Alert fixes
7456 * tabular-old.C: remove unused table compat reading
7458 2003-03-29 John Levon <levon@movementarian.org>
7463 * lyx_cb.C: more Alert cleanups
7465 * lyxfunc.C: don't allow chktex if not latex document
7467 2003-03-29 John Levon <levon@movementarian.org>
7471 * buffer.C: warnings pushed down from support/,
7474 2003-03-29 John Levon <levon@movementarian.org>
7476 * lyxfunc.C: safety check for C-r (revert)
7478 2003-03-29 John Levon <levon@movementarian.org>
7481 * bufferlist.C: several UI fixes using Alert::prompt.
7482 Fix the pointless looping quit code. Fix stupid revert
7487 * lyx_cb.C: use Alert::prompt
7489 * lyx_main.C: remove a silly question
7491 * lyxfunc.C: remove a couple of silly questions,
7494 2003-03-28 John Levon <levon@movementarian.org>
7496 * text2.C: fix bug 974 (End on empty par)
7498 2003-03-28 John Levon <levon@movementarian.org>
7500 * BufferView_pimpl.C:
7502 * lfuns.h: remove do-nothing math greek lfuns
7504 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * lyxgluelength.h (isValidGlueLength): add default arg on
7507 parameter 2. Remove default arg from friend in class.
7509 * lyxlength.h (isValidLength): add default arg on parameter 2.
7510 Remove default arg from friend in class.
7512 * text2.C (LyXText): adjust, initialize refresh_row.
7516 (insertParagraph): adjst
7517 (redoParagraphs): adjust
7518 (fullRebreak): adjust
7519 (updateCounters): adjust
7520 (deleteEmptyParagraphMechanism): first attempt at fixing a
7523 * text.C (top_y): adjust
7524 (setHeightOfRow): adjust
7526 (getRowNearY): adjust
7528 * lyxtext.h: include RowList.h
7529 (~LyXText): not needed anymore, deleted.
7530 (firstRow): modify for RowList
7531 (lastRow): new function
7532 Delete firstrow and lastrow class variables, add a Rowlist
7533 rowlist_ class variable.
7535 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7538 * RowList.C (insert): fix case where it == begin().
7540 2003-03-26 Angus Leeming <leeming@lyx.org>
7542 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7543 the thesaurus dialog.
7545 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7549 * RowList.[Ch]: new files
7551 * ParagraphList.C (erase): handle the case where it == begin
7554 2003-03-25 John Levon <levon@movementarian.org>
7558 * aspell.C: add new aspell support
7561 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7564 2003-03-25 Angus Leeming <leeming@lyx.org>
7567 * LyXAction.C (init): new LFUN_INSET_INSERT.
7569 * BufferView_pimpl.C (dispatch): split out part of the
7570 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7572 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7575 2003-03-25 Angus Leeming <leeming@lyx.org>
7577 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7579 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7582 * text3.C: remove useless row->height(0)
7584 2003-03-25 John Levon <levon@movementarian.org>
7588 * text3.C: rename the refreshing stuff to better names
7590 2003-03-24 John Levon <levon@movementarian.org>
7592 * BufferView_pimpl.h:
7593 * BufferView_pimpl.C: update layout choice on a mouse
7596 2003-03-23 John Levon <levon@movementarian.org>
7598 * Makefile.am: fix commandtags.h reference
7600 2003-03-22 John Levon <levon@movementarian.org>
7602 * BufferView_pimpl.C:
7607 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7609 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7612 * text.C: take the rtl methods out of line
7614 2003-03-21 André Pönitz <poenitz@gmx.net>
7616 * metricsinfo.[Ch]: new files containing structures to be passed around
7617 during the two-phase-drawing...
7619 2003-03-21 André Pönitz <poenitz@gmx.net>
7621 * lyxtextclass.C: read 'environment' tag.
7623 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7625 * text2.C (removeRow): fix bug 964
7627 2003-03-20 John Levon <levon@movementarian.org>
7631 * text2.C: paint cleanups. Inset::update() dropped font
7634 2003-03-19 John Levon <levon@movementarian.org>
7636 * lyxfunc.C: only fitcursor/markDirty if available()
7638 2003-03-19 John Levon <levon@movementarian.org>
7640 * commandtags.h: rename to ...
7642 * lfuns.h: ... this, and renumber / cleanup
7644 2003-03-19 John Levon <levon@movementarian.org>
7646 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7647 fit the cursor after an lfun
7651 * BufferView_pimpl.h:
7652 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7654 * LyXAction.C: layout-character should have ReadOnly
7656 * ParagraphParameters.C:
7658 * bufferview_funcs.C:
7665 * undo_funcs.C: changes from above
7667 2003-03-18 John Levon <levon@movementarian.org>
7669 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7670 remove it from update()
7672 * lyxfunc.C: update layout choice after an lfun
7674 * text3.C: remove extra updateLayoutChoice()s
7676 2003-03-18 John Levon <levon@movementarian.org>
7678 * text.C: top_y change means full repaint, fix
7679 a drawing bug with cursor movement
7681 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7685 * text2.C: anchor row on setCursor
7687 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7689 * lyxtext.h: remove almost all mutable keywords
7692 * text3.C: remove const keywords accordingly
7694 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7696 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7698 (TeXEnvironment): ditto
7701 2003-03-17 John Levon <levon@movementarian.org>
7703 * text.C (rowBreakPoint): remove attempt to fix displayed
7704 math insets inside a manual label
7706 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * lyxtext.h: remove BufferView* as first arg from almost all class
7710 * other files: adjust.
7712 2003-03-17 John Levon <levon@movementarian.org>
7716 * text2.C: more paint cleanups
7718 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7721 * rowpainter.C: remove "smart" background painting code
7723 2003-03-16 John Levon <levon@movementarian.org>
7728 * text3.C: add helper functions for setting refresh_row/y
7730 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7732 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7733 newline inset which *can* get inserted in the pass_thru layouts.
7734 This is primarily for literate documents.
7736 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7738 * buffer.C: increment LYX_FORMAT to 223
7740 2003-03-14 André Pönitz <poenitz@gmx.net>
7742 * textclass.h: prepare for environment handling, ws changes
7743 * lyxlayout.C: read latexheader and latexfooter tags
7745 2003-03-14 John Levon <levon@movementarian.org>
7747 * text2.C: rewrite ::status() a bit
7749 2003-03-13 John Levon <levon@movementarian.org>
7751 * lyxtext.h: add some docs
7753 2003-03-13 John Levon <levon@movementarian.org>
7758 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7760 2003-03-13 John Levon <levon@movementarian.org>
7762 * text3.C: fix appendix redrawing
7764 2003-03-13 John Levon <levon@movementarian.org>
7766 * text.C (setHeightOfRow):
7768 * rowpainter.C: make appendix mark have the text
7769 "Appendix" so the user knows what it is
7772 * LColor.C: s/appendixline/appendix/ from above
7774 2003-03-13 John Levon <levon@movementarian.org>
7776 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7778 * text.C: fix a getChar(pos) bug properly
7780 2003-03-13 Angus Leeming <leeming@lyx.org>
7783 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7784 Probably only temporary. Let's see how things pan out.
7786 * BufferView.C (unlockInset):
7787 * BufferView_pimpl.C (fitCursor):
7788 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7790 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7791 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7793 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7794 new functions that convert ParagraphParameters to and from a string.
7796 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7797 BufferView::Pimpl's dispatch.
7798 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7800 2003-03-13 André Pönitz <poenitz@gmx.net>
7804 * factory.C: make it aware of InsetEnv
7806 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7808 * text2.C (setCursor): never ask for one past last
7809 (setCursor): add some debugging messages.
7811 * text.C (singleWidth): never ask for one past last
7812 (singleWidth): ditto
7814 (rightMargin): ditto
7815 (rowBreakPoint): ditto
7816 (setHeightOfRow): ditto
7817 (prepareToPrint): ditto
7819 * rowpainter.C (paintBackground): never ask for one past last
7820 (paintText): never ask for one past last
7822 * paragraph_pimpl.C (getChar): make the assert stricter, never
7823 allow the one past last pos to be taken
7825 * paragraph.C (getChar): ws changes only
7827 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7828 (numberOfSeparators): ditto
7829 (numberOfHfills): ditto
7831 2003-03-12 John Levon <levon@movementarian.org>
7837 * paragraph_funcs.C: fix per-buffer authorlists
7839 2003-03-12 John Levon <levon@movementarian.org>
7841 * text.C: fix newline in right address
7843 2003-03-12 Angus Leeming <leeming@lyx.org>
7845 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7846 duplicate those in LyXFunc::dispatch.
7850 * ToolbarDefaults.C:
7851 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7852 Add LFUN_FONTFREE_UPDATE.
7854 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7855 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7857 * bufferview_func.[Ch]: several new functions to facilliate
7858 transfer of data to and from the character dialog.
7860 2003-03-12 John Levon <levon@movementarian.org>
7865 * paragraph_funcs.C:
7866 * paragraph_pimpl.C:
7870 * text3.C: remove META_NEWLINE in favour of an inset
7873 * rowpainter.C: remove paintNewline (done by inset)
7875 2003-03-12 John Levon <levon@movementarian.org>
7877 * paragraph_pimpl.C: complain about bad getChar()s
7878 for a while at least
7880 2003-03-12 John Levon <levon@movementarian.org>
7883 * buffer.C: move paragraph read into a separate function,
7884 a little renaming to reflect that.
7887 * bufferparams.C: remove the author_ids map, not necessary now
7890 * factory.C: moved Buffer::readInset to here
7892 * paragraph_funcs.h:
7893 * paragraph_funcs.C: readParagraph free function moved from
7896 * tabular.C: name change
7898 2003-03-12 John Levon <levon@movementarian.org>
7901 * ParagraphParameters.C: move par params input to
7904 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7905 behave like a normal read from the stream wrt reading
7906 a line vs. a \\token
7908 2003-03-12 John Levon <levon@movementarian.org>
7911 * ParagraphParameters.h:
7912 * ParagraphParameters.C: move output code to a
7915 2003-03-12 John Levon <levon@movementarian.org>
7917 * BufferView.C (insertLyXFile):
7920 * tabular.C: use a parlist iterator for creating the
7923 2003-03-12 John Levon <levon@movementarian.org>
7925 * buffer.C: make current_change static local not
7928 2003-03-12 John Levon <levon@movementarian.org>
7930 * buffer.C: fix insertStringAsLines for change tracking
7932 2003-03-12 John Levon <levon@movementarian.org>
7939 * bufferparams.C: move author list into params. Rename some
7940 functions. Move the header reading into a separate token
7941 loop. Move the header token reading into BufferParams.
7943 2003-03-12 John Levon <levon@movementarian.org>
7945 * changes.C: put debug inside lyxerr.debugging() checks
7947 2003-03-11 André Pönitz <poenitz@gmx.net>
7949 * factory.C: make it aware of InsetHFill
7951 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7953 * buffer.C (latexParagraphs): move function from here...
7954 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7957 2003-03-10 Angus Leeming <leeming@lyx.org>
7959 * LyXAction.C (init): fix bug in poplating array with multiple entries
7960 with the same LFUN (spotted by JMarc).
7962 2003-03-10 John Levon <levon@movementarian.org>
7965 * text2.C: move getColumnNearX() near its
7968 2003-03-10 John Levon <levon@movementarian.org>
7970 * text.C: fix break before a minipage
7972 2003-03-10 John Levon <levon@movementarian.org>
7974 * text.C: fix the last commit
7976 2003-03-09 John Levon <levon@movementarian.org>
7980 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7981 bug 365 (don't break before insets unless needed). Don't
7982 return a value > last under any circumstances.
7984 2003-03-09 Angus Leeming <leeming@lyx.org>
7986 * BufferView_pimpl.C (trackChanges, dispatch): call
7987 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7989 2003-03-09 Angus Leeming <leeming@lyx.org>
7991 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7992 than Dialogs::showAboutlyx().
7994 2003-03-09 Angus Leeming <leeming@lyx.org>
7996 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7997 than Dialogs::showTabularCreate().
7999 2003-03-09 John Levon <levon@movementarian.org>
8003 * text2.C: 3rd arg to nextBreakPoint was always the same.
8006 2003-03-08 John Levon <levon@movementarian.org>
8013 * text2.C: Remove the "main" bit from the "main body"
8016 2003-03-08 John Levon <levon@movementarian.org>
8018 * text.C (leftMargin): The left margin of an empty
8019 manual label paragraph should not include the label width
8022 * text.C (prepareToPrint): don't attempt to measure hfills
8023 for empty manual label paragraphs - the answer should be 0
8025 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8027 * CutAndPaste.C: remove commented code and reindent.
8029 2003-03-08 John Levon <levon@movementarian.org>
8032 * lyxfunc.C: move reloadBuffer()
8035 * BufferView.C: to here
8037 * lyxvc.C: add comment
8040 * vc-backend.C: call bv->reload() to avoid
8041 getStatus() check on MENURELOAD
8043 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8045 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8046 to an old format .dep file.
8048 2003-03-07 Angus Leeming <leeming@lyx.org>
8050 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8051 when the LFUN_MOUSE_RELEASE should have been handled by
8052 inset->localDispatch.
8054 2003-03-07 Angus Leeming <leeming@lyx.org>
8056 * BufferView_pimpl.C (dispatch):
8057 * LyXAction.C (init):
8058 * ToolbarDefaults.C (init):
8060 * lyxfunc.C (getStatus):
8061 remove LFUN_INSET_GRAPHICS.
8063 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8065 2003-03-07 Angus Leeming <leeming@lyx.org>
8068 * LyXAction.C (init):
8069 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8071 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8074 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8076 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8077 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8079 2003-03-07 Angus Leeming <leeming@lyx.org>
8081 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8084 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * ParagraphList.C (front): new function
8089 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8091 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8092 and top_row_offset_. removed var first_y.
8094 * text2.C (LyXText, removeRow):
8096 * BufferView_pimpl.C:
8097 use these methods instead of using first_y
8099 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * text2.C (pasteSelection): adjust for checkPastePossible
8103 * CutAndPaste.C: remove Paragraph * buf and replace with
8104 ParagraphList paragraphs.
8105 (DeleteBuffer): delete
8106 (cutSelection): change the tc type to textclass_type
8107 (copySelection): change the tc type to textclass_type
8108 (copySelection): adjust for ParagraphList
8109 (pasteSelection): change the tc type to textclass_type
8110 (pasteSelection): adjust for Paragraphlist
8111 (nrOfParagraphs): simplify for ParagraphList
8112 (checkPastePossible): simplify for ParagraphList
8113 (checkPastePossible): remove unused arg
8115 * ParagraphList.C (insert): handle the case where there are no
8118 * CutAndPaste.h: make CutAndPaste a namespace.
8120 * text3.C (dispatch): adjust
8122 * text.C (breakParagraph): add a ParagraphList as arg
8124 * paragraph_funcs.C (breakParagraph): change to take a
8125 BufferParams and a ParagraphList as args.
8126 (breakParagraphConservative): ditto
8127 (mergeParagraph): ditto
8128 (TeXDeeper): add a ParagraphList arg
8129 (TeXEnvironment): ditto
8132 * buffer.C (readLyXformat2): adjust
8133 (insertStringAsLines): adjust
8134 (latexParagraphs): adjust
8136 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8137 (cutSelection): adjust
8138 (pasteSelection): adjust
8140 * BufferView_pimpl.C (insertInset): adjust
8142 2003-03-05 Angus Leeming <leeming@lyx.org>
8145 * LyXAction.C (init):
8146 * BufferView_pimpl.C (dispatch):
8147 * lyxfunc.C (getStatus):
8148 remove LFUN_CHILD_INSERT.
8150 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8152 2003-03-05 Angus Leeming <leeming@lyx.org>
8155 * LyXAction.C (init):
8156 * src/factory.C (createInset):
8157 * lyxfunc.C (getStatus):
8158 * text3.C (dispatch):
8159 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8161 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8163 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8165 * ParagraphList.C (insert): handle insert right before end()
8166 (erase): fix cases where it can be first or last paragraph.
8168 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8170 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8171 Paragraph::next and Paragraph::previous
8174 * text.C (breakParagraph): adjust
8176 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8177 BufferParams& as arg.
8178 (breakParagraph): use ParagraphList::insert
8179 (breakParagraphConservative): take a Buffer* instead of a
8180 BufferParams& as arg.
8181 (breakParagraphConservative): use ParagraphList::insert.
8183 * buffer.C (insertStringAsLines): un-const it
8184 (insertStringAsLines): adjust
8186 * ParagraphList.C (insert): new function
8188 * CutAndPaste.C (pasteSelection): adjust
8190 * text.C (backspace): adjust
8192 * tabular.C (SetMultiColumn): adjust
8194 * CutAndPaste.C (cutSelection): adjust
8195 (pasteSelection): adjust
8197 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8198 Buffer const * as arg
8200 * ParagraphList.C (erase): new function
8201 * paragraph_funcs.C (mergeParagraph): use it
8202 (mergeParagraph): make it take a Buffer* instead of a
8203 BufferParams* as arg
8205 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8207 (breakParagraphConservative): ditto
8209 * paragraph.h: remove the breakParagraph friend
8211 * paragraph.C (eraseIntern): new function
8212 (setChange): new function
8214 * paragraph_funcs.C (mergeParagraph): make it take a
8215 ParagraphList::iterator instead of a Paragraph *, adjust
8218 * paragraph.h: move an #endif so that the change tracking stuff
8219 also works in the NO_NEXT case.
8221 2003-03-04 Angus Leeming <leeming@lyx.org>
8224 * LyXAction.C: new LFUN_INSET_MODIFY.
8226 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8227 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8229 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * several files: ws changes only
8233 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8234 (TeXEnvironment): ditto
8237 * buffer.C (makeLaTeXFile): adjust
8238 (latexParagraphs): make it take ParagraphList::iterator as args
8240 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * buffer.C (latexParagraphs): adjust
8244 * paragraph.C (TeXOnePar): move function...
8245 (optArgInset): move function...
8246 (TeXEnvironment): move function...
8247 * paragraph_pimpl.C (TeXDeeper): move function...
8248 * paragraph_funcs.C: ...here
8250 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8252 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8254 * buffer.C (readInset): remove compability code for old Figure and
8257 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * buffer.C: ws changes
8262 * BufferView_pimpl.C: ditto
8265 * bufferlist.h: ditto
8269 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8271 * converter.[Ch]: split into itself +
8274 * Makefile.am: += graph.[Ch] + format.[Ch]
8281 * lyxrc.C: added #include "format.h"
8283 2003-02-27 Angus Leeming <leeming@lyx.org>
8285 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8288 * factory.C (createInset): add "label" to the factory.
8290 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8291 string and do no more.
8293 2003-02-27 Angus Leeming <leeming@lyx.org>
8296 * LyXAction.C (init):
8297 * factory.C (createInset):
8298 * BufferView_pimpl.C (dispatch):
8299 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8301 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8303 * lyxfunc.C (dispatch):
8304 * text3.C (dispatch): pass name to params2string.
8306 2003-02-26 Angus Leeming <leeming@lyx.org>
8308 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8310 Rearrange the ~includes. Strip out the unnecessary ones.
8312 * factory.C (createInset): reformat.
8313 create new insets for the various LFUN_XYZ_APPLY lfuns.
8315 2003-02-26 John Levon <levon@movementarian.org>
8318 * lyxrow.C: add isParStart,isParEnd helpers
8320 * paragraph.h: make isInserted/DeletedText take refs
8322 * paragraph_funcs.h:
8323 * paragraph_funcs.C: remove #if 0'd code
8328 * text.C: use lyxrow helpers above.
8329 Move draw and paint routines to RowPainter.
8330 Make several methods use refs not pointers.
8331 Make backgroundColor() const.
8332 Add markChangeInDraw(), isInInset().
8333 Merge changeRegionCase into changeCase.
8334 Make workWidth() shouldn't-happen code into an Assert.
8337 * rowpainter.C: new class for painting a row.
8340 * vspace.C: make inPixels take a ref
8342 2003-02-26 Angus Leeming <leeming@lyx.org>
8344 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8347 2003-02-25 John Levon <levon@movementarian.org>
8349 * ispell.C: give the forked command a more accurate name
8351 2003-02-22 John Levon <levon@movementarian.org>
8354 * toc.C: make TocItem store an id not a Paragraph *
8357 2003-02-21 Angus Leeming <leeming@lyx.org>
8359 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8360 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8361 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8362 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8363 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8364 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8366 * BufferView_pimpl.C (dispatch):
8367 * LyXAction.C (init):
8368 * factory.C (createInset):
8369 * lyxfunc.C (getStatus, dispatch):
8370 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8372 2003-02-21 Angus Leeming <leeming@lyx.org>
8374 * BufferView_pimpl.C (MenuInsertLyXFile):
8375 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8376 * lyxfunc.C (menuNew, open, doImport):
8377 no longer pass a LyXView & to fileDlg.
8379 2003-02-21 Angus Leeming <leeming@lyx.org>
8381 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8382 * LyXAction.C: change, BIBKEY to BIBITEM.
8383 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8384 Change InsetBibKey to InsetBibitem.
8385 Change BIBKEY_CODE to BIBITEM_CODE.
8386 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8387 * factory.C: replace insetbib.h with insetbibitem.h.
8388 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8389 * paragraph.C: replace insetbib.h with insetbibitem.h.
8390 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8391 Change bibkey() to bibitem().
8392 * text.C: remove insetbib.h.
8393 * text2.C: replace insetbib.h with insetbibitem.h.
8394 change bibkey() to bibitem().
8395 * text3.C: remove insetbib.h.
8396 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8398 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8400 * lyxrc.C (output): enclose user email in quotes (in case there are
8403 2003-02-18 John Levon <levon@movementarian.org>
8405 * buffer.h: add std::
8407 2003-02-17 John Levon <levon@movementarian.org>
8413 * pspell.C: reworking. Especially in ispell, a large
8414 number of clean ups and bug fixes.
8416 * lyxfunc.C: fix revert to behave sensibly
8418 2003-02-17 André Pönitz <poenitz@gmx.net>
8421 * commandtags.h: new LFUN_INSERT_BIBKEY
8431 * paragraph_func.C: remove special bibkey handling
8433 2003-02-17 John Levon <levon@movementarian.org>
8435 * text.C (Delete): fix case where delete at the end of
8436 the very first paragraph would not merge the pars
8438 2003-02-17 John Levon <levon@movementarian.org>
8440 * lyxrow.C: fix lastPrintablePos()
8442 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8444 * bufferparams.C (writeLaTeX): add a std:here
8446 * buffer.C: and remove a using directive there
8448 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8450 * buffer.C (makeLaTeXFile): move the code that generates the
8453 * bufferparams.C (writeLaTeX): ... in this new method
8455 * LaTeXFeatures.C (getEncodingSet): make const
8456 (getLanguages): make const
8458 * MenuBackend.C (binding): returns the binding associated to this
8460 (add): sets the status of each item by calling getStatus. Adds
8462 (read): add support for OptSubMenu
8463 (expand): remove extra separator at the end of expanded menu
8465 2003-02-15 John Levon <levon@movementarian.org>
8468 * BufferView_pimpl.C:
8470 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8471 inset code that had no actual effect. Remove unneeded status
8474 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8476 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8479 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8481 * text.C (drawLengthMarker): also draw an arrow marker for
8482 symbolic lengths (medskip...)
8484 2003-02-14 John Levon <levon@movementarian.org>
8487 * tabular.C: better method names
8489 2003-02-14 John Levon <levon@movementarian.org>
8491 * BufferView_pimpl.C:
8496 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8497 it's a more accurate name. Remove some pointless uses.
8499 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * text2.C (LyXText): change order of initilizers to shut off
8504 2003-02-14 John Levon <levon@movementarian.org>
8506 * buffer.C: use ParIterator for getParFromID()
8510 * paragraph_pimpl.h:
8511 * paragraph_pimpl.C: remove unused getParFromID()
8513 2003-02-14 John Levon <levon@movementarian.org>
8515 * buffer.C: remove some very old #if 0'd parse code
8517 2003-02-13 John Levon <levon@movementarian.org>
8521 * text2.C: move hfillExpansion(), numberOfSeparators(),
8522 rowLast(), rowLastPrintable(), numberofHfills(),
8523 numberOfLabelHfills() ...
8526 * lyxrow.C: ... to member functions here.
8531 * text.C: remove LyXText::beginningOfMainBody(), and call
8532 p->beginningOfMainBody() directly. Move the check for
8533 LABEL_MANUAL into the latter.
8540 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8546 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8547 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8549 2003-02-13 John Levon <levon@movementarian.org>
8551 * CutAndPaste.C: remove debug
8553 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8555 * paragraph.C (asString): remove two unused variables
8557 * lyxtextclass.C (readTitleType):
8559 (LyXTextClass): handle new members titletype_ and titlename_
8561 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8563 2003-02-09 John Levon <levon@movementarian.org>
8566 * buffer.C: replace hand-coded list with a map for the dep clean
8568 2003-02-08 John Levon <levon@movementarian.org>
8570 * LaTeX.C: consolidate code into showRunMessage() helper
8572 2003-02-08 John Levon <levon@movementarian.org>
8577 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8578 and pass the size in explicitly
8580 * BufferView_pimpl.h:
8581 * BufferView_pimpl.C:
8583 * BufferView.C: add getCurrentChange()
8585 * BufferView_pimpl.h:
8586 * BufferView_pimpl.C: handle change lfuns
8588 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8589 for changes. Mark pasted paragraphs as new.
8591 * support/lyxtime.h:
8592 * support/lyxtime.C:
8593 * DepTable.C: abstract time_t as lyx::time_type
8596 * LColor.C: add colours for new text, deleted text, changebars
8598 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8599 package use "usenames" option.
8603 * LyXAction.C: add change lfuns
8607 * author.C: author handling
8610 * buffer.C: add a per-buffer author list, with first entry as
8611 current author. Handle new .lyx tokens for change tracking. Output
8612 author list to .lyx file. Output dvipost stuff to .tex preamble.
8613 Bump lyx format to 222.
8616 * bufferlist.C: add setCurrentAuthor() to reset current author details
8620 * bufferparams.C: add param for tracking
8622 * bufferview_funcs.C: output change info in minibuffer
8626 * changes.C: add change-tracking structure
8629 * debug.C: add CHANGES debug flag
8632 * lyxfind.C: add code for finding the next change piece
8635 * lyxrc.C: add user_name and user_email
8638 * lyxrow.C: add a metric for the top of the text line
8641 * text.C: implement accept/rejectChange()
8644 * text.C: paint changebars. Paint new/deleted text in the chosen
8645 colours. Strike through deleted text.
8649 * paragraph_pimpl.h:
8650 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8651 in the current change to the insert functions. Rework erase to
8652 mark text as deleted, adding an eraseIntern() and a range-based
8653 erase(). Implement per-paragraph change lookup and
8656 * paragraph_funcs.C: Fixup paste for change tracking.
8658 * tabular.C: mark added row/columns as new.
8660 * text.C: fix rowLast() to never return -1. Don't allow
8661 spellchecking of deleted text. Track transpose changes. Don't
8662 allow paragraph break or merge where appropriate.
8664 * text2.C: leave cursor at end of selection after a cut.
8666 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8668 * text.C (getLengthMarkerHeight):
8669 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8670 visible on screen too.
8672 2003-02-07 John Levon <levon@movementarian.org>
8674 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8676 2003-02-05 Angus Leeming <leeming@lyx.org>
8678 * lyxserver.C (read_ready): revert my patch of 11 September last year
8679 as it sends PC cpu through the roof. Presumably this means that
8680 the lyxserver will no longer run on an Alpha...
8682 2003-01-30 Angus Leeming <leeming@lyx.org>
8684 * factory.C (createInset): create an InsetCommandParam of type "index"
8685 and use it to 'do the right thing'.
8687 * text2.C (getStringToIndex): ensure that cursor position is always
8688 reset to the reset_cursor position.
8690 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8692 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8695 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8699 * lyxfunc.C: Output messages with identical spelling, punctuation,
8702 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8704 * MenuBackend.C (expandFormats): List only viewable export formats
8707 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8710 * lyxfunc.C (getStatus): Make sure that formats other than
8711 "fax" can also be disabled
8713 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8715 * text3.C (dispatch): put the lfuns that insert insets in 3
8716 groups, and call doInsertInset with appropriate arguments.
8717 (doInsertInset): new function, that creates an inset and inserts
8718 it according to some boolean parameters.
8720 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8722 * buffer.C (readFile): remember to pass on 'par' when calling
8723 readFile recursively.
8725 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8727 * MenuBackend.C (expandFormats): add "..." to import formats.
8729 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8731 * paragraph.C (asString): Remove XForms RTL hacks.
8733 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8734 * buffer.C: fix typo
8736 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8738 * Makefile.am (LIBS): delete var
8739 (lyx_LDADD): add @LIBS@ here instead.
8741 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8743 * Clarify the meaning of "wheel mouse jump"
8745 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8750 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * importer.C (Loaders): do not preallocate 3 elements in the
8753 vector, since one ends up with 6 elements otherwise
8755 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8757 * DepTable.C (write): write the file name as last element of the
8758 .dep file (because it may contain spaces)
8759 (read): read info in the right order
8761 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * paragraph_pimpl.C (simpleTeXBlanks):
8764 (simpleTeXSpecialChars):
8765 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8767 * tabular.C (latex): add some missing case statements. Reindent.
8769 * MenuBackend.C (expandToc): remove unused variable.
8771 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8780 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8783 2003-01-05 John Levon <levon@movementarian.org>
8786 * BufferView.C: add getEncoding()
8789 * kbsequence.C: do not store last keypress
8792 * lyxfunc.C: store last keypress here instead. Pass encoding
8795 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8797 * lyx_main.C (init): remove annoying error message when following
8798 symbolic links (bug #780)
8800 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * text.C (insertChar):
8803 * lyxrc.C (getDescription): remove extra spaces
8805 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8807 * lyxrc.C (getDescription): remove extra spaces
8809 2002-12-20 John Levon <levon@movementarian.org>
8811 * text3.C: hack fix for page up/down across tall rows
8813 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8815 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8818 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8821 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8822 thesaurus is not compiled in
8824 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8826 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8828 2002-12-16 Angus Leeming <leeming@lyx.org>
8831 * lyx_main.C (init): remove override_x_deadkeys stuff.
8833 2002-12-12 John Levon <levon@movementarian.org>
8835 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8836 insert. Only remove shift modifier under strict
8839 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8841 * MenuBackend.C (expandToc): fix crash.
8843 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8845 * MenuBackend.C (expandToc): gettext on float names.
8847 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8849 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8850 implement bool empty() [bug 490]
8852 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8856 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8858 * several files: ws changes
8860 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8862 * text2.C (setCounter): clean up a bit, use boost.format.
8863 (updateCounters): initialize par upon declaration.
8865 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8866 if the layout exists. We do not just store the layout any more.
8867 (SwitchLayoutsBetweenClasses): use boost.format
8869 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * converter.C (convert): if from and to files are the same, use a
8872 temporary files as intermediary
8874 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8877 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8879 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8881 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8883 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8885 * tabular.C (asciiPrintCell): use string(size, char) instead of
8888 * sgml.C (openTag): fix order of arguments to string constructor
8891 * lyxfunc.C (dispatch): use boost.format
8893 * lots of files: change "c" -> 'c'
8895 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8897 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8899 2002-11-25 Angus Leeming <leeming@lyx.org>
8901 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8903 * lyx_main.C (init): compile fix.
8905 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8907 * lyx_cb.C (start): boost.formatify
8908 do not include <iostream>
8910 * lengthcommon.C: ws only
8912 * boost-inst.C,BoostFormat.h: add more explict instantations
8914 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8916 * lots of files: handle USE_BOOST_FORMAT
8918 2002-11-21 John Levon <levon@movementarian.org>
8920 * pspell.C: fix compile
8922 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8924 * lyxfunc.C (dispatch): use boost::format
8928 * lyxfont.C (stateText): use boost::format
8930 * lyx_main.C (LyX): use boost::format
8932 (queryUserLyXDir): ditto
8935 (typedef boost::function): use the recommened syntax.
8937 * importer.C (Import): use boost::format
8939 * debug.C (showLevel): use boost::format
8941 * converter.C (view): use boost::format
8946 * bufferview_funcs.C (currentState): use boost::format
8948 * bufferlist.C (emergencyWrite): use boost::format
8950 * buffer.C (readLyXformat2): use boost::format
8951 (parseSingleLyXformat2Token): ditto
8953 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8955 * LaTeX.C (run): use boost::format
8957 * Chktex.C (scanLogFile): use boost::format
8959 * BufferView_pimpl.C (savePosition): use boost::format
8960 (restorePosition): ditto
8961 (MenuInsertLyXFile): ditto
8963 * BoostFormat.h: help file for explicit instation.
8965 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8967 * tabular.C (latex): Support for block alignment in fixed width
8970 2002-11-17 John Levon <levon@movementarian.org>
8972 * BufferView_pimpl.C:
8974 * lyxfunc.C: split filedialog into open/save
8976 2002-11-08 Juergen Vigna <jug@sad.it>
8978 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8979 by my last patch (hopefully).
8981 2002-11-08 John Levon <levon@movementarian.org>
8990 * toc.C: ParConstIterator, and use it (from Lars)
8992 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8994 * lyxtextclass.[Ch]: revise and add doxygen comments
8996 2002-11-07 John Levon <levon@movementarian.org>
8998 * text.C: fix progress value for spellchecker
9000 * toc.C: fix navigate menu for insetwrap inside minipage
9002 * paragraph_funcs.C: added FIXME for suspect code
9004 2002-11-07 John Levon <levon@movementarian.org>
9006 * BufferView_pimpl.C: fix redrawing of insets
9009 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9011 * text2.C (updateCounters): fix bug 668
9013 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9015 * text3.C (dispatch): Do not make the buffer dirty when moving the
9018 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9020 * vc-backend.C: STRCONV
9023 * text2.C (setCounter): STRCONV
9025 * paragraph.C (asString): STRCONV
9027 * lyxlength.C (asString): STRCONV
9028 (asLatexString): ditto
9030 * lyxgluelength.C (asString): STRCONV
9031 (asLatexString): ditto
9033 * lyxfunc.C (dispatch): STRCONV
9036 * lyxfont.C (stateText): STRCONV
9038 * importer.C (Import): STRCONV
9040 * counters.C (labelItem): STRCONV
9041 (numberLabel): ditto
9042 (numberLabel): remove unused ostringstream o
9047 * bufferview_funcs.C (currentState): STRCONV
9049 * buffer.C (readFile): STRCONV
9050 (asciiParagraph): ditto
9051 (makeLaTeXFile): ditto
9053 * Spacing.C (writeEnvirBegin): STRCONV
9055 * LaTeXFeatures.C (getLanguages): STRCONV
9056 (getPackages): ditto
9058 (getBabelOptions): ditto
9059 (getTClassPreamble): ditto
9060 (getLyXSGMLEntities): ditto
9061 (getIncludedFiles): ditto
9065 (scanAuxFile): ditto
9068 * LString.h: add the STRCONV macros
9070 * BufferView_pimpl.C (savePosition): STRCONV
9071 (restorePosition): ditto
9072 (MenuInsertLyXFile): ditto
9074 * vc-backend.C (scanMaster): change from submatch[...] to
9077 * funcrequest.C: include config.h
9079 * factory.C: include config.h
9081 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9083 * box.C: include config.h
9085 * LaTeX.C (scanAuxFile): change from submatch[...] to
9089 2002-10-25 Angus Leeming <leeming@lyx.org>
9091 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9093 * ispell.[Ch] (setError): new method.
9094 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9095 Use setError() insetead of goto END.
9097 * lyx_cb.C (AutoSave): move out child process into new class
9100 2002-10-30 John Levon <levon@movementarian.org>
9102 * text3.C: make start appendix undoable
9104 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9106 * lyxlength.C (inPixels): Fix returned value.
9108 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9111 2002-10-24 Angus Leeming <leeming@lyx.org>
9113 * lyxgluelength.h: no need to forward declare BufferParams
9114 or BufferView, so don't.
9116 2002-10-21 John Levon <levon@movementarian.org>
9118 * BufferView.C: menuUndo ->undo, redo
9120 * BufferView.h: document, remove dead, make some methods private
9122 * paragraph_funcs.h:
9123 * paragraph_funcs.C:
9124 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9129 * sgml.C: move sgml open/close tag into sgml.C
9131 * bufferview_funcs.h: unused prototype
9134 * lyxfunc.C: remove unused
9137 * text.C: remove unused
9139 2002-10-21 John Levon <levon@movementarian.org>
9143 * BufferView_pimpl.h:
9144 * BufferView_pimpl.C: fix mouse wheel handling based on
9145 patch from Darren Freeman
9147 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9149 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9151 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9153 * lyxlength.C (inPixels): Fix hanfling of negative length.
9154 Fix LyXLength::MU case.
9156 2002-10-16 John Levon <levon@movementarian.org>
9158 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9160 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9162 * converter.C (view): add support for $$i (file name) and $$p
9163 (file path) for the viewer command. If $$i is not specified, then
9164 it is appended to the command (for compatibility with old syntax)
9166 2002-10-14 Juergen Vigna <jug@sad.it>
9168 * undo_funcs.C (textHandleUndo): alter the order in which the
9169 new undopar is added to the LyXText, as we have to set first
9170 the right prev/next and then add it as otherwise the rebuild of
9171 LyXText is not correct. Also reset the cursor to the right paragraph,
9172 with this IMO we could remove the hack in "redoParagraphs()".
9174 2002-10-09 Angus Leeming <leeming@lyx.org>
9176 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9177 to turn off an optimisation if a new inset is to be inserted.
9179 2002-10-11 André Pönitz <poenitz@gmx.net>
9181 * lyxtext.h: make some functions public to allow access
9182 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9184 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9186 * text3.C (dispatch): when changing layout, avoid an infinite loop
9189 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9191 * lyxrc.C (read): treat a viewer or converter command of "none" as
9194 * MenuBackend.C (expandFormats): for an update, also allow the
9195 formats that are not viewable
9197 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9198 script if it is newer than the lyxrc.defaults in user directory
9200 2002-10-07 André Pönitz <poenitz@gmx.net>
9202 * text.C: Vitaly Lipatov's small i18n fix
9204 2002-09-25 Angus Leeming <leeming@lyx.org>
9206 * ispell.h: doxygen fix.
9208 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9210 * buffer.h (readFile): Add a new argument to the method, to allow
9211 reading of old-format templates.
9213 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9215 * toc.C (getTocList): Get TOC from InsetWrap.
9217 2002-09-16 John Levon <levon@movementarian.org>
9219 * lyxfunc.C: check tabular for cut/copy too
9221 2002-09-12 John Levon <levon@movementarian.org>
9226 * factory.C: add header
9228 * paragraph_funcs.h:
9229 * paragraph_funcs.C: cleanup
9231 2002-09-11 John Levon <levon@movementarian.org>
9233 * PrinterParams.h: odd/even default to true
9235 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9237 * PrinterParams.h: update printer parameters for new xforms dialog
9239 2002-09-11 Angus Leeming <leeming@lyx.org>
9241 * lyxserver.C (read_ready): re-write to make it more transparent
9242 and to make it work in coherent fashion under Tru64 Unix.
9244 2002-09-11 André Pönitz <poenitz@gmx.net>
9248 * text3.C: implement LFUN_WORDSEL
9250 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9253 make floatlist_ a boost::shared_ptr<FloatList>
9255 * lyxtextclass.C: include FloatList.h
9256 (LyXTextClass): initialize floatlist_
9257 (TextClassTags): add TC_NOFLOAT
9258 (Read): match "nofloat" to TC_NOFLOAT and use it.
9259 (readFloat): modify call to floatlist_
9263 * FloatList.[Ch] (FloatList): remove commented out float
9265 (erase): new function
9267 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9269 * MenuBackend.C (expandToc): fix crash when there is no document
9272 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9274 * many files: Add insetwrap.
9276 2002-09-09 John Levon <levon@movementarian.org>
9278 * text2.C: remove confusing and awkward depth wraparound
9280 2002-09-09 John Levon <levon@movementarian.org>
9282 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9285 * buffer.C: remove getIncludeonlyList()
9288 * lyxfunc.C: remove headers
9290 2002-09-09 Juergen Vigna <jug@sad.it>
9292 * text.C (getColumnNearX): fix form Michael this is most
9293 probably a cut&paste bug.
9295 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9297 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9299 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9300 references, ws changes.
9302 * text2.C (init): update counters after init
9303 (insertParagraph): no need to set counter on idividual paragraphs.
9304 (setCounter): access the counters object in the textclass object
9305 on in the buffer object.
9306 (updateCounters): ditto
9308 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9309 shared_ptr<Counters> to avoid loading counters.h in all
9311 (LyXTextClass): initialize ctrs_
9312 (TextClassTags): add TC_COUNTER, and ...
9313 (Read): use it here.
9314 (CounterTags): new tags
9315 (readCounter): new function
9316 (counters): new funtion
9317 (defaultLayoutName): return a const reference
9319 * counters.C (Counters): remove contructor
9320 (newCounter): remove a couple of unneeded statements.
9321 (newCounter): simplify a bit.
9322 (numberLabel): some small formatting changes.
9324 * buffer.[Ch]: remove all traces of counters, move the Counters
9325 object to the LyXTextClass.
9327 2002-09-06 Alain Castera <castera@in2p3.fr>
9329 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9330 package to set the horizontal alignment on fixed width columns.
9333 * lyx_sty.h: added tabularnewline macro def.
9335 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9337 2002-09-06 John Levon <levon@movementarian.org>
9339 * LyXAction.C: tooltips for sub/superscript
9341 * MenuBackend.C: a bit more verbose
9343 * lyxfunc.C: tiny clean
9345 * undo_funcs.C: document undo_frozen
9347 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9349 * counters.C (Counters): add missing algorithm counter.
9351 * text2.C (setCounter): lookup the counter with layouts latexname
9352 instead of by section number.
9353 (setCounter): use a hackish way to lookup the correct enum
9355 a float name->type change
9356 reset enum couners with counter name directly instead of depth value.
9358 * counters.C (Counters): remove the push_backs, change to use the
9359 float type not the float name.
9360 (labelItem): remove unused string, float name->type change
9362 * counters.h: don't include vector, loose the enums and sects vectors
9364 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9366 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9367 (Read): add float->TC_FLOAT to textclassTags
9368 (Read): and handle it in the switch
9369 (readFloat): new function
9371 * FloatList.C (FloatList): comment out the hardcoded float
9374 * lyxlayout.h: ws change.
9376 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9378 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9380 2002-09-03 Angus Leeming <leeming@lyx.org>
9382 * BufferView_pimpl.h: qualified name is not allowed in member
9383 declaration: WorkArea & Pimpl::workarea() const;
9385 * factory.C: added using std::endl directive.
9387 * text3.C: added using std::find and std::vector directives.
9389 2002-08-29 André Pönitz <poenitz@gmx.net>
9392 * text2.C: remove unused member number_of_rows
9395 * BufferView2.C: remove file, move contents to...
9396 * BufferView.C: ... here
9398 * BufferView_pimpl.C:
9399 * factory.C: move more inset creation to factory
9401 * vspace.C: avoid direct usage of LyXText, ws changes
9404 don't provide direct access to WorkArea, use two simple
9405 acessors haveSelction() and workHeight() instead
9408 2002-08-29 John Levon <levon@movementarian.org>
9410 * BufferView_pimpl.C (dispatch): do not continue when
9413 2002-08-28 André Pönitz <poenitz@gmx.net>
9415 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9418 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9420 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9422 * buffer.C: increment LYX_FORMAT to 221
9424 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9425 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9427 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9429 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9431 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9433 * factory.C (createInset): use LyXTextClass::floats
9435 * MenuBackend.C (expandFloatListInsert):
9436 (expandFloatInsert):
9439 * text2.C (setCounter):
9441 * LaTeXFeatures.C (useFloat):
9442 (getFloatDefinitions):
9444 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9446 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9447 floatlist_, with accessor floats().
9449 * FloatList.h: remove global FloatList
9451 2002-08-26 André Pönitz <poenitz@gmx.net>
9453 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9457 * BufferView_pimpl.C:
9458 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9460 2002-08-25 John Levon <levon@movementarian.org>
9462 * LyXAction.C: fix margin note description
9464 2002-08-24 John Levon <levon@movementarian.org>
9468 * bufferview_funcs.C:
9470 * undo_funcs.C: cleanups
9472 * lyxfunc.C: disable CUT/COPY when no selection
9474 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9476 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9477 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9479 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9480 Add backward compatibility to "mono", "gray" and "no".
9482 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9484 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9485 (and file_format >= 200).
9487 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9489 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9491 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9493 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9495 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9497 * BufferView_pimpl.C:
9504 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9505 inset and code to make it work with the paragraph code. The inset
9506 can be anywhere in the paragraph, but will only do the expected
9507 thing in LaTeX if the layout file contains the parameter line
9509 (or more generally, a nonzero value) for that layout.
9511 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9513 * paragraph.h: remove the declaration of undefined counters class
9516 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9518 * text2.C (setCounter): fixed enumeration mis-count as reported by
9519 Dr. Richard Hawkins.
9521 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9523 * paragraph_funcs.h: remove some unneeded includes
9525 * text.C (backspace): pasteParagraph now in global scipe
9527 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9528 (pasteSelection): ditto
9530 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9531 * paragraph_funcs.C (pasteParagraph): ... here
9533 2002-08-20 André Pönitz <poenitz@gmx.net>
9535 * commandtags.h: new LFUNs for swapping/copying table row/colums
9538 * lyxfunc.C: support for new lfuns
9540 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9543 * buffer.[Ch]: remove NO_COMPABILITY stuff
9545 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9547 * boost.C (throw_exception): new file, with helper function for
9548 boost compiled without exceptions.
9553 * ParameterStruct.h:
9554 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9556 * bufferlist.C (emergencyWriteAll): use boost bind
9558 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9560 * text.C: include paragraph_funcs.h
9561 (breakParagraph): breakParagraph is now in global scope
9563 * paragraph_funcs.[Ch]: new files
9565 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9568 * buffer.C: include paragraph_funcs.h
9569 (insertStringAsLines): breakParagraph is now in global scope
9571 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9574 * CutAndPaste.C: include paragraph_funcs.h
9575 (cutSelection): breakParagraphConservative is now in global scope
9576 (pasteSelection): ditto
9578 * buffer.h: declare oprator== and operator!= for
9579 Buffer::inset_iterator
9581 * bufferlist.C (emergencyWrite): don't use fmt(...)
9583 * text3.C: add using std::endl
9585 * BufferView.C (moveCursorUpdate): remove default arg
9587 2002-08-20 André Pönitz <poenitz@gmx.net>
9589 * buffer.[Ch]: move inline functions to .C
9592 * BufferView_pimpl.C:
9594 * buffer.[Ch]: use improved inset_iterator
9597 * paragraph.[Ch]: write one paragraph at a time
9599 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9601 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9602 style if style is not specified.
9604 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9606 * text2.C (setCounter): when searching for right label for a
9607 caption, make sure to recurse to parent insets (so that a caption
9608 in a minipage in a figure float works) (bug #568)
9610 2002-08-20 André Pönitz <poenitz@gmx.net>
9612 * text3.C: new file for LyXText::dispatch() and helpers
9614 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9616 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9618 2002-08-19 André Pönitz <poenitz@gmx.net>
9621 * text.C: new LyXText::dispatch()
9623 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9625 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9627 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9629 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9632 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * Makefile.am: use $(variables) instead of @substitutions@
9636 2002-08-15 André Pönitz <poenitz@gmx.net>
9639 * BufferView_pimpl.C: streamlining mathed <-> outer world
9643 * LyXAction.C: remove unused LFUN_MATH
9645 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9647 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9649 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9651 * paragraph.C (Paragraph): reformat a bit
9652 (cutIntoMinibuffer): use builtin InsetList function instad of
9656 * buffer.C: include boost/bind.hpp, add using std::for_each
9657 (writeFileAscii): use ParagraphList iterators
9658 (validate): use for_each for validate traversal of paragraphs
9659 (getBibkeyList): use ParagraphList iterators
9660 (resizeInsets): use for_each to resizeInsetsLyXText for all
9662 (getParFromID): use ParagraphList iterators
9664 * BufferView2.C (lockInset): use paragraph list and iterators
9666 2002-08-14 John Levon <levon@movementarian.org>
9668 * lyxserver.C: remove spurious xforms include
9670 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9672 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9674 2002-08-13 André Pönitz <poenitz@gmx.net>
9677 * lyxfunc.C: further cleaning
9679 2002-08-13 André Pönitz <poenitz@gmx.net>
9681 * funcrequest.h: new constructor
9683 * funcrequest.C: move stuff here from .h
9686 * BufferView_pimpl.C:
9689 * lyxfunc.C: subsequent changes
9691 * lyxfunc.h: new view() member function
9693 * lyxfunc.C: subsequent changes
9695 2002-08-13 Angus Leeming <leeming@lyx.org>
9698 * BufferView_pimpl.C:
9706 changes due to the changed LyXView interface that now returns references
9707 to member variables not pointers.
9709 2002-08-13 Angus Leeming <leeming@lyx.org>
9711 * WordLangTuple (word, lang_code): return references to strings,
9716 * lyxtext.h: forward-declare WordLangTuple.
9721 * text.C: #include "WordLangTuple.h".
9724 * text.C: (selectNextWordToSpellcheck): constify return type.
9726 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9732 * paragraph_pimpl.h:
9735 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9737 Made updateCounter always count from start of buffer, and removed
9738 second argument (par).
9739 Reverted floats number display to '#'. Perhaps I'll try again when the
9740 code base is sanitized a bit.
9742 2002-08-12 Angus Leeming <leeming@lyx.org>
9744 * buffer.[Ch] (getLabelList): constify.
9746 2002-08-07 André Pönitz <poenitz@gmx.net>
9748 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9750 * funcrequest.h: extension to keep mouse (x,y) position
9752 2002-08-12 Juergen Vigna <jug@sad.it>
9754 * BufferView2.C (insertErrors): forbid undo when inserting error
9757 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9759 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9761 * ParagraphList.[Ch]: new files
9763 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9765 * BufferView2.C (lockInset): ParagraphList changes
9768 * bufferlist.C: ditto
9772 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9774 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9775 unused class variable counter_,
9777 * paragraph.[Ch] (getFirstCounter): delete unused function
9779 * counters.C: include LAssert.h
9780 (reset): add a new function with no arg, change other version to
9781 not have def. arg and to not allow empty arg.
9783 * text2.C (setCounter): remove empty arg from call to Counters::reset
9785 2002-08-11 John Levon <levon@movementarian.org>
9787 * Makefile.am: add WordLangTuple.h
9789 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9791 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9792 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9794 * insets/insettext.C: InsetList changes
9796 * graphics/GraphicsSupport.C (operator()): InsetList changes
9798 * toc.C (getTocList): InsetList changes
9800 * paragraph_pimpl.[Ch]: InsetList changes
9802 * paragraph.[Ch]: InsetList changes
9804 * buffer.C (inset_iterator): InsetList changes
9805 (setParagraph): ditto
9806 * buffer.h (inset_iterator): ditto
9807 * iterators.C (operator++): ditto
9808 * iterators.h: ditto
9810 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9812 * InsetList.[Ch]: new files, most InsetList handling moved out of
9815 * BufferView2.C (removeAutoInsets): InsetList changes
9817 (ChangeInsets): ditto
9819 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9821 * paragraph_pimpl.h (empty): new function
9823 * paragraph.[Ch] (empty): new function
9825 * other files: use the new Paragraph::empty function
9827 2002-08-09 John Levon <levon@movementarian.org>
9829 * lyxtext.h: remove unused refresh_height
9831 2002-08-09 John Levon <levon@movementarian.org>
9838 * paragraph.C: move sgml char escaping out of paragraph
9841 * paragraph.C: remove id setter
9845 * paragraph_pimpl.C: remove dead tex_code_break_column
9847 * bufferview_funcs.C: small cleanup
9849 * lyxfunc.C: remove dead proto
9851 * lyxtext.h: make some stuff private. Remove some dead stuff.
9853 * lyxgluelength.C: make as[LyX]String() readable
9855 2002-08-08 John Levon <levon@movementarian.org>
9860 * ToolbarDefaults.C:
9863 * toc.C: lyxaction cleanup
9865 2002-08-08 John Levon <levon@movementarian.org>
9867 * BufferView2.C: small cleanup
9870 * lyxfind.C: move unnecessary header into the .C
9872 2002-08-08 John Levon <levon@movementarian.org>
9874 * funcrequest.h: just tedious nonsense
9877 * lyx_main.C: cleanups
9880 * vspace.C: remove dead header lyx_main.h
9882 2002-08-07 Angus Leeming <leeming@lyx.org>
9885 * paragraph_pimpl.h:
9886 Forward declare class Counters in paragraph.h by moving the ctrs member
9887 variable into Paragraph::Pimpl.
9888 (counters): new method, returning a reference to pimpl_->ctrs.
9890 * text2.C: ensuing changes.
9892 2002-08-07 John Levon <levon@movementarian.org>
9894 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9896 * BufferView_pimpl.C: announce X selection on double/triple
9899 * lyx_main.C: use correct bool in batch dispatch
9901 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9903 2002-08-07 André Pönitz <poenitz@gmx.net>
9905 * funcrequest.h: new class to wrap a kb_action and its argument
9908 * BufferView_pimpl[Ch]:
9912 * lyxrc.C: subsequent changes
9915 2002-08-07 John Levon <levon@movementarian.org>
9917 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9918 document options change.
9920 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9925 * makefile.am: move counters functionality over from
9926 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9928 2002-08-06 John Levon <levon@movementarian.org>
9930 * WordLangTuple.h: new file for word + language code tuple
9941 * BufferView2.C: use WordLangTuple
9944 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9946 2002-08-06 John Levon <levon@movementarian.org>
9948 * lyx_main.C: fix cmdline batch handling
9950 2002-08-06 André Pönitz <poenitz@gmx.net>
9952 * lyxrc.C: set default for show_banner to true
9954 2002-08-06 John Levon <levon@movementarian.org>
9956 * pspell.C: fix a crash, and allow new aspell to work
9958 2002-08-06 John Levon <levon@movementarian.org>
9961 * kbmap.C: small cleanup
9964 * vspace.C: add const
9966 2002-08-05 John Levon <levon@movementarian.org>
9968 * LyXAction.C: back to tabular-insert
9970 2002-08-04 John Levon <levon@movementarian.org>
9973 * BufferView.C: cosmetic change
9975 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9985 * BufferView2.C: purge all "Lyx" not "LyX" strings
9988 * lyxcursor.C: attempt to add some documentation
9993 * ToolbarDefaults.C:
9994 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9995 merge with LFUN_TABULAR_INSERT
10002 * pspell.C: split up i/pspell implementations into separate
10003 files, many cleanups
10005 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10007 * text2.C: some cleanup
10009 * lyxfunc.C: don't check for isp_command == "none" any more, it
10010 didn't make any sense
10012 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10017 * makefile.am: move counters functionality over
10018 from text2.C/paragraph.[Ch] to counters.[Ch], and
10020 2002-08-02 John Levon <levon@movementarian.org>
10022 * buffer.C: s/lyxconvert/lyx2lyx/
10024 2002-08-02 Angus Leeming <leeming@lyx.org>
10026 * lyxlex.C: revert John's change as it breaks reading of the user
10029 2002-08-02 Angus Leeming <leeming@lyx.org>
10031 * importer.C (Import):
10032 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10033 changes due to LyXView::view() now returning a boost::shared_ptr.
10035 2002-08-02 John Levon <levon@movementarian.org>
10037 * lyxlex.C: small cleanup
10039 2002-08-02 John Levon <levon@movementarian.org>
10041 * text2.C (status): small cleanup, no logic change
10043 2002-08-01 John Levon <levon@movementarian.org>
10046 * buffer.C (writeFile): don't output alerts, caller
10050 * lyx_cb.C: from above
10052 * lyxfunc.C: allow to open non-existent files
10054 2002-07-31 John Levon <levon@movementarian.org>
10056 * lyxserver.C: don't let incidental errors get
10059 2002-07-30 John Levon <levon@movementarian.org>
10061 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10063 2002-07-30 John Levon <levon@movementarian.org>
10066 * lyxserver.C: remove I/O callback too
10068 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10073 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10075 * many files: strip,frontStrip -> trim,ltrim,rtrim
10077 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10079 * PrinterParams.h: remove extern containsOnly, and include
10080 support/lstrings.h instead.
10082 * LaTeX.C (scanAuxFile): modify because of strip changes
10084 * buffer.C (makeLaTeXFile): ditto
10085 * bufferparams.C (writeFile): ditt
10086 * lyxfont.C (stateText): ditto
10087 * lyxserver.C (read_ready): ditto
10088 * vc-backend.C (scanMaster): ditto
10090 * BufferView_pimpl.h: ws changes
10092 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10094 2002-07-26 André Pönitz <poenitz@gmx.net>
10096 * kb_sequence.C: remove unnedred usings
10098 2002-07-26 Juergen Vigna <jug@sad.it>
10100 * lyxfind.C (LyXReplace): we have to check better if the returned
10101 text is not of theLockingInset()->getLockingInset().
10103 2002-07-25 Juergen Vigna <jug@sad.it>
10105 * lyxfind.C (LyXReplace): don't replace if we don't get the
10108 * undo_funcs.C (createUndo): remove debugging code.
10110 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10112 * buffer.C (parseSingleLyXformat2Token): Use default placement
10113 when reading old floats.
10115 * FloatList.C (FloatList): Change the default placement of figure
10116 and tables to "tbp".
10118 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10120 * MenuBackend.C: using std::max
10122 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10124 * MenuBackend.C (expandToc):
10125 (expandToc2): code moved from xforms menu frontend. It is now
10126 generic and TOCs are transparent to menu frontends.
10128 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10130 * toc.C (getTocList): protect against buf=0
10132 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10133 Menu as first parameter. Now, this calls itself recursively to
10134 expand a whole tree (this will be useful for TOC handling)
10135 (expandFloatInsert): remove 'wide' version of floats
10137 * MenuBackend.h (submenuname): returns the name of the submenu.
10138 (submenu): returns the submenu itself, provided it has been
10139 created by MenuBackend::expand
10141 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10143 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10144 insets which have noFontChange == true. (bug #172)
10146 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10148 * BufferView_pimpl.C: add connection objects and use them...
10151 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10153 * MenuBackend.C (expandLastfiles):
10156 (expandFloatListInsert):
10157 (expandFloatInsert):
10158 (expand): split expand in parts
10160 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10162 * lyx_gui.C: use lyx_gui::exit()
10164 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10166 * LyXAction.C: show the failing pseudo action
10168 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10170 * buffer.C (readFile): Run the lyxconvert script in order to read
10173 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10177 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10179 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10183 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10185 2002-07-22 Herbert Voss <voss@lyx.org>
10188 * lyxlength.[Ch]: add support for the vertical lengths
10190 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10192 * toc.[Ch]: std:: fixes
10194 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10196 * lyxrc.C: do not include lyx_main.h
10198 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10204 * BufferView2.C: include "lyxlex.h"
10207 * bufferparams.h: do not #include "lyxlex.h"
10209 * lyxtextclasslist.C (Add): remove method
10210 (classlist): renamed to classlist_
10212 * paragraph_pimpl.C:
10216 * bufferview_funcs.C:
10221 * toc.C (getTocList): use BufferParams::getLyXTextClass
10223 * toc.C (getTocList): use InsetFloat::addToToc
10225 * toc.[Ch]: new files, containing helper functions to handle table
10228 * lyxfunc.C (dispatch): no need to remove spaces around command
10230 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10231 first command of the sequence; it is not very clever, but I do not
10232 have a better idea, actually
10234 * LyXAction.C (LookupFunc): make sure to remove space at the
10235 beginning and end of the command
10237 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10239 * MenuBackend.C (getMenubar): new method: return the menubar of
10241 (read): treat differently reading of menu and menubar (in
10242 particular, the menubar has no name now)
10243 (Menu::menubar): remove
10245 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10248 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10250 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10251 a bibitem inset in a RTL paragraph.
10253 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10255 * paragraph_pimpl.C: constify
10257 * BufferView_pimpl.C:
10259 * lyxfunc.C: fix dispatch in a nicer way
10261 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * lyxfunc.C (dispatch):
10264 * BufferView_pimpl.C:
10265 * BufferView_pimpl.h:
10267 * BufferView.h: rename Dispatch() to dispatch()
10269 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10271 * lyxlayout.C (Read): honor DependsOn tag
10273 * lyxlayout.[Ch] (depends_on): new method
10275 * version.C.in: update lyx_docversion
10277 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10279 * paragraph.C (validate): remove from here...
10280 * paragraph_pimpl.C (validate): ... and move here
10281 (isTextAt): make it const
10283 * buffer.C (getLists): ws cleanup
10285 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10287 * language.C (read): Use iso8859-1 encoding in latex_lang
10288 (this prevents LyX from crashing when using iso10646-1 encoding).
10290 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * text2.C (toggleInset): if cursor is inside an inset, close the
10293 inset and leave cursor _after_ it
10295 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10297 * lyxfunc.C: move minibuffer completion handling out of here
10299 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10301 * BufferView_pimpl.C:
10302 * LaTeX.C: fix dispatch calls
10304 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10306 * text.C (drawChars): Fix Arabic text rendering.
10308 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10312 * lyxfunc.C: remove message-push/pop
10316 * lyxfunc.C: rationalise some code by removing verboseDispatch
10317 in favour of a bool argument to dispatch()
10319 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10321 * lyx_main.C (init): make sure to read symlinks as absolute paths
10323 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10326 * lyxfunc.C: no need for commandshortcut to be a member
10328 2002-07-15 André Pönitz <poenitz@gmx.net>
10330 * converter.C: add support for $$s (scripts from lib/scripts dir)
10331 * lyx_main.C: white space
10333 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10337 * lyxrc.C: remove second exit confirmation
10339 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10344 * BufferView_pimpl.h:
10345 * BufferView_pimpl.C:
10346 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10348 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10350 * MenuBackend.C (expand): add numeric shortcuts to document menu
10352 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10354 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * lyxfont.C (setLyXFamily):
10363 * buffer.C (asciiParagraph): use ascii_lowercase
10365 2002-07-15 Mike Fabian <mfabian@suse.de>
10367 * lyxlex_pimpl.C (search_kw):
10368 * lyxlex.C (getLongString):
10369 * converter.h (operator<):
10370 * converter.C (operator<):
10371 * buffer.C (parseSingleLyXformat2Token):
10373 * ToolbarDefaults.C (read):
10374 * MenuBackend.C (checkShortcuts):
10376 * LColor.C (getFromGUIName):
10377 (getFromLyXName): use the compare_ascii_no_case instead of
10378 compare_no_case, because in turkish, 'i' is not the lowercase
10379 version of 'I', and thus turkish locale breaks parsing of tags.
10381 2002-07-16 Angus Leeming <leeming@lyx.org>
10383 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10384 now takes a Buffer const & argument.
10386 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10388 * BufferView.C (resize): check there's a buffer to resize
10390 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10392 * lyxfunc.C: remove dead code
10395 * lyxserver.C: use lyx_guii::set_read_callback
10397 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10399 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10400 an inset in a RTL paragraph.
10402 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10404 * lyxfunc.C: repaint after a font size update
10406 2002-07-15 André Pönitz <poenitz@gmx.net>
10408 * lyxlength.C: inBP should be able to return negative values
10410 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10412 * lyxfunc.C: use lyx_gui::update_fonts()
10414 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10416 * lyxfunc.C: use lyx_gui::update_color()
10418 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10424 * lyxrc.C: remove file->new asks for name option, and let
10425 buffer-new take an argument
10427 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10429 * BufferView_pimpl.C: remove unneeded extra repaint()
10431 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10433 * LyXAction.C: allow command-sequence with NoBuffer
10435 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10437 2002-07-10 Angus Leeming <leeming@lyx.org>
10439 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10441 2002-07-09 Angus Leeming <leeming@lyx.org>
10443 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10445 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10447 * lengthcommon.h: whitespace
10449 * lyxfunc.C: update scrollbar after goto paragraph
10451 * lyxtext.h: factor out page break drawing, and fix it so
10452 page break/added space paints as selected nicely
10454 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C: add FIXMEs, clean up a little
10458 2002-07-09 André Pönitz <poenitz@gmx.net>
10460 * lyxfont.[Ch]: support for wasy symbols
10462 2002-07-08 André Pönitz <poenitz@gmx.net>
10464 * BufferView_pimpl.C: apply John's patch for #93.
10466 2002-07-05 Angus Leeming <leeming@lyx.org>
10468 * BufferView_pimpl.C (buffer): generate previews if desired.
10470 * LColor.h: add "preview" to the color enum.
10472 * LColor.C (LColor): add a corresponding entry to the items array.
10474 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10477 2002-07-05 Angus Leeming <leeming@lyx.org>
10479 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10480 The body of the code is now in the method that is passed an ostream &
10481 rather than a file name.
10482 Pass an additional only_preamble parameter, useful for the forthcoming
10485 2002-07-03 André Pönitz <poenitz@gmx.net>
10487 * lyxfunc.C: simplify getStatus() a bit for math stuff
10489 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10491 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10493 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * text.C (changeRegionCase): do not change case of all the
10496 document when region ends at paragraph end (bug #461)
10498 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10500 * paragraph.C (startTeXParParams):
10501 (endTeXParParams): add \protect when necessary
10503 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10505 * BufferView_pimpl.C (workAreaExpose): remove warning
10507 2002-06-27 Angus Leeming <leeming@lyx.org>
10509 * Makefile.am: add lyxlayout_ptr_fwd.h.
10511 2002-06-26 André Pönitz <poenitz@gmx.net>
10513 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10515 2002-06-25 Angus Leeming <leeming@lyx.org>
10517 * lyxfunc.C (dispatch): Comment out the call to
10518 grfx::GCache::changeDisplay. The method no longer exists now that the
10519 pixmap generation part of the graphics loader has been moved into
10522 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10524 * text2.C: layout as layout
10526 * text.C: layout as layout
10528 * tabular.C (OldFormatRead): layout as layout
10530 * paragraph_pimpl.C (TeXDeeper): layout as layout
10531 (realizeFont): layout as layout
10533 * paragraph.C (writeFile): layout as layout
10534 (validate): layout as layout
10535 (getFont): layout as layout
10536 (getLabelFont): layout as layout
10537 (getLayoutFont): layout as layout
10538 (breakParagraph): layout as layout
10539 (stripLeadingSpaces): layout as layout
10540 (getEndLabel): layout as layout
10541 (getMaxDepthAfter): layout as layout
10542 (applyLayout): layout as layout
10543 (TeXOnePar): layout as layout
10544 (simpleTeXOnePar): layout as layout
10545 (TeXEnvironment): layout as layout
10546 (layout): layout as layout
10547 (layout): layout as layout
10549 * lyxtextclass.C (compare_name): new functor to work with
10550 shared_ptr, layout as layout
10551 (Read): layout as layout
10552 (hasLayout): layout as layout
10553 (operator): layout as layout
10554 (delete_layout): layout as layout
10555 (defaultLayout): layout as layout
10557 * lyxlayout_ptr_fwd.h: new file
10559 * lyxlayout.C (Read): layout as layout
10561 * lyx_cb.C (MenuInsertLabel): layout as layout
10563 * bufferlist.C (newFile): layout as layout
10565 * buffer.C (readLyXformat2): layout as layout
10566 (parseSingleLyXformat2Token): layout as layout
10567 (insertStringAsLines): layout as layout
10568 (asciiParagraph): layout as layout
10569 (latexParagraphs): layout as layout
10570 (makeLinuxDocFile): layout as layout
10571 (simpleLinuxDocOnePar): layout as layout
10572 (makeDocBookFile): layout as layout
10573 (simpleDocBookOnePar): layout as layout
10574 (getLists): layout as layout
10576 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10578 * CutAndPaste.C (cutSelection): layout as layout
10579 (pasteSelection): layout as layout
10580 (SwitchLayoutsBetweenClasses): layout as layout
10582 * BufferView_pimpl.C (Dispatch): layout as layout
10583 (smartQuote): layout as layout
10585 * BufferView2.C (unlockInset): layout as layout
10587 2002-06-24 André Pönitz <poenitz@gmx.net>
10589 * lyxfunc.C: fix #487
10591 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10595 * lyxfunc.C: remove display_shortcuts, show_banner
10597 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10599 * Buffer_pimpl.C: oops, update on resize
10601 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10608 * BufferView.C: use repaint()
10610 * BufferView_pimpl.h:
10611 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10612 as it's a clearer description. Remove superfluous
10615 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10617 * text.C: fix bug 488. Not ideal, but getting
10618 getWord() to work properly for the insets that
10619 matter is more difficult ...
10621 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10623 * BufferView_pimpl.C:
10626 * lyxfunc.C: remove the six million index lyxfuncs to just
10627 one, and DTRT (bug 458)
10629 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10633 * BufferView_pimpl.h:
10634 * BufferView_pimpl.C: clean up resize() stuff,
10635 and unnecessary updateScreen()s
10637 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10641 * BufferView_pimpl.h:
10642 * BufferView_pimpl.C:
10645 * minibuffer.C: remove focus management of workarea,
10646 not needed. Use screen's greyOut()
10648 2002-06-17 Herbert Voss <voss@lyx.org>
10650 * converter.C: (convert) do not post a message, when converting
10651 fails, let the calling function decide what to do in this case
10653 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10655 * lyxfunc.C: tidy up a little
10657 2002-06-16 <alstrup@diku.dk>
10659 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10660 Got rid of FORMS_H_LOCATION include. Now we are
10663 2002-06-15 LyX Development team <lyx@rilke>
10665 * buffer.[Ch] (sgmlOpenTag):
10666 (sgmlCloseTag): Added support for avoiding pernicious mixed
10667 content. Return number of lines written.
10669 (makeLinuxDocFile):
10670 (makeDocBookFile): Fixed calls to sgml*Tag.
10671 Simple white space clean.
10673 (simpleDocBookOnePar): Simple white space clean.
10675 * tabular.[Ch] (docBook): Renamed to docbook and got another
10676 argument to related with the pernicious mixed content.
10678 (docbookRow): Fixed calls for docbook inset method.
10680 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10682 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10683 so it's X11 independent.
10687 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10689 2002-06-15 Lyx Development team <lyx@electronia>
10691 * intl.h: Renamed getTrans to getTransManager.
10693 2002-06-14 Angus Leeming <leeming@lyx.org>
10695 * Makefile.am: nuke forgotten stl_string_fwd.h.
10697 2002-06-12 Angus Leeming <leeming@lyx.org>
10699 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10701 2002-06-13 Angus Leeming <leeming@lyx.org>
10704 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10706 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10708 * kbmap.C (getiso): add support for cyrillic and greek
10710 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10714 * BufferView_pimpl.h:
10715 * BufferView_pimpl.C: move bogus scrolling logic
10718 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.C: view->resize() change
10723 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10725 * BufferView_pimpl.C: topCursorVisible
10728 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10732 * lyx_gui.C: move to frontends/
10736 * lyx_main.C: changes from above
10738 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10745 * lyx_main.C: minor tidy
10747 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10749 * BufferView_pimpl.h:
10750 * BufferView_pimpl.C:
10752 * BufferView.C: make painter() const,
10755 * BufferView2.C: use screen() accessor
10758 * lyx_main.C: some minor cleanup
10760 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10762 * BufferView_pimpl.h:
10763 * BufferView_pimpl.C: remove enter/leaveView,
10766 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10771 * BufferView_pimpl.h:
10772 * BufferView_pimpl.C: only construct screen once,
10775 * lyxrc.C: remove pointless comment
10777 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView.C: remove active() and belowMouse()
10782 * BufferView_pimpl.h:
10783 * BufferView_pimpl.C: use workarea() not workarea_,
10784 and make it use a scoped_ptr instead
10786 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10788 * lyx_gui.C: add debug message on BadWindow
10790 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10792 * sp_spell.C: fdopen is not part of the C++ standard.
10794 * paragraph.C (InsetIterator): use >= instead of ==
10796 2002-06-07 Angus Leeming <leeming@lyx.org>
10798 Fixes needed to compile with Compaq cxx 6.5.
10799 * BufferView_pimpl.C:
10806 * lyxtextclasslist.C:
10811 all c-library variables have been moved into namespace std. Wrap
10812 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10817 Add a using std::abs declaration.
10819 * kbmap.h (modifier_pair):
10820 * paragraph.h (InsetTable, InsetList):
10821 * lyxfont.h (FontBits):
10822 type definition made public.
10824 * bufferlist.C (emergencyWriteAll): the compiler complains that
10825 there is more than one possible lyx::class_fun template to choose from.
10826 I re-named the void specialisation as lyx::void_class_fun.
10828 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10830 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10831 the compiler is is unable to find tostr in write_attribute.
10833 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * buffer.C (sgmlError): hide #warning
10837 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10839 * xtl/*: get rid of xtl, which is not in use anyway
10841 * LyXAction.C (init):
10842 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10843 were unimplemented xtl experimentation
10845 2002-06-04 André Pönitz <poenitz@gmx.net>
10847 * lyxfunc.C: disable array operation on simple formulae
10849 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10851 * converter.C: constify a bit
10853 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10855 * lyx_gui.C: check xforms version correctly
10857 2002-04-30 Herbert Voss <voss@lyx.org>
10859 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10862 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10864 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10865 attempt to register it with a VCS)
10867 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10869 * lyx_main.C (init): honor variables LYX_DIR_13x and
10872 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10876 * lyx_main.C: fix a crash on bad command line,
10877 and give a useful exit status on error
10879 * lyxfunc.C (doImport): allow -i lyx to work
10881 2002-03-30 André Pönitz <poenitz@gmx.net>
10883 * lyxfunc.C: mathed font changes
10885 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10900 * trans_mgr.h: srcdocs, and some minor cleanups
10902 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10904 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10905 call getFont all the time)
10907 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10909 * switch from SigC signals to boost::signals
10911 2002-05-29 André Pönitz <poenitz@gmx.net>
10913 * paragraph_pimpl.C (getChar): don't call size() too often...
10915 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10917 * paragraph_pimpl.C (insertChar): do not try to update tables when
10918 appending (pos == size())
10920 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10921 in order to reduce drastically the number of comparisons needed to
10922 parse a large document
10924 2002-05-29 André Pönitz <poenitz@gmx.net>
10930 * textclasslist.[Ch]:
10931 * sp_ispell.h: whitespace change
10933 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10935 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10936 lyxaction directly now.
10938 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10942 * lyxvc.C: remove unused headers
10944 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10951 * undo_funcs.C: some cleanups. Use shared_ptr
10952 and a template for the undo stacks.
10954 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10956 * BufferView_pimpl.h:
10957 * BufferView_pimpl.C:
10964 * text2.C: use key_state/mouse_state
10966 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10968 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10971 * chset.C: change include order
10972 (loadFile): use boost regex and get rid of LRegex and LSubstring
10974 * Makefile.am (BOOST_LIBS): new variable
10975 (lyx_LDADD): use it
10977 * LaTeX.C: change include order.
10978 (scanAuxFile): use boost regex and get rid of LRegex and
10982 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10987 * FontInfo.C: moved to frontends/xforms/
10990 * FontLoader.C: moved into frontends for GUIIzation
10995 * lyxfunc.C: changes from above
10997 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10999 * LColor.C: remove spurious X include
11001 * BufferView_pimpl.C:
11006 * text2.C: move font metrics to frontends/
11008 2002-05-24 Juergen Vigna <jug@sad.it>
11010 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11011 setting the undo_cursor.
11013 * ParagraphParameters.h: include local includes first.
11015 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11017 * BufferView_pimpl.C:
11018 * BufferView_pimpl.h:
11022 * screen.C: move WorkArea into frontends/
11028 * BufferView2.C: move LyXScreen into frontends/
11032 * lyx_gui.C: move lyxlookup into frontends/xforms/
11034 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11037 * BufferView_pimpl.C:
11047 * bufferview_funcs.C:
11060 * vc-backend.C: move LyX/XFormsView into frontends/
11062 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11074 * text2.C: move Painter to frontends/
11076 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11078 * buffer.C: comment out some some code that depend upon lyx_format
11081 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11082 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11084 * buffer.h (NO_COMPABILITY): turn off compability
11086 * ColorHandler.C: include scoped_array.hpp
11088 * font.C: Use more specific smart_ptr header.
11091 * ShareContainer.h: ditto
11092 * lyx_main.h: ditto
11094 * FontInfo.h: ditto
11095 * BufferView_pimpl.h: ditto
11096 * ColorHandler.h: ditto
11098 * kbmap.C (defkey): change call to shared_ptr::reset
11100 2002-05-21 Juergen Vigna <jug@sad.it>
11102 * buffer.C (insertErtContents): fix to insert ert asis if it is
11103 non empty. Skip it completely if it contains only whitespaces.
11105 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11107 * BufferView_pimpl.C:
11108 * BufferView2.C: clear selection on paste (bug 393)
11110 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * DepTable.C: include ctime
11114 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11116 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11118 2002-05-14 Juergen Vigna <jug@sad.it>
11120 * text.C (breakParagraph): fixed function to honor the keepempty
11121 layout in the right maner and also to permit the right breaking
11122 algorithm on empty or non empyt keepempty paragraphs.
11124 * paragraph.C (breakParagraph): we have to check also if the par
11125 is really empty (!size()) for isempty otherwise we do the wrong
11128 2002-05-10 Juergen Vigna <jug@sad.it>
11130 * buffer.[Ch] : The following are only changes to the ert
11131 compatibility read reading old LaTeX layout and font stuff and
11132 convert it to ERTInsets.
11134 * buffer.h: added isErtInset().
11136 * buffer.C (struct ErtComp): add a fromlayout bool to check
11137 if we're inside a LaTeX layout.
11138 (isErtInset): new helper function.
11139 (insertErtContents): look for other ert insets before this one
11140 and insert the contents there, so that we don't have subsequent
11141 ERT insets with nothing between them. This way we create only one
11142 inset with multiple paragraphs. Also check if we don't insert only
11143 spaces ' ' as they are ignored anyway afterwards in the .tex file
11144 so if we have only spaces we will ignore this latex part in the
11146 (parseSingleLyXformat2Token \\layout): better compatibility when
11147 reading layout-latex stuff.
11148 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11150 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11151 stuff after reading the inset only get the information back from
11154 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11156 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11158 * LaTeXFeatures.C (getBabelOptions): New method.
11160 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * BufferView_pimpl.C (Dispatch): work around missing argument for
11165 2002-05-08 Juergen Vigna <jug@sad.it>
11167 * text.C (leftMargin): handle paragraph leftindent.
11169 * paragraph.C (writeFile): write the new \\leftindent tag.
11170 (validate): handle leftindent code.
11171 (TeXEnvironment): handle paragraphleftindent code again.
11173 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11175 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11176 for paragrap_extra indent code and new token \\leftindent.
11177 (latexParagraphs): handle the leftindent as environment.
11179 * ParameterStruct.h: added leftindent support.
11181 * ParagraphParameters.C (leftIndent): added support functions for
11182 the paragraph left indent.
11184 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11187 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11189 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11192 * text.C (computeBidiTables): No bidi in insetERT.
11194 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11197 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * version.C.in: pre 5
11201 2002-05-02 José Matos <jamatos@fep.up.pt>
11202 * buffer.C (makeDocBookFile): white space changes, add newline to
11204 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11206 * tabular.C (docBook): fix typo.
11208 2002-05-03 Juergen Vigna <jug@sad.it>
11210 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11211 change in LyXText as we can not be sure it was not freed.
11212 (drawOneRow): remove unused code.
11214 * text.C (drawInset): redo the calculation of the need_break_row as
11215 it could have a row which was already freed.
11216 (draw): look at the return value of drawInset and return false if
11217 it also returned false.
11218 (paintRowText): look at the return value of draw and return false if
11219 it also returned false.
11221 * lyxtext.h: added bool return type to drawInset() and draw() so that
11222 if we have a change in the row so that the rowbreak has to be redone
11223 we abort drawing as it will be called again.
11225 2002-05-02 Juergen Vigna <jug@sad.it>
11227 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11228 a change in the maintext also if we're inside an inset.
11229 (Dispatch): set the cursor again after a break line and after the
11230 screen has been updated as it could be we're in a different row.
11232 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11233 to set the cursor behind the pargraph with > size().
11234 (setCursor): check also for the same paragraph when checking where
11235 to put the cursor if we have a NFR inset.
11237 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11238 parts of layout read further up as it still was in the wrong
11241 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * screen.C (drawFromTo): change sine fullRebreak always return
11246 * buffer.C (parseSingleLyXformat2Token): reindent some
11248 * BufferView_pimpl.C (update): change since fullRebreak always
11250 (Dispatch): git rid of the last hardcoded "Standard"s.
11252 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11254 * text2.[Ch] (fullRebreak): make it return void now that we always
11257 2002-04-30 Juergen Vigna <jug@sad.it>
11259 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11260 ert compatibility check for "latex" layout.
11262 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11264 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11265 minipages: use col% instead of p%, and also use the current font.
11266 (makeLaTeXFile): Fix use babel condition.
11267 (parseSingleLyXformat2Token): Correct font when reading old floats.
11269 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11271 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11272 inserting list of floats.
11274 2002-04-25 Herbert Voss <voss@lyx.org>
11276 * MenuBackend.C (expand): don't add the graphics extensions to the
11279 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11281 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11282 non-existing layout, do not complain if it was the default layout
11283 of the original class (bug #342)
11285 2002-04-24 Juergen Vigna <jug@sad.it>
11287 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11288 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11290 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11292 * buffer.C (getBibkeyList): If using \bibliography, return the
11293 option field with the reference itself. Enables us to provide natbib
11294 support when using \bibliography.
11296 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11298 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11300 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11301 natbib is provided by the LaTeX class.
11303 2002-04-23 Juergen Vigna <jug@sad.it>
11305 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11308 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11310 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11312 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11314 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11315 ensuremath around textordmasculine, textordfeminine and
11318 2002-04-19 Juergen Vigna <jug@sad.it>
11320 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11321 reinitializing the buffer otherwise row-dimensions may be wrong.
11322 (update): reset also the selection cursors if they do exits otherwise
11323 their x/y positions may be wrong.
11325 * text2.C (cursorDown): don't enter the inset if we came from a row
11326 above and are one row over the inset.
11328 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11329 really leaving an inset.
11331 2002-04-18 Juergen Vigna <jug@sad.it>
11333 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11334 of the selected paragraph does not have the selected layout also if
11337 * text2.C (setLayout): fixed bug which did not change last selected
11340 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11341 changed the read and substituted \\end_float with \\end_inset!
11343 * BufferView_pimpl.C (cursorPrevious):
11344 (cursorNext): fixed to make it work with rows heigher than the work
11345 area without moving the cursor only the draw of the row.
11346 (workAreaMotionNotify): fix jumping over high rows.
11348 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11350 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11353 2002-04-16 Juergen Vigna <jug@sad.it>
11355 * text2.C (setCursor): set also the irow().
11356 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11358 (cursorDown): support for locking an inset if the x_fix value goes
11359 inside it. That way I can transverse insets too with cursor up/down.
11361 * lyxrow.h: added irow helper function same as other (i) functions.
11363 * BufferView_pimpl.C (cursorPrevious):
11364 (cursorNext): fixed for insets!
11366 2002-04-15 Juergen Vigna <jug@sad.it>
11368 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11369 position otherwise it is wrong in some cases.
11371 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11372 inside the inset before the call.
11374 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11376 * buffer.[Ch] (getBibkeyList): make it const.
11378 2002-04-12 Juergen Vigna <jug@sad.it>
11380 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11382 * text2.C (getCursorX): new helper function
11383 (setCursor): compute also ix_
11384 (setCursorFromCoordinates): set also ix.
11386 * lyxcursor.h: added ix_ and helper functions.
11388 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11390 * buffer.C (insertStringAsLines): dont break paragraph if the this
11391 paragraph is inside an inset which does not permit it!
11393 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11394 also with no chars on this paragraph.
11395 (paintRowText): only paint stuff if it's inside the workarea!
11397 * paragraph.C (breakParagraph): honor keepempty flag and break the
11398 paragraph always below not above.
11400 * BufferView2.C (unlockInset): update the paragraph layout on inset
11401 unlock as we changed paragraph in such a case.
11403 * lyxfind.C (LyXFind): clear the former selection if not found!
11405 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11406 again called in insertChar().
11408 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11409 an inset which uses the whole row!
11410 (rightMargin): ditto.
11411 (insertChar): force a rebreak if we inserted an inset!
11413 2002-03-28 Herbert Voss <voss@lyx.org>
11415 * lyxlength.[Ch]: add inBP() to get the right PS-point
11416 units (BigPoint). With inPixels we have rounding errors
11418 2002-04-11 Juergen Vigna <jug@sad.it>
11420 * text2.C (setCursorFromCoordinates): set iy to the right value.
11421 (setCursor): add check if row->previous exists!
11423 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11424 an old float_type as this was the case in the old code!
11426 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11428 * BufferView2.C (showLockedInsetCursor): use iy
11429 (fitLockedInsetCursor): ditto
11431 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11432 locked insets as there we have the right value now.
11434 * lyxcursor.C: added iy_ variable and iy functions to set to the
11435 baseline of cursor-y of the locked inset.
11437 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11438 (setCursor): fixed for insets which need a full row.
11440 * text.C (rowLastPrintable): don't ignore the last space when before
11441 an inset which needs a full row.
11442 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11443 as last character of a row when before a inset which needs a full row.
11445 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * version.C.in: update date
11449 * text2.C (fullRebreak): try to always return true and see what
11452 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11454 * MenuBackend.C (expand): use Floating::listName
11456 * FloatList.C (FloatList): add listName argument to the built-in
11459 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11460 text associated with the float.
11462 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11464 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11466 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * ShareContainer.h: add a couple of missing typenames.
11470 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11472 * lyxrc.C (getDescription): use _() correctly rather than N_().
11474 2002-03-28 Herbert Voss <voss@lyx.org>
11476 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11477 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11479 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11481 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11482 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11484 2002-03-29 Juergen Vigna <jug@sad.it>
11486 * lyxfunc.C (dispatch): add a missing fitCursor call.
11488 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11489 it was scrolled by a cursor move, so return the bool status.
11491 * BufferView.C (fitCursor): return the bool flag also to the outside
11492 world as this is needed.
11494 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11496 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11497 call the edit() as it is not needed (and wrong) IMO.
11498 (workAreaButtonPress): set the screen_first variable before evt.
11499 unlock the inset as this may change screen_first and then we have
11500 a wrong y position for the click!
11502 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11504 * MenuBackend.C (expand): another translation that I missed
11506 2002-03-28 Juergen Vigna <jug@sad.it>
11508 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11510 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11512 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11514 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11516 * MenuBackend.C (expand): fix export/view/update when there is no
11519 2002-03-27 Herbert Voss <voss@lyx.org>
11521 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11524 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * bufferview_funcs.C (currentState): only show paragraph number
11527 for is DEVEL_VERSION is set.
11529 * lyxfunc.C (dispatch): put warning in INFO channel
11531 * MenuBackend.C (expand): translate the name of floats
11533 * FloatList.C (FloatList): mark the float names for translation
11535 * converter.C (convert): use LibScriptSearch
11537 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11539 * MenuBackend.C (defaults): fix default menu (we might as well get
11542 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11547 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * lyxvc.C: reorder includes.
11551 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11553 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11556 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11558 * CutAndPaste.C: change layouts earlier on paste
11559 to avoid crashing when calling getFont()
11561 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11563 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11566 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11568 * WorkArea.C: remove 'Pending' debug message.
11570 * most files: ws cleanup
11572 * buffer.[Ch]: ws changes
11574 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11576 2002-03-21 Juergen Vigna <jug@sad.it>
11578 * tabular.C (SetMultiColumn): collapse also the contents of the
11579 cells and set the last border right. Added a Buffer const * param.
11581 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11583 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11586 2002-03-19 Juergen Vigna <jug@sad.it>
11588 * text2.C (clearSelection): reset also xsel_cache.
11590 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11591 where it needs to be called (John tells us to do so too :)
11592 (selectionLost): reset sel_cache.
11594 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11596 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * text2.C (setCursorIntern): put debuging code in INSETS channel
11600 2002-03-19 André Pönitz <poenitz@gmx.net>
11602 * lyxfunc.C: tiny whitespace change
11604 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11606 * ToolbarDefaults.C (init):
11607 * LyXAction.C (init):
11609 * BufferView_pimpl.C (Dispatch):
11610 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11612 2002-03-19 Allan Rae <rae@lyx.org>
11614 * exporter.C (Export): removeAutoInsets before doing anything else.
11615 While I've just introduced a dependency on BufferView this really is
11616 the best place to clean the buffer otherwise you need to cleanup in
11617 a dozen places before calling export or cleanup in a dozen functions
11620 * converter.C (runLaTeX):
11621 (scanLog): Better handling of removeAutoInsets and screen updates.
11623 * lyxfunc.C (dispatch): small whitespace changes
11625 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11627 * WorkArea.C (C_WorkAreaEvent): return a value.
11628 (event_cb): return 1 if we handled the event, 0 otherwise.
11630 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11632 2002-03-18 Juergen Vigna <jug@sad.it>
11634 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11635 (GetAdditionalWidth): ditto.
11636 (RightLine): ditto.
11639 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11640 inset if we're there actually (probably not used right now but this
11641 is the direction to go for unifying code).
11642 (paste): disable code to clear the selection.
11644 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11645 inside an InsetText and move the check further up as it is in the
11648 * text2.C (pasteSelection): set a selection over the pasted text.
11650 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11652 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11653 and libgraphics to build on Cygwin.
11655 2002-03-15 Juergen Vigna <jug@sad.it>
11657 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11658 inserting an Inset into the paragraph. I know this is not the best
11659 fix but we already use current_view in CutAndPaste so we will remove
11660 all of it's using at the same time.
11662 * buffer.C (sgmlError): deactivated function till it is rewritten in
11663 the right mode, now it can create problems.
11665 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11666 before accessing it.
11668 2002-03-14 Juergen Vigna <jug@sad.it>
11670 * undo_funcs.C (textHandleUndo): do the right thing when updating
11671 the inset after the undo/redo.
11673 * text2.C (setCursor): just some testcode for #44 not ready yet.
11675 * undo_funcs.C (textHandleUndo): set the next() and previous()
11676 pointers of the paragraph to 0 before deleting otherwise we have
11677 problems with the Paragraph::[destructor].
11679 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11680 on a paragraph insertion.
11682 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * buffer.C (asciiParagraph): use += operator for char append to
11687 * paragraph.C (getFontSettings): compare >= not just >
11688 (highestFontInRange): ditto
11691 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * paragraph.C: change several algorithm to be more appripriate for
11694 the problem domain. This is lookip in FontList and in the InsetList.
11696 2002-03-13 André Pönitz <poenitz@gmx.net>
11699 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11701 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11706 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11708 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11710 * Painter.C (display): anon helper function, adjust code for this
11712 (pixmap): remove function.
11714 * Painter.h: remove private display variable.
11716 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11718 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11720 * WorkArea.[Ch]: remove figinset_canvas cruft.
11722 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11724 * lyxtextclass.C (operator): add one item cache optimization.
11726 * bufferlist.h: doxy changes
11728 * bufferlist.C: ws changes
11730 * DepTable.[Ch] (ext_exist): place const in the right spot.
11732 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11734 (workAreaExpose): call resizeInsets when the with BufferView changes.
11735 (Dispatch): adjust for protectedBlank removal
11736 (specialChar): call updateInset if the insert went ok.
11738 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11739 specialChar instead.
11741 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11743 * BufferView.h: doxy change
11745 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11747 * lyxtextclass.C (operator[]): remove non-const version
11748 (defaultLayout): remove non-const version
11750 2002-03-12 Juergen Vigna <jug@sad.it>
11752 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11753 did resize the LyXText too.
11755 * buffer.C (readLyXformat2): set layout information on newly allocated
11758 * tabular.C (OldFormatRead): set layout information on the paragraph.
11760 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11762 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11764 2002-03-11 Juergen Vigna <jug@sad.it>
11766 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11768 (resizeCurrentBuffer): force also the insets to resize themselfes.
11769 (moveCursorUpdate): fixed up for InsetText.
11771 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11774 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11775 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11776 value of Dialogs::tooltipsEnabled().
11777 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11779 2002-03-08 Juergen Vigna <jug@sad.it>
11781 * BufferView_pimpl.C (updateInset): update inset inside inset also
11782 if it isn't inside theLockingInset().
11784 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * buffer.C (asciiParagraph): redo some of the word and line length
11788 (getLists): look for Caption instead of caption.
11790 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11792 * buffer.C (Buffer): initialize niceFile to true
11794 (makeLinuxDocFile):
11795 (makeDocBookFile): make sure niceFile is true on exit
11797 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11799 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11801 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11803 * LyXSendto.C: remove.
11804 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11805 * lyx_gui.C: remove now-redundant comment.
11806 * ColorHandler.h: remove forward declaration of class WorkArea.
11807 * lyxfunc.C: remove #include "WorkArea.h".
11809 2002-03-07 Juergen Vigna <jug@sad.it>
11811 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11812 got moved away with the DEPM and also set the inset_owner always
11813 right which before could have been omitted.
11815 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11818 wanted layout is not found.
11820 2002-03-07 Juergen Vigna <jug@sad.it>
11822 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11824 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * paragraph.C (breakParagraph): use default layout not layout of
11828 (Paragraph): clear ParagraphParameters.
11830 2002-03-06 Juergen Vigna <jug@sad.it>
11832 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11833 otherwise it would not be a valid lenght. Fixed a special case in
11834 the minipage compatibility read where we end the document with a
11837 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11838 was set as it could be 0 for InsetTexts first entry.
11840 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11842 * paragraph.C (writeFile): if layout is empty write out
11843 defaultLayoutName().
11845 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11846 file without named layout we set layout to defaultLayoutName().
11848 2002-03-06 Juergen Vigna <jug@sad.it>
11850 * CutAndPaste.C (copySelection): set layout for new paragraph.
11852 * text.C (prepareToPrint): leave ERT inset left aligned
11853 (leftMargin): don't indent paragraphs inside ERT insets
11855 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11857 * paragraph.C (breakParagraph): dont call clear do the work manually
11859 * paragraph.[Ch] (clear): remove function
11861 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11863 * paragraph.C (Paragraph): dont call clear, the work has already
11866 * lyxtextclass.C (operator): assert if n is empty
11868 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11869 work manually instead.
11871 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11873 * BufferView_pimpl.C: protect selectionLost against text == 0
11875 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * text.C (breakParagraph): fix a setting layout to '0' problem.
11879 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11881 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11882 final location of file, for the included files, and graphics.
11884 2002-03-05 Juergen Vigna <jug@sad.it>
11886 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11888 2002-03-04 Juergen Vigna <jug@sad.it>
11890 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11892 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11893 last column of multicolumn cells.
11894 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11896 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11898 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11899 file if it doesn't go to a temporary file.
11901 * buffer.C (sgmlOpenTag):
11902 (sgmlCloseTag): remove extra newline insertion.
11904 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11906 * text.C (getRowNearY): comment out debug msg
11908 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * text2.C: first -> first_y
11912 * text.C (getRowNearY): add some attemts at a possible
11913 optimization, not working.
11915 * tabular.[Ch]: add BufferParams to several function so that newly
11916 created paragraph can be initialized to he default layotu for the
11919 * tabular-old.C (ReadOld): add buf->params to call of Init
11921 * screen.C: rename text->first to text->first_y
11923 * paragraph.C (breakParagraph): always set layout in the broken
11926 * lyxtextclass.C (Read): remove lowercase
11929 (delete_layout): ditto
11931 * lyxtext.h: rename first -> first_y
11933 * lyxlayout.C (Read): remove lowercase
11936 (obsoleted_by): ditto
11938 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11940 * buffer.C (insertErtContents): add params are to InsetERT
11941 (parseSingleLyXformat2Token): add code to check if a paragraphs
11942 layout really exist.
11943 (parseSingleLyXformat2Token): add params to several inset
11945 (asciiParagraph): remove lowercase, do the layout comparisons with
11948 * BufferView_pimpl.C (cursorNext): first -> first_y
11949 (resizeCurrentBuffer): first -> first_y
11950 (updateScrollbar): first -> first_y
11951 (scrollCB): first -> first_y
11952 (workAreaMotionNotify): first -> first_y
11953 (workAreaButtonPress): first -> first_y
11954 (checkInsetHit): first -> first_y
11955 (cursorPrevious): first -> first_y
11956 (cursorNext): first -> first_y
11957 (Dispatch): add buffer_->params to severl inset contructors
11959 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * lyxlayout.C (Read): remove some debug info that I forgot.
11963 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11964 clean up the code slightly.
11965 (makeLinuxDocFile): ditto
11966 (makeDocBookFile): ditto
11968 * text2.C: layout as string
11970 * text.C: layout as string
11972 * paragraph_pimpl.C: layout as string
11974 * paragraph.[Ch]: layout as string
11976 * lyxtextclasslist.[Ch]: layout as string
11978 * lyxtextclass.[Ch]: layout as string
11980 * lyxtext.h: layout as string
11982 * lyxlayout.[Ch]: layout as string
11984 * lyx_cb.C: layout as string
11986 * bufferview_funcs.C: layout as string
11988 * bufferparams.C: layout as string
11990 * buffer.C: layout as string
11992 * LyXView.[Ch]: layout as string
11994 * LaTeXFeatures.[Ch]: layout as string
11996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11998 * BufferView_pimpl.C: change current_layout to string, remove
12003 (workAreaButtonRelease): layout as string
12005 * BufferView2.C (unlockInset): adjust
12007 * vspace.C (asLatexCommand): use an explict temp variable.
12009 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12011 * Makefile.am: use FRONTEND_*
12013 2002-03-01 Juergen Vigna <jug@sad.it>
12015 * tabular.C (SetWidthOfMulticolCell): changed to something better
12016 I hope but still work in progress.
12017 (recalculateMulticolumnsOfColumn): renamed function from
12018 recalculateMulticolCells as it is more appropriate now.
12019 (SetWidthOfCell): calculate multicols better.
12021 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12025 * lyxfunc.C (processKeySym): print sequence also if it is
12026 `deleted' (complete)
12028 * kbsequence.C (print): print sequence even if it is deleted
12029 (complete would be a better word, actually).
12031 * lyxfunc.C (dispatch): print complete options after a prefix key
12033 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12035 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12037 * text2.C (setCharFont): eliminate setCharFont code duplication.
12039 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12041 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12042 LFUN_TABULAR_FEATURE (bug #177)
12044 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12046 * Makefile.am: remove figure.h
12048 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12050 * Bufferview_pimpl.C:
12062 * text2.C: remove #include "lyx_gui_misc.h".
12064 * LaTeX.C: added #include <cstdio>
12066 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12068 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12069 that the paragraph following this one can have.
12071 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12073 * vspace.C (asLatexCommand): fix bogus gcc warning
12075 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12077 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12079 * text2.C (setLayout): get rid of redundant code
12081 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12083 * text2.C (incDepth): make sure depth cannot be increased beyond
12086 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12088 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12089 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12091 * PainterBase.h (image):
12092 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12093 a LyXImage const *.
12095 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12099 * BufferView_pimpl.C:
12100 * BufferView_pimpl.h:
12120 * sp_spell.C: remove fig inset, and the crap house of
12121 cards that follows it
12123 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12128 * os2_errortable.h:
12129 * nt_defines.h: move .h into support/
12131 * vms_defines.h: remove
12133 * WorkArea.C: add space in debug output
12137 * buffer.C: add WITH_WARNINGS
12141 * bufferlist.C: s/retrive/retrieve/, add docs
12150 * chset.C: add docs
12152 * lyxgui.C: add ID to X error handler
12154 * lyxtestclass.c: fix typo
12156 2002-02-26 Juergen Vigna <jug@sad.it>
12158 * tabular_funcs.C (write_attribute): changed so that some default
12159 attributes are not written at all.
12160 (getTokenValue): set default values before trying to read the
12161 value so we have the return value always set as default if we don't
12162 find the token we search for.
12164 * tabular.C (Write): write bools as bools not as strings!
12166 2002-02-22 Juergen Vigna <jug@sad.it>
12168 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12169 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12171 * text.C (leftMargin): don't add an indent for paragraphs inside
12172 tabular cells (fix #208).
12174 2002-02-21 José Matos <jamatos@fep.up.pt>
12176 * tabular.C (docBook): fixed support for long tables.
12178 2002-02-20 Juergen Vigna <jug@sad.it>
12180 * text2.C (getFont): get the drawing font of the Inset if this
12181 paragraph is inside an inset (only important for InsetERT for now).
12183 * buffer.C (insertErtContents): use new lanugage params in ERT
12186 * CutAndPaste.C: commenting out seemingly uneeded code.
12188 2002-02-19 Allan Rae <rae@lyx.org>
12190 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12191 Iterators might be simple to use but they also get invalidated.
12192 (removeAutoInsets): renamed saved cursor tracking variables and added
12193 some comments to clarify what everything does.
12195 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12202 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12203 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12206 * vc-backend.h: remove #include "support/syscall.h"
12210 * converter.C: rearrange #includes in Lars' approved fashion.
12212 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12213 forward declare class Timeout in the header file.
12215 * XFormsView.C: changes due to the above.
12217 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12218 similar to LyXView.
12220 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12221 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12223 2002-02-18 José Matos <jamatos@fep.up.pt>
12225 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12228 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12230 * a lot of small ws changes
12231 * add a lot of using std::XXX
12232 * use std construcs some places where approp.
12233 * use some exisint stuff from lyxfunctional where approp.
12234 * Make file changes to use partial linking (lets test this now...)
12236 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12240 remove #include "support/syscontr.h" as it's redundant. Always has been.
12248 change Systemcalls::System to Systemcalls::Wait and
12249 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12250 No change of functionality, just reflects the stripped down Systemcalls
12253 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12255 * debug.[Ch]: add a GRAPHICS type to the enum.
12257 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12259 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12261 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12264 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12266 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12267 match the changes below.
12269 * text2.C (toggleInset): if there is not editable inset at cursor
12270 position, try to see if cursor is _inside_ a collapsable inset
12273 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12276 document menu has a nice checkbox
12278 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * lyxlength.C (asLatexString): change PW to output as percent of
12283 * lengthcommon.C: change '%' to 't%'
12285 * lyxfunc.C (dispatch): a few comments from Martin
12287 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12291 * BufferView_pimpl.h:
12292 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12295 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12297 * vspace.C (inPixels): fix compiler warning
12299 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * lyxfunc.C (getStatus): fix status message for disabled commands.
12303 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12305 * BufferView_pimpl.C: fix crash on close buffer
12306 during selection (#227)
12308 2002-01-27 Herbert Voss <voss@lyx.org>
12310 * buffer.C: link old Figure to new graphic inset
12312 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12314 * FontLoader.C (getFontinfo): Change the latex font names in order
12315 to match the names of type1inst.
12317 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12319 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12321 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12322 (extchanged): ditto
12324 (remove_files_with_extension): ditto
12325 (remove_file): ditto
12328 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12329 document is smaller than the work area height. Do not initialize
12330 static variables to 0.
12332 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12336 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12337 LFUN_LAYOUT_PARAGRAPHS.
12339 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12340 tabular. It is possible to provide a possible cell, which will
12341 typically be the actcell from the corresponding insettabular
12343 * lyxfunc.C (getStatus): small cleanup; disable
12344 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12347 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12349 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12351 * paragraph.C (startTeXParParams):
12352 (endTeXParParams): new methods. The LaTeX code to
12353 start/end paragraph formatting
12354 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12355 empty (fixes bug #200)
12357 * vspace.C (inPixels): adapt to the change below
12358 (inPixels): [later] more cleanups (remove unused variables)
12360 * lyxlength.C (inPixels): change to use a width and a height as
12363 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12365 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12366 Replaced with \paperwidth
12368 * DepTable.C (insert): add std:: qualifier
12370 2002-01-18 Allan Rae <rae@lyx.org>
12372 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12375 * text.C (drawInset): Turned out I didn't know enough about how
12376 rebreaking worked. This fixes most of the redraw problems. I see
12377 an occasional cursor trail when a line is broken now and the cursor
12378 placement can seem out by a few pixels also after a rebreak.
12380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * buffer.C (parseSingleLyXformat2Token): update because minipage
12383 width is now a LyXLength
12385 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12387 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12390 2002-01-17 Juergen Vigna <jug@sad.it>
12392 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12394 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12395 is set correctly and the inset is updated correctly.
12397 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12399 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12400 the beginning of the loop.
12402 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12404 * lyxrc.C: improve help for use_scalable_fonts
12406 2002-01-17 Allan Rae <rae@lyx.org>
12408 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12410 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12412 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12413 make sure to set their inset_owner to the right value (bug #171)
12415 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12418 * DepTable.C: Implement mtime checking to reduce time spent doing
12421 2002-01-16 Juergen Vigna <jug@sad.it>
12423 * tabular.C (GetAdditionalHeight): one of error fixed.
12425 * lyxrc.C (output): small fix in writing use_pspell.
12427 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12429 * sp_base.h: #include LString.h
12431 2002-01-16 Allan Rae <rae@lyx.org>
12433 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12434 Can someone check this please?
12436 * text.C (drawInset): It was possible that p.row would be removed by
12437 breakAgainOneRow upsetting a few other settings. There may be another
12438 small tweak possible by setting need_break_row = 0 when p.row has been
12439 removed but I don't know enough about the logic here.
12441 2002-01-15 Allan Rae <rae@lyx.org>
12443 * text.C (insertChar): removed conditional truism.
12445 * BufferView2.C (removeAutoInsets): More tweaks.
12446 cur_par_prev could be a stray pointer. Check for trailing empty line
12447 in case last line was cur_par and only had an error inset on it.
12449 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12451 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12454 * vc-backend.C (most methods):
12455 * exporter.C (Export):
12456 * converter.C (convert):
12458 * LyXSendto.C (SendtoApplyCB):
12459 * lyxfunc.C (dispatch):
12463 * lyx_cb.C (AutoSave):
12465 * BufferView_pimpl.C (MenuInsertLyXFile):
12466 * buffer.C (runChktex): use Buffer::filePath().
12468 * buffer.h: rename filename to filename_; rename filepath to
12469 filepath_ and make it private
12470 (filePath): new method
12472 * buffer.C (writeFile): use fileName()
12475 * lyx_main.C (init): fix starting of LyX when the binary is a
12476 link from so,ewhere else.
12478 * minibuffer.C: include <cctype> for isprint
12480 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12482 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12483 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12484 name clash with InsetCollapsable's width function.
12486 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * lastfiles.C: include <iterator>
12490 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12492 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12495 * buffer.C (makeLaTeXFile): ditto.
12496 Also make loop operation more transparent.
12498 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12500 * ToolbarDefaults.C: remove trailing comma closing namespace.
12502 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12504 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12507 * trans.C (Load): comment out unused variable, allowed.
12509 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12511 * minibuffer.[Ch] (append_char): new method to recieve input from the
12512 drop-down completion browser. If a key was pressed, then recieve this
12513 char and append it to the existing string.
12514 (peek_event): modify the positioning data passed to the completion
12515 browser so that it can be placed above the minibuffer rather than below.
12516 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12518 * LyXAction.C (init): alloe error-next for readonly documents.
12520 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12523 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * bufferlist.C (readFile): create the buffer _after_ checking that
12528 * lyxfunc.C (verboseDispatch): fix handling of arguments
12530 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12532 * lyxrc.C: use string::erase() instead of initializing to "".
12535 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12537 * BufferView_pimpl.h:
12538 * BufferView_pimpl.C:
12541 * text2.C: tell X when we have made a selection for copying
12543 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * BufferView_pimpl.C (MenuInsertLyXFile):
12546 * lyxfunc.C (menuNew):
12548 (doImport): add shortcuts to directory buttons
12550 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12553 * lyxfunc.C (setStatusMessage):
12554 (getStatusMessage): new methods
12555 (getStatus):use setStatusMessage instead of setErrorMessage
12556 (dispatch): when function is disabled, set error message here
12557 [instead of in getStatus previously]
12559 * BufferView_pimpl.C (workAreaButtonRelease): update
12560 toolbar/menubar here too.
12562 2002-01-13 Allan Rae <rae@lyx.org>
12564 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12565 Now seems indestructible. Remaining task is to audit all other
12566 code affected by deleteEmptyParagraphMechanism. One small quirk
12567 left is that an empty document with an error in the preamble can
12568 be made to report an error but no error box appears. I don't know
12570 (removeAutoInsets): Improved comments.
12572 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12575 * Thesaurus.C: update for Aiksaurus 0.14
12577 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * text2.C (firstParagraph): removed member function, all uses
12580 replaces with ownerParagraph
12581 (redoParagraphs): here
12582 (updateInset): here
12583 (toggleAppendix): here
12584 * BufferView2.C (insertErrors): here
12585 (setCursorFromRow): here
12587 2002-01-13 Allan Rae <rae@lyx.org>
12589 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12590 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12591 There is still a way to segfault this although you may have to do this
12592 multiple times: Have an InsetERT with an unknown command in it.
12593 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12594 <down-arrow>, <Enter> again, View->DVI, BANG!
12596 * text2.C (setCursor):
12597 (deleteEmptyParagraphMechanism):
12598 * lyxtext.h (setCursor):
12599 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12600 Making use of the return value may help fix other bugs.
12602 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12606 * LyXView.C (updateMenubar): call MenuBar::update here
12607 (updateToolbar): but not here
12608 (showState): do not update toolbar/menubar
12610 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12611 should need to care about that.
12613 * lyxfunc.C (verboseDispatch): simplify a bit
12614 (getStatus): have a version which takes a pseudoaction, and
12615 another which requires a (kb_action,string).
12617 * LyXAction.C (retrieveActionArg): make it work also when action
12618 is not a pseudo-action.
12619 (getActionName): simplify a bit
12622 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12624 * lyxfunc.C (verboseDispatch): new families of methods with
12625 several ways to specify a command and a bool to indicate whether
12626 the command name and shortcut should be displayed in minibuffer
12627 (eventually, we could extend that to a finer bitmask like
12628 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12629 (dispatch): the pristine dispatch command which just, well,
12630 dispatchs! Note it still sets its result to minibuffer; I'm not
12633 * lyxfunc.h: remove setHintMessage
12635 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12637 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12639 * BufferView_pimpl.C (specialChar): delete new inset if we have
12640 not been able to insert it.
12642 * kbmap.C: revert to using int instead of kb_action, since all we
12643 are dealing with is pseudo-actions.
12645 * LyXAction.C (searchActionArg): change to return int instead of
12646 kb_action, since the result is a pseudoaction.
12648 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12650 * buffer.C (insertErtContents): Fix (partially) the font bug.
12652 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12654 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12655 as the other one is broken on my machine!
12657 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12660 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12662 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12664 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12665 reflect their actual use. Provide compatibility code for older lyxrc
12668 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12670 change names of popup font variables in line with the changes to lyxrc.C
12672 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12674 * buffer.C (asciiParagraph): avoid outputing a word twice after
12677 * lyxrc.C (getDescription): document that document_path and
12678 template_path can be empty.
12680 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12682 * LaTeXFeatures.C (getMacros):
12683 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12685 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12687 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12689 (getPackages): rename feature "floats" to "float". Use an array to
12690 iterate over 'simple' features (i.e. just a \usepackage). Add
12691 handling of "amsmath" (renamed from "amsstyle").
12693 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12695 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12698 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12700 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12701 FuncStaus::FuncStatus & FuncStaus::some_method().
12703 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12705 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12706 of the func_satus stuff. Edited and massaged in various ways by
12709 * lyxfunc.C (getStatus): use FuncStatus
12711 2002-01-08 Juergen Vigna <jug@sad.it>
12713 * text.C (nextBreakPoint): use function Inset::isChar().
12715 * paragraph.C (TeXOnePar): use function
12716 Inset::forceDefaultParagraphs.
12718 * buffer.C (latexParagraphs): use function
12719 Inset::forceDefaultParagraphs.
12721 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12723 * lyx_gui.C (init): set the style of the menu popups to
12724 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12726 2002-01-07 Juergen Vigna <jug@sad.it>
12728 * text.C (setHeightOfRow): small fix
12729 (prepareToPrint): don't look at alignment if we don't have the place
12732 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12734 * box.C: New file. Move the Box methods and functions out of box.h,
12735 following Lars' suggestion.
12737 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12739 * box.h: #include "support/LOstream.h", needed for inlined function.
12742 * lyxtextclasslist.C: added some using std declarations.
12744 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12746 * box.h: make signed dimensions to allow insets wider than
12747 the screen (bug #162)
12749 * BufferView_pimpl.C: add some insetHit debug
12751 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12753 * vc-backend.C: add FIXME
12755 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12757 * lyxfunc.C (getStatus): enable code for showing math font status
12760 2002-01-07 Juergen Vigna <jug@sad.it>
12762 * text.C (nextBreakPoint): removed debug output not needed anymore.
12764 2002-01-06 Juergen Vigna <jug@sad.it>
12766 * text.C (nextBreakPoint): fixed up this function we had this bug
12767 since ever but now hopefully we break row better.
12768 (insertChar): we have to check if an inset is the next char as it
12769 could now happen that a large inset is causing a break.
12771 2002-01-05 Juergen Vigna <jug@sad.it>
12773 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12774 if it doesn't like to be drawed.
12776 2002-01-04 Juergen Vigna <jug@sad.it>
12778 * BufferView2.C (lockInset): forgot to set a cursor.
12780 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12782 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12784 * FormMathsPanel.C:
12787 * form_maths_panel.C:
12788 * form_maths_panel.h:
12789 * form_maths_panel.fd: implemented sub- and super- buttons in math
12792 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12793 (or ^ space) to be used as in TeX (req'd by André).
12795 * lyxfunc.C: Allow ^ and _ again to be used both as
12796 super/subscript (mathed) and as themselves (in text).
12798 2002-01-03 Allan Rae <rae@lyx.org>
12800 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12801 "LyX" or the filename of the current buffer if it has one. This is a
12802 modified form of John Levon's patch.
12804 * XFormsView.C (setWindowTitle): also set icon title.
12806 * LyXView.h (setWindowTitle): signature changed.
12807 * XFormsView.h (setWindowTitle): ditto.
12809 2002-01-02 Juergen Vigna <jug@sad.it>
12811 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12813 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * screen.C (topCursorVisible): introduce a temp var for
12816 text->cursor.row(), handle the case where this row is null. (kindo
12819 * text2.C (setCursor): add a couple of asserts.
12821 * paragraph.h (inset_iterator): add -> operator
12823 * paragraph.[Ch] (autoDeleteInsets): remove member function
12825 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12826 cursor pos correctly and handle inset deletion by itself.
12827 (insertErrors): move iterator declaration out of for expression
12829 * lyxtextclass.C: add <algorithm>
12831 * Makefile.am: added the new files to sources, removed layout.C
12833 * layout.C: removed file
12835 * layout.h: remove LYX_DUMMY_LAYOUT
12837 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12841 * lyxtextclass.[Ch]:
12842 * lyxtextclasslist.[Ch]: new files
12844 * include order changes to a lot of files, also changes because of
12847 2001-12-27 Juergen Vigna <jug@sad.it>
12849 * buffer.C (asciiParagraph): more fixes.
12851 * tabular.C (ascii): make ascii export support export of only the
12852 data separated by a column-delimiter.
12853 (ascii): better support for ascii export.
12855 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12857 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12859 * tabular_funcs.C: use a "using std::getline" instead of the
12860 previous fix from Angus (necessary for cxx + lyxstring)
12862 2001-12-24 Juergen Vigna <jug@sad.it>
12864 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12866 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12867 problems. First check a minipage also if we have some ert-contents
12868 (not only on par->size(), second set the right depth of the paragraph
12869 on the relink to the root-paragraph-list!
12871 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12872 which then did not anymore update the main paragraphs on undo/redo!
12874 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12876 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12877 code. Support all font-changing funcs (even those which are not in
12878 menu currently). Support for reporting font settings in
12879 mathed (disabled until Andre provides a function on mathed's side).
12881 * func_status.h (toggle): small helper function to set toggle
12884 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12886 * tabular_funcs.C: getline -> std::getline
12888 2001-12-21 Juergen Vigna <jug@sad.it>
12890 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12891 accessed and could be 0 (I couldn't generate this but it seems
12894 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12896 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12897 * tabular_funcs.h: here and include iosfwd
12899 2001-12-20 Juergen Vigna <jug@sad.it>
12901 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12902 inside inset but undo_par was.
12904 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12906 * Thesaurus.C: always include <config.h> in sources.
12910 * box.h: do not include <config.h> in header files
12912 * text.C (paintLastRow): remove unused variable
12914 * text.C (transformChar):
12916 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12918 * Painter.C (text):
12919 * font.C (width): rewrite to use uppercase() instead of
12922 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12924 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12926 * lyxfind.C: clean up of find failure position change
12928 2001-12-20 Juergen Vigna <jug@sad.it>
12930 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12932 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12933 (TeXRow): added to LaTeX a single tabular row.
12934 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12935 (Latex): simplified and finally good LT-h/f support.
12936 (various_functions): just small adaptions for LT-h/f support.
12938 * tabular_funcs.[hC]: added and moved here all not classfunctions
12941 2001-12-19 Juergen Vigna <jug@sad.it>
12943 * tabular.[Ch]: better support for longtabular options (not finished
12946 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * text.C (paintLastRow): use the label font instead of the font of
12949 the last character to compute the size of *_BOX. This makes more
12950 sense and avoids a crash with empty paragraphs.
12951 Use Painter::rectangle to draw EMPTY_BOX.
12953 2001-12-19 Juergen Vigna <jug@sad.it>
12955 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12956 the paragraphs if the replaced paragraph is not the first one!
12957 Tried to delete not used paragraphs but does not work yet so for
12958 now it's inside #ifdef's and by default off!
12960 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12962 * MenuBackend.C: include "lyx_main.h" instead of declaring
12963 lastfiles (actually was declared as LastFiles* instead of a
12966 2001-12-17 Juergen Vigna <jug@sad.it>
12968 * tabular.C (AppendColumn): applied John's fix
12970 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12974 * BufferView_pimpl.h:
12975 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12978 * box.h: new start of class for above
12980 * lyxfunc.C: ignore space-only minibuffer dispatches.
12981 Show the command name when it doesn't exist
12983 * minibuffer.C: don't add empty lines to the history
12985 * minibuffer.C: add a space on dropdown completion
12987 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12989 * text.C: fix line above/below drawing in insets
12991 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * lyxlength.C (LyXLength): Initialize private variables.
12995 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12998 when inserting error insets.
13000 2001-12-13 Juergen Vigna <jug@sad.it>
13002 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13003 actually sometimes the before-paragraph.
13004 (setUndo): don't clear the redostack if we're not actually undoing!
13006 2001-12-06 Juergen Vigna <jug@sad.it>
13008 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13009 and fixed redoing of main paragraph, so we can use it now ;)
13011 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13013 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13015 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13018 2001-12-13 André Pönitz <poenitz@gmx.net>
13021 * undo_func.C: minor cleanup
13023 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13025 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13026 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13027 font in urw-fonts package which is marked as -urw-fontspecific and
13028 does not work (incidentally, changing the encoding in the
13029 fonts.dir of this package to -adobe-fontspecific fixes the
13032 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13033 is a crash when undoing first paragraph (Juergen, please take a
13034 look). THis does not mean the undo fix is wrong, just that it
13037 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13038 the (Paragraph*) version when needed instead of duplicating the
13041 * text.C (workWidth): use Inset::parOwner to find out where the
13042 inset has been inserted. This is a huge performance gain for large
13043 documents with lots of insets. If Inset::parOwner is not set, fall
13044 back on the brute force method
13046 * paragraph_pimpl.C (insertInset):
13047 * paragraph.C (Paragraph):
13048 (cutIntoMinibuffer): set parOwner of insets when
13049 inserting/removing them
13051 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13053 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13059 * mathed/formulabase.C:
13060 * mathed/math_cursor.[Ch]:
13061 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13064 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13066 * lyxlength.[Ch] (operator!=): new function
13068 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13070 * text.C (workWidth): use Inset::parOwner to find out where the
13071 inset has been inserted. This is a huge performance gain for large
13072 documents with lots of insets. If Inset::parOwner is not set, fall
13073 back on the brute force method
13075 * paragraph_pimpl.C (insertInset):
13076 * paragraph.C (Paragraph):
13077 (cutIntoMinibuffer): set parOwner of insets when
13078 inserting/removing them
13080 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13082 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13084 * tabular-old.C (getTokenValue):
13085 * tabular.C (getTokenValue):
13086 (write_attribute): new versions for LyXLength
13087 (everywhere): adjust the use of widths
13089 * tabular.h: change the type of widths from string to LyXLength
13091 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13093 * paragraph.C: fixed missing line number count when exporting
13094 Environments to LaTeX file
13096 * buffer.C: added informational message for checking line numbers.
13098 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13101 paragraph, do the 'double space' part, but not the 'empty
13104 * text.C (workWidth): small optimization
13105 (getLengthMarkerHeight): use minimal size for negative lengths.
13107 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13109 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13111 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13113 2001-12-11 André Pönitz <poenitz@gmx.net>
13116 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13118 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13120 * text2.C: keep selection on a setFont()
13122 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13124 * lyx_cb.C: another bv->text misuse, from insert label
13126 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13129 * kbsequence.C: re-instate nmodifier mask
13131 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13133 * lyx_main.h: make lyxGUI private.
13135 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13137 * lyxfind.C: place the cursor correctly on failed search
13139 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13141 * text.C (getLengthMarkerHeight): for small heights, the arrows
13142 are not always on top/bottom of the text
13143 (drawLengthMarker): smaller arrows; take the left margin in
13144 account; draw also vfills.
13146 (paintLastRow): remove special code for vfill and standard spaces,
13147 since everything is handled in drawLengthMarker now.
13149 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * buffer.C (insertErtContents): try to handle font and language
13152 interaction a bit better.g
13154 * ColorHandler.C (updateColor): change the hash to cover the whole
13155 LColor enum, ws cleanup
13156 (getGCLinepars): ditto
13157 (getGCLinepars): only lookup in the linecache once.
13159 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13161 * iterators.C (operator++): Make the iterator more robust
13163 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13170 * text.C: better added space drawing
13172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13175 * BufferView2.C: fix layout combo update on inset unlock
13177 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13179 * Makefile.am: don't compile unused files
13181 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13185 * LyXAction.C: remove old LFUN_LAYOUTNO
13187 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13189 * paragraph_pimpl.h:
13190 * paragraph_pimpl.C: isTextAt() doesn't need font param
13192 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13195 * lyxlex.C: little cleanup
13197 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13199 * BufferView_pimpl.C: fix insertAscii for insets
13201 2001-12-05 Juergen Vigna <jug@sad.it>
13203 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13204 set the right font on the "multi" paragraph paste!
13206 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13212 * lyxlength.C: remove out-commented code.
13214 * BufferView_pimpl:
13228 * vc-backend.C: change "while(" to "while ("
13230 * lyxlength.[Ch]: add zero function to check if length is zero or
13232 * lyxgluelength.C: use it
13234 2001-12-05 Allan Rae <rae@lyx.org>
13236 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13237 Works for 2.95.3, from what I understand of Garst's reports this should
13238 work for other g++ versions. We're screwed if the abs(int) definition
13239 changed between bugfix releases of gcc.
13241 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13243 * text.C: fix chapter label offset !
13245 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13248 * text.C: fix hfill at end of line, clean up
13250 2001-12-04 Juergen Vigna <jug@sad.it>
13252 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13253 that we force an update of the inset and it's owners if neccessary.
13255 2001-12-03 Juergen Vigna <jug@sad.it>
13257 * text.C (rowLast): simplified code
13259 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13261 * lyxfunc.C: fix show options on timeout
13263 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13265 * screen.C (topCursorVisible): scroll half a page when the cursor
13266 reached top of bottom of screen
13268 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13270 * minibuffer.C: deactivate on loss of focus
13272 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * vspace.[Ch] (operator!=): add operator.
13276 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13278 * BufferView_pimpl.C: refuse to open an inset when
13279 there's a selection.
13281 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13283 * BufferView_pimpl.C: allow to click on RHS of full row insets
13285 2001-11-30 Juergen Vigna <jug@sad.it>
13287 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13288 insets for undo reasons.
13290 2001-11-28 André Pönitz <poenitz@gmx.net>
13292 * vspace.[Ch]: cosmetical changes
13294 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13304 * kbsequence.C: part re-write of old kb code
13307 * WorkArea.C: remove Lgb_bug_find_hack
13309 2001-11-30 José Matos <jamatos@fep.up.pt>
13311 * buffer.C (makeDocBookFile): add a comment to point a hack.
13312 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13313 Fixed a double write of labels.
13315 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13318 * LaTeX.h Fixed bug in LaTeX class where it would not
13319 re-run latex if no depfiles were changed, but the .dvi was removed.
13321 2001-11-28 André Pönitz <poenitz@gmx.net>
13323 * all the files from the change on 2001/11/26:
13324 use lyx::layout_type instead of LyXTextClass::size_type
13325 use lyx::textclass_type instead of LyXTextClassList::size_type
13327 2001-11-29 Juergen Vigna <jug@sad.it>
13329 * text.C: added support for paragraph::isFreeSpacing()
13331 * buffer.C: same as above
13333 * paragraph.h: inserted isFreeSpacing() function to enable
13334 FreeSpacing inside InsetERT.
13336 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13337 of the paragraph's in the cut/copy buffer to 0!
13339 * text2.C (removeRow): remove the assert as it can!
13341 * lyxtext.h: added helper function firstRow returning firstrow and
13342 made firstrow private again.
13344 * BufferView2.C (lockInset): don't relock if we're already locked!
13346 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13347 the only paragraph.
13348 (removeRow): added Assert::(firstrow)
13350 * debug.C: forgot to add INSETTEXT here.
13352 2001-11-28 Juergen Vigna <jug@sad.it>
13354 * sp_spell.C (initialize): changed error text to more general
13355 spellchecker command use (not only ispell!)
13357 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13359 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13361 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13363 * vspace.C: initialise lyxgluelength on failure
13365 2001-11-28 Allan Rae <rae@lyx.org>
13367 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13368 declaration & definition that looks like a function declaration.
13370 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13372 * BufferView2.C (copy):
13373 (copyEnvironment): do not clear the selection when doing a copy.
13375 * text.C (paintFirstRow): compilation fix
13377 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13379 * tabular.C (Latex): correct line count when writing latex.
13381 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13383 * paragraph_pimpl.h:
13384 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13387 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13391 * LColor.C: change vfillline->added_space
13393 * text.C: add markers and text for added space
13395 * vspace.C: fix comment
13397 2001-11-28 André Pönitz <poenitz@gmx.net>
13399 * paragraph.C: whitespace changes
13400 * all the other files from the change on 2001/11/26:
13401 change *::pos_type into lyx::pos_type
13403 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13405 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13406 language of the document when inserting error insets.
13408 2001-11-26 André Pönitz <poenitz@gmx.net>
13410 * BufferView_pimpl.[Ch]:
13418 * paragraph_pimpl.[Ch]:
13421 * text2.C: reduce header dependencies, introduce type for positions
13423 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13425 * <various>: change to use Alert.h
13427 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13429 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13430 when encountering an unknown token.
13431 (readLyXformat2): Show an error message if there were unknown tokens.
13433 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13436 * BufferView_pimpl.C:
13440 * text2.C: use par->isInset()
13442 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13444 * paragraph_pimpl.h:
13445 * paragraph_pimpl.C: cleanup
13447 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * text2.C (removeRow):
13450 * text.C (setHeightOfRow): remove useless (and costly) call to
13453 2001-11-20 Allan Rae <rae@lyx.org>
13455 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13456 Now need Inset*::checkInsertChar() to return true for appropriate
13457 cases so that the characters in the minibuffer will actually be
13460 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * text.C: change the order of the includes.
13463 (workWidth): initialize it at once.
13464 (workWidth): make maxw unsigned
13465 (setHeightOfRow): remove unused variable (inset)
13466 (selectSelectedWord): remove unused variable (inset)
13467 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13469 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13471 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13472 server is not running.
13474 (closeConnection): add debug info when server is disabled.
13476 * ColorHandler.C (getGCForeground): send debug message to GUI
13479 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13481 * kbmap.C (bind): modify because return conventions of
13482 kb_sequence::parse have changed.
13484 * kbsequence.C (parse): only ignore spaces and not any stupid
13485 control character. This avoids tests like s[i] <= ' ', which are
13486 guaranteed to fail with 8bit characters and signed chars.
13487 Change return code to string::npos when there have been no error
13488 (0 was a bad idea when error is at first character)
13490 2001-11-14 José Matos <jamatos@fep.up.pt>
13493 * buffer.C (simpleDocBookOnePar): removed unused argument.
13495 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13498 insets which are part of a word. Paragraph::isLetter takes care of
13499 that now. Use Paragraph::isInset to identify insets.
13500 (selectSelectedWord): do not test for hyphenation break.
13502 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13503 that protected spaces are considered as spaces.
13505 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13508 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13511 * lyxserver.C: fix it. and small cleanup.
13513 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13515 * BufferView_pimpl.C: use inline helpers
13518 * LaTeXFeatures.C: fix typos
13521 * Spacing.C: move spacing_string into class
13523 * ToolbarDefaults.C: move stuff into namespace anon
13525 * layout.h: update enum
13527 * lyxfunc.C: use better debug
13529 * minibuffer.h: fix typo
13533 * WorkArea.C: add and use Debug::WORKAREA
13537 * text2.C: code re-organisation, inline helpers
13539 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13541 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13542 std::vector.empty().
13544 2001-11-09 Allan Rae <rae@lyx.org>
13546 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13547 '\n's after tables. Tabular and ERT inset work now makes this no
13550 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13553 * minibuffer.C: fix crash, improve drop-down completion
13555 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13558 * lyxserver.C: invalidate fd's when doing endPipe()
13560 2001-11-08 José Matos <jamatos@fep.up.pt>
13562 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13563 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13566 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13568 2001-11-07 José Matos <jamatos@fep.up.pt>
13571 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13574 * buffer.C (sgmlOpenTag):
13575 * buffer.C (sgmlCloseTag): removed debug info.
13577 * buffer.h (sgmlOpenTag):
13578 * buffer.h (sgmlCloseTag): made public.
13580 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13582 * buffer.C (saveParamsAsDefaults):
13583 * lyx_cb.C (MenuLayoutSave): remove
13585 * LyXAction.C (init):
13587 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13589 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * buffer.C (setPaperStuff): removed from here...
13593 * bufferparams.C (setPaperStuff): ... and moved there.
13595 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13599 * XFormsView.C: add support for drop-down completion
13601 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13603 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13606 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13608 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13611 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13613 * lyx_main.C: change ref to known bugs
13615 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13617 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13618 to work around older babel problems.
13620 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13622 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13624 2001-10-24 Juergen Vigna <jug@sad.it>
13626 * tabular-old.C (ReadOld): below variable changes reflected.
13628 * tabular.[Ch]: added ltType struct for longtable header/footer
13629 defines and changed all instances where they are used. Added
13630 future support for double top/bottom rows.
13632 2001-10-24 José Matos <jamatos@fep.up.pt>
13634 * buffer.h (docbookHandleCaption):
13635 * buffer.C (docbookHandleCaption): removed unused function.
13636 (makeDocBookFile): moved docbook supported version to v4.1.
13638 2001-10-24 José Matos <jamatos@fep.up.pt>
13641 * tabular.C (docbookRow): new function to export docbook code of a row.
13642 (DocBook): now honors the longtable flags.
13644 2001-10-23 José Matos <jamatos@fep.up.pt>
13647 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13648 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13650 * buffer.C (makeLinuxDocFile):
13651 (makeDocBookFile): reworked the preamble, more clean, and with
13652 support for lyx defined entities. Changed the document declaration
13653 to be more XML friendly.
13655 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13656 if we need to output XML that should be done with a filter.
13658 2001-10-22 Juergen Vigna <jug@sad.it>
13660 * sp_pspell.h (class PSpell): add alive function needed in the
13661 controller to see if the spellchecker could be started.
13663 2001-10-22 Juergen Vigna <jug@sad.it>
13665 * buffer.C (insertStringAsLines): modify the font for inserting
13666 chars in certain conditions by calling checkInsertChar(font).
13668 2001-10-19 Juergen Vigna <jug@sad.it>
13670 * text.C (workWidth): use getRow instead of wrong algorithm.
13671 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13673 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13678 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13680 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13682 * text.C (workWidth): do not search for the exact row when
13683 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13684 optimization for big documents.
13686 2001-10-18 Juergen Vigna <jug@sad.it>
13688 * text.C (workWidth): new function with added Inset * parameter.
13690 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13692 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13694 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13695 change return type of getColumnNearX.
13698 * text.C (changeRegionCase): use uppercase/lowercase instead of
13701 (rightMargin): simplify code by factoring out the uses of
13706 (appendParagraph): use Paragraph::size_type
13708 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13710 * vspace.C (asLatexString): add a missing break
13712 2001-10-15 Herbert Voss <voss@perce.de>
13714 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13716 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13718 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13721 2001-10-10 André Pönitz <poenitz@gmx.net>
13723 * lyxfunc.C: removed greek_kb_flag.
13725 2001-10-10 Herbert Voss <voss@perce.de>
13727 * lyx_main.C: delete global string help_lyxdir.
13729 2001-10-09 Herbert Voss <voss@perce.de>
13731 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13733 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13735 * lyx_main.C: added global string help_lyxdir.
13737 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13739 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13741 * lyxrc.C (set_font_norm_type): support iso8859-4
13743 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13745 * LaTeX.C (deplog): add another regex for MikTeX
13747 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13749 * lyxrc.C (set_font_norm_type): support iso8859-3
13751 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13755 * LaTeXFeatures.C: remove special case of french and index
13757 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13758 before \begin{document}). This solves several incompatibilities.
13760 2001-10-03 Garst Reese <reese@isn.net>
13762 * lyx_cb.C: change CheckTex error msg.
13764 2001-10-03 José Matos <jamatos@fep.up.pt>
13766 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13768 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * .cvsignore: update
13772 * lyx_main.C (commandLineVersionInfo): use new style version info.
13774 * buffer.C (writeFile):
13776 (makeLinuxDocFile):
13777 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13779 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13781 * version.h: update to use stuff in version.C
13783 * version.C.in: new file. Contains version information determined
13784 at compile time. This is a merging of version.h and
13787 2001-10-03 Juergen Vigna <jug@sad.it>
13789 * BufferView_pimpl.C (update): don't change "dirty" status in
13792 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13794 * WorkArea.C (c-tor): re-position version string slightly.
13796 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13798 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13799 revert to previous code.
13801 WorkArea.[Ch]: (show, destroySplash): methods removed.
13803 WorkArea.C: rework code so that it's an amalgam of the codes before and
13804 after the splash screen was moved to WorkArea.
13806 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * vspace.C (inPixels):
13812 * buffer.C (insertStringAsLines):
13813 (asciiParagraph): fix types to be large enough
13815 * lyxlex_pimpl.h: change member status from short to int
13817 * layout.h: fix type of endlabeltype
13820 * kbsequence.C (parse): change return type to string::size_type
13822 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13825 * Bullet.C (bulletSize):
13826 (bulletEntry): do not use short ints as parameters
13828 * BufferView2.C (insertLyXFile): change a char to an int.
13830 * WorkArea.C (WorkArea): remove unneeded floats in computation
13832 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13834 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13836 * paragraph.C (asString): Do not ignore newline/hfill chars when
13837 copying to the clipboard.
13839 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13841 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13842 after a multi-line inset.
13844 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13846 * paragraph.C (validate): Set NeedLyXFootnoteCode
13848 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13850 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13851 and decrease-error to decrease.
13853 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13856 it more readable (should be equivalent)
13858 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13860 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13862 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13865 of a cursor (row, etc.) after a character has been deleted
13866 (deleteEmptyParagraphMechanism): call the method above on _all_
13867 cursors held by the LyXText when a double space has been
13870 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13872 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13874 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13876 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13877 background. Use greyOut() and the new show() methods to toggle between
13878 the foreground and background. Add code to remove the splash after
13879 its initial showing.
13881 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13882 (create_forms): no longer call Dialogs::showSplash.
13884 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * .cvsignore: add version_info.h
13888 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13890 * version_info.h.in: new file
13892 * Makefile.am: add version_info.h.in
13894 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13895 version_info.h instead of VERSION_INFO
13897 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13899 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13900 The ERT inset now returns string().
13902 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13904 * lyxtext.h, text.C (selectNextWord): renamed as
13905 selectNextWordToSpellcheck.
13907 * text.C (selectNextWordToSpellcheck): Modified to not select
13908 words inside an ERT inset.
13910 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * lyx_cb.C (MenuLayoutSave): change a bit the question
13914 * sp_base.h: include <sys/types.h>
13916 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13918 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13920 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13922 * several files: fix typos in user-visible strings
13924 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * text2.C (pasteSelection): do not set the selection, since it
13927 will be cleared later. Actually, the intent was to fix the way the
13928 selection was set, but I figured rmoving the code was just as good.
13930 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13932 * FontLoader.C (available): Check if font is available without
13935 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13937 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13939 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13941 * lyxrc.[Ch]: added display_graphics variable and associated code.
13943 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13945 * bufferparams.C (hasClassDefaults): new method. Returns true if
13946 the buffer parameters correspond to known class defaults
13948 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13950 * XFormsView.C (show): set minimum size to the main window.
13952 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * text2.C (copySelection):
13956 * lyxfind.C (LyXReplace):
13957 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13958 LyXText::selectionAsString.
13960 * paragraph.C (asString): add "label" argument to the second form
13962 * text2.C (selectionAsString): add "label" argument and pass it to
13963 Paragraph::asString.
13965 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13967 * lyx_main.C (commandLineHelp): remove version information
13969 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13971 * lyx_main.C: add -version commandline option
13973 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * paragraph.h: make the optional constructor arg required instead.
13976 some modifications to other files because of this.
13978 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13980 * lyxserver.C (C_LyXComm_callback): make it static
13982 * lyx_main.C (error_handler): make it static
13984 * lyx_gui.C (LyX_XErrHandler): make it static
13986 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13988 * WorkArea.C: make the extern "C" methods static.
13990 * Makefile.am (lyx_LDADD): simplify
13992 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13994 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13995 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13997 * LyXAction.C (init):
13998 * lyxfunc.C (dispatch): associated code removal.
14000 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14002 * lyxfont.h (isSymbolFont): shut off warning
14004 * text.C (setHeightOfRow):
14005 (getVisibleRow): fix crash with empty paragraphs which have a
14008 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14010 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14013 2001-09-04 José Matos <jamatos@fep.up.pt>
14016 * tabular.C (docbook): rename docBook method to docbook.
14018 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14020 * Makefile.am: add dependencies to main.o.
14022 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14024 * FontLoader.C (available): Return false if !lyxrc.use_gui
14026 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14028 * FontInfo.C (query):
14029 * converter.C (view):
14030 * importer.C (Import):
14031 * exporter.C (Export): Can not -> cannot.
14033 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14035 * BufferView_pimpl.C: allow to create index inset even if
14038 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14040 * buffer.C (getLists): replace boost::tie code with an explicit pair
14041 as boost::tie can break some compilers.
14043 * iterators.h: Added a std:: declaration to the return type of
14046 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14048 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14051 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14053 * iterators.[Ch]: New files. Provide paragraph iterators.
14055 * buffer.C (changeLanguage): Use paragraph iterators.
14056 (isMultiLingual): ditto
14058 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14060 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14062 * FontLoader.C: Support for cmr font.
14064 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14066 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14067 (available): New method.
14069 * FontInfo.C (getFontname): Use scalable fonts even when
14070 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14073 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14075 * converter.C (Formats::view): reverted! Incorrect fix.
14077 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14079 * converter.C (Formats::view): only output the -paper option
14080 if the dvi viewer is xdvi, thereby fixing bug #233429.
14082 2001-08-23 Herbert Voss <voss@perce>
14084 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14086 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14088 * Spacing.h (Spacing): Set space to Default on in the default
14091 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * vc-backend.h (RCS::versionString): add RCS to version
14094 (CVS::versionString): add CVS to version
14096 * vc-backend.C (scanMaster): do not add CVS to version.
14097 (scanMaster): do not add RCS to version
14099 * lyxvc.C (versionString): new method
14101 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14103 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14105 * Spacing.C (set): initialize fval
14107 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14109 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14112 2001-08-16 Juergen Vigna <jug@sad.it>
14114 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14116 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14118 * BufferView_pimpl.C:
14121 * text2.C: setParagraph takes linespacing now
14123 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14125 * LyxAction.C: add internal LFUN_CITATION_INSERT
14127 * LyXView.C: actually apply fix
14129 * bufferlist.C: fix open non-existent file
14131 * lyxfind.C: fix indentation
14133 * lyxfunc.C: remove unneeded assert, fix typo
14135 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14137 * MenuBackend.C: use "Floatname List"
14139 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14141 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14142 when converting LaTeX layout to insetERT.
14143 Generate a non-collapsed float when reading old float
14145 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14147 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14150 2001-08-13 Juergen Vigna <jug@sad.it>
14152 * text.C (fill): return 0 instead of 20 as this seems to be the more
14155 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14157 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14160 2001-08-13 Juergen Vigna <jug@sad.it>
14162 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14164 (SearchBackward): comment out the unlocking of the inset_owner this
14165 should not be needed!
14167 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14169 * Many files: Remove inherit_language, and add latex_language
14171 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14172 collapsible insets.
14174 2001-08-10 Juergen Vigna <jug@sad.it>
14176 * text.C (prepareToPrint): fixed hfill-width in draw!
14178 * BufferView2.C (selectLastWord): save the selection cursor as this
14179 now is cleared in the function LyXText::clearSelection!
14181 2001-08-08 Juergen Vigna <jug@sad.it>
14183 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14184 BACKSPACE type functions.
14186 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14187 is only cutted from the document but not put in the cut-buffer, where
14188 still the old stuff should be.
14190 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14192 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14194 * tabular.C (SetWidthOfCell): fixed special case where the width
14196 (LeftLine): handle '|' in align_special.
14198 (LeftAlreadyDrawed): ditto
14199 (SetWidthOfCell): ditto
14201 2001-08-07 Juergen Vigna <jug@sad.it>
14203 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14205 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14208 * lyxlex.[hC]: ditto
14210 2001-08-06 Juergen Vigna <jug@sad.it>
14212 * text.C (getVisibleRow): fix up row clearing a bit.
14214 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * minibuffer.C: make sure the X server sees the changes in the input.
14218 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14220 * paragraph.C (getFont): split into...
14221 (getLabelFont): this
14222 (getLayoutFont): and this
14223 * paragraph_pimpl.C (realizeFont): calling this
14225 * text2.C (getFont): split into...
14226 (getLayoutFont): this
14227 (getLabelFont): and this
14228 (realizeFont): all three calling this
14230 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14233 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14235 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14237 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14239 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14240 layouts from the Quote inset insertion.
14242 2001-08-03 Juergen Vigna <jug@sad.it>
14244 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14246 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14247 only if status not is already CHANGED_IN_DRAW (second level).
14249 * text.C (draw): don't set the need_break_row when inside an
14252 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14254 * buffer.C (parseSingleLyXformat2Token): handle more latex
14257 * bufferview_funcs.[hC]: change function names to
14258 begin with small char, adjust other files.
14260 2001-08-02 André Pönitz <poenitz@gmx.net>
14263 BufferView_pimpl.C: remove broken special code for math-greek
14265 2001-08-02 Juergen Vigna <jug@sad.it>
14267 * BufferView_pimpl.C (update): redone this function so that we
14268 update the text again if there was a CHANGE_IN_DRAW.
14270 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14271 (drawFromTo): added a new internal bool which is used by draw() and
14273 (general): some cursor drawing problems fixed.
14275 2001-08-01 Juergen Vigna <jug@sad.it>
14277 * lyxfind.C (LyXFind): fixed
14278 (SearchForward): ditto
14279 (SearchBackward): ditto
14281 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14282 spurius drawing of the cursor in the main area.
14284 * text2.C (status): small fix which could lead to a segfault!
14285 (clearSelection): remove unneeded BufferView param.
14287 2001-08-01 André Pönitz <poenitz@gmx.net>
14289 * lyxfunc.C: small change due to changed mathed interface
14291 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14295 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14297 * lyxfunc.c: fail gracefully if file doesn't exist
14302 * BufferView_pimpl.C: IsDirWriteable() proto changed
14304 * LyXView.C: fix updateWindowTitle() to store the last title
14306 2001-07-31 Juergen Vigna <jug@sad.it>
14308 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14309 the font (wrong since using of Paragraph::highestFontInRange).
14311 * paragraph.C (highestFontInRange): added a default_size parameter.
14313 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14314 (setHeightOfRow): reformat
14316 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * converter.[hC] + affected files: move to (inital-char)lowercase
14321 * ParagraphParameters.C (ParagraphParameters): remove commented code
14323 * PainterBase.[Ch]: remove commented code
14325 * LaTeXFeatures.h: add "bool floats" for float.sty
14327 * LaTeXFeatures.C (LaTeXFeatures): init floats
14328 (require): handle float
14329 (getPackages): do it with floats
14331 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * BufferView_pimpl.C (Dispatch): improve handling of
14334 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14336 * commandtags.h: #include lyxfont.h here temporarily to avoid
14339 * bufferlist.h: include LString.h here.
14341 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * text2.C (getStringToIndex): new method.
14345 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14347 * *: Reduced header file dependencies all over.
14349 2001-07-30 Baruch Even <baruch@lyx.org>
14351 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14353 2001-07-29 Baruch Even <baruch@lyx.org>
14355 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14357 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * ParameterStruct.h (endif): add a default constructor to make
14360 sure that all variables is initialized.
14362 * ParagraphParameters.C (ParagraphParameters): adjust
14364 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14366 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14367 index; also, check that there is something to index, and that it
14368 does not span over several paragraphs.
14369 (doubleClick): use WHOLE_WORD_STRICT for double click.
14371 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14373 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14376 2001-07-26 Baruch Even <baruch@lyx.org>
14378 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14379 an InsetFig figure, backwards compatible reading of old figure code.
14381 2001-07-27 Juergen Vigna <jug@sad.it>
14383 * text2.C: font.realize function adaption.
14385 * text.C (draw): add a warnings lyxerr text if needed.
14387 * layout.C: font.realize function adaption.
14389 * language.C: add inherit_language and implement it's handlings
14391 * bufferview_funcs.C (StyleReset): remove language parameter from
14392 font creation (should be language_inherit now).
14394 * bufferparams.C (writeFile): handle ignore_language.
14396 * paragraph.C (getFontSettings): the language has to be resolved
14397 otherwise we have problems in LyXFont!
14399 * lyxfont.C (lyxWriteChanges): added document_language parameter
14400 (update): removed unneeded language parameter
14402 * paragraph.C (validate): fixed wrong output of color-package when
14403 using interface colors for certain fonts in certain environments,
14404 which should not seen as that on the final output.
14406 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14408 * BufferView_pimpl.C:
14413 * LyXAction.C: add thesaurus support
14416 * lyxfind.C: add "once" parameter, for thesaurus, to not
14417 move to the next match
14419 2001-07-26 Juergen Vigna <jug@sad.it>
14421 * lyxfont.C (realize): honor ignore_language too!
14424 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14426 * text.C (draw): one place more for ignore_language to not draw
14429 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14431 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14433 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14435 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14436 the minipage conversion problem.
14438 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14440 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14443 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14445 * BufferView.h: don't forward declare WorkArea
14447 * BufferView.C: don't include WorkArea.h
14449 2001-07-25 André Pönitz <poenitz@gmx.net>
14453 * lyxfunc.C: new LFUN 'math-space'
14455 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14457 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14459 * text2.C (toggleInset): call open/close
14461 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * lyxfunc.C (dispatch): add debug for the disabled case
14465 * font.C (buttonText): make similar to rectText
14467 * buffer.C (readInset): comment out parsing of insetlist and
14470 * PainterBase.C (rectText): small correction
14472 * BufferView_pimpl.C: comment out insettheorem and insetlist
14473 * LyXAction.C: ditto
14474 * commandtags.h: ditto
14476 2001-07-24 Juergen Vigna <jug@sad.it>
14478 * text.C (draw): honor the ignore_language.
14480 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14482 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14484 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14487 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14489 * lyxtext.h: remove unused (and unimplemented) methods
14491 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14493 * text.C (getVisibleRow): honor background color
14496 * Painter.h: remove default color argument for fillRectangle
14498 * text.C (backgroundColor): new method
14500 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14502 * text.C (getVisibleRow): adjust
14504 * font.[Ch] (rectText): new method, metrics
14505 (buttonText): new method, metrics
14507 * PainterBase.[hC]: make rectText and buttonText always draw and take
14510 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14512 * ToolbarDefaults.C (read):
14513 * MenuBackend.C (read): allow escaping in all strings
14515 * BufferView_pimpl.C (insertAndEditInset): new method.
14516 (Dispatch): use insertAndEditInset whenever appropriate.
14518 * BufferView_pimpl.C (insertNote): removed
14520 * BufferView_pimpl.C (smartQuote): new method, moved from
14521 BufferView; if an insetquote cannot be inserted, insert a '"'
14524 * BufferView2.C: remove insertCorrectQuote();
14526 * lyxfunc.C (getStatus): Add support for all remaingin
14527 inset-insert lfuns.
14529 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14531 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14532 command (necessary to pass " as parameter of self-insert.
14534 * text.C (selectWordWhenUnderCursor):
14535 (selectWord): add word_location parameter
14536 (selectWordWhenUnderCursor): same + remove special code for word
14538 (selectNextWord): use kind() to guess type of insetspecialchar,
14541 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14542 (insertErtContents): create ert insets as collapsed.
14543 (readInset): better compatibility code for Info inset.
14545 2001-07-20 Juergen Vigna <jug@sad.it>
14547 * lyxfunc.C (dispatch): use always LyXFind now!
14549 * text2.C (init): add a reinit flag so that the LyXText can be
14550 reinited instead of deleted and reallocated (used in InsetText).
14552 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14558 2001-07-18 Juergen Vigna <jug@sad.it>
14560 * text.C (selectNextWord): handle insets inside inset by calling
14561 always the bv->text functions so that we can go up the_locking_inset!
14563 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14564 in strange locations when inside an inset!
14566 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14567 handling to include insets.
14569 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14571 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14573 * LyXAction.C (init):
14575 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14576 LIGATURE_BREAK, since the name is so stupid.
14578 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14580 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14583 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14585 * sp_form.[Ch]: remove.
14587 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14589 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14592 * src/buffer.C (readInset): ditto.
14594 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14596 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14597 menuSeparator(), endOfSentenceDot(), ldots() and
14598 hyphenationPoint(), which are therefore removed.
14599 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14601 * LyXAction.C (init):
14602 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14604 * paragraph.C (getWord): removed.
14606 * BufferView_pimpl.C (Dispatch): use last word or selection for
14607 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14609 * lyx_main.C (queryUserLyXDir): do not ask before creating
14610 user_dir, except if it has been named explicitely.
14612 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14614 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14615 a document of zero size.
14617 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14619 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14620 approriately in the c-tor and in require().
14621 (getPackages): output the appropriate LaTeX for natbib support.
14623 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14624 variables "use_natbib" and "use_numerical_citations" when reading the
14626 (readInset): read the various natbib cite commands.
14627 (validate): white-space change.
14629 * bufferparams.[Ch]: new variables "bool use_natbib" and
14630 "bool use_numerical_citations".
14631 (writeFile): output them in the LyX file.
14633 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14635 * lyxfunc.C (getStatus): add support for all the inset insertion
14638 * text2.C (insertInset):
14639 * paragraph.C (insetAllowed):
14640 * BufferView_pimpl.C (insertInset): update to take in account the
14641 renaming of insertInsetAllowed
14643 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14645 * text2.C (getInset): new method. returns inset at cursor position.
14647 * BufferView_pimpl.C (Dispatch): changes because of this.
14649 * LyXAction.C (init): rename open-stuff to inset-toggle.
14651 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14653 * text2.C (toggleInset): renamed from openStuff; use
14656 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14658 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14660 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14662 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14664 * buffer.C (readLyXformat2): Add filename to the error dialog
14666 2001-07-18 Juergen Vigna <jug@sad.it>
14668 * tabular.C (GetCellNumber): put an assert here instead of the check!
14670 2001-07-17 Juergen Vigna <jug@sad.it>
14672 * BufferView_pimpl.C (toggleSelection): adapted too.
14674 * text.C (selectNextWord): adapted for use with insets.
14675 (selectSelectedWord): ditto
14677 2001-07-17 Juergen Vigna <jug@sad.it>
14679 * sp_spell.C (PSpell): fix initialitation order.
14681 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * paragraph.C: spacing
14685 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14687 * sp_spell.C: repair language selection for pspell
14689 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14691 * lyxfunc.h: change more methods to begin with lower char.
14693 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14695 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14696 for unknown layouts.
14698 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14700 * buffer.C (readLyXformat2): Generate an error dialog if there are
14703 2001-07-16 Juergen Vigna <jug@sad.it>
14705 * sp_spell.C: always compile ISpell part.
14707 * lyxrc.C: added use_pspell entry and it's handling.
14709 2001-07-13 Juergen Vigna <jug@sad.it>
14711 * sp_spell.C: removed double includes.
14713 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14715 Consistent use of Lsstream.h:
14716 * Lsstream.h: added using std::stringstream for consistencies sake.
14718 * buffer.C: removed using std::stringstream
14720 * lyxfont.C (stateText):
14721 * paragraph.C (asString):
14722 * text.C (selectNextWord, selectSelectedWord):
14723 * text2.C (setCounter):
14724 * vspace.C (asString, asLatexString):
14725 std::ostringstream -> ostringstream.
14727 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14729 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14730 * commandtags.h: add LFUN_HELP_ABOUTLYX
14731 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14733 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14735 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14737 * lyx_gui_misc.C: remove spellchecker
14738 * lyxfunc.C: showSpellchecker
14740 * sp_ispell.h: added
14741 * sp_pspell.h: added
14742 * sp_spell.C: added
14743 * sp_form.[Ch]: removed
14744 * spellchecker.[Ch]: removed
14746 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14748 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14750 (simpleTeXSpecialChars): Simply print the input character without
14751 any special translation if pass_thru is set.
14753 * layout.h: Added bool pass_thru to layout class for being able to
14754 implement pass through of a paragraph for Literate Programming.
14756 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14757 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14758 * layout.C (Read): add "passthru" to list of layout tags and add
14759 code to set the pass_thru boolean when it is read.
14761 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * trans_decl.h: remove allowed from KmodInfo
14765 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14766 remove allowed code
14769 * paragraph_pimpl.C (erase): use boost::prior
14771 * Painter.C (text): use data() instead of c_str() when length is
14773 * WorkArea.C (putClipboard): ditto
14774 * font.h (width): ditto
14776 * BufferView2.C: use it-> instead of (*it). for iterators
14778 * paragraph_pimpl.C: ditto
14779 * paragraph.C: ditto
14780 * minibuffer.C: ditto
14781 * language.C: ditto
14783 * encoding.C: ditto
14784 * counters.C: ditto
14785 * converter.C: ditto
14787 * Variables.C: ditto
14788 * TextCache.C: ditto
14789 * MenuBackend.C: ditto
14790 * LyXAction.C: ditto
14792 * FloatList.C: ditto
14793 * DepTable.C: ditto
14794 * ColorHandler.C (LyXColorHandler): ditto
14796 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14798 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14800 * text2.C (openStuff): reintroduce this method (which had been
14801 nuked in NEW_INSETS frenzy).
14803 * lyxfunc.C (Dispatch): when an action has not been handled, use
14804 its name in the error message, not its number.
14806 * paragraph.C (inInset): change method name to begin with lowercase.
14809 * text2.C: updates because of this.
14811 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14813 * ToolbarDefaults.C (add): add spaces in error message
14815 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14818 (readLyXformat2): rename return_par to first_par, use lyxlex's
14819 pushToken and remove the manual push handling.
14820 (parseSingleLyXformat2Token): add another ert comp. variable:
14821 in_tabular, rename return_par to first_par. handle newlines better
14823 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14825 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14827 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * text2.C (getParFromID): removed
14831 * buffer.C (getParFromID): new method moved form lyxtext.
14832 * BufferView2.C (insertErrors): adjust
14833 (setCursorFromRow): adjust
14834 * BufferView_pimpl.C (restorePosition): adjust
14835 * lyxfunc.C (Dispatch): adjust
14836 * undo_funcs.C (textUndo): adjust
14838 (textHandleUndo): adjust
14839 (textHandleUndo): adjust
14841 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * buffer.C: up' the LYX_FORMAT
14845 * lyxfont.h: turn NO_LATEX on as default
14847 * buffer.C (insertErtContents): new methods of tex style compability.
14848 (parseSingleLyXformat2Token): use it several places.
14849 * tabular.C (OldFormatRead): and here
14851 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * text2.C: remove some commented code.
14856 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14857 * trans.C: changes because of the above.
14859 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14861 * text2.C (setCounter): Fix counters bug with bibliography layout.
14863 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14865 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14866 own member functions
14867 (simpleTeXSpecialChars): ditto
14869 2001-07-06 Juergen Vigna <jug@sad.it>
14871 * a lot of files: changed the access to LyXText::status and the
14872 call of undo-functions.
14874 * undo.[Ch]: added a inset_id to the undo informations.
14876 * undo_funcs.[Ch]: added and moved here all undo functions.
14878 * lyxtext.h: give the status enum a weight, made status_ a private
14879 variable and made accessor functions for it, removed the whole bunch
14880 of undo-functions as they are now in their own file, make some
14881 functions publically available. Added function ownerParagraph with
14884 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14885 made InInset() a const function, added getParFromID() function.
14887 * buffer.[Ch]: added const version for inset_iterator functions,
14888 added getInsetFromID() function.
14890 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14891 changed undo functions for new version.
14893 2001-07-05 Juergen Vigna <jug@sad.it>
14895 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14896 unknow mechanism does not call the proper constructor but only this
14897 one also if I request the other!?
14899 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14901 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14903 * text2.C (LyXText): use initialization lists.
14905 * lyxtext.h (Selection): initialize set_ and mark_
14906 (init): remove method
14908 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14910 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14912 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * screen.[Ch]: change method names to begin with lowercase
14916 * BufferView_pimpl.C (updateScrollbar): simplify further and
14917 hopefully make it a bit faster.
14919 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14922 calling directly xforms functions.
14924 * Painter.C (Painter):
14925 * lyx_cb.C (MenuWrite):
14926 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14929 * lyx_gui.C: remove bogus guiruntime extern declaration.
14931 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14933 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14935 (redoDrawingOfParagraph): ditto
14936 (redoParagraphs): ditto
14937 (cutSelection): don't create a object for CutAndPaste use the
14938 static method directly
14939 (pasteSelection): ditto
14941 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14944 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14946 * modifications to some other files because of this.
14948 * Makefile.am (lyx_SOURCES): add XFormsView
14950 * XFormsView.[Ch]: new files
14952 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14953 the main window. Move the gui dependent stuff to XFormsView
14955 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14957 * tabular.C (GetCellInset): update cur_cell also in the row/col
14958 version of this function.
14960 * lyxfunc.C: no need to include figure_form.h here.
14966 * lyxvc.C: no need to include forms.h here.
14968 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14972 * lyxfunc.C (Dispatch):
14974 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14975 constructor argument.
14977 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14979 * paragraph.C (Paragraph): dont't clear, and just set layout.
14980 (makeSameLayout): use params's copy contructor.
14982 * ParagraphParameters.[Ch] (makeSame): delete method
14984 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14986 * Variables.[Ch]: fix indentation, rename set to isSet
14988 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14990 * lyxfunc.C (Dispatch): fix typo
14992 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14997 * bufferlist.C: include assert.h for emergencyWrite().
14999 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15001 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15002 give up at last (bug #425202) !
15004 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15010 * spellchecker.C: strip spellchecker options and bring up
15011 preferences tab instead
15013 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15016 the istringstream constructor
15018 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15020 * paragraph.C (getLayout): fix return value
15022 * paragraph.h: do not declare getLayout as inline.
15024 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15026 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * lyxcursor.h (operator<): new func
15029 (operator>): new func
15030 (operator>=): new func
15031 (operator<=): new func
15033 * text.C (changeCase): use selection.start and selection.end
15034 (changeRegionCase): require from to be <= to. Require par to be a
15037 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15039 2001-06-27 Juergen Vigna <jug@sad.it>
15041 * text.C (cursorLeftOneWord): changed to return the cursor and added
15042 overlay with BufferView * parameter which calls this one.
15044 (selectWord): use new getWord function.
15045 (changeCase): renamed from changeWordCase as and extended to work
15046 also on selections.
15048 * lyxtext.h: added enum word_location
15050 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15051 changeCase as this operates now also on selections.
15053 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15055 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15057 * many files: send debug output to Debug::INFO instead of
15060 * converter.C (View):
15062 (Move): send debug output to Debug::FILES instead of console.
15064 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15066 * lyxfunc.C (getStatus): use func_status
15068 * func_status.h: new header, describing the results of
15069 LyXFunc::getStatus;
15071 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15074 2001-06-25 The LyX Project <jug@sad.it>
15076 * buffer.C (sgmlOpenTag):
15078 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15080 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15082 * text2.C: remove some dead code
15084 * tabular.C (GetCellInset): store the last cell checked (gotten)
15086 * tabular.h: add the helper for the speedup
15088 * lyxtext.h: remove some dead code
15090 2001-06-26 The LyX Project <Asger>
15092 * paragraph.C: Change export to LaTeX of alignment to
15093 \begin{center} and family for better roundtrip work with reLyX.
15095 * Tune the math drawing a bit.
15097 2001-06-25 The LyX Project <Asger>
15099 * LColor.C (LColor): New color for math background. New color
15102 2001-06-25 The LyX Project <jug@sad.it>
15104 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15106 * lyxfunc.C (Open):
15107 * bufferlist.C (newFile): do not restrict to files ending with
15110 * BufferView_pimpl.C (MenuInsertLyXFile):
15112 2001-06-24 The LyX Project <jug@sad.it>
15114 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15117 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15119 * lyxtext.h: rename most methods to begin with a small char.
15120 Lots of changes because of this.
15122 * paragraph.C (Paragraph): do not call fitToSize
15123 (erase): call Pimpl::erase
15124 (insertChar): call Pimpl::insertChar
15125 (insertInset): call Pipl::insertInset
15126 (breakParagraph): do not call fitToSize
15127 (breakParagraphConservative): do not call fitToSize
15128 (fitToSize): remove method
15130 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15132 2001-06-24 The LyX Project <Asger>
15134 * Fix Qt compilation^2
15136 2001-06-24 The LyX Project <jug@sad.it>
15138 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15139 depthHook(getDepth()-1).
15142 * ParagraphParameters.h:
15143 * ParameterStruct.h: change type of depth to unsigned int ==
15144 depth_type. Many adaptations to other files before of that.
15146 2001-06-24 The LyX Project <Asger>
15148 * Fix Qt compilation.
15150 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15152 * paragraph.h: renamed several methods to begin with small letter.
15153 several changes to many parts of the code because of this.
15155 2001-06-23 The LyX Project <jug@sad.it>
15157 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15158 rewritten to discard all double spaces when KeepEmpty is off
15159 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15160 to only handle newlines but not fiddle with spaces and friends.
15162 * lyxfunc.C (MenuNew): when doing 'new from template', use
15163 template_path as default directory
15165 2001-06-23 The LyX Project <Asger>
15167 * Clean-up of header file includes all over
15168 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15170 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15172 * paragraph.h: renamed from lyxparagraph.h
15174 2001-06-23 Asger <lyx@violet.home.sad.it>
15176 * Buffer.h: Removed Buffer::resize
15177 * BufferList.h: Removed BufferList::resize
15178 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15179 the document lazily when we change the width, or the font settings.
15181 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15183 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15185 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15187 * buffer.h: remove out of date comment
15189 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15192 * screen.C: fix "theoretical" GC leak
15194 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * LaTeX.C (scanAuxFile):
15197 (deplog): remove trailing \r when reading stream (useful under
15200 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15202 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15203 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15204 and BufferView::theLockingInset(Inset*), so should use them and not
15205 access bv_->text->the_locking_inset directly.
15207 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15209 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15212 * tex-defs.h: remove old unused file
15214 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15216 * BufferView_pimpl.C: fix typo, remove minibuffer message
15217 when buffer has loaded
15219 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * lyxfunc.C (Dispatch): use stringstream
15222 (MenuNew): use stringstream
15223 (Open): use stringstream
15225 * importer.C (Import): use stringstream
15227 * bufferview_funcs.C (CurrentState): use stringstream
15229 * LaTeX.C (run): use stringstream
15231 * BufferView_pimpl.C (savePosition): use stringstream
15232 (restorePosition): use stringstream
15233 (MenuInsertLyXFile): use stringstream
15235 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15248 * vspace.C: removed // -*- C++ -*- as first line.
15251 * version.h: added // -*- C++ -*- as first line.
15253 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15255 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15257 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15260 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15265 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15267 * gettext.C: include LString.h even when --disable-nls is on.
15269 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15271 * converter.h (Get): changed argument type from int to
15272 FormatList::size_type to avoid unnecessary conversion.
15274 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15277 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15279 * gettext.h: include LString.h even when --disable-nls is on.
15281 2001-06-07 Juergen Vigna <jug@sad.it>
15283 * text.C (BreakAgain): subst spaces with tabs.
15285 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15286 (resizeInsetsLyXText): set force on resizeLyXText.
15288 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * gettext.h (gettext_init):
15291 (locale_init): use a real definition instead of a macro
15293 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15295 * Bufferview_pimpl.C:
15297 * LColor.C: further lcolor tidies
15299 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * BufferView_pimpl.C (updateScrollbar): simplify.
15303 * BufferView2.C: don't include insets/insetinfo.h, change
15304 prototype for insertInset and call the Pimpl version. let
15305 updateInset call Pimpl version.
15307 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15308 gotoInset to BufferView::Pimpl
15310 2001-06-01 Juergen Vigna <jug@sad.it>
15312 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15313 inside a LockingInset (is the update needed at all?).
15315 2001-05-31 Juergen Vigna <jug@sad.it>
15317 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15318 here not the old one otherwise how should we compare it afterwards
15321 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * FontInfo.C: bring C functions into global namespace when
15329 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15331 * LString.h: make sure config.h has been loaded before LString.h.
15333 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15334 (one for each char read by EatLine!).
15336 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15339 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15342 to the same as the par we break from
15344 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15346 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15348 * MenuBackend.C (expand): also create menu entries for wide
15349 versions of the floats.
15351 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15353 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15355 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15356 frontends/Makefile.am
15362 * tabular.C (getTokenValue): add std::
15364 * tabular-old.C (getTokenValue): add std::
15365 (getTokenValue): ditto
15366 (getTokenValue): ditto
15368 * screen.C (ToggleSelection): adjust
15370 * lyxtext.h: put selection cursors inside a Selection struct.
15372 * lyxfunc.C (moveCursorUpdate): adjust
15374 * lyxfont.C (latexWriteStartChanges): add std::
15376 * lyxfind.C: adjust
15378 * font.h: delete with(char const *, LyXFont const &)
15380 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15382 * FontInfo.C (getFontname): add std::
15384 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15385 (workAreaButtonPress): adjust
15386 (tripleClick): adjust
15388 (moveCursorUpdate): adjust
15391 * BufferView2.C (gotoInset): adjust
15393 2001-05-30 Juergen Vigna <jug@sad.it>
15395 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15396 to check pspell I add this as default as I now have new pspell
15397 libraries and they seem to use this.
15399 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15401 * text2.C (CutSelection): make the cursor valid before the call to
15404 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15406 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15407 relied on 0 terminated strings and other horrors. Bug found due to
15408 the new assert in lyxstring!
15410 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15413 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15415 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15418 * lyxfunc.C (processKeySym): change method of getting to the
15421 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15422 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15423 * BufferView_pimpl.[Ch]: here as private methods.
15425 2001-05-28 Juergen Vigna <jug@sad.it>
15427 * text.C (SetHeightOfRow): added the update() call again as it is
15428 needed to initialize inset dimensions!
15430 2001-05-16 Juergen Vigna <jug@sad.it>
15432 * text2.C (SetCharFont): Add new function with BufferView * and
15433 bool toggleall parameters for setting insets internal fonts.
15434 (SetFont): Freeze the undo as we may change fonts in Insets and
15435 all this change should be inside only one Undo!
15437 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15438 setting font's in insets as for them we have the SetFont function!
15440 2001-05-15 Juergen Vigna <jug@sad.it>
15442 * text2.C (ClearSelection): to be sure we REALLY don't have any
15445 * tabular.C (TeXCellPreamble): fixed the left border problem for
15448 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15450 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15453 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15456 LFUN_BREAKPARAGRAPH.
15458 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15459 help test to "internal only", similar for LFUN_INSERT_URL
15461 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15462 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15463 auto_region_delete and deadkeys.
15465 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15468 * LColor.C: remove some dead entries, tidy a little
15470 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15472 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15474 (Dispatch): implement LFUN_ESCAPE
15476 * commandtags.h: add LFUN_ESCAPE
15478 * LyXAction.C (init): add entry for LFUN_ESCAPE
15480 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15481 Remove commented code.
15482 (insertNote): moved here
15483 (open_new_inset): moved here
15485 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15488 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15490 * kbmap.C (findbinding): clean it up and make it work correctly.
15492 * lyx_main.C (init): do not pass argc and argv as parameters
15494 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15496 * buffer.C: fix path for OS/2 & Win32
15500 * lyx_main.C: Added os:: class.
15502 * os2_defines.h: update
15504 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15506 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15507 better by trying again with reduced state.
15509 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * lyxrc.C (read): print error about invalid key sequence only when
15512 debugging (because not all latinX keysyms are known to some X
15515 * kbsequence.C (getiso): add a few std:: qualifiers
15516 (getiso): comment out extra return statement.
15518 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15520 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15522 (Dispatch): enhance the accent inset a bit. (not perfect)
15524 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15526 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15528 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15530 * bufferlist.C (emergencyWrite): fix assert() call
15532 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15534 * text.C (InsertChar): Added trivial patch to only send the "you
15535 can not do multiple spaces this way" message once during a
15538 2001-05-08 Baruch Even <baruch@lyx.org>
15540 * Makefile.am: Changed order of libraries to get LyX to link properly
15541 with the gnome frontend.
15543 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15545 * LaTeXFeatures.h: add a std:: qualifier
15547 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15549 * paragraph.C (String): use stringstream
15551 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * paragraph.C (writeFile): remove footflag arg
15555 * buffer.C (makeLaTeXFile): use stringstream
15556 (latexParagraphs): remove footnot gurba
15558 * LaTeXFeatures.C (getPackages): use stringstream
15559 (getMacros): likewise
15560 (getTClassPreamble): likewise
15561 (getFloatDefinitions): new method
15563 * paragraph.C (writeFile): reindent
15566 * WorkArea.h: revert the xpos + etc changes.
15568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15570 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15572 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15573 (pasteSelection): likewise
15574 * text2.C (CreateUndo): likewise
15576 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15578 * minibuffer.C (peek_event): temporarily reduce the functionality
15579 of the minibuffer (to allow args on lfuns)
15581 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15582 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15584 * buffer.C (readInset): add compability reading of old float
15585 lists, add reading of new style float list.
15586 (readInset): avoid reevaluation of inscmd.getCmdName()
15587 (getLists): reindent
15589 * MenuBackend.C (MenuItem): implement parsing of
15590 md_floatlistinsert and md_floatinsert.
15591 (expand::LastFiles): move initalizaton of iterators out of loop,
15592 avoid reevaluation.
15593 (expand::Documents): introduce typdedef vector<string> Strings,
15595 (expand::ExportFormats): introduce typedef vector<Format const *>
15596 Formats, and use it.
15597 (expand): implement FloatListInsert and FloatInsert.
15599 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15600 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15601 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15603 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15605 (Dispatch::LFUN_FLOAT_LIST): implement
15607 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15609 * LaTeX.C (run): Fix problem with --export code.
15611 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15613 * BufferView.[Ch] (workarea): removed.
15614 (getClipboard) new method; wrapper for workarea()->getClipboard()
15616 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15619 * WorkArea.h (width, height, xpos, ypos): These methods all
15620 returned the dimensions of the work_area sub-area of WorkArea,
15621 resulting in a position error if the WorkArea were resized. Now
15622 return the dimensions of the entire WorkArea.
15624 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15626 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15628 * LaTeX.C (deplog): correct the syntax of regex reg1
15630 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * undo.C: remove !NEW_INSETS cruft
15634 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15636 * text2.C: remove !NEW_INSETS cruft
15638 * text.C: remove !NEW_INSETS cruft
15640 * tabular.C: remove !NEW_INSETS cruft
15642 * spellchecker.C: remove !NEW_INSETS cruft
15644 * lyxtext.h: remove !NEW_INSETS cruft
15646 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15648 * lyxfunc.C: remove !NEW_INSETS cruft
15650 * lyxfind.C: remove !NEW_INSETS cruft
15652 * lyx_cb.C: remove !NEW_INSETS cruft
15654 * figureForm.C: remove !NEW_INSETS cruft
15656 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15658 * buffer.[Ch]: remove !NEW_INSETS cruft
15660 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15662 * CutAndPaste.C: remove !NEW_INSETS cruft
15664 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15666 * BufferView2.C: remove !NEW_INSETS cruft
15668 * BufferView.h: remove !NEW_INSETS cruft
15670 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15672 * Lsstream.h: include LString.h before the sstream headers to
15673 fix problem with gcc 2.95.3 and lyxstring
15675 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * lyx_main.C: add using directives when needed for C functions
15678 declared in std:: namespace.
15680 2001-04-27 Juergen Vigna <jug@sad.it>
15682 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15683 (SetHeightOfRow): comment out the update call should not be needed!
15685 2001-04-13 Juergen Vigna <jug@sad.it>
15687 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15688 (LyXTabular): tried to minimize operator= operations (and realized
15689 hopfully Lars wish).
15691 2001-04-27 Juergen Vigna <jug@sad.it>
15693 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15695 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15697 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15699 * buffer.C (readInset): hack to make listof algorithm work
15701 * BufferView_pimpl.C: hack to make listof algorithm work
15703 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15705 * LyXAction.C: removed all !NEW_INSETS cruft
15706 (init): moved lfun_item in method
15708 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15710 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15712 * BufferView2.C (theLockingInset): white space.
15714 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15716 * minibuffer.C: include <iostream>
15718 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15720 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15722 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15724 * text.[Ch] (TransposeChars): new method
15726 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15728 * call message directly through LyXView instead of through LyXFunc
15729 * BufferView2.C: adjust
15730 * BufferView_pimpl.C: adjust
15731 * FontLoader.C: adjust
15733 * bufferview_funcs.C: adjust
15734 * converter.C: adjust
15735 * figureForm.C: adjust
15736 * importer.C: adjust
15738 * lyx_gui_misc.C: adjust
15739 * lyxfunc.C: adjust
15742 + more files in subdirs
15744 * lyxparagraph.h (size): move up int file
15747 * adjust all uses of Assert to lyx::Assert.
15749 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15750 lyxfunctional in namespace lyx
15751 * layout.C (hasLayout): ditto
15754 (delete_layout): ditto
15755 (NumberOfClass): ditto
15756 * converter.C (GetFormat): ditto
15761 * bufferlist.C (getFileNames): ditto
15762 (emergencyWriteAll): ditto
15765 * MenuBackend.C (hasSubmenu): ditto
15768 * BufferView_pimpl.C (getInsetByCode): ditto
15770 2001-04-18 Juergen Vigna <jug@sad.it>
15772 * vspace.C (asLatexString): fixed the 100% problem.
15774 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * lyxfunc.C (Dispatch):
15778 * minibuffer.h: add a few std:: qualifiers
15780 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15782 * minibuffer.[Ch]: reimplement so that commands is initiated and
15783 run from lyxfunc, simplified som handling, and made the completion
15784 and history code for complete. wip.
15786 * lyxfunc.C (processKeySym): call message
15787 (miniDispatch): new temporary method
15788 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15789 (LFUN_MESSAGE): implement
15790 (LFUN_MESSAGE_PUSH): implement
15791 (LFUN_MESSAGE_POP): implement
15792 (initMiniBuffer): the initial/defualt minibuffer message.
15794 * lyxfont.[Ch]: inline some more getters
15796 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15798 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15800 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15801 (AutoSave): use LFUN_MESSAGE
15802 (Reconfigure): ditto
15804 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15806 * figureForm.C: use LFUN_MESSAGE
15808 * converter.C (runLaTeX): use LFUN_MESSAGE
15810 * bufferview_funcs.C: use LFUN_MESSAGE
15812 (changeDepth): ditto
15814 * bufferparams.h: use boost::
15816 * bufferlist.h: inherit privately from noncopyable
15818 * bufferlist.C (loadLyXFile): remove some commented code.
15820 * buffer.C (runChktex): use LFUN_MESSAGE
15822 * ShareContainer.h: inherit privately from noncopyable
15824 * ParagraphParameters.[hC] (depth): inline it.
15826 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15828 (message): new method
15829 (messagePush): ditto
15830 (messagePop): ditto
15831 (show): init minibuffer
15832 (showState): direct call
15834 * LaTeX.[Ch]: inherit privately from noncopyable
15835 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15836 instead of WriteStatus.
15838 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15840 * BufferView_pimpl.C (buffer): don't init minibuffer
15841 (workAreaButtonPress): use LFUN_MESSAGE
15842 (workAreaButtonRelease): ditto
15843 (savePosition): ditto
15844 (restorePosition): ditto
15845 (MenuInsertLyXFile): ditto
15846 (workAreaExpose): don't init minibuffer
15847 (update): remove commented code, simplify
15849 * BufferView2.C (openStuff): use LFUN_MESSAGE
15850 (toggleFloat): ditto
15853 (copyEnvironment): ditto
15854 (pasteEnvironment): ditto
15859 (updateInset): remove some commented code
15861 * lastfiles.h: inherit privately from noncopyable
15864 * lyx_main.h: ditto
15866 * lyxlex_pimpl.h: ditto
15868 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15869 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15870 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15872 * LyXAction.h: inherit privately from noncopyable, add methods
15873 func_begin, func_end, returning iterators to the func map.
15875 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15876 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15877 (func_begin): new method
15878 (func_end): new method
15880 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15882 (copySelection): ditto
15883 (pasteSelection): ditto
15885 * BufferView.C: whitespace change
15886 * BufferView.h: inherit privately from noncopyable
15888 2001-04-16 Allan Rae <rae@lyx.org>
15890 * tabular-old.C (l_getline):
15891 * spellchecker.C (sc_check_word):
15892 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15893 an unrecognised preprocessor directive. So ensure they're wrapped.
15895 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15897 * src/exporter.C (Export): Give an error message when path to file
15900 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15902 * LaTeX.C (deplog): Always check that foundfile exists.
15904 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15909 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15911 * tabular.[Ch] (getLabelList): implement new method
15913 * minibuffer.h: comment ouf setTiimer
15915 * minibuffer.C (ExecutingCB): constify res
15916 (peek_event): constify s
15917 (Set): constify ntext
15918 (Init): constify nicename
15920 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15922 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15923 (savePosition): use two params to Minibuffer::Set
15924 (restorePosition): ditto
15926 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * lyx_main.C: include language.h
15930 * Makefile.am (lyx_main.o): add language.h
15932 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15938 * CutAndPaste.C: include gettext.h
15940 * lyxfont.h: remove old hack with ON and OFF.
15943 * lyxfont.h: do not include language.h...
15948 * bufferview_funcs.C:
15954 * paragraph.C: ... but do it here instead
15956 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15958 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15960 * tabular.C: small reformat
15962 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15965 (BreakParagraph): ditto
15966 (SetOnlyLayout): ditto
15969 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15972 * lastfiles.C: removed most using decl, add std:: where needed
15974 * buffer.C: ws changes
15976 * MenuBackend.C (class compare_format): put into anon namespace
15977 (expand): constify label, names, action, action2
15980 * text.C (SingleWidth): constify font
15981 (IsBoundary): constify rtl2
15982 (GetVisibleRow): constify ww
15984 * LaTeX.C (deplog): constify logfile
15986 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15988 (workAreaExpose): constify widthChange, heightChange
15990 * lyxrow.C (par): moved
15993 * lyxrow.h: as inlines here
15995 * lyxfont.h (shape): moved from lyxfont.C
15996 (emph): moved from lyxfont.C
15998 * lyxfont.C (LyXFont): use initialization list for all
16000 (shape): move to lyxfont.h as inline
16001 (emph): move to lyxfont.h as inline
16004 2001-04-04 Juergen Vigna <jug@sad.it>
16006 * vspace.C: had to include stdio.h for use of sscanf
16008 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16011 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16012 independent of xforms.
16014 2001-04-02 Juergen Vigna <jug@sad.it>
16016 * spellchecker.C: fixed namespace placing!
16018 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16020 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16021 the LyXParagraph * is 0.
16023 2001-03-29 Juergen Vigna <jug@sad.it>
16025 * vspace.C: added support for %, c%, p%, l%.
16026 (stringFromUnit): added helper function.
16027 (asLatexString): changed to give right results for the %-values.
16029 * buffer.C: convert the widthp in a width%.
16031 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16033 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16036 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16037 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16039 * lyx_cb.[Ch]: see above.
16041 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16045 * lyx.[Ch]: replaced by figure_form.[Ch].
16049 * lyxfunc.C: changed headers associated with above changes.
16051 2001-03-27 Juergen Vigna <jug@sad.it>
16053 * BufferView_pimpl.C: set the temporary cursor right!
16055 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16057 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16059 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16061 * LString.h: removed "using std::getline"!
16063 * BufferView_pimpl.C (Dispatch): changes due to changes in
16064 InsetInclude::Params.
16066 * buffer.C (tag_name): removed redundant break statements as they were
16067 producing lots of warnings with my compiler.
16069 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16071 * LString.h: add "using std::getline" when using the real <string>.
16073 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16075 * buffer.C: removed bitset usage.
16076 PAR_TAG moved to an anonymous name space.
16077 (tag_name): new funtion, also in the anonymous namespace.
16078 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16079 (makeDocBookFile): clean code. Completed transition from string arrays
16081 (SimpleDocBookOnePar): code clean.
16083 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16085 * tabular.C: add some comments.
16087 2001-03-22 Juergen Vigna <jug@sad.it>
16089 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16090 compatibility read a bit and fixed bug with minipage in different
16093 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16095 * buffer.C (pop_tag): removed.
16096 (push_tag): removed.
16097 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16098 array replaced with vector. Added support for CDATA sections.
16099 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16101 (makeDocBookFile): XML conformant declaration of CDATA section,
16102 fixed bug related to <emphasis> in the first paragraph char.
16103 (sgmlOpenTag): exclude empty tags.
16104 (sgmlCloseTag): ditto.
16106 * buffer.h (pop_tag): removed.
16107 (push_tag): removed.
16109 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16111 * language.h (Languages): added size_type and size().
16113 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16115 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16116 response on compability reading of minipages. One probliem is that
16117 the old usage of minipages was «flertydig»
16119 * several files here and in subdirs: don't use static at file
16120 scope use anon namespaces instead.
16122 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16124 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16125 LaTeX output. This is necessary for Literate document
16128 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16130 * buffer.C: insert hfill when needed.
16132 * tabular.C (l_getline): use string::erase, small whitespace change.
16134 * BufferView_pimpl.C: try the anon namespace.
16135 * WorkArea.C: ditto
16137 2001-03-16 Juergen Vigna <jug@sad.it>
16139 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16140 otherwise it won't open options-dialogs.
16142 * buffer.C: honor pextraWidth(p) on converting minipages.
16144 * tabular.C (l_getline): changed the functions to strip trailing \r.
16146 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16148 * BufferView_pimpl.C:
16149 * minibuffer..C: added "using SigC::slot" declaration.
16151 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16153 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16159 * paragraph.C: ditto
16161 * lyxtext.h: NO_PEXTRA
16163 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16165 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16166 * ParameterStruct.h: ditto
16167 * ParagraphParameters.h: ditto
16168 * lyxparagraph.h: ditto
16170 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16172 * buffer.C: add compability for minipage alignment.
16173 (latexParagraphs): remove unwanted pextra check.
16175 * several files: remove CXX_WORKING_NAMESPACES
16177 * buffer.C (pop_tag): tie is in namespace boost
16179 * BufferView.h: noncopyable is in namespace boost
16181 * lyx_main.h: ditto
16184 * lastfiles.h: ditto
16185 * bufferlist.h: ditto
16186 * ShareContainer.h: ditto
16188 * LyXAction.h: ditto
16191 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16193 * Merging changes from BRANCH_MVC back into HEAD.
16195 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16197 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16199 * BufferView_pimpl.C: change from intl.C
16203 * Makefile.am: move combox.*
16209 * intl.C: remove dialog (covered by prefs)
16211 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16213 * lyxfunc.C (Dispatch): removed redundant break statement.
16215 2001-03-14 Juergen Vigna <jug@sad.it>
16217 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16219 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16221 * buffer.C: add hack to fix compability reading of minipages.
16223 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16225 * buffer.C (getLists): Cleanup.
16227 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16229 * lyxfont.C (update): don't honor toggleall on font size.
16231 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16235 * Makefile.am: moved to frontends/xforms/
16239 * BufferView_pimpl.C: changes for moved mathpanel
16241 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16243 * gettext.h: fix gettext_init() in --disable-nls
16245 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16247 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16249 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16252 * lyx.h: strip external form
16254 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16256 * BufferView_pimpl.C: add comment, destroySplash()
16258 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16260 * BufferView_pimpl.C:
16264 * lyxfunc.C: use re-worked insetinclude
16266 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16268 * buffer.C: add using std::stringstream.
16270 * lyx_cb.C: readd using std::ios.
16272 * buffer.C: add using std::map.
16274 * BufferView_pimpl.C: add using std::vector.
16276 * ShareContainer.h: add std:: to swap.
16278 * buffer.h: add some typedefs
16279 * buffer.C (getLists): use them
16280 (getLists): renamed from getTocList.
16281 add a counter for the different float types and use it in the
16283 (getLists): use the same counter for the NEW_INSETS and the "non"
16286 * lyx_cb.h: remove unused items, includes, using etc.
16288 * ShareContainer.h: remove some commented code, add more comments
16289 and "documentation".
16291 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16293 * buffer.C (getTocList): make the list also when NEW_INSETS is
16296 * buffer.h: remove TocType
16298 * buffer.C (getTocList): change to return a map<string,
16299 vector<TocItem> >, implement for dynamic number of list.
16301 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16302 * text2.C (PasteSelection): adjust
16303 * CutAndPaste.C (pasteSelection): adjust
16305 * FloatList.C (FloatList): update from the new_insets branch.
16306 * Floating.[Ch]: ditto
16307 * LaTeXFeatures.C: ditto
16309 * lyxlex_pimpl.C: ditto
16311 * paragraph.C (Last): remove when NEW_INSETS is defined.
16313 * other file: changes because of the above.
16315 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16317 * lyxparagraph.h: rename next to next_, previous to previous_,
16318 make them private for NEW_INSETS. Rename Next() to next(),
16319 Previous() to previous().
16321 * other files: changes because of the above.
16323 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16326 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16329 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * main.C (main): pass lyx_localedir to gettext_init().
16333 * gettext.h: remove locale_init and gettext_init macros
16335 * gettext.C (locale_init): new function
16336 (gettext_init): new function
16338 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16341 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16343 * Moved credits to frontends:
16344 * credits.[Ch]: removed
16345 * credits_form.[Ch]: removed
16346 * lyx_gui_misc.C: remove credits stuff
16349 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16351 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16353 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16354 unneeded destructor.
16356 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16357 a standalone pointer again.
16359 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16361 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16367 * ToolbarDefaults.C:
16376 * BufferView_pimpl.C: use new file dialog in GUII
16379 * lyx_cb.C: remove LayoutsCB to Toolbar
16381 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16383 * ShareContainer.h (get): add std:: qualifier
16385 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16387 * ShareContainer.h: define a proper ShareContainer::value_type
16388 type (and use typename to please compaq cxx)
16390 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16392 * lyxparagraph.h: move serveral local vars to
16393 ParameterStruct/ParagraphParameters., use ShareContainer in
16394 FontTable., make vars in FontTable private and add getter and
16397 * paragraph.C: changes because of the above.
16399 * lyxfont.h: remove copy constructor and copy assignment. (the
16400 default ones is ok), move number inside FontBits. move inlines to
16403 * lyxfont.C: add number to initializaton of statics, move several
16404 inlines here. constify several local vars. some whitespace
16405 cleanup. Dont hide outerscope variables.
16407 * Spacing.h: add two new constructors to match the set methods.
16409 * ShareContainer.h: new file, will perhaps be moved to support
16411 * ParameterStruct.h: new file
16413 * ParagraphParameters.h: new file
16415 * ParagraphParameters.C: new file
16417 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16418 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16420 * BufferView_pimpl.C: ParagraphParameter changes.
16421 * buffer.C: Likewise.
16422 * bufferview_funcs.C: Likewise.
16423 * text.C: Likewise.
16424 * text2.C: Likewise.
16426 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16428 * lyxfind.C (LyXReplace): do not redefine default argument in
16430 (IsStringInText): ditto
16431 (SearchForward): ditto
16432 (SearchBackward): ditto
16434 2001-03-06 Juergen Vigna <jug@sad.it>
16436 * lyxfind.C (IsStringInText): put parentes around expressions.
16438 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16440 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16442 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16444 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16446 * stl_string_fwd.h: add comment
16448 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16451 * tabular.C: remove unused DocBook methods
16457 killed DO_USE_DEFAULT_LANGUAGE
16459 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16461 * lyx_gui.C: do not include language.h.
16463 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16464 arguments in function implementation.
16466 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16468 * BufferView_pimpl.C: add <ctime>
16470 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16472 * BufferView_pimpl.C: add using std::find_if
16474 2001-02-27 José Matos <jamatos@fep.up.pt>
16476 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16479 2001-02-11 José Matos <jamatos@fep.up.pt>
16481 * buffer.C (makeDocBookFile): command styles now have a parameter as
16482 "title" by default.
16484 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16486 * layout_forms.[Ch]: removed
16487 * lyx_cb.[Ch]: out character
16488 * lyx_gui.C: out character
16489 * lyx_gui_misc.C: out character
16490 * bufferview_funcs.C: : out character,
16491 added toggleall as parameter in ToggleAndShow
16493 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16495 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16497 * text2.C (SetCurrentFont): Disable number property at boundary.
16499 2001-02-26 Juergen Vigna <jug@sad.it>
16501 * lyxfunc.C (getStatus): added a string argument override function so
16502 that this is correctly called from LyXFunc::Dispatch if it contains a
16503 do_not_use_argument which is used!
16504 (Dispatch): added check for "custom" export and call appropriate func.
16506 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16508 * lyxrc.C: Add language_command_local, language_use_babel and
16509 language_global_options.
16511 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16513 * buffer.C (makeLaTeXFile): Use language_use_babel and
16514 language_global_options.
16516 2001-02-23 Juergen Vigna <jug@sad.it>
16518 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16519 which works with LyXText and putted it inside BufferView. Here now we
16520 only call for that part the BufferView::Dispatch() function.
16522 * BufferView.C (Dispatch): added.
16524 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16525 functions which needs to use a LyXText over from LyXFunc.
16526 (MenuInsertLyXFile): added
16527 (getInsetByCode): added
16528 (moveCursorUpdate): added
16529 (static TEXT): added
16531 2001-02-22 Juergen Vigna <jug@sad.it>
16533 * BufferView_pimpl.C (update): call a status update to see if LyXText
16536 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16538 * vc-backend.C (revert): implement for CVS
16539 (getLog): implement for CVS
16541 2001-02-20 Juergen Vigna <jug@sad.it>
16543 * text2.C (ClearSelection): added BufferView param for inset_owner call
16545 * lyxfunc.C (TEXT): added this function and use it instead of
16546 directly owner->view()-text of getLyXText().
16548 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16550 * src/layout_forms.C: out preamble
16551 * src/layout_forms.h: out preamble
16552 * src/lyx_cb.C: out preamble
16553 * src/lyx_cb.h: out preamble
16554 * src/lyx_gui.C: out preamble
16555 * src/lyx_gui_misc.C: out preamble
16556 * src/lyxfunc.C: connect with guii preamble
16558 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16560 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16562 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16564 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16565 whether to run bibtex.
16567 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16569 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16571 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16573 * Makefile.am (lyx_SOURCES): removed bibforms.h
16575 * vspace.h: doxygen
16577 * text.C (GetVisibleRow): make several local vars const
16579 * tabular.C: small cleanup.
16581 * lyxserver.C (callback): use compare instead of strncmp
16583 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16584 inlines to after class or to paragraph.C
16586 * lyxfont.h: remove friend operator!=
16588 * converter.h: move friend bool operator< to non friend and after
16591 * combox.h: small cleanup
16593 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16594 to inlines after class def.
16596 * buffer.C (pop_tag): use string operations instead of strcmp
16598 * bmtable.c: doxygen, small cleanup
16600 * LaTeX.h: remove friend operator==
16602 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16614 * BufferView_pimpl.C:
16615 * BufferView.[Ch]: remove cruft
16617 2001-02-14 Juergen Vigna <jug@sad.it>
16619 * lyxfunc.C: removed #if 0 unused code
16621 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16623 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16625 * text2.C (SetSelection): added a BufferView * parameter
16627 2001-02-13 Juergen Vigna <jug@sad.it>
16629 * lyxfunc.C (Dispatch): fixed protected blank problem.
16630 * BufferView2.C (protectedBlank): added LyxText * parameter.
16632 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16633 (AppendColumn): same as above for column_info.
16635 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16636 (moveCursorUpdate): use a LyXText param for support of InsetText.
16638 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16639 (tripleClick): ditto
16641 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16643 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16645 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16647 * text2.C (SetSelection): set correct update status if inset_owner
16648 (ToggleFree): ditto
16650 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16652 * tabular.C: remove some commented code.
16654 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16656 * BufferView_pimpl.C: call hideSplash()
16658 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16661 * bibforms.h: remove
16664 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16665 add LFUN_CHILD_CREATE
16667 * counters.h: fix tiny typo
16672 * lyx.C: move splash to frontends/xforms/
16674 * lyx_gui_misc.C: move Include and Bibform to frontends
16676 * lyxvc.h: clarify comment
16678 * vspace.C: tiny housekeeping
16680 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16682 * text.C (PrepareToPrint): RTL Fix.
16684 * paragraph.C (GetUChar): New method.
16685 (String): Use GetUChar.
16687 * buffer.C (asciiParagraph): Use GetUChar.
16689 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16691 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16693 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16696 * buffer.C: rename to getLogName(), handle
16697 build log / latex log nicely
16699 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * MenuBackend.h: remove support for reference menuitem type.
16704 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16706 * BufferView_pimpl.C: housekeeping
16707 * BufferView_pimpl.h:
16712 * minibuffer.h: move Timeout GUI-I
16714 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16716 * lyxrc.C (read): Update converters data-structures.
16718 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16720 * LaTeX.h (operator!=): add operator != for Aux_Info
16722 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16724 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16726 * LaTeXLog.C: deleted, useful code moved to Buffer
16729 * buffer.C: new function getLatexLogName()
16735 * lyxfunc.C: use frontends for LaTeX and VC logs
16737 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16739 * LaTeX.h: yet another std:: that Allan forgot.
16741 * Variables.C (set): renamed from isset(), because this clashes
16742 with some HP-UX macros (grr).
16744 2001-02-06 Allan Rae <rae@lyx.org>
16746 * LaTeX.h: Another bug fix. Missing std:: this time.
16748 2001-02-04 Allan Rae <rae@lyx.org>
16750 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16751 floats problem. I've left it commented out because it's not quite
16752 correct. It should also test that the current object is a table or
16753 figure inset. But I haven't gotten around to figuring out how to do
16754 that. I *think* it'll be something like: "table" == inset.type()
16756 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16759 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16761 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16762 all the citation/databases/styles in the auxilary file.
16763 (run): Rerun latex if there was a babel language error.
16765 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16767 * text.C (Backspace): Preserve the font when changing newline char
16769 (BreakParagraph): If the cursor is before a space, delete the space.
16771 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16773 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16775 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16776 new argument (code).
16777 (ChangeCitationsIfUnique): New method.
16779 * paragraph.C (GetPositionOfInset): Handle bibkey.
16781 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * BufferView_pimpl.h: change type of Position::par_pos to
16784 LyXParagraph::size_type.
16786 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16788 * BufferView_pimpl.C (savePosition, restorePosition): Write
16789 messages to minibuffer.
16791 2001-01-28 José Matos <jamatos@fep.up.pt>
16793 * buffer.C (makeDocBookFile): adds support for document language.
16794 A silly restriction on the name of LatexCommand types where removed.
16795 Added support for CDATA sections, allows to chars unescaped, used
16796 among others in code, to avoid escape < and >.
16798 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16800 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16801 saved positions instrad of a stack. Furthermore, a position is
16802 stored using paragraph id/paragraph position.
16804 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16805 Remove LFUN_REF_BACK.
16807 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16809 * converter.C (dvipdfm_options): New method.
16811 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16813 * vspace.C (isValidLength): Fix for empty input string.
16815 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16817 * LyXAction.C (init): change description of LFUN_FIGURE to
16820 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16822 * LaTeX.C: add using directive
16824 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16826 * MenuBackend.C (expand): Fix the sorting of the formats.
16828 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16830 * lyx_main.C: tiny error message fix
16832 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16834 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16835 calling fl_initialize(). This fixes the problem with ',' as
16836 decimal separator in text files.
16838 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16840 * trans.C (process): Fix the keymap bug.
16842 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16844 * LaTeX.C (scanAuxFiles): New method. Provides support for
16845 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16846 (scanLogFile) Scan for "run BibTeX" messages.
16848 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16849 OT1 font encoding. Also, load the aecompl package if the ae
16852 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16854 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16856 * texrow.C (increasePos): turn two error messages into debug
16859 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16861 * LaTeX.C (scanAux): Handle the \@input macro.
16862 (runBibTeX): Use scanAux().
16864 * language.C (latex_options_): New field.
16866 * LaTeXFeatures.C (getMacros): Add language macros.
16868 * buffer.C (makeLaTeXFile): Small fix.
16870 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16872 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16874 * text2.C: add a using directive.
16876 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16881 * lyxfunc.C: kill LyXBell.
16883 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16885 * text.C (IsBoundary): Remove the error message
16887 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16889 * lyxrc.C (setDefaults): Correct initialization value for
16892 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16894 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16897 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16898 and GotoNextNote().
16900 * src/LyXAction.C: Added reference-next.
16902 * text.C (InsertChar): Use contains instead of strchr.
16904 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16906 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16908 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16909 alignment commands (when needed).
16911 * text.C (InsertChar): Add ':' to number separator chars.