1 2005-01-13 Angus Leeming <leeming@lyx.org>
3 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
5 (write): output LyXRC::cygwin_path_fix as necessary.
7 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
10 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
12 2005-01-12 Angus Leeming <leeming@lyx.org>
14 * lyx_main.C (init): set the PATH variable to include the
15 directory containing the LyX binary when running on Mac or Windows.
17 2005-01-12 Angus Leeming <leeming@lyx.org>
19 * lyx_main.C (init): remove cruft that purports to set the locale
20 dir. It doesn't and is not needed anyway.
22 2005-01-10 Angus Leeming <leeming@lyx.org>
24 * Makefile.am: remove the lyx_main.C special casing.
32 * messages.C: use support/package.h to provide the paths to the
33 various directories used by LyX.
35 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
37 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
38 layout if pasting into an empty paragraph)
40 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
42 * tex-accent.C: add <string>
44 2005-01-06 José Matos <jamatos@lyx.org>
46 * ParagraphParameters.C (write): put every parameter in its own line.
47 * paragraph.C (write): reduce number of consecutive empty lines exported.
48 * buffer.C (LYX_FORMAT): increase file format to 239.
50 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
52 * everywhere: change support/tostr.h -> support/convert.h
54 * tabular.C: make all write_attributes templates, tostr -> convert
56 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
57 (emptyTag): and -> &&, and fix type for ret from getChar
58 (getFirstWord): fix type for ret from getChar
60 (simpleDocBookOnePar): and not -> && !, fix type for ret from
63 * toc.C (goTo, action):
65 * text.C (currentState):
66 * tex-accent.C (DoAccent):
69 * lyxfunc.C (menuNew):
70 * lyxfinc.C (replace):
71 * counters.C (laberItem):
72 * bufferview_funcs.C (font2string):
73 * bufferparams.C (writeFile):
74 * buffer.C (readFile):
76 * MenuBackend.C: tostr -> convert
78 * LaTeX.C (runMessage): fix format
79 (scanAuxFiles): tostr -> convert
81 * BufferView_pimpl.C (savePosition): fix format
82 (restorePosition): ditto
85 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
87 * Spacing.[Ch]: New method getValueAsString().
91 * ParagraphParameters.C:
94 * text3.C: store/read spacing value as string.
96 * rowpainter.C: change float value (spacing_val) to double.
98 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
99 broken custom document spacing).
101 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
103 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
104 namespace, also more use of temp references and const
106 * cursor.[Ch] (getStatus): move to lyxfunc.C
108 * bufferparams.C: reformat slightly
110 * bufferview_funcs.C (font2string): constify arg
116 * buffer_funcs.C: (many funcs): constify arg on function
117 definitions, also make more local vars const, also add ASSERTS on
120 * buffer.C (LYX_FORMAT): put const in correct place
121 (many funcs): constify arg on function definitions, also make
122 more local vars const
124 * aspell_local.h: remove "struct" from typdef setup
126 * aspell.C (check): make word_ok const
127 (nextMiss): simplify slightly
130 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
132 * lyxrc.[Ch]: store all float values as strings.
133 use int (not float) for lyxrc.dpi.
135 2005-01-04 Angus Leeming <leeming@lyx.org>
137 * lyx_cb.C (Reconfigure):
138 * lyx_main.C (queryUserLyXDir):
139 to run the <system_lyxdir>/configure correctly on Windows, prefix
140 the path to the script with "sh " when generating the string that
141 is passed to system().
143 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
147 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * lyxlength.C (asLatexString): get rid of setprecision
151 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * text2.C (setLayout): remove unused variable endpit.
154 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
156 * paragraph.C (onlyText): remove unused variable style.
158 * cursor.C (bruteFind): remove unused variables beg and end.
160 * Makefile.am (dist_noinset_DATA): not needed anymore
162 * cheaders/*: remove.
164 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * text3.C: fix LFUN_MATH_MODE.
168 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * buffer_funcs.C (countWords): new function. Counts words between
173 * BufferView_pimpl.C (getStatus, dispatch): handle
176 * LyXAction.C (init):
177 * lfuns.h: add LFUN_WORDS_COUNT.
179 2004-12-19 Angus Leeming <leeming@lyx.org>
181 * buffer.C (save): s/slashify_path/internal_path/.
183 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
185 * lyxfind.C (findChange): do not search for end of pars, because
186 the change tracker cannot handle this (fixes bug 1719).
188 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
190 * paragraph.[Ch] (autoBreakRows): remove
192 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
194 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
195 avoid using the paragraph one
197 * text2.C (LyXText, insertStringAsLines): adjust
199 2004-12-16 Angus Leeming <leeming@lyx.org>
203 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
205 2004-12-14 Angus Leeming <leeming@lyx.org>
207 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
209 * bufferlist.C (emergencyWrite):
210 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
213 2004-12-14 Angus Leeming <leeming@lyx.org>
215 * main.C: (main): no longer pass pointers to os::init.
217 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
219 * undo.C (textUndoOrRedo): simplify logic, fix a crash
220 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
222 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
225 * text3.C: remove selection_possible global flag
227 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
229 * text2.C (getSelectionSpan): remove
230 (changeDepth, changeDepthAllowed): adjust
232 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
234 * Makefile.am (BOOST_LIBS): use boost variables
236 2004-12-03 José Matos <jamatos@lyx.org>
238 * buffer.C: format up to 238.
240 2004-12-03 José Matos <jamatos@lyx.org>
242 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
244 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
246 * cursor.C (goUpDown): remove call to idxUpDown2
248 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * tabular.[Ch]: use size_t-like types for cell, row and column
253 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * lyxfunc.C (getStatus): do not lose previous information when
256 calling BufferView::getStatus; do not set a default "Command
257 disabled" message at the beginning, but just before returning.
259 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * cursor.h (getStatus): add better comment from src/cursor.C
263 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
265 * text3.C (getStatus): return false when the lfun is not handled
267 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
269 * broken_headers.h: remove
271 * Makefile.am (lyx_SOURCES): remove broken_headers.h
273 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
275 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
278 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
279 top_y_, merge fitcursor with update
280 (updateScrollbar, scrollDocView, fitCursor, center, update): new
283 (workAreaDispatch): adapt to new coord scheme
284 (redoCurrentBuffer): remove
286 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
288 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
291 * coordcache.[Ch]: add paragraph cache and helpers
293 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
296 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
297 (targetX, setTargetX): introduce
299 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
300 baseline -> ascent, as the rest of lyx
302 * lyxtext.h: remove redoParagraphs, updateParPositions,
303 fullRebreak, redoParagraphInternal. move dist to anon namespace in
304 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
305 have ascent/descent (ascent is ascent of first par)
307 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
310 * paragraph.[Ch]: unify dimension handling with the rest of lyx
312 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
314 * pariterator.C: fix infinite loop introduced in par->pit renaming
316 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
317 in insets and LyXText, draw two off-screen paragraphs using
318 NullPainter, and adapt to new coord scheme
322 * text3.C: adapt lfun handlers to the new coord scheme, which
323 means: there's only guaranteed coord information for onscreen pars
324 plus one above and one below. This implies that one can do search
325 from y coordinates in the range [-1,workHeight]
327 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
329 * rename a lot of InsetOld to InsetBase
331 2004-11-25 Angus Leeming <leeming@lyx.org>
333 * BufferView_pimpl.C:
335 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
337 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
339 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
340 call BufferView::getStatus if LCursor::getStatus did nothing
341 (setStatusMessage, getStatusMessage): removed.
343 * FuncStatus.C (message): new methods. Used to provide an error
344 message indicating why a command is disabled.
345 (clear, |=, FuncStatus): update for message.
347 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * lyxfunc.C (dispatch): always call sendDispatchMessage
351 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
354 * BufferView_pimpl.C:
368 * undo.C: par->pit renaming
370 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * tabular.C (cellstruct): use initialization, store a shared_ptr
373 to insettext instead of the insettext directly, adjust to fit.
374 (operator=): new function
376 (rowstruct): use initialization
377 (columnstruct): use initialization
378 (ltType): use initialization
381 * lyxlength.h (swap): new function
383 * LColor.[Ch] (operator=): use the common semantics
385 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * lyxfind.C (findNextChange): update the bufferview after setting
390 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
393 number of InsetOptArgs has already been inserted.
395 * output_latex.C (latexOptArgInsets): new method. This outputs all
396 the optarg insets, up to the limit defined in the layout file.
397 (optArgInset): removed
398 (TeXOnePar): call latexOptArgInsets; correctly update texrow
400 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
402 * paragraph.C (isLetter): remove special spellchecker-related
403 code; return true also for digits
404 (isWord, isKomma): remove
406 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
407 * lyxfind.C (MatchString()): use isLetter instead of isWord
409 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * pariterator.h (operatir=): comment out un-implemented member
414 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
417 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
419 * lyxfont.h: include LColor.h to satisfy concept checks.
421 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
423 * pariterator.h: add typdefs for value_type, difference_type,
424 pointer and reference to satisfy concept checks. Also add default
425 constructor for same reason.
427 * pariterator.C (operator++): add post-increment operator to
428 satisfy concept checks.
430 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
433 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
435 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
436 checks. Also rename base_type to BaseType to follow naming
439 * FloatList.h: include Floating.h to satisfy concept checks.
441 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
443 * lyxfunc.C (getStatus): when the origin of the request is menu or
444 toolbar, and the LyXView does not have focus, do as if there was
447 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
448 FuncRequest to individual entries of LFUN_SEQUENCE
450 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
452 * output_latex.C (TeXOnePar): override runparams.moving_arg
453 according to the needprotect value of the current paragraph (bug
456 * paragraph.C (simpleTeXOnePar): no need to override
457 runparams.moving_args here
459 2004-11-14 John Spray <spray_john@users.sourceforge.net>
461 * vspace.C: fix off-by-one-error, related to fix #1682
463 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
465 * lengthcommon.C: a more general fix for bug 1682
467 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
469 * text.C (backspace): fix crash
471 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * format.[Ch] (getFormatFromFile): new method
474 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
476 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
478 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
480 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * lyxfunc.C (dispatch): remove the verbose argument
483 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
486 * kbmap.C (defkey): set the origin of func to KEYBOARD
488 * MenuBackend.C (MenuItem):
489 * ToolbarBackend.C (add): set the origin of func to UI
491 * funcrequest.[Ch]: add origin member, which indicates which part
492 of LyX requests an action
494 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
496 * converter.C (move): don't lie in the error message
497 * converter.h (isReachable, move): document
499 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
501 * buffer.C: remove unused using lyx::support::atoi
502 * paragraph_funcs.C: ditto
504 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
506 * bufferlist.C (exists): use bind and equal_to instead of
509 * lyxtextclasslist.C (NumberOfClass): ditto
511 * cursor.C (insert): use for_each instead of explicit for loop
513 * bufferlist.C (getFileNames): use std::transform and
514 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
516 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
519 * buffer.C (changeLanguage): use for_each instead of explicit for
521 (hasParWithID): implement using getParFromID
523 * LaTeXFeatures.C: ws change only
525 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
528 * BufferView_pimpl.C (trackChanges): use for_each instead of
531 2004-11-04 André Pönitz <poenitz@gmx.net>
534 * undo.C (textUndoOrRedo): fix crash when creating undo information.
536 * dociterator.C (asDocIterator): use hard assert again.
538 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
540 * lyxlength.C (asLatexString): rewrite so that it does not use
543 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * text3.C (specialChar, dispatch): make sure cursor moves to the
546 right after inserting an inset
548 2004-11-02 José Matos <jamatos@lyx.org>
550 * output_docbook.C (docbook):
551 * paragraph.C (getID):
552 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
553 garantee that the output is always legal.
555 * tabular.C (docbook):
556 * outputprams.[Ch]: remove mixed contents.
558 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
560 * text2.C (setCounter): prevent endless loop
562 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
564 * exporter.C (copyFile): use the mover instead of support::copy()
565 * exporter.C (Export): pass format and latex name to copyFile()
566 * exporter.h (addExternalFile): document
567 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
569 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
571 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
573 2004-10-30 José Matos <jamatos@lyx.org>
575 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
576 text and no inset or font change. This allows to use CDATA
577 sections just for the whole paragraph.
579 2004-10-30 José Matos <jamatos@lyx.org>
581 * paragraph.C (getFirstWord): remove unused variable.
583 2004-10-30 José Matos <jamatos@lyx.org>
585 * paragraph.C (getFirstWord): the content should always be escaped
587 (simpleDocBookOnePar):
588 * output_docbook.C (makeEnvironment): replace reference to CDATA
591 2004-10-30 José Matos <jamatos@lyx.org>
593 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
595 2004-10-30 José Matos <jamatos@lyx.org>
597 * output_docbook.C (makeParagraphs):
598 * paragraph.[Ch] (emptyTag): for docbook and company, if the
599 standard paragraph has only a given type of content drop the wrapper.
601 2004-10-29 José Matos <jamatos@lyx.org>
603 * output_docbook.C (makeEnvironment):
605 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
607 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
609 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
610 (cleanID): sanitize any id.
612 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
614 * buffer.C, lyxlex_pimpl.C:
615 * lyxlex_pimpl.C (setFile):
616 s/getExtFromContents/getFormatFromContents/
618 2004-10-28 José Matos <jamatos@lyx.org>
620 * output_docbook.C (makeEnvironment): move id to broadest possible
623 * sgml.C (openTag): apply substitution of <> for all attributes.
625 2004-10-28 José Matos <jamatos@lyx.org>
627 * buffer.C (makeLinuxDocFile, makeDocBookFile):
628 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
629 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
631 * sgml.[Ch]: new version for open and closeTag for paragraph and
632 for strings. Now they handle the ids of paragraphs.
634 2004-10-26 Angus Leeming <leeming@lyx.org>
636 * Makefile.am: add mover.[Ch].
638 * converter.C (convert, move): use the new Movers to move external
639 files to the temp directory.
641 * lyx_main.C (init): ensure that the global system_movers data
644 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
647 * mover.[Ch]: new files, defining a Mover as a utility to move an
648 external file between directories and, if necessary, manipulate this
649 file using a helper script.
651 2004-10-25 José Matos <jamatos@lyx.org>
653 * output_docbook.C (makeCommand): merge two if's that tested the
656 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
658 * sgml.C (escapeString): fix warning in a better way
660 2004-10-25 José Matos <jamatos@lyx.org>
662 * sgml.C (escapeString): import the require boosts header file for
663 tie, and avoid a signed unsigned comparison.
665 2004-10-25 José Matos <jamatos@lyx.org>
667 * sgml.h: add #include <string>
669 2004-10-25 José Matos <jamatos@lyx.org>
671 * sgml.[Ch] (escapeString): new function to escape all the string.
673 2004-10-24 José Matos <jamatos@lyx.org>
675 * paragraph.[Ch] (getFirstWord): new function to get the first
676 word. Useful for description.
677 (simpleDocBookOnePar): remove depth argument, add another that
678 says where to start the paragraph.
680 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
681 use the new functions to fix cleanly the support for descriptions.
683 2004-10-24 José Matos <jamatos@lyx.org>
685 * buffer.C (makeLinuxDocFile, makeDocBookFile):
686 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
687 * output_linuxdoc.C (linuxdocParagraphs):
688 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
689 add buffer as argument.
691 2004-10-24 José Matos <jamatos@lyx.org>
693 * output_docbook.C (makeEnvironment, searchEnvironment): place
694 CDATA inside paragraphs and fix scope for listitems.
696 2004-10-24 José Matos <jamatos@lyx.org>
698 * output_docbook.C: remove using statement for stack.
700 2004-10-23 José Matos <jamatos@lyx.org>
702 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
703 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
704 docbook. The new scheme is recursive and makes use of iterators, the
705 same as latex export works.
706 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
707 directly with the paragraph contents. This code was moved up to
708 output_docbook.C (docbookParagraphs).
709 * sgml.C (openTag, closeTag): removed unneeded newlines.
710 (closeEnvTags) removed.
712 2004-10-23 André Pönitz <poenitz@gmx.net>
714 * undo.C (textUndoOrRedo):
715 * dociterator.C (asDocIterator): work around crash
717 * cursor.C (getStatus): replace ASSERT by more verbose error message
718 and manual correction of the problem. Should increase stability
719 while providing more sensible information.
721 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
725 * bufferlist.C (previous, next): new methods
728 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
730 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
732 * buffer.C (makeDocBookFile): add dsssl stylesheet control
733 entities to preamble.
735 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
737 * messages.C (Pimpl): strip off translation context information
739 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
742 the cursor is correct (bug 1694)
744 2004-10-13 José Matos <jamatos@lyx.org>
746 * output_docbook.C (docbookParagraphs): fix closing tags in the
749 2004-10-09 José Matos <jamatos@lyx.org>
751 * buffer.C: format up to 237.
752 * bufferparams.C (write): use tostr to convert booleans to strings.
754 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
756 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
758 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
760 * LaTeX.C: implement use of babel language in xindy.
762 2004-10-05 José Matos <jamatos@lyx.org>
764 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
765 Add new translators to help reading and writing the lyx file.
767 2004-10-05 José Matos <jamatos@lyx.org>
769 * ParagraphParameters.C (read):
770 * text.C (readParToken): replace nexToken by more appropriate lex
773 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
775 * LaTeX.C (runMakeIndex):
776 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
777 (usually 'makeindex') configurable.
779 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
780 with a variable rather than with a number.
782 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
784 * output_latex.C (TeXOnePar): make sure font setting is the first
785 thing that gets output (and the last at the end). Should fix bug
788 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * pch.h: use proper signal include
792 * LaTeX.h: Use preferred calling of Boost.Signal
795 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
797 * pch.h: dont include <boost/function/function0.hpp>
799 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
801 * paragraph_pimpl.h: remove usage of ShareContainer
803 * paragraph_pimpl.C: remove initialization of ShareContainer.
805 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * BufferView.C (putSelectionAt): change the semantics when
810 backwards == true: now, this just swaps cursor and anchor wrt the
813 * BufferView.h (putSelectionAt): add some documentation
815 * lyxfind.C (findBackwards): rewrite using while(). In particular,
816 make sure backwardChar is done at least once (to avoid getting
818 (findNextChange): use putSelectionAt in the forward direction
819 (operator()): use Paragraph::isWord
821 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
823 * Spacing.C (set): c_str fix
825 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 * lyx_cb.C (Reconfigure): quote the name of configure script in
828 case it contains spaces
830 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
834 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
835 (BOOST_LIBS): use top_buildir when looking for the file
837 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
839 * pch.h: do not use include boost/format.hpp, multiple symbols
840 will result (gcc bug)
843 2004-08-23 José Matos <jamatos@lyx.org>
845 * bufferparams.C (readToken): fix reading of the author field.
847 2004-08-20 José Matos <jamatos@lyx.org>
849 * lyxrc.C: remove support/translator.h inclusion since it is not used.
851 2004-08-20 José Matos <jamatos@lyx.org>
853 * lyxlex.[Ch] (findToken): remove function.
855 * ParagraphParameters.C (findToken):
856 * bufferparams.C (findToken): replace call for previous function
857 with local copy. This local function has one more argument, the
858 read string argument.
860 2004-08-16 José Matos <jamatos@lyx.org>
862 * ParagraphParameters.C (write):
863 * Spacing.C (writeFile):
864 * bufferparams.C (writeLaTeX):
865 * lyx_cb.C (Reconfigure):
866 * paragraph.C (write):
867 * tabular.C (write): remove unnecessary space at end of line.
870 2004-08-16 José Matos <jamatos@lyx.org>
872 * text.C (readParagraph): remove debug message.
874 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
879 * output_plaintext.C (asciiParagraph): set depth correctly
881 * outputparams.h: add member depth
883 * paragraph_funcs.C (ownerPar): remove.
885 * text2.C (setCounter): remove first_pit; comment out some
886 non-working code that uses ownerPar
888 * BufferView.C (getParentLanguage): remove. Not used anymore, and
891 2004-08-16 José Matos <jamatos@lyx.org>
893 * text.C (readParToken, readParagraph, read): report all unknown tokens.
894 For the same level of importance use the same chanel to report problems.
895 (read): add code to deal with \begin_body and \end_body.
898 2004-08-15 José Matos <jamatos@lyx.org>
900 * lyxlex.C (getString): fix comment, buffer::readBody is now
903 * tex-strings.C (string_papersize): Default -> default,
904 Custom -> custom, for consistency with other options.
906 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
910 * Makefile.am: support pch
912 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
914 * text.C (readParToken): remove the static LyXFont variable and
915 pass it as a parameter instead. This fixes a nasty bug where an
916 inset will be inserted with a bad font in some situations
917 (readParagraph): adapt
919 * text2.C (setCounter): reduce number of calls to pars_[pit]
921 * text.C (singleWidth): add an assert, fix a test
923 * rowpainter.C (paintText): reduce number of calls to singleWidth
925 * paragraph.C (isHfill):
928 2004-08-14 André Pönitz <poenitz@gmx.net>
933 * lyxtext.h (several functions): use a Paragraph & argument
936 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
938 * metricsinfo.h: add a new field ltr_pos to PainterInfo
940 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
942 * text.C (singleWidth): remove useless test
944 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * tabular.h: remove bogus comments
948 * tabular.C (getDescentOfRow):
949 (isPartOfMultiColumn): add assertions
951 * lyxlength.C (inPixels): remove #warning
953 2004-08-14 André Pönitz <poenitz@gmx.net>
955 * paragraph.h: inline getChar()
957 * BufferView.h: remove unused declarations
959 2004-08-14 José Matos <jamatos@lyx.org>
961 * Buffer.[Ch] (readDocument): new name for old readBody.
962 * Buffer.C: new file format, new keywords: \begin_document,
963 \begin_header, \begin_body, \end_body.
965 * bufferparams.C (readToken): replace all calls to lex.nextToken
966 by lex.next(). Do the same to eatLine except where really needed.
968 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
969 line when writing to the lyx file.
971 * output_plaintext.C (asciiParagraph): fix Bibliography style
974 * text.C (read): fix end of file handling.
976 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * MenuBackend.C (Menu::operator[]): new method to access
979 individual menu items
980 (Menu::hasFunc): new method. search for an item that corresponds
982 (MenuBackend::specialMenu): new method
983 (MenuBackend::expand): if a special menu has been set, skip
984 entries whose func() appears in this menu
986 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
988 * text3.C: use Debug::DEBUG a bit more
990 * text.C (leftMargin): try to simplify a tiny bit change var x to
991 l_margin. Dont output the wide margins always.
992 (rightMargin): no margin in inner texts
994 * rowpainter.h (nestMargin): new func
995 (changebarMargin): new func
996 (rightMargin): new func
998 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1002 * factory.C (createInset): modify setDrawFrame
1004 * cursor.C: use Debug::DEBUG a bit more
1006 2004-08-14 André Pönitz <poenitz@gmx.net>
1009 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1010 cache for all insets in (at least partially) visible (top-level)
1013 * BufferView_pimpl.C: reset external coord cache before every update.
1014 This means the coord cache only contains valid entries.
1016 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1019 * BufferView_pimpl.C (getInsetByCode): move function out of class
1020 and change in to a template in anon namespace. Also fix to do what
1023 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1026 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1028 (breakParagraph): rename par to par_offset and use a local
1029 reference. Add code to keep the language over a rebreak.
1030 (breakParagraphConservative): rename par to par_offset, use a
1032 (mergeParagraph): ditto
1034 (isFirstInSequence): ditto
1035 (outerFont): rename pit to par_offset
1037 * paragraph.C: ws change
1038 * paragraph.h: ditto
1042 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1044 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1047 * paragraph.C (simpleTeXOnePar): when we have a \item with
1048 optional argument, enclose the argument with curly brackets (in
1049 case it contains a closing square bracket)
1053 * text3.C (checkInsetHit): constify
1055 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1057 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1058 documents (bug 1629)
1060 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 Fix toggling of collapsable insets with the mouse (bug 1558)
1064 * lyxfunc.C (dispatch): adapt to LCursor changes
1066 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1067 make sure that dispatch is not invoked twice
1069 * cursor.C (needsUpdate): new method
1070 (dispatch): return void
1071 (result): new method, to access the DispatchResult of the cursor.
1073 2004-08-13 José Matos <jamatos@lyx.org>
1075 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1077 2004-08-13 André Pönitz <poenitz@gmx.net>
1079 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1081 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1084 2004-08-12 André Pönitz <poenitz@gmx.net>
1086 * text3.C: take out the 'cursor right' form insertInset and only
1087 do it in those places when it is really needed. Fixes crash on
1090 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1092 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1094 * BufferView_pimpl.C (setBuffer): initialize the current font of
1095 the underlying LyXText
1097 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * kbsequence.C (print): use UI native formatting for menu
1102 * text.C (insertChar): call Paragraph::insertChar with a font
1105 * paragraph.C (insertInset, insertChar): the version that takes a
1106 LyXFont argument is now a wrapper around the other one (the
1107 opposite used to be true).
1109 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1110 argument. Font setting is done in Paragraph now.
1112 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * outputparams.h: add new members intitle and lang.
1116 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1117 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1119 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1121 * text3.C (dispatch): remove special handling of button 4 and 5,
1122 it is now taken care of in the frontend code.
1124 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1126 * Spacing.h: add <string> (STLPort compile fix)
1128 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1130 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1132 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1134 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1137 * converter.C (showMessage): inherit from unary_function, make
1140 * buffer.C (writeFile): initialize retval
1142 * InsetList.h: rename private variable list to list_
1143 * InsetList.[Ch]: adjust accordingly.
1145 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1147 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1148 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1149 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1150 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1151 * ParagraphParameters.C, LaTeXFeatures.C: replace
1152 "support/std_sstream.h" with <sstream>
1154 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1157 * lyxsocket.C (LyXServerSocket): ditto
1158 (serverCallback): ditto
1160 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1162 * LaTeXFeatures.C: check release date when loading jurabib.
1164 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1166 * lyxserver.C (startPipe): call register_socket_callback
1167 (endPipe): call unregister_socket_callback
1169 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1171 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1172 (LyXServerSocket): register the callback
1173 (LyXServerSocket): unregister the callback
1174 (fd): delete function
1175 (serverCallback): improve error checking and setup the callbacks.
1176 (dataCallback): change arg to fd.
1177 (writeln): new func (copied fro the client socket) used for server
1179 (LyXDataSocket): simplify
1180 (~LyXDataSocket): close ann unregiser callback
1181 (server): delete function
1182 (fd): delete function
1183 (readln): small changes, improve some std::string usage
1184 (writeln): constify a bit
1186 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1188 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1191 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1194 after it has been populated
1196 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * text2.C (insertInset): move cursor when inserting inset.
1200 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1202 * kbmap.C (findbindings): a couple of new methods. returns a
1203 container of kb_sequence objects. The real work is done by the
1204 private recursive version
1205 (printbindings): uses findbindings to print out a bracketed list
1206 of bindings (renamed from findbinding).
1208 * MenuBackend.C (binding): use kb_keymap::findbindings
1210 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1212 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1214 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1216 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * paragraph.C (isWord): return true on insets that report
1221 * text.C (getWord): use Paragraph::isWord to decide what is in a
1222 word and what is not; fix bug 1609.
1224 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1226 * tex-strings.C: add "none" to string_paperpackages[], fixes
1227 off-by-one-error in the paperpackage selection.
1230 * tex-strings.[Ch]: char const * string[n]
1231 -> char const * const string[]
1233 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1235 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1236 command, return early.
1238 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1240 * debug.h: add DEBUG to enum and fix size of ANY.
1242 * debug.C: add support for Debug::DEBUG
1243 (showTags): cast errorTags.level to unsigned int
1245 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1246 (redoCurrentBuffer): ditto
1247 (updateScrollbar): ditto
1248 * cursor.C (dispatch): ditto
1249 * text2.C (setLayout): ditto
1251 (updateCounters): ditto
1253 (deleteEmptyParagraphMechanism): ditto
1255 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1257 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1258 annotations to cleanup the Makefile slightly.
1260 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1262 * lyxrc.C: do not set user_email to a default value but use empty
1263 instead. The entry used to be translated, which does not work
1264 since at the point where lyxrc is constructed there is no
1265 translation service available
1267 * messages.C (getLocaleDir): remove and use directly
1268 lyx_localedir() instead
1270 2004-06-02 Angus Leeming <leeming@lyx.org>
1272 Fix crash caused by dereferencing null pointer 'exportdata' in
1273 OutputParams by creating a new ExportData variable on the heap,
1274 storing it in a boost::shared_ptr.
1275 The crash was triggered when generating an Instant Preview
1276 of an external inset.
1278 * Makefile.am: add outputparams.C
1280 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1281 (c-tor): allocate memory to it.
1283 * exporter.C (c-tor): associated changes.
1285 2004-06-01 Angus Leeming <leeming@lyx.org>
1287 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1288 contains data before calling isInset(0). (Bug 1513.)
1290 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1292 * exporter.C (checkOverwrite): new method
1293 * exporter.C (copyFile): new method
1294 * exporter.C (Export): copy referenced files to the document dir
1295 * exporter.[Ch]: new class ExportedFile
1296 * exporter.[Ch]: new class ExportData. Contains currently the
1297 names of referenced external files
1298 * outputparams.h: add exportdata member.
1300 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1302 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1305 2004-05-19 Angus Leeming <leeming@lyx.org>
1310 * lyxfunc.C: small changes due to the introduction of namespace
1311 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1313 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1315 * text3.C (dispatch): supress update when only moving the cursor
1316 * cursor.C (selHandle): remove commented code
1318 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1320 * paragraph.C (startTeXParParams): correct column count
1321 * CutAndPaste.C (pasteSelection): remove const_cast
1322 * output_docbook.C (docbookParagraphs): remove const_cast
1323 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1324 const_cast and return ParagraphList::const_iterator
1325 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1326 * output_plaintext.C (writeFileAscii): remove const_cast
1327 * paragraph.[Ch] (simpleTeXOnePar): make const
1328 * paragraph_funcs.C (outerPar): use const iterators
1329 * paragraph_pimpl.C (validate): use const iterators
1330 * text.C (setHeightOfRow): use const iterators
1332 2004-05-17 Angus Leeming <leeming@lyx.org>
1335 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1337 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1338 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1339 if the citation engine has changed.
1341 2004-05-14 José Matos <jamatos@lyx.org>
1343 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1344 if the textclass does not provide it. Have it different for sgml and
1346 support the language of document.
1347 * output_docbook.C (docbookParagraphs):
1348 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1349 first anchor as the id of the paragraph, remove special case code.
1350 * sgml.C (escapeChar): escape only < & >.
1352 2004-05-14 Angus Leeming <leeming@lyx.org>
1354 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1355 dependencies on src/frontends/controllers/biblio.h. Define a
1356 CiteEngine_enum wrapper class to enable the enum to be forward
1359 2004-05-12 Angus Leeming <leeming@lyx.org>
1361 * buffer.C: up LYX_FORMAT to 234.
1362 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1363 use_numerical_citations with a single biblio::CiteEngine cite_engine
1365 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1367 2004-05-13 José Matos <jamatos@lyx.org>
1370 * converter.C (Converter, readFlags): add xml member.
1371 * outputparams.h: add XML flavor.
1372 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1374 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1376 * lyxfunc.C (dispatch):
1377 (getStatus): fix handling of LFUN_SEQUENCE
1379 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * debug.C (showLevel): do not forget the end-of-line marker
1383 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1385 * kbmap.C (read): do not stop parsing a bind file when an error
1388 2004-04-29 Angus Leeming <leeming@lyx.org>
1393 * text2.C: wrap a bunch of #warning statements
1394 inside #ifdef WITH_WARNINGS blocks.
1396 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1398 * buffer.C: increment format to 233.
1400 2004-04-28 Angus Leeming <leeming@lyx.org>
1402 * BufferView_pimpl.C:
1405 s/updateToolbar()/updateToolbars()/
1406 s/Toolbar.h/Toolbars.h/
1408 2004-04-28 Angus Leeming <leeming@lyx.org>
1410 * BufferView.[Ch] (c-tor):
1411 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1412 No longer passes these data to the WorkArea generator.
1414 2004-04-28 Angus Leeming <leeming@lyx.org>
1416 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1418 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1420 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1422 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1424 * output_latex.C (TeXEnvironment): make sure that there is a line
1425 break before \end{foo} for the last paragraph of a document
1426 (TeXOnePar): if the paragraph is at the end of the document (or
1427 inset) and the language has to be reset, then make sure that the
1428 line break is _before_ the language command, not after (fixes bug
1429 1225); also make sure that the language reset command is the first
1430 thing after the paragraph (to ensure proper nesting of
1431 environments and thus fix bug 1404)
1433 2004-04-21 John Levon <levon@movementarian.org>
1436 * ToolbarBackend.C: make "name" be a programmatic name
1437 and a gui_name field.
1439 * lyxfunc.C: display the minibuffer on M-x
1441 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1443 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1446 2004-04-19 Angus Leeming <leeming@lyx.org>
1448 * BufferView_pimpl.C (setBuffer): changed preview interface.
1450 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1453 2004-04-19 John Levon <levon@movementarian.org>
1455 * BufferView_pimpl.C:
1456 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1458 2004-04-05 Angus Leeming <leeming@lyx.org>
1460 * text.C (redoParagraphs): add call to updateCounters(), thereby
1461 fixing the missing "Figure #:" label from the caption of a
1464 2004-04-13 Angus Leeming <leeming@lyx.org>
1466 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1467 cursor is clicked out of an inset.
1469 2004-04-13 Angus Leeming <leeming@lyx.org>
1471 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1472 than an InsetOld one.
1474 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1476 * format.[Ch]: add editor to Format
1477 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1478 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1480 2004-04-08 André Pönitz <poenitz@gmx.net>
1482 * metricsinfo.h: remove PainterInfo::width member
1484 2004-04-08 Angus Leeming <leeming@lyx.org>
1486 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1487 "\providecommand" rather than "\newcommand", thereby preventing
1488 clashes with packages that define "\boldsymbol" themselves.
1491 2004-04-08 Angus Leeming <leeming@lyx.org>
1493 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1494 thereby squashing an unnecessary warning.
1496 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1498 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1501 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1503 * BufferView.C (setCursor): call redoParagraph (some insets could
1505 (putSelectionAt): remove the 'double update' trick
1507 * BufferView_pimpl.C (fitCursor): call refreshPar
1508 (workAreaDispatch): remove an uneeded update call
1509 (dispatch): remove some manual update calls
1511 * cursor.[Ch]: remove cached_y_, updatePos
1512 (selHandle): set noUpdate when appropriate
1514 * lyxfunc.C (dispatch): track if we need an update
1516 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1518 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1519 (paintSelection): cheap optimization, do not call cursorX when not
1521 (paintPars): change signature
1524 (paintTextInset): adjust
1528 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1530 * lengthcommon.C: compilation fix: remove explicit array size from
1531 unit_name[] and friends
1533 2004-04-05 Angus Leeming <leeming@lyx.org>
1535 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1537 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1538 present only for the preferences dialog.
1539 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1541 2004-04-05 Angus Leeming <leeming@lyx.org>
1543 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1544 to enable the frontends to export changes to lyxrc correctly.
1546 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1548 2004-04-07 André Pönitz <poenitz@gmx.net>
1550 * cursor.[Ch] (selClear, adjust): remove math
1552 * cursor_slice.C: more agressive assert
1555 * BufferView_pimpl.C: rework mouse event dispatch
1562 2004-04-05 André Pönitz <poenitz@gmx.net>
1564 * cursor.[Ch] (valign, halign...): remove unneeded functions
1566 2004-04-05 Angus Leeming <leeming@lyx.org>
1568 * lyxlength.[Ch] (unit_name et al.): const-correct.
1570 2004-04-05 Angus Leeming <leeming@lyx.org>
1572 * BufferView_pimpl.C:
1581 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1583 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1585 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1587 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1589 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1590 * BufferView_pimpl.[Ch] (getStatus)
1591 * BufferView.[Ch] (getStatus): add
1592 * lyxfunc.C (getStatus): move lfuns handled in
1593 BufferView::dispatch to te function above
1594 * Cursor.C (setSelection): set selection() = true
1596 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1598 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1600 2004-03-31 Angus Leeming <leeming@lyx.org>
1602 * lyxfunc.C (dispatch): Fall through to the generic
1603 Dialogs::show("preamble").
1605 2004-03-31 Angus Leeming <leeming@lyx.org>
1607 * lyxfunc.C (dispatch): Fall through to the generic
1608 Dialogs::show("spellchecker").
1610 2004-03-31 Angus Leeming <leeming@lyx.org>
1612 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1615 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1620 * insetiterator.[Ch]:
1625 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1627 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1629 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1630 insets where we are putting the cursor.
1632 2004-03-31 Angus Leeming <leeming@lyx.org>
1635 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1637 * lyxrc.[Ch] (read, write): overloaded member functions taking
1638 a std::[io]stream arguments.
1640 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1642 2004-03-31 Angus Leeming <leeming@lyx.org>
1644 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1645 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1647 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1648 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1650 2004-03-31 Angus Leeming <leeming@lyx.org>
1652 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1653 the LFUN_ALL_INSETS_TOGGLE code.
1655 2004-03-30 Angus Leeming <leeming@lyx.org>
1657 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1658 has died. Fall through to the generic Dialogs::show("document").
1660 2004-03-30 Angus Leeming <leeming@lyx.org>
1663 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1664 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1666 * lyxfunc.C (getStatus, dispatch): define the actions for these
1667 lfuns. Little more than a cut and pste job from ControlDocument.C
1669 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1671 2004-03-30 Angus Leeming <leeming@lyx.org>
1674 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1675 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1677 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1678 open/closed state of ollapsable insets. Usage:
1680 all-inset-toggle <state> <name>, where
1681 <state> == "open" || "closed" || "toggle" and
1682 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1684 * lyxtext.h, text2.C (toggleInset): removed.
1686 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1687 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1688 now passes LFUN_INSET_TOGGLE to the found inset.
1690 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1691 is now invoked as "all-insets-toggle toggle branch".
1693 2004-03-30 Angus Leeming <leeming@lyx.org>
1697 * pariterator.[Ch]: added/corrected header blurb.
1699 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1701 * dociterator.[Ch]: add an inset_ member
1702 (backwardPos): implemented
1703 (backwardPos, forwardPos): use inset_ when the stack is empty.
1704 (doc_iterator_begin, doc_iterator_end): implemented
1705 * pariterator.[Ch]: adjust, add begin, end
1706 * insetiterator.[Ch]: adjust, add begin, end
1710 * BufferView_pimpl.C:
1711 * CutAndPaste.C: adjust
1713 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1715 * buffer.C: increment file format to 232.
1716 * LaTeXFeatures.C: add bibtopic package.
1717 * bufferparams.[Ch]: param \use_bibtopic.
1719 * lyxrc.[Ch]: add lyxrc bibtex_command
1720 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1722 * buffer.C: increment file format to 231.
1724 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1726 * dociterator.C: implement forwardPar
1727 * iterators.[Ch]: remove, replaced by
1728 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1730 * BufferView_pimpl.C:
1733 * bufferview_funcs.C:
1739 * Makefile.am: adjust
1741 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1743 * CutAndPaste.C (pasteSelection): fix 2 crashes
1744 (eraseSelection): fix a crash
1745 * paragraph_funcs.C: remove a warning
1747 2004-03-28 Angus Leeming <leeming@lyx.org>
1750 * LyXAction.C (init): new LFUN_PRINT.
1752 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1754 2004-03-27 Angus Leeming <leeming@lyx.org>
1757 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1759 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1761 2004-03-27 Angus Leeming <leeming@lyx.org>
1763 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1764 insetlist always contains non-null pointers to insets.
1766 2004-03-26 Angus Leeming <leeming@lyx.org>
1768 * src/BufferView_pimpl.C:
1769 * src/CutAndPaste.C:
1772 * src/output_plaintext.C:
1773 * src/outputparams.h:
1774 * src/paragraph_funcs.C:
1778 * src/frontends/controllers/ControlErrorList.C:
1779 * src/frontends/gtk/FileDialogPrivate.C:
1780 * src/frontends/gtk/GPainter.C:
1781 * src/frontends/gtk/GToolbar.C:
1782 * src/frontends/qt2/QRef.C:
1783 * src/mathed/math_scriptinset.C: squash compiler warnings.
1785 2004-03-26 Angus Leeming <leeming@lyx.org>
1787 * ispell.C (LaunchIspell::start):
1788 * lyx_cb.C (AutoSaveBuffer::start):
1789 invoke run(DontWait) rather than runNonBlocking().
1791 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1793 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1795 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * kbsequence.C (print): adjust
1799 * kbmap.C (printKeySym): rename and change signature
1800 (printKey): use LyXKeySym::print()
1802 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1804 * undo.C: add using std::advance to compile for stlport
1806 2004-03-24 Angus Leeming <leeming@lyx.org>
1808 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1809 it leads to a crash when no buffer is present.
1811 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1812 Martin Vermeer <martin.vermeer@hut.fi>
1814 * lyxfunc.C (dispatch):
1815 * bufferparams.C (readToken): use the new LColor::setColor
1817 * LColor.[Ch] (setColor): new version that takes two strings as
1818 argument and creates a new color entry if necessary
1820 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1822 * buffer.C (makeLaTeXFile): if the main latex file that is
1823 processed is usually a subdocument of some master, then pretend
1824 for a while that it is actually the master
1826 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1828 * buffer.C (getLabelList):
1829 (getBibkeyList): use getMasterBuffer()
1830 (getMasterBuffer): new method. Returns the main document in the
1831 case where one is using included documents.
1833 2004-03-25 André Pönitz <poenitz@gmx.net>
1837 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1839 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1841 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1842 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1844 * ParameterStruct.h: merge with ParagraphParameters
1846 * lyxtext.h: remove LyXText::parOffset() and getPar()
1848 * text3.C: Remove all 'manual' update calls. We do now one per user
1849 interaction which is completely sufficient.
1853 * BufferView_pimpl.C:
1854 * FontIterator.[Ch]:
1856 * ParagraphParameters.[Ch]:
1861 * cursor_slice.[Ch]:
1868 * output_docbook.[Ch]:
1869 * output_latex.[Ch]:
1870 * output_linuxdoc.[Ch]:
1871 * output_plaintext.[Ch]:
1873 * paragraph_funcs.[Ch]:
1874 * paragraph_pimpl.[Ch]:
1882 * frontends/controllers/ControlDocument.C:
1883 * frontends/controllers/ControlErrorList.C:
1884 * frontends/controllers/ControlSpellchecker.C:
1887 * insets/insetbase.h:
1888 * insets/insetbibitem.C:
1889 * insets/insetbox.C:
1890 * insets/insetbranch.C:
1891 * insets/insetcaption.C:
1892 * insets/insetcharstyle.C:
1893 * insets/insetcharstyle.h:
1894 * insets/insetcollapsable.C:
1895 * insets/insetcollapsable.h:
1896 * insets/insetert.C:
1897 * insets/insetfloat.C:
1898 * insets/insetfoot.C:
1899 * insets/insetmarginal.C:
1900 * insets/insetnote.C:
1901 * insets/insetoptarg.C:
1902 * insets/insettabular.C:
1903 * insets/insettext.C:
1904 * insets/insettext.h:
1905 * insets/insetwrap.C:
1906 * mathed/math_mboxinset.C:
1907 * mathed/math_nestinset.C:
1908 * mathed/math_scriptinset.C:
1909 * mathed/math_scriptinset.h:
1912 2004-03-24 Angus Leeming <leeming@lyx.org>
1914 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1915 deal with any child processes that have finished but are waiting to
1916 communicate this fact to the rest of LyX.
1918 2004-03-24 Angus Leeming <leeming@lyx.org>
1920 64-bit compile fixes.
1922 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1923 (c-tor): pass lyx::pos_types rather than ints.
1925 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1928 * text.C (Delete): compile fix.
1929 (getPar): ensure that function declaration is the same as that in
1932 2004-03-23 Angus Leeming <leeming@lyx.org>
1934 * ispell.C (LaunchIspell):
1935 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1936 a boost::shred_ptr rather than a std::auto_ptr.
1938 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1940 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1941 handle LFUN_FILE_INSERT_*
1943 * lyxrc.C (setDefaults, getDescription, output, read):
1944 * lyxrc.h: remove ps_command
1946 2004-03-22 Angus Leeming <leeming@lyx.org>
1948 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1949 Ensure that error_handler is processed once only and that all data
1950 is saved before attempting to output any warning messages.
1952 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1954 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1956 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1958 2004-03-19 André Pönitz <poenitz@gmx.net>
1960 * cursor.[Ch] (reset): take main text inset as argument
1962 * BufferView: adjust
1963 * BufferView_pimpl.C: adjust
1965 * paragraph.[Ch]: fix completely broken operator=()
1967 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1969 * LColor.C (getFromLyXName): make sure that the color name is used
1972 2004-03-17 Angus Leeming <leeming@lyx.org>
1975 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1977 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1978 dialog and to kill a forked process.
1980 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1982 * text2.C (setCursorFromCoordinates): fix font problem
1984 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1986 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1987 bogus "rebuild cursor" code
1989 2004-03-11 André Pönitz <poenitz@gmx.net>
1991 * buffer.[Ch]: use InsetText instead of LyXText as container for
1994 * dociterator.[Ch]: drop the BufferView * member which is not needed
1995 anymore after the change to buffer.C
1997 * paragraph_funcs.C:
2001 * BufferView_pimpl.[Ch]:
2003 * cursor_slice.[Ch]: adjust
2005 * text3.C: fix bug in mathDispatch
2007 2004-03-08 André Pönitz <poenitz@gmx.net>
2009 * undo.[Ch]: use 'StableDocumentIterator' as base for
2012 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2015 * bufferparams.[Ch]: add jurabib support and param.
2017 * LaTeX.C: add FIXME/comment.
2019 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2021 * buffer.C: increment file format to 230.
2023 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2025 * cursor.C (dispatch): avoid infinite loops
2027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2029 * rowpainter.C (paintSelection): fix x coordinates
2031 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2033 * text.C (rowBreakPoint): fix breaking before displayed insets
2035 2004-03-01 André Pönitz <poenitz@gmx.net>
2037 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2039 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2043 * BufferView_pimpl.C:
2051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2057 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2058 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2060 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2062 * Bidi.[Ch] (computeTables): const correctness
2063 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2064 fill_hfill, fill_label_hfill and x from Row
2065 * lyxtext.h: prepareToPrint returns a RowMetrics
2066 * rowPainter.C: adjust
2067 * text.C (prepareToPrint): use width, not textWidth. adjust
2068 (redoParagraphInternal, cursorX): adjust
2069 * text2.C (getColumnNearX): adjust
2070 (init): put a default value to the top LyXText::width
2072 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2074 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2076 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2078 * lyxtext.h: add FontIterator class
2080 * text.C (FontIterator, operator*, operator->, operator++): add
2081 (rowBreakPoint, setRowWidth): adjust (fixing a
2084 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2086 * BufferView_pimpl.C (workAreaDispatch): allow also
2087 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2089 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2091 * text.C (rowBreakPoint): fix a bug showing with very large insets
2093 2004-02-25 André Pönitz <poenitz@gmx.net>
2096 * cursor.[Ch]: move some mathed specific code to mathed
2098 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2100 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2101 use_tempdir in preferences
2102 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2104 * lyx_main.C: ensure that tempdir is valid
2105 * lyxlex.h: correct typo
2106 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2107 * paragraph.[Ch] (isMultiLingual): make const
2108 * cursor.[Ch] (openable): make const
2110 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2112 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2114 2004-02-20 André Pönitz <poenitz@gmx.net>
2116 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2118 * cursor.[Ch]: prepare for localized getStatus()
2124 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2126 2004-02-20 André Pönitz <poenitz@gmx.net>
2128 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2130 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2132 * text2.C (setCursorFromCoordinates): switch to absolute coords
2134 (cursorDown): adjust
2135 * text3.C (dispatch): adjust
2137 2004-02-16 André Pönitz <poenitz@gmx.net>
2139 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2142 * cursor_slice.[Ch]: remove unneeded acessor function
2144 * lyxtext.h: rename rtl() to isRTL()
2152 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2154 * rowpainter.C (paintSelection): coord fix
2156 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2158 * Spacing.C: compile fix
2160 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2162 * cursor.C (dispatch): restore current_ before returning
2164 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2166 * text2.C (cursorUp, cursorDown): fix coords
2169 2004-02-12 André Pönitz <poenitz@gmx.net>
2174 * text3.C: add LCursor & parameter to most cursor movement functions
2175 remove usage of LyXText::cursorRow() and cursorPar()
2177 * cursor.[Ch]: add textRow() needed members
2180 * BufferView_pimpl.C:
2183 * BufferView_pimpl.C: adjust
2185 2004-02-11 André Pönitz <poenitz@gmx.net>
2189 * BufferView_pimpl.C: shift undo/redo handling
2191 * cursor.[Ch]: fix mathed crash
2194 * lyxtext.h: move selectionAsText to LCursor
2202 * rowpainter.C: fix excessive drawing
2204 2004-02-06 André Pönitz <poenitz@gmx.net>
2207 * BufferView_pimpl.[Ch]:
2208 * text3.C: move some text specific LFUN handling
2210 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2212 * text3.C (checkInsetHit): adjust coords
2213 * text2.C (getColumnNearX): adjust coords
2214 (edit): adjust coords
2215 * text.C (getRowNearY): add two asserts
2217 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2220 * format.C: add using std::distance to compile on gcc 2.95/stlport
2222 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2224 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2226 2004-02-04 André Pönitz <poenitz@gmx.net>
2228 * BufferView.[Ch] (insertInset):
2229 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2234 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2236 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2237 on the default clause of the switch
2238 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2239 wasn't catched by LCursor::dispatch
2241 2004-02-03 André Pönitz <poenitz@gmx.net>
2244 * cursor.[Ch]: some additional asserts
2246 * undo.[Ch]: remove LyXText dependency in interface
2250 * lyxtext.h (firstPar, lastPar): remove dead functions
2255 * paragraph.[Ch]: adjust
2257 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2259 * lyxfind.C (find): fix argument order in call to ::find
2261 2004-02-02 André Pönitz <poenitz@gmx.net>
2263 * cursor.[Ch]: remove direct access to anchor
2265 * text.C: remove findText() hack
2267 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2269 * iterators.[Ch] (lockPath): remove in favour of...
2270 * BufferView.[Ch] (setCursor): this addition
2271 * BufferView.C (putSelectionAt): adjust
2272 * undo.C (performUndoOrRedo): adjust
2273 * lyxfunc.C (dispatch): adjust
2275 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2277 * iterators.C (lockPath): add a missing slice
2278 * undo.C (performUndoOrRedo): remove redundant positioning code
2280 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2282 * vc-backend.C (scanMaster): ";" -> ';'
2284 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2286 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2287 std::binary_function
2289 * lyxtextclass.C (compare_name): rename to...
2290 (LayoutNamesEqual): ...this
2292 * lyxlex_pimpl.C (compare_tags): inherit from
2293 std::binary_function, put back into anon namespace
2295 * lyxfind.C (MatchString): inherig from std::binary_function
2296 (findChange): use empty() istead of !size()
2298 * format.C (FormatNamesEqual): new functor
2305 * converter.C (compare_Converter): rename to...
2306 (ConverterEqual): ...this, and fixup a bit.
2307 (getConverter): use it, and make function const
2308 (getNumber): use it, and make function const
2312 * bufferlist.C: add using boost::bind
2314 * MenuBackend.C (MenuNamesEqual): new functor
2315 (hasMenu): use it, and make function const
2316 (hasSubmenu): use nested bind to get rid of compare_memfun.
2318 2004-01-30 André Pönitz <poenitz@gmx.net>
2320 * BufferView_pimpl.C:
2323 * cursor_slice.[Ch]:
2326 * paragraph_funcs.C:
2327 * paragraph_funcs.h:
2331 * text3.C: move some of the edit(x,y) handling to the insets
2332 some coordinate changes.
2334 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2336 * text.C: add using statements for std::advance and std::distance
2338 * paragraph.C: add using statement for std::distance
2340 * lyxfind.C: add using statement for std::advance
2342 * cursor.C (region): remove std:: from swap
2343 (openable): use nucleus in stead of operator->
2345 * BufferView.C: add using statements for std::distance and std::swap
2347 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2349 * iterators.C: Remove the pimple, move the needed structures to
2350 the header file. Create accessor for the positions stack.
2351 (asPosIterator): remove function
2353 * PosIterator.C (PosIterator): move constructors to top of file
2354 (PosIterator): reimplement the constructor taking a ParIterator in
2356 (setFrom): new function
2357 (operator!=): inline it
2359 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2361 * lyxfind.C (replaceAll): use std::advance
2363 * iterators.h: inherit from std::iterator.
2365 * PosIterator.C (advance, distance): remove
2366 * PosIterator.h: interit from std::iterator.
2368 2004-01-26 André Pönitz <poenitz@gmx.net>
2371 * BufferView_pimpl.[Ch]:
2375 * bufferview_funcs.C:
2385 * output_linuxdoc.C:
2386 * output_plaintext.C:
2388 * paragraph_funcs.[Ch]:
2389 * paragraph_pimpl.[Ch]:
2395 * text3.C: more IU: dumps most of the rest of the mathcursor
2396 implementation into cursor.[Ch]; "globalize" a bit of it.
2398 2004-01-25 Angus Leeming <leeming@lyx.org>
2400 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2402 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2404 * LaTeXFeatures.h: add nice_ and nice() const
2405 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2407 2004-01-20 André Pönitz <poenitz@gmx.net>
2410 * BufferView_pimpl.C:
2412 * bufferview_funcs.C:
2414 * cursor_slice.[Ch]:
2425 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2426 LCursor and mathcursor parts to LCursor and InsetBase.
2428 2004-01-15 André Pönitz <poenitz@gmx.net>
2430 * cursor_slice.[Ch]: add a few covienience functions
2432 * funcrequest.[Ch]: remove BufferView * member
2434 * BufferView_pimpl.C:
2441 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2443 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2445 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2446 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2448 2004-01-13 André Pönitz <poenitz@gmx.net>
2451 * lyxtext.h: hide cursor and selection anchor behind accessor function
2454 * BufferView_pimpl.[Ch]:
2456 * bufferview_funcs.C:
2466 * cursor_slice.[Ch]: some integer type changes for inset unification
2468 * lyxcursor.[hC]: remove, it's CursorSlice now.
2471 * BufferView_pimpl.[Ch]:
2472 * bufferview_funcs.C:
2478 * textcursor.[Ch]: adjust
2480 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2482 * text2.C (undoSpan): add and use
2483 * text.C (breakParagraph): use undoSpan (fix bug 578)
2486 2004-01-08 Angus Leeming <leeming@lyx.org>
2488 * BufferView_pimpl.C (MenuInsertLyXFile):
2489 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2490 * lyxfunc.C (menuNew, open, doImport):
2491 FileFilterList change to the FileDialog open and save functions.
2493 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2495 * ShareContainer.h: make isEqual and isUnique adaptable
2497 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2499 2004-01-07 Angus Leeming <leeming@lyx.org>
2502 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2504 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2506 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2507 functions replacing find, replace and replaceAll.
2509 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2510 LFUN_WORDFIND(FORWARD|BACKWARD).
2512 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2514 * text.C (breakParagraph): remove an outdated #warning
2516 2004-01-07 André Pönitz <poenitz@gmx.net>
2518 * lyxfind.C: somewhat clearer logic
2520 * text.C: prevent crash in cursorX on unitialized row cache
2522 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2524 * lyxcursor.[Ch] (operator>): add
2525 * textcursor.C (selStart, selEnd): use std::min and std::max
2527 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2529 * Chktex.C: include boost/format.hpp
2531 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2533 * InsetList.C: replace functor MathcIt with adaptable functor
2535 (insetIterator): modify accordingly
2537 * BranchList.h: move the BranchNamesEqual functor here from...
2538 * BranchList.C: ... to here
2540 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2542 (add): replace a finding loop with std::find_if.
2544 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2546 * output_docbook.C: moving LatexParam functionality into
2549 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2551 * buffer.C: increment format to 229.
2553 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2556 * lyx_sty.[Ch]: remove minipageindent_def
2562 * text3.C: remove LFUN_INSET_MINIPAGE
2564 2003-12-28 Angus Leeming <leeming@lyx.org>
2566 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2568 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2570 * text2.C (setParagraph): fix off-by-one crash
2572 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2574 * output_docbook.C: header stuff for AGU
2576 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2578 * text2.C (redoCursor): remove
2581 * BufferView_pimpl.C: remove calls to redoCursor and
2582 setCursor(cursor.par(), cursor.pos()) all around
2584 2003-12-15 Angus Leeming <leeming@lyx.org>
2586 * buffer.C: up the format to 228.
2588 2003-12-15 André Pönitz <poenitz@gmx.net>
2590 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2595 * BufferView_pimpl.C:
2604 2003-12-15 Angus Leeming <leeming@lyx.org>
2606 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2607 than getFromGUIName to manipulate the color.
2609 2003-12-14 Angus Leeming <leeming@lyx.org>
2611 * BranchList.[Ch]: minimize the API.
2612 (Branch::getBranch, getColor): now return a 'const &'.
2613 (Branch::setSelected) now returns a bool set to true if the
2614 selection status changes.
2615 (BranchList::clear, size, getColor, setColor, setSelected,
2616 allBranches, allSelected, separator): removed.
2617 (BranchList::find): new functions, returning the Branch with
2619 (BranchList::add, remove): return a bool indicating that
2620 the operation was successful.
2622 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2623 new InsetBranch::isBranchSlected member function.
2625 * LColor.[Ch]: mimimize the API.
2626 (fill): renamed as addColor and made private.
2627 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2628 versions of these functions taking a string arg have been removed.
2630 * bufferparams.C (readToken):
2631 * lyxfunc.C (dispatch):
2632 * lyxrc.C (read): changes due to the altered BranchList and
2635 * factory.C (createInset, readInset): changes due to altered
2638 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2641 * lyxfunc.C: remove insetminipage. "minipage-insert"
2642 now produces a frameless minipage box inset.
2644 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2646 * textcursor.[Ch] (selStart,selEnd): add new methods
2647 remove selection::start, end, use LyXCursor::operator<
2648 * lyxcursor.[Ch] (operator<): add
2649 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2650 * BufferView.[Ch] (unsetXSel): add
2651 * text2.C (clearSelection): use unsetXSel,adjust
2654 * rowpainter.C: adjust
2655 * bufferview_funcs.C (put_selection_at): adjust
2657 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2659 * BufferView_pimpl.C: small coord. correction
2661 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2663 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2664 dragging over the splash screen.
2666 2003-12-11 Angus Leeming <leeming@lyx.org>
2668 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2669 as it is now handled in LyXText::dispatch.
2671 * text3.C (doInsertInset): remove a level of nesting.
2673 2003-12-11 Angus Leeming <leeming@lyx.org>
2675 * factory.C (createInset): changes due to the changed interface to
2676 InsetCommandMailer::string2params.
2678 2003-12-10 Angus Leeming <leeming@lyx.org>
2680 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2681 'dialog-show-new-inset <inset name>'
2683 2003-12-10 Angus Leeming <leeming@lyx.org>
2685 * buffer.C: up the format to 227.
2687 * factory.C: the box inset is now identified simply by 'Box'.
2689 2003-12-10 Angus Leeming <leeming@lyx.org>
2691 * buffer.C: up the format to 226.
2693 * factory.C: the note inset is now identified simply by 'Note'.
2695 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2697 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2698 when a pit is enough. Standarize a couple of loops.
2700 2003-12-05 Angus Leeming <leeming@lyx.org>
2702 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2703 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2704 data to the re-worked "log" dialog.
2706 2003-12-03 André Pönitz <poenitz@gmx.net>
2712 * paragraph_funcs.C:
2714 * text2.C: use Inset::getText instead of Inset::getParagraph
2716 2003-12-03 André Pönitz <poenitz@gmx.net>
2720 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2721 InsetText::read() as LyXText::read()
2723 2003-12-02 Angus Leeming <leeming@lyx.org>
2725 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2726 type. Add a comment in the implementation that the function uses
2727 the stream's bad() function rather than fail() as the std::streams
2730 2003-12-02 André Pönitz <poenitz@gmx.net>
2732 * lyxlex.[Ch]: make interface more similar to std::stream
2734 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2736 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2738 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2740 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2742 * vspace.[Ch]: remove VSpace::NONE
2744 2003-12-01 André Pönitz <poenitz@gmx.net>
2747 * lyxtext.h: move ParagraphList member to LyXText
2748 rename LyXText::ownerParagraphs to LyXText::paragraph
2751 * bufferview_funcs.C:
2761 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2763 * undo.C: fix cursor positioning
2765 2003-12-01 John Levon <levon@movementarian.org>
2767 * BufferView_pimpl.C: fix a crash on exit with
2770 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2772 * BranchList.C: fix setSelected() method.
2774 2003-11-28 André Pönitz <poenitz@gmx.net>
2776 * ParagraphParameters.[Ch]:
2777 * ParameterStruct.h: remove space above/below from Paragraph to
2780 * BufferView_pimpl.C:
2786 * paragraph_funcs.C:
2792 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2794 * factory.C: Syntax change for CharStyles
2796 2003-11-28 André Pönitz <poenitz@gmx.net>
2801 * buffer.[Ch]: move LyXText member
2803 2003-11-28 André Pönitz <poenitz@gmx.net>
2805 * BufferView.[Ch]: make LyXText * text a private member
2807 * BufferView_pimpl.C:
2818 * output_plaintext.C: cleanup
2820 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2823 * lyxtextclass.[Ch]: parametrize SGML document header
2825 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2828 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2831 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2833 * text2.C (setFont): rework using PosIterator (no more recursive)
2834 (setCharFont): no more needed
2835 (setLayout): no more selection cursors fiddling (done by redoCursor)
2836 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2837 destroy remaining ones)
2839 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2841 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2843 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2846 * text3.C: adjust + re-allow multi par depth changes
2847 * textcursor.C: simplify a bit
2849 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2855 * src/output_docbook.C:
2856 * src/output_latex.C:
2861 * src/text2.C: Introducing a number of tags parametrizing various
2862 XML formats that we may want to support
2864 2003-11-25 André Pönitz <poenitz@gmx.net>
2866 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2868 * lyxtext.h (leftMargin/rightMargin): simplify interface
2875 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2877 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2878 master file to any child files. Fixes bug 546.
2880 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2882 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2884 2003-11-24 André Pönitz <poenitz@gmx.net>
2886 * rowpainter.C: simplification
2888 * text2.C (updateCounters): remove call to redoParagraph on
2889 changed labels as this is far too expensive.
2891 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2893 * converter.C (convert): fix a crash: this function gets
2894 called with buffer == 0 from importer code.
2896 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2898 * text3.C (cursorPrevious): make sure that we do not compare
2899 iterators form different containers.
2902 * rowpainter.C (paintSelection): make sure that we do not compare
2903 iterators from different containers.
2905 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2906 iterators from different ParagraphList containers.
2909 * text2.C (LyXText): change order of initialization slightly
2910 (operator=): new function. copy all variables except cache_par_
2911 (moveUp): make sure that we do not compare iterators from
2912 different ParagraphList constainers.
2915 * text.C (firstPar): new function
2916 (lastPar): new function
2917 (endPar): new function
2919 * lyxtext.h: move things around and group public functions, public
2920 variables, private functions, private variables
2922 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2924 * factory.C: change call to InsetERT constructor to avoid
2925 additional invocation of method status
2926 * text2.C (toggleInset): remove redundant update() call
2927 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2928 instead of a Bufferview pointer
2930 2003-11-21 André Pönitz <poenitz@gmx.net>
2932 * rowpainter.C: simplification
2934 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2936 * text3.C (dispatch): make possible to extend a word/row selection
2939 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2941 * lyxtext.h: x0_,y0_ -> xo_,yo_
2942 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2943 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2944 * rowpainter.C (paintRows): paint full paragraphs
2946 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2948 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2951 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2953 * lyxtext.h: add x0_, y0_
2954 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2955 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2957 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2959 * text2.C (setCursorIntern): move the x_target update here *
2960 * text3.C: change some bv() to true/false in calls to
2961 cursorUp/Down/Right/Left
2962 * cursor.C: use helper function.
2964 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2966 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2967 * paragraph_funcs.[Ch]: correct comment
2968 * rowpainter.C: do not paint selections away from bv->cursor()
2969 Fix a long standing selection painting bug.
2970 * text3.C: generalize mouse-selection code to LyXTexts other that
2972 * textcursor.C: do not use y coords if we can use par offsets
2974 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2976 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2977 cursor position after e.g. inset insert)
2979 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2981 * lyxfind.C (replace): adjust to locking removal + some
2984 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2986 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2989 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2992 * output_docbook.C: XML sanitation: new layout
2993 parameters InnerTag and CommandDepth
2995 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2997 * BufferView_pimpl.C:
2999 * text3.C: Fix the insertion and modification of button-style
3002 2003-11-13 André Pönitz <poenitz@gmx.net>
3004 * InsetList.[Ch]: remove deleteLyXText
3006 * paragraph.[Ch]: cache beginOfBody position
3011 * text3.C: remove superfluous update() calls
3015 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3017 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3018 * BufferView.C (fitLockedInsetCursor): remove
3019 * cursor.[Ch] (getDim): add
3020 * text.C (getRowNearY): add faster version
3021 * text3.C: remove some update calls
3023 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3035 * text3.C: The Character Style /XML short element patch.
3037 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3040 * factory.C: Small step to solving 'unable to insert some insets'
3043 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3045 * cursor.[Ch] (updatePos): new function for updating the y
3046 position of the tip inset
3047 * bufferview_funcs.C (put_selection_at):
3048 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3050 2003-11-11 André Pönitz <poenitz@gmx.net>
3052 * text.C: remove big comment on invalid Paragraph pointers as it is
3055 2003-11-11 André Pönitz <poenitz@gmx.net>
3057 * text_funcs.[Ch]: merge with ...
3065 * Makefile.am: remove text_funcs.[Ch]
3067 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3069 * cursor.C (getPos): return absolute cached y coord
3071 * BufferView_pimpl.C (fitCursor): new simplistic code
3072 (workAreaDispatch): add a fitCursor call
3074 2003-11-10 André Pönitz <poenitz@gmx.net>
3077 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3079 2003-11-10 André Pönitz <poenitz@gmx.net>
3081 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3082 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3083 indicate that the cursor needs to leave an inset
3085 * lyxtext.h: remove inset locking
3087 * cursor.[Ch]: re-implement functionality provided by inset locking
3090 * BufferView_pimpl.[Ch]:
3092 * bufferview_funcs.[Ch]:
3104 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3106 * PosIterator.[Ch]: replace the stack with a vector, add inset
3108 * iterators.[C]: adjust
3110 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3112 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3114 * paragraph_funcs.C (readParToken): put the correct id in the
3115 error item, not the id of the top paragraph
3117 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3119 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3120 * bufferview_funcs.C (put_selection_at): use the above
3122 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3124 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3126 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3128 * output_linuxdoc.h:
3129 * output_plaintext.h:
3131 * output_docbook.h: add #include statements
3133 2003-11-05 José Matos <jamatos@lyx.org>
3135 * output_docbook.[Ch]:
3136 * output_latex.[Ch]:
3137 * output_linuxdoc.[Ch]:
3138 * output_plaintext.[Ch]: New files for output formats.
3139 * output.[Ch]: New file for helper functions.
3142 * paragraph_funcs.[Ch]: output functions moved to new files.
3144 * outputparams.h: rename of latexrunparams.h
3152 * paragraph_funcs.[Ch]:
3153 * paragraph_pimpl.[Ch]:
3154 * tabular.[Ch]: rename ascii to plaintext
3155 and LatexRunParams to OutputParams.
3157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3159 * iterators.[Ch] (text): require bv argument
3160 * undo.C (recordUndo):
3161 * lyxfunc.C (dispatch):
3162 * bufferview_funcs.C (put_selection_at): adjust
3164 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3166 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3168 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3170 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3173 2003-11-04 André Pönitz <poenitz@gmx.net>
3175 * cursor.[Ch]: restructure
3178 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3180 * iterators.[Ch] (asCursor): remove
3182 * lfuns.h: remove LFUN_INSET_EDIT
3188 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3190 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3192 * lyxfind.[Ch]: complete overhaul
3193 * BufferView_pimpl.C:
3195 * paragraph.[Ch] (insert): add
3197 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3201 * text.C: remove dead spellcheck code
3203 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * dispatchresult.h: add a val setter
3207 * cursor.C (dispatch): use a tempvar for data_[i]
3209 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3211 * PosIterator.[Ch]: compile fix
3213 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3215 * text.C (cursorPar): deactivate the cursor cache
3217 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3219 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3221 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3223 * text3.C (dispatch): adjust for new DisptchResult semantics.
3225 * lyxfunc.C (dispatch): handle update when return from
3226 Cursor::dispatch, adjust for new DispatchResult semantics.
3228 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3229 DispatchResult(true) mean to not update. Add class functions for
3230 setting dispatched and update, as well as reading.
3232 * cursor.C (dispatch): don't handle update here
3234 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3237 * trans_mgr.C: adjust
3239 * paragraph_funcs.C (readParToken): exception safety
3241 * lyxvc.h: store the vcs pointer in a scoped_ptr
3244 * lyxsocket.C (serverCallback): exception safety
3246 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3248 * ispell.C (clone): make it return a auto_ptr
3250 * factory.C (createInset): exception safety
3251 (readInset): exception safety
3253 * bufferlist.C (newBuffer): exception safety
3255 * Thesaurus.C (Thesaurus): use initialization for aik_
3257 * MenuBackend.C (expandToc): exception safety.
3259 2003-11-03 André Pönitz <poenitz@gmx.net>
3263 * bufferview_funcs.C: remove getInsetFromId()
3266 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3272 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3274 * PosIterator.C (distance, advance): new
3275 * bufferview_funcs.[Ch] (put_selection_at): new
3276 * iterators.[Ch] (lockPath): new
3278 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3280 * iterators.[Ch] (asPosIterator): added
3281 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3282 * PosIterator.[Ch]: added
3284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * cursor.C (dispatch):
3289 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3291 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3292 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3293 contructor, add a class function dispatched. Remove operator>=
3295 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * debug.C: only use the default constructor for debugstream
3300 * main.C (main): include debug.h and setup the lyxerr streambuf
3303 2003-10-31 José Matos <jamatos@lyx.org>
3305 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3307 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3308 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3310 * paragraph_pimpl.C (simpleTeXSpecialC):
3311 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3312 add LatexRunParams argument.
3314 * exporter.C (Export): change call accordingly.
3316 * latexrunparams.h: add new member to take care of the other backends.
3317 2003-10-30 José Matos <jamatos@lyx.org>
3319 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3320 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3321 factorise code for paragraph output.
3323 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3326 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * text3.C (dispatch):
3329 * lyxfunc.C (dispatch):
3330 * cursor.C (dispatch):
3331 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3333 * dispatchresult.h: make the dispatch_result_t ctor explicit
3335 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3338 * buffer.C: small refactoring of docbook stuff
3340 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3345 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3348 operator dispatch_result_t, and operators for == != and >=
3350 * cursor.C (dispatch): adjust for operator dispatch_result_t
3351 removal. comment out call to update
3353 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3355 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3366 * dispatchresult.h: new file, DispatchResult broken out of
3369 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3371 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3373 * text.C (rowBreakPoint): put a hack inside #if 0
3375 2003-10-28 André Pönitz <poenitz@gmx.net>
3379 * paragraph_funcs.C:
3382 * text2.C: general cleanup (lots of small stuff)
3384 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3386 * text2.C (cursorEnd): simple fix to the "end key goes to one
3387 before the end on last row" bug
3389 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3391 * text.C (backspace): fix the "zombie characters"
3393 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3395 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3397 2003-10-27 André Pönitz <poenitz@gmx.net>
3399 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3401 * factory.C: handle new InsetPagebreak, InsetLine
3403 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3404 and move handling into new InsetPagebreak, InsetLine
3406 * BufferView_pimpl.C:
3408 * ParagraphParameters.C:
3409 * ParameterStruct.h:
3414 * paragraph_funcs.C:
3415 * paragraph_pimpl.C:
3421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3424 * lyxrow_funcs.[Ch]:
3430 * text3.C: remove lastPos uses in favour of Row::endpos
3432 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3434 * undo.C (performUndoOrRedo): fix two crashes by setting a
3435 cursor by hand and reordering some calls. Use bv->lockInset instead
3436 of inset->edit because the latter loses cursor information
3438 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3440 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3442 (rowBreakPoint): fix width. change point to point + 1.
3443 Add a missing check.
3445 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3448 * lyxfunc.C: fix (at least partly) the problems
3449 with the Nav menu and headers inside branch insets
3452 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3454 * paragraph.C (getChar): add strong asserts
3456 * lyxrow_funcs.C (lastPos): remove hideous hack
3458 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3459 (fill): adjust to that (avoid an infinite loop)
3461 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3463 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3465 2003-10-23 André Pönitz <poenitz@gmx.net>
3467 * RowList_fwd.h: change list<> to vector<> to gain speed
3468 after suggestion from Alfredo
3470 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3472 * lyxtext.h: move the bidi stuff from here...
3475 * Bidi.[Ch]: ... to here
3477 2003-10-23 André Pönitz <poenitz@gmx.net>
3480 * text.C (isLastRow, isFirstRow): new functions
3482 * paragraph.h: new width cache member
3484 * rowpainter.C: replace RowList::iterator with Row & where possible
3486 * lyxfunc.C: replace several view()->text with a single call
3488 * toc.C: fix 'unused' warning
3490 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3493 when woring with stream::pos_type
3494 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3496 2003-10-22 André Pönitz <poenitz@gmx.net>
3499 * text.C: use Row & instead of RowList::iterator
3501 * lyxrow.h: rename end() to endpos()
3507 2003-10-22 Angus Leeming <leeming@lyx.org>
3509 * buffer.[Ch] (fully_loaded): new member function, returning true
3510 only when the file has been loaded fully.
3511 Used to prevent the premature generation of previews and by the
3512 citation inset to prevent computation of the natbib-style label.
3514 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3515 templates are all set up.
3517 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3519 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3521 * text.C: fixed an "oops" in the "is a bit silly"
3524 2003-10-21 André Pönitz <poenitz@gmx.net>
3526 * FuncStatus.[Ch]: small stuff, whitespace
3528 * lyxfont.[Ch]: operator<<() for debug reasons
3532 * lyxtext.h: whitespace, spelling
3534 * paragraph.C: naming of variables
3537 * text2.C: small stuff
3540 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3542 * text.C: (1) finish off the inset display() work;
3543 (2) fix the "is a bit silly" bug (accessing char
3546 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3548 * text.C: re-introduce display() for insets, fixing the
3549 various bugs (stretch of line above, math inset
3552 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3554 * text.C (rightMargin): remove spurious semicolon
3556 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3559 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3561 * text3.C: fix one crash due to wrong cursor def
3563 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * vc-backend.C (scanMaster): make the regex static
3567 * LaTeX.C (scanAuxFile): make the regexs static
3569 * text3.C (doInsertInset, dispatch, dispatch):
3570 * text2.C (cursorUp, cursorDown):
3571 * text.C (selectNextWordToSpellcheck):
3572 * BufferView_pimpl.C (dispatch):
3573 * lyxfunc.C (dispatch): localDispatch -> dispatch
3575 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3577 * lyxsocket.C: include <cerrno>
3579 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * lyxfunc.C (dispatch): remove textcache stuff
3583 * bufferlist.C (release): remove textcache stuff
3586 * TextCache.C: delete file
3587 * TextCache.h: delete file
3589 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3591 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3592 delete of the bv_->text.
3593 (resizeCurrentBuffer): remove texcache stuff
3594 (workAreaResize): ditto
3596 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3601 2003-10-16 André Pönitz <poenitz@gmx.net>
3608 * text3.C: speed up by storing y positions per paragraph plus per-row
3609 offset instead of having a 'full' y position in the row.
3611 2003-10-15 André Pönitz <poenitz@gmx.net>
3615 * undo.[Ch]: make undo aware of inner insets
3617 2003-10-14 Angus Leeming <leeming@lyx.org>
3619 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3620 static member functions LyX::ref() and LyX::cref.
3621 (lastfiles): new accessor functions for the new lastfiles_ member var.
3622 (addLyXView, views_): add a new LyXView to the list of views_.
3623 (updateInset): loop over all LyXViews to call their own updateInset
3624 member function, returning a pointer to the Buffer owning the inset.
3626 * BufferView_pimpl.C (loadLyXFile):
3627 * MenuBackend.C (expandLastfiles):
3628 * bufferlist.C (MenuWrite, QuitLyX):
3629 lastfiles is no longer a global variable.
3630 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3632 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3633 static function. Access through LyX::cref().emergencyCleanup().
3635 2003-10-14 André Pönitz <poenitz@gmx.net>
3637 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3639 * undo.[Ch]: restoring part of 'undo in insets'
3642 * undo_funcs.[Ch]: merge with undo.[Ch]
3644 * tabular.C: small cleansing stuff
3646 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3648 * paragraph_funcs.C (readParToken): report unknown insets as error
3649 boxes. Use the outer paragraph as location (also for unknown
3652 * factory.C (readInset): do not abort on reading an unknown inset.
3653 Eat it and return 0.
3655 2003-10-13 Angus Leeming <leeming@lyx.org>
3657 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3659 * lyxrc.C: displayTranslator is now a function,
3660 declared in GraphicsTypes.h.
3662 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3664 * format.C: new placeholder $$a to pass the socket address.
3666 * bufferlist.[Ch]: new function getBufferFromTmp.
3668 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3669 files in the temporary dir.
3671 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3673 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3675 * Makefile.am: add lyxsocket.[Ch].
3677 * lyx_main.C (error_handler): handle SIGPIPE.
3679 2003-10-13 André Pönitz <poenitz@gmx.net>
3681 * BufferView_pimpl.C:
3686 * undo_funcs.[Ch]: use paroffset_type instead of
3687 ParagraphList::iterators to prevent multiple conversion
3688 (and get a more robust interface)
3690 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3692 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3694 * text3.C (dispatch): ditto
3696 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3698 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3699 move the onlyfile, use onlyfile instead of foundfile in a couple
3702 * DepTable.C (update): flush the error stream a bit more
3704 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * lyxserver.C (callback): adjust
3708 * lyxfunc.C (getStatus): add a missing brace in commented code
3709 (ensureBufferClean): reindent
3710 (dispatch): delete version taking a string
3712 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * LaTeX.C (deplog): move found file handlig from here...
3715 (handleFoundFile): .. to new function here.
3716 (deplog): make sure to discover several files mentioned on the
3719 2003-10-10 André Pönitz <poenitz@gmx.net>
3726 * text3.C: fix some of the tabular crashes
3728 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3730 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3732 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3734 2003-10-09 André Pönitz <poenitz@gmx.net>
3736 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3739 * BufferView_pimpl.C:
3740 * bufferview_funcs.C:
3751 * undo_funcs.C: adjust
3753 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * text2.C (incrementItemDepth): new function, use a backtracking
3756 algorithm to discover the correct item depth.
3757 (resetEnumCounterIfNeeded): new function, use a backtracking
3758 algorithm to discover if counter reset is needed.
3759 (setCounter): use them. Simplify a bit. Add different labels for
3760 different item depths for itemize.
3762 * paragraph.C (Paragraph): remove initialization of enumdepth
3765 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3766 enumerate and itemize. Change the type of itemdepth to signed char.
3768 2003-10-08 André Pönitz <poenitz@gmx.net>
3770 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3775 * tabular.[Ch]: fix crash after 'row-insert'
3777 2003-10-08 Angus Leeming <leeming@lyx.org>
3779 Fix doxygen warnings.
3781 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3782 Remove CutAndPaste:: prefix from header file declaration.
3784 * LColor.h (fill): remove LColor:: prefix from declaration.
3786 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3787 use lyx::depth_type rather than Paragraph::depth_type so that
3788 header file and .C file match.
3790 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3792 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3793 * aspell.C: \file aspell_local.C -> \file aspell.C
3794 * gettext.C: \file gettext.C -> \file src/gettext.C
3795 * gettext.h: \file gettext.h -> \file src/gettext.h
3796 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3797 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3798 * text.C: \file text.C -> \file src/text.C
3800 * toc.C: move comment so that doxygen is not confused.
3802 2003-10-07 Angus Leeming <leeming@lyx.org>
3804 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3806 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3809 * aspell_local.h: add forgotten std::string's.
3811 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3818 * text3.C: The Box patch. Fancybox support, minipage, parbox
3820 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3826 * ParagraphParameters.h:
3836 * lyxtextclasslist.h:
3839 * paragraph_pimpl.C:
3840 * textcursor.h: add <string> and other small fixes to make Lars'
3841 std::string patch compile with STLport.
3843 2003-10-06 Angus Leeming <leeming@lyx.org>
3845 * LColor.h: Add missing #include <string>.
3847 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3849 * All most all file in all subdirs: Make <string> be the prefered
3850 way of getting to std::string, add using declarations.
3852 2003-10-06 André Pönitz <poenitz@gmx.net>
3854 * metricsinfo.C: initialize LyXFont before changing attribute.
3855 (fixes the 'math in \emph is upright' bug)
3857 2003-10-06 André Pönitz <poenitz@gmx.net>
3859 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3861 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3864 * paragraph_pimpl.C: Small fixes to build using STLport
3866 2003-10-02 André Pönitz <poenitz@gmx.net>
3869 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3871 2003-10-01 André Pönitz <poenitz@gmx.net>
3873 * factory.C: assert early
3875 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * lyx_main.C: remove the global debug object
3879 * debug.h: adjust for new debugstream
3881 * debug.C: adjust for new debugstream and keep the global debug
3884 2003-09-22 Angus Leeming <leeming@lyx.org>
3886 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3887 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3888 an incomplete class LyXFont.
3890 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3892 * factory.C: bug fix in branches
3894 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3896 * lyxfunc.C (processKeySym): adjust
3898 (dispatch): change arg name from ev to func, adjust
3899 (sendDispatchMessage): ditto
3901 * lyx_main.C (defaultKeyBindings): adjust keybindings
3902 (deadKeyBindings): ditto
3904 * kbsequence.C (addkey): return a FuncRequest
3906 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3908 * kbmap.C (bind): take a FuncRequest as arg, adjust
3911 (defkey): change to take a FuncRequest as arg, adjust
3912 (findbinding): take a FuncRequest as arg, adjust.
3914 * funcrequest.h (operator=): added
3916 * funcrequest.C (FuncRequest): default kb_action changed from
3917 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3919 * buffer.C (dispatch): simplify
3920 (dispatch): adjust to take a FuncRequest as arg, adjust
3922 * boost.C (assertion_failed): change assertion message slightly
3924 * ToolbarBackend.C (read): simplify
3926 * MenuBackend.C (binding): adjust call to findbinding, add a
3927 message if no binding is found.
3929 (expandToc): correct by adding a empty FuncRequest
3931 * LyXAction.C: include <boost/assert.hpp>
3932 (isPseudoAction): delete function
3933 (LookupFunc): change name to...
3934 (lookupFunc): this. change return type to FuncRequest.
3935 (getActionName): take kb_action as arg, simplify
3936 (funcHasFlag): add an assert, simplify.
3938 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3940 * toc.C (action): return a FuncRequest, simplify
3942 * lyxfunc.C (processKeySym): adjust
3943 (getStatus): delete version that takes an int.
3945 (dispatch): delete version that takes action as int
3947 (sendDispatchMessage): simplify and adjust
3949 * funcrequest.C (getArg): take unsigned int as arg
3951 * ToolbarBackend.C (read): adjust
3952 (add): delete version that takes func as a string.
3953 (getIton): take a FuncRequest as arg
3955 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3958 * MenuBackend.C (MenuItem): add a new construct that only takes a
3959 Kind, simplify the constructor use for submenus.
3961 (expandLastfiles): adjust
3962 (expandDocuments): adjust
3963 (expandFormats): adjust
3964 (expandFloatListInsert): adjust
3965 (expandFloatInsert): adjust
3966 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3968 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3969 Remove class variables lyx_pseudo_map and lyx_arg_map
3971 * LyXAction.C (searchActionArg): delete function
3972 (getPseudoAction): delete function
3973 (retrieveActionArg): delete function
3974 (LookupFunc): make it return kb_action, simplify.
3975 (getActionName): simplify
3977 * factory.C (createInset): fix new bug
3979 2003-09-19 Angus Leeming <leeming@lyx.org>
3981 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3982 masterFilename_ parameter in the include inset.
3984 * factory.C (createInset): changes due to the changes to InsetInclude.
3986 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3988 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3990 2003-09-18 Angus Leeming <leeming@lyx.org>
3993 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3994 Inset::fillWithBibKeys.
3995 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3997 2003-09-18 Angus Leeming <leeming@lyx.org>
3999 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4001 (ctor): pass and store a 'Buffer const &'
4002 (buffer): new member function.
4004 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4005 '*this' to the LaTeXFeatures ctor.
4007 2003-09-18 Angus Leeming <leeming@lyx.org>
4013 * text.C: rename EnumLColor as LColor_color.
4015 2003-09-18 Angus Leeming <leeming@lyx.org>
4017 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4018 remove #include "insets/insetbase.h" from cursor.h.
4020 2003-09-18 Angus Leeming <leeming@lyx.org>
4022 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4023 InsetOld_code to remove #include "inset.h".
4025 * iterators.C: add #include "insets/inset.h"
4027 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4029 * BufferView.C: remove more locking stuff that apparently doesn't
4030 do anything sensible.
4032 2003-09-16 André Pönitz <poenitz@gmx.net>
4035 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4038 2003-09-16 Angus Leeming <leeming@lyx.org>
4040 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4042 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4045 * paragraph.h: remove #include "lyxfont.h". Forward declare
4048 2003-09-16 Angus Leeming <leeming@lyx.org>
4050 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4051 of support/textutils.h.
4052 (isWord): move the contents of support/textutils.h's IsWordChar here.
4058 * text2.C: add #include "paragraph.h".
4061 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4063 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4069 * LaTeX.C: use namespace alias for lyx::support::os
4071 2003-09-16 Angus Leeming <leeming@lyx.org>
4074 * bufferview_funcs.C:
4077 * paragraph_pimpl.C:
4079 * text.C: add #include "LColor.h".
4081 2003-09-16 Angus Leeming <leeming@lyx.org>
4083 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4084 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4086 Store the FontBits::color variable as an int rather than as an
4087 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4090 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4091 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4092 string calls together.
4094 * lyxrc.C: add #include "LColor.h".
4096 2003-09-15 Angus Leeming <leeming@lyx.org>
4098 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4101 2003-09-15 Angus Leeming <leeming@lyx.org>
4103 * LColor.h: add an EnumLColor wrapper for LColor::color.
4105 * lyxfont.[Ch] (color, setColor, realColor):
4106 * lyxtext.h, text.C (backgroundColor):
4107 pass EnumLColor args to/from the functions, rather than LColor::color
4111 * lyxtext.h: forward declare EnumLColor.
4113 * lyx_main.C: add #include "LColor.h".
4115 2003-09-15 Angus Leeming <leeming@lyx.org>
4117 * .cvsignore: add lyx-gtk.
4119 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4124 * ParagraphParameters.C
4128 * bufferview_funcs.C
4138 * vc-backend.C: remove usage of STRCONV
4140 2003-09-15 Angus Leeming <leeming@lyx.org>
4142 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4143 explicitly define the color passed to the painter.
4145 2003-09-15 Angus Leeming <leeming@lyx.org>
4147 * bufferparams.C (BufferParams): reorder member initializers to avoid
4150 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4152 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4153 * text.C (updateRowPositions): remove an unusual nop
4155 2003-09-12 André Pönitz <poenitz@gmx.net>
4157 * BufferView_pimpl.C:
4166 * Counters.[Ch]: finish the 'automatic counters' job
4168 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4170 * aspell.C: include <boost/assert.cpp> (compile fix)
4172 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4174 * boost.C (assertion_failed): use lyx::support::abort instead of
4177 2003-09-10 Angus Leeming <leeming@lyx.org>
4179 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4180 with their _fwd progeny.
4182 2003-09-09 Angus Leeming <leeming@lyx.org>
4184 134 files throughtout the source tree: replace 'using namespace abc;'
4185 directives with the appropriate 'using abc::xyz;' declarations.
4187 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4189 * boost.C (emergencyCleanup): moved here from LAssert.c
4190 (assertion_failed): new function, called by BOOST_ASSERT
4192 * several files: change Assert to BOOST_ASSERT
4194 2003-09-09 Angus Leeming <leeming@lyx.org>
4196 * buffer.[Ch]: Add an Impl class and move Buffer's member
4197 variables into it. As a result move several header files out of
4200 Add header files to lots of .C files all over the tree as a result.
4202 2003-09-09 Angus Leeming <leeming@lyx.org>
4204 * buffer.[Ch]: make Buffer's member variables private. Add
4207 Lots of changes all over the tree as a result.
4209 2003-09-08 Angus Leeming <leeming@lyx.org>
4211 * graph.C: #include <config.h>.
4213 2003-09-08 Angus Leeming <leeming@lyx.org>
4217 * BufferView_pimpl.C:
4246 * toc.C: remove redundant using directives.
4248 2003-09-07 Angus Leeming <leeming@lyx.org>
4250 * LaTeXFeatures.h: remove #include "support/types.h".
4251 * ToolbarBackend.h: remove #include <algorithm>.
4252 * changes.h: remove #include <ctime>.
4253 * debug.h: remove #include <iosfwd>.
4254 * graph.h: remove #include "support/std_string.h".
4255 * lyx_main.h: remove #include <csignal>.
4256 * lyxlex_pimpl.h: remove #include <fstream>.
4257 * sgml.h: remove #include <algorithm>, <utility>.
4258 * toc.h: remove #include "support/std_ostream.h".
4259 Add #include <iosfwd>.
4261 2003-09-07 Angus Leeming <leeming@lyx.org>
4263 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4265 * converter.h: forward declare LatexRunParams.
4266 * encoding.h: remove #include "lyxrc.h".
4267 * lyxtext.h: remove #include "LColor.h".
4268 * lyxtextclass.h: remove #include "support/types.h".
4269 * trans.h: remove #include "tex-accent.h".
4270 * trans_mgr.h: remove #include "tex-accent.h".
4271 * insets/inset.h: remove #include "support/types.h", <vector>.
4272 * insets/insetcollapsable.h: remove #include "LColor.h".
4273 * insets/insetinclude.h: remove #include "dimension.h".
4274 * insets/insetlatexaccent.h: remove #include "dimension.h".
4275 * insets/insetoptarg.h:: remove #include "insettext.h".
4276 * insets/insettext.h: remove #include "dimension.h",
4277 <boost/shared_ptr.hpp>
4279 * insets/renderers.h: add #include "dimension.h".
4280 * insets/updatableinset.h: add #include "support/types.h".
4282 * many .C files: Associated changes.
4284 2003-09-06 Angus Leeming <leeming@lyx.org>
4286 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4287 one, inside testInvariant.
4289 * PrinterParams.C: new file.
4290 * PrinterParams.[Ch]: move the function bodies out of line.
4292 2003-09-06 Angus Leeming <leeming@lyx.org>
4294 * ParagraphParameters.h: forward declare ParameterStruct rather than
4295 including its header file.
4296 (depth): moved out-of-line.
4298 2003-09-06 Angus Leeming <leeming@lyx.org>
4300 * BufferView_pimpl.h:
4303 * lyxfunc.h: forward declare LyXKeySym rather than
4304 #include "frontends/LyXKeySym.h".
4306 * BufferView_pimpl.C:
4309 * lyxfunc.C: associated changes.
4311 2003-09-06 Angus Leeming <leeming@lyx.org>
4313 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4314 As a result, can remove the #include "insets/inset.h" from BufferView.h
4316 2003-09-06 Angus Leeming <leeming@lyx.org>
4318 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4319 As a result, can remove the #include "insets/inset.h" from BufferView.h
4321 2003-09-06 Angus Leeming <leeming@lyx.org>
4327 * bufferview_funcs.C:
4328 * BufferView_pimpl.C:
4333 * ParagraphParameters.C:
4338 * frontends/controllers/ControlDocument.C:
4339 * insets/insetcaption.C: rearrange the #includes into some sort of
4342 * buffer.h: remove #includes ErrorList.h, undo.h
4344 2003-09-06 Angus Leeming <leeming@lyx.org>
4346 * support/types.h: add a 'depth_type' typedef, used to store the
4347 nesting depth of a paragraph.
4350 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4351 defining explicitly.
4354 * paragraph_funcs.h:
4355 * ParagraphParameters.h:
4356 * sgml.h: use lyx::depth_type rather than Paragraph or
4357 ParameterStruct's depth_type.
4360 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4363 * BufferView_pimpl.C:
4365 * ParagraphParameters.C:
4368 * bufferview_funcs.C:
4375 * frontends/LyXView.C:
4376 * frontends/controllers/ControlDocument.C:
4377 * frontends/controllers/ControlErrorList.C:
4378 * insets/insetbibitem.C:
4379 * insets/insetbranch.C:
4380 * insets/insetcaption.C:
4381 * insets/insetcollapsable.C:
4382 * insets/insetenv.C:
4383 * insets/insetert.C:
4384 * insets/insetfloat.C:
4385 * insets/insetfoot.C:
4386 * insets/insetfootlike.C:
4387 * insets/insetnewline.C:
4388 * insets/insetquotes.C:
4389 * insets/insettabular.C:
4390 * insets/insettext.C:
4391 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4393 * frontends/controllers/ControlChanges.C: #include "changes.h".
4395 2003-09-06 Angus Leeming <leeming@lyx.org>
4397 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4398 than #including paragraph.h.
4401 * RowList.h: deleted. Superfluous.
4411 * insets/insettext.h: use ParagraphList_fwd.h rather than
4414 * paragraph.h: don't forward declare ParagraphList.
4417 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4418 rather than ParagraphList.h. paragraph.h is still needed for the
4419 Paragraph::depth_type parameters.
4421 * textcursor.h: enable it to compile stand-alone in light of the
4424 * bufferview_funcs.C:
4436 * frontends/controllers/ControlParagraph.C:
4437 * frontends/controllers/ControlTabular.C:
4438 * insets/insetmarginal.C:
4439 * insets/insetminipage.C:
4440 * insets/insetnote.C:
4441 * insets/insetoptarg.C: add header files needed to compile again.
4443 2003-09-06 Angus Leeming <leeming@lyx.org>
4445 * RowList_fwd.h: new file, forward-declaring Row rather than
4446 #including lyxrow.h.
4451 * insets/insettext.h: use it instead of RowList.h
4453 * bufferview_funcs.C:
4460 * text3.C: #include "RowList.h".
4462 2003-09-05 Angus Leeming <leeming@lyx.org>
4464 * factory.C (createInset):
4465 * vspace.C (c-tor): replace sscanf call with an istringstream.
4466 * ispell.C: re-add missing HP/UX headers.
4467 * lyxserver.C: re-add missing os2 headers.
4469 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4478 * text3.C: re-add missing system headers, needed for 2.95.2.
4480 2003-09-05 Angus Leeming <leeming@lyx.org>
4482 Changes most place everywhere due to the removal of using directives
4483 from support/std_sstream.h.
4485 2003-09-05 Angus Leeming <leeming@lyx.org>
4487 Replace LString.h with support/std_string.h,
4488 Lsstream.h with support/std_sstream.h,
4489 support/LIstream.h with support/std_istream.h,
4490 support/LOstream.h with support/std_ostream.h.
4492 Changes resulting throughout the tree.
4494 2003-09-05 Angus Leeming <leeming@lyx.org>
4496 * sgml.h: ensure that the header file can be compiled stand-alone.
4497 * *.C: strip out redundant #includes. (320 in total.)
4499 2003-09-04 Angus Leeming <leeming@lyx.org>
4501 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4502 here (from getPackages).
4504 * debug.[Ch]: add a new EXTERNAL tag.
4506 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4508 * text2.C (cursorEnd): simplify
4510 (getColumnNearX): adjust
4512 * text.C (computeBidiTables): adjust
4515 * rowpainter.C (paintChars): adjust
4516 (paintSelection): adjust
4517 (paintChangeBar): adjust
4520 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4522 (numberOfSeparators): adjust
4524 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4530 * text3.C: Restricts the mouse click functionality
4531 of insets like bibtex, include, toc and floatlist to the visible
4532 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4533 up the dialogs. Cursor has to be in front of the inset (i.e.
4534 start of row) for this to function.
4536 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4538 * bufferview_funcs.C (currentState): output row information
4540 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4542 * bufferview_funcs.C (currentState): output paragraph position
4544 2003-09-04 Angus Leeming <leeming@lyx.org>
4546 * FloatList.h: move out #include "Floating.h".
4547 * LaTeX.h: move out #include "DepTable.h".
4548 * LyXAction.h: move out #include "funcrequest.h".
4549 * buffer.h: move out #include "author.h", "iterators.h".
4550 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4551 * lyx_main.h: move out #include "errorlist.h".
4552 * lyxfunc.h: move out #include "FuncStatus.h".
4553 * lyxtext: move out #include "lyxcursor.h".
4554 * paragraph_pimpl.h: move out #include "counters.h".
4556 2003-09-03 Angus Leeming <leeming@lyx.org>
4558 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4559 preamble_snippets list, enabling us to add snippets to the preamble
4560 only if the snippet was not there already.
4562 2003-09-04 Angus Leeming <leeming@lyx.org>
4564 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4566 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4571 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4573 * BranchList.C: point fix, earlier forgotten
4575 2003-09-02 Angus Leeming <leeming@lyx.org>
4577 * box.C (contains): renamed from 'contained' after a fantastic
4580 2003-09-02 John Levon <levon@movementarian.org>
4586 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4588 2003-09-02 John Levon <levon@movementarian.org>
4590 * text2.C: simplification of cursorEnd(), including partial
4593 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4595 * buffer.C (readFile): add a space
4597 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4599 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4601 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4603 * buffer.C (readFile): new function, take a filename and a
4604 ParagraphList::iterator
4606 (readFile): adjust, make it private. don't use setStream, make
4607 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4608 always contain the filename.
4610 * BufferView.C (insertLyXFile): simplify and make it work for
4613 2003-08-30 John Levon <levon@movementarian.org>
4615 * Makefile.am: fix dist (from Kayvan)
4617 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * most files: change to use const Buffer refs
4621 2003-08-27 André Pönitz <poenitz@gmx.net>
4623 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4624 on top of ownerPar().
4626 2003-08-27 John Levon <levon@movementarian.org>
4628 * funcrequest.C: properly initialise POD members
4630 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4632 * lyxtext.h (top_y): move top_y from here
4637 * BufferView_pimpl.[Ch]: to here
4638 * frontends/screen.C:
4639 * insets/insettabular.C:
4640 * insets/insettext.C: adjust
4641 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4643 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4646 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4648 2003-08-26 André Pönitz <poenitz@gmx.net>
4650 * paragraph_func.[Ch] (outerPar): new function
4653 * paragraph_funcs.C:
4654 * paragraph_funcs.h:
4655 * paragraph_pimpl.C:
4656 * text2.C: remove Inset::par_owner
4658 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4663 * text2.C: eliminates the needFullRow/display() stuff
4664 altogether, putting the logic in metrics/draw in the insets.
4666 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4668 * text2.C (redoParagraphInternal, redoParagraphs):
4669 * text.C (redoParagraph): add a call to updateRowPositions at the
4670 end of each 'metrics-like' call. Remove all others.
4671 (getRow): remove the 'y-computing' version.
4672 (getRowNearY): do not compute nor return the real y. Solve the
4673 'y < 0' problem and simplify.
4675 2003-08-22 Angus Leeming <leeming@lyx.org>
4677 * *.[Ch]: clean-up of licence and author blurbs.
4678 Also move config.h out of a few .h files and into a few .C files.
4680 2003-08-22 André Pönitz <poenitz@gmx.net>
4682 * lyxrow.[Ch]: add x_ and *fill_ members
4687 * text2.C: adjust/remove prepareToPrint() calls
4689 2003-08-22 André Pönitz <poenitz@gmx.net>
4691 * lyxrow.[Ch]: add end_ member
4693 * lyxrow_funcs.C: use LyXRow::end_
4695 * lyxtext.h (singleWidth): add LyXFont parameter
4698 * text2.C: adjust LyXText::singleWidth() calls
4700 * text.C (redoParagraph): simplify row breaking logic
4703 2003-08-19 André Pönitz <poenitz@gmx.net>
4705 * funcrequest.C: initialize button_ member
4708 * rowpainter.[Ch]: interface consolidation
4710 2003-08-18 André Pönitz <poenitz@gmx.net>
4713 * BufferView_pimpl.C:
4715 * paragraph_funcs.C:
4717 * text3.C: remove LyXScreen::draw() and fitCursor calls
4719 * BranchList.h: remove spurious semicolons
4721 * MenuBackend.C: fix branchlist related crash
4723 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4731 * bufferparams.[Ch]:
4735 * text3.C: implements the 'branch inset'
4736 idea. This allows the output of various versions of a document
4737 from a single source version, selectively outputing or suppressing
4738 output of parts of the text.
4739 This implementation contains a 'branch list editor' in a separate
4740 tab of the document settings dialog. Branches are user definable
4741 and have a "display colour" to distinguish them on-screen.
4743 ColorHandler was somewhat cleaned up.
4744 (1) make possible a dynamically growing LColor list by allowing
4745 the graphic context cache to grow along (vector);
4746 (2) eliminate an IMHO unnecessary step in colour allocation.
4748 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4750 * BufferView_pimpl.C: compile fix
4752 2003-08-15 André Pönitz <poenitz@gmx.net>
4754 * rowpainter.C: remove extra metrics calls
4756 * lyxtext.h: merge the two constructors into a single one,
4757 pass reference to owner's par list
4759 * BufferView_pimpl.C:
4763 2003-08-15 André Pönitz <poenitz@gmx.net>
4765 * lyxrow_funcs.[Ch]:
4768 * paragraph_funcs.C:
4773 * text_funcs.C: split LyXText::rowlist_ into individual
4774 Paragraph::rows_ chunks
4777 * BufferView_pimpl.[Ch]:
4780 * text3.C: remove toggleSelection()
4782 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4784 * bufferlist.C: beautify two alerts (shorter text of buttons)
4785 * buffer.C: Remove redundant ' ' from message
4787 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4788 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4789 rename VALIGN_CENTER to VALIGN_MIDDLE
4791 2003-08-11 André Pönitz <poenitz@gmx.net>
4793 * lyxtext.h (getPar):
4794 * text.C: new function
4796 2003-08-11 André Pönitz <poenitz@gmx.net>
4799 * tracer.[Ch]: remove unneeded files
4801 * InsetList.[Ch]: remove resizeInsetsLyXText()
4806 * text3.C: merge insertParagraphs() and appendParagraph()
4807 remove breakAgain(), update()
4809 * BufferView_pimpl.[Ch]:
4810 * bufferview_funcs.[Ch]:
4814 * tabular.C: adjust after text & InsetList changes.
4816 2003-08-08 André Pönitz <poenitz@gmx.net>
4818 * text.C (insertChar, backspace): replace rowlist fiddling
4819 with rebreak of full par
4822 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4823 checkParagraph, updateInset): removed
4825 2003-08-07 André Pönitz <poenitz@gmx.net>
4828 * text3.C: merge some LFUN handlers, remove dead code
4830 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4832 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4834 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4836 * text2.C (DEPM): fix part of bug 1255 and 1256
4838 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4840 * BufferView_pimpl.C (workAreaDispatch): change to use
4841 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4842 that are no mouse related.
4844 2003-08-05 André Pönitz <poenitz@gmx.net>
4847 * BufferView_pimpl.[Ch]:
4848 * bufferview_funcs.C:
4850 * text3.C: rip out "deep update"
4852 * textcursor.[Ch] (last_sel_cursor): remove unused member
4854 2003-08-04 André Pönitz <poenitz@gmx.net>
4857 * BufferView_pimpl.[Ch]:
4858 * ParagraphParameters.C:
4859 * bufferview_funcs.C:
4865 * text3.C: replace "complicated" BufferView::update(...) calls with
4868 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4870 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4872 * Makefile.am (lyx_SOURCES): add paper.h
4874 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4876 * Makefile.am: move things around so that both lyx-qt and
4877 lyx-xforms can be built (according to --with-frontend). Then lyx
4878 is a symbolic link to lyx-[firstfrontend]
4880 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4882 * Always use std::endl with lyxerr
4884 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4886 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4888 2003-08-01 André Pönitz <poenitz@gmx.net>
4891 * BufferView_pimpl.[Ch]:
4893 * text3.C: merge BufferView::repaint() and BufferView::update()
4895 2003-08-01 José Matos <jamatos@lyx.org>
4897 * buffer.[Ch]: file_format is no longer a buffer data element.
4899 2003-08-01 André Pönitz <poenitz@gmx.net>
4904 * text2.C: make redoParagraph more independent of current cursor
4906 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4908 * text2.C: remove unneeded members
4910 2003-07-30 André Pönitz <poenitz@gmx.net>
4912 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4914 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4915 create a single function...
4917 * paragraph_funcs.C (moveItem): ... here.
4920 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4922 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4924 * LColor.[Ch]: Add comment and greyedout logical colors.
4926 2003-07-30 André Pönitz <poenitz@gmx.net>
4928 * tabular.C: don't use Assert too heavily. This crashes where it
4931 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4933 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4934 is disabled (bug 1232)
4936 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4938 * factory.C: limited 'arg' scope
4940 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4942 * factory.C: fixed Note submenu issues
4944 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4946 * factory.C: submenu for Note/Comment/Greyedout
4948 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4951 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4953 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4956 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4957 greyedout. Patch provided by Jürgen Spitzmüller.
4959 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4961 * kbmap.C (read): fix error message when reading bind files
4963 2003-07-29 Angus Leeming <leeming@lyx.org>
4965 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4966 certainly does not do what it purports to do. I am doing it, and
4967 us, a favour by killing it.
4969 2003-07-28 José Matos <jamatos@lyx.org>
4971 * buffer.C (readBody, do_writeFile):
4972 * paragraph.C(readParagraph): \end_document replaces \the_end.
4974 2003-07-29 André Pönitz <poenitz@gmx.net>
4977 * BufferView_pimpl.[Ch]:
4981 * textcursor.[Ch]: remove toggleToggle & Co
4983 2003-07-28 José Matos <jamatos@fep.up.pt>
4985 * buffer.C (readParagraph):
4986 * params_func (readParToken, readParagraph):
4987 * paragraph.C (write): \layout -> \begin_layout.
4989 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * lyxlex_pimpl.C (setFile): clean up slightly.
4993 * bufferparams.h: add compressed var
4995 * buffer_funcs.C (readFile): adjust for LyXLex change
4996 (newFile): ditto + simplify
4998 * buffer.C (writeFile): handle writing of compressed files
5000 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5001 Check if the file is compressed and set a bufferparm if so.
5003 * Makefile.am (lyx_LDADD): remove explicit -lz
5005 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5007 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5008 makeDocBookFile): put the real LyX version in the first line of
5012 * version.C.in: remove lyx_docversion
5014 * tabular.C (write_attribute): add a template-based version to
5015 write enums properly
5017 2003-07-28 André Pönitz <poenitz@gmx.net>
5022 * text3.C: use doubles again for x-coordinates. They are needed.
5024 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * messages.C (getLocaleDir): use lyx_localedir()
5028 * lyxlex_pimpl.C (setFile): compress stuff
5030 * buffer.C (writeFile): add some compression stuff
5031 (do_writeFile): new func, dont call expliti close... will this
5034 * Makefile.am (lyx_LDADD): add -lz
5036 2003-07-28 José Matos <jamatos@fep.up.pt>
5038 * buffer.C: increment file format.
5039 * paragraph_funcs (readParagraph, readParToken):
5040 * paragraph.C (readParagraph): add \end_layout.
5042 2003-07-27 Angus Leeming <leeming@lyx.org>
5044 * Makefile.am: remove special casing for configure-time setting of
5045 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5047 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5048 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5050 2003-07-26 André Pönitz <poenitz@gmx.net>
5052 * paragraph_func.[Ch]:
5053 * paragraph.C (realizeFont): inline it whereever it is used
5058 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5061 2003-07-26 André Pönitz <poenitz@gmx.net>
5065 * text2.C: get rid of LyXText::need_break_row
5067 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5069 * toc.[Ch]: put namespace toc inside namespace lyx
5071 * MenuBackend.C (expandToc2): adjust for lyx::toc
5074 * lyxfunc.C (dispatch): adjust for lyx::find
5076 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5077 lyx::find instead. Reorganize a bit.
5078 (LyXReplace): rename to replace
5079 (LyXFind): rename to find
5081 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5084 2003-07-26 André Pönitz <poenitz@gmx.net>
5086 * text.C (setHeightOfRow): restrict scope of temporary variable
5088 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5089 code (never has been used?)
5091 2003-07-27 Asger Alstrup <alstrup@local>
5093 * text.C (fill): Optimise algorithm to exploit that we can reuse
5094 the LyXFont for many characters.
5095 (setHeightOfRow): Same thing.
5096 (rowBreakPoint): Same thing.
5098 2003-07-26 Asger Alstrup <alstrup@local>
5100 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5102 * text.C (singleWidth): Spurious font copying in hot-spot
5103 singleWidth avoided. Reorder tests for arabic for efficiency.
5105 * text.C (fill): handle empty paragraphs better.
5107 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5110 * encoding.h: add includes
5112 * lyxrc.C: remove reading of bind files
5114 * lyx_main.C (init): setup bindings and menus only if we have a
5117 * kbmap.C (read): new method. Do the actual reading of bind
5120 * converter.C (dvipdfm_options):
5123 (output): adapt PAPER_* enums.
5125 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5127 * bufferparams.h: remove paper-related enums from there
5129 * paper.h: New file. A trivial header file to hold paper-related
5130 enums. It should later expand to contain many paper-related
5133 * lyxrc.C: declare extern displayTranslator
5135 2003-07-27 José Matos <jamatos@fep.up.pt>
5137 * tabular.[Ch] (linuxdoc): add support for tables and figures
5140 2003-07-27 José Matos <jamatos@fep.up.pt>
5142 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5143 consistency in both functions.
5144 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5146 2003-07-26 Asger Alstrup <alstrup@local>
5148 * rowpainter.C (paintRows): Change algorithm to work directly on
5149 the insets rather than asking every character in the document
5150 whether its an inset.
5152 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5154 * buffer.C (openFileWrite): factorize some code
5156 2003-07-26 Angus Leeming <leeming@lyx.org>
5159 * lyx_main.[Ch]: replace occurances of system_tempdir with
5162 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * rename Inset to InsetOld
5166 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5168 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5169 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5170 which I think is a bit clearer. EDIT is gone, since it was
5171 premature optimisation, and broken for mathed anyway.
5172 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5173 with cursor positioning in insets as well (math insets still do not
5174 work, but that's a different story anyway.) It mysteriously
5175 crashes sometimes with undo in the first paragraph, but I'm fairly
5176 confident that this is a compiler bug.
5178 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5180 * paragraph.C (Paragraph): adjust for new clone return type
5182 (copyIntoMinibuffer): ditto
5184 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5186 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5187 by not having a special case, and always doing a full rebreak of
5188 the document after undo.
5190 2003-07-23 Angus Leeming <leeming@lyx.org>
5192 * factory.C (createInset): InsetExternal::setParams now takes a
5195 2003-07-23 Angus Leeming <leeming@lyx.org>
5197 * factory.C (createInset): changed interface to the external and
5198 graphics mailers' string2params functions.
5200 2003-07-23 Angus Leeming <leeming@lyx.org>
5202 * factory.C (createInset): pass a
5203 Buffer const * parameter to InsetExternalMailer's string2params.
5205 2003-07-22 John Levon <levon@movementarian.org>
5207 * Thesaurus.h: include the right aiksaurus header
5209 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5211 * MenuBackend.C (expand): check menu shortcuts unconditionally
5213 2003-07-21 Angus Leeming <leeming@lyx.org>
5215 * factory.C (createInset): pass a
5216 buffer_path parameter to InsetGraphicsMailer's string2params.
5218 2003-07-21 Angus Leeming <leeming@lyx.org>
5220 * BufferView_pimpl.C (buffer):
5223 * lyxfunc.C (dispatch):
5224 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5225 rather than the grfx shortcut.
5227 2003-07-21 André Pönitz <poenitz@gmx.net>
5229 * rowpainter.C: remove unused variables
5232 * tabular_funcs.h: move to tabular.C
5233 * Makefile.am: adjust
5235 * tabular.[Ch]: basic optical cleaning
5237 * author.h: pass references, not values
5239 2003-07-18 André Pönitz <poenitz@gmx.net>
5247 * text3.C: two-phase drawing for InsetText and InsetTabular
5248 some float -> int changes.
5250 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5252 * lyx_main.C: fix the fix
5254 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5256 * lyx_main.C: fix a crash in batch mode if no files specified
5259 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5261 * format.[Ch] (papersize): moved to BufferParams
5262 * converter.[Ch] (dvips_options): moved to BufferParams
5263 (dvipdfm_options): moved to anon namespace
5264 * bufferparams.[Ch]: added above functions.
5266 2003-07-17 André Pönitz <poenitz@gmx.net>
5270 * text2.C: don't call inset->update() anymore
5272 * metricsinfo.[Ch]: add convenience constructor
5274 2003-07-16 André Pönitz <poenitz@gmx.net>
5279 * text2.C: replace the LyXCursor::irow_ member with
5280 on-demand computation of the value
5282 2003-07-16 John Levon <levon@movementarian.org>
5284 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5286 2003-07-15 André Pönitz <poenitz@gmx.net>
5289 * text2.C: remove no more needed refresh_row
5291 2003-07-15 André Pönitz <poenitz@gmx.net>
5296 * text3.C: refresh_status tristate -> need_update bool
5298 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5300 * lyxtext.h (init): remove reinit argument (act as if always true)
5301 * text2.C: adjust to that
5303 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5305 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5306 * text3.C: use it to delete selections in some cases
5307 (bugs 441, 673, 702, 954).
5309 2003-07-14 André Pönitz <poenitz@gmx.net>
5311 * rowpainter.[Ch]: reduce interface
5313 2003-07-14 André Pönitz <poenitz@gmx.net>
5315 * BufferView_pimpl.C:
5316 * text2.C: adjust after removing unused BufferView * argument
5318 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5320 * text2.C (init): fix a crash fired on resize
5322 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5324 * buffer.[Ch]: added new closing signal
5325 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5326 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5327 BufferView::Pimpl via the closing the signal
5329 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5331 * buffer.[Ch]: take out all bv-related from buffer
5333 * BufferView_pimpl.[Ch]: connect to new signals
5334 * CutAndPaste.C: removed useless asserts
5335 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5338 * lyxfunc.C: moved view-related funciontality from vc here
5339 * paragraph.C: removed outdated comments
5342 2003-07-10 André Pönitz <poenitz@gmx.net>
5344 * BufferView_pimpl.C:
5348 * text2.C: remove InsetText::InnerCache, clean up consequences
5350 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5352 * ispell.C: fix two typos in error messages
5354 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5356 * Extend Note inset to other forms of annotation like Comment
5357 and Greyedout. Right button click gives dialog.
5359 Files modified or added (+):
5363 * ControlNote.[Ch] +
5365 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5366 frontends/controllers
5370 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5372 * aspell.C: add missing namespace lyx::support
5374 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5376 * BufferView.[Ch] (newFile): Add
5377 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5378 * LaTeX.[Ch] (message): added this signal and use it
5379 * buffer.[Ch] (busy, message): added these signals and use them
5380 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5384 * importer.C: use buffer signals instead of direct bv calling
5385 * lyx_cb.[Ch] (ShowMessage): removed
5388 * paragraph_funcs.C:
5389 * text2.C: use buffer signals
5391 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * introduce namespace lyx::graphics
5395 2003-07-02 André Pönitz <poenitz@gmx.net>
5397 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5399 2003-07-01 André Pönitz <poenitz@gmx.net>
5406 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5407 text*.C to text_func.C
5409 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * introduce namespace lyx::support
5413 2003-06-30 André Pönitz <poenitz@gmx.net>
5418 * text.C: re-enable --with-included-string
5420 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5422 * textcursor.C: add <config.h>
5424 * text.C (getWord): remove const from word_location arg
5426 * lyxvc.C (getLogFile): fix const type order
5428 * lyxtext.h: remove const from word_location arg, add arg name
5430 * lyxlayout.h: currect type on labeltype.
5432 * importer.C: correct \file
5434 * converter.C (intToFormat): use std:: on ret val, ws changes
5436 * bufferlist.h: correct \file
5438 * buffer.C (makeLinuxDocFile): fix const type order
5439 (makeDocBookFile): ditto
5440 (fillWithBibKeys): use std:: on stdlib args.
5442 * CutAndPaste.C: fix authors.
5443 (availableSelections): use std:: on return vector
5445 2003-06-27 André Pönitz <poenitz@gmx.net>
5447 * BufferView_pimpl.C:
5448 * bufferview_funcs.C:
5456 * text3.C: remove LyXCursor::row_ member
5459 * text.C: rename fullRebreak() to partialRebreak() and implement
5460 a fullRebreak() that really bereks fully
5462 * textcursor.h: new struct for cursor-related data
5464 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5466 * lyx_main.C (LyX): get full path of document loaded on the
5469 2003-06-26 André Pönitz <poenitz@gmx.net>
5471 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5472 remove unused/broken operator>,<,>=.
5474 * text.C: remove only use of broken operator<= in an Assert().
5476 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5478 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5479 moved errorlist_.clear to showErrorList
5481 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5483 * converter.C (scanLog, runLaTeX):
5484 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5485 move the bv->showErrorList call to the callers
5486 * lyxfunc.C: i.e. here...
5488 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5489 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5490 namespace, the second to...
5491 * buffer_funcs (BufferFormat, parseErrors): added
5492 * errorlist.C (ErrorList(TeXErrors const &)): removed
5494 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5496 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5498 2003-06-24 "Garst R. Reese" <reese@isn.net>
5502 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5504 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5506 * version.C.in: change docversion to 1.4
5508 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5510 * buffer.C: fix a bug just introduced
5512 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5514 * buffer.[Ch]: added the parseError signal and use it, removed
5516 * BufferView.[Ch] (addError): moved to ...
5517 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5518 to the Buffer::parseError signal to catch (guess what) parse errors
5519 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5521 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5523 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5524 ability to create a buffer and to return an existing one from
5525 the list. Moved these functions to...
5526 * buffer_funcs.[Ch]: added
5527 * BufferView.[Ch] (loadLyXFile): added
5528 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5529 job removed from bufferlist::loadLyXFile.
5530 * buffer.C (setReadOnly): make it work without view
5531 (i.e added an if (users))
5533 2003-06-19 Angus Leeming <leeming@lyx.org>
5536 * LyXAction.C (init):
5537 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5538 with LFUN_DIALOG_SHOW <name> <data>.
5540 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5542 * CutAndPaste.C (availableSelections): small compilation fix for
5543 ancient (gcc 2.9x) compilers
5545 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5547 * text3.C (cursorNext): add tmp var
5549 * text2.C (updateCounters): for function calling out of for clause
5550 (replaceSelectionWithString): ditto
5551 (insertStringAsParagraphs): ditto
5552 (getColumnNearX): add tmp var
5553 (setCursorFromCoordinates): add tmp var
5554 (cursorDownParagraph): add tmp var
5555 (deleteEmptyParagraphMechanism): add tmp var
5557 * text.C (insertChar): add tmp var
5559 * rowpainter.C (paintDepthBar): add tmp var
5561 * CutAndPaste.C (availableSelections): potentially check all
5562 paragraphs in a cut to fill the shown strings.
5564 2003-06-18 André Pönitz <poenitz@gmx.net>
5566 * kbmap.[Ch]: use vector<> instead of list<>
5568 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5570 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5571 pasteSelection with index
5573 * text2.C (pasteSelection): modify, call pasteSelection with index
5575 * paragraph.C (asString): reimplement version with no interval to
5576 call the one with interval.
5578 * lyxtext.h: add index arg to pasteSelection
5580 * MenuBackend.C (MenuItem): handle PasteRecent
5581 (Menu::read::Menutags): add md_pasterecent
5583 (expandPasteRecent): new function
5586 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5588 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5590 (availableSelections): new function
5592 2003-06-17 Angus Leeming <leeming@lyx.org>
5594 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5596 2003-06-17 Angus Leeming <leeming@lyx.org>
5599 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5601 * lyxfunc.C (dispatch): invoke it.
5603 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5605 * iterators.C (operator++, ParPosition): reintroduce some
5606 const_cast for the benefit of older compilers.
5608 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5610 * text3.C (dispatch): do not modify clipboard when doing
5611 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5612 LFUN_DELETE_SKIP on a selection selection
5614 2003-06-16 André Pönitz <poenitz@gmx.net>
5620 * tabular.[Ch]: IU of clone() and getLabelList();
5622 2003-06-13 André Pönitz <poenitz@gmx.net>
5624 * tabular.h: compactification
5626 2003-06-12 André Pönitz <poenitz@gmx.net>
5630 * tabular_funcs.h: some renaming plus whitespace
5632 2003-06-12 André Pönitz <poenitz@gmx.net>
5635 * BufferView_pimpl.C:
5641 * toc.C: Return a Paragraph & for ParIterator::operator*()
5643 2003-06-11 John Levon <levon@movementarian.org>
5647 * ToolbarBackend.C: add "Toolbars" section and
5650 2003-06-10 Angus Leeming <leeming@lyx.org>
5653 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5655 * lyxfunc.C (dispatch): invoke it.
5657 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5659 * main.C: protect <ios> with HAVE_IOS
5660 (main): protect sync_with_stdio with HAVE_IOS
5662 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5664 * text2.C (cutSelection): adjust
5665 (pasteSelection): adjust
5667 * messages.C: handle get of empty string
5669 * main.C (main): use sync_with_stdio(false)
5671 * lyxfunc.C (dispatch): adjust
5673 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5674 (WriteAs): remove unneeded BufferView arg.
5676 * bufferparams.h: use correct types on papersize, papersize2 and
5679 * bufferparams.C (readToken): adjust for type
5680 (writeLaTeX): add missing cases to switch.
5682 * bufferlist.C (quitWriteBuffer): adjust
5685 * buffer.C (asciiParagraph): remove some commented code.
5687 * CutAndPaste.C: remove current_view extern variable.
5688 (cutSelection): add BufferParams arg.
5689 (eraseSelection): add BufferParams arg.
5690 (pasteSelection): add Buffer const & arg
5692 2003-06-07 John Levon <levon@movementarian.org>
5695 * paragraph_funcs.C:
5696 * paragraph_pimpl.C:
5700 * paragraph.C: allow InsetERT to freely space lines,
5701 and some consolidation of code
5703 2003-06-06 José Matos <jamatos@fep.up.pt>
5705 * buffer.C (makeDocBookFile): fix bug #821
5707 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5709 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5711 2003-06-04 Angus Leeming <leeming@lyx.org>
5713 * buffer.C: bump format to 224.
5715 2003-06-05 André Pönitz <poenitz@gmx.net>
5717 * text2.C (redoParagraphs): remove two const_cast<>
5719 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5721 * ParagraphList.h: remove last remnants of NO_STD_LIST
5723 2003-06-03 Angus Leeming <leeming@lyx.org>
5725 * factory.C (createInset): small change to the way InsetExternal's params
5728 2003-06-04 André Pönitz <poenitz@gmx.net>
5730 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5732 * paragraph_pimpl.h:
5733 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5735 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5737 * undo_funcs.C: make some simple cases of undo work again
5739 2003-06-03 John Levon <levon@movementarian.org>
5741 * ispell.C: HPUX doesn't have sys/select.h
5744 2003-06-03 John Levon <levon@movementarian.org>
5746 * CutAndPaste.C: update tabular and include inset
5751 * paragraph.C: remove owningBuffer(), don't pass Buffer
5754 * factory.C: insetGraphicsParams changed
5756 2003-06-02 John Levon <levon@movementarian.org>
5762 * text3.C: remove insetparent
5764 2003-06-02 John Levon <levon@movementarian.org>
5767 * buffer.C: fix inset_iterator.end(), move out of line
5770 2003-06-01 John Levon <levon@movementarian.org>
5772 * text3.C: use a proper cut/paste when doing inset
5773 insert (from Jürgen Spitzmüller)
5775 2003-06-01 John Levon <levon@movementarian.org>
5777 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5779 2003-05-30 André Pönitz <poenitz@gmx.net>
5781 * rowpainter.C: unify second drawing phase
5783 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5785 * trans_mgr.C: remove one case of current_view
5787 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5789 * paragraph_funcs.h: remove paragraph.h include
5791 * paragraph.h: delete NO_STD_LIST stuff
5793 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5795 * buffer.h: remove paragraph.h include
5797 * ParagraphList.C: delete file
5799 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5801 * toc.C (getTocList): adjust
5803 * paragraph_pimpl.C (validate): adjust
5805 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5807 * paragraph.C (Paragraph): adjust
5808 (getPositionOfInset): use const_iterator, adjust
5809 (bibitem): use const_iterator, adjust
5810 (setInsetOwner): adjust
5812 * iterators.C (operator++): adjust
5814 * InsetList.[Ch]: Replace selfmade iterator with standard
5815 vector::iterator also introduce const_iterator. Remove getPos,
5816 getInset and setInset from InsetTable. Adjust accordingly.
5818 * BufferView.C (lockInset): adjust
5819 (ChangeInsets): adjust
5821 * tabular.[Ch]: delete commented same_id functions
5823 2003-05-28 John Levon <levon@movementarian.org>
5825 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5827 2003-05-28 André Pönitz <poenitz@gmx.net>
5829 * metricsinfo.[Ch]: remove 'fullredraw' member
5831 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5833 * lyxtextclass.C (operator): remove caching.
5835 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * text2.C (cursorBottom): adjust
5840 (setCounter): use ParagraphList::find, adjust
5842 * text.C (workWidth): use ParagraphList::find, adjust
5844 * lyxcursor.C (LyXCursor): adjust
5846 * buffer.C (inset_iterator): adjust
5848 * ParagraphList.h: make iterator(value_type) private, make
5849 ParagraphList a friend of iterator.
5851 * ParagraphList.C (find): new function
5853 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5855 2003-05-27 André Pönitz <poenitz@gmx.net>
5857 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5859 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5861 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5863 2003-05-26 John Levon <levon@movementarian.org>
5865 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5867 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5869 * remove same_id from function signatures, adjust.
5871 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5875 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5877 * paragraph.C (Paragraph): get rid of same_ids parameter
5879 * ParagraphList.C (insert): adjust
5882 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * paragraph_funcs.C (breakParagraph): adjust
5885 (breakParagraphConservative): adjust
5887 * buffer.C (readParagraph): adjust
5889 * ParagraphList.C (insert): take a reference instead of a pointer
5892 * paragraph.[Ch] (id): new function
5894 * bufferlist.C (newFile): adjust
5896 * ParagraphList.C (ParagraphList): adjust
5898 (push_back): take a reference instead of a pointer.
5900 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5902 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5905 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5906 set else use old code.
5908 * ParagraphList.C: remove all NO_NEXT code and only compile this
5909 code of NO_STD_LIST is set.
5911 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5913 * BufferView_pimpl.C:
5923 * graphics/GraphicsConverter.C:
5924 * graphics/PreviewLoader.C: header adjustment
5926 2003-05-23 Angus Leeming <leeming@lyx.org>
5928 * LaTeXFeatures.[Ch] (useBabel): new method.
5929 * bufferparams.C (writeLaTeX): use it.
5931 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * ParagraphList.h (set): remove unused function.
5935 2003-05-23 André Pönitz <poenitz@gmx.net>
5938 * BufferView_pimpl.C:
5942 * undo_funcs.C: setUndo reworked
5944 * iterators.[Ch]: add access to topmost ParagraphList
5946 * lyxtext.[Ch] (workWidth): add a const
5948 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5950 * texrow.[Ch] (increasePos): remove function
5951 * exporter.C (export): removed unused var and outdated comment
5953 2003-05-23 Angus Leeming <leeming@lyx.org>
5955 * latexrunparams.h: rename fragile as moving_arg.
5956 * paragraph.C (simpleTeXOnePar): ditto.
5957 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5959 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5963 (textUndoOrRedo): comment out a currently unused var.
5965 * paragraph.h (NO_NEXT): enable NO_NEXT
5967 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5969 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5971 * exporter.C (Export): adjust for removeAutoInsets removal.
5973 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5975 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5977 * BufferView.[Ch] (removeAutoInsets): delete function
5979 2003-05-22 Angus Leeming <leeming@lyx.org>
5981 * latexrunparams.h: add a free_spacing variable.
5983 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5984 to pass moving_arg, as the data is stored in runparams.fragile.
5986 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5987 to Inset::latexOptional or to simpleTeXOnePar.
5989 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5990 free_spacing arg to Inset::latexOptional.
5992 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5995 2003-05-22 Angus Leeming <leeming@lyx.org>
5997 * latexrunparams.h: add fragile and use_babel variables.
5999 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6000 * buffer.C (makeLaTeXFile): store this returned value in
6001 runparams.use_babel, thus passing it to the inset::latex methods.
6003 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6004 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6006 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6007 longer has a fragile arg, as it is stored in runparams.fragile.
6009 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6010 moving_arg parameter as the data is stored in runparams.fragile.
6012 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6013 a fragile parameter as the data is stored in runparams.fragile.
6015 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6019 2003-05-22 Angus Leeming <leeming@lyx.org>
6021 * latexrunparams.h: add a 'bool nice' which defaults to false.
6023 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6024 now encapsulated within runparams.
6026 * bufferlist.C (updateIncludedTeXfiles):
6027 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6029 2003-05-22 Angus Leeming <leeming@lyx.org>
6031 * latexrunparams.h: new file containing struct LatexRunParams.
6032 * Makefile.am: add new file.
6034 * LaTeX.[Ch] (c-tor, run):
6035 * buffer.[Ch] (makeLaTeXFile):
6036 * bufferlist.[Ch] (updateIncludedTeXfiles):
6037 * converter.C (convert, scanLog):
6038 * converter.[Ch] (runLaTeX):
6039 * exporter.C (Export):
6040 * paragraph.[Ch] (simpleTeXOnePar):
6041 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6042 * paragraph_funcs.[Ch] (latexParagraphs):
6043 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6044 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6045 pass around a LatexRunParams parameter.
6047 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6049 * paragraph.[Ch]: remove unused constructor
6051 * ParagraphList.C (erase): new function, taking two iterators
6053 2003-05-22 André Pönitz <poenitz@gmx.net>
6055 * undo_funcs.C: remove duplicated code
6057 * iterator.[Ch]: operator=
6059 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6061 * tabular.C (SetMultiColumn): ws changes
6063 * rowpainter.C (paintFirst): get rid of a ->previous
6065 * lyx_cb.C (getPossibleLabel): parlist simplification
6067 * BufferView.C (ChangeInsets): simplify slightly.
6069 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6071 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6072 * lfuns.h: new LFUN_SPACE
6073 * lyxfunc.C: protected space has a new lfun
6074 * paragraph_funcs.C: read new space insets
6076 * factory.C: handle new space insets
6078 2003-05-22 André Pönitz <poenitz@gmx.net>
6081 * BufferView_pimpl.C:
6084 * undo_funcs.C: return a ParIterator from getParFromID.
6086 * iterators.[Ch]: add two const's
6088 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * toc.C (getTocList): adjust
6092 * iterators.[Ch]: rework for parlist
6094 * buffer.C (par_iterator_begin): adjust
6095 (par_iterator_end): adjust
6097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6099 * BufferView.C (removeAutoInsets): adjust
6100 (ChangeInsets): adjust
6102 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6104 * text.C (top_y): fix bug 1110
6106 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6108 * errorlist.[Ch]: added
6111 * BufferView_pimpl.C:
6112 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6115 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * Makefile.am: ensure that lyx is relinked upon changes to the
6118 various "convenience" libs.
6120 2003-05-20 Angus Leeming <leeming@lyx.org>
6122 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6123 files are compiled in alphabetical order again.
6125 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6127 2003-05-19 Angus Leeming <leeming@lyx.org>
6129 * gettext.[Ch]: remove "char const * _(char const *)".
6131 2003-05-19 André Pönitz <poenitz@gmx.net>
6133 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6142 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6144 2003-05-19 André Pönitz <poenitz@gmx.net>
6148 * lyxtextclass.[Ch]:
6150 * paragraph_funcs.[Ch]:
6152 * text3.C: more insetenv work
6154 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6156 * ParagraphParameters.C (params2string): small bug fixed
6158 2003-05-16 André Pönitz <poenitz@gmx.net>
6161 * bufferview_funcs.C: patch from Kornel Benko to prevent
6162 crash when _(...) is called twice in a statement
6164 2003-05-16 André Pönitz <poenitz@gmx.net>
6171 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6173 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6175 * lyx_main.C (init): remove spurious static_cast
6177 2003-05-14 André Pönitz <poenitz@gmx.net>
6179 * BufferView.C: fix format string
6181 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6183 * BufferView.[Ch] (insertErrors): removed
6184 * BufferView.[Ch] (showErrorList): added
6185 * buffer.C (runChkTeX):
6186 * converter.C (scanLog): call showErrorList instead of inserterrors
6188 2003-05-13 André Pönitz <poenitz@gmx.net>
6190 * BufferView_pimpl.C:
6192 * bufferview_func.C:
6199 * tabular_funcs.h: tostr() from its own header
6201 * ParagraphParameters.C:
6206 * text3.C: STRCONV()
6208 2003-05-12 André Pönitz <poenitz@gmx.net>
6211 * BufferView_pimpl.C:
6215 * ParagraphParameters.C:
6219 * bufferview_funcs.C:
6232 * paragraph_funcs.C:
6236 * text3.C: boost::format -> bformat all over the place
6239 2003-05-09 André Pönitz <poenitz@gmx.net>
6241 * LColor.[Ch]: Pimpl the #include <map> away
6243 2003-05-09 John Levon <levon@movementarian.org>
6245 * bufferlist.C: never remove emergency saves
6247 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6249 * Makefile.am: better lib building
6251 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6253 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6255 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6256 (simpleTeXSpecialChars): adjust
6257 (simpleTeXSpecialChars): adjust
6258 * paragraph.C (simpleTeXOnePar): adjust
6259 * buffer.C (makeLaTeXFile): adjust
6261 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6263 * text2.C (changeDepth): parlist cleanup
6264 (getColumnNearX): ditto
6266 * rowpainter.C (getLabelFont): parlist cleanup
6268 * bufferlist.C (newFile): parlist cleanup
6270 * CutAndPaste.C (eraseSelection): parlist cleanup
6272 * BufferView_pimpl.C (trackChanges): parlist cleanup
6275 * BufferView.C (lockInset): parlist cleanup.
6276 (ChangeInsets): ditto
6278 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6280 * CutAndPaste.h: Update file header.
6282 * CutAndPaste.C: Update file header.
6283 Store the parts cut out of the Document in a limited_stack.
6284 (copySelection): adjust
6285 (pasteSelection): new function, takes the index in the limited stack.
6286 (nrOfParagraphs): adjust
6287 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6288 simplify error inset insertion.
6289 (checkPastePossible): adjust
6291 2003-05-06 John Levon <levon@movementarian.org>
6293 * text2.C: don't cast wrap inset to float
6295 2003-05-05 André Pönitz <poenitz@gmx.net>
6298 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6300 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6301 few naked Paragraph *.
6303 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6305 * bufferparams.C: Output warning if a document with missing
6306 TeX document class is loaded
6307 * exporter.C: Disable TeX exports if the document class is missing
6310 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6311 isTeXClassAvailable()
6313 2003-05-03 John Levon <levon@movementarian.org>
6316 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6317 explicit cursor show/hide
6319 * BufferView_pimpl.h:
6320 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6321 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6323 * lyxfunc.C: hide cursor before dispatching.
6328 * text3.C: remove explicit cursor hides
6330 2003-05-02 André Pönitz <poenitz@gmx.net>
6332 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6335 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6338 * text2.C: tiny whitespace
6340 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6342 * undo_funcs.C: almost only ws changes.
6344 * ParagraphList.C (splice): just return if pl is empty.
6346 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * ParagraphList.C (splice): new function.
6350 * CutAndPaste.C (pasteSelection): use it
6352 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * CutAndPaste.C (pasteSelection): remove the last next and
6355 previous from this file.
6357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * CutAndPaste.C (pasteSelection): more clean up, user proper
6360 ParagraphList functions for pasteing.
6362 * ParagraphList.C (insert): new function, three arg insert
6364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * ParagraphList.C (insert): new function, three arg insert
6368 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6371 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6375 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6379 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6382 (copySelection): clean up a bit.
6383 (pasteSelection): use make_pair
6385 * ParagraphList.C (ParagraphList): implement copy constructor
6386 (operator=): implement, base on copy constructor.
6389 * paragraph.C (erase): return a bool
6391 * paragraph_pimpl.C (erasePos): remove function, move contents...
6392 (erase): ... here. Return a bool.
6393 (erase): call erase instead of erasePos.
6395 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6397 * ParagraphList.h: define PitPosPair
6398 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6399 ParagraphList, fix a bug on pasting multiple pars
6400 * text2.C: change interface to C&P
6402 2003-04-30 André Pönitz <poenitz@gmx.net>
6404 * undo_func.C: revert part of yesterday's patch 2
6406 2003-04-30 John Levon <levon@movementarian.org>
6408 * LColor.C: s/tabular/table/
6410 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * text3.C (dispatch): do not convert iterator -> pointer
6413 * undo_funcs.C (setCursorParUndo): ditto
6414 * text_funcs.C (transposeChars): ditto
6416 * text2.C (setLayout): ws changes only
6418 * text.C (breakParagraph): do not convert iterator -> pointer
6420 (acceptChange): ditto
6421 (rejectChange): ditto
6426 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6429 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6431 * text3.C (gotoInset): YABG (yet another bad getChar)
6433 2003-04-29 André Pönitz <poenitz@gmx.net>
6435 * paragraph.h: make operator= private unimplemented as long as
6438 * ParagraphList.C: whitespace
6441 * paragraph_pimpl.[Ch]:
6442 * paragraph_funcs.C:
6444 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6447 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6449 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6451 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6452 * paragraph.[Ch] (erase):
6453 * paragraph_pimpl.[Ch] (erase): change return type and value
6454 * text2.C (cutSelection): some rework
6456 2003-04-28 John Levon <levon@movementarian.org>
6458 * bufferlist.C: changes for unsaved changes dialog
6460 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * bufferlist.C (newFile): set language (messages_) for new
6465 * buffer.C (readFile): ws changes only.
6467 2003-04-28 André Pönitz <poenitz@gmx.net>
6472 * BufferView_pimpl.C:
6473 * BufferView.C: getParFromID related ParagraphList::iterator changes
6475 2003-04-28 André Pönitz <poenitz@gmx.net>
6477 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6480 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * messages.C: remove one more localedir class variable.
6484 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * messages.C (getLocaleDir): singleton generation function
6488 (Messages): add a default constructor.
6490 * main.C (main): do not setup localedir here, do not call
6493 * gettext.C (_): use it.
6494 (gettext_init): delete funciton
6496 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * gettext.C (getLyXMessages): new singleton generating function.
6500 * buffer.C (updateDocLang): adjust
6502 * Makefile.am (messages.o): add target
6503 (main.o): remove target
6505 2003-04-27 John Levon <levon@movementarian.org>
6510 * lyxvc.C: specify cancel button in Alert::prompt
6512 2003-04-26 John Levon <levon@movementarian.org>
6517 * LyXAction.C: add LFUN_INSET_SETTINGS
6519 * lyxfunc.C: don't enable tabular-feature when there's
6520 just any locking inset
6522 2003-04-26 John Levon <levon@movementarian.org>
6524 * bufferlist.C: re-add Cancel to buffer close question
6526 * lyxfunc.C: fix import UI a bit
6528 2003-04-25 John Levon <levon@movementarian.org>
6530 * gettext.C: remove the broken asserts for now
6532 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * messages.C: make case where setlocale cannot comply work better.
6536 * buffer.C (updateDocLang): new function
6537 (changeLanguage): use it
6540 * text2.C (setCounter): use B_ a bit.
6542 * lyxlayout.C (Read): be sure to trim the label strings.
6544 * messages.C (Messages): fix typo in comment
6546 * buffer.C (readFile): set message_ after file is loaded.
6547 (makeDocBookFile): remove double return
6548 (changeLanguage): reset message_ upon language change.
6549 (B_): new func, use this to get translated buffer strings.
6551 * main.C: add myself and Jean Marc as authors.
6553 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * messages.[hC]: pimplify Messages, and three different pimpls to be
6556 used in different circumstances.
6558 * gettext.[Ch]: change for use with new message code.
6560 2003-04-24 André Pönitz <poenitz@gmx.net>
6562 * factory.C: support for eqref
6564 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6566 * messages.[Ch]: add missing char
6568 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6570 * messages.[Ch]: New files
6572 2003-04-18 John Levon <levon@movementarian.org>
6576 * BufferView_pimpl.C:
6580 * text2.C: remove layout-copy/paste (bug 778)
6582 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6584 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6586 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6588 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6589 if they succeed. Act accordingly.
6591 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6593 * text2.C (setCharFont): adjust
6594 (setCounter): adjust
6595 (insertStringAsLines): adjust
6597 * text.C (leftMargin): adjust
6598 (setHeightOfRow): adjust
6600 * rowpainter.C (paintFirst): adjust
6603 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6605 (isFirstInSequence): ditto
6606 (getEndLabel): ditto
6609 * paragraph.C (getParLanguage): comment out some hard stuff.
6611 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6613 (simpleDocBookOnePar): ditto
6614 (makeDocBookFile): use ParagraphList::iterator
6616 * CutAndPaste.C (pasteSelection): adjust
6618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * text2.C (getFont): adjust
6621 (getLayoutFont): adjust
6622 (getLabelFont): adjust
6624 * paragraph_funcs.C (TeXOnePar): adjust
6626 * buffer.C (simpleLinuxDocOnePar): adjust
6627 (simpleDocBookOnePar): adjust
6629 * CutAndPaste.C (pasteSelection): adjust
6631 * BufferView.C (getEncoding): adjust
6633 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6635 2003-04-16 John Levon <levon@movementarian.org>
6637 * lyxfind.C: use parlist stuff for search/changes
6639 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6641 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6643 * text2.C (deleteEmptyParagraphMechanism): adjust
6645 * text2.[Ch] (ownerParagraph): delete func (both of them
6647 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6649 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6651 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6653 * ParagraphList.C: prepare for NO_NEXT
6655 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * text2.C (getFont): adjust
6658 (getLayoutFont): adjust
6659 (getLabelFont): adjust
6661 * paragraph.C (getFont): adjust
6662 (getLabelFont): adjust
6663 (getLayoutFont): adjust
6665 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6667 2003-04-15 John Levon <levon@movementarian.org>
6671 * lyx_main.C: handle Include in .ui files
6673 2003-04-15 John Levon <levon@movementarian.org>
6675 * MenuBackend.C: make the doc files length shorter
6678 * ToolbarBackend.C: handle toolbar placement flags,
6681 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6683 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6686 * paragraph_funcs.C (TeXOnePar): adjust
6688 * paragraph.C (getLabelFont): add outerfont arg, adjust
6689 (getLayoutFont): ditto
6690 (simpleTeXOnePar): adjust
6692 * paragraph_pimpl.C (realizeFont): delete func
6694 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6696 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6697 row argument, constify cur argument.
6699 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text2.C (getFont): adjust
6702 (getLayoutFont): adjust
6703 (getLabelFont): adjust
6705 * paragraph_funcs.C (TeXOnePar): adjust
6706 (outerFont): new func...
6707 (realizeFont): ...moved out from here, changed this to facilitate
6710 * paragraph.C (getFont): take outerfont as arg, adjust
6711 (simpleTeXOnePar): add outerfont arg, adjust
6713 * buffer.C (simpleLinuxDocOnePar): adjust
6714 (simpleDocBookOnePar): adjust
6716 * CutAndPaste.C (pasteSelection): adjust
6718 * BufferView.C (getEncoding): adjust
6720 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * text2.C (setCharFont): adjust
6723 (setCounter): adjust
6725 * text.C (leftMargin): adjust
6726 (setHeightOfRow): adjust
6728 * rowpainter.C (paintFirst): adjust
6731 * paragraph_pimpl.C (realizeFont): adjust
6733 * paragraph.C (isFirstInSequence): move from here...
6734 * paragraph_funcs.C (isFirstInSequence): ...to here
6736 * paragraph.C (outerHook): move from here...
6737 * paragraph_funcs.C (outerHook): ...to here
6739 * paragraph.C (depthHook): move from here...
6740 * paragraph_funcs.C (depthHook): ...to here
6742 * paragraph.C (getEndLabel): move from here...
6743 * paragraph_funcs.C (getEndLabel): ...to here
6745 * text2.C (realizeFont): move from here...
6746 * paragraph_funcs.C (realizeFont): ...to here
6748 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6750 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6752 2003-04-14 Angus Leeming <leeming@lyx.org>
6754 * LColor.[Ch]: scrap LColor mathcursor.
6756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * lyxlex.[Ch] (text): delete function
6759 * trans.C (Load): adjust
6760 * paragraph_funcs.C (readParToken): adjust
6762 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6765 vector<char> instead of a char[].
6767 * lyxlex_pimpl.C (getString): adjust
6769 (lex): use getString
6773 * lyxlex.C (text): use pimpl_->getString()
6777 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6780 (makeFontEntriesLayoutSpecific): temp var for par.size()
6781 (setLayout): temp var for ownerParagraphs().end()
6782 (fullRebreak): temp var for rows().end()
6783 (selectionAsString): temp var for boost::next(startpit), realize
6784 that the while really is a regular for loop.
6785 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6786 setCursor in one place.
6787 (setParagraph): temp vr for ownerParagraphs().end()
6788 (updateCounters): make the while loop a for loop
6789 (cutSelection): temp var for ownerParagraphs().end()
6790 (updateInset): make the do {} while() a regular for loop
6791 (getCursorX): use temp vars
6792 (setCurrentFont): use temp vars
6793 (getColumnNearX): use temp vars
6795 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * text.C (transformChar): use temp var for getChar
6798 (computeBidiTables): use temp var for row->par()
6799 (fill): move temp vars for row->par() and pit->layout() earlier in
6801 (labelFill): use temp var for row->par()
6802 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6803 asc and desc, realize that pit never changes and that firstpit is
6804 just a duplicate and not needed. Exchange rit->par() with pit in a
6806 (breakAgain): use a temp var for boost::next(rit)
6807 (breakAgainOneRow): ditto
6808 (breakParagraph): use a temp var for rows().begin()
6809 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6810 (cursorRightOneWord): use temp var for cursor.par() and
6811 cursor.pos(), remove usage of tmpcursor.
6812 (cursorLeftOneWord): use temp var for cursor.par() and
6813 cursor.pos() only set cur at end of function.
6815 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6817 * text.C, text2.C: exchange all usage of Paragraph::next with
6818 boost::next(ParagraphList::iterator)
6820 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6822 * text2.C (cursorTop): simplify implementation
6823 (cursorBottom): ditto
6824 (setParagraph): use ParagraphList::iterator
6825 (setCurrentFont): adjust
6826 (getColumnNearX): adjust
6827 (cursorRight): adjust
6828 (cursorLeft): remove usage of Paragraph::previous
6829 (cursorUpParagraph): ditto
6830 (deleteEmptyParagraphMechanism): slight cleanup
6832 * text.C (isBoundary): take a Paragraph const & instead of a
6834 (addressBreakPoint): ditto
6835 (leftMargin): remove usage of Paragraph::previous.
6836 (setHeightOfRow): ditto
6837 (cursorLeftOneWord): ditto
6838 (selectNextWordToSpellcheck): ditto
6841 (breakParagraph): remove one usage of Paragraph::next
6842 (redoParagraph): ditto
6843 (acceptChange): ditto
6844 (insertChar): adjust
6845 (rowBreakPoint): adjust
6847 * bufferview_funcs.C (toggleAndShow): adjust
6849 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6851 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6852 methods to access it.
6854 * text.C: Added updateRowPositions to compute all row positions.
6855 Make top_y and getRowNearY() to use the cached y position
6857 2003-04-11 John Levon <levon@movementarian.org>
6859 * text.C (rowBreakPoint): reintroduce the labelEnd
6860 checks, code copied from the row fill stuff. Deep voodoo.
6862 * text.C (fill): add a comment and debugging for the
6865 2003-04-11 John Levon <levon@movementarian.org>
6867 * text.C: make sure fullrow insets get wrapped to the next line,
6868 even when they're in a manual label
6870 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6872 * text2.C (insertParagraph): make it take ParagraphList::iterator
6874 (setLayout): make it return ParagraphList::iterator
6875 (redoParagraphs): ditto
6877 (checkParagraph): ditto
6879 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6881 * text2.C: adjust several funcs.
6882 (realizeFont): take a ParagraphList::iterator as arg.
6883 (getLayoutFont): ditto
6884 (getLabelFont): ditto
6885 (setCharFont): ditto
6887 * text.C: adjust several funcs.
6889 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6891 * text.C (selectNextWordToSpellcheck): don't accidentally
6894 2003-04-10 John Levon <levon@movementarian.org>
6896 * ToolbarBackend.C (getIcon): special handling for
6899 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6901 * text2.C (cursorRight): a getChar assert fixed
6903 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6905 * text2.C (getFont): change to take a ParagraphList::iterator
6906 instead of Paragraph*
6907 Adjust several functions.
6909 * text.C (transformChar): change to take a ParagraphList::iterator
6910 instead of Paragraph*
6911 (singleWidth): ditto
6912 Adjust several functions.
6914 * rowpainter.C: adjust several functions
6915 * rowpainter.h:store a ParagraphList::iterator and not a
6919 2003-04-09 John Levon <levon@movementarian.org>
6924 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6925 and the "help" bits as well
6927 2003-04-09 John Levon <levon@movementarian.org>
6930 * ToolbarBackend.C: allow multiple toolbars
6932 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * undo_funcs.C (setCursorParUndo): adjust
6936 * text_funcs.C (transposeChars): adjust
6938 * text3.C (gotoNextInset): adjust
6941 * text2.C (setLayout): adjust
6942 (changeDepth): adjust
6944 (redoParagraphs): adjust
6945 (selectionAsString): adjust
6946 (setParagraph): adjust
6947 (insertInset): adjust
6948 (cutSelection): adjust
6949 (copySelection): adjust
6950 (pasteSelection): adjust
6951 (insertStringAsLines): adjust
6952 (updateInset): adjust
6953 (setCursor): change to take a ParagraphList::iterator parameter
6954 (setCursorIntern): change to take a ParagraphList::iterator parameter
6955 (setCurrentFont): adjust
6956 (cursorLeft): adjust
6957 (cursorRight): adjust
6958 (deleteEmptyParagraphMechanism): adjust
6960 * text.C (breakParagraph): adjust
6961 (insertChar): adjust
6962 (acceptChange): adjust
6963 (rejectChange): adjust
6964 (selectNextWordToSpellcheck): adjust
6965 (changeCase): adjust
6969 * lyxfind.C (SearchForward): adjust
6970 (SearchBackward): adjust
6971 (nextChange): adjust
6973 * lyxcursor.C (par): adjust
6975 * lyxcursor.h: store a ParagraphList::iterator instead of a
6978 * lyx_cb.C (getPossibleLabel): adjust
6980 * bufferview_funcs.C (toggleAndShow): adjust
6982 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6985 * BufferView.C (removeAutoInsets): adjust
6986 (lockedInsetStoreUndo): adjust
6988 2003-04-09 John Levon <levon@movementarian.org>
6990 * ToolbarBackend.C: try icon without argument
6991 if with argument fails
6993 2003-04-08 John Levon <levon@movementarian.org>
6996 * ToolbarBackend.C: add getIcon(), handle tooltip,
6997 and change from "Icon" to "Item".
6999 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7001 * BufferView.C (lockInset): another bad getchar crunched
7003 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7005 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7008 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7010 * lyxfind.C (searchForward, searchBackwards): bug 782
7012 2003-04-07 John Levon <levon@movementarian.org>
7014 * paragraph.C: remove dead comment
7016 * text.C: remove troublesome depth-fiddling code
7017 in leftMargin() and rightMargin() (bug 1017)
7019 * text.C: fix breaking of rows in nested lists
7022 * text2.C (updateCounters): fix up depth values
7025 2003-04-07 John Levon <levon@movementarian.org>
7027 * BufferView_pimpl.C: clear message when doc finishes resizing,
7028 and after a mouse event
7030 * lyxfunc.C: clear message after exiting inset
7032 2003-04-07 John Levon <levon@movementarian.org>
7034 * bufferview_funcs.C: show math status not outside
7035 status in the statusbar
7037 2003-04-07 John Levon <levon@movementarian.org>
7039 * lyxfunc.C: note status changed after a depth change
7041 2003-04-04 Angus Leeming <leeming@lyx.org>
7043 * LaTeX.h: move AuxInfo operator==, != out of line.
7044 Remove LaTeX virtual destructor; nothing derives from it.
7045 Move operator()() out of public area and rename it startscript().
7046 Change protected for private.
7048 2003-04-04 Angus Leeming <leeming@lyx.org>
7051 * text2.C: remove unneeded #includes.
7053 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7055 * text2.C (dEPM): fix the heigth of the next row
7057 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7059 * text.C: squashed an invalid getChar requester + some ws changes
7061 2003-04-03 John Levon <levon@movementarian.org>
7063 * bufferview_funcs.h:
7064 * bufferview_funcs.C:
7067 * text2.C: make getStatus work for the env depth lfuns
7069 2003-04-03 John Levon <levon@movementarian.org>
7071 * bufferview_funcs.h:
7072 * bufferview_funcs.C:
7075 * text2.C: parlistize decDepth(), by merging it with incDepth()
7077 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * lyxrow.h: store a ParagraphList::iterator instead of a
7080 Paragraph* and adjust other class functions to suit.
7082 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7085 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7087 * text2.C (setCursor): do not anchor to cursor row for the time being
7089 2003-04-02 John Levon <levon@movementarian.org>
7096 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7098 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * paragraph.h: make ParagraphList and ParagraphList::iterator
7101 friends of Paragraph.
7103 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7105 * ParagraphList.C: Use the private next_ and previous_ from
7108 2003-04-01 John Levon <levon@movementarian.org>
7112 * Makefile.am: rename, remove defaults gunk
7115 * MenuBackend.C: remove defaults gunk
7118 * Languages.C: remove defaults gunk
7121 * lyx_main.C: error out if files couldn't be found.
7123 2003-04-02 John Levon <levon@movementarian.org>
7125 * text2.C: make incDepth() use parlist
7127 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * undo_funcs.C (firstUndoParagraph): adjust
7131 * text3.C (gotoInset): adjust
7132 (dispatch): adjust, and rewrite loop.
7134 * text2.C (init): adjust, and rewrite loop.
7135 (redoParagraphs): adjust
7136 (updateInset): adjust, and rewrite loop.
7137 (deleteEmptyParagraphMechanism): adjust
7139 * tabular.C (LyXTabular): adjust
7140 (SetMultiColumn): adjust
7143 * lyxtext.[Ch] (ownerParagraph): delete function
7144 (ownerParagraphs): new function returns a ParagraphList.
7146 * BufferView.C (removeAutoInsets): adjust
7147 (insertErrors): adjust
7148 (setCursorFromRow): adjust
7150 2003-04-01 Angus Leeming <leeming@lyx.org>
7152 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7155 2003-04-02 John Levon <levon@movementarian.org>
7161 * text_funcs.C: make transposeChars a free function
7163 * lyxrow_funcs.C: remove wrong comment
7165 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * rowpainter.C: adjust
7173 * lyxrow_funcs. [Ch]: new files
7175 * lyxrow.[Ch]: remove next and previous pointers
7176 (next,previous): remove accessor functions
7177 (isParEnd): move to lyxrow_funcs
7178 (lastPos): move to lyxrow_funcs
7179 (nextRowIsAllInset): move to lyxrow_funcs
7180 (lastPrintablePos): move to lyxrow_funcs
7181 (numberOfSeparators): move to lyxrow_funcs
7182 (numberOfHfills): move to lyxrow_funcs
7183 (numberOfLabelHfills): move to lyxrow_funcs
7184 (hfillExpansion): move to lyxrow_funcs
7188 * bufferview_funcs.C (toggleAndShow): adjust
7190 * RowList.h: Remove class RowList from file leave just a
7193 * RowList.C: delete file
7195 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7198 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * text3.C (cursorPrevious): adjust
7201 (cursorNext): adjust
7204 * text2.C (redoHeightOfParagraph): adjust
7205 (redoDrawingOfParagraph): adjust
7208 * text.C (breakParagraph): adjust
7209 (insertChar): adjust
7212 * rowpainter.C (RowPainter): adjust
7213 (leftMargin): simplify and adjust
7214 (most rowpainter functions): adjust.
7216 * rowpainter.h: store the row as RowList::iterator not as Row*
7218 * lyxcursor.C (row): taka RowList::iterator as arg
7221 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7224 2003-04-01 Angus Leeming <leeming@lyx.org>
7226 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7227 stuff like bool Bool.
7229 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7231 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7234 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7239 * lyxtext.h (rows): drop one version and leve a const variant that
7240 returns a RowList::iterator.
7242 2003-03-31 Angus Leeming <leeming@lyx.org>
7244 * text.C (fill): ensure that the signature is the same as that in the
7247 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * text2.C (redoParagraphs): adjust
7250 (updateCounters): adjust
7251 (checkParagraph): adjust
7252 (getColumnNearX): adjust and reformat a bit.
7254 * text.C (top_y): adjust
7256 (leftMargin): adjust
7257 (prepareToPrint): adjust
7259 (getRowNearY): adjust
7261 * lyxtext.h: make rowlist_ mutable.
7263 * RowList.h: add const_iterator
7264 * RowList.C: adjust for RowList::const_iterator.
7266 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7269 2003-03-31 John Levon <levon@movementarian.org>
7272 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7274 * lyx_main.C: set default fonts from using lyx_gui funcs
7276 * exporter.C: pdf_mode moved from lyxrc
7279 * lyxfunc.C: changes from above
7281 2003-03-31 John Levon <levon@movementarian.org>
7283 * lyx_main.C: fix to the last fix
7285 2003-03-31 John Levon <levon@movementarian.org>
7287 * bufferlist.C: "Load original" -> "Load Original"
7293 * format.C: more Alert cleanups
7295 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7297 * text2.C (removeParagraph): make it take a RowList::iterator as
7299 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7300 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7302 * text.C (anchor_row): make it take a RowList::iterator as arg,
7304 (computeBidiTables): make it take a const reference to Row instead
7305 of Row pointer, adjust.
7306 (leftMargin): make it take a RowList::iterator as arg, adjust.
7307 (rowBreakPoint): adjust
7308 (breakAgainOneRow): make it take a RowList::iterator as arg,
7310 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7312 * bufferview_funcs.C (toggleAndShow): adjust
7314 2003-03-30 John Levon <levon@movementarian.org>
7318 * boost-inst.C: moved to support
7320 * several files: changes as a result
7322 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * text2.C (LyXText): adjust.
7326 (removeRow): make it take a RowList::iterator as arg, adjust.
7327 (fullRebreak): adjust
7328 (deleteEmptyParagraphMechanism): adjust
7329 (clearPaint): adjust
7332 * text.C (top_y): adjust
7333 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7334 (breakAgain): make it take a RowList::iterator as arg, adjust.
7335 (breakParagraph): adjust
7336 (insertChar): adjust
7339 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7340 need_break_row, and refresh_row.
7342 * text3.C (dispatch): adjust
7344 * text2.C (checkParagraph): adjust
7346 (setCursorFromCoordinates): adjust
7348 * text.C (top_y): adjust
7350 (getRow): make it return a RowList::iterator, adjust
7351 (getRowNearY): make it return a RowList::iterator, adjust
7353 * text2.C (init): adjust
7354 (insertRow): remove function
7355 (insertParagraph): adjust
7356 (redoParagraphs): adjust
7357 (fullRebreak): adjust
7358 (updateCounters): adjust
7360 * text.C (top_y): rewrite to use RowList iterators.
7362 (setHeightOfRow): rewrite to sue RowList iterators.
7363 (appendParagraph): adjust
7364 (breakAgain): adjust
7365 (breakAgainOneRow): adjust
7366 (breakParagraph): adjust
7368 (getRowNearY): adjust, and remove commented code.
7370 * lyxtext.h (firstRow): delete function
7371 (lastRow): delete function
7372 (rows): new function (const and non-const versions.)
7373 (insertRow): delete function
7375 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7377 2003-03-29 John Levon <levon@movementarian.org>
7379 * BufferView_pimpl.C: always update scrollbar top
7380 because pasting text when we're anchored could mean we
7381 miss an update altogether
7383 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7385 * text2.C (init): use rowlist_.end() and not 0.
7386 (insertRow): change to take a RowList::iterator as arg, adjust
7388 (insertParagraph): change to take a RowList::iterator as arg,
7390 (redoParagraphs): remove some debug msgs.
7392 * text.C (appendParagraph): change to take a RowList::iterator
7393 arg, adjust for this.
7394 (breakAgain): add an assert
7395 (breakAgainOneRow): ditto
7397 2003-03-29 John Levon <levon@movementarian.org>
7399 * text2.C: do not clear selection after inc/decDepth
7402 2003-03-29 John Levon <levon@movementarian.org>
7405 * buffer.C: fix broken strerrors according to Lars
7407 2003-03-29 John Levon <levon@movementarian.org>
7409 * converters.C: more Alert cleanups
7411 2003-03-29 John Levon <levon@movementarian.org>
7413 * bufferview_funcs.C: remove pointless Alert
7415 * buffer.C: fix confusing error message when
7416 a template is chmoded 000
7418 2003-03-29 John Levon <levon@movementarian.org>
7422 * BufferView_pimpl.C: Alert fixes
7426 * tabular-old.C: remove unused table compat reading
7428 2003-03-29 John Levon <levon@movementarian.org>
7433 * lyx_cb.C: more Alert cleanups
7435 * lyxfunc.C: don't allow chktex if not latex document
7437 2003-03-29 John Levon <levon@movementarian.org>
7441 * buffer.C: warnings pushed down from support/,
7444 2003-03-29 John Levon <levon@movementarian.org>
7446 * lyxfunc.C: safety check for C-r (revert)
7448 2003-03-29 John Levon <levon@movementarian.org>
7451 * bufferlist.C: several UI fixes using Alert::prompt.
7452 Fix the pointless looping quit code. Fix stupid revert
7457 * lyx_cb.C: use Alert::prompt
7459 * lyx_main.C: remove a silly question
7461 * lyxfunc.C: remove a couple of silly questions,
7464 2003-03-28 John Levon <levon@movementarian.org>
7466 * text2.C: fix bug 974 (End on empty par)
7468 2003-03-28 John Levon <levon@movementarian.org>
7470 * BufferView_pimpl.C:
7472 * lfuns.h: remove do-nothing math greek lfuns
7474 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7476 * lyxgluelength.h (isValidGlueLength): add default arg on
7477 parameter 2. Remove default arg from friend in class.
7479 * lyxlength.h (isValidLength): add default arg on parameter 2.
7480 Remove default arg from friend in class.
7482 * text2.C (LyXText): adjust, initialize refresh_row.
7486 (insertParagraph): adjst
7487 (redoParagraphs): adjust
7488 (fullRebreak): adjust
7489 (updateCounters): adjust
7490 (deleteEmptyParagraphMechanism): first attempt at fixing a
7493 * text.C (top_y): adjust
7494 (setHeightOfRow): adjust
7496 (getRowNearY): adjust
7498 * lyxtext.h: include RowList.h
7499 (~LyXText): not needed anymore, deleted.
7500 (firstRow): modify for RowList
7501 (lastRow): new function
7502 Delete firstrow and lastrow class variables, add a Rowlist
7503 rowlist_ class variable.
7505 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7508 * RowList.C (insert): fix case where it == begin().
7510 2003-03-26 Angus Leeming <leeming@lyx.org>
7512 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7513 the thesaurus dialog.
7515 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7519 * RowList.[Ch]: new files
7521 * ParagraphList.C (erase): handle the case where it == begin
7524 2003-03-25 John Levon <levon@movementarian.org>
7528 * aspell.C: add new aspell support
7531 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7534 2003-03-25 Angus Leeming <leeming@lyx.org>
7537 * LyXAction.C (init): new LFUN_INSET_INSERT.
7539 * BufferView_pimpl.C (dispatch): split out part of the
7540 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7542 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7545 2003-03-25 Angus Leeming <leeming@lyx.org>
7547 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7549 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7552 * text3.C: remove useless row->height(0)
7554 2003-03-25 John Levon <levon@movementarian.org>
7558 * text3.C: rename the refreshing stuff to better names
7560 2003-03-24 John Levon <levon@movementarian.org>
7562 * BufferView_pimpl.h:
7563 * BufferView_pimpl.C: update layout choice on a mouse
7566 2003-03-23 John Levon <levon@movementarian.org>
7568 * Makefile.am: fix commandtags.h reference
7570 2003-03-22 John Levon <levon@movementarian.org>
7572 * BufferView_pimpl.C:
7577 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7579 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7582 * text.C: take the rtl methods out of line
7584 2003-03-21 André Pönitz <poenitz@gmx.net>
7586 * metricsinfo.[Ch]: new files containing structures to be passed around
7587 during the two-phase-drawing...
7589 2003-03-21 André Pönitz <poenitz@gmx.net>
7591 * lyxtextclass.C: read 'environment' tag.
7593 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7595 * text2.C (removeRow): fix bug 964
7597 2003-03-20 John Levon <levon@movementarian.org>
7601 * text2.C: paint cleanups. Inset::update() dropped font
7604 2003-03-19 John Levon <levon@movementarian.org>
7606 * lyxfunc.C: only fitcursor/markDirty if available()
7608 2003-03-19 John Levon <levon@movementarian.org>
7610 * commandtags.h: rename to ...
7612 * lfuns.h: ... this, and renumber / cleanup
7614 2003-03-19 John Levon <levon@movementarian.org>
7616 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7617 fit the cursor after an lfun
7621 * BufferView_pimpl.h:
7622 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7624 * LyXAction.C: layout-character should have ReadOnly
7626 * ParagraphParameters.C:
7628 * bufferview_funcs.C:
7635 * undo_funcs.C: changes from above
7637 2003-03-18 John Levon <levon@movementarian.org>
7639 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7640 remove it from update()
7642 * lyxfunc.C: update layout choice after an lfun
7644 * text3.C: remove extra updateLayoutChoice()s
7646 2003-03-18 John Levon <levon@movementarian.org>
7648 * text.C: top_y change means full repaint, fix
7649 a drawing bug with cursor movement
7651 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7655 * text2.C: anchor row on setCursor
7657 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7659 * lyxtext.h: remove almost all mutable keywords
7662 * text3.C: remove const keywords accordingly
7664 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7666 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7668 (TeXEnvironment): ditto
7671 2003-03-17 John Levon <levon@movementarian.org>
7673 * text.C (rowBreakPoint): remove attempt to fix displayed
7674 math insets inside a manual label
7676 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * lyxtext.h: remove BufferView* as first arg from almost all class
7680 * other files: adjust.
7682 2003-03-17 John Levon <levon@movementarian.org>
7686 * text2.C: more paint cleanups
7688 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7691 * rowpainter.C: remove "smart" background painting code
7693 2003-03-16 John Levon <levon@movementarian.org>
7698 * text3.C: add helper functions for setting refresh_row/y
7700 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7702 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7703 newline inset which *can* get inserted in the pass_thru layouts.
7704 This is primarily for literate documents.
7706 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7708 * buffer.C: increment LYX_FORMAT to 223
7710 2003-03-14 André Pönitz <poenitz@gmx.net>
7712 * textclass.h: prepare for environment handling, ws changes
7713 * lyxlayout.C: read latexheader and latexfooter tags
7715 2003-03-14 John Levon <levon@movementarian.org>
7717 * text2.C: rewrite ::status() a bit
7719 2003-03-13 John Levon <levon@movementarian.org>
7721 * lyxtext.h: add some docs
7723 2003-03-13 John Levon <levon@movementarian.org>
7728 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7730 2003-03-13 John Levon <levon@movementarian.org>
7732 * text3.C: fix appendix redrawing
7734 2003-03-13 John Levon <levon@movementarian.org>
7736 * text.C (setHeightOfRow):
7738 * rowpainter.C: make appendix mark have the text
7739 "Appendix" so the user knows what it is
7742 * LColor.C: s/appendixline/appendix/ from above
7744 2003-03-13 John Levon <levon@movementarian.org>
7746 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7748 * text.C: fix a getChar(pos) bug properly
7750 2003-03-13 Angus Leeming <leeming@lyx.org>
7753 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7754 Probably only temporary. Let's see how things pan out.
7756 * BufferView.C (unlockInset):
7757 * BufferView_pimpl.C (fitCursor):
7758 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7760 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7761 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7763 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7764 new functions that convert ParagraphParameters to and from a string.
7766 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7767 BufferView::Pimpl's dispatch.
7768 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7770 2003-03-13 André Pönitz <poenitz@gmx.net>
7774 * factory.C: make it aware of InsetEnv
7776 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * text2.C (setCursor): never ask for one past last
7779 (setCursor): add some debugging messages.
7781 * text.C (singleWidth): never ask for one past last
7782 (singleWidth): ditto
7784 (rightMargin): ditto
7785 (rowBreakPoint): ditto
7786 (setHeightOfRow): ditto
7787 (prepareToPrint): ditto
7789 * rowpainter.C (paintBackground): never ask for one past last
7790 (paintText): never ask for one past last
7792 * paragraph_pimpl.C (getChar): make the assert stricter, never
7793 allow the one past last pos to be taken
7795 * paragraph.C (getChar): ws changes only
7797 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7798 (numberOfSeparators): ditto
7799 (numberOfHfills): ditto
7801 2003-03-12 John Levon <levon@movementarian.org>
7807 * paragraph_funcs.C: fix per-buffer authorlists
7809 2003-03-12 John Levon <levon@movementarian.org>
7811 * text.C: fix newline in right address
7813 2003-03-12 Angus Leeming <leeming@lyx.org>
7815 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7816 duplicate those in LyXFunc::dispatch.
7820 * ToolbarDefaults.C:
7821 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7822 Add LFUN_FONTFREE_UPDATE.
7824 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7825 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7827 * bufferview_func.[Ch]: several new functions to facilliate
7828 transfer of data to and from the character dialog.
7830 2003-03-12 John Levon <levon@movementarian.org>
7835 * paragraph_funcs.C:
7836 * paragraph_pimpl.C:
7840 * text3.C: remove META_NEWLINE in favour of an inset
7843 * rowpainter.C: remove paintNewline (done by inset)
7845 2003-03-12 John Levon <levon@movementarian.org>
7847 * paragraph_pimpl.C: complain about bad getChar()s
7848 for a while at least
7850 2003-03-12 John Levon <levon@movementarian.org>
7853 * buffer.C: move paragraph read into a separate function,
7854 a little renaming to reflect that.
7857 * bufferparams.C: remove the author_ids map, not necessary now
7860 * factory.C: moved Buffer::readInset to here
7862 * paragraph_funcs.h:
7863 * paragraph_funcs.C: readParagraph free function moved from
7866 * tabular.C: name change
7868 2003-03-12 John Levon <levon@movementarian.org>
7871 * ParagraphParameters.C: move par params input to
7874 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7875 behave like a normal read from the stream wrt reading
7876 a line vs. a \\token
7878 2003-03-12 John Levon <levon@movementarian.org>
7881 * ParagraphParameters.h:
7882 * ParagraphParameters.C: move output code to a
7885 2003-03-12 John Levon <levon@movementarian.org>
7887 * BufferView.C (insertLyXFile):
7890 * tabular.C: use a parlist iterator for creating the
7893 2003-03-12 John Levon <levon@movementarian.org>
7895 * buffer.C: make current_change static local not
7898 2003-03-12 John Levon <levon@movementarian.org>
7900 * buffer.C: fix insertStringAsLines for change tracking
7902 2003-03-12 John Levon <levon@movementarian.org>
7909 * bufferparams.C: move author list into params. Rename some
7910 functions. Move the header reading into a separate token
7911 loop. Move the header token reading into BufferParams.
7913 2003-03-12 John Levon <levon@movementarian.org>
7915 * changes.C: put debug inside lyxerr.debugging() checks
7917 2003-03-11 André Pönitz <poenitz@gmx.net>
7919 * factory.C: make it aware of InsetHFill
7921 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7923 * buffer.C (latexParagraphs): move function from here...
7924 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7927 2003-03-10 Angus Leeming <leeming@lyx.org>
7929 * LyXAction.C (init): fix bug in poplating array with multiple entries
7930 with the same LFUN (spotted by JMarc).
7932 2003-03-10 John Levon <levon@movementarian.org>
7935 * text2.C: move getColumnNearX() near its
7938 2003-03-10 John Levon <levon@movementarian.org>
7940 * text.C: fix break before a minipage
7942 2003-03-10 John Levon <levon@movementarian.org>
7944 * text.C: fix the last commit
7946 2003-03-09 John Levon <levon@movementarian.org>
7950 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7951 bug 365 (don't break before insets unless needed). Don't
7952 return a value > last under any circumstances.
7954 2003-03-09 Angus Leeming <leeming@lyx.org>
7956 * BufferView_pimpl.C (trackChanges, dispatch): call
7957 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7959 2003-03-09 Angus Leeming <leeming@lyx.org>
7961 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7962 than Dialogs::showAboutlyx().
7964 2003-03-09 Angus Leeming <leeming@lyx.org>
7966 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7967 than Dialogs::showTabularCreate().
7969 2003-03-09 John Levon <levon@movementarian.org>
7973 * text2.C: 3rd arg to nextBreakPoint was always the same.
7976 2003-03-08 John Levon <levon@movementarian.org>
7983 * text2.C: Remove the "main" bit from the "main body"
7986 2003-03-08 John Levon <levon@movementarian.org>
7988 * text.C (leftMargin): The left margin of an empty
7989 manual label paragraph should not include the label width
7992 * text.C (prepareToPrint): don't attempt to measure hfills
7993 for empty manual label paragraphs - the answer should be 0
7995 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7997 * CutAndPaste.C: remove commented code and reindent.
7999 2003-03-08 John Levon <levon@movementarian.org>
8002 * lyxfunc.C: move reloadBuffer()
8005 * BufferView.C: to here
8007 * lyxvc.C: add comment
8010 * vc-backend.C: call bv->reload() to avoid
8011 getStatus() check on MENURELOAD
8013 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8015 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8016 to an old format .dep file.
8018 2003-03-07 Angus Leeming <leeming@lyx.org>
8020 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8021 when the LFUN_MOUSE_RELEASE should have been handled by
8022 inset->localDispatch.
8024 2003-03-07 Angus Leeming <leeming@lyx.org>
8026 * BufferView_pimpl.C (dispatch):
8027 * LyXAction.C (init):
8028 * ToolbarDefaults.C (init):
8030 * lyxfunc.C (getStatus):
8031 remove LFUN_INSET_GRAPHICS.
8033 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8035 2003-03-07 Angus Leeming <leeming@lyx.org>
8038 * LyXAction.C (init):
8039 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8041 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8044 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8046 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8047 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8049 2003-03-07 Angus Leeming <leeming@lyx.org>
8051 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8054 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * ParagraphList.C (front): new function
8059 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8061 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8062 and top_row_offset_. removed var first_y.
8064 * text2.C (LyXText, removeRow):
8066 * BufferView_pimpl.C:
8067 use these methods instead of using first_y
8069 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8071 * text2.C (pasteSelection): adjust for checkPastePossible
8073 * CutAndPaste.C: remove Paragraph * buf and replace with
8074 ParagraphList paragraphs.
8075 (DeleteBuffer): delete
8076 (cutSelection): change the tc type to textclass_type
8077 (copySelection): change the tc type to textclass_type
8078 (copySelection): adjust for ParagraphList
8079 (pasteSelection): change the tc type to textclass_type
8080 (pasteSelection): adjust for Paragraphlist
8081 (nrOfParagraphs): simplify for ParagraphList
8082 (checkPastePossible): simplify for ParagraphList
8083 (checkPastePossible): remove unused arg
8085 * ParagraphList.C (insert): handle the case where there are no
8088 * CutAndPaste.h: make CutAndPaste a namespace.
8090 * text3.C (dispatch): adjust
8092 * text.C (breakParagraph): add a ParagraphList as arg
8094 * paragraph_funcs.C (breakParagraph): change to take a
8095 BufferParams and a ParagraphList as args.
8096 (breakParagraphConservative): ditto
8097 (mergeParagraph): ditto
8098 (TeXDeeper): add a ParagraphList arg
8099 (TeXEnvironment): ditto
8102 * buffer.C (readLyXformat2): adjust
8103 (insertStringAsLines): adjust
8104 (latexParagraphs): adjust
8106 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8107 (cutSelection): adjust
8108 (pasteSelection): adjust
8110 * BufferView_pimpl.C (insertInset): adjust
8112 2003-03-05 Angus Leeming <leeming@lyx.org>
8115 * LyXAction.C (init):
8116 * BufferView_pimpl.C (dispatch):
8117 * lyxfunc.C (getStatus):
8118 remove LFUN_CHILD_INSERT.
8120 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8122 2003-03-05 Angus Leeming <leeming@lyx.org>
8125 * LyXAction.C (init):
8126 * src/factory.C (createInset):
8127 * lyxfunc.C (getStatus):
8128 * text3.C (dispatch):
8129 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8131 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8133 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8135 * ParagraphList.C (insert): handle insert right before end()
8136 (erase): fix cases where it can be first or last paragraph.
8138 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8141 Paragraph::next and Paragraph::previous
8144 * text.C (breakParagraph): adjust
8146 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8147 BufferParams& as arg.
8148 (breakParagraph): use ParagraphList::insert
8149 (breakParagraphConservative): take a Buffer* instead of a
8150 BufferParams& as arg.
8151 (breakParagraphConservative): use ParagraphList::insert.
8153 * buffer.C (insertStringAsLines): un-const it
8154 (insertStringAsLines): adjust
8156 * ParagraphList.C (insert): new function
8158 * CutAndPaste.C (pasteSelection): adjust
8160 * text.C (backspace): adjust
8162 * tabular.C (SetMultiColumn): adjust
8164 * CutAndPaste.C (cutSelection): adjust
8165 (pasteSelection): adjust
8167 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8168 Buffer const * as arg
8170 * ParagraphList.C (erase): new function
8171 * paragraph_funcs.C (mergeParagraph): use it
8172 (mergeParagraph): make it take a Buffer* instead of a
8173 BufferParams* as arg
8175 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8177 (breakParagraphConservative): ditto
8179 * paragraph.h: remove the breakParagraph friend
8181 * paragraph.C (eraseIntern): new function
8182 (setChange): new function
8184 * paragraph_funcs.C (mergeParagraph): make it take a
8185 ParagraphList::iterator instead of a Paragraph *, adjust
8188 * paragraph.h: move an #endif so that the change tracking stuff
8189 also works in the NO_NEXT case.
8191 2003-03-04 Angus Leeming <leeming@lyx.org>
8194 * LyXAction.C: new LFUN_INSET_MODIFY.
8196 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8197 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8199 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * several files: ws changes only
8203 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8204 (TeXEnvironment): ditto
8207 * buffer.C (makeLaTeXFile): adjust
8208 (latexParagraphs): make it take ParagraphList::iterator as args
8210 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8212 * buffer.C (latexParagraphs): adjust
8214 * paragraph.C (TeXOnePar): move function...
8215 (optArgInset): move function...
8216 (TeXEnvironment): move function...
8217 * paragraph_pimpl.C (TeXDeeper): move function...
8218 * paragraph_funcs.C: ...here
8220 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8222 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8224 * buffer.C (readInset): remove compability code for old Figure and
8227 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * buffer.C: ws changes
8232 * BufferView_pimpl.C: ditto
8235 * bufferlist.h: ditto
8239 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8241 * converter.[Ch]: split into itself +
8244 * Makefile.am: += graph.[Ch] + format.[Ch]
8251 * lyxrc.C: added #include "format.h"
8253 2003-02-27 Angus Leeming <leeming@lyx.org>
8255 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8258 * factory.C (createInset): add "label" to the factory.
8260 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8261 string and do no more.
8263 2003-02-27 Angus Leeming <leeming@lyx.org>
8266 * LyXAction.C (init):
8267 * factory.C (createInset):
8268 * BufferView_pimpl.C (dispatch):
8269 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8271 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8273 * lyxfunc.C (dispatch):
8274 * text3.C (dispatch): pass name to params2string.
8276 2003-02-26 Angus Leeming <leeming@lyx.org>
8278 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8280 Rearrange the ~includes. Strip out the unnecessary ones.
8282 * factory.C (createInset): reformat.
8283 create new insets for the various LFUN_XYZ_APPLY lfuns.
8285 2003-02-26 John Levon <levon@movementarian.org>
8288 * lyxrow.C: add isParStart,isParEnd helpers
8290 * paragraph.h: make isInserted/DeletedText take refs
8292 * paragraph_funcs.h:
8293 * paragraph_funcs.C: remove #if 0'd code
8298 * text.C: use lyxrow helpers above.
8299 Move draw and paint routines to RowPainter.
8300 Make several methods use refs not pointers.
8301 Make backgroundColor() const.
8302 Add markChangeInDraw(), isInInset().
8303 Merge changeRegionCase into changeCase.
8304 Make workWidth() shouldn't-happen code into an Assert.
8307 * rowpainter.C: new class for painting a row.
8310 * vspace.C: make inPixels take a ref
8312 2003-02-26 Angus Leeming <leeming@lyx.org>
8314 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8317 2003-02-25 John Levon <levon@movementarian.org>
8319 * ispell.C: give the forked command a more accurate name
8321 2003-02-22 John Levon <levon@movementarian.org>
8324 * toc.C: make TocItem store an id not a Paragraph *
8327 2003-02-21 Angus Leeming <leeming@lyx.org>
8329 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8330 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8331 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8332 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8333 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8334 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8336 * BufferView_pimpl.C (dispatch):
8337 * LyXAction.C (init):
8338 * factory.C (createInset):
8339 * lyxfunc.C (getStatus, dispatch):
8340 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8342 2003-02-21 Angus Leeming <leeming@lyx.org>
8344 * BufferView_pimpl.C (MenuInsertLyXFile):
8345 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8346 * lyxfunc.C (menuNew, open, doImport):
8347 no longer pass a LyXView & to fileDlg.
8349 2003-02-21 Angus Leeming <leeming@lyx.org>
8351 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8352 * LyXAction.C: change, BIBKEY to BIBITEM.
8353 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8354 Change InsetBibKey to InsetBibitem.
8355 Change BIBKEY_CODE to BIBITEM_CODE.
8356 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8357 * factory.C: replace insetbib.h with insetbibitem.h.
8358 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8359 * paragraph.C: replace insetbib.h with insetbibitem.h.
8360 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8361 Change bibkey() to bibitem().
8362 * text.C: remove insetbib.h.
8363 * text2.C: replace insetbib.h with insetbibitem.h.
8364 change bibkey() to bibitem().
8365 * text3.C: remove insetbib.h.
8366 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8368 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * lyxrc.C (output): enclose user email in quotes (in case there are
8373 2003-02-18 John Levon <levon@movementarian.org>
8375 * buffer.h: add std::
8377 2003-02-17 John Levon <levon@movementarian.org>
8383 * pspell.C: reworking. Especially in ispell, a large
8384 number of clean ups and bug fixes.
8386 * lyxfunc.C: fix revert to behave sensibly
8388 2003-02-17 André Pönitz <poenitz@gmx.net>
8391 * commandtags.h: new LFUN_INSERT_BIBKEY
8401 * paragraph_func.C: remove special bibkey handling
8403 2003-02-17 John Levon <levon@movementarian.org>
8405 * text.C (Delete): fix case where delete at the end of
8406 the very first paragraph would not merge the pars
8408 2003-02-17 John Levon <levon@movementarian.org>
8410 * lyxrow.C: fix lastPrintablePos()
8412 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8414 * bufferparams.C (writeLaTeX): add a std:here
8416 * buffer.C: and remove a using directive there
8418 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * buffer.C (makeLaTeXFile): move the code that generates the
8423 * bufferparams.C (writeLaTeX): ... in this new method
8425 * LaTeXFeatures.C (getEncodingSet): make const
8426 (getLanguages): make const
8428 * MenuBackend.C (binding): returns the binding associated to this
8430 (add): sets the status of each item by calling getStatus. Adds
8432 (read): add support for OptSubMenu
8433 (expand): remove extra separator at the end of expanded menu
8435 2003-02-15 John Levon <levon@movementarian.org>
8438 * BufferView_pimpl.C:
8440 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8441 inset code that had no actual effect. Remove unneeded status
8444 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8446 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8449 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8451 * text.C (drawLengthMarker): also draw an arrow marker for
8452 symbolic lengths (medskip...)
8454 2003-02-14 John Levon <levon@movementarian.org>
8457 * tabular.C: better method names
8459 2003-02-14 John Levon <levon@movementarian.org>
8461 * BufferView_pimpl.C:
8466 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8467 it's a more accurate name. Remove some pointless uses.
8469 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8471 * text2.C (LyXText): change order of initilizers to shut off
8474 2003-02-14 John Levon <levon@movementarian.org>
8476 * buffer.C: use ParIterator for getParFromID()
8480 * paragraph_pimpl.h:
8481 * paragraph_pimpl.C: remove unused getParFromID()
8483 2003-02-14 John Levon <levon@movementarian.org>
8485 * buffer.C: remove some very old #if 0'd parse code
8487 2003-02-13 John Levon <levon@movementarian.org>
8491 * text2.C: move hfillExpansion(), numberOfSeparators(),
8492 rowLast(), rowLastPrintable(), numberofHfills(),
8493 numberOfLabelHfills() ...
8496 * lyxrow.C: ... to member functions here.
8501 * text.C: remove LyXText::beginningOfMainBody(), and call
8502 p->beginningOfMainBody() directly. Move the check for
8503 LABEL_MANUAL into the latter.
8510 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8516 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8517 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8519 2003-02-13 John Levon <levon@movementarian.org>
8521 * CutAndPaste.C: remove debug
8523 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8525 * paragraph.C (asString): remove two unused variables
8527 * lyxtextclass.C (readTitleType):
8529 (LyXTextClass): handle new members titletype_ and titlename_
8531 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8533 2003-02-09 John Levon <levon@movementarian.org>
8536 * buffer.C: replace hand-coded list with a map for the dep clean
8538 2003-02-08 John Levon <levon@movementarian.org>
8540 * LaTeX.C: consolidate code into showRunMessage() helper
8542 2003-02-08 John Levon <levon@movementarian.org>
8547 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8548 and pass the size in explicitly
8550 * BufferView_pimpl.h:
8551 * BufferView_pimpl.C:
8553 * BufferView.C: add getCurrentChange()
8555 * BufferView_pimpl.h:
8556 * BufferView_pimpl.C: handle change lfuns
8558 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8559 for changes. Mark pasted paragraphs as new.
8561 * support/lyxtime.h:
8562 * support/lyxtime.C:
8563 * DepTable.C: abstract time_t as lyx::time_type
8566 * LColor.C: add colours for new text, deleted text, changebars
8568 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8569 package use "usenames" option.
8573 * LyXAction.C: add change lfuns
8577 * author.C: author handling
8580 * buffer.C: add a per-buffer author list, with first entry as
8581 current author. Handle new .lyx tokens for change tracking. Output
8582 author list to .lyx file. Output dvipost stuff to .tex preamble.
8583 Bump lyx format to 222.
8586 * bufferlist.C: add setCurrentAuthor() to reset current author details
8590 * bufferparams.C: add param for tracking
8592 * bufferview_funcs.C: output change info in minibuffer
8596 * changes.C: add change-tracking structure
8599 * debug.C: add CHANGES debug flag
8602 * lyxfind.C: add code for finding the next change piece
8605 * lyxrc.C: add user_name and user_email
8608 * lyxrow.C: add a metric for the top of the text line
8611 * text.C: implement accept/rejectChange()
8614 * text.C: paint changebars. Paint new/deleted text in the chosen
8615 colours. Strike through deleted text.
8619 * paragraph_pimpl.h:
8620 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8621 in the current change to the insert functions. Rework erase to
8622 mark text as deleted, adding an eraseIntern() and a range-based
8623 erase(). Implement per-paragraph change lookup and
8626 * paragraph_funcs.C: Fixup paste for change tracking.
8628 * tabular.C: mark added row/columns as new.
8630 * text.C: fix rowLast() to never return -1. Don't allow
8631 spellchecking of deleted text. Track transpose changes. Don't
8632 allow paragraph break or merge where appropriate.
8634 * text2.C: leave cursor at end of selection after a cut.
8636 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * text.C (getLengthMarkerHeight):
8639 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8640 visible on screen too.
8642 2003-02-07 John Levon <levon@movementarian.org>
8644 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8646 2003-02-05 Angus Leeming <leeming@lyx.org>
8648 * lyxserver.C (read_ready): revert my patch of 11 September last year
8649 as it sends PC cpu through the roof. Presumably this means that
8650 the lyxserver will no longer run on an Alpha...
8652 2003-01-30 Angus Leeming <leeming@lyx.org>
8654 * factory.C (createInset): create an InsetCommandParam of type "index"
8655 and use it to 'do the right thing'.
8657 * text2.C (getStringToIndex): ensure that cursor position is always
8658 reset to the reset_cursor position.
8660 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8662 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8665 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8669 * lyxfunc.C: Output messages with identical spelling, punctuation,
8672 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8674 * MenuBackend.C (expandFormats): List only viewable export formats
8677 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8680 * lyxfunc.C (getStatus): Make sure that formats other than
8681 "fax" can also be disabled
8683 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8685 * text3.C (dispatch): put the lfuns that insert insets in 3
8686 groups, and call doInsertInset with appropriate arguments.
8687 (doInsertInset): new function, that creates an inset and inserts
8688 it according to some boolean parameters.
8690 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8692 * buffer.C (readFile): remember to pass on 'par' when calling
8693 readFile recursively.
8695 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8697 * MenuBackend.C (expandFormats): add "..." to import formats.
8699 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8701 * paragraph.C (asString): Remove XForms RTL hacks.
8703 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8704 * buffer.C: fix typo
8706 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8708 * Makefile.am (LIBS): delete var
8709 (lyx_LDADD): add @LIBS@ here instead.
8711 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8713 * Clarify the meaning of "wheel mouse jump"
8715 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8717 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8720 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * importer.C (Loaders): do not preallocate 3 elements in the
8723 vector, since one ends up with 6 elements otherwise
8725 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8727 * DepTable.C (write): write the file name as last element of the
8728 .dep file (because it may contain spaces)
8729 (read): read info in the right order
8731 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8733 * paragraph_pimpl.C (simpleTeXBlanks):
8734 (simpleTeXSpecialChars):
8735 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8737 * tabular.C (latex): add some missing case statements. Reindent.
8739 * MenuBackend.C (expandToc): remove unused variable.
8741 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8750 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8753 2003-01-05 John Levon <levon@movementarian.org>
8756 * BufferView.C: add getEncoding()
8759 * kbsequence.C: do not store last keypress
8762 * lyxfunc.C: store last keypress here instead. Pass encoding
8765 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8767 * lyx_main.C (init): remove annoying error message when following
8768 symbolic links (bug #780)
8770 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * text.C (insertChar):
8773 * lyxrc.C (getDescription): remove extra spaces
8775 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8777 * lyxrc.C (getDescription): remove extra spaces
8779 2002-12-20 John Levon <levon@movementarian.org>
8781 * text3.C: hack fix for page up/down across tall rows
8783 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8785 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8788 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8791 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8792 thesaurus is not compiled in
8794 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8796 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8798 2002-12-16 Angus Leeming <leeming@lyx.org>
8801 * lyx_main.C (init): remove override_x_deadkeys stuff.
8803 2002-12-12 John Levon <levon@movementarian.org>
8805 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8806 insert. Only remove shift modifier under strict
8809 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8811 * MenuBackend.C (expandToc): fix crash.
8813 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8815 * MenuBackend.C (expandToc): gettext on float names.
8817 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8819 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8820 implement bool empty() [bug 490]
8822 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8824 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8826 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8828 * several files: ws changes
8830 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * text2.C (setCounter): clean up a bit, use boost.format.
8833 (updateCounters): initialize par upon declaration.
8835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8836 if the layout exists. We do not just store the layout any more.
8837 (SwitchLayoutsBetweenClasses): use boost.format
8839 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * converter.C (convert): if from and to files are the same, use a
8842 temporary files as intermediary
8844 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8849 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8851 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8853 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8855 * tabular.C (asciiPrintCell): use string(size, char) instead of
8858 * sgml.C (openTag): fix order of arguments to string constructor
8861 * lyxfunc.C (dispatch): use boost.format
8863 * lots of files: change "c" -> 'c'
8865 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8867 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8869 2002-11-25 Angus Leeming <leeming@lyx.org>
8871 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8873 * lyx_main.C (init): compile fix.
8875 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8877 * lyx_cb.C (start): boost.formatify
8878 do not include <iostream>
8880 * lengthcommon.C: ws only
8882 * boost-inst.C,BoostFormat.h: add more explict instantations
8884 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8886 * lots of files: handle USE_BOOST_FORMAT
8888 2002-11-21 John Levon <levon@movementarian.org>
8890 * pspell.C: fix compile
8892 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * lyxfunc.C (dispatch): use boost::format
8898 * lyxfont.C (stateText): use boost::format
8900 * lyx_main.C (LyX): use boost::format
8902 (queryUserLyXDir): ditto
8905 (typedef boost::function): use the recommened syntax.
8907 * importer.C (Import): use boost::format
8909 * debug.C (showLevel): use boost::format
8911 * converter.C (view): use boost::format
8916 * bufferview_funcs.C (currentState): use boost::format
8918 * bufferlist.C (emergencyWrite): use boost::format
8920 * buffer.C (readLyXformat2): use boost::format
8921 (parseSingleLyXformat2Token): ditto
8923 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8925 * LaTeX.C (run): use boost::format
8927 * Chktex.C (scanLogFile): use boost::format
8929 * BufferView_pimpl.C (savePosition): use boost::format
8930 (restorePosition): ditto
8931 (MenuInsertLyXFile): ditto
8933 * BoostFormat.h: help file for explicit instation.
8935 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8937 * tabular.C (latex): Support for block alignment in fixed width
8940 2002-11-17 John Levon <levon@movementarian.org>
8942 * BufferView_pimpl.C:
8944 * lyxfunc.C: split filedialog into open/save
8946 2002-11-08 Juergen Vigna <jug@sad.it>
8948 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8949 by my last patch (hopefully).
8951 2002-11-08 John Levon <levon@movementarian.org>
8960 * toc.C: ParConstIterator, and use it (from Lars)
8962 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8964 * lyxtextclass.[Ch]: revise and add doxygen comments
8966 2002-11-07 John Levon <levon@movementarian.org>
8968 * text.C: fix progress value for spellchecker
8970 * toc.C: fix navigate menu for insetwrap inside minipage
8972 * paragraph_funcs.C: added FIXME for suspect code
8974 2002-11-07 John Levon <levon@movementarian.org>
8976 * BufferView_pimpl.C: fix redrawing of insets
8979 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8981 * text2.C (updateCounters): fix bug 668
8983 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8985 * text3.C (dispatch): Do not make the buffer dirty when moving the
8988 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * vc-backend.C: STRCONV
8993 * text2.C (setCounter): STRCONV
8995 * paragraph.C (asString): STRCONV
8997 * lyxlength.C (asString): STRCONV
8998 (asLatexString): ditto
9000 * lyxgluelength.C (asString): STRCONV
9001 (asLatexString): ditto
9003 * lyxfunc.C (dispatch): STRCONV
9006 * lyxfont.C (stateText): STRCONV
9008 * importer.C (Import): STRCONV
9010 * counters.C (labelItem): STRCONV
9011 (numberLabel): ditto
9012 (numberLabel): remove unused ostringstream o
9017 * bufferview_funcs.C (currentState): STRCONV
9019 * buffer.C (readFile): STRCONV
9020 (asciiParagraph): ditto
9021 (makeLaTeXFile): ditto
9023 * Spacing.C (writeEnvirBegin): STRCONV
9025 * LaTeXFeatures.C (getLanguages): STRCONV
9026 (getPackages): ditto
9028 (getBabelOptions): ditto
9029 (getTClassPreamble): ditto
9030 (getLyXSGMLEntities): ditto
9031 (getIncludedFiles): ditto
9035 (scanAuxFile): ditto
9038 * LString.h: add the STRCONV macros
9040 * BufferView_pimpl.C (savePosition): STRCONV
9041 (restorePosition): ditto
9042 (MenuInsertLyXFile): ditto
9044 * vc-backend.C (scanMaster): change from submatch[...] to
9047 * funcrequest.C: include config.h
9049 * factory.C: include config.h
9051 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9053 * box.C: include config.h
9055 * LaTeX.C (scanAuxFile): change from submatch[...] to
9059 2002-10-25 Angus Leeming <leeming@lyx.org>
9061 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9063 * ispell.[Ch] (setError): new method.
9064 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9065 Use setError() insetead of goto END.
9067 * lyx_cb.C (AutoSave): move out child process into new class
9070 2002-10-30 John Levon <levon@movementarian.org>
9072 * text3.C: make start appendix undoable
9074 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9076 * lyxlength.C (inPixels): Fix returned value.
9078 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9081 2002-10-24 Angus Leeming <leeming@lyx.org>
9083 * lyxgluelength.h: no need to forward declare BufferParams
9084 or BufferView, so don't.
9086 2002-10-21 John Levon <levon@movementarian.org>
9088 * BufferView.C: menuUndo ->undo, redo
9090 * BufferView.h: document, remove dead, make some methods private
9092 * paragraph_funcs.h:
9093 * paragraph_funcs.C:
9094 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9099 * sgml.C: move sgml open/close tag into sgml.C
9101 * bufferview_funcs.h: unused prototype
9104 * lyxfunc.C: remove unused
9107 * text.C: remove unused
9109 2002-10-21 John Levon <levon@movementarian.org>
9113 * BufferView_pimpl.h:
9114 * BufferView_pimpl.C: fix mouse wheel handling based on
9115 patch from Darren Freeman
9117 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9119 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9121 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9123 * lyxlength.C (inPixels): Fix hanfling of negative length.
9124 Fix LyXLength::MU case.
9126 2002-10-16 John Levon <levon@movementarian.org>
9128 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9130 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9132 * converter.C (view): add support for $$i (file name) and $$p
9133 (file path) for the viewer command. If $$i is not specified, then
9134 it is appended to the command (for compatibility with old syntax)
9136 2002-10-14 Juergen Vigna <jug@sad.it>
9138 * undo_funcs.C (textHandleUndo): alter the order in which the
9139 new undopar is added to the LyXText, as we have to set first
9140 the right prev/next and then add it as otherwise the rebuild of
9141 LyXText is not correct. Also reset the cursor to the right paragraph,
9142 with this IMO we could remove the hack in "redoParagraphs()".
9144 2002-10-09 Angus Leeming <leeming@lyx.org>
9146 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9147 to turn off an optimisation if a new inset is to be inserted.
9149 2002-10-11 André Pönitz <poenitz@gmx.net>
9151 * lyxtext.h: make some functions public to allow access
9152 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9154 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9156 * text3.C (dispatch): when changing layout, avoid an infinite loop
9159 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * lyxrc.C (read): treat a viewer or converter command of "none" as
9164 * MenuBackend.C (expandFormats): for an update, also allow the
9165 formats that are not viewable
9167 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9168 script if it is newer than the lyxrc.defaults in user directory
9170 2002-10-07 André Pönitz <poenitz@gmx.net>
9172 * text.C: Vitaly Lipatov's small i18n fix
9174 2002-09-25 Angus Leeming <leeming@lyx.org>
9176 * ispell.h: doxygen fix.
9178 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9180 * buffer.h (readFile): Add a new argument to the method, to allow
9181 reading of old-format templates.
9183 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9185 * toc.C (getTocList): Get TOC from InsetWrap.
9187 2002-09-16 John Levon <levon@movementarian.org>
9189 * lyxfunc.C: check tabular for cut/copy too
9191 2002-09-12 John Levon <levon@movementarian.org>
9196 * factory.C: add header
9198 * paragraph_funcs.h:
9199 * paragraph_funcs.C: cleanup
9201 2002-09-11 John Levon <levon@movementarian.org>
9203 * PrinterParams.h: odd/even default to true
9205 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9207 * PrinterParams.h: update printer parameters for new xforms dialog
9209 2002-09-11 Angus Leeming <leeming@lyx.org>
9211 * lyxserver.C (read_ready): re-write to make it more transparent
9212 and to make it work in coherent fashion under Tru64 Unix.
9214 2002-09-11 André Pönitz <poenitz@gmx.net>
9218 * text3.C: implement LFUN_WORDSEL
9220 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9222 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9223 make floatlist_ a boost::shared_ptr<FloatList>
9225 * lyxtextclass.C: include FloatList.h
9226 (LyXTextClass): initialize floatlist_
9227 (TextClassTags): add TC_NOFLOAT
9228 (Read): match "nofloat" to TC_NOFLOAT and use it.
9229 (readFloat): modify call to floatlist_
9233 * FloatList.[Ch] (FloatList): remove commented out float
9235 (erase): new function
9237 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9239 * MenuBackend.C (expandToc): fix crash when there is no document
9242 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9244 * many files: Add insetwrap.
9246 2002-09-09 John Levon <levon@movementarian.org>
9248 * text2.C: remove confusing and awkward depth wraparound
9250 2002-09-09 John Levon <levon@movementarian.org>
9252 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9255 * buffer.C: remove getIncludeonlyList()
9258 * lyxfunc.C: remove headers
9260 2002-09-09 Juergen Vigna <jug@sad.it>
9262 * text.C (getColumnNearX): fix form Michael this is most
9263 probably a cut&paste bug.
9265 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9267 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9269 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9270 references, ws changes.
9272 * text2.C (init): update counters after init
9273 (insertParagraph): no need to set counter on idividual paragraphs.
9274 (setCounter): access the counters object in the textclass object
9275 on in the buffer object.
9276 (updateCounters): ditto
9278 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9279 shared_ptr<Counters> to avoid loading counters.h in all
9281 (LyXTextClass): initialize ctrs_
9282 (TextClassTags): add TC_COUNTER, and ...
9283 (Read): use it here.
9284 (CounterTags): new tags
9285 (readCounter): new function
9286 (counters): new funtion
9287 (defaultLayoutName): return a const reference
9289 * counters.C (Counters): remove contructor
9290 (newCounter): remove a couple of unneeded statements.
9291 (newCounter): simplify a bit.
9292 (numberLabel): some small formatting changes.
9294 * buffer.[Ch]: remove all traces of counters, move the Counters
9295 object to the LyXTextClass.
9297 2002-09-06 Alain Castera <castera@in2p3.fr>
9299 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9300 package to set the horizontal alignment on fixed width columns.
9303 * lyx_sty.h: added tabularnewline macro def.
9305 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9307 2002-09-06 John Levon <levon@movementarian.org>
9309 * LyXAction.C: tooltips for sub/superscript
9311 * MenuBackend.C: a bit more verbose
9313 * lyxfunc.C: tiny clean
9315 * undo_funcs.C: document undo_frozen
9317 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9319 * counters.C (Counters): add missing algorithm counter.
9321 * text2.C (setCounter): lookup the counter with layouts latexname
9322 instead of by section number.
9323 (setCounter): use a hackish way to lookup the correct enum
9325 a float name->type change
9326 reset enum couners with counter name directly instead of depth value.
9328 * counters.C (Counters): remove the push_backs, change to use the
9329 float type not the float name.
9330 (labelItem): remove unused string, float name->type change
9332 * counters.h: don't include vector, loose the enums and sects vectors
9334 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9336 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9337 (Read): add float->TC_FLOAT to textclassTags
9338 (Read): and handle it in the switch
9339 (readFloat): new function
9341 * FloatList.C (FloatList): comment out the hardcoded float
9344 * lyxlayout.h: ws change.
9346 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9348 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9350 2002-09-03 Angus Leeming <leeming@lyx.org>
9352 * BufferView_pimpl.h: qualified name is not allowed in member
9353 declaration: WorkArea & Pimpl::workarea() const;
9355 * factory.C: added using std::endl directive.
9357 * text3.C: added using std::find and std::vector directives.
9359 2002-08-29 André Pönitz <poenitz@gmx.net>
9362 * text2.C: remove unused member number_of_rows
9365 * BufferView2.C: remove file, move contents to...
9366 * BufferView.C: ... here
9368 * BufferView_pimpl.C:
9369 * factory.C: move more inset creation to factory
9371 * vspace.C: avoid direct usage of LyXText, ws changes
9374 don't provide direct access to WorkArea, use two simple
9375 acessors haveSelction() and workHeight() instead
9378 2002-08-29 John Levon <levon@movementarian.org>
9380 * BufferView_pimpl.C (dispatch): do not continue when
9383 2002-08-28 André Pönitz <poenitz@gmx.net>
9385 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9388 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9390 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9392 * buffer.C: increment LYX_FORMAT to 221
9394 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9395 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9397 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9399 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9401 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * factory.C (createInset): use LyXTextClass::floats
9405 * MenuBackend.C (expandFloatListInsert):
9406 (expandFloatInsert):
9409 * text2.C (setCounter):
9411 * LaTeXFeatures.C (useFloat):
9412 (getFloatDefinitions):
9414 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9416 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9417 floatlist_, with accessor floats().
9419 * FloatList.h: remove global FloatList
9421 2002-08-26 André Pönitz <poenitz@gmx.net>
9423 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9427 * BufferView_pimpl.C:
9428 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9430 2002-08-25 John Levon <levon@movementarian.org>
9432 * LyXAction.C: fix margin note description
9434 2002-08-24 John Levon <levon@movementarian.org>
9438 * bufferview_funcs.C:
9440 * undo_funcs.C: cleanups
9442 * lyxfunc.C: disable CUT/COPY when no selection
9444 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9446 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9447 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9449 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9450 Add backward compatibility to "mono", "gray" and "no".
9452 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9454 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9455 (and file_format >= 200).
9457 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9459 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9461 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9463 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9465 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9467 * BufferView_pimpl.C:
9474 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9475 inset and code to make it work with the paragraph code. The inset
9476 can be anywhere in the paragraph, but will only do the expected
9477 thing in LaTeX if the layout file contains the parameter line
9479 (or more generally, a nonzero value) for that layout.
9481 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9483 * paragraph.h: remove the declaration of undefined counters class
9486 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9488 * text2.C (setCounter): fixed enumeration mis-count as reported by
9489 Dr. Richard Hawkins.
9491 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9493 * paragraph_funcs.h: remove some unneeded includes
9495 * text.C (backspace): pasteParagraph now in global scipe
9497 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9498 (pasteSelection): ditto
9500 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9501 * paragraph_funcs.C (pasteParagraph): ... here
9503 2002-08-20 André Pönitz <poenitz@gmx.net>
9505 * commandtags.h: new LFUNs for swapping/copying table row/colums
9508 * lyxfunc.C: support for new lfuns
9510 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9513 * buffer.[Ch]: remove NO_COMPABILITY stuff
9515 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9517 * boost.C (throw_exception): new file, with helper function for
9518 boost compiled without exceptions.
9523 * ParameterStruct.h:
9524 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9526 * bufferlist.C (emergencyWriteAll): use boost bind
9528 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9530 * text.C: include paragraph_funcs.h
9531 (breakParagraph): breakParagraph is now in global scope
9533 * paragraph_funcs.[Ch]: new files
9535 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9538 * buffer.C: include paragraph_funcs.h
9539 (insertStringAsLines): breakParagraph is now in global scope
9541 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9544 * CutAndPaste.C: include paragraph_funcs.h
9545 (cutSelection): breakParagraphConservative is now in global scope
9546 (pasteSelection): ditto
9548 * buffer.h: declare oprator== and operator!= for
9549 Buffer::inset_iterator
9551 * bufferlist.C (emergencyWrite): don't use fmt(...)
9553 * text3.C: add using std::endl
9555 * BufferView.C (moveCursorUpdate): remove default arg
9557 2002-08-20 André Pönitz <poenitz@gmx.net>
9559 * buffer.[Ch]: move inline functions to .C
9562 * BufferView_pimpl.C:
9564 * buffer.[Ch]: use improved inset_iterator
9567 * paragraph.[Ch]: write one paragraph at a time
9569 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9571 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9572 style if style is not specified.
9574 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9576 * text2.C (setCounter): when searching for right label for a
9577 caption, make sure to recurse to parent insets (so that a caption
9578 in a minipage in a figure float works) (bug #568)
9580 2002-08-20 André Pönitz <poenitz@gmx.net>
9582 * text3.C: new file for LyXText::dispatch() and helpers
9584 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9586 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9588 2002-08-19 André Pönitz <poenitz@gmx.net>
9591 * text.C: new LyXText::dispatch()
9593 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9595 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9597 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9599 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9602 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9604 * Makefile.am: use $(variables) instead of @substitutions@
9606 2002-08-15 André Pönitz <poenitz@gmx.net>
9609 * BufferView_pimpl.C: streamlining mathed <-> outer world
9613 * LyXAction.C: remove unused LFUN_MATH
9615 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9617 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9619 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9621 * paragraph.C (Paragraph): reformat a bit
9622 (cutIntoMinibuffer): use builtin InsetList function instad of
9626 * buffer.C: include boost/bind.hpp, add using std::for_each
9627 (writeFileAscii): use ParagraphList iterators
9628 (validate): use for_each for validate traversal of paragraphs
9629 (getBibkeyList): use ParagraphList iterators
9630 (resizeInsets): use for_each to resizeInsetsLyXText for all
9632 (getParFromID): use ParagraphList iterators
9634 * BufferView2.C (lockInset): use paragraph list and iterators
9636 2002-08-14 John Levon <levon@movementarian.org>
9638 * lyxserver.C: remove spurious xforms include
9640 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9642 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9644 2002-08-13 André Pönitz <poenitz@gmx.net>
9647 * lyxfunc.C: further cleaning
9649 2002-08-13 André Pönitz <poenitz@gmx.net>
9651 * funcrequest.h: new constructor
9653 * funcrequest.C: move stuff here from .h
9656 * BufferView_pimpl.C:
9659 * lyxfunc.C: subsequent changes
9661 * lyxfunc.h: new view() member function
9663 * lyxfunc.C: subsequent changes
9665 2002-08-13 Angus Leeming <leeming@lyx.org>
9668 * BufferView_pimpl.C:
9676 changes due to the changed LyXView interface that now returns references
9677 to member variables not pointers.
9679 2002-08-13 Angus Leeming <leeming@lyx.org>
9681 * WordLangTuple (word, lang_code): return references to strings,
9686 * lyxtext.h: forward-declare WordLangTuple.
9691 * text.C: #include "WordLangTuple.h".
9694 * text.C: (selectNextWordToSpellcheck): constify return type.
9696 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9702 * paragraph_pimpl.h:
9705 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9707 Made updateCounter always count from start of buffer, and removed
9708 second argument (par).
9709 Reverted floats number display to '#'. Perhaps I'll try again when the
9710 code base is sanitized a bit.
9712 2002-08-12 Angus Leeming <leeming@lyx.org>
9714 * buffer.[Ch] (getLabelList): constify.
9716 2002-08-07 André Pönitz <poenitz@gmx.net>
9718 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9720 * funcrequest.h: extension to keep mouse (x,y) position
9722 2002-08-12 Juergen Vigna <jug@sad.it>
9724 * BufferView2.C (insertErrors): forbid undo when inserting error
9727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9729 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9731 * ParagraphList.[Ch]: new files
9733 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9735 * BufferView2.C (lockInset): ParagraphList changes
9738 * bufferlist.C: ditto
9742 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9744 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9745 unused class variable counter_,
9747 * paragraph.[Ch] (getFirstCounter): delete unused function
9749 * counters.C: include LAssert.h
9750 (reset): add a new function with no arg, change other version to
9751 not have def. arg and to not allow empty arg.
9753 * text2.C (setCounter): remove empty arg from call to Counters::reset
9755 2002-08-11 John Levon <levon@movementarian.org>
9757 * Makefile.am: add WordLangTuple.h
9759 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9761 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9762 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9764 * insets/insettext.C: InsetList changes
9766 * graphics/GraphicsSupport.C (operator()): InsetList changes
9768 * toc.C (getTocList): InsetList changes
9770 * paragraph_pimpl.[Ch]: InsetList changes
9772 * paragraph.[Ch]: InsetList changes
9774 * buffer.C (inset_iterator): InsetList changes
9775 (setParagraph): ditto
9776 * buffer.h (inset_iterator): ditto
9777 * iterators.C (operator++): ditto
9778 * iterators.h: ditto
9780 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9782 * InsetList.[Ch]: new files, most InsetList handling moved out of
9785 * BufferView2.C (removeAutoInsets): InsetList changes
9787 (ChangeInsets): ditto
9789 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9791 * paragraph_pimpl.h (empty): new function
9793 * paragraph.[Ch] (empty): new function
9795 * other files: use the new Paragraph::empty function
9797 2002-08-09 John Levon <levon@movementarian.org>
9799 * lyxtext.h: remove unused refresh_height
9801 2002-08-09 John Levon <levon@movementarian.org>
9808 * paragraph.C: move sgml char escaping out of paragraph
9811 * paragraph.C: remove id setter
9815 * paragraph_pimpl.C: remove dead tex_code_break_column
9817 * bufferview_funcs.C: small cleanup
9819 * lyxfunc.C: remove dead proto
9821 * lyxtext.h: make some stuff private. Remove some dead stuff.
9823 * lyxgluelength.C: make as[LyX]String() readable
9825 2002-08-08 John Levon <levon@movementarian.org>
9830 * ToolbarDefaults.C:
9833 * toc.C: lyxaction cleanup
9835 2002-08-08 John Levon <levon@movementarian.org>
9837 * BufferView2.C: small cleanup
9840 * lyxfind.C: move unnecessary header into the .C
9842 2002-08-08 John Levon <levon@movementarian.org>
9844 * funcrequest.h: just tedious nonsense
9847 * lyx_main.C: cleanups
9850 * vspace.C: remove dead header lyx_main.h
9852 2002-08-07 Angus Leeming <leeming@lyx.org>
9855 * paragraph_pimpl.h:
9856 Forward declare class Counters in paragraph.h by moving the ctrs member
9857 variable into Paragraph::Pimpl.
9858 (counters): new method, returning a reference to pimpl_->ctrs.
9860 * text2.C: ensuing changes.
9862 2002-08-07 John Levon <levon@movementarian.org>
9864 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9866 * BufferView_pimpl.C: announce X selection on double/triple
9869 * lyx_main.C: use correct bool in batch dispatch
9871 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9873 2002-08-07 André Pönitz <poenitz@gmx.net>
9875 * funcrequest.h: new class to wrap a kb_action and its argument
9878 * BufferView_pimpl[Ch]:
9882 * lyxrc.C: subsequent changes
9885 2002-08-07 John Levon <levon@movementarian.org>
9887 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9888 document options change.
9890 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9895 * makefile.am: move counters functionality over from
9896 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9898 2002-08-06 John Levon <levon@movementarian.org>
9900 * WordLangTuple.h: new file for word + language code tuple
9911 * BufferView2.C: use WordLangTuple
9914 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9916 2002-08-06 John Levon <levon@movementarian.org>
9918 * lyx_main.C: fix cmdline batch handling
9920 2002-08-06 André Pönitz <poenitz@gmx.net>
9922 * lyxrc.C: set default for show_banner to true
9924 2002-08-06 John Levon <levon@movementarian.org>
9926 * pspell.C: fix a crash, and allow new aspell to work
9928 2002-08-06 John Levon <levon@movementarian.org>
9931 * kbmap.C: small cleanup
9934 * vspace.C: add const
9936 2002-08-05 John Levon <levon@movementarian.org>
9938 * LyXAction.C: back to tabular-insert
9940 2002-08-04 John Levon <levon@movementarian.org>
9943 * BufferView.C: cosmetic change
9945 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9955 * BufferView2.C: purge all "Lyx" not "LyX" strings
9958 * lyxcursor.C: attempt to add some documentation
9963 * ToolbarDefaults.C:
9964 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9965 merge with LFUN_TABULAR_INSERT
9972 * pspell.C: split up i/pspell implementations into separate
9973 files, many cleanups
9975 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9977 * text2.C: some cleanup
9979 * lyxfunc.C: don't check for isp_command == "none" any more, it
9980 didn't make any sense
9982 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9987 * makefile.am: move counters functionality over
9988 from text2.C/paragraph.[Ch] to counters.[Ch], and
9990 2002-08-02 John Levon <levon@movementarian.org>
9992 * buffer.C: s/lyxconvert/lyx2lyx/
9994 2002-08-02 Angus Leeming <leeming@lyx.org>
9996 * lyxlex.C: revert John's change as it breaks reading of the user
9999 2002-08-02 Angus Leeming <leeming@lyx.org>
10001 * importer.C (Import):
10002 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10003 changes due to LyXView::view() now returning a boost::shared_ptr.
10005 2002-08-02 John Levon <levon@movementarian.org>
10007 * lyxlex.C: small cleanup
10009 2002-08-02 John Levon <levon@movementarian.org>
10011 * text2.C (status): small cleanup, no logic change
10013 2002-08-01 John Levon <levon@movementarian.org>
10016 * buffer.C (writeFile): don't output alerts, caller
10020 * lyx_cb.C: from above
10022 * lyxfunc.C: allow to open non-existent files
10024 2002-07-31 John Levon <levon@movementarian.org>
10026 * lyxserver.C: don't let incidental errors get
10029 2002-07-30 John Levon <levon@movementarian.org>
10031 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10033 2002-07-30 John Levon <levon@movementarian.org>
10036 * lyxserver.C: remove I/O callback too
10038 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10040 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10043 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10045 * many files: strip,frontStrip -> trim,ltrim,rtrim
10047 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10049 * PrinterParams.h: remove extern containsOnly, and include
10050 support/lstrings.h instead.
10052 * LaTeX.C (scanAuxFile): modify because of strip changes
10054 * buffer.C (makeLaTeXFile): ditto
10055 * bufferparams.C (writeFile): ditt
10056 * lyxfont.C (stateText): ditto
10057 * lyxserver.C (read_ready): ditto
10058 * vc-backend.C (scanMaster): ditto
10060 * BufferView_pimpl.h: ws changes
10062 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10064 2002-07-26 André Pönitz <poenitz@gmx.net>
10066 * kb_sequence.C: remove unnedred usings
10068 2002-07-26 Juergen Vigna <jug@sad.it>
10070 * lyxfind.C (LyXReplace): we have to check better if the returned
10071 text is not of theLockingInset()->getLockingInset().
10073 2002-07-25 Juergen Vigna <jug@sad.it>
10075 * lyxfind.C (LyXReplace): don't replace if we don't get the
10078 * undo_funcs.C (createUndo): remove debugging code.
10080 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10082 * buffer.C (parseSingleLyXformat2Token): Use default placement
10083 when reading old floats.
10085 * FloatList.C (FloatList): Change the default placement of figure
10086 and tables to "tbp".
10088 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10090 * MenuBackend.C: using std::max
10092 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10094 * MenuBackend.C (expandToc):
10095 (expandToc2): code moved from xforms menu frontend. It is now
10096 generic and TOCs are transparent to menu frontends.
10098 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10100 * toc.C (getTocList): protect against buf=0
10102 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10103 Menu as first parameter. Now, this calls itself recursively to
10104 expand a whole tree (this will be useful for TOC handling)
10105 (expandFloatInsert): remove 'wide' version of floats
10107 * MenuBackend.h (submenuname): returns the name of the submenu.
10108 (submenu): returns the submenu itself, provided it has been
10109 created by MenuBackend::expand
10111 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10113 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10114 insets which have noFontChange == true. (bug #172)
10116 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10118 * BufferView_pimpl.C: add connection objects and use them...
10121 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * MenuBackend.C (expandLastfiles):
10126 (expandFloatListInsert):
10127 (expandFloatInsert):
10128 (expand): split expand in parts
10130 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10132 * lyx_gui.C: use lyx_gui::exit()
10134 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10136 * LyXAction.C: show the failing pseudo action
10138 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10140 * buffer.C (readFile): Run the lyxconvert script in order to read
10143 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10147 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10149 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10153 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10155 2002-07-22 Herbert Voss <voss@lyx.org>
10158 * lyxlength.[Ch]: add support for the vertical lengths
10160 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10162 * toc.[Ch]: std:: fixes
10164 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10166 * lyxrc.C: do not include lyx_main.h
10168 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10174 * BufferView2.C: include "lyxlex.h"
10177 * bufferparams.h: do not #include "lyxlex.h"
10179 * lyxtextclasslist.C (Add): remove method
10180 (classlist): renamed to classlist_
10182 * paragraph_pimpl.C:
10186 * bufferview_funcs.C:
10191 * toc.C (getTocList): use BufferParams::getLyXTextClass
10193 * toc.C (getTocList): use InsetFloat::addToToc
10195 * toc.[Ch]: new files, containing helper functions to handle table
10198 * lyxfunc.C (dispatch): no need to remove spaces around command
10200 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10201 first command of the sequence; it is not very clever, but I do not
10202 have a better idea, actually
10204 * LyXAction.C (LookupFunc): make sure to remove space at the
10205 beginning and end of the command
10207 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * MenuBackend.C (getMenubar): new method: return the menubar of
10211 (read): treat differently reading of menu and menubar (in
10212 particular, the menubar has no name now)
10213 (Menu::menubar): remove
10215 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10218 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10220 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10221 a bibitem inset in a RTL paragraph.
10223 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10225 * paragraph_pimpl.C: constify
10227 * BufferView_pimpl.C:
10229 * lyxfunc.C: fix dispatch in a nicer way
10231 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * lyxfunc.C (dispatch):
10234 * BufferView_pimpl.C:
10235 * BufferView_pimpl.h:
10237 * BufferView.h: rename Dispatch() to dispatch()
10239 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10241 * lyxlayout.C (Read): honor DependsOn tag
10243 * lyxlayout.[Ch] (depends_on): new method
10245 * version.C.in: update lyx_docversion
10247 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10249 * paragraph.C (validate): remove from here...
10250 * paragraph_pimpl.C (validate): ... and move here
10251 (isTextAt): make it const
10253 * buffer.C (getLists): ws cleanup
10255 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10257 * language.C (read): Use iso8859-1 encoding in latex_lang
10258 (this prevents LyX from crashing when using iso10646-1 encoding).
10260 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10262 * text2.C (toggleInset): if cursor is inside an inset, close the
10263 inset and leave cursor _after_ it
10265 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10267 * lyxfunc.C: move minibuffer completion handling out of here
10269 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10271 * BufferView_pimpl.C:
10272 * LaTeX.C: fix dispatch calls
10274 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10276 * text.C (drawChars): Fix Arabic text rendering.
10278 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10282 * lyxfunc.C: remove message-push/pop
10286 * lyxfunc.C: rationalise some code by removing verboseDispatch
10287 in favour of a bool argument to dispatch()
10289 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10291 * lyx_main.C (init): make sure to read symlinks as absolute paths
10293 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10296 * lyxfunc.C: no need for commandshortcut to be a member
10298 2002-07-15 André Pönitz <poenitz@gmx.net>
10300 * converter.C: add support for $$s (scripts from lib/scripts dir)
10301 * lyx_main.C: white space
10303 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10307 * lyxrc.C: remove second exit confirmation
10309 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10314 * BufferView_pimpl.h:
10315 * BufferView_pimpl.C:
10316 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10318 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10320 * MenuBackend.C (expand): add numeric shortcuts to document menu
10322 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10324 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10326 * lyxfont.C (setLyXFamily):
10333 * buffer.C (asciiParagraph): use ascii_lowercase
10335 2002-07-15 Mike Fabian <mfabian@suse.de>
10337 * lyxlex_pimpl.C (search_kw):
10338 * lyxlex.C (getLongString):
10339 * converter.h (operator<):
10340 * converter.C (operator<):
10341 * buffer.C (parseSingleLyXformat2Token):
10343 * ToolbarDefaults.C (read):
10344 * MenuBackend.C (checkShortcuts):
10346 * LColor.C (getFromGUIName):
10347 (getFromLyXName): use the compare_ascii_no_case instead of
10348 compare_no_case, because in turkish, 'i' is not the lowercase
10349 version of 'I', and thus turkish locale breaks parsing of tags.
10351 2002-07-16 Angus Leeming <leeming@lyx.org>
10353 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10354 now takes a Buffer const & argument.
10356 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10358 * BufferView.C (resize): check there's a buffer to resize
10360 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10362 * lyxfunc.C: remove dead code
10365 * lyxserver.C: use lyx_guii::set_read_callback
10367 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10369 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10370 an inset in a RTL paragraph.
10372 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10374 * lyxfunc.C: repaint after a font size update
10376 2002-07-15 André Pönitz <poenitz@gmx.net>
10378 * lyxlength.C: inBP should be able to return negative values
10380 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10382 * lyxfunc.C: use lyx_gui::update_fonts()
10384 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10386 * lyxfunc.C: use lyx_gui::update_color()
10388 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10394 * lyxrc.C: remove file->new asks for name option, and let
10395 buffer-new take an argument
10397 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10399 * BufferView_pimpl.C: remove unneeded extra repaint()
10401 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10403 * LyXAction.C: allow command-sequence with NoBuffer
10405 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10407 2002-07-10 Angus Leeming <leeming@lyx.org>
10409 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10411 2002-07-09 Angus Leeming <leeming@lyx.org>
10413 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10415 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10417 * lengthcommon.h: whitespace
10419 * lyxfunc.C: update scrollbar after goto paragraph
10421 * lyxtext.h: factor out page break drawing, and fix it so
10422 page break/added space paints as selected nicely
10424 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10426 * BufferView_pimpl.C: add FIXMEs, clean up a little
10428 2002-07-09 André Pönitz <poenitz@gmx.net>
10430 * lyxfont.[Ch]: support for wasy symbols
10432 2002-07-08 André Pönitz <poenitz@gmx.net>
10434 * BufferView_pimpl.C: apply John's patch for #93.
10436 2002-07-05 Angus Leeming <leeming@lyx.org>
10438 * BufferView_pimpl.C (buffer): generate previews if desired.
10440 * LColor.h: add "preview" to the color enum.
10442 * LColor.C (LColor): add a corresponding entry to the items array.
10444 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10447 2002-07-05 Angus Leeming <leeming@lyx.org>
10449 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10450 The body of the code is now in the method that is passed an ostream &
10451 rather than a file name.
10452 Pass an additional only_preamble parameter, useful for the forthcoming
10455 2002-07-03 André Pönitz <poenitz@gmx.net>
10457 * lyxfunc.C: simplify getStatus() a bit for math stuff
10459 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10461 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10463 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10465 * text.C (changeRegionCase): do not change case of all the
10466 document when region ends at paragraph end (bug #461)
10468 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * paragraph.C (startTeXParParams):
10471 (endTeXParParams): add \protect when necessary
10473 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10475 * BufferView_pimpl.C (workAreaExpose): remove warning
10477 2002-06-27 Angus Leeming <leeming@lyx.org>
10479 * Makefile.am: add lyxlayout_ptr_fwd.h.
10481 2002-06-26 André Pönitz <poenitz@gmx.net>
10483 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10485 2002-06-25 Angus Leeming <leeming@lyx.org>
10487 * lyxfunc.C (dispatch): Comment out the call to
10488 grfx::GCache::changeDisplay. The method no longer exists now that the
10489 pixmap generation part of the graphics loader has been moved into
10492 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10494 * text2.C: layout as layout
10496 * text.C: layout as layout
10498 * tabular.C (OldFormatRead): layout as layout
10500 * paragraph_pimpl.C (TeXDeeper): layout as layout
10501 (realizeFont): layout as layout
10503 * paragraph.C (writeFile): layout as layout
10504 (validate): layout as layout
10505 (getFont): layout as layout
10506 (getLabelFont): layout as layout
10507 (getLayoutFont): layout as layout
10508 (breakParagraph): layout as layout
10509 (stripLeadingSpaces): layout as layout
10510 (getEndLabel): layout as layout
10511 (getMaxDepthAfter): layout as layout
10512 (applyLayout): layout as layout
10513 (TeXOnePar): layout as layout
10514 (simpleTeXOnePar): layout as layout
10515 (TeXEnvironment): layout as layout
10516 (layout): layout as layout
10517 (layout): layout as layout
10519 * lyxtextclass.C (compare_name): new functor to work with
10520 shared_ptr, layout as layout
10521 (Read): layout as layout
10522 (hasLayout): layout as layout
10523 (operator): layout as layout
10524 (delete_layout): layout as layout
10525 (defaultLayout): layout as layout
10527 * lyxlayout_ptr_fwd.h: new file
10529 * lyxlayout.C (Read): layout as layout
10531 * lyx_cb.C (MenuInsertLabel): layout as layout
10533 * bufferlist.C (newFile): layout as layout
10535 * buffer.C (readLyXformat2): layout as layout
10536 (parseSingleLyXformat2Token): layout as layout
10537 (insertStringAsLines): layout as layout
10538 (asciiParagraph): layout as layout
10539 (latexParagraphs): layout as layout
10540 (makeLinuxDocFile): layout as layout
10541 (simpleLinuxDocOnePar): layout as layout
10542 (makeDocBookFile): layout as layout
10543 (simpleDocBookOnePar): layout as layout
10544 (getLists): layout as layout
10546 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10548 * CutAndPaste.C (cutSelection): layout as layout
10549 (pasteSelection): layout as layout
10550 (SwitchLayoutsBetweenClasses): layout as layout
10552 * BufferView_pimpl.C (Dispatch): layout as layout
10553 (smartQuote): layout as layout
10555 * BufferView2.C (unlockInset): layout as layout
10557 2002-06-24 André Pönitz <poenitz@gmx.net>
10559 * lyxfunc.C: fix #487
10561 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10565 * lyxfunc.C: remove display_shortcuts, show_banner
10567 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10569 * Buffer_pimpl.C: oops, update on resize
10571 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10578 * BufferView.C: use repaint()
10580 * BufferView_pimpl.h:
10581 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10582 as it's a clearer description. Remove superfluous
10585 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10587 * text.C: fix bug 488. Not ideal, but getting
10588 getWord() to work properly for the insets that
10589 matter is more difficult ...
10591 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10593 * BufferView_pimpl.C:
10596 * lyxfunc.C: remove the six million index lyxfuncs to just
10597 one, and DTRT (bug 458)
10599 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10603 * BufferView_pimpl.h:
10604 * BufferView_pimpl.C: clean up resize() stuff,
10605 and unnecessary updateScreen()s
10607 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView_pimpl.h:
10612 * BufferView_pimpl.C:
10615 * minibuffer.C: remove focus management of workarea,
10616 not needed. Use screen's greyOut()
10618 2002-06-17 Herbert Voss <voss@lyx.org>
10620 * converter.C: (convert) do not post a message, when converting
10621 fails, let the calling function decide what to do in this case
10623 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10625 * lyxfunc.C: tidy up a little
10627 2002-06-16 <alstrup@diku.dk>
10629 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10630 Got rid of FORMS_H_LOCATION include. Now we are
10633 2002-06-15 LyX Development team <lyx@rilke>
10635 * buffer.[Ch] (sgmlOpenTag):
10636 (sgmlCloseTag): Added support for avoiding pernicious mixed
10637 content. Return number of lines written.
10639 (makeLinuxDocFile):
10640 (makeDocBookFile): Fixed calls to sgml*Tag.
10641 Simple white space clean.
10643 (simpleDocBookOnePar): Simple white space clean.
10645 * tabular.[Ch] (docBook): Renamed to docbook and got another
10646 argument to related with the pernicious mixed content.
10648 (docbookRow): Fixed calls for docbook inset method.
10650 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10652 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10653 so it's X11 independent.
10657 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10659 2002-06-15 Lyx Development team <lyx@electronia>
10661 * intl.h: Renamed getTrans to getTransManager.
10663 2002-06-14 Angus Leeming <leeming@lyx.org>
10665 * Makefile.am: nuke forgotten stl_string_fwd.h.
10667 2002-06-12 Angus Leeming <leeming@lyx.org>
10669 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10671 2002-06-13 Angus Leeming <leeming@lyx.org>
10674 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10676 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10678 * kbmap.C (getiso): add support for cyrillic and greek
10680 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView_pimpl.h:
10685 * BufferView_pimpl.C: move bogus scrolling logic
10688 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10691 * BufferView_pimpl.C: view->resize() change
10693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10695 * BufferView_pimpl.C: topCursorVisible
10698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10702 * lyx_gui.C: move to frontends/
10706 * lyx_main.C: changes from above
10708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10715 * lyx_main.C: minor tidy
10717 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10719 * BufferView_pimpl.h:
10720 * BufferView_pimpl.C:
10722 * BufferView.C: make painter() const,
10725 * BufferView2.C: use screen() accessor
10728 * lyx_main.C: some minor cleanup
10730 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10732 * BufferView_pimpl.h:
10733 * BufferView_pimpl.C: remove enter/leaveView,
10736 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10741 * BufferView_pimpl.h:
10742 * BufferView_pimpl.C: only construct screen once,
10745 * lyxrc.C: remove pointless comment
10747 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10750 * BufferView.C: remove active() and belowMouse()
10752 * BufferView_pimpl.h:
10753 * BufferView_pimpl.C: use workarea() not workarea_,
10754 and make it use a scoped_ptr instead
10756 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10758 * lyx_gui.C: add debug message on BadWindow
10760 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10762 * sp_spell.C: fdopen is not part of the C++ standard.
10764 * paragraph.C (InsetIterator): use >= instead of ==
10766 2002-06-07 Angus Leeming <leeming@lyx.org>
10768 Fixes needed to compile with Compaq cxx 6.5.
10769 * BufferView_pimpl.C:
10776 * lyxtextclasslist.C:
10781 all c-library variables have been moved into namespace std. Wrap
10782 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10787 Add a using std::abs declaration.
10789 * kbmap.h (modifier_pair):
10790 * paragraph.h (InsetTable, InsetList):
10791 * lyxfont.h (FontBits):
10792 type definition made public.
10794 * bufferlist.C (emergencyWriteAll): the compiler complains that
10795 there is more than one possible lyx::class_fun template to choose from.
10796 I re-named the void specialisation as lyx::void_class_fun.
10798 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10800 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10801 the compiler is is unable to find tostr in write_attribute.
10803 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * buffer.C (sgmlError): hide #warning
10807 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10809 * xtl/*: get rid of xtl, which is not in use anyway
10811 * LyXAction.C (init):
10812 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10813 were unimplemented xtl experimentation
10815 2002-06-04 André Pönitz <poenitz@gmx.net>
10817 * lyxfunc.C: disable array operation on simple formulae
10819 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10821 * converter.C: constify a bit
10823 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10825 * lyx_gui.C: check xforms version correctly
10827 2002-04-30 Herbert Voss <voss@lyx.org>
10829 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10832 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10834 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10835 attempt to register it with a VCS)
10837 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10839 * lyx_main.C (init): honor variables LYX_DIR_13x and
10842 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10846 * lyx_main.C: fix a crash on bad command line,
10847 and give a useful exit status on error
10849 * lyxfunc.C (doImport): allow -i lyx to work
10851 2002-03-30 André Pönitz <poenitz@gmx.net>
10853 * lyxfunc.C: mathed font changes
10855 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10870 * trans_mgr.h: srcdocs, and some minor cleanups
10872 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10874 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10875 call getFont all the time)
10877 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10879 * switch from SigC signals to boost::signals
10881 2002-05-29 André Pönitz <poenitz@gmx.net>
10883 * paragraph_pimpl.C (getChar): don't call size() too often...
10885 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10887 * paragraph_pimpl.C (insertChar): do not try to update tables when
10888 appending (pos == size())
10890 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10891 in order to reduce drastically the number of comparisons needed to
10892 parse a large document
10894 2002-05-29 André Pönitz <poenitz@gmx.net>
10900 * textclasslist.[Ch]:
10901 * sp_ispell.h: whitespace change
10903 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10905 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10906 lyxaction directly now.
10908 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10912 * lyxvc.C: remove unused headers
10914 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10921 * undo_funcs.C: some cleanups. Use shared_ptr
10922 and a template for the undo stacks.
10924 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10926 * BufferView_pimpl.h:
10927 * BufferView_pimpl.C:
10934 * text2.C: use key_state/mouse_state
10936 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10938 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10941 * chset.C: change include order
10942 (loadFile): use boost regex and get rid of LRegex and LSubstring
10944 * Makefile.am (BOOST_LIBS): new variable
10945 (lyx_LDADD): use it
10947 * LaTeX.C: change include order.
10948 (scanAuxFile): use boost regex and get rid of LRegex and
10952 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10957 * FontInfo.C: moved to frontends/xforms/
10960 * FontLoader.C: moved into frontends for GUIIzation
10965 * lyxfunc.C: changes from above
10967 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10969 * LColor.C: remove spurious X include
10971 * BufferView_pimpl.C:
10976 * text2.C: move font metrics to frontends/
10978 2002-05-24 Juergen Vigna <jug@sad.it>
10980 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10981 setting the undo_cursor.
10983 * ParagraphParameters.h: include local includes first.
10985 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10987 * BufferView_pimpl.C:
10988 * BufferView_pimpl.h:
10992 * screen.C: move WorkArea into frontends/
10998 * BufferView2.C: move LyXScreen into frontends/
11002 * lyx_gui.C: move lyxlookup into frontends/xforms/
11004 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11007 * BufferView_pimpl.C:
11017 * bufferview_funcs.C:
11030 * vc-backend.C: move LyX/XFormsView into frontends/
11032 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11044 * text2.C: move Painter to frontends/
11046 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11048 * buffer.C: comment out some some code that depend upon lyx_format
11051 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11052 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11054 * buffer.h (NO_COMPABILITY): turn off compability
11056 * ColorHandler.C: include scoped_array.hpp
11058 * font.C: Use more specific smart_ptr header.
11061 * ShareContainer.h: ditto
11062 * lyx_main.h: ditto
11064 * FontInfo.h: ditto
11065 * BufferView_pimpl.h: ditto
11066 * ColorHandler.h: ditto
11068 * kbmap.C (defkey): change call to shared_ptr::reset
11070 2002-05-21 Juergen Vigna <jug@sad.it>
11072 * buffer.C (insertErtContents): fix to insert ert asis if it is
11073 non empty. Skip it completely if it contains only whitespaces.
11075 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11077 * BufferView_pimpl.C:
11078 * BufferView2.C: clear selection on paste (bug 393)
11080 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11082 * DepTable.C: include ctime
11084 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11086 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11088 2002-05-14 Juergen Vigna <jug@sad.it>
11090 * text.C (breakParagraph): fixed function to honor the keepempty
11091 layout in the right maner and also to permit the right breaking
11092 algorithm on empty or non empyt keepempty paragraphs.
11094 * paragraph.C (breakParagraph): we have to check also if the par
11095 is really empty (!size()) for isempty otherwise we do the wrong
11098 2002-05-10 Juergen Vigna <jug@sad.it>
11100 * buffer.[Ch] : The following are only changes to the ert
11101 compatibility read reading old LaTeX layout and font stuff and
11102 convert it to ERTInsets.
11104 * buffer.h: added isErtInset().
11106 * buffer.C (struct ErtComp): add a fromlayout bool to check
11107 if we're inside a LaTeX layout.
11108 (isErtInset): new helper function.
11109 (insertErtContents): look for other ert insets before this one
11110 and insert the contents there, so that we don't have subsequent
11111 ERT insets with nothing between them. This way we create only one
11112 inset with multiple paragraphs. Also check if we don't insert only
11113 spaces ' ' as they are ignored anyway afterwards in the .tex file
11114 so if we have only spaces we will ignore this latex part in the
11116 (parseSingleLyXformat2Token \\layout): better compatibility when
11117 reading layout-latex stuff.
11118 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11120 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11121 stuff after reading the inset only get the information back from
11124 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11126 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11128 * LaTeXFeatures.C (getBabelOptions): New method.
11130 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * BufferView_pimpl.C (Dispatch): work around missing argument for
11135 2002-05-08 Juergen Vigna <jug@sad.it>
11137 * text.C (leftMargin): handle paragraph leftindent.
11139 * paragraph.C (writeFile): write the new \\leftindent tag.
11140 (validate): handle leftindent code.
11141 (TeXEnvironment): handle paragraphleftindent code again.
11143 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11145 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11146 for paragrap_extra indent code and new token \\leftindent.
11147 (latexParagraphs): handle the leftindent as environment.
11149 * ParameterStruct.h: added leftindent support.
11151 * ParagraphParameters.C (leftIndent): added support functions for
11152 the paragraph left indent.
11154 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11157 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11159 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11162 * text.C (computeBidiTables): No bidi in insetERT.
11164 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11167 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11169 * version.C.in: pre 5
11171 2002-05-02 José Matos <jamatos@fep.up.pt>
11172 * buffer.C (makeDocBookFile): white space changes, add newline to
11174 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11176 * tabular.C (docBook): fix typo.
11178 2002-05-03 Juergen Vigna <jug@sad.it>
11180 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11181 change in LyXText as we can not be sure it was not freed.
11182 (drawOneRow): remove unused code.
11184 * text.C (drawInset): redo the calculation of the need_break_row as
11185 it could have a row which was already freed.
11186 (draw): look at the return value of drawInset and return false if
11187 it also returned false.
11188 (paintRowText): look at the return value of draw and return false if
11189 it also returned false.
11191 * lyxtext.h: added bool return type to drawInset() and draw() so that
11192 if we have a change in the row so that the rowbreak has to be redone
11193 we abort drawing as it will be called again.
11195 2002-05-02 Juergen Vigna <jug@sad.it>
11197 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11198 a change in the maintext also if we're inside an inset.
11199 (Dispatch): set the cursor again after a break line and after the
11200 screen has been updated as it could be we're in a different row.
11202 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11203 to set the cursor behind the pargraph with > size().
11204 (setCursor): check also for the same paragraph when checking where
11205 to put the cursor if we have a NFR inset.
11207 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11208 parts of layout read further up as it still was in the wrong
11211 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * screen.C (drawFromTo): change sine fullRebreak always return
11216 * buffer.C (parseSingleLyXformat2Token): reindent some
11218 * BufferView_pimpl.C (update): change since fullRebreak always
11220 (Dispatch): git rid of the last hardcoded "Standard"s.
11222 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * text2.[Ch] (fullRebreak): make it return void now that we always
11227 2002-04-30 Juergen Vigna <jug@sad.it>
11229 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11230 ert compatibility check for "latex" layout.
11232 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11234 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11235 minipages: use col% instead of p%, and also use the current font.
11236 (makeLaTeXFile): Fix use babel condition.
11237 (parseSingleLyXformat2Token): Correct font when reading old floats.
11239 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11241 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11242 inserting list of floats.
11244 2002-04-25 Herbert Voss <voss@lyx.org>
11246 * MenuBackend.C (expand): don't add the graphics extensions to the
11249 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11252 non-existing layout, do not complain if it was the default layout
11253 of the original class (bug #342)
11255 2002-04-24 Juergen Vigna <jug@sad.it>
11257 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11258 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11260 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11262 * buffer.C (getBibkeyList): If using \bibliography, return the
11263 option field with the reference itself. Enables us to provide natbib
11264 support when using \bibliography.
11266 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11268 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11270 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11271 natbib is provided by the LaTeX class.
11273 2002-04-23 Juergen Vigna <jug@sad.it>
11275 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11278 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11280 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11282 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11284 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11285 ensuremath around textordmasculine, textordfeminine and
11288 2002-04-19 Juergen Vigna <jug@sad.it>
11290 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11291 reinitializing the buffer otherwise row-dimensions may be wrong.
11292 (update): reset also the selection cursors if they do exits otherwise
11293 their x/y positions may be wrong.
11295 * text2.C (cursorDown): don't enter the inset if we came from a row
11296 above and are one row over the inset.
11298 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11299 really leaving an inset.
11301 2002-04-18 Juergen Vigna <jug@sad.it>
11303 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11304 of the selected paragraph does not have the selected layout also if
11307 * text2.C (setLayout): fixed bug which did not change last selected
11310 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11311 changed the read and substituted \\end_float with \\end_inset!
11313 * BufferView_pimpl.C (cursorPrevious):
11314 (cursorNext): fixed to make it work with rows heigher than the work
11315 area without moving the cursor only the draw of the row.
11316 (workAreaMotionNotify): fix jumping over high rows.
11318 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11320 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11323 2002-04-16 Juergen Vigna <jug@sad.it>
11325 * text2.C (setCursor): set also the irow().
11326 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11328 (cursorDown): support for locking an inset if the x_fix value goes
11329 inside it. That way I can transverse insets too with cursor up/down.
11331 * lyxrow.h: added irow helper function same as other (i) functions.
11333 * BufferView_pimpl.C (cursorPrevious):
11334 (cursorNext): fixed for insets!
11336 2002-04-15 Juergen Vigna <jug@sad.it>
11338 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11339 position otherwise it is wrong in some cases.
11341 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11342 inside the inset before the call.
11344 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11346 * buffer.[Ch] (getBibkeyList): make it const.
11348 2002-04-12 Juergen Vigna <jug@sad.it>
11350 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11352 * text2.C (getCursorX): new helper function
11353 (setCursor): compute also ix_
11354 (setCursorFromCoordinates): set also ix.
11356 * lyxcursor.h: added ix_ and helper functions.
11358 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11360 * buffer.C (insertStringAsLines): dont break paragraph if the this
11361 paragraph is inside an inset which does not permit it!
11363 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11364 also with no chars on this paragraph.
11365 (paintRowText): only paint stuff if it's inside the workarea!
11367 * paragraph.C (breakParagraph): honor keepempty flag and break the
11368 paragraph always below not above.
11370 * BufferView2.C (unlockInset): update the paragraph layout on inset
11371 unlock as we changed paragraph in such a case.
11373 * lyxfind.C (LyXFind): clear the former selection if not found!
11375 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11376 again called in insertChar().
11378 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11379 an inset which uses the whole row!
11380 (rightMargin): ditto.
11381 (insertChar): force a rebreak if we inserted an inset!
11383 2002-03-28 Herbert Voss <voss@lyx.org>
11385 * lyxlength.[Ch]: add inBP() to get the right PS-point
11386 units (BigPoint). With inPixels we have rounding errors
11388 2002-04-11 Juergen Vigna <jug@sad.it>
11390 * text2.C (setCursorFromCoordinates): set iy to the right value.
11391 (setCursor): add check if row->previous exists!
11393 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11394 an old float_type as this was the case in the old code!
11396 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11398 * BufferView2.C (showLockedInsetCursor): use iy
11399 (fitLockedInsetCursor): ditto
11401 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11402 locked insets as there we have the right value now.
11404 * lyxcursor.C: added iy_ variable and iy functions to set to the
11405 baseline of cursor-y of the locked inset.
11407 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11408 (setCursor): fixed for insets which need a full row.
11410 * text.C (rowLastPrintable): don't ignore the last space when before
11411 an inset which needs a full row.
11412 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11413 as last character of a row when before a inset which needs a full row.
11415 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * version.C.in: update date
11419 * text2.C (fullRebreak): try to always return true and see what
11422 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11424 * MenuBackend.C (expand): use Floating::listName
11426 * FloatList.C (FloatList): add listName argument to the built-in
11429 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11430 text associated with the float.
11432 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11434 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11436 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * ShareContainer.h: add a couple of missing typenames.
11440 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11442 * lyxrc.C (getDescription): use _() correctly rather than N_().
11444 2002-03-28 Herbert Voss <voss@lyx.org>
11446 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11447 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11449 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11452 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11454 2002-03-29 Juergen Vigna <jug@sad.it>
11456 * lyxfunc.C (dispatch): add a missing fitCursor call.
11458 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11459 it was scrolled by a cursor move, so return the bool status.
11461 * BufferView.C (fitCursor): return the bool flag also to the outside
11462 world as this is needed.
11464 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11466 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11467 call the edit() as it is not needed (and wrong) IMO.
11468 (workAreaButtonPress): set the screen_first variable before evt.
11469 unlock the inset as this may change screen_first and then we have
11470 a wrong y position for the click!
11472 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11474 * MenuBackend.C (expand): another translation that I missed
11476 2002-03-28 Juergen Vigna <jug@sad.it>
11478 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11480 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11482 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11484 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11486 * MenuBackend.C (expand): fix export/view/update when there is no
11489 2002-03-27 Herbert Voss <voss@lyx.org>
11491 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11494 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * bufferview_funcs.C (currentState): only show paragraph number
11497 for is DEVEL_VERSION is set.
11499 * lyxfunc.C (dispatch): put warning in INFO channel
11501 * MenuBackend.C (expand): translate the name of floats
11503 * FloatList.C (FloatList): mark the float names for translation
11505 * converter.C (convert): use LibScriptSearch
11507 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11509 * MenuBackend.C (defaults): fix default menu (we might as well get
11512 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11514 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11517 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * lyxvc.C: reorder includes.
11521 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11523 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11526 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11528 * CutAndPaste.C: change layouts earlier on paste
11529 to avoid crashing when calling getFont()
11531 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11533 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11536 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11538 * WorkArea.C: remove 'Pending' debug message.
11540 * most files: ws cleanup
11542 * buffer.[Ch]: ws changes
11544 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11546 2002-03-21 Juergen Vigna <jug@sad.it>
11548 * tabular.C (SetMultiColumn): collapse also the contents of the
11549 cells and set the last border right. Added a Buffer const * param.
11551 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11556 2002-03-19 Juergen Vigna <jug@sad.it>
11558 * text2.C (clearSelection): reset also xsel_cache.
11560 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11561 where it needs to be called (John tells us to do so too :)
11562 (selectionLost): reset sel_cache.
11564 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11566 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11568 * text2.C (setCursorIntern): put debuging code in INSETS channel
11570 2002-03-19 André Pönitz <poenitz@gmx.net>
11572 * lyxfunc.C: tiny whitespace change
11574 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11576 * ToolbarDefaults.C (init):
11577 * LyXAction.C (init):
11579 * BufferView_pimpl.C (Dispatch):
11580 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11582 2002-03-19 Allan Rae <rae@lyx.org>
11584 * exporter.C (Export): removeAutoInsets before doing anything else.
11585 While I've just introduced a dependency on BufferView this really is
11586 the best place to clean the buffer otherwise you need to cleanup in
11587 a dozen places before calling export or cleanup in a dozen functions
11590 * converter.C (runLaTeX):
11591 (scanLog): Better handling of removeAutoInsets and screen updates.
11593 * lyxfunc.C (dispatch): small whitespace changes
11595 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * WorkArea.C (C_WorkAreaEvent): return a value.
11598 (event_cb): return 1 if we handled the event, 0 otherwise.
11600 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11602 2002-03-18 Juergen Vigna <jug@sad.it>
11604 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11605 (GetAdditionalWidth): ditto.
11606 (RightLine): ditto.
11609 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11610 inset if we're there actually (probably not used right now but this
11611 is the direction to go for unifying code).
11612 (paste): disable code to clear the selection.
11614 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11615 inside an InsetText and move the check further up as it is in the
11618 * text2.C (pasteSelection): set a selection over the pasted text.
11620 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11622 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11623 and libgraphics to build on Cygwin.
11625 2002-03-15 Juergen Vigna <jug@sad.it>
11627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11628 inserting an Inset into the paragraph. I know this is not the best
11629 fix but we already use current_view in CutAndPaste so we will remove
11630 all of it's using at the same time.
11632 * buffer.C (sgmlError): deactivated function till it is rewritten in
11633 the right mode, now it can create problems.
11635 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11636 before accessing it.
11638 2002-03-14 Juergen Vigna <jug@sad.it>
11640 * undo_funcs.C (textHandleUndo): do the right thing when updating
11641 the inset after the undo/redo.
11643 * text2.C (setCursor): just some testcode for #44 not ready yet.
11645 * undo_funcs.C (textHandleUndo): set the next() and previous()
11646 pointers of the paragraph to 0 before deleting otherwise we have
11647 problems with the Paragraph::[destructor].
11649 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11650 on a paragraph insertion.
11652 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11654 * buffer.C (asciiParagraph): use += operator for char append to
11657 * paragraph.C (getFontSettings): compare >= not just >
11658 (highestFontInRange): ditto
11661 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11663 * paragraph.C: change several algorithm to be more appripriate for
11664 the problem domain. This is lookip in FontList and in the InsetList.
11666 2002-03-13 André Pönitz <poenitz@gmx.net>
11669 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11671 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11676 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11678 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11680 * Painter.C (display): anon helper function, adjust code for this
11682 (pixmap): remove function.
11684 * Painter.h: remove private display variable.
11686 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11688 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11690 * WorkArea.[Ch]: remove figinset_canvas cruft.
11692 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * lyxtextclass.C (operator): add one item cache optimization.
11696 * bufferlist.h: doxy changes
11698 * bufferlist.C: ws changes
11700 * DepTable.[Ch] (ext_exist): place const in the right spot.
11702 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11704 (workAreaExpose): call resizeInsets when the with BufferView changes.
11705 (Dispatch): adjust for protectedBlank removal
11706 (specialChar): call updateInset if the insert went ok.
11708 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11709 specialChar instead.
11711 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11713 * BufferView.h: doxy change
11715 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11717 * lyxtextclass.C (operator[]): remove non-const version
11718 (defaultLayout): remove non-const version
11720 2002-03-12 Juergen Vigna <jug@sad.it>
11722 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11723 did resize the LyXText too.
11725 * buffer.C (readLyXformat2): set layout information on newly allocated
11728 * tabular.C (OldFormatRead): set layout information on the paragraph.
11730 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11732 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11734 2002-03-11 Juergen Vigna <jug@sad.it>
11736 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11738 (resizeCurrentBuffer): force also the insets to resize themselfes.
11739 (moveCursorUpdate): fixed up for InsetText.
11741 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11744 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11745 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11746 value of Dialogs::tooltipsEnabled().
11747 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11749 2002-03-08 Juergen Vigna <jug@sad.it>
11751 * BufferView_pimpl.C (updateInset): update inset inside inset also
11752 if it isn't inside theLockingInset().
11754 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11756 * buffer.C (asciiParagraph): redo some of the word and line length
11758 (getLists): look for Caption instead of caption.
11760 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * buffer.C (Buffer): initialize niceFile to true
11764 (makeLinuxDocFile):
11765 (makeDocBookFile): make sure niceFile is true on exit
11767 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11771 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11773 * LyXSendto.C: remove.
11774 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11775 * lyx_gui.C: remove now-redundant comment.
11776 * ColorHandler.h: remove forward declaration of class WorkArea.
11777 * lyxfunc.C: remove #include "WorkArea.h".
11779 2002-03-07 Juergen Vigna <jug@sad.it>
11781 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11782 got moved away with the DEPM and also set the inset_owner always
11783 right which before could have been omitted.
11785 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11788 wanted layout is not found.
11790 2002-03-07 Juergen Vigna <jug@sad.it>
11792 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11794 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * paragraph.C (breakParagraph): use default layout not layout of
11798 (Paragraph): clear ParagraphParameters.
11800 2002-03-06 Juergen Vigna <jug@sad.it>
11802 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11803 otherwise it would not be a valid lenght. Fixed a special case in
11804 the minipage compatibility read where we end the document with a
11807 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11808 was set as it could be 0 for InsetTexts first entry.
11810 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * paragraph.C (writeFile): if layout is empty write out
11813 defaultLayoutName().
11815 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11816 file without named layout we set layout to defaultLayoutName().
11818 2002-03-06 Juergen Vigna <jug@sad.it>
11820 * CutAndPaste.C (copySelection): set layout for new paragraph.
11822 * text.C (prepareToPrint): leave ERT inset left aligned
11823 (leftMargin): don't indent paragraphs inside ERT insets
11825 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * paragraph.C (breakParagraph): dont call clear do the work manually
11829 * paragraph.[Ch] (clear): remove function
11831 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * paragraph.C (Paragraph): dont call clear, the work has already
11836 * lyxtextclass.C (operator): assert if n is empty
11838 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11839 work manually instead.
11841 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11843 * BufferView_pimpl.C: protect selectionLost against text == 0
11845 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * text.C (breakParagraph): fix a setting layout to '0' problem.
11849 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11851 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11852 final location of file, for the included files, and graphics.
11854 2002-03-05 Juergen Vigna <jug@sad.it>
11856 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11858 2002-03-04 Juergen Vigna <jug@sad.it>
11860 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11862 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11863 last column of multicolumn cells.
11864 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11866 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11868 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11869 file if it doesn't go to a temporary file.
11871 * buffer.C (sgmlOpenTag):
11872 (sgmlCloseTag): remove extra newline insertion.
11874 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11876 * text.C (getRowNearY): comment out debug msg
11878 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * text2.C: first -> first_y
11882 * text.C (getRowNearY): add some attemts at a possible
11883 optimization, not working.
11885 * tabular.[Ch]: add BufferParams to several function so that newly
11886 created paragraph can be initialized to he default layotu for the
11889 * tabular-old.C (ReadOld): add buf->params to call of Init
11891 * screen.C: rename text->first to text->first_y
11893 * paragraph.C (breakParagraph): always set layout in the broken
11896 * lyxtextclass.C (Read): remove lowercase
11899 (delete_layout): ditto
11901 * lyxtext.h: rename first -> first_y
11903 * lyxlayout.C (Read): remove lowercase
11906 (obsoleted_by): ditto
11908 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11910 * buffer.C (insertErtContents): add params are to InsetERT
11911 (parseSingleLyXformat2Token): add code to check if a paragraphs
11912 layout really exist.
11913 (parseSingleLyXformat2Token): add params to several inset
11915 (asciiParagraph): remove lowercase, do the layout comparisons with
11918 * BufferView_pimpl.C (cursorNext): first -> first_y
11919 (resizeCurrentBuffer): first -> first_y
11920 (updateScrollbar): first -> first_y
11921 (scrollCB): first -> first_y
11922 (workAreaMotionNotify): first -> first_y
11923 (workAreaButtonPress): first -> first_y
11924 (checkInsetHit): first -> first_y
11925 (cursorPrevious): first -> first_y
11926 (cursorNext): first -> first_y
11927 (Dispatch): add buffer_->params to severl inset contructors
11929 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * lyxlayout.C (Read): remove some debug info that I forgot.
11933 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11934 clean up the code slightly.
11935 (makeLinuxDocFile): ditto
11936 (makeDocBookFile): ditto
11938 * text2.C: layout as string
11940 * text.C: layout as string
11942 * paragraph_pimpl.C: layout as string
11944 * paragraph.[Ch]: layout as string
11946 * lyxtextclasslist.[Ch]: layout as string
11948 * lyxtextclass.[Ch]: layout as string
11950 * lyxtext.h: layout as string
11952 * lyxlayout.[Ch]: layout as string
11954 * lyx_cb.C: layout as string
11956 * bufferview_funcs.C: layout as string
11958 * bufferparams.C: layout as string
11960 * buffer.C: layout as string
11962 * LyXView.[Ch]: layout as string
11964 * LaTeXFeatures.[Ch]: layout as string
11966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11968 * BufferView_pimpl.C: change current_layout to string, remove
11973 (workAreaButtonRelease): layout as string
11975 * BufferView2.C (unlockInset): adjust
11977 * vspace.C (asLatexCommand): use an explict temp variable.
11979 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11981 * Makefile.am: use FRONTEND_*
11983 2002-03-01 Juergen Vigna <jug@sad.it>
11985 * tabular.C (SetWidthOfMulticolCell): changed to something better
11986 I hope but still work in progress.
11987 (recalculateMulticolumnsOfColumn): renamed function from
11988 recalculateMulticolCells as it is more appropriate now.
11989 (SetWidthOfCell): calculate multicols better.
11991 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11995 * lyxfunc.C (processKeySym): print sequence also if it is
11996 `deleted' (complete)
11998 * kbsequence.C (print): print sequence even if it is deleted
11999 (complete would be a better word, actually).
12001 * lyxfunc.C (dispatch): print complete options after a prefix key
12003 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12005 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12007 * text2.C (setCharFont): eliminate setCharFont code duplication.
12009 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12012 LFUN_TABULAR_FEATURE (bug #177)
12014 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12016 * Makefile.am: remove figure.h
12018 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12020 * Bufferview_pimpl.C:
12032 * text2.C: remove #include "lyx_gui_misc.h".
12034 * LaTeX.C: added #include <cstdio>
12036 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12039 that the paragraph following this one can have.
12041 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12043 * vspace.C (asLatexCommand): fix bogus gcc warning
12045 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12047 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12049 * text2.C (setLayout): get rid of redundant code
12051 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12053 * text2.C (incDepth): make sure depth cannot be increased beyond
12056 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12058 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12059 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12061 * PainterBase.h (image):
12062 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12063 a LyXImage const *.
12065 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12069 * BufferView_pimpl.C:
12070 * BufferView_pimpl.h:
12090 * sp_spell.C: remove fig inset, and the crap house of
12091 cards that follows it
12093 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12098 * os2_errortable.h:
12099 * nt_defines.h: move .h into support/
12101 * vms_defines.h: remove
12103 * WorkArea.C: add space in debug output
12107 * buffer.C: add WITH_WARNINGS
12111 * bufferlist.C: s/retrive/retrieve/, add docs
12120 * chset.C: add docs
12122 * lyxgui.C: add ID to X error handler
12124 * lyxtestclass.c: fix typo
12126 2002-02-26 Juergen Vigna <jug@sad.it>
12128 * tabular_funcs.C (write_attribute): changed so that some default
12129 attributes are not written at all.
12130 (getTokenValue): set default values before trying to read the
12131 value so we have the return value always set as default if we don't
12132 find the token we search for.
12134 * tabular.C (Write): write bools as bools not as strings!
12136 2002-02-22 Juergen Vigna <jug@sad.it>
12138 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12139 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12141 * text.C (leftMargin): don't add an indent for paragraphs inside
12142 tabular cells (fix #208).
12144 2002-02-21 José Matos <jamatos@fep.up.pt>
12146 * tabular.C (docBook): fixed support for long tables.
12148 2002-02-20 Juergen Vigna <jug@sad.it>
12150 * text2.C (getFont): get the drawing font of the Inset if this
12151 paragraph is inside an inset (only important for InsetERT for now).
12153 * buffer.C (insertErtContents): use new lanugage params in ERT
12156 * CutAndPaste.C: commenting out seemingly uneeded code.
12158 2002-02-19 Allan Rae <rae@lyx.org>
12160 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12161 Iterators might be simple to use but they also get invalidated.
12162 (removeAutoInsets): renamed saved cursor tracking variables and added
12163 some comments to clarify what everything does.
12165 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12172 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12173 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12176 * vc-backend.h: remove #include "support/syscall.h"
12180 * converter.C: rearrange #includes in Lars' approved fashion.
12182 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12183 forward declare class Timeout in the header file.
12185 * XFormsView.C: changes due to the above.
12187 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12188 similar to LyXView.
12190 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12191 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12193 2002-02-18 José Matos <jamatos@fep.up.pt>
12195 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12198 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12200 * a lot of small ws changes
12201 * add a lot of using std::XXX
12202 * use std construcs some places where approp.
12203 * use some exisint stuff from lyxfunctional where approp.
12204 * Make file changes to use partial linking (lets test this now...)
12206 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12210 remove #include "support/syscontr.h" as it's redundant. Always has been.
12218 change Systemcalls::System to Systemcalls::Wait and
12219 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12220 No change of functionality, just reflects the stripped down Systemcalls
12223 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12225 * debug.[Ch]: add a GRAPHICS type to the enum.
12227 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12231 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12234 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12237 match the changes below.
12239 * text2.C (toggleInset): if there is not editable inset at cursor
12240 position, try to see if cursor is _inside_ a collapsable inset
12243 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12245 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12246 document menu has a nice checkbox
12248 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * lyxlength.C (asLatexString): change PW to output as percent of
12253 * lengthcommon.C: change '%' to 't%'
12255 * lyxfunc.C (dispatch): a few comments from Martin
12257 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12261 * BufferView_pimpl.h:
12262 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12265 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12267 * vspace.C (inPixels): fix compiler warning
12269 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12271 * lyxfunc.C (getStatus): fix status message for disabled commands.
12273 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12275 * BufferView_pimpl.C: fix crash on close buffer
12276 during selection (#227)
12278 2002-01-27 Herbert Voss <voss@lyx.org>
12280 * buffer.C: link old Figure to new graphic inset
12282 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12284 * FontLoader.C (getFontinfo): Change the latex font names in order
12285 to match the names of type1inst.
12287 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12289 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12291 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12292 (extchanged): ditto
12294 (remove_files_with_extension): ditto
12295 (remove_file): ditto
12298 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12299 document is smaller than the work area height. Do not initialize
12300 static variables to 0.
12302 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12306 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12307 LFUN_LAYOUT_PARAGRAPHS.
12309 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12310 tabular. It is possible to provide a possible cell, which will
12311 typically be the actcell from the corresponding insettabular
12313 * lyxfunc.C (getStatus): small cleanup; disable
12314 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12317 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12321 * paragraph.C (startTeXParParams):
12322 (endTeXParParams): new methods. The LaTeX code to
12323 start/end paragraph formatting
12324 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12325 empty (fixes bug #200)
12327 * vspace.C (inPixels): adapt to the change below
12328 (inPixels): [later] more cleanups (remove unused variables)
12330 * lyxlength.C (inPixels): change to use a width and a height as
12333 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12336 Replaced with \paperwidth
12338 * DepTable.C (insert): add std:: qualifier
12340 2002-01-18 Allan Rae <rae@lyx.org>
12342 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12345 * text.C (drawInset): Turned out I didn't know enough about how
12346 rebreaking worked. This fixes most of the redraw problems. I see
12347 an occasional cursor trail when a line is broken now and the cursor
12348 placement can seem out by a few pixels also after a rebreak.
12350 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12352 * buffer.C (parseSingleLyXformat2Token): update because minipage
12353 width is now a LyXLength
12355 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12357 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12360 2002-01-17 Juergen Vigna <jug@sad.it>
12362 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12364 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12365 is set correctly and the inset is updated correctly.
12367 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12369 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12370 the beginning of the loop.
12372 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12374 * lyxrc.C: improve help for use_scalable_fonts
12376 2002-01-17 Allan Rae <rae@lyx.org>
12378 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12380 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12383 make sure to set their inset_owner to the right value (bug #171)
12385 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12388 * DepTable.C: Implement mtime checking to reduce time spent doing
12391 2002-01-16 Juergen Vigna <jug@sad.it>
12393 * tabular.C (GetAdditionalHeight): one of error fixed.
12395 * lyxrc.C (output): small fix in writing use_pspell.
12397 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12399 * sp_base.h: #include LString.h
12401 2002-01-16 Allan Rae <rae@lyx.org>
12403 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12404 Can someone check this please?
12406 * text.C (drawInset): It was possible that p.row would be removed by
12407 breakAgainOneRow upsetting a few other settings. There may be another
12408 small tweak possible by setting need_break_row = 0 when p.row has been
12409 removed but I don't know enough about the logic here.
12411 2002-01-15 Allan Rae <rae@lyx.org>
12413 * text.C (insertChar): removed conditional truism.
12415 * BufferView2.C (removeAutoInsets): More tweaks.
12416 cur_par_prev could be a stray pointer. Check for trailing empty line
12417 in case last line was cur_par and only had an error inset on it.
12419 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12424 * vc-backend.C (most methods):
12425 * exporter.C (Export):
12426 * converter.C (convert):
12428 * LyXSendto.C (SendtoApplyCB):
12429 * lyxfunc.C (dispatch):
12433 * lyx_cb.C (AutoSave):
12435 * BufferView_pimpl.C (MenuInsertLyXFile):
12436 * buffer.C (runChktex): use Buffer::filePath().
12438 * buffer.h: rename filename to filename_; rename filepath to
12439 filepath_ and make it private
12440 (filePath): new method
12442 * buffer.C (writeFile): use fileName()
12445 * lyx_main.C (init): fix starting of LyX when the binary is a
12446 link from so,ewhere else.
12448 * minibuffer.C: include <cctype> for isprint
12450 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12452 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12453 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12454 name clash with InsetCollapsable's width function.
12456 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12458 * lastfiles.C: include <iterator>
12460 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12462 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12465 * buffer.C (makeLaTeXFile): ditto.
12466 Also make loop operation more transparent.
12468 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12470 * ToolbarDefaults.C: remove trailing comma closing namespace.
12472 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12474 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12477 * trans.C (Load): comment out unused variable, allowed.
12479 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12481 * minibuffer.[Ch] (append_char): new method to recieve input from the
12482 drop-down completion browser. If a key was pressed, then recieve this
12483 char and append it to the existing string.
12484 (peek_event): modify the positioning data passed to the completion
12485 browser so that it can be placed above the minibuffer rather than below.
12486 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12488 * LyXAction.C (init): alloe error-next for readonly documents.
12490 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12493 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12495 * bufferlist.C (readFile): create the buffer _after_ checking that
12498 * lyxfunc.C (verboseDispatch): fix handling of arguments
12500 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12502 * lyxrc.C: use string::erase() instead of initializing to "".
12505 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12507 * BufferView_pimpl.h:
12508 * BufferView_pimpl.C:
12511 * text2.C: tell X when we have made a selection for copying
12513 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12515 * BufferView_pimpl.C (MenuInsertLyXFile):
12516 * lyxfunc.C (menuNew):
12518 (doImport): add shortcuts to directory buttons
12520 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12523 * lyxfunc.C (setStatusMessage):
12524 (getStatusMessage): new methods
12525 (getStatus):use setStatusMessage instead of setErrorMessage
12526 (dispatch): when function is disabled, set error message here
12527 [instead of in getStatus previously]
12529 * BufferView_pimpl.C (workAreaButtonRelease): update
12530 toolbar/menubar here too.
12532 2002-01-13 Allan Rae <rae@lyx.org>
12534 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12535 Now seems indestructible. Remaining task is to audit all other
12536 code affected by deleteEmptyParagraphMechanism. One small quirk
12537 left is that an empty document with an error in the preamble can
12538 be made to report an error but no error box appears. I don't know
12540 (removeAutoInsets): Improved comments.
12542 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12545 * Thesaurus.C: update for Aiksaurus 0.14
12547 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * text2.C (firstParagraph): removed member function, all uses
12550 replaces with ownerParagraph
12551 (redoParagraphs): here
12552 (updateInset): here
12553 (toggleAppendix): here
12554 * BufferView2.C (insertErrors): here
12555 (setCursorFromRow): here
12557 2002-01-13 Allan Rae <rae@lyx.org>
12559 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12560 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12561 There is still a way to segfault this although you may have to do this
12562 multiple times: Have an InsetERT with an unknown command in it.
12563 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12564 <down-arrow>, <Enter> again, View->DVI, BANG!
12566 * text2.C (setCursor):
12567 (deleteEmptyParagraphMechanism):
12568 * lyxtext.h (setCursor):
12569 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12570 Making use of the return value may help fix other bugs.
12572 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12574 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12576 * LyXView.C (updateMenubar): call MenuBar::update here
12577 (updateToolbar): but not here
12578 (showState): do not update toolbar/menubar
12580 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12581 should need to care about that.
12583 * lyxfunc.C (verboseDispatch): simplify a bit
12584 (getStatus): have a version which takes a pseudoaction, and
12585 another which requires a (kb_action,string).
12587 * LyXAction.C (retrieveActionArg): make it work also when action
12588 is not a pseudo-action.
12589 (getActionName): simplify a bit
12592 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12594 * lyxfunc.C (verboseDispatch): new families of methods with
12595 several ways to specify a command and a bool to indicate whether
12596 the command name and shortcut should be displayed in minibuffer
12597 (eventually, we could extend that to a finer bitmask like
12598 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12599 (dispatch): the pristine dispatch command which just, well,
12600 dispatchs! Note it still sets its result to minibuffer; I'm not
12603 * lyxfunc.h: remove setHintMessage
12605 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12607 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12609 * BufferView_pimpl.C (specialChar): delete new inset if we have
12610 not been able to insert it.
12612 * kbmap.C: revert to using int instead of kb_action, since all we
12613 are dealing with is pseudo-actions.
12615 * LyXAction.C (searchActionArg): change to return int instead of
12616 kb_action, since the result is a pseudoaction.
12618 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12620 * buffer.C (insertErtContents): Fix (partially) the font bug.
12622 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12624 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12625 as the other one is broken on my machine!
12627 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12630 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12632 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12634 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12635 reflect their actual use. Provide compatibility code for older lyxrc
12638 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12640 change names of popup font variables in line with the changes to lyxrc.C
12642 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12644 * buffer.C (asciiParagraph): avoid outputing a word twice after
12647 * lyxrc.C (getDescription): document that document_path and
12648 template_path can be empty.
12650 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12652 * LaTeXFeatures.C (getMacros):
12653 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12655 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12657 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12659 (getPackages): rename feature "floats" to "float". Use an array to
12660 iterate over 'simple' features (i.e. just a \usepackage). Add
12661 handling of "amsmath" (renamed from "amsstyle").
12663 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12665 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12668 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12670 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12671 FuncStaus::FuncStatus & FuncStaus::some_method().
12673 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12675 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12676 of the func_satus stuff. Edited and massaged in various ways by
12679 * lyxfunc.C (getStatus): use FuncStatus
12681 2002-01-08 Juergen Vigna <jug@sad.it>
12683 * text.C (nextBreakPoint): use function Inset::isChar().
12685 * paragraph.C (TeXOnePar): use function
12686 Inset::forceDefaultParagraphs.
12688 * buffer.C (latexParagraphs): use function
12689 Inset::forceDefaultParagraphs.
12691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12693 * lyx_gui.C (init): set the style of the menu popups to
12694 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12696 2002-01-07 Juergen Vigna <jug@sad.it>
12698 * text.C (setHeightOfRow): small fix
12699 (prepareToPrint): don't look at alignment if we don't have the place
12702 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12704 * box.C: New file. Move the Box methods and functions out of box.h,
12705 following Lars' suggestion.
12707 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12709 * box.h: #include "support/LOstream.h", needed for inlined function.
12712 * lyxtextclasslist.C: added some using std declarations.
12714 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12716 * box.h: make signed dimensions to allow insets wider than
12717 the screen (bug #162)
12719 * BufferView_pimpl.C: add some insetHit debug
12721 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12723 * vc-backend.C: add FIXME
12725 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12727 * lyxfunc.C (getStatus): enable code for showing math font status
12730 2002-01-07 Juergen Vigna <jug@sad.it>
12732 * text.C (nextBreakPoint): removed debug output not needed anymore.
12734 2002-01-06 Juergen Vigna <jug@sad.it>
12736 * text.C (nextBreakPoint): fixed up this function we had this bug
12737 since ever but now hopefully we break row better.
12738 (insertChar): we have to check if an inset is the next char as it
12739 could now happen that a large inset is causing a break.
12741 2002-01-05 Juergen Vigna <jug@sad.it>
12743 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12744 if it doesn't like to be drawed.
12746 2002-01-04 Juergen Vigna <jug@sad.it>
12748 * BufferView2.C (lockInset): forgot to set a cursor.
12750 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12752 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12754 * FormMathsPanel.C:
12757 * form_maths_panel.C:
12758 * form_maths_panel.h:
12759 * form_maths_panel.fd: implemented sub- and super- buttons in math
12762 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12763 (or ^ space) to be used as in TeX (req'd by André).
12765 * lyxfunc.C: Allow ^ and _ again to be used both as
12766 super/subscript (mathed) and as themselves (in text).
12768 2002-01-03 Allan Rae <rae@lyx.org>
12770 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12771 "LyX" or the filename of the current buffer if it has one. This is a
12772 modified form of John Levon's patch.
12774 * XFormsView.C (setWindowTitle): also set icon title.
12776 * LyXView.h (setWindowTitle): signature changed.
12777 * XFormsView.h (setWindowTitle): ditto.
12779 2002-01-02 Juergen Vigna <jug@sad.it>
12781 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12783 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * screen.C (topCursorVisible): introduce a temp var for
12786 text->cursor.row(), handle the case where this row is null. (kindo
12789 * text2.C (setCursor): add a couple of asserts.
12791 * paragraph.h (inset_iterator): add -> operator
12793 * paragraph.[Ch] (autoDeleteInsets): remove member function
12795 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12796 cursor pos correctly and handle inset deletion by itself.
12797 (insertErrors): move iterator declaration out of for expression
12799 * lyxtextclass.C: add <algorithm>
12801 * Makefile.am: added the new files to sources, removed layout.C
12803 * layout.C: removed file
12805 * layout.h: remove LYX_DUMMY_LAYOUT
12807 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12811 * lyxtextclass.[Ch]:
12812 * lyxtextclasslist.[Ch]: new files
12814 * include order changes to a lot of files, also changes because of
12817 2001-12-27 Juergen Vigna <jug@sad.it>
12819 * buffer.C (asciiParagraph): more fixes.
12821 * tabular.C (ascii): make ascii export support export of only the
12822 data separated by a column-delimiter.
12823 (ascii): better support for ascii export.
12825 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12827 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12829 * tabular_funcs.C: use a "using std::getline" instead of the
12830 previous fix from Angus (necessary for cxx + lyxstring)
12832 2001-12-24 Juergen Vigna <jug@sad.it>
12834 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12836 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12837 problems. First check a minipage also if we have some ert-contents
12838 (not only on par->size(), second set the right depth of the paragraph
12839 on the relink to the root-paragraph-list!
12841 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12842 which then did not anymore update the main paragraphs on undo/redo!
12844 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12846 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12847 code. Support all font-changing funcs (even those which are not in
12848 menu currently). Support for reporting font settings in
12849 mathed (disabled until Andre provides a function on mathed's side).
12851 * func_status.h (toggle): small helper function to set toggle
12854 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12856 * tabular_funcs.C: getline -> std::getline
12858 2001-12-21 Juergen Vigna <jug@sad.it>
12860 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12861 accessed and could be 0 (I couldn't generate this but it seems
12864 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12867 * tabular_funcs.h: here and include iosfwd
12869 2001-12-20 Juergen Vigna <jug@sad.it>
12871 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12872 inside inset but undo_par was.
12874 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12876 * Thesaurus.C: always include <config.h> in sources.
12880 * box.h: do not include <config.h> in header files
12882 * text.C (paintLastRow): remove unused variable
12884 * text.C (transformChar):
12886 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12888 * Painter.C (text):
12889 * font.C (width): rewrite to use uppercase() instead of
12892 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12894 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12896 * lyxfind.C: clean up of find failure position change
12898 2001-12-20 Juergen Vigna <jug@sad.it>
12900 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12902 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12903 (TeXRow): added to LaTeX a single tabular row.
12904 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12905 (Latex): simplified and finally good LT-h/f support.
12906 (various_functions): just small adaptions for LT-h/f support.
12908 * tabular_funcs.[hC]: added and moved here all not classfunctions
12911 2001-12-19 Juergen Vigna <jug@sad.it>
12913 * tabular.[Ch]: better support for longtabular options (not finished
12916 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12918 * text.C (paintLastRow): use the label font instead of the font of
12919 the last character to compute the size of *_BOX. This makes more
12920 sense and avoids a crash with empty paragraphs.
12921 Use Painter::rectangle to draw EMPTY_BOX.
12923 2001-12-19 Juergen Vigna <jug@sad.it>
12925 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12926 the paragraphs if the replaced paragraph is not the first one!
12927 Tried to delete not used paragraphs but does not work yet so for
12928 now it's inside #ifdef's and by default off!
12930 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12932 * MenuBackend.C: include "lyx_main.h" instead of declaring
12933 lastfiles (actually was declared as LastFiles* instead of a
12936 2001-12-17 Juergen Vigna <jug@sad.it>
12938 * tabular.C (AppendColumn): applied John's fix
12940 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12944 * BufferView_pimpl.h:
12945 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12948 * box.h: new start of class for above
12950 * lyxfunc.C: ignore space-only minibuffer dispatches.
12951 Show the command name when it doesn't exist
12953 * minibuffer.C: don't add empty lines to the history
12955 * minibuffer.C: add a space on dropdown completion
12957 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12959 * text.C: fix line above/below drawing in insets
12961 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12963 * lyxlength.C (LyXLength): Initialize private variables.
12965 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12968 when inserting error insets.
12970 2001-12-13 Juergen Vigna <jug@sad.it>
12972 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12973 actually sometimes the before-paragraph.
12974 (setUndo): don't clear the redostack if we're not actually undoing!
12976 2001-12-06 Juergen Vigna <jug@sad.it>
12978 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12979 and fixed redoing of main paragraph, so we can use it now ;)
12981 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12983 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12985 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12988 2001-12-13 André Pönitz <poenitz@gmx.net>
12991 * undo_func.C: minor cleanup
12993 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12995 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12996 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12997 font in urw-fonts package which is marked as -urw-fontspecific and
12998 does not work (incidentally, changing the encoding in the
12999 fonts.dir of this package to -adobe-fontspecific fixes the
13002 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13003 is a crash when undoing first paragraph (Juergen, please take a
13004 look). THis does not mean the undo fix is wrong, just that it
13007 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13008 the (Paragraph*) version when needed instead of duplicating the
13011 * text.C (workWidth): use Inset::parOwner to find out where the
13012 inset has been inserted. This is a huge performance gain for large
13013 documents with lots of insets. If Inset::parOwner is not set, fall
13014 back on the brute force method
13016 * paragraph_pimpl.C (insertInset):
13017 * paragraph.C (Paragraph):
13018 (cutIntoMinibuffer): set parOwner of insets when
13019 inserting/removing them
13021 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13023 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13029 * mathed/formulabase.C:
13030 * mathed/math_cursor.[Ch]:
13031 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13034 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13036 * lyxlength.[Ch] (operator!=): new function
13038 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13040 * text.C (workWidth): use Inset::parOwner to find out where the
13041 inset has been inserted. This is a huge performance gain for large
13042 documents with lots of insets. If Inset::parOwner is not set, fall
13043 back on the brute force method
13045 * paragraph_pimpl.C (insertInset):
13046 * paragraph.C (Paragraph):
13047 (cutIntoMinibuffer): set parOwner of insets when
13048 inserting/removing them
13050 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13052 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13054 * tabular-old.C (getTokenValue):
13055 * tabular.C (getTokenValue):
13056 (write_attribute): new versions for LyXLength
13057 (everywhere): adjust the use of widths
13059 * tabular.h: change the type of widths from string to LyXLength
13061 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13063 * paragraph.C: fixed missing line number count when exporting
13064 Environments to LaTeX file
13066 * buffer.C: added informational message for checking line numbers.
13068 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13070 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13071 paragraph, do the 'double space' part, but not the 'empty
13074 * text.C (workWidth): small optimization
13075 (getLengthMarkerHeight): use minimal size for negative lengths.
13077 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13079 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13081 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13083 2001-12-11 André Pönitz <poenitz@gmx.net>
13086 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13088 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13090 * text2.C: keep selection on a setFont()
13092 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13094 * lyx_cb.C: another bv->text misuse, from insert label
13096 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13099 * kbsequence.C: re-instate nmodifier mask
13101 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13103 * lyx_main.h: make lyxGUI private.
13105 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13107 * lyxfind.C: place the cursor correctly on failed search
13109 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13111 * text.C (getLengthMarkerHeight): for small heights, the arrows
13112 are not always on top/bottom of the text
13113 (drawLengthMarker): smaller arrows; take the left margin in
13114 account; draw also vfills.
13116 (paintLastRow): remove special code for vfill and standard spaces,
13117 since everything is handled in drawLengthMarker now.
13119 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13121 * buffer.C (insertErtContents): try to handle font and language
13122 interaction a bit better.g
13124 * ColorHandler.C (updateColor): change the hash to cover the whole
13125 LColor enum, ws cleanup
13126 (getGCLinepars): ditto
13127 (getGCLinepars): only lookup in the linecache once.
13129 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13131 * iterators.C (operator++): Make the iterator more robust
13133 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13135 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13137 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13140 * text.C: better added space drawing
13142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13145 * BufferView2.C: fix layout combo update on inset unlock
13147 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13149 * Makefile.am: don't compile unused files
13151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13155 * LyXAction.C: remove old LFUN_LAYOUTNO
13157 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13159 * paragraph_pimpl.h:
13160 * paragraph_pimpl.C: isTextAt() doesn't need font param
13162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13165 * lyxlex.C: little cleanup
13167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13169 * BufferView_pimpl.C: fix insertAscii for insets
13171 2001-12-05 Juergen Vigna <jug@sad.it>
13173 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13174 set the right font on the "multi" paragraph paste!
13176 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13182 * lyxlength.C: remove out-commented code.
13184 * BufferView_pimpl:
13198 * vc-backend.C: change "while(" to "while ("
13200 * lyxlength.[Ch]: add zero function to check if length is zero or
13202 * lyxgluelength.C: use it
13204 2001-12-05 Allan Rae <rae@lyx.org>
13206 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13207 Works for 2.95.3, from what I understand of Garst's reports this should
13208 work for other g++ versions. We're screwed if the abs(int) definition
13209 changed between bugfix releases of gcc.
13211 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13213 * text.C: fix chapter label offset !
13215 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13218 * text.C: fix hfill at end of line, clean up
13220 2001-12-04 Juergen Vigna <jug@sad.it>
13222 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13223 that we force an update of the inset and it's owners if neccessary.
13225 2001-12-03 Juergen Vigna <jug@sad.it>
13227 * text.C (rowLast): simplified code
13229 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13231 * lyxfunc.C: fix show options on timeout
13233 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13235 * screen.C (topCursorVisible): scroll half a page when the cursor
13236 reached top of bottom of screen
13238 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13240 * minibuffer.C: deactivate on loss of focus
13242 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13244 * vspace.[Ch] (operator!=): add operator.
13246 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13248 * BufferView_pimpl.C: refuse to open an inset when
13249 there's a selection.
13251 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13253 * BufferView_pimpl.C: allow to click on RHS of full row insets
13255 2001-11-30 Juergen Vigna <jug@sad.it>
13257 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13258 insets for undo reasons.
13260 2001-11-28 André Pönitz <poenitz@gmx.net>
13262 * vspace.[Ch]: cosmetical changes
13264 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13274 * kbsequence.C: part re-write of old kb code
13277 * WorkArea.C: remove Lgb_bug_find_hack
13279 2001-11-30 José Matos <jamatos@fep.up.pt>
13281 * buffer.C (makeDocBookFile): add a comment to point a hack.
13282 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13283 Fixed a double write of labels.
13285 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13288 * LaTeX.h Fixed bug in LaTeX class where it would not
13289 re-run latex if no depfiles were changed, but the .dvi was removed.
13291 2001-11-28 André Pönitz <poenitz@gmx.net>
13293 * all the files from the change on 2001/11/26:
13294 use lyx::layout_type instead of LyXTextClass::size_type
13295 use lyx::textclass_type instead of LyXTextClassList::size_type
13297 2001-11-29 Juergen Vigna <jug@sad.it>
13299 * text.C: added support for paragraph::isFreeSpacing()
13301 * buffer.C: same as above
13303 * paragraph.h: inserted isFreeSpacing() function to enable
13304 FreeSpacing inside InsetERT.
13306 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13307 of the paragraph's in the cut/copy buffer to 0!
13309 * text2.C (removeRow): remove the assert as it can!
13311 * lyxtext.h: added helper function firstRow returning firstrow and
13312 made firstrow private again.
13314 * BufferView2.C (lockInset): don't relock if we're already locked!
13316 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13317 the only paragraph.
13318 (removeRow): added Assert::(firstrow)
13320 * debug.C: forgot to add INSETTEXT here.
13322 2001-11-28 Juergen Vigna <jug@sad.it>
13324 * sp_spell.C (initialize): changed error text to more general
13325 spellchecker command use (not only ispell!)
13327 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13329 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13331 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13333 * vspace.C: initialise lyxgluelength on failure
13335 2001-11-28 Allan Rae <rae@lyx.org>
13337 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13338 declaration & definition that looks like a function declaration.
13340 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13342 * BufferView2.C (copy):
13343 (copyEnvironment): do not clear the selection when doing a copy.
13345 * text.C (paintFirstRow): compilation fix
13347 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13349 * tabular.C (Latex): correct line count when writing latex.
13351 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13353 * paragraph_pimpl.h:
13354 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13357 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13361 * LColor.C: change vfillline->added_space
13363 * text.C: add markers and text for added space
13365 * vspace.C: fix comment
13367 2001-11-28 André Pönitz <poenitz@gmx.net>
13369 * paragraph.C: whitespace changes
13370 * all the other files from the change on 2001/11/26:
13371 change *::pos_type into lyx::pos_type
13373 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13375 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13376 language of the document when inserting error insets.
13378 2001-11-26 André Pönitz <poenitz@gmx.net>
13380 * BufferView_pimpl.[Ch]:
13388 * paragraph_pimpl.[Ch]:
13391 * text2.C: reduce header dependencies, introduce type for positions
13393 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13395 * <various>: change to use Alert.h
13397 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13399 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13400 when encountering an unknown token.
13401 (readLyXformat2): Show an error message if there were unknown tokens.
13403 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13406 * BufferView_pimpl.C:
13410 * text2.C: use par->isInset()
13412 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13414 * paragraph_pimpl.h:
13415 * paragraph_pimpl.C: cleanup
13417 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * text2.C (removeRow):
13420 * text.C (setHeightOfRow): remove useless (and costly) call to
13423 2001-11-20 Allan Rae <rae@lyx.org>
13425 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13426 Now need Inset*::checkInsertChar() to return true for appropriate
13427 cases so that the characters in the minibuffer will actually be
13430 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13432 * text.C: change the order of the includes.
13433 (workWidth): initialize it at once.
13434 (workWidth): make maxw unsigned
13435 (setHeightOfRow): remove unused variable (inset)
13436 (selectSelectedWord): remove unused variable (inset)
13437 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13439 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13442 server is not running.
13444 (closeConnection): add debug info when server is disabled.
13446 * ColorHandler.C (getGCForeground): send debug message to GUI
13449 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13451 * kbmap.C (bind): modify because return conventions of
13452 kb_sequence::parse have changed.
13454 * kbsequence.C (parse): only ignore spaces and not any stupid
13455 control character. This avoids tests like s[i] <= ' ', which are
13456 guaranteed to fail with 8bit characters and signed chars.
13457 Change return code to string::npos when there have been no error
13458 (0 was a bad idea when error is at first character)
13460 2001-11-14 José Matos <jamatos@fep.up.pt>
13463 * buffer.C (simpleDocBookOnePar): removed unused argument.
13465 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13468 insets which are part of a word. Paragraph::isLetter takes care of
13469 that now. Use Paragraph::isInset to identify insets.
13470 (selectSelectedWord): do not test for hyphenation break.
13472 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13473 that protected spaces are considered as spaces.
13475 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13478 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13481 * lyxserver.C: fix it. and small cleanup.
13483 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13485 * BufferView_pimpl.C: use inline helpers
13488 * LaTeXFeatures.C: fix typos
13491 * Spacing.C: move spacing_string into class
13493 * ToolbarDefaults.C: move stuff into namespace anon
13495 * layout.h: update enum
13497 * lyxfunc.C: use better debug
13499 * minibuffer.h: fix typo
13503 * WorkArea.C: add and use Debug::WORKAREA
13507 * text2.C: code re-organisation, inline helpers
13509 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13511 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13512 std::vector.empty().
13514 2001-11-09 Allan Rae <rae@lyx.org>
13516 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13517 '\n's after tables. Tabular and ERT inset work now makes this no
13520 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13523 * minibuffer.C: fix crash, improve drop-down completion
13525 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13528 * lyxserver.C: invalidate fd's when doing endPipe()
13530 2001-11-08 José Matos <jamatos@fep.up.pt>
13532 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13533 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13536 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13538 2001-11-07 José Matos <jamatos@fep.up.pt>
13541 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13544 * buffer.C (sgmlOpenTag):
13545 * buffer.C (sgmlCloseTag): removed debug info.
13547 * buffer.h (sgmlOpenTag):
13548 * buffer.h (sgmlCloseTag): made public.
13550 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13552 * buffer.C (saveParamsAsDefaults):
13553 * lyx_cb.C (MenuLayoutSave): remove
13555 * LyXAction.C (init):
13557 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13559 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13561 * buffer.C (setPaperStuff): removed from here...
13563 * bufferparams.C (setPaperStuff): ... and moved there.
13565 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13569 * XFormsView.C: add support for drop-down completion
13571 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13573 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13576 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13578 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13581 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13583 * lyx_main.C: change ref to known bugs
13585 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13587 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13588 to work around older babel problems.
13590 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13592 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13594 2001-10-24 Juergen Vigna <jug@sad.it>
13596 * tabular-old.C (ReadOld): below variable changes reflected.
13598 * tabular.[Ch]: added ltType struct for longtable header/footer
13599 defines and changed all instances where they are used. Added
13600 future support for double top/bottom rows.
13602 2001-10-24 José Matos <jamatos@fep.up.pt>
13604 * buffer.h (docbookHandleCaption):
13605 * buffer.C (docbookHandleCaption): removed unused function.
13606 (makeDocBookFile): moved docbook supported version to v4.1.
13608 2001-10-24 José Matos <jamatos@fep.up.pt>
13611 * tabular.C (docbookRow): new function to export docbook code of a row.
13612 (DocBook): now honors the longtable flags.
13614 2001-10-23 José Matos <jamatos@fep.up.pt>
13617 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13618 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13620 * buffer.C (makeLinuxDocFile):
13621 (makeDocBookFile): reworked the preamble, more clean, and with
13622 support for lyx defined entities. Changed the document declaration
13623 to be more XML friendly.
13625 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13626 if we need to output XML that should be done with a filter.
13628 2001-10-22 Juergen Vigna <jug@sad.it>
13630 * sp_pspell.h (class PSpell): add alive function needed in the
13631 controller to see if the spellchecker could be started.
13633 2001-10-22 Juergen Vigna <jug@sad.it>
13635 * buffer.C (insertStringAsLines): modify the font for inserting
13636 chars in certain conditions by calling checkInsertChar(font).
13638 2001-10-19 Juergen Vigna <jug@sad.it>
13640 * text.C (workWidth): use getRow instead of wrong algorithm.
13641 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13643 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13648 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13650 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * text.C (workWidth): do not search for the exact row when
13653 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13654 optimization for big documents.
13656 2001-10-18 Juergen Vigna <jug@sad.it>
13658 * text.C (workWidth): new function with added Inset * parameter.
13660 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13664 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13665 change return type of getColumnNearX.
13668 * text.C (changeRegionCase): use uppercase/lowercase instead of
13671 (rightMargin): simplify code by factoring out the uses of
13676 (appendParagraph): use Paragraph::size_type
13678 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * vspace.C (asLatexString): add a missing break
13682 2001-10-15 Herbert Voss <voss@perce.de>
13684 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13686 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13688 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13691 2001-10-10 André Pönitz <poenitz@gmx.net>
13693 * lyxfunc.C: removed greek_kb_flag.
13695 2001-10-10 Herbert Voss <voss@perce.de>
13697 * lyx_main.C: delete global string help_lyxdir.
13699 2001-10-09 Herbert Voss <voss@perce.de>
13701 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13703 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13705 * lyx_main.C: added global string help_lyxdir.
13707 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13709 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13711 * lyxrc.C (set_font_norm_type): support iso8859-4
13713 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13715 * LaTeX.C (deplog): add another regex for MikTeX
13717 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13719 * lyxrc.C (set_font_norm_type): support iso8859-3
13721 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13723 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13725 * LaTeXFeatures.C: remove special case of french and index
13727 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13728 before \begin{document}). This solves several incompatibilities.
13730 2001-10-03 Garst Reese <reese@isn.net>
13732 * lyx_cb.C: change CheckTex error msg.
13734 2001-10-03 José Matos <jamatos@fep.up.pt>
13736 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13738 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * .cvsignore: update
13742 * lyx_main.C (commandLineVersionInfo): use new style version info.
13744 * buffer.C (writeFile):
13746 (makeLinuxDocFile):
13747 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13749 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13751 * version.h: update to use stuff in version.C
13753 * version.C.in: new file. Contains version information determined
13754 at compile time. This is a merging of version.h and
13757 2001-10-03 Juergen Vigna <jug@sad.it>
13759 * BufferView_pimpl.C (update): don't change "dirty" status in
13762 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13764 * WorkArea.C (c-tor): re-position version string slightly.
13766 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13768 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13769 revert to previous code.
13771 WorkArea.[Ch]: (show, destroySplash): methods removed.
13773 WorkArea.C: rework code so that it's an amalgam of the codes before and
13774 after the splash screen was moved to WorkArea.
13776 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13779 * vspace.C (inPixels):
13782 * buffer.C (insertStringAsLines):
13783 (asciiParagraph): fix types to be large enough
13785 * lyxlex_pimpl.h: change member status from short to int
13787 * layout.h: fix type of endlabeltype
13790 * kbsequence.C (parse): change return type to string::size_type
13792 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13795 * Bullet.C (bulletSize):
13796 (bulletEntry): do not use short ints as parameters
13798 * BufferView2.C (insertLyXFile): change a char to an int.
13800 * WorkArea.C (WorkArea): remove unneeded floats in computation
13802 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13804 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13806 * paragraph.C (asString): Do not ignore newline/hfill chars when
13807 copying to the clipboard.
13809 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13811 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13812 after a multi-line inset.
13814 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13816 * paragraph.C (validate): Set NeedLyXFootnoteCode
13818 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13820 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13821 and decrease-error to decrease.
13823 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13825 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13826 it more readable (should be equivalent)
13828 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13830 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13832 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13834 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13835 of a cursor (row, etc.) after a character has been deleted
13836 (deleteEmptyParagraphMechanism): call the method above on _all_
13837 cursors held by the LyXText when a double space has been
13840 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13842 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13844 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13846 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13847 background. Use greyOut() and the new show() methods to toggle between
13848 the foreground and background. Add code to remove the splash after
13849 its initial showing.
13851 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13852 (create_forms): no longer call Dialogs::showSplash.
13854 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13856 * .cvsignore: add version_info.h
13858 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13860 * version_info.h.in: new file
13862 * Makefile.am: add version_info.h.in
13864 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13865 version_info.h instead of VERSION_INFO
13867 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13869 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13870 The ERT inset now returns string().
13872 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13874 * lyxtext.h, text.C (selectNextWord): renamed as
13875 selectNextWordToSpellcheck.
13877 * text.C (selectNextWordToSpellcheck): Modified to not select
13878 words inside an ERT inset.
13880 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * lyx_cb.C (MenuLayoutSave): change a bit the question
13884 * sp_base.h: include <sys/types.h>
13886 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13888 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13890 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13892 * several files: fix typos in user-visible strings
13894 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13896 * text2.C (pasteSelection): do not set the selection, since it
13897 will be cleared later. Actually, the intent was to fix the way the
13898 selection was set, but I figured rmoving the code was just as good.
13900 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13902 * FontLoader.C (available): Check if font is available without
13905 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13907 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13909 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13911 * lyxrc.[Ch]: added display_graphics variable and associated code.
13913 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * bufferparams.C (hasClassDefaults): new method. Returns true if
13916 the buffer parameters correspond to known class defaults
13918 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13920 * XFormsView.C (show): set minimum size to the main window.
13922 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13924 * text2.C (copySelection):
13926 * lyxfind.C (LyXReplace):
13927 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13928 LyXText::selectionAsString.
13930 * paragraph.C (asString): add "label" argument to the second form
13932 * text2.C (selectionAsString): add "label" argument and pass it to
13933 Paragraph::asString.
13935 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * lyx_main.C (commandLineHelp): remove version information
13939 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13941 * lyx_main.C: add -version commandline option
13943 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * paragraph.h: make the optional constructor arg required instead.
13946 some modifications to other files because of this.
13948 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13950 * lyxserver.C (C_LyXComm_callback): make it static
13952 * lyx_main.C (error_handler): make it static
13954 * lyx_gui.C (LyX_XErrHandler): make it static
13956 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13958 * WorkArea.C: make the extern "C" methods static.
13960 * Makefile.am (lyx_LDADD): simplify
13962 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13964 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13965 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13967 * LyXAction.C (init):
13968 * lyxfunc.C (dispatch): associated code removal.
13970 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13972 * lyxfont.h (isSymbolFont): shut off warning
13974 * text.C (setHeightOfRow):
13975 (getVisibleRow): fix crash with empty paragraphs which have a
13978 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13980 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13983 2001-09-04 José Matos <jamatos@fep.up.pt>
13986 * tabular.C (docbook): rename docBook method to docbook.
13988 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13990 * Makefile.am: add dependencies to main.o.
13992 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13994 * FontLoader.C (available): Return false if !lyxrc.use_gui
13996 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13998 * FontInfo.C (query):
13999 * converter.C (view):
14000 * importer.C (Import):
14001 * exporter.C (Export): Can not -> cannot.
14003 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14005 * BufferView_pimpl.C: allow to create index inset even if
14008 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14010 * buffer.C (getLists): replace boost::tie code with an explicit pair
14011 as boost::tie can break some compilers.
14013 * iterators.h: Added a std:: declaration to the return type of
14016 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14018 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14021 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14023 * iterators.[Ch]: New files. Provide paragraph iterators.
14025 * buffer.C (changeLanguage): Use paragraph iterators.
14026 (isMultiLingual): ditto
14028 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14030 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14032 * FontLoader.C: Support for cmr font.
14034 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14036 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14037 (available): New method.
14039 * FontInfo.C (getFontname): Use scalable fonts even when
14040 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14043 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14045 * converter.C (Formats::view): reverted! Incorrect fix.
14047 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14049 * converter.C (Formats::view): only output the -paper option
14050 if the dvi viewer is xdvi, thereby fixing bug #233429.
14052 2001-08-23 Herbert Voss <voss@perce>
14054 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14056 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14058 * Spacing.h (Spacing): Set space to Default on in the default
14061 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * vc-backend.h (RCS::versionString): add RCS to version
14064 (CVS::versionString): add CVS to version
14066 * vc-backend.C (scanMaster): do not add CVS to version.
14067 (scanMaster): do not add RCS to version
14069 * lyxvc.C (versionString): new method
14071 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14073 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14075 * Spacing.C (set): initialize fval
14077 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14079 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14082 2001-08-16 Juergen Vigna <jug@sad.it>
14084 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14086 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14088 * BufferView_pimpl.C:
14091 * text2.C: setParagraph takes linespacing now
14093 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14095 * LyxAction.C: add internal LFUN_CITATION_INSERT
14097 * LyXView.C: actually apply fix
14099 * bufferlist.C: fix open non-existent file
14101 * lyxfind.C: fix indentation
14103 * lyxfunc.C: remove unneeded assert, fix typo
14105 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14107 * MenuBackend.C: use "Floatname List"
14109 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14111 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14112 when converting LaTeX layout to insetERT.
14113 Generate a non-collapsed float when reading old float
14115 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14117 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14120 2001-08-13 Juergen Vigna <jug@sad.it>
14122 * text.C (fill): return 0 instead of 20 as this seems to be the more
14125 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14127 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14130 2001-08-13 Juergen Vigna <jug@sad.it>
14132 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14134 (SearchBackward): comment out the unlocking of the inset_owner this
14135 should not be needed!
14137 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14139 * Many files: Remove inherit_language, and add latex_language
14141 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14142 collapsible insets.
14144 2001-08-10 Juergen Vigna <jug@sad.it>
14146 * text.C (prepareToPrint): fixed hfill-width in draw!
14148 * BufferView2.C (selectLastWord): save the selection cursor as this
14149 now is cleared in the function LyXText::clearSelection!
14151 2001-08-08 Juergen Vigna <jug@sad.it>
14153 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14154 BACKSPACE type functions.
14156 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14157 is only cutted from the document but not put in the cut-buffer, where
14158 still the old stuff should be.
14160 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14162 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14164 * tabular.C (SetWidthOfCell): fixed special case where the width
14166 (LeftLine): handle '|' in align_special.
14168 (LeftAlreadyDrawed): ditto
14169 (SetWidthOfCell): ditto
14171 2001-08-07 Juergen Vigna <jug@sad.it>
14173 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14175 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14177 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14178 * lyxlex.[hC]: ditto
14180 2001-08-06 Juergen Vigna <jug@sad.it>
14182 * text.C (getVisibleRow): fix up row clearing a bit.
14184 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * minibuffer.C: make sure the X server sees the changes in the input.
14188 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14190 * paragraph.C (getFont): split into...
14191 (getLabelFont): this
14192 (getLayoutFont): and this
14193 * paragraph_pimpl.C (realizeFont): calling this
14195 * text2.C (getFont): split into...
14196 (getLayoutFont): this
14197 (getLabelFont): and this
14198 (realizeFont): all three calling this
14200 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14203 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14205 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14207 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14209 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14210 layouts from the Quote inset insertion.
14212 2001-08-03 Juergen Vigna <jug@sad.it>
14214 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14216 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14217 only if status not is already CHANGED_IN_DRAW (second level).
14219 * text.C (draw): don't set the need_break_row when inside an
14222 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14224 * buffer.C (parseSingleLyXformat2Token): handle more latex
14227 * bufferview_funcs.[hC]: change function names to
14228 begin with small char, adjust other files.
14230 2001-08-02 André Pönitz <poenitz@gmx.net>
14233 BufferView_pimpl.C: remove broken special code for math-greek
14235 2001-08-02 Juergen Vigna <jug@sad.it>
14237 * BufferView_pimpl.C (update): redone this function so that we
14238 update the text again if there was a CHANGE_IN_DRAW.
14240 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14241 (drawFromTo): added a new internal bool which is used by draw() and
14243 (general): some cursor drawing problems fixed.
14245 2001-08-01 Juergen Vigna <jug@sad.it>
14247 * lyxfind.C (LyXFind): fixed
14248 (SearchForward): ditto
14249 (SearchBackward): ditto
14251 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14252 spurius drawing of the cursor in the main area.
14254 * text2.C (status): small fix which could lead to a segfault!
14255 (clearSelection): remove unneeded BufferView param.
14257 2001-08-01 André Pönitz <poenitz@gmx.net>
14259 * lyxfunc.C: small change due to changed mathed interface
14261 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14263 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14265 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14267 * lyxfunc.c: fail gracefully if file doesn't exist
14272 * BufferView_pimpl.C: IsDirWriteable() proto changed
14274 * LyXView.C: fix updateWindowTitle() to store the last title
14276 2001-07-31 Juergen Vigna <jug@sad.it>
14278 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14279 the font (wrong since using of Paragraph::highestFontInRange).
14281 * paragraph.C (highestFontInRange): added a default_size parameter.
14283 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14284 (setHeightOfRow): reformat
14286 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14288 * converter.[hC] + affected files: move to (inital-char)lowercase
14291 * ParagraphParameters.C (ParagraphParameters): remove commented code
14293 * PainterBase.[Ch]: remove commented code
14295 * LaTeXFeatures.h: add "bool floats" for float.sty
14297 * LaTeXFeatures.C (LaTeXFeatures): init floats
14298 (require): handle float
14299 (getPackages): do it with floats
14301 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * BufferView_pimpl.C (Dispatch): improve handling of
14304 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14306 * commandtags.h: #include lyxfont.h here temporarily to avoid
14309 * bufferlist.h: include LString.h here.
14311 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14313 * text2.C (getStringToIndex): new method.
14315 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14317 * *: Reduced header file dependencies all over.
14319 2001-07-30 Baruch Even <baruch@lyx.org>
14321 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14323 2001-07-29 Baruch Even <baruch@lyx.org>
14325 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14327 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * ParameterStruct.h (endif): add a default constructor to make
14330 sure that all variables is initialized.
14332 * ParagraphParameters.C (ParagraphParameters): adjust
14334 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14336 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14337 index; also, check that there is something to index, and that it
14338 does not span over several paragraphs.
14339 (doubleClick): use WHOLE_WORD_STRICT for double click.
14341 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14343 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14346 2001-07-26 Baruch Even <baruch@lyx.org>
14348 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14349 an InsetFig figure, backwards compatible reading of old figure code.
14351 2001-07-27 Juergen Vigna <jug@sad.it>
14353 * text2.C: font.realize function adaption.
14355 * text.C (draw): add a warnings lyxerr text if needed.
14357 * layout.C: font.realize function adaption.
14359 * language.C: add inherit_language and implement it's handlings
14361 * bufferview_funcs.C (StyleReset): remove language parameter from
14362 font creation (should be language_inherit now).
14364 * bufferparams.C (writeFile): handle ignore_language.
14366 * paragraph.C (getFontSettings): the language has to be resolved
14367 otherwise we have problems in LyXFont!
14369 * lyxfont.C (lyxWriteChanges): added document_language parameter
14370 (update): removed unneeded language parameter
14372 * paragraph.C (validate): fixed wrong output of color-package when
14373 using interface colors for certain fonts in certain environments,
14374 which should not seen as that on the final output.
14376 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14378 * BufferView_pimpl.C:
14383 * LyXAction.C: add thesaurus support
14386 * lyxfind.C: add "once" parameter, for thesaurus, to not
14387 move to the next match
14389 2001-07-26 Juergen Vigna <jug@sad.it>
14391 * lyxfont.C (realize): honor ignore_language too!
14394 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14396 * text.C (draw): one place more for ignore_language to not draw
14399 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14401 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14403 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14405 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14406 the minipage conversion problem.
14408 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14413 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * BufferView.h: don't forward declare WorkArea
14417 * BufferView.C: don't include WorkArea.h
14419 2001-07-25 André Pönitz <poenitz@gmx.net>
14423 * lyxfunc.C: new LFUN 'math-space'
14425 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14427 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * text2.C (toggleInset): call open/close
14431 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14433 * lyxfunc.C (dispatch): add debug for the disabled case
14435 * font.C (buttonText): make similar to rectText
14437 * buffer.C (readInset): comment out parsing of insetlist and
14440 * PainterBase.C (rectText): small correction
14442 * BufferView_pimpl.C: comment out insettheorem and insetlist
14443 * LyXAction.C: ditto
14444 * commandtags.h: ditto
14446 2001-07-24 Juergen Vigna <jug@sad.it>
14448 * text.C (draw): honor the ignore_language.
14450 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14452 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14454 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14457 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14459 * lyxtext.h: remove unused (and unimplemented) methods
14461 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14463 * text.C (getVisibleRow): honor background color
14466 * Painter.h: remove default color argument for fillRectangle
14468 * text.C (backgroundColor): new method
14470 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * text.C (getVisibleRow): adjust
14474 * font.[Ch] (rectText): new method, metrics
14475 (buttonText): new method, metrics
14477 * PainterBase.[hC]: make rectText and buttonText always draw and take
14480 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14482 * ToolbarDefaults.C (read):
14483 * MenuBackend.C (read): allow escaping in all strings
14485 * BufferView_pimpl.C (insertAndEditInset): new method.
14486 (Dispatch): use insertAndEditInset whenever appropriate.
14488 * BufferView_pimpl.C (insertNote): removed
14490 * BufferView_pimpl.C (smartQuote): new method, moved from
14491 BufferView; if an insetquote cannot be inserted, insert a '"'
14494 * BufferView2.C: remove insertCorrectQuote();
14496 * lyxfunc.C (getStatus): Add support for all remaingin
14497 inset-insert lfuns.
14499 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14501 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14502 command (necessary to pass " as parameter of self-insert.
14504 * text.C (selectWordWhenUnderCursor):
14505 (selectWord): add word_location parameter
14506 (selectWordWhenUnderCursor): same + remove special code for word
14508 (selectNextWord): use kind() to guess type of insetspecialchar,
14511 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14512 (insertErtContents): create ert insets as collapsed.
14513 (readInset): better compatibility code for Info inset.
14515 2001-07-20 Juergen Vigna <jug@sad.it>
14517 * lyxfunc.C (dispatch): use always LyXFind now!
14519 * text2.C (init): add a reinit flag so that the LyXText can be
14520 reinited instead of deleted and reallocated (used in InsetText).
14522 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14528 2001-07-18 Juergen Vigna <jug@sad.it>
14530 * text.C (selectNextWord): handle insets inside inset by calling
14531 always the bv->text functions so that we can go up the_locking_inset!
14533 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14534 in strange locations when inside an inset!
14536 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14537 handling to include insets.
14539 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14541 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14543 * LyXAction.C (init):
14545 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14546 LIGATURE_BREAK, since the name is so stupid.
14548 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14550 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14553 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14555 * sp_form.[Ch]: remove.
14557 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14559 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14562 * src/buffer.C (readInset): ditto.
14564 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14566 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14567 menuSeparator(), endOfSentenceDot(), ldots() and
14568 hyphenationPoint(), which are therefore removed.
14569 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14571 * LyXAction.C (init):
14572 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14574 * paragraph.C (getWord): removed.
14576 * BufferView_pimpl.C (Dispatch): use last word or selection for
14577 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14579 * lyx_main.C (queryUserLyXDir): do not ask before creating
14580 user_dir, except if it has been named explicitely.
14582 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14584 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14585 a document of zero size.
14587 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14589 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14590 approriately in the c-tor and in require().
14591 (getPackages): output the appropriate LaTeX for natbib support.
14593 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14594 variables "use_natbib" and "use_numerical_citations" when reading the
14596 (readInset): read the various natbib cite commands.
14597 (validate): white-space change.
14599 * bufferparams.[Ch]: new variables "bool use_natbib" and
14600 "bool use_numerical_citations".
14601 (writeFile): output them in the LyX file.
14603 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14605 * lyxfunc.C (getStatus): add support for all the inset insertion
14608 * text2.C (insertInset):
14609 * paragraph.C (insetAllowed):
14610 * BufferView_pimpl.C (insertInset): update to take in account the
14611 renaming of insertInsetAllowed
14613 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14615 * text2.C (getInset): new method. returns inset at cursor position.
14617 * BufferView_pimpl.C (Dispatch): changes because of this.
14619 * LyXAction.C (init): rename open-stuff to inset-toggle.
14621 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14623 * text2.C (toggleInset): renamed from openStuff; use
14626 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14628 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14630 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14632 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14634 * buffer.C (readLyXformat2): Add filename to the error dialog
14636 2001-07-18 Juergen Vigna <jug@sad.it>
14638 * tabular.C (GetCellNumber): put an assert here instead of the check!
14640 2001-07-17 Juergen Vigna <jug@sad.it>
14642 * BufferView_pimpl.C (toggleSelection): adapted too.
14644 * text.C (selectNextWord): adapted for use with insets.
14645 (selectSelectedWord): ditto
14647 2001-07-17 Juergen Vigna <jug@sad.it>
14649 * sp_spell.C (PSpell): fix initialitation order.
14651 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14653 * paragraph.C: spacing
14655 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14657 * sp_spell.C: repair language selection for pspell
14659 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14661 * lyxfunc.h: change more methods to begin with lower char.
14663 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14665 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14666 for unknown layouts.
14668 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14670 * buffer.C (readLyXformat2): Generate an error dialog if there are
14673 2001-07-16 Juergen Vigna <jug@sad.it>
14675 * sp_spell.C: always compile ISpell part.
14677 * lyxrc.C: added use_pspell entry and it's handling.
14679 2001-07-13 Juergen Vigna <jug@sad.it>
14681 * sp_spell.C: removed double includes.
14683 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14685 Consistent use of Lsstream.h:
14686 * Lsstream.h: added using std::stringstream for consistencies sake.
14688 * buffer.C: removed using std::stringstream
14690 * lyxfont.C (stateText):
14691 * paragraph.C (asString):
14692 * text.C (selectNextWord, selectSelectedWord):
14693 * text2.C (setCounter):
14694 * vspace.C (asString, asLatexString):
14695 std::ostringstream -> ostringstream.
14697 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14699 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14700 * commandtags.h: add LFUN_HELP_ABOUTLYX
14701 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14703 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14705 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14707 * lyx_gui_misc.C: remove spellchecker
14708 * lyxfunc.C: showSpellchecker
14710 * sp_ispell.h: added
14711 * sp_pspell.h: added
14712 * sp_spell.C: added
14713 * sp_form.[Ch]: removed
14714 * spellchecker.[Ch]: removed
14716 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14718 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14720 (simpleTeXSpecialChars): Simply print the input character without
14721 any special translation if pass_thru is set.
14723 * layout.h: Added bool pass_thru to layout class for being able to
14724 implement pass through of a paragraph for Literate Programming.
14726 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14727 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14728 * layout.C (Read): add "passthru" to list of layout tags and add
14729 code to set the pass_thru boolean when it is read.
14731 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * trans_decl.h: remove allowed from KmodInfo
14735 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14736 remove allowed code
14739 * paragraph_pimpl.C (erase): use boost::prior
14741 * Painter.C (text): use data() instead of c_str() when length is
14743 * WorkArea.C (putClipboard): ditto
14744 * font.h (width): ditto
14746 * BufferView2.C: use it-> instead of (*it). for iterators
14748 * paragraph_pimpl.C: ditto
14749 * paragraph.C: ditto
14750 * minibuffer.C: ditto
14751 * language.C: ditto
14753 * encoding.C: ditto
14754 * counters.C: ditto
14755 * converter.C: ditto
14757 * Variables.C: ditto
14758 * TextCache.C: ditto
14759 * MenuBackend.C: ditto
14760 * LyXAction.C: ditto
14762 * FloatList.C: ditto
14763 * DepTable.C: ditto
14764 * ColorHandler.C (LyXColorHandler): ditto
14766 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14768 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14770 * text2.C (openStuff): reintroduce this method (which had been
14771 nuked in NEW_INSETS frenzy).
14773 * lyxfunc.C (Dispatch): when an action has not been handled, use
14774 its name in the error message, not its number.
14776 * paragraph.C (inInset): change method name to begin with lowercase.
14779 * text2.C: updates because of this.
14781 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14783 * ToolbarDefaults.C (add): add spaces in error message
14785 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14788 (readLyXformat2): rename return_par to first_par, use lyxlex's
14789 pushToken and remove the manual push handling.
14790 (parseSingleLyXformat2Token): add another ert comp. variable:
14791 in_tabular, rename return_par to first_par. handle newlines better
14793 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14797 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * text2.C (getParFromID): removed
14801 * buffer.C (getParFromID): new method moved form lyxtext.
14802 * BufferView2.C (insertErrors): adjust
14803 (setCursorFromRow): adjust
14804 * BufferView_pimpl.C (restorePosition): adjust
14805 * lyxfunc.C (Dispatch): adjust
14806 * undo_funcs.C (textUndo): adjust
14808 (textHandleUndo): adjust
14809 (textHandleUndo): adjust
14811 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * buffer.C: up' the LYX_FORMAT
14815 * lyxfont.h: turn NO_LATEX on as default
14817 * buffer.C (insertErtContents): new methods of tex style compability.
14818 (parseSingleLyXformat2Token): use it several places.
14819 * tabular.C (OldFormatRead): and here
14821 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * text2.C: remove some commented code.
14826 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14827 * trans.C: changes because of the above.
14829 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14831 * text2.C (setCounter): Fix counters bug with bibliography layout.
14833 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14835 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14836 own member functions
14837 (simpleTeXSpecialChars): ditto
14839 2001-07-06 Juergen Vigna <jug@sad.it>
14841 * a lot of files: changed the access to LyXText::status and the
14842 call of undo-functions.
14844 * undo.[Ch]: added a inset_id to the undo informations.
14846 * undo_funcs.[Ch]: added and moved here all undo functions.
14848 * lyxtext.h: give the status enum a weight, made status_ a private
14849 variable and made accessor functions for it, removed the whole bunch
14850 of undo-functions as they are now in their own file, make some
14851 functions publically available. Added function ownerParagraph with
14854 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14855 made InInset() a const function, added getParFromID() function.
14857 * buffer.[Ch]: added const version for inset_iterator functions,
14858 added getInsetFromID() function.
14860 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14861 changed undo functions for new version.
14863 2001-07-05 Juergen Vigna <jug@sad.it>
14865 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14866 unknow mechanism does not call the proper constructor but only this
14867 one also if I request the other!?
14869 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14871 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14873 * text2.C (LyXText): use initialization lists.
14875 * lyxtext.h (Selection): initialize set_ and mark_
14876 (init): remove method
14878 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14880 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14882 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14884 * screen.[Ch]: change method names to begin with lowercase
14886 * BufferView_pimpl.C (updateScrollbar): simplify further and
14887 hopefully make it a bit faster.
14889 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14892 calling directly xforms functions.
14894 * Painter.C (Painter):
14895 * lyx_cb.C (MenuWrite):
14896 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14899 * lyx_gui.C: remove bogus guiruntime extern declaration.
14901 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14905 (redoDrawingOfParagraph): ditto
14906 (redoParagraphs): ditto
14907 (cutSelection): don't create a object for CutAndPaste use the
14908 static method directly
14909 (pasteSelection): ditto
14911 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14914 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14916 * modifications to some other files because of this.
14918 * Makefile.am (lyx_SOURCES): add XFormsView
14920 * XFormsView.[Ch]: new files
14922 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14923 the main window. Move the gui dependent stuff to XFormsView
14925 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * tabular.C (GetCellInset): update cur_cell also in the row/col
14928 version of this function.
14930 * lyxfunc.C: no need to include figure_form.h here.
14936 * lyxvc.C: no need to include forms.h here.
14938 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14940 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14942 * lyxfunc.C (Dispatch):
14944 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14945 constructor argument.
14947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * paragraph.C (Paragraph): dont't clear, and just set layout.
14950 (makeSameLayout): use params's copy contructor.
14952 * ParagraphParameters.[Ch] (makeSame): delete method
14954 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14956 * Variables.[Ch]: fix indentation, rename set to isSet
14958 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * lyxfunc.C (Dispatch): fix typo
14962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14967 * bufferlist.C: include assert.h for emergencyWrite().
14969 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14971 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14972 give up at last (bug #425202) !
14974 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14980 * spellchecker.C: strip spellchecker options and bring up
14981 preferences tab instead
14983 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14986 the istringstream constructor
14988 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * paragraph.C (getLayout): fix return value
14992 * paragraph.h: do not declare getLayout as inline.
14994 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14996 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14998 * lyxcursor.h (operator<): new func
14999 (operator>): new func
15000 (operator>=): new func
15001 (operator<=): new func
15003 * text.C (changeCase): use selection.start and selection.end
15004 (changeRegionCase): require from to be <= to. Require par to be a
15007 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15009 2001-06-27 Juergen Vigna <jug@sad.it>
15011 * text.C (cursorLeftOneWord): changed to return the cursor and added
15012 overlay with BufferView * parameter which calls this one.
15014 (selectWord): use new getWord function.
15015 (changeCase): renamed from changeWordCase as and extended to work
15016 also on selections.
15018 * lyxtext.h: added enum word_location
15020 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15021 changeCase as this operates now also on selections.
15023 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15025 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15027 * many files: send debug output to Debug::INFO instead of
15030 * converter.C (View):
15032 (Move): send debug output to Debug::FILES instead of console.
15034 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15036 * lyxfunc.C (getStatus): use func_status
15038 * func_status.h: new header, describing the results of
15039 LyXFunc::getStatus;
15041 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15044 2001-06-25 The LyX Project <jug@sad.it>
15046 * buffer.C (sgmlOpenTag):
15048 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15050 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15052 * text2.C: remove some dead code
15054 * tabular.C (GetCellInset): store the last cell checked (gotten)
15056 * tabular.h: add the helper for the speedup
15058 * lyxtext.h: remove some dead code
15060 2001-06-26 The LyX Project <Asger>
15062 * paragraph.C: Change export to LaTeX of alignment to
15063 \begin{center} and family for better roundtrip work with reLyX.
15065 * Tune the math drawing a bit.
15067 2001-06-25 The LyX Project <Asger>
15069 * LColor.C (LColor): New color for math background. New color
15072 2001-06-25 The LyX Project <jug@sad.it>
15074 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15076 * lyxfunc.C (Open):
15077 * bufferlist.C (newFile): do not restrict to files ending with
15080 * BufferView_pimpl.C (MenuInsertLyXFile):
15082 2001-06-24 The LyX Project <jug@sad.it>
15084 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15087 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15089 * lyxtext.h: rename most methods to begin with a small char.
15090 Lots of changes because of this.
15092 * paragraph.C (Paragraph): do not call fitToSize
15093 (erase): call Pimpl::erase
15094 (insertChar): call Pimpl::insertChar
15095 (insertInset): call Pipl::insertInset
15096 (breakParagraph): do not call fitToSize
15097 (breakParagraphConservative): do not call fitToSize
15098 (fitToSize): remove method
15100 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15102 2001-06-24 The LyX Project <Asger>
15104 * Fix Qt compilation^2
15106 2001-06-24 The LyX Project <jug@sad.it>
15108 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15109 depthHook(getDepth()-1).
15112 * ParagraphParameters.h:
15113 * ParameterStruct.h: change type of depth to unsigned int ==
15114 depth_type. Many adaptations to other files before of that.
15116 2001-06-24 The LyX Project <Asger>
15118 * Fix Qt compilation.
15120 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * paragraph.h: renamed several methods to begin with small letter.
15123 several changes to many parts of the code because of this.
15125 2001-06-23 The LyX Project <jug@sad.it>
15127 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15128 rewritten to discard all double spaces when KeepEmpty is off
15129 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15130 to only handle newlines but not fiddle with spaces and friends.
15132 * lyxfunc.C (MenuNew): when doing 'new from template', use
15133 template_path as default directory
15135 2001-06-23 The LyX Project <Asger>
15137 * Clean-up of header file includes all over
15138 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15140 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * paragraph.h: renamed from lyxparagraph.h
15144 2001-06-23 Asger <lyx@violet.home.sad.it>
15146 * Buffer.h: Removed Buffer::resize
15147 * BufferList.h: Removed BufferList::resize
15148 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15149 the document lazily when we change the width, or the font settings.
15151 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15153 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15155 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15157 * buffer.h: remove out of date comment
15159 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15162 * screen.C: fix "theoretical" GC leak
15164 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15166 * LaTeX.C (scanAuxFile):
15167 (deplog): remove trailing \r when reading stream (useful under
15170 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15172 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15173 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15174 and BufferView::theLockingInset(Inset*), so should use them and not
15175 access bv_->text->the_locking_inset directly.
15177 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15179 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15182 * tex-defs.h: remove old unused file
15184 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15186 * BufferView_pimpl.C: fix typo, remove minibuffer message
15187 when buffer has loaded
15189 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15191 * lyxfunc.C (Dispatch): use stringstream
15192 (MenuNew): use stringstream
15193 (Open): use stringstream
15195 * importer.C (Import): use stringstream
15197 * bufferview_funcs.C (CurrentState): use stringstream
15199 * LaTeX.C (run): use stringstream
15201 * BufferView_pimpl.C (savePosition): use stringstream
15202 (restorePosition): use stringstream
15203 (MenuInsertLyXFile): use stringstream
15205 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15218 * vspace.C: removed // -*- C++ -*- as first line.
15221 * version.h: added // -*- C++ -*- as first line.
15223 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15227 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15230 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15232 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15235 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15237 * gettext.C: include LString.h even when --disable-nls is on.
15239 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15241 * converter.h (Get): changed argument type from int to
15242 FormatList::size_type to avoid unnecessary conversion.
15244 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15247 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * gettext.h: include LString.h even when --disable-nls is on.
15251 2001-06-07 Juergen Vigna <jug@sad.it>
15253 * text.C (BreakAgain): subst spaces with tabs.
15255 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15256 (resizeInsetsLyXText): set force on resizeLyXText.
15258 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15260 * gettext.h (gettext_init):
15261 (locale_init): use a real definition instead of a macro
15263 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15265 * Bufferview_pimpl.C:
15267 * LColor.C: further lcolor tidies
15269 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * BufferView_pimpl.C (updateScrollbar): simplify.
15273 * BufferView2.C: don't include insets/insetinfo.h, change
15274 prototype for insertInset and call the Pimpl version. let
15275 updateInset call Pimpl version.
15277 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15278 gotoInset to BufferView::Pimpl
15280 2001-06-01 Juergen Vigna <jug@sad.it>
15282 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15283 inside a LockingInset (is the update needed at all?).
15285 2001-05-31 Juergen Vigna <jug@sad.it>
15287 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15288 here not the old one otherwise how should we compare it afterwards
15291 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15296 * FontInfo.C: bring C functions into global namespace when
15299 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15301 * LString.h: make sure config.h has been loaded before LString.h.
15303 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15304 (one for each char read by EatLine!).
15306 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15309 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15311 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15312 to the same as the par we break from
15314 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15318 * MenuBackend.C (expand): also create menu entries for wide
15319 versions of the floats.
15321 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15323 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15325 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15326 frontends/Makefile.am
15332 * tabular.C (getTokenValue): add std::
15334 * tabular-old.C (getTokenValue): add std::
15335 (getTokenValue): ditto
15336 (getTokenValue): ditto
15338 * screen.C (ToggleSelection): adjust
15340 * lyxtext.h: put selection cursors inside a Selection struct.
15342 * lyxfunc.C (moveCursorUpdate): adjust
15344 * lyxfont.C (latexWriteStartChanges): add std::
15346 * lyxfind.C: adjust
15348 * font.h: delete with(char const *, LyXFont const &)
15350 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15352 * FontInfo.C (getFontname): add std::
15354 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15355 (workAreaButtonPress): adjust
15356 (tripleClick): adjust
15358 (moveCursorUpdate): adjust
15361 * BufferView2.C (gotoInset): adjust
15363 2001-05-30 Juergen Vigna <jug@sad.it>
15365 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15366 to check pspell I add this as default as I now have new pspell
15367 libraries and they seem to use this.
15369 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * text2.C (CutSelection): make the cursor valid before the call to
15374 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15377 relied on 0 terminated strings and other horrors. Bug found due to
15378 the new assert in lyxstring!
15380 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15383 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15388 * lyxfunc.C (processKeySym): change method of getting to the
15391 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15392 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15393 * BufferView_pimpl.[Ch]: here as private methods.
15395 2001-05-28 Juergen Vigna <jug@sad.it>
15397 * text.C (SetHeightOfRow): added the update() call again as it is
15398 needed to initialize inset dimensions!
15400 2001-05-16 Juergen Vigna <jug@sad.it>
15402 * text2.C (SetCharFont): Add new function with BufferView * and
15403 bool toggleall parameters for setting insets internal fonts.
15404 (SetFont): Freeze the undo as we may change fonts in Insets and
15405 all this change should be inside only one Undo!
15407 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15408 setting font's in insets as for them we have the SetFont function!
15410 2001-05-15 Juergen Vigna <jug@sad.it>
15412 * text2.C (ClearSelection): to be sure we REALLY don't have any
15415 * tabular.C (TeXCellPreamble): fixed the left border problem for
15418 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15420 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15423 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15426 LFUN_BREAKPARAGRAPH.
15428 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15429 help test to "internal only", similar for LFUN_INSERT_URL
15431 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15432 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15433 auto_region_delete and deadkeys.
15435 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15438 * LColor.C: remove some dead entries, tidy a little
15440 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15442 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15444 (Dispatch): implement LFUN_ESCAPE
15446 * commandtags.h: add LFUN_ESCAPE
15448 * LyXAction.C (init): add entry for LFUN_ESCAPE
15450 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15451 Remove commented code.
15452 (insertNote): moved here
15453 (open_new_inset): moved here
15455 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * kbmap.C (findbinding): clean it up and make it work correctly.
15462 * lyx_main.C (init): do not pass argc and argv as parameters
15464 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15466 * buffer.C: fix path for OS/2 & Win32
15470 * lyx_main.C: Added os:: class.
15472 * os2_defines.h: update
15474 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15477 better by trying again with reduced state.
15479 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15481 * lyxrc.C (read): print error about invalid key sequence only when
15482 debugging (because not all latinX keysyms are known to some X
15485 * kbsequence.C (getiso): add a few std:: qualifiers
15486 (getiso): comment out extra return statement.
15488 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15490 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15492 (Dispatch): enhance the accent inset a bit. (not perfect)
15494 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15496 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15498 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * bufferlist.C (emergencyWrite): fix assert() call
15502 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15504 * text.C (InsertChar): Added trivial patch to only send the "you
15505 can not do multiple spaces this way" message once during a
15508 2001-05-08 Baruch Even <baruch@lyx.org>
15510 * Makefile.am: Changed order of libraries to get LyX to link properly
15511 with the gnome frontend.
15513 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15515 * LaTeXFeatures.h: add a std:: qualifier
15517 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15519 * paragraph.C (String): use stringstream
15521 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * paragraph.C (writeFile): remove footflag arg
15525 * buffer.C (makeLaTeXFile): use stringstream
15526 (latexParagraphs): remove footnot gurba
15528 * LaTeXFeatures.C (getPackages): use stringstream
15529 (getMacros): likewise
15530 (getTClassPreamble): likewise
15531 (getFloatDefinitions): new method
15533 * paragraph.C (writeFile): reindent
15536 * WorkArea.h: revert the xpos + etc changes.
15538 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15540 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15542 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15543 (pasteSelection): likewise
15544 * text2.C (CreateUndo): likewise
15546 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15548 * minibuffer.C (peek_event): temporarily reduce the functionality
15549 of the minibuffer (to allow args on lfuns)
15551 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15552 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15554 * buffer.C (readInset): add compability reading of old float
15555 lists, add reading of new style float list.
15556 (readInset): avoid reevaluation of inscmd.getCmdName()
15557 (getLists): reindent
15559 * MenuBackend.C (MenuItem): implement parsing of
15560 md_floatlistinsert and md_floatinsert.
15561 (expand::LastFiles): move initalizaton of iterators out of loop,
15562 avoid reevaluation.
15563 (expand::Documents): introduce typdedef vector<string> Strings,
15565 (expand::ExportFormats): introduce typedef vector<Format const *>
15566 Formats, and use it.
15567 (expand): implement FloatListInsert and FloatInsert.
15569 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15570 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15571 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15573 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15575 (Dispatch::LFUN_FLOAT_LIST): implement
15577 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15579 * LaTeX.C (run): Fix problem with --export code.
15581 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15583 * BufferView.[Ch] (workarea): removed.
15584 (getClipboard) new method; wrapper for workarea()->getClipboard()
15586 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15589 * WorkArea.h (width, height, xpos, ypos): These methods all
15590 returned the dimensions of the work_area sub-area of WorkArea,
15591 resulting in a position error if the WorkArea were resized. Now
15592 return the dimensions of the entire WorkArea.
15594 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15596 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * LaTeX.C (deplog): correct the syntax of regex reg1
15600 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15602 * undo.C: remove !NEW_INSETS cruft
15604 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15606 * text2.C: remove !NEW_INSETS cruft
15608 * text.C: remove !NEW_INSETS cruft
15610 * tabular.C: remove !NEW_INSETS cruft
15612 * spellchecker.C: remove !NEW_INSETS cruft
15614 * lyxtext.h: remove !NEW_INSETS cruft
15616 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15618 * lyxfunc.C: remove !NEW_INSETS cruft
15620 * lyxfind.C: remove !NEW_INSETS cruft
15622 * lyx_cb.C: remove !NEW_INSETS cruft
15624 * figureForm.C: remove !NEW_INSETS cruft
15626 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15628 * buffer.[Ch]: remove !NEW_INSETS cruft
15630 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15632 * CutAndPaste.C: remove !NEW_INSETS cruft
15634 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15636 * BufferView2.C: remove !NEW_INSETS cruft
15638 * BufferView.h: remove !NEW_INSETS cruft
15640 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * Lsstream.h: include LString.h before the sstream headers to
15643 fix problem with gcc 2.95.3 and lyxstring
15645 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * lyx_main.C: add using directives when needed for C functions
15648 declared in std:: namespace.
15650 2001-04-27 Juergen Vigna <jug@sad.it>
15652 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15653 (SetHeightOfRow): comment out the update call should not be needed!
15655 2001-04-13 Juergen Vigna <jug@sad.it>
15657 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15658 (LyXTabular): tried to minimize operator= operations (and realized
15659 hopfully Lars wish).
15661 2001-04-27 Juergen Vigna <jug@sad.it>
15663 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15665 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15667 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15669 * buffer.C (readInset): hack to make listof algorithm work
15671 * BufferView_pimpl.C: hack to make listof algorithm work
15673 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * LyXAction.C: removed all !NEW_INSETS cruft
15676 (init): moved lfun_item in method
15678 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15680 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15682 * BufferView2.C (theLockingInset): white space.
15684 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15686 * minibuffer.C: include <iostream>
15688 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15690 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15692 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15694 * text.[Ch] (TransposeChars): new method
15696 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * call message directly through LyXView instead of through LyXFunc
15699 * BufferView2.C: adjust
15700 * BufferView_pimpl.C: adjust
15701 * FontLoader.C: adjust
15703 * bufferview_funcs.C: adjust
15704 * converter.C: adjust
15705 * figureForm.C: adjust
15706 * importer.C: adjust
15708 * lyx_gui_misc.C: adjust
15709 * lyxfunc.C: adjust
15712 + more files in subdirs
15714 * lyxparagraph.h (size): move up int file
15717 * adjust all uses of Assert to lyx::Assert.
15719 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15720 lyxfunctional in namespace lyx
15721 * layout.C (hasLayout): ditto
15724 (delete_layout): ditto
15725 (NumberOfClass): ditto
15726 * converter.C (GetFormat): ditto
15731 * bufferlist.C (getFileNames): ditto
15732 (emergencyWriteAll): ditto
15735 * MenuBackend.C (hasSubmenu): ditto
15738 * BufferView_pimpl.C (getInsetByCode): ditto
15740 2001-04-18 Juergen Vigna <jug@sad.it>
15742 * vspace.C (asLatexString): fixed the 100% problem.
15744 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15746 * lyxfunc.C (Dispatch):
15748 * minibuffer.h: add a few std:: qualifiers
15750 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * minibuffer.[Ch]: reimplement so that commands is initiated and
15753 run from lyxfunc, simplified som handling, and made the completion
15754 and history code for complete. wip.
15756 * lyxfunc.C (processKeySym): call message
15757 (miniDispatch): new temporary method
15758 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15759 (LFUN_MESSAGE): implement
15760 (LFUN_MESSAGE_PUSH): implement
15761 (LFUN_MESSAGE_POP): implement
15762 (initMiniBuffer): the initial/defualt minibuffer message.
15764 * lyxfont.[Ch]: inline some more getters
15766 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15768 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15770 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15771 (AutoSave): use LFUN_MESSAGE
15772 (Reconfigure): ditto
15774 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15776 * figureForm.C: use LFUN_MESSAGE
15778 * converter.C (runLaTeX): use LFUN_MESSAGE
15780 * bufferview_funcs.C: use LFUN_MESSAGE
15782 (changeDepth): ditto
15784 * bufferparams.h: use boost::
15786 * bufferlist.h: inherit privately from noncopyable
15788 * bufferlist.C (loadLyXFile): remove some commented code.
15790 * buffer.C (runChktex): use LFUN_MESSAGE
15792 * ShareContainer.h: inherit privately from noncopyable
15794 * ParagraphParameters.[hC] (depth): inline it.
15796 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15798 (message): new method
15799 (messagePush): ditto
15800 (messagePop): ditto
15801 (show): init minibuffer
15802 (showState): direct call
15804 * LaTeX.[Ch]: inherit privately from noncopyable
15805 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15806 instead of WriteStatus.
15808 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15810 * BufferView_pimpl.C (buffer): don't init minibuffer
15811 (workAreaButtonPress): use LFUN_MESSAGE
15812 (workAreaButtonRelease): ditto
15813 (savePosition): ditto
15814 (restorePosition): ditto
15815 (MenuInsertLyXFile): ditto
15816 (workAreaExpose): don't init minibuffer
15817 (update): remove commented code, simplify
15819 * BufferView2.C (openStuff): use LFUN_MESSAGE
15820 (toggleFloat): ditto
15823 (copyEnvironment): ditto
15824 (pasteEnvironment): ditto
15829 (updateInset): remove some commented code
15831 * lastfiles.h: inherit privately from noncopyable
15834 * lyx_main.h: ditto
15836 * lyxlex_pimpl.h: ditto
15838 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15839 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15840 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15842 * LyXAction.h: inherit privately from noncopyable, add methods
15843 func_begin, func_end, returning iterators to the func map.
15845 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15846 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15847 (func_begin): new method
15848 (func_end): new method
15850 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15852 (copySelection): ditto
15853 (pasteSelection): ditto
15855 * BufferView.C: whitespace change
15856 * BufferView.h: inherit privately from noncopyable
15858 2001-04-16 Allan Rae <rae@lyx.org>
15860 * tabular-old.C (l_getline):
15861 * spellchecker.C (sc_check_word):
15862 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15863 an unrecognised preprocessor directive. So ensure they're wrapped.
15865 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15867 * src/exporter.C (Export): Give an error message when path to file
15870 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15872 * LaTeX.C (deplog): Always check that foundfile exists.
15874 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15879 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15881 * tabular.[Ch] (getLabelList): implement new method
15883 * minibuffer.h: comment ouf setTiimer
15885 * minibuffer.C (ExecutingCB): constify res
15886 (peek_event): constify s
15887 (Set): constify ntext
15888 (Init): constify nicename
15890 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15892 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15893 (savePosition): use two params to Minibuffer::Set
15894 (restorePosition): ditto
15896 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15898 * lyx_main.C: include language.h
15900 * Makefile.am (lyx_main.o): add language.h
15902 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15908 * CutAndPaste.C: include gettext.h
15910 * lyxfont.h: remove old hack with ON and OFF.
15913 * lyxfont.h: do not include language.h...
15918 * bufferview_funcs.C:
15924 * paragraph.C: ... but do it here instead
15926 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15930 * tabular.C: small reformat
15932 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15935 (BreakParagraph): ditto
15936 (SetOnlyLayout): ditto
15939 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15942 * lastfiles.C: removed most using decl, add std:: where needed
15944 * buffer.C: ws changes
15946 * MenuBackend.C (class compare_format): put into anon namespace
15947 (expand): constify label, names, action, action2
15950 * text.C (SingleWidth): constify font
15951 (IsBoundary): constify rtl2
15952 (GetVisibleRow): constify ww
15954 * LaTeX.C (deplog): constify logfile
15956 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15958 (workAreaExpose): constify widthChange, heightChange
15960 * lyxrow.C (par): moved
15963 * lyxrow.h: as inlines here
15965 * lyxfont.h (shape): moved from lyxfont.C
15966 (emph): moved from lyxfont.C
15968 * lyxfont.C (LyXFont): use initialization list for all
15970 (shape): move to lyxfont.h as inline
15971 (emph): move to lyxfont.h as inline
15974 2001-04-04 Juergen Vigna <jug@sad.it>
15976 * vspace.C: had to include stdio.h for use of sscanf
15978 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15981 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15982 independent of xforms.
15984 2001-04-02 Juergen Vigna <jug@sad.it>
15986 * spellchecker.C: fixed namespace placing!
15988 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15990 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15991 the LyXParagraph * is 0.
15993 2001-03-29 Juergen Vigna <jug@sad.it>
15995 * vspace.C: added support for %, c%, p%, l%.
15996 (stringFromUnit): added helper function.
15997 (asLatexString): changed to give right results for the %-values.
15999 * buffer.C: convert the widthp in a width%.
16001 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16003 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16006 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16007 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16009 * lyx_cb.[Ch]: see above.
16011 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16015 * lyx.[Ch]: replaced by figure_form.[Ch].
16019 * lyxfunc.C: changed headers associated with above changes.
16021 2001-03-27 Juergen Vigna <jug@sad.it>
16023 * BufferView_pimpl.C: set the temporary cursor right!
16025 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16027 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16029 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16031 * LString.h: removed "using std::getline"!
16033 * BufferView_pimpl.C (Dispatch): changes due to changes in
16034 InsetInclude::Params.
16036 * buffer.C (tag_name): removed redundant break statements as they were
16037 producing lots of warnings with my compiler.
16039 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16041 * LString.h: add "using std::getline" when using the real <string>.
16043 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16045 * buffer.C: removed bitset usage.
16046 PAR_TAG moved to an anonymous name space.
16047 (tag_name): new funtion, also in the anonymous namespace.
16048 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16049 (makeDocBookFile): clean code. Completed transition from string arrays
16051 (SimpleDocBookOnePar): code clean.
16053 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16055 * tabular.C: add some comments.
16057 2001-03-22 Juergen Vigna <jug@sad.it>
16059 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16060 compatibility read a bit and fixed bug with minipage in different
16063 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16065 * buffer.C (pop_tag): removed.
16066 (push_tag): removed.
16067 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16068 array replaced with vector. Added support for CDATA sections.
16069 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16071 (makeDocBookFile): XML conformant declaration of CDATA section,
16072 fixed bug related to <emphasis> in the first paragraph char.
16073 (sgmlOpenTag): exclude empty tags.
16074 (sgmlCloseTag): ditto.
16076 * buffer.h (pop_tag): removed.
16077 (push_tag): removed.
16079 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16081 * language.h (Languages): added size_type and size().
16083 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16085 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16086 response on compability reading of minipages. One probliem is that
16087 the old usage of minipages was «flertydig»
16089 * several files here and in subdirs: don't use static at file
16090 scope use anon namespaces instead.
16092 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16094 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16095 LaTeX output. This is necessary for Literate document
16098 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16100 * buffer.C: insert hfill when needed.
16102 * tabular.C (l_getline): use string::erase, small whitespace change.
16104 * BufferView_pimpl.C: try the anon namespace.
16105 * WorkArea.C: ditto
16107 2001-03-16 Juergen Vigna <jug@sad.it>
16109 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16110 otherwise it won't open options-dialogs.
16112 * buffer.C: honor pextraWidth(p) on converting minipages.
16114 * tabular.C (l_getline): changed the functions to strip trailing \r.
16116 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16118 * BufferView_pimpl.C:
16119 * minibuffer..C: added "using SigC::slot" declaration.
16121 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16123 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16129 * paragraph.C: ditto
16131 * lyxtext.h: NO_PEXTRA
16133 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16135 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16136 * ParameterStruct.h: ditto
16137 * ParagraphParameters.h: ditto
16138 * lyxparagraph.h: ditto
16140 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16142 * buffer.C: add compability for minipage alignment.
16143 (latexParagraphs): remove unwanted pextra check.
16145 * several files: remove CXX_WORKING_NAMESPACES
16147 * buffer.C (pop_tag): tie is in namespace boost
16149 * BufferView.h: noncopyable is in namespace boost
16151 * lyx_main.h: ditto
16154 * lastfiles.h: ditto
16155 * bufferlist.h: ditto
16156 * ShareContainer.h: ditto
16158 * LyXAction.h: ditto
16161 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16163 * Merging changes from BRANCH_MVC back into HEAD.
16165 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16167 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16169 * BufferView_pimpl.C: change from intl.C
16173 * Makefile.am: move combox.*
16179 * intl.C: remove dialog (covered by prefs)
16181 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16183 * lyxfunc.C (Dispatch): removed redundant break statement.
16185 2001-03-14 Juergen Vigna <jug@sad.it>
16187 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16189 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16191 * buffer.C: add hack to fix compability reading of minipages.
16193 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16195 * buffer.C (getLists): Cleanup.
16197 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16199 * lyxfont.C (update): don't honor toggleall on font size.
16201 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16205 * Makefile.am: moved to frontends/xforms/
16209 * BufferView_pimpl.C: changes for moved mathpanel
16211 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16213 * gettext.h: fix gettext_init() in --disable-nls
16215 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16217 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16219 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16222 * lyx.h: strip external form
16224 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16226 * BufferView_pimpl.C: add comment, destroySplash()
16228 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16230 * BufferView_pimpl.C:
16234 * lyxfunc.C: use re-worked insetinclude
16236 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16238 * buffer.C: add using std::stringstream.
16240 * lyx_cb.C: readd using std::ios.
16242 * buffer.C: add using std::map.
16244 * BufferView_pimpl.C: add using std::vector.
16246 * ShareContainer.h: add std:: to swap.
16248 * buffer.h: add some typedefs
16249 * buffer.C (getLists): use them
16250 (getLists): renamed from getTocList.
16251 add a counter for the different float types and use it in the
16253 (getLists): use the same counter for the NEW_INSETS and the "non"
16256 * lyx_cb.h: remove unused items, includes, using etc.
16258 * ShareContainer.h: remove some commented code, add more comments
16259 and "documentation".
16261 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16263 * buffer.C (getTocList): make the list also when NEW_INSETS is
16266 * buffer.h: remove TocType
16268 * buffer.C (getTocList): change to return a map<string,
16269 vector<TocItem> >, implement for dynamic number of list.
16271 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16272 * text2.C (PasteSelection): adjust
16273 * CutAndPaste.C (pasteSelection): adjust
16275 * FloatList.C (FloatList): update from the new_insets branch.
16276 * Floating.[Ch]: ditto
16277 * LaTeXFeatures.C: ditto
16279 * lyxlex_pimpl.C: ditto
16281 * paragraph.C (Last): remove when NEW_INSETS is defined.
16283 * other file: changes because of the above.
16285 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16287 * lyxparagraph.h: rename next to next_, previous to previous_,
16288 make them private for NEW_INSETS. Rename Next() to next(),
16289 Previous() to previous().
16291 * other files: changes because of the above.
16293 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16296 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16299 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16301 * main.C (main): pass lyx_localedir to gettext_init().
16303 * gettext.h: remove locale_init and gettext_init macros
16305 * gettext.C (locale_init): new function
16306 (gettext_init): new function
16308 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16311 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16313 * Moved credits to frontends:
16314 * credits.[Ch]: removed
16315 * credits_form.[Ch]: removed
16316 * lyx_gui_misc.C: remove credits stuff
16319 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16321 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16323 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16324 unneeded destructor.
16326 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16327 a standalone pointer again.
16329 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16331 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16337 * ToolbarDefaults.C:
16346 * BufferView_pimpl.C: use new file dialog in GUII
16349 * lyx_cb.C: remove LayoutsCB to Toolbar
16351 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16353 * ShareContainer.h (get): add std:: qualifier
16355 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16357 * ShareContainer.h: define a proper ShareContainer::value_type
16358 type (and use typename to please compaq cxx)
16360 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16362 * lyxparagraph.h: move serveral local vars to
16363 ParameterStruct/ParagraphParameters., use ShareContainer in
16364 FontTable., make vars in FontTable private and add getter and
16367 * paragraph.C: changes because of the above.
16369 * lyxfont.h: remove copy constructor and copy assignment. (the
16370 default ones is ok), move number inside FontBits. move inlines to
16373 * lyxfont.C: add number to initializaton of statics, move several
16374 inlines here. constify several local vars. some whitespace
16375 cleanup. Dont hide outerscope variables.
16377 * Spacing.h: add two new constructors to match the set methods.
16379 * ShareContainer.h: new file, will perhaps be moved to support
16381 * ParameterStruct.h: new file
16383 * ParagraphParameters.h: new file
16385 * ParagraphParameters.C: new file
16387 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16388 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16390 * BufferView_pimpl.C: ParagraphParameter changes.
16391 * buffer.C: Likewise.
16392 * bufferview_funcs.C: Likewise.
16393 * text.C: Likewise.
16394 * text2.C: Likewise.
16396 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16398 * lyxfind.C (LyXReplace): do not redefine default argument in
16400 (IsStringInText): ditto
16401 (SearchForward): ditto
16402 (SearchBackward): ditto
16404 2001-03-06 Juergen Vigna <jug@sad.it>
16406 * lyxfind.C (IsStringInText): put parentes around expressions.
16408 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16410 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16412 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16414 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16416 * stl_string_fwd.h: add comment
16418 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16421 * tabular.C: remove unused DocBook methods
16427 killed DO_USE_DEFAULT_LANGUAGE
16429 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16431 * lyx_gui.C: do not include language.h.
16433 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16434 arguments in function implementation.
16436 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16438 * BufferView_pimpl.C: add <ctime>
16440 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16442 * BufferView_pimpl.C: add using std::find_if
16444 2001-02-27 José Matos <jamatos@fep.up.pt>
16446 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16449 2001-02-11 José Matos <jamatos@fep.up.pt>
16451 * buffer.C (makeDocBookFile): command styles now have a parameter as
16452 "title" by default.
16454 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16456 * layout_forms.[Ch]: removed
16457 * lyx_cb.[Ch]: out character
16458 * lyx_gui.C: out character
16459 * lyx_gui_misc.C: out character
16460 * bufferview_funcs.C: : out character,
16461 added toggleall as parameter in ToggleAndShow
16463 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16465 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16467 * text2.C (SetCurrentFont): Disable number property at boundary.
16469 2001-02-26 Juergen Vigna <jug@sad.it>
16471 * lyxfunc.C (getStatus): added a string argument override function so
16472 that this is correctly called from LyXFunc::Dispatch if it contains a
16473 do_not_use_argument which is used!
16474 (Dispatch): added check for "custom" export and call appropriate func.
16476 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16478 * lyxrc.C: Add language_command_local, language_use_babel and
16479 language_global_options.
16481 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16483 * buffer.C (makeLaTeXFile): Use language_use_babel and
16484 language_global_options.
16486 2001-02-23 Juergen Vigna <jug@sad.it>
16488 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16489 which works with LyXText and putted it inside BufferView. Here now we
16490 only call for that part the BufferView::Dispatch() function.
16492 * BufferView.C (Dispatch): added.
16494 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16495 functions which needs to use a LyXText over from LyXFunc.
16496 (MenuInsertLyXFile): added
16497 (getInsetByCode): added
16498 (moveCursorUpdate): added
16499 (static TEXT): added
16501 2001-02-22 Juergen Vigna <jug@sad.it>
16503 * BufferView_pimpl.C (update): call a status update to see if LyXText
16506 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16508 * vc-backend.C (revert): implement for CVS
16509 (getLog): implement for CVS
16511 2001-02-20 Juergen Vigna <jug@sad.it>
16513 * text2.C (ClearSelection): added BufferView param for inset_owner call
16515 * lyxfunc.C (TEXT): added this function and use it instead of
16516 directly owner->view()-text of getLyXText().
16518 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16520 * src/layout_forms.C: out preamble
16521 * src/layout_forms.h: out preamble
16522 * src/lyx_cb.C: out preamble
16523 * src/lyx_cb.h: out preamble
16524 * src/lyx_gui.C: out preamble
16525 * src/lyx_gui_misc.C: out preamble
16526 * src/lyxfunc.C: connect with guii preamble
16528 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16530 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16532 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16534 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16535 whether to run bibtex.
16537 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16539 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16541 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16543 * Makefile.am (lyx_SOURCES): removed bibforms.h
16545 * vspace.h: doxygen
16547 * text.C (GetVisibleRow): make several local vars const
16549 * tabular.C: small cleanup.
16551 * lyxserver.C (callback): use compare instead of strncmp
16553 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16554 inlines to after class or to paragraph.C
16556 * lyxfont.h: remove friend operator!=
16558 * converter.h: move friend bool operator< to non friend and after
16561 * combox.h: small cleanup
16563 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16564 to inlines after class def.
16566 * buffer.C (pop_tag): use string operations instead of strcmp
16568 * bmtable.c: doxygen, small cleanup
16570 * LaTeX.h: remove friend operator==
16572 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16584 * BufferView_pimpl.C:
16585 * BufferView.[Ch]: remove cruft
16587 2001-02-14 Juergen Vigna <jug@sad.it>
16589 * lyxfunc.C: removed #if 0 unused code
16591 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16593 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16595 * text2.C (SetSelection): added a BufferView * parameter
16597 2001-02-13 Juergen Vigna <jug@sad.it>
16599 * lyxfunc.C (Dispatch): fixed protected blank problem.
16600 * BufferView2.C (protectedBlank): added LyxText * parameter.
16602 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16603 (AppendColumn): same as above for column_info.
16605 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16606 (moveCursorUpdate): use a LyXText param for support of InsetText.
16608 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16609 (tripleClick): ditto
16611 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16613 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16615 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16617 * text2.C (SetSelection): set correct update status if inset_owner
16618 (ToggleFree): ditto
16620 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16622 * tabular.C: remove some commented code.
16624 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16626 * BufferView_pimpl.C: call hideSplash()
16628 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16631 * bibforms.h: remove
16634 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16635 add LFUN_CHILD_CREATE
16637 * counters.h: fix tiny typo
16642 * lyx.C: move splash to frontends/xforms/
16644 * lyx_gui_misc.C: move Include and Bibform to frontends
16646 * lyxvc.h: clarify comment
16648 * vspace.C: tiny housekeeping
16650 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16652 * text.C (PrepareToPrint): RTL Fix.
16654 * paragraph.C (GetUChar): New method.
16655 (String): Use GetUChar.
16657 * buffer.C (asciiParagraph): Use GetUChar.
16659 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16661 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16663 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16666 * buffer.C: rename to getLogName(), handle
16667 build log / latex log nicely
16669 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16672 * MenuBackend.h: remove support for reference menuitem type.
16674 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16676 * BufferView_pimpl.C: housekeeping
16677 * BufferView_pimpl.h:
16682 * minibuffer.h: move Timeout GUI-I
16684 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16686 * lyxrc.C (read): Update converters data-structures.
16688 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16690 * LaTeX.h (operator!=): add operator != for Aux_Info
16692 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16694 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16696 * LaTeXLog.C: deleted, useful code moved to Buffer
16699 * buffer.C: new function getLatexLogName()
16705 * lyxfunc.C: use frontends for LaTeX and VC logs
16707 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16709 * LaTeX.h: yet another std:: that Allan forgot.
16711 * Variables.C (set): renamed from isset(), because this clashes
16712 with some HP-UX macros (grr).
16714 2001-02-06 Allan Rae <rae@lyx.org>
16716 * LaTeX.h: Another bug fix. Missing std:: this time.
16718 2001-02-04 Allan Rae <rae@lyx.org>
16720 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16721 floats problem. I've left it commented out because it's not quite
16722 correct. It should also test that the current object is a table or
16723 figure inset. But I haven't gotten around to figuring out how to do
16724 that. I *think* it'll be something like: "table" == inset.type()
16726 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16729 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16731 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16732 all the citation/databases/styles in the auxilary file.
16733 (run): Rerun latex if there was a babel language error.
16735 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16737 * text.C (Backspace): Preserve the font when changing newline char
16739 (BreakParagraph): If the cursor is before a space, delete the space.
16741 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16743 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16745 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16746 new argument (code).
16747 (ChangeCitationsIfUnique): New method.
16749 * paragraph.C (GetPositionOfInset): Handle bibkey.
16751 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * BufferView_pimpl.h: change type of Position::par_pos to
16754 LyXParagraph::size_type.
16756 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16758 * BufferView_pimpl.C (savePosition, restorePosition): Write
16759 messages to minibuffer.
16761 2001-01-28 José Matos <jamatos@fep.up.pt>
16763 * buffer.C (makeDocBookFile): adds support for document language.
16764 A silly restriction on the name of LatexCommand types where removed.
16765 Added support for CDATA sections, allows to chars unescaped, used
16766 among others in code, to avoid escape < and >.
16768 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16770 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16771 saved positions instrad of a stack. Furthermore, a position is
16772 stored using paragraph id/paragraph position.
16774 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16775 Remove LFUN_REF_BACK.
16777 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16779 * converter.C (dvipdfm_options): New method.
16781 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16783 * vspace.C (isValidLength): Fix for empty input string.
16785 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16787 * LyXAction.C (init): change description of LFUN_FIGURE to
16790 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16792 * LaTeX.C: add using directive
16794 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16796 * MenuBackend.C (expand): Fix the sorting of the formats.
16798 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16800 * lyx_main.C: tiny error message fix
16802 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16805 calling fl_initialize(). This fixes the problem with ',' as
16806 decimal separator in text files.
16808 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16810 * trans.C (process): Fix the keymap bug.
16812 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16814 * LaTeX.C (scanAuxFiles): New method. Provides support for
16815 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16816 (scanLogFile) Scan for "run BibTeX" messages.
16818 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16819 OT1 font encoding. Also, load the aecompl package if the ae
16822 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16824 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * texrow.C (increasePos): turn two error messages into debug
16829 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16831 * LaTeX.C (scanAux): Handle the \@input macro.
16832 (runBibTeX): Use scanAux().
16834 * language.C (latex_options_): New field.
16836 * LaTeXFeatures.C (getMacros): Add language macros.
16838 * buffer.C (makeLaTeXFile): Small fix.
16840 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16842 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16844 * text2.C: add a using directive.
16846 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16851 * lyxfunc.C: kill LyXBell.
16853 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16855 * text.C (IsBoundary): Remove the error message
16857 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16859 * lyxrc.C (setDefaults): Correct initialization value for
16862 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16864 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16867 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16868 and GotoNextNote().
16870 * src/LyXAction.C: Added reference-next.
16872 * text.C (InsertChar): Use contains instead of strchr.
16874 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16876 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16878 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16879 alignment commands (when needed).
16881 * text.C (InsertChar): Add ':' to number separator chars.