1 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * Spacing.[Ch]: New method getValueAsString().
7 * ParagraphParameters.C:
10 * text3.C: store/read spacing value as string.
12 * rowpainter.C: change float value (spacing_val) to double.
14 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
15 broken custom document spacing).
17 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
19 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
20 namespace, also more use of temp references and const
22 * cursor.[Ch] (getStatus): move to lyxfunc.C
24 * bufferparams.C: reformat slightly
26 * bufferview_funcs.C (font2string): constify arg
32 * buffer_funcs.C: (many funcs): constify arg on function
33 definitions, also make more local vars const, also add ASSERTS on
36 * buffer.C (LYX_FORMAT): put const in correct place
37 (many funcs): constify arg on function definitions, also make
40 * aspell_local.h: remove "struct" from typdef setup
42 * aspell.C (check): make word_ok const
43 (nextMiss): simplify slightly
46 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * lyxrc.[Ch]: store all float values as strings.
49 use int (not float) for lyxrc.dpi.
51 2005-01-04 Angus Leeming <leeming@lyx.org>
53 * lyx_cb.C (Reconfigure):
54 * lyx_main.C (queryUserLyXDir):
55 to run the <system_lyxdir>/configure correctly on Windows, prefix
56 the path to the script with "sh " when generating the string that
57 is passed to system().
59 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
63 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
65 * lyxlength.C (asLatexString): get rid of setprecision
67 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
69 * text2.C (setLayout): remove unused variable endpit.
70 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
72 * paragraph.C (onlyText): remove unused variable style.
74 * cursor.C (bruteFind): remove unused variables beg and end.
76 * Makefile.am (dist_noinset_DATA): not needed anymore
80 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
82 * text3.C: fix LFUN_MATH_MODE.
84 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * buffer_funcs.C (countWords): new function. Counts words between
89 * BufferView_pimpl.C (getStatus, dispatch): handle
93 * lfuns.h: add LFUN_WORDS_COUNT.
95 2004-12-19 Angus Leeming <leeming@lyx.org>
97 * buffer.C (save): s/slashify_path/internal_path/.
99 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
101 * lyxfind.C (findChange): do not search for end of pars, because
102 the change tracker cannot handle this (fixes bug 1719).
104 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
106 * paragraph.[Ch] (autoBreakRows): remove
108 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
110 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
111 avoid using the paragraph one
113 * text2.C (LyXText, insertStringAsLines): adjust
115 2004-12-16 Angus Leeming <leeming@lyx.org>
119 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
121 2004-12-14 Angus Leeming <leeming@lyx.org>
123 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
125 * bufferlist.C (emergencyWrite):
126 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
129 2004-12-14 Angus Leeming <leeming@lyx.org>
131 * main.C: (main): no longer pass pointers to os::init.
133 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
135 * undo.C (textUndoOrRedo): simplify logic, fix a crash
136 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
138 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
141 * text3.C: remove selection_possible global flag
143 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
145 * text2.C (getSelectionSpan): remove
146 (changeDepth, changeDepthAllowed): adjust
148 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
150 * Makefile.am (BOOST_LIBS): use boost variables
152 2004-12-03 José Matos <jamatos@lyx.org>
154 * buffer.C: format up to 238.
156 2004-12-03 José Matos <jamatos@lyx.org>
158 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
160 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
162 * cursor.C (goUpDown): remove call to idxUpDown2
164 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
166 * tabular.[Ch]: use size_t-like types for cell, row and column
169 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * lyxfunc.C (getStatus): do not lose previous information when
172 calling BufferView::getStatus; do not set a default "Command
173 disabled" message at the beginning, but just before returning.
175 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
177 * cursor.h (getStatus): add better comment from src/cursor.C
179 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * text3.C (getStatus): return false when the lfun is not handled
183 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
185 * broken_headers.h: remove
187 * Makefile.am (lyx_SOURCES): remove broken_headers.h
189 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
191 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
194 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
195 top_y_, merge fitcursor with update
196 (updateScrollbar, scrollDocView, fitCursor, center, update): new
199 (workAreaDispatch): adapt to new coord scheme
200 (redoCurrentBuffer): remove
202 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
204 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
207 * coordcache.[Ch]: add paragraph cache and helpers
209 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
212 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
213 (targetX, setTargetX): introduce
215 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
216 baseline -> ascent, as the rest of lyx
218 * lyxtext.h: remove redoParagraphs, updateParPositions,
219 fullRebreak, redoParagraphInternal. move dist to anon namespace in
220 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
221 have ascent/descent (ascent is ascent of first par)
223 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
226 * paragraph.[Ch]: unify dimension handling with the rest of lyx
228 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
230 * pariterator.C: fix infinite loop introduced in par->pit renaming
232 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
233 in insets and LyXText, draw two off-screen paragraphs using
234 NullPainter, and adapt to new coord scheme
238 * text3.C: adapt lfun handlers to the new coord scheme, which
239 means: there's only guaranteed coord information for onscreen pars
240 plus one above and one below. This implies that one can do search
241 from y coordinates in the range [-1,workHeight]
243 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
245 * rename a lot of InsetOld to InsetBase
247 2004-11-25 Angus Leeming <leeming@lyx.org>
249 * BufferView_pimpl.C:
251 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
253 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
256 call BufferView::getStatus if LCursor::getStatus did nothing
257 (setStatusMessage, getStatusMessage): removed.
259 * FuncStatus.C (message): new methods. Used to provide an error
260 message indicating why a command is disabled.
261 (clear, |=, FuncStatus): update for message.
263 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
265 * lyxfunc.C (dispatch): always call sendDispatchMessage
267 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
270 * BufferView_pimpl.C:
284 * undo.C: par->pit renaming
286 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
288 * tabular.C (cellstruct): use initialization, store a shared_ptr
289 to insettext instead of the insettext directly, adjust to fit.
290 (operator=): new function
292 (rowstruct): use initialization
293 (columnstruct): use initialization
294 (ltType): use initialization
297 * lyxlength.h (swap): new function
299 * LColor.[Ch] (operator=): use the common semantics
301 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * lyxfind.C (findNextChange): update the bufferview after setting
306 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
309 number of InsetOptArgs has already been inserted.
311 * output_latex.C (latexOptArgInsets): new method. This outputs all
312 the optarg insets, up to the limit defined in the layout file.
313 (optArgInset): removed
314 (TeXOnePar): call latexOptArgInsets; correctly update texrow
316 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * paragraph.C (isLetter): remove special spellchecker-related
319 code; return true also for digits
320 (isWord, isKomma): remove
322 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
323 * lyxfind.C (MatchString()): use isLetter instead of isWord
325 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * pariterator.h (operatir=): comment out un-implemented member
330 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
333 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
335 * lyxfont.h: include LColor.h to satisfy concept checks.
337 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
339 * pariterator.h: add typdefs for value_type, difference_type,
340 pointer and reference to satisfy concept checks. Also add default
341 constructor for same reason.
343 * pariterator.C (operator++): add post-increment operator to
344 satisfy concept checks.
346 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
349 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
351 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
352 checks. Also rename base_type to BaseType to follow naming
355 * FloatList.h: include Floating.h to satisfy concept checks.
357 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * lyxfunc.C (getStatus): when the origin of the request is menu or
360 toolbar, and the LyXView does not have focus, do as if there was
363 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
364 FuncRequest to individual entries of LFUN_SEQUENCE
366 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
368 * output_latex.C (TeXOnePar): override runparams.moving_arg
369 according to the needprotect value of the current paragraph (bug
372 * paragraph.C (simpleTeXOnePar): no need to override
373 runparams.moving_args here
375 2004-11-14 John Spray <spray_john@users.sourceforge.net>
377 * vspace.C: fix off-by-one-error, related to fix #1682
379 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
381 * lengthcommon.C: a more general fix for bug 1682
383 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
385 * text.C (backspace): fix crash
387 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
389 * format.[Ch] (getFormatFromFile): new method
390 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
392 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
396 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
398 * lyxfunc.C (dispatch): remove the verbose argument
399 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
402 * kbmap.C (defkey): set the origin of func to KEYBOARD
404 * MenuBackend.C (MenuItem):
405 * ToolbarBackend.C (add): set the origin of func to UI
407 * funcrequest.[Ch]: add origin member, which indicates which part
408 of LyX requests an action
410 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
412 * converter.C (move): don't lie in the error message
413 * converter.h (isReachable, move): document
415 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
417 * buffer.C: remove unused using lyx::support::atoi
418 * paragraph_funcs.C: ditto
420 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
422 * bufferlist.C (exists): use bind and equal_to instead of
425 * lyxtextclasslist.C (NumberOfClass): ditto
427 * cursor.C (insert): use for_each instead of explicit for loop
429 * bufferlist.C (getFileNames): use std::transform and
430 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
432 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
435 * buffer.C (changeLanguage): use for_each instead of explicit for
437 (hasParWithID): implement using getParFromID
439 * LaTeXFeatures.C: ws change only
441 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
444 * BufferView_pimpl.C (trackChanges): use for_each instead of
447 2004-11-04 André Pönitz <poenitz@gmx.net>
450 * undo.C (textUndoOrRedo): fix crash when creating undo information.
452 * dociterator.C (asDocIterator): use hard assert again.
454 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * lyxlength.C (asLatexString): rewrite so that it does not use
459 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * text3.C (specialChar, dispatch): make sure cursor moves to the
462 right after inserting an inset
464 2004-11-02 José Matos <jamatos@lyx.org>
466 * output_docbook.C (docbook):
467 * paragraph.C (getID):
468 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
469 garantee that the output is always legal.
471 * tabular.C (docbook):
472 * outputprams.[Ch]: remove mixed contents.
474 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
476 * text2.C (setCounter): prevent endless loop
478 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
480 * exporter.C (copyFile): use the mover instead of support::copy()
481 * exporter.C (Export): pass format and latex name to copyFile()
482 * exporter.h (addExternalFile): document
483 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
485 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
487 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
489 2004-10-30 José Matos <jamatos@lyx.org>
491 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
492 text and no inset or font change. This allows to use CDATA
493 sections just for the whole paragraph.
495 2004-10-30 José Matos <jamatos@lyx.org>
497 * paragraph.C (getFirstWord): remove unused variable.
499 2004-10-30 José Matos <jamatos@lyx.org>
501 * paragraph.C (getFirstWord): the content should always be escaped
503 (simpleDocBookOnePar):
504 * output_docbook.C (makeEnvironment): replace reference to CDATA
507 2004-10-30 José Matos <jamatos@lyx.org>
509 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
511 2004-10-30 José Matos <jamatos@lyx.org>
513 * output_docbook.C (makeParagraphs):
514 * paragraph.[Ch] (emptyTag): for docbook and company, if the
515 standard paragraph has only a given type of content drop the wrapper.
517 2004-10-29 José Matos <jamatos@lyx.org>
519 * output_docbook.C (makeEnvironment):
521 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
523 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
525 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
526 (cleanID): sanitize any id.
528 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
530 * buffer.C, lyxlex_pimpl.C:
531 * lyxlex_pimpl.C (setFile):
532 s/getExtFromContents/getFormatFromContents/
534 2004-10-28 José Matos <jamatos@lyx.org>
536 * output_docbook.C (makeEnvironment): move id to broadest possible
539 * sgml.C (openTag): apply substitution of <> for all attributes.
541 2004-10-28 José Matos <jamatos@lyx.org>
543 * buffer.C (makeLinuxDocFile, makeDocBookFile):
544 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
545 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
547 * sgml.[Ch]: new version for open and closeTag for paragraph and
548 for strings. Now they handle the ids of paragraphs.
550 2004-10-26 Angus Leeming <leeming@lyx.org>
552 * Makefile.am: add mover.[Ch].
554 * converter.C (convert, move): use the new Movers to move external
555 files to the temp directory.
557 * lyx_main.C (init): ensure that the global system_movers data
560 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
563 * mover.[Ch]: new files, defining a Mover as a utility to move an
564 external file between directories and, if necessary, manipulate this
565 file using a helper script.
567 2004-10-25 José Matos <jamatos@lyx.org>
569 * output_docbook.C (makeCommand): merge two if's that tested the
572 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * sgml.C (escapeString): fix warning in a better way
576 2004-10-25 José Matos <jamatos@lyx.org>
578 * sgml.C (escapeString): import the require boosts header file for
579 tie, and avoid a signed unsigned comparison.
581 2004-10-25 José Matos <jamatos@lyx.org>
583 * sgml.h: add #include <string>
585 2004-10-25 José Matos <jamatos@lyx.org>
587 * sgml.[Ch] (escapeString): new function to escape all the string.
589 2004-10-24 José Matos <jamatos@lyx.org>
591 * paragraph.[Ch] (getFirstWord): new function to get the first
592 word. Useful for description.
593 (simpleDocBookOnePar): remove depth argument, add another that
594 says where to start the paragraph.
596 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
597 use the new functions to fix cleanly the support for descriptions.
599 2004-10-24 José Matos <jamatos@lyx.org>
601 * buffer.C (makeLinuxDocFile, makeDocBookFile):
602 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
603 * output_linuxdoc.C (linuxdocParagraphs):
604 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
605 add buffer as argument.
607 2004-10-24 José Matos <jamatos@lyx.org>
609 * output_docbook.C (makeEnvironment, searchEnvironment): place
610 CDATA inside paragraphs and fix scope for listitems.
612 2004-10-24 José Matos <jamatos@lyx.org>
614 * output_docbook.C: remove using statement for stack.
616 2004-10-23 José Matos <jamatos@lyx.org>
618 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
619 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
620 docbook. The new scheme is recursive and makes use of iterators, the
621 same as latex export works.
622 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
623 directly with the paragraph contents. This code was moved up to
624 output_docbook.C (docbookParagraphs).
625 * sgml.C (openTag, closeTag): removed unneeded newlines.
626 (closeEnvTags) removed.
628 2004-10-23 André Pönitz <poenitz@gmx.net>
630 * undo.C (textUndoOrRedo):
631 * dociterator.C (asDocIterator): work around crash
633 * cursor.C (getStatus): replace ASSERT by more verbose error message
634 and manual correction of the problem. Should increase stability
635 while providing more sensible information.
637 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
639 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
641 * bufferlist.C (previous, next): new methods
644 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
646 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
648 * buffer.C (makeDocBookFile): add dsssl stylesheet control
649 entities to preamble.
651 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * messages.C (Pimpl): strip off translation context information
655 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
658 the cursor is correct (bug 1694)
660 2004-10-13 José Matos <jamatos@lyx.org>
662 * output_docbook.C (docbookParagraphs): fix closing tags in the
665 2004-10-09 José Matos <jamatos@lyx.org>
667 * buffer.C: format up to 237.
668 * bufferparams.C (write): use tostr to convert booleans to strings.
670 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
672 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
674 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
676 * LaTeX.C: implement use of babel language in xindy.
678 2004-10-05 José Matos <jamatos@lyx.org>
680 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
681 Add new translators to help reading and writing the lyx file.
683 2004-10-05 José Matos <jamatos@lyx.org>
685 * ParagraphParameters.C (read):
686 * text.C (readParToken): replace nexToken by more appropriate lex
689 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
691 * LaTeX.C (runMakeIndex):
692 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
693 (usually 'makeindex') configurable.
695 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
696 with a variable rather than with a number.
698 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * output_latex.C (TeXOnePar): make sure font setting is the first
701 thing that gets output (and the last at the end). Should fix bug
704 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
706 * pch.h: use proper signal include
708 * LaTeX.h: Use preferred calling of Boost.Signal
711 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
713 * pch.h: dont include <boost/function/function0.hpp>
715 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
717 * paragraph_pimpl.h: remove usage of ShareContainer
719 * paragraph_pimpl.C: remove initialization of ShareContainer.
721 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * BufferView.C (putSelectionAt): change the semantics when
726 backwards == true: now, this just swaps cursor and anchor wrt the
729 * BufferView.h (putSelectionAt): add some documentation
731 * lyxfind.C (findBackwards): rewrite using while(). In particular,
732 make sure backwardChar is done at least once (to avoid getting
734 (findNextChange): use putSelectionAt in the forward direction
735 (operator()): use Paragraph::isWord
737 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * Spacing.C (set): c_str fix
741 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * lyx_cb.C (Reconfigure): quote the name of configure script in
744 case it contains spaces
746 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
751 (BOOST_LIBS): use top_buildir when looking for the file
753 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * pch.h: do not use include boost/format.hpp, multiple symbols
756 will result (gcc bug)
759 2004-08-23 José Matos <jamatos@lyx.org>
761 * bufferparams.C (readToken): fix reading of the author field.
763 2004-08-20 José Matos <jamatos@lyx.org>
765 * lyxrc.C: remove support/translator.h inclusion since it is not used.
767 2004-08-20 José Matos <jamatos@lyx.org>
769 * lyxlex.[Ch] (findToken): remove function.
771 * ParagraphParameters.C (findToken):
772 * bufferparams.C (findToken): replace call for previous function
773 with local copy. This local function has one more argument, the
774 read string argument.
776 2004-08-16 José Matos <jamatos@lyx.org>
778 * ParagraphParameters.C (write):
779 * Spacing.C (writeFile):
780 * bufferparams.C (writeLaTeX):
781 * lyx_cb.C (Reconfigure):
782 * paragraph.C (write):
783 * tabular.C (write): remove unnecessary space at end of line.
786 2004-08-16 José Matos <jamatos@lyx.org>
788 * text.C (readParagraph): remove debug message.
790 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
795 * output_plaintext.C (asciiParagraph): set depth correctly
797 * outputparams.h: add member depth
799 * paragraph_funcs.C (ownerPar): remove.
801 * text2.C (setCounter): remove first_pit; comment out some
802 non-working code that uses ownerPar
804 * BufferView.C (getParentLanguage): remove. Not used anymore, and
807 2004-08-16 José Matos <jamatos@lyx.org>
809 * text.C (readParToken, readParagraph, read): report all unknown tokens.
810 For the same level of importance use the same chanel to report problems.
811 (read): add code to deal with \begin_body and \end_body.
814 2004-08-15 José Matos <jamatos@lyx.org>
816 * lyxlex.C (getString): fix comment, buffer::readBody is now
819 * tex-strings.C (string_papersize): Default -> default,
820 Custom -> custom, for consistency with other options.
822 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
826 * Makefile.am: support pch
828 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * text.C (readParToken): remove the static LyXFont variable and
831 pass it as a parameter instead. This fixes a nasty bug where an
832 inset will be inserted with a bad font in some situations
833 (readParagraph): adapt
835 * text2.C (setCounter): reduce number of calls to pars_[pit]
837 * text.C (singleWidth): add an assert, fix a test
839 * rowpainter.C (paintText): reduce number of calls to singleWidth
841 * paragraph.C (isHfill):
844 2004-08-14 André Pönitz <poenitz@gmx.net>
849 * lyxtext.h (several functions): use a Paragraph & argument
852 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
854 * metricsinfo.h: add a new field ltr_pos to PainterInfo
856 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
858 * text.C (singleWidth): remove useless test
860 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
862 * tabular.h: remove bogus comments
864 * tabular.C (getDescentOfRow):
865 (isPartOfMultiColumn): add assertions
867 * lyxlength.C (inPixels): remove #warning
869 2004-08-14 André Pönitz <poenitz@gmx.net>
871 * paragraph.h: inline getChar()
873 * BufferView.h: remove unused declarations
875 2004-08-14 José Matos <jamatos@lyx.org>
877 * Buffer.[Ch] (readDocument): new name for old readBody.
878 * Buffer.C: new file format, new keywords: \begin_document,
879 \begin_header, \begin_body, \end_body.
881 * bufferparams.C (readToken): replace all calls to lex.nextToken
882 by lex.next(). Do the same to eatLine except where really needed.
884 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
885 line when writing to the lyx file.
887 * output_plaintext.C (asciiParagraph): fix Bibliography style
890 * text.C (read): fix end of file handling.
892 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
894 * MenuBackend.C (Menu::operator[]): new method to access
895 individual menu items
896 (Menu::hasFunc): new method. search for an item that corresponds
898 (MenuBackend::specialMenu): new method
899 (MenuBackend::expand): if a special menu has been set, skip
900 entries whose func() appears in this menu
902 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
904 * text3.C: use Debug::DEBUG a bit more
906 * text.C (leftMargin): try to simplify a tiny bit change var x to
907 l_margin. Dont output the wide margins always.
908 (rightMargin): no margin in inner texts
910 * rowpainter.h (nestMargin): new func
911 (changebarMargin): new func
912 (rightMargin): new func
914 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
918 * factory.C (createInset): modify setDrawFrame
920 * cursor.C: use Debug::DEBUG a bit more
922 2004-08-14 André Pönitz <poenitz@gmx.net>
925 * Makefile.am: new files to accomodate an 'external' (x,y)-position
926 cache for all insets in (at least partially) visible (top-level)
929 * BufferView_pimpl.C: reset external coord cache before every update.
930 This means the coord cache only contains valid entries.
932 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
935 * BufferView_pimpl.C (getInsetByCode): move function out of class
936 and change in to a template in anon namespace. Also fix to do what
939 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
942 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
944 (breakParagraph): rename par to par_offset and use a local
945 reference. Add code to keep the language over a rebreak.
946 (breakParagraphConservative): rename par to par_offset, use a
948 (mergeParagraph): ditto
950 (isFirstInSequence): ditto
951 (outerFont): rename pit to par_offset
953 * paragraph.C: ws change
958 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
960 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
963 * paragraph.C (simpleTeXOnePar): when we have a \item with
964 optional argument, enclose the argument with curly brackets (in
965 case it contains a closing square bracket)
969 * text3.C (checkInsetHit): constify
971 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
976 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 Fix toggling of collapsable insets with the mouse (bug 1558)
980 * lyxfunc.C (dispatch): adapt to LCursor changes
982 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
983 make sure that dispatch is not invoked twice
985 * cursor.C (needsUpdate): new method
986 (dispatch): return void
987 (result): new method, to access the DispatchResult of the cursor.
989 2004-08-13 José Matos <jamatos@lyx.org>
991 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
993 2004-08-13 André Pönitz <poenitz@gmx.net>
995 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
997 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1000 2004-08-12 André Pönitz <poenitz@gmx.net>
1002 * text3.C: take out the 'cursor right' form insertInset and only
1003 do it in those places when it is really needed. Fixes crash on
1006 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1010 * BufferView_pimpl.C (setBuffer): initialize the current font of
1011 the underlying LyXText
1013 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * kbsequence.C (print): use UI native formatting for menu
1018 * text.C (insertChar): call Paragraph::insertChar with a font
1021 * paragraph.C (insertInset, insertChar): the version that takes a
1022 LyXFont argument is now a wrapper around the other one (the
1023 opposite used to be true).
1025 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1026 argument. Font setting is done in Paragraph now.
1028 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * outputparams.h: add new members intitle and lang.
1032 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1033 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1035 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1037 * text3.C (dispatch): remove special handling of button 4 and 5,
1038 it is now taken care of in the frontend code.
1040 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1042 * Spacing.h: add <string> (STLPort compile fix)
1044 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1046 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1048 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1050 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1053 * converter.C (showMessage): inherit from unary_function, make
1056 * buffer.C (writeFile): initialize retval
1058 * InsetList.h: rename private variable list to list_
1059 * InsetList.[Ch]: adjust accordingly.
1061 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1063 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1064 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1065 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1066 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1067 * ParagraphParameters.C, LaTeXFeatures.C: replace
1068 "support/std_sstream.h" with <sstream>
1070 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1073 * lyxsocket.C (LyXServerSocket): ditto
1074 (serverCallback): ditto
1076 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1078 * LaTeXFeatures.C: check release date when loading jurabib.
1080 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1082 * lyxserver.C (startPipe): call register_socket_callback
1083 (endPipe): call unregister_socket_callback
1085 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1087 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1088 (LyXServerSocket): register the callback
1089 (LyXServerSocket): unregister the callback
1090 (fd): delete function
1091 (serverCallback): improve error checking and setup the callbacks.
1092 (dataCallback): change arg to fd.
1093 (writeln): new func (copied fro the client socket) used for server
1095 (LyXDataSocket): simplify
1096 (~LyXDataSocket): close ann unregiser callback
1097 (server): delete function
1098 (fd): delete function
1099 (readln): small changes, improve some std::string usage
1100 (writeln): constify a bit
1102 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1107 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1110 after it has been populated
1112 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * text2.C (insertInset): move cursor when inserting inset.
1116 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1118 * kbmap.C (findbindings): a couple of new methods. returns a
1119 container of kb_sequence objects. The real work is done by the
1120 private recursive version
1121 (printbindings): uses findbindings to print out a bracketed list
1122 of bindings (renamed from findbinding).
1124 * MenuBackend.C (binding): use kb_keymap::findbindings
1126 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1128 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1130 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1132 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * paragraph.C (isWord): return true on insets that report
1137 * text.C (getWord): use Paragraph::isWord to decide what is in a
1138 word and what is not; fix bug 1609.
1140 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1142 * tex-strings.C: add "none" to string_paperpackages[], fixes
1143 off-by-one-error in the paperpackage selection.
1146 * tex-strings.[Ch]: char const * string[n]
1147 -> char const * const string[]
1149 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1152 command, return early.
1154 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1156 * debug.h: add DEBUG to enum and fix size of ANY.
1158 * debug.C: add support for Debug::DEBUG
1159 (showTags): cast errorTags.level to unsigned int
1161 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1162 (redoCurrentBuffer): ditto
1163 (updateScrollbar): ditto
1164 * cursor.C (dispatch): ditto
1165 * text2.C (setLayout): ditto
1167 (updateCounters): ditto
1169 (deleteEmptyParagraphMechanism): ditto
1171 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1173 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1174 annotations to cleanup the Makefile slightly.
1176 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1178 * lyxrc.C: do not set user_email to a default value but use empty
1179 instead. The entry used to be translated, which does not work
1180 since at the point where lyxrc is constructed there is no
1181 translation service available
1183 * messages.C (getLocaleDir): remove and use directly
1184 lyx_localedir() instead
1186 2004-06-02 Angus Leeming <leeming@lyx.org>
1188 Fix crash caused by dereferencing null pointer 'exportdata' in
1189 OutputParams by creating a new ExportData variable on the heap,
1190 storing it in a boost::shared_ptr.
1191 The crash was triggered when generating an Instant Preview
1192 of an external inset.
1194 * Makefile.am: add outputparams.C
1196 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1197 (c-tor): allocate memory to it.
1199 * exporter.C (c-tor): associated changes.
1201 2004-06-01 Angus Leeming <leeming@lyx.org>
1203 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1204 contains data before calling isInset(0). (Bug 1513.)
1206 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1208 * exporter.C (checkOverwrite): new method
1209 * exporter.C (copyFile): new method
1210 * exporter.C (Export): copy referenced files to the document dir
1211 * exporter.[Ch]: new class ExportedFile
1212 * exporter.[Ch]: new class ExportData. Contains currently the
1213 names of referenced external files
1214 * outputparams.h: add exportdata member.
1216 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1221 2004-05-19 Angus Leeming <leeming@lyx.org>
1226 * lyxfunc.C: small changes due to the introduction of namespace
1227 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1229 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1231 * text3.C (dispatch): supress update when only moving the cursor
1232 * cursor.C (selHandle): remove commented code
1234 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1236 * paragraph.C (startTeXParParams): correct column count
1237 * CutAndPaste.C (pasteSelection): remove const_cast
1238 * output_docbook.C (docbookParagraphs): remove const_cast
1239 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1240 const_cast and return ParagraphList::const_iterator
1241 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1242 * output_plaintext.C (writeFileAscii): remove const_cast
1243 * paragraph.[Ch] (simpleTeXOnePar): make const
1244 * paragraph_funcs.C (outerPar): use const iterators
1245 * paragraph_pimpl.C (validate): use const iterators
1246 * text.C (setHeightOfRow): use const iterators
1248 2004-05-17 Angus Leeming <leeming@lyx.org>
1251 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1253 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1254 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1255 if the citation engine has changed.
1257 2004-05-14 José Matos <jamatos@lyx.org>
1259 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1260 if the textclass does not provide it. Have it different for sgml and
1262 support the language of document.
1263 * output_docbook.C (docbookParagraphs):
1264 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1265 first anchor as the id of the paragraph, remove special case code.
1266 * sgml.C (escapeChar): escape only < & >.
1268 2004-05-14 Angus Leeming <leeming@lyx.org>
1270 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1271 dependencies on src/frontends/controllers/biblio.h. Define a
1272 CiteEngine_enum wrapper class to enable the enum to be forward
1275 2004-05-12 Angus Leeming <leeming@lyx.org>
1277 * buffer.C: up LYX_FORMAT to 234.
1278 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1279 use_numerical_citations with a single biblio::CiteEngine cite_engine
1281 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1283 2004-05-13 José Matos <jamatos@lyx.org>
1286 * converter.C (Converter, readFlags): add xml member.
1287 * outputparams.h: add XML flavor.
1288 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1290 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1292 * lyxfunc.C (dispatch):
1293 (getStatus): fix handling of LFUN_SEQUENCE
1295 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1297 * debug.C (showLevel): do not forget the end-of-line marker
1299 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * kbmap.C (read): do not stop parsing a bind file when an error
1304 2004-04-29 Angus Leeming <leeming@lyx.org>
1309 * text2.C: wrap a bunch of #warning statements
1310 inside #ifdef WITH_WARNINGS blocks.
1312 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1314 * buffer.C: increment format to 233.
1316 2004-04-28 Angus Leeming <leeming@lyx.org>
1318 * BufferView_pimpl.C:
1321 s/updateToolbar()/updateToolbars()/
1322 s/Toolbar.h/Toolbars.h/
1324 2004-04-28 Angus Leeming <leeming@lyx.org>
1326 * BufferView.[Ch] (c-tor):
1327 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1328 No longer passes these data to the WorkArea generator.
1330 2004-04-28 Angus Leeming <leeming@lyx.org>
1332 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1334 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1336 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1338 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1340 * output_latex.C (TeXEnvironment): make sure that there is a line
1341 break before \end{foo} for the last paragraph of a document
1342 (TeXOnePar): if the paragraph is at the end of the document (or
1343 inset) and the language has to be reset, then make sure that the
1344 line break is _before_ the language command, not after (fixes bug
1345 1225); also make sure that the language reset command is the first
1346 thing after the paragraph (to ensure proper nesting of
1347 environments and thus fix bug 1404)
1349 2004-04-21 John Levon <levon@movementarian.org>
1352 * ToolbarBackend.C: make "name" be a programmatic name
1353 and a gui_name field.
1355 * lyxfunc.C: display the minibuffer on M-x
1357 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1359 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1362 2004-04-19 Angus Leeming <leeming@lyx.org>
1364 * BufferView_pimpl.C (setBuffer): changed preview interface.
1366 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1369 2004-04-19 John Levon <levon@movementarian.org>
1371 * BufferView_pimpl.C:
1372 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1374 2004-04-05 Angus Leeming <leeming@lyx.org>
1376 * text.C (redoParagraphs): add call to updateCounters(), thereby
1377 fixing the missing "Figure #:" label from the caption of a
1380 2004-04-13 Angus Leeming <leeming@lyx.org>
1382 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1383 cursor is clicked out of an inset.
1385 2004-04-13 Angus Leeming <leeming@lyx.org>
1387 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1388 than an InsetOld one.
1390 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1392 * format.[Ch]: add editor to Format
1393 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1394 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1396 2004-04-08 André Pönitz <poenitz@gmx.net>
1398 * metricsinfo.h: remove PainterInfo::width member
1400 2004-04-08 Angus Leeming <leeming@lyx.org>
1402 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1403 "\providecommand" rather than "\newcommand", thereby preventing
1404 clashes with packages that define "\boldsymbol" themselves.
1407 2004-04-08 Angus Leeming <leeming@lyx.org>
1409 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1410 thereby squashing an unnecessary warning.
1412 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1414 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1417 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1419 * BufferView.C (setCursor): call redoParagraph (some insets could
1421 (putSelectionAt): remove the 'double update' trick
1423 * BufferView_pimpl.C (fitCursor): call refreshPar
1424 (workAreaDispatch): remove an uneeded update call
1425 (dispatch): remove some manual update calls
1427 * cursor.[Ch]: remove cached_y_, updatePos
1428 (selHandle): set noUpdate when appropriate
1430 * lyxfunc.C (dispatch): track if we need an update
1432 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1434 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1435 (paintSelection): cheap optimization, do not call cursorX when not
1437 (paintPars): change signature
1440 (paintTextInset): adjust
1444 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1446 * lengthcommon.C: compilation fix: remove explicit array size from
1447 unit_name[] and friends
1449 2004-04-05 Angus Leeming <leeming@lyx.org>
1451 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1453 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1454 present only for the preferences dialog.
1455 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1457 2004-04-05 Angus Leeming <leeming@lyx.org>
1459 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1460 to enable the frontends to export changes to lyxrc correctly.
1462 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1464 2004-04-07 André Pönitz <poenitz@gmx.net>
1466 * cursor.[Ch] (selClear, adjust): remove math
1468 * cursor_slice.C: more agressive assert
1471 * BufferView_pimpl.C: rework mouse event dispatch
1478 2004-04-05 André Pönitz <poenitz@gmx.net>
1480 * cursor.[Ch] (valign, halign...): remove unneeded functions
1482 2004-04-05 Angus Leeming <leeming@lyx.org>
1484 * lyxlength.[Ch] (unit_name et al.): const-correct.
1486 2004-04-05 Angus Leeming <leeming@lyx.org>
1488 * BufferView_pimpl.C:
1497 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1499 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1501 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1503 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1505 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1506 * BufferView_pimpl.[Ch] (getStatus)
1507 * BufferView.[Ch] (getStatus): add
1508 * lyxfunc.C (getStatus): move lfuns handled in
1509 BufferView::dispatch to te function above
1510 * Cursor.C (setSelection): set selection() = true
1512 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1514 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1516 2004-03-31 Angus Leeming <leeming@lyx.org>
1518 * lyxfunc.C (dispatch): Fall through to the generic
1519 Dialogs::show("preamble").
1521 2004-03-31 Angus Leeming <leeming@lyx.org>
1523 * lyxfunc.C (dispatch): Fall through to the generic
1524 Dialogs::show("spellchecker").
1526 2004-03-31 Angus Leeming <leeming@lyx.org>
1528 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1531 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1536 * insetiterator.[Ch]:
1541 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1543 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1545 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1546 insets where we are putting the cursor.
1548 2004-03-31 Angus Leeming <leeming@lyx.org>
1551 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1553 * lyxrc.[Ch] (read, write): overloaded member functions taking
1554 a std::[io]stream arguments.
1556 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1558 2004-03-31 Angus Leeming <leeming@lyx.org>
1560 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1561 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1563 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1564 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1566 2004-03-31 Angus Leeming <leeming@lyx.org>
1568 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1569 the LFUN_ALL_INSETS_TOGGLE code.
1571 2004-03-30 Angus Leeming <leeming@lyx.org>
1573 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1574 has died. Fall through to the generic Dialogs::show("document").
1576 2004-03-30 Angus Leeming <leeming@lyx.org>
1579 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1580 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1582 * lyxfunc.C (getStatus, dispatch): define the actions for these
1583 lfuns. Little more than a cut and pste job from ControlDocument.C
1585 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1587 2004-03-30 Angus Leeming <leeming@lyx.org>
1590 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1591 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1593 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1594 open/closed state of ollapsable insets. Usage:
1596 all-inset-toggle <state> <name>, where
1597 <state> == "open" || "closed" || "toggle" and
1598 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1600 * lyxtext.h, text2.C (toggleInset): removed.
1602 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1603 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1604 now passes LFUN_INSET_TOGGLE to the found inset.
1606 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1607 is now invoked as "all-insets-toggle toggle branch".
1609 2004-03-30 Angus Leeming <leeming@lyx.org>
1613 * pariterator.[Ch]: added/corrected header blurb.
1615 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1617 * dociterator.[Ch]: add an inset_ member
1618 (backwardPos): implemented
1619 (backwardPos, forwardPos): use inset_ when the stack is empty.
1620 (doc_iterator_begin, doc_iterator_end): implemented
1621 * pariterator.[Ch]: adjust, add begin, end
1622 * insetiterator.[Ch]: adjust, add begin, end
1626 * BufferView_pimpl.C:
1627 * CutAndPaste.C: adjust
1629 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1631 * buffer.C: increment file format to 232.
1632 * LaTeXFeatures.C: add bibtopic package.
1633 * bufferparams.[Ch]: param \use_bibtopic.
1635 * lyxrc.[Ch]: add lyxrc bibtex_command
1636 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1638 * buffer.C: increment file format to 231.
1640 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1642 * dociterator.C: implement forwardPar
1643 * iterators.[Ch]: remove, replaced by
1644 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1646 * BufferView_pimpl.C:
1649 * bufferview_funcs.C:
1655 * Makefile.am: adjust
1657 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1659 * CutAndPaste.C (pasteSelection): fix 2 crashes
1660 (eraseSelection): fix a crash
1661 * paragraph_funcs.C: remove a warning
1663 2004-03-28 Angus Leeming <leeming@lyx.org>
1666 * LyXAction.C (init): new LFUN_PRINT.
1668 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1670 2004-03-27 Angus Leeming <leeming@lyx.org>
1673 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1675 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1677 2004-03-27 Angus Leeming <leeming@lyx.org>
1679 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1680 insetlist always contains non-null pointers to insets.
1682 2004-03-26 Angus Leeming <leeming@lyx.org>
1684 * src/BufferView_pimpl.C:
1685 * src/CutAndPaste.C:
1688 * src/output_plaintext.C:
1689 * src/outputparams.h:
1690 * src/paragraph_funcs.C:
1694 * src/frontends/controllers/ControlErrorList.C:
1695 * src/frontends/gtk/FileDialogPrivate.C:
1696 * src/frontends/gtk/GPainter.C:
1697 * src/frontends/gtk/GToolbar.C:
1698 * src/frontends/qt2/QRef.C:
1699 * src/mathed/math_scriptinset.C: squash compiler warnings.
1701 2004-03-26 Angus Leeming <leeming@lyx.org>
1703 * ispell.C (LaunchIspell::start):
1704 * lyx_cb.C (AutoSaveBuffer::start):
1705 invoke run(DontWait) rather than runNonBlocking().
1707 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1709 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1711 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1713 * kbsequence.C (print): adjust
1715 * kbmap.C (printKeySym): rename and change signature
1716 (printKey): use LyXKeySym::print()
1718 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1720 * undo.C: add using std::advance to compile for stlport
1722 2004-03-24 Angus Leeming <leeming@lyx.org>
1724 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1725 it leads to a crash when no buffer is present.
1727 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1728 Martin Vermeer <martin.vermeer@hut.fi>
1730 * lyxfunc.C (dispatch):
1731 * bufferparams.C (readToken): use the new LColor::setColor
1733 * LColor.[Ch] (setColor): new version that takes two strings as
1734 argument and creates a new color entry if necessary
1736 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1738 * buffer.C (makeLaTeXFile): if the main latex file that is
1739 processed is usually a subdocument of some master, then pretend
1740 for a while that it is actually the master
1742 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1744 * buffer.C (getLabelList):
1745 (getBibkeyList): use getMasterBuffer()
1746 (getMasterBuffer): new method. Returns the main document in the
1747 case where one is using included documents.
1749 2004-03-25 André Pönitz <poenitz@gmx.net>
1753 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1755 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1757 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1758 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1760 * ParameterStruct.h: merge with ParagraphParameters
1762 * lyxtext.h: remove LyXText::parOffset() and getPar()
1764 * text3.C: Remove all 'manual' update calls. We do now one per user
1765 interaction which is completely sufficient.
1769 * BufferView_pimpl.C:
1770 * FontIterator.[Ch]:
1772 * ParagraphParameters.[Ch]:
1777 * cursor_slice.[Ch]:
1784 * output_docbook.[Ch]:
1785 * output_latex.[Ch]:
1786 * output_linuxdoc.[Ch]:
1787 * output_plaintext.[Ch]:
1789 * paragraph_funcs.[Ch]:
1790 * paragraph_pimpl.[Ch]:
1798 * frontends/controllers/ControlDocument.C:
1799 * frontends/controllers/ControlErrorList.C:
1800 * frontends/controllers/ControlSpellchecker.C:
1803 * insets/insetbase.h:
1804 * insets/insetbibitem.C:
1805 * insets/insetbox.C:
1806 * insets/insetbranch.C:
1807 * insets/insetcaption.C:
1808 * insets/insetcharstyle.C:
1809 * insets/insetcharstyle.h:
1810 * insets/insetcollapsable.C:
1811 * insets/insetcollapsable.h:
1812 * insets/insetert.C:
1813 * insets/insetfloat.C:
1814 * insets/insetfoot.C:
1815 * insets/insetmarginal.C:
1816 * insets/insetnote.C:
1817 * insets/insetoptarg.C:
1818 * insets/insettabular.C:
1819 * insets/insettext.C:
1820 * insets/insettext.h:
1821 * insets/insetwrap.C:
1822 * mathed/math_mboxinset.C:
1823 * mathed/math_nestinset.C:
1824 * mathed/math_scriptinset.C:
1825 * mathed/math_scriptinset.h:
1828 2004-03-24 Angus Leeming <leeming@lyx.org>
1830 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1831 deal with any child processes that have finished but are waiting to
1832 communicate this fact to the rest of LyX.
1834 2004-03-24 Angus Leeming <leeming@lyx.org>
1836 64-bit compile fixes.
1838 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1839 (c-tor): pass lyx::pos_types rather than ints.
1841 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1844 * text.C (Delete): compile fix.
1845 (getPar): ensure that function declaration is the same as that in
1848 2004-03-23 Angus Leeming <leeming@lyx.org>
1850 * ispell.C (LaunchIspell):
1851 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1852 a boost::shred_ptr rather than a std::auto_ptr.
1854 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1857 handle LFUN_FILE_INSERT_*
1859 * lyxrc.C (setDefaults, getDescription, output, read):
1860 * lyxrc.h: remove ps_command
1862 2004-03-22 Angus Leeming <leeming@lyx.org>
1864 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1865 Ensure that error_handler is processed once only and that all data
1866 is saved before attempting to output any warning messages.
1868 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1870 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1872 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1874 2004-03-19 André Pönitz <poenitz@gmx.net>
1876 * cursor.[Ch] (reset): take main text inset as argument
1878 * BufferView: adjust
1879 * BufferView_pimpl.C: adjust
1881 * paragraph.[Ch]: fix completely broken operator=()
1883 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1885 * LColor.C (getFromLyXName): make sure that the color name is used
1888 2004-03-17 Angus Leeming <leeming@lyx.org>
1891 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1893 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1894 dialog and to kill a forked process.
1896 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1898 * text2.C (setCursorFromCoordinates): fix font problem
1900 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1902 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1903 bogus "rebuild cursor" code
1905 2004-03-11 André Pönitz <poenitz@gmx.net>
1907 * buffer.[Ch]: use InsetText instead of LyXText as container for
1910 * dociterator.[Ch]: drop the BufferView * member which is not needed
1911 anymore after the change to buffer.C
1913 * paragraph_funcs.C:
1917 * BufferView_pimpl.[Ch]:
1919 * cursor_slice.[Ch]: adjust
1921 * text3.C: fix bug in mathDispatch
1923 2004-03-08 André Pönitz <poenitz@gmx.net>
1925 * undo.[Ch]: use 'StableDocumentIterator' as base for
1928 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1931 * bufferparams.[Ch]: add jurabib support and param.
1933 * LaTeX.C: add FIXME/comment.
1935 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1937 * buffer.C: increment file format to 230.
1939 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1941 * cursor.C (dispatch): avoid infinite loops
1943 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1945 * rowpainter.C (paintSelection): fix x coordinates
1947 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1949 * text.C (rowBreakPoint): fix breaking before displayed insets
1951 2004-03-01 André Pönitz <poenitz@gmx.net>
1953 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1955 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1959 * BufferView_pimpl.C:
1967 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1973 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1974 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1978 * Bidi.[Ch] (computeTables): const correctness
1979 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1980 fill_hfill, fill_label_hfill and x from Row
1981 * lyxtext.h: prepareToPrint returns a RowMetrics
1982 * rowPainter.C: adjust
1983 * text.C (prepareToPrint): use width, not textWidth. adjust
1984 (redoParagraphInternal, cursorX): adjust
1985 * text2.C (getColumnNearX): adjust
1986 (init): put a default value to the top LyXText::width
1988 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1990 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1992 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1994 * lyxtext.h: add FontIterator class
1996 * text.C (FontIterator, operator*, operator->, operator++): add
1997 (rowBreakPoint, setRowWidth): adjust (fixing a
2000 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2002 * BufferView_pimpl.C (workAreaDispatch): allow also
2003 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2005 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2007 * text.C (rowBreakPoint): fix a bug showing with very large insets
2009 2004-02-25 André Pönitz <poenitz@gmx.net>
2012 * cursor.[Ch]: move some mathed specific code to mathed
2014 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2016 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2017 use_tempdir in preferences
2018 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2020 * lyx_main.C: ensure that tempdir is valid
2021 * lyxlex.h: correct typo
2022 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2023 * paragraph.[Ch] (isMultiLingual): make const
2024 * cursor.[Ch] (openable): make const
2026 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2028 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2030 2004-02-20 André Pönitz <poenitz@gmx.net>
2032 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2034 * cursor.[Ch]: prepare for localized getStatus()
2040 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2042 2004-02-20 André Pönitz <poenitz@gmx.net>
2044 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2046 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2048 * text2.C (setCursorFromCoordinates): switch to absolute coords
2050 (cursorDown): adjust
2051 * text3.C (dispatch): adjust
2053 2004-02-16 André Pönitz <poenitz@gmx.net>
2055 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2058 * cursor_slice.[Ch]: remove unneeded acessor function
2060 * lyxtext.h: rename rtl() to isRTL()
2068 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2070 * rowpainter.C (paintSelection): coord fix
2072 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2074 * Spacing.C: compile fix
2076 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2078 * cursor.C (dispatch): restore current_ before returning
2080 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2082 * text2.C (cursorUp, cursorDown): fix coords
2085 2004-02-12 André Pönitz <poenitz@gmx.net>
2090 * text3.C: add LCursor & parameter to most cursor movement functions
2091 remove usage of LyXText::cursorRow() and cursorPar()
2093 * cursor.[Ch]: add textRow() needed members
2096 * BufferView_pimpl.C:
2099 * BufferView_pimpl.C: adjust
2101 2004-02-11 André Pönitz <poenitz@gmx.net>
2105 * BufferView_pimpl.C: shift undo/redo handling
2107 * cursor.[Ch]: fix mathed crash
2110 * lyxtext.h: move selectionAsText to LCursor
2118 * rowpainter.C: fix excessive drawing
2120 2004-02-06 André Pönitz <poenitz@gmx.net>
2123 * BufferView_pimpl.[Ch]:
2124 * text3.C: move some text specific LFUN handling
2126 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2128 * text3.C (checkInsetHit): adjust coords
2129 * text2.C (getColumnNearX): adjust coords
2130 (edit): adjust coords
2131 * text.C (getRowNearY): add two asserts
2133 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2136 * format.C: add using std::distance to compile on gcc 2.95/stlport
2138 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2140 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2142 2004-02-04 André Pönitz <poenitz@gmx.net>
2144 * BufferView.[Ch] (insertInset):
2145 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2150 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2152 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2153 on the default clause of the switch
2154 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2155 wasn't catched by LCursor::dispatch
2157 2004-02-03 André Pönitz <poenitz@gmx.net>
2160 * cursor.[Ch]: some additional asserts
2162 * undo.[Ch]: remove LyXText dependency in interface
2166 * lyxtext.h (firstPar, lastPar): remove dead functions
2171 * paragraph.[Ch]: adjust
2173 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2175 * lyxfind.C (find): fix argument order in call to ::find
2177 2004-02-02 André Pönitz <poenitz@gmx.net>
2179 * cursor.[Ch]: remove direct access to anchor
2181 * text.C: remove findText() hack
2183 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2185 * iterators.[Ch] (lockPath): remove in favour of...
2186 * BufferView.[Ch] (setCursor): this addition
2187 * BufferView.C (putSelectionAt): adjust
2188 * undo.C (performUndoOrRedo): adjust
2189 * lyxfunc.C (dispatch): adjust
2191 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2193 * iterators.C (lockPath): add a missing slice
2194 * undo.C (performUndoOrRedo): remove redundant positioning code
2196 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2198 * vc-backend.C (scanMaster): ";" -> ';'
2200 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2202 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2203 std::binary_function
2205 * lyxtextclass.C (compare_name): rename to...
2206 (LayoutNamesEqual): ...this
2208 * lyxlex_pimpl.C (compare_tags): inherit from
2209 std::binary_function, put back into anon namespace
2211 * lyxfind.C (MatchString): inherig from std::binary_function
2212 (findChange): use empty() istead of !size()
2214 * format.C (FormatNamesEqual): new functor
2221 * converter.C (compare_Converter): rename to...
2222 (ConverterEqual): ...this, and fixup a bit.
2223 (getConverter): use it, and make function const
2224 (getNumber): use it, and make function const
2228 * bufferlist.C: add using boost::bind
2230 * MenuBackend.C (MenuNamesEqual): new functor
2231 (hasMenu): use it, and make function const
2232 (hasSubmenu): use nested bind to get rid of compare_memfun.
2234 2004-01-30 André Pönitz <poenitz@gmx.net>
2236 * BufferView_pimpl.C:
2239 * cursor_slice.[Ch]:
2242 * paragraph_funcs.C:
2243 * paragraph_funcs.h:
2247 * text3.C: move some of the edit(x,y) handling to the insets
2248 some coordinate changes.
2250 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2252 * text.C: add using statements for std::advance and std::distance
2254 * paragraph.C: add using statement for std::distance
2256 * lyxfind.C: add using statement for std::advance
2258 * cursor.C (region): remove std:: from swap
2259 (openable): use nucleus in stead of operator->
2261 * BufferView.C: add using statements for std::distance and std::swap
2263 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2265 * iterators.C: Remove the pimple, move the needed structures to
2266 the header file. Create accessor for the positions stack.
2267 (asPosIterator): remove function
2269 * PosIterator.C (PosIterator): move constructors to top of file
2270 (PosIterator): reimplement the constructor taking a ParIterator in
2272 (setFrom): new function
2273 (operator!=): inline it
2275 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2277 * lyxfind.C (replaceAll): use std::advance
2279 * iterators.h: inherit from std::iterator.
2281 * PosIterator.C (advance, distance): remove
2282 * PosIterator.h: interit from std::iterator.
2284 2004-01-26 André Pönitz <poenitz@gmx.net>
2287 * BufferView_pimpl.[Ch]:
2291 * bufferview_funcs.C:
2301 * output_linuxdoc.C:
2302 * output_plaintext.C:
2304 * paragraph_funcs.[Ch]:
2305 * paragraph_pimpl.[Ch]:
2311 * text3.C: more IU: dumps most of the rest of the mathcursor
2312 implementation into cursor.[Ch]; "globalize" a bit of it.
2314 2004-01-25 Angus Leeming <leeming@lyx.org>
2316 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2318 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2320 * LaTeXFeatures.h: add nice_ and nice() const
2321 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2323 2004-01-20 André Pönitz <poenitz@gmx.net>
2326 * BufferView_pimpl.C:
2328 * bufferview_funcs.C:
2330 * cursor_slice.[Ch]:
2341 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2342 LCursor and mathcursor parts to LCursor and InsetBase.
2344 2004-01-15 André Pönitz <poenitz@gmx.net>
2346 * cursor_slice.[Ch]: add a few covienience functions
2348 * funcrequest.[Ch]: remove BufferView * member
2350 * BufferView_pimpl.C:
2357 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2359 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2361 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2362 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2364 2004-01-13 André Pönitz <poenitz@gmx.net>
2367 * lyxtext.h: hide cursor and selection anchor behind accessor function
2370 * BufferView_pimpl.[Ch]:
2372 * bufferview_funcs.C:
2382 * cursor_slice.[Ch]: some integer type changes for inset unification
2384 * lyxcursor.[hC]: remove, it's CursorSlice now.
2387 * BufferView_pimpl.[Ch]:
2388 * bufferview_funcs.C:
2394 * textcursor.[Ch]: adjust
2396 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2398 * text2.C (undoSpan): add and use
2399 * text.C (breakParagraph): use undoSpan (fix bug 578)
2402 2004-01-08 Angus Leeming <leeming@lyx.org>
2404 * BufferView_pimpl.C (MenuInsertLyXFile):
2405 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2406 * lyxfunc.C (menuNew, open, doImport):
2407 FileFilterList change to the FileDialog open and save functions.
2409 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2411 * ShareContainer.h: make isEqual and isUnique adaptable
2413 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2415 2004-01-07 Angus Leeming <leeming@lyx.org>
2418 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2420 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2422 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2423 functions replacing find, replace and replaceAll.
2425 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2426 LFUN_WORDFIND(FORWARD|BACKWARD).
2428 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2430 * text.C (breakParagraph): remove an outdated #warning
2432 2004-01-07 André Pönitz <poenitz@gmx.net>
2434 * lyxfind.C: somewhat clearer logic
2436 * text.C: prevent crash in cursorX on unitialized row cache
2438 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2440 * lyxcursor.[Ch] (operator>): add
2441 * textcursor.C (selStart, selEnd): use std::min and std::max
2443 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2445 * Chktex.C: include boost/format.hpp
2447 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2449 * InsetList.C: replace functor MathcIt with adaptable functor
2451 (insetIterator): modify accordingly
2453 * BranchList.h: move the BranchNamesEqual functor here from...
2454 * BranchList.C: ... to here
2456 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2458 (add): replace a finding loop with std::find_if.
2460 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2462 * output_docbook.C: moving LatexParam functionality into
2465 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2467 * buffer.C: increment format to 229.
2469 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2472 * lyx_sty.[Ch]: remove minipageindent_def
2478 * text3.C: remove LFUN_INSET_MINIPAGE
2480 2003-12-28 Angus Leeming <leeming@lyx.org>
2482 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2484 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2486 * text2.C (setParagraph): fix off-by-one crash
2488 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2490 * output_docbook.C: header stuff for AGU
2492 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2494 * text2.C (redoCursor): remove
2497 * BufferView_pimpl.C: remove calls to redoCursor and
2498 setCursor(cursor.par(), cursor.pos()) all around
2500 2003-12-15 Angus Leeming <leeming@lyx.org>
2502 * buffer.C: up the format to 228.
2504 2003-12-15 André Pönitz <poenitz@gmx.net>
2506 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2511 * BufferView_pimpl.C:
2520 2003-12-15 Angus Leeming <leeming@lyx.org>
2522 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2523 than getFromGUIName to manipulate the color.
2525 2003-12-14 Angus Leeming <leeming@lyx.org>
2527 * BranchList.[Ch]: minimize the API.
2528 (Branch::getBranch, getColor): now return a 'const &'.
2529 (Branch::setSelected) now returns a bool set to true if the
2530 selection status changes.
2531 (BranchList::clear, size, getColor, setColor, setSelected,
2532 allBranches, allSelected, separator): removed.
2533 (BranchList::find): new functions, returning the Branch with
2535 (BranchList::add, remove): return a bool indicating that
2536 the operation was successful.
2538 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2539 new InsetBranch::isBranchSlected member function.
2541 * LColor.[Ch]: mimimize the API.
2542 (fill): renamed as addColor and made private.
2543 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2544 versions of these functions taking a string arg have been removed.
2546 * bufferparams.C (readToken):
2547 * lyxfunc.C (dispatch):
2548 * lyxrc.C (read): changes due to the altered BranchList and
2551 * factory.C (createInset, readInset): changes due to altered
2554 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2557 * lyxfunc.C: remove insetminipage. "minipage-insert"
2558 now produces a frameless minipage box inset.
2560 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2562 * textcursor.[Ch] (selStart,selEnd): add new methods
2563 remove selection::start, end, use LyXCursor::operator<
2564 * lyxcursor.[Ch] (operator<): add
2565 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2566 * BufferView.[Ch] (unsetXSel): add
2567 * text2.C (clearSelection): use unsetXSel,adjust
2570 * rowpainter.C: adjust
2571 * bufferview_funcs.C (put_selection_at): adjust
2573 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2575 * BufferView_pimpl.C: small coord. correction
2577 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2579 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2580 dragging over the splash screen.
2582 2003-12-11 Angus Leeming <leeming@lyx.org>
2584 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2585 as it is now handled in LyXText::dispatch.
2587 * text3.C (doInsertInset): remove a level of nesting.
2589 2003-12-11 Angus Leeming <leeming@lyx.org>
2591 * factory.C (createInset): changes due to the changed interface to
2592 InsetCommandMailer::string2params.
2594 2003-12-10 Angus Leeming <leeming@lyx.org>
2596 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2597 'dialog-show-new-inset <inset name>'
2599 2003-12-10 Angus Leeming <leeming@lyx.org>
2601 * buffer.C: up the format to 227.
2603 * factory.C: the box inset is now identified simply by 'Box'.
2605 2003-12-10 Angus Leeming <leeming@lyx.org>
2607 * buffer.C: up the format to 226.
2609 * factory.C: the note inset is now identified simply by 'Note'.
2611 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2613 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2614 when a pit is enough. Standarize a couple of loops.
2616 2003-12-05 Angus Leeming <leeming@lyx.org>
2618 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2619 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2620 data to the re-worked "log" dialog.
2622 2003-12-03 André Pönitz <poenitz@gmx.net>
2628 * paragraph_funcs.C:
2630 * text2.C: use Inset::getText instead of Inset::getParagraph
2632 2003-12-03 André Pönitz <poenitz@gmx.net>
2636 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2637 InsetText::read() as LyXText::read()
2639 2003-12-02 Angus Leeming <leeming@lyx.org>
2641 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2642 type. Add a comment in the implementation that the function uses
2643 the stream's bad() function rather than fail() as the std::streams
2646 2003-12-02 André Pönitz <poenitz@gmx.net>
2648 * lyxlex.[Ch]: make interface more similar to std::stream
2650 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2652 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2654 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2656 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2658 * vspace.[Ch]: remove VSpace::NONE
2660 2003-12-01 André Pönitz <poenitz@gmx.net>
2663 * lyxtext.h: move ParagraphList member to LyXText
2664 rename LyXText::ownerParagraphs to LyXText::paragraph
2667 * bufferview_funcs.C:
2677 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2679 * undo.C: fix cursor positioning
2681 2003-12-01 John Levon <levon@movementarian.org>
2683 * BufferView_pimpl.C: fix a crash on exit with
2686 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2688 * BranchList.C: fix setSelected() method.
2690 2003-11-28 André Pönitz <poenitz@gmx.net>
2692 * ParagraphParameters.[Ch]:
2693 * ParameterStruct.h: remove space above/below from Paragraph to
2696 * BufferView_pimpl.C:
2702 * paragraph_funcs.C:
2708 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2710 * factory.C: Syntax change for CharStyles
2712 2003-11-28 André Pönitz <poenitz@gmx.net>
2717 * buffer.[Ch]: move LyXText member
2719 2003-11-28 André Pönitz <poenitz@gmx.net>
2721 * BufferView.[Ch]: make LyXText * text a private member
2723 * BufferView_pimpl.C:
2734 * output_plaintext.C: cleanup
2736 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2739 * lyxtextclass.[Ch]: parametrize SGML document header
2741 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2744 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2747 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2749 * text2.C (setFont): rework using PosIterator (no more recursive)
2750 (setCharFont): no more needed
2751 (setLayout): no more selection cursors fiddling (done by redoCursor)
2752 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2753 destroy remaining ones)
2755 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2757 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2759 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2762 * text3.C: adjust + re-allow multi par depth changes
2763 * textcursor.C: simplify a bit
2765 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2771 * src/output_docbook.C:
2772 * src/output_latex.C:
2777 * src/text2.C: Introducing a number of tags parametrizing various
2778 XML formats that we may want to support
2780 2003-11-25 André Pönitz <poenitz@gmx.net>
2782 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2784 * lyxtext.h (leftMargin/rightMargin): simplify interface
2791 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2793 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2794 master file to any child files. Fixes bug 546.
2796 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2798 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2800 2003-11-24 André Pönitz <poenitz@gmx.net>
2802 * rowpainter.C: simplification
2804 * text2.C (updateCounters): remove call to redoParagraph on
2805 changed labels as this is far too expensive.
2807 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2809 * converter.C (convert): fix a crash: this function gets
2810 called with buffer == 0 from importer code.
2812 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2814 * text3.C (cursorPrevious): make sure that we do not compare
2815 iterators form different containers.
2818 * rowpainter.C (paintSelection): make sure that we do not compare
2819 iterators from different containers.
2821 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2822 iterators from different ParagraphList containers.
2825 * text2.C (LyXText): change order of initialization slightly
2826 (operator=): new function. copy all variables except cache_par_
2827 (moveUp): make sure that we do not compare iterators from
2828 different ParagraphList constainers.
2831 * text.C (firstPar): new function
2832 (lastPar): new function
2833 (endPar): new function
2835 * lyxtext.h: move things around and group public functions, public
2836 variables, private functions, private variables
2838 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2840 * factory.C: change call to InsetERT constructor to avoid
2841 additional invocation of method status
2842 * text2.C (toggleInset): remove redundant update() call
2843 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2844 instead of a Bufferview pointer
2846 2003-11-21 André Pönitz <poenitz@gmx.net>
2848 * rowpainter.C: simplification
2850 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2852 * text3.C (dispatch): make possible to extend a word/row selection
2855 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2857 * lyxtext.h: x0_,y0_ -> xo_,yo_
2858 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2859 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2860 * rowpainter.C (paintRows): paint full paragraphs
2862 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2864 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2867 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2869 * lyxtext.h: add x0_, y0_
2870 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2871 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2873 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2875 * text2.C (setCursorIntern): move the x_target update here *
2876 * text3.C: change some bv() to true/false in calls to
2877 cursorUp/Down/Right/Left
2878 * cursor.C: use helper function.
2880 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2882 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2883 * paragraph_funcs.[Ch]: correct comment
2884 * rowpainter.C: do not paint selections away from bv->cursor()
2885 Fix a long standing selection painting bug.
2886 * text3.C: generalize mouse-selection code to LyXTexts other that
2888 * textcursor.C: do not use y coords if we can use par offsets
2890 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2892 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2893 cursor position after e.g. inset insert)
2895 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2897 * lyxfind.C (replace): adjust to locking removal + some
2900 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2902 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2905 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2908 * output_docbook.C: XML sanitation: new layout
2909 parameters InnerTag and CommandDepth
2911 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2913 * BufferView_pimpl.C:
2915 * text3.C: Fix the insertion and modification of button-style
2918 2003-11-13 André Pönitz <poenitz@gmx.net>
2920 * InsetList.[Ch]: remove deleteLyXText
2922 * paragraph.[Ch]: cache beginOfBody position
2927 * text3.C: remove superfluous update() calls
2931 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2933 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2934 * BufferView.C (fitLockedInsetCursor): remove
2935 * cursor.[Ch] (getDim): add
2936 * text.C (getRowNearY): add faster version
2937 * text3.C: remove some update calls
2939 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2951 * text3.C: The Character Style /XML short element patch.
2953 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2956 * factory.C: Small step to solving 'unable to insert some insets'
2959 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2961 * cursor.[Ch] (updatePos): new function for updating the y
2962 position of the tip inset
2963 * bufferview_funcs.C (put_selection_at):
2964 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2966 2003-11-11 André Pönitz <poenitz@gmx.net>
2968 * text.C: remove big comment on invalid Paragraph pointers as it is
2971 2003-11-11 André Pönitz <poenitz@gmx.net>
2973 * text_funcs.[Ch]: merge with ...
2981 * Makefile.am: remove text_funcs.[Ch]
2983 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2985 * cursor.C (getPos): return absolute cached y coord
2987 * BufferView_pimpl.C (fitCursor): new simplistic code
2988 (workAreaDispatch): add a fitCursor call
2990 2003-11-10 André Pönitz <poenitz@gmx.net>
2993 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2995 2003-11-10 André Pönitz <poenitz@gmx.net>
2997 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2998 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2999 indicate that the cursor needs to leave an inset
3001 * lyxtext.h: remove inset locking
3003 * cursor.[Ch]: re-implement functionality provided by inset locking
3006 * BufferView_pimpl.[Ch]:
3008 * bufferview_funcs.[Ch]:
3020 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3022 * PosIterator.[Ch]: replace the stack with a vector, add inset
3024 * iterators.[C]: adjust
3026 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3028 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3030 * paragraph_funcs.C (readParToken): put the correct id in the
3031 error item, not the id of the top paragraph
3033 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3035 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3036 * bufferview_funcs.C (put_selection_at): use the above
3038 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3040 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3042 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3044 * output_linuxdoc.h:
3045 * output_plaintext.h:
3047 * output_docbook.h: add #include statements
3049 2003-11-05 José Matos <jamatos@lyx.org>
3051 * output_docbook.[Ch]:
3052 * output_latex.[Ch]:
3053 * output_linuxdoc.[Ch]:
3054 * output_plaintext.[Ch]: New files for output formats.
3055 * output.[Ch]: New file for helper functions.
3058 * paragraph_funcs.[Ch]: output functions moved to new files.
3060 * outputparams.h: rename of latexrunparams.h
3068 * paragraph_funcs.[Ch]:
3069 * paragraph_pimpl.[Ch]:
3070 * tabular.[Ch]: rename ascii to plaintext
3071 and LatexRunParams to OutputParams.
3073 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3075 * iterators.[Ch] (text): require bv argument
3076 * undo.C (recordUndo):
3077 * lyxfunc.C (dispatch):
3078 * bufferview_funcs.C (put_selection_at): adjust
3080 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3082 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3084 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3086 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3089 2003-11-04 André Pönitz <poenitz@gmx.net>
3091 * cursor.[Ch]: restructure
3094 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3096 * iterators.[Ch] (asCursor): remove
3098 * lfuns.h: remove LFUN_INSET_EDIT
3104 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3106 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3108 * lyxfind.[Ch]: complete overhaul
3109 * BufferView_pimpl.C:
3111 * paragraph.[Ch] (insert): add
3113 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3117 * text.C: remove dead spellcheck code
3119 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3121 * dispatchresult.h: add a val setter
3123 * cursor.C (dispatch): use a tempvar for data_[i]
3125 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3127 * PosIterator.[Ch]: compile fix
3129 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3131 * text.C (cursorPar): deactivate the cursor cache
3133 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3135 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3137 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * text3.C (dispatch): adjust for new DisptchResult semantics.
3141 * lyxfunc.C (dispatch): handle update when return from
3142 Cursor::dispatch, adjust for new DispatchResult semantics.
3144 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3145 DispatchResult(true) mean to not update. Add class functions for
3146 setting dispatched and update, as well as reading.
3148 * cursor.C (dispatch): don't handle update here
3150 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3153 * trans_mgr.C: adjust
3155 * paragraph_funcs.C (readParToken): exception safety
3157 * lyxvc.h: store the vcs pointer in a scoped_ptr
3160 * lyxsocket.C (serverCallback): exception safety
3162 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3164 * ispell.C (clone): make it return a auto_ptr
3166 * factory.C (createInset): exception safety
3167 (readInset): exception safety
3169 * bufferlist.C (newBuffer): exception safety
3171 * Thesaurus.C (Thesaurus): use initialization for aik_
3173 * MenuBackend.C (expandToc): exception safety.
3175 2003-11-03 André Pönitz <poenitz@gmx.net>
3179 * bufferview_funcs.C: remove getInsetFromId()
3182 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3188 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3190 * PosIterator.C (distance, advance): new
3191 * bufferview_funcs.[Ch] (put_selection_at): new
3192 * iterators.[Ch] (lockPath): new
3194 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3196 * iterators.[Ch] (asPosIterator): added
3197 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3198 * PosIterator.[Ch]: added
3200 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * cursor.C (dispatch):
3205 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3207 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3208 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3209 contructor, add a class function dispatched. Remove operator>=
3211 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * debug.C: only use the default constructor for debugstream
3216 * main.C (main): include debug.h and setup the lyxerr streambuf
3219 2003-10-31 José Matos <jamatos@lyx.org>
3221 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3223 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3224 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3225 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3226 * paragraph_pimpl.C (simpleTeXSpecialC):
3227 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3228 add LatexRunParams argument.
3230 * exporter.C (Export): change call accordingly.
3232 * latexrunparams.h: add new member to take care of the other backends.
3233 2003-10-30 José Matos <jamatos@lyx.org>
3235 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3236 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3237 factorise code for paragraph output.
3239 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3242 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * text3.C (dispatch):
3245 * lyxfunc.C (dispatch):
3246 * cursor.C (dispatch):
3247 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3249 * dispatchresult.h: make the dispatch_result_t ctor explicit
3251 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3254 * buffer.C: small refactoring of docbook stuff
3256 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3261 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3264 operator dispatch_result_t, and operators for == != and >=
3266 * cursor.C (dispatch): adjust for operator dispatch_result_t
3267 removal. comment out call to update
3269 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3271 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3282 * dispatchresult.h: new file, DispatchResult broken out of
3285 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3287 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3289 * text.C (rowBreakPoint): put a hack inside #if 0
3291 2003-10-28 André Pönitz <poenitz@gmx.net>
3295 * paragraph_funcs.C:
3298 * text2.C: general cleanup (lots of small stuff)
3300 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3302 * text2.C (cursorEnd): simple fix to the "end key goes to one
3303 before the end on last row" bug
3305 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3307 * text.C (backspace): fix the "zombie characters"
3309 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3311 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3313 2003-10-27 André Pönitz <poenitz@gmx.net>
3315 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3317 * factory.C: handle new InsetPagebreak, InsetLine
3319 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3320 and move handling into new InsetPagebreak, InsetLine
3322 * BufferView_pimpl.C:
3324 * ParagraphParameters.C:
3325 * ParameterStruct.h:
3330 * paragraph_funcs.C:
3331 * paragraph_pimpl.C:
3337 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3340 * lyxrow_funcs.[Ch]:
3346 * text3.C: remove lastPos uses in favour of Row::endpos
3348 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3350 * undo.C (performUndoOrRedo): fix two crashes by setting a
3351 cursor by hand and reordering some calls. Use bv->lockInset instead
3352 of inset->edit because the latter loses cursor information
3354 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3356 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3358 (rowBreakPoint): fix width. change point to point + 1.
3359 Add a missing check.
3361 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3364 * lyxfunc.C: fix (at least partly) the problems
3365 with the Nav menu and headers inside branch insets
3368 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3370 * paragraph.C (getChar): add strong asserts
3372 * lyxrow_funcs.C (lastPos): remove hideous hack
3374 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3375 (fill): adjust to that (avoid an infinite loop)
3377 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3379 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3381 2003-10-23 André Pönitz <poenitz@gmx.net>
3383 * RowList_fwd.h: change list<> to vector<> to gain speed
3384 after suggestion from Alfredo
3386 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3388 * lyxtext.h: move the bidi stuff from here...
3391 * Bidi.[Ch]: ... to here
3393 2003-10-23 André Pönitz <poenitz@gmx.net>
3396 * text.C (isLastRow, isFirstRow): new functions
3398 * paragraph.h: new width cache member
3400 * rowpainter.C: replace RowList::iterator with Row & where possible
3402 * lyxfunc.C: replace several view()->text with a single call
3404 * toc.C: fix 'unused' warning
3406 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3409 when woring with stream::pos_type
3410 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3412 2003-10-22 André Pönitz <poenitz@gmx.net>
3415 * text.C: use Row & instead of RowList::iterator
3417 * lyxrow.h: rename end() to endpos()
3423 2003-10-22 Angus Leeming <leeming@lyx.org>
3425 * buffer.[Ch] (fully_loaded): new member function, returning true
3426 only when the file has been loaded fully.
3427 Used to prevent the premature generation of previews and by the
3428 citation inset to prevent computation of the natbib-style label.
3430 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3431 templates are all set up.
3433 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3435 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3437 * text.C: fixed an "oops" in the "is a bit silly"
3440 2003-10-21 André Pönitz <poenitz@gmx.net>
3442 * FuncStatus.[Ch]: small stuff, whitespace
3444 * lyxfont.[Ch]: operator<<() for debug reasons
3448 * lyxtext.h: whitespace, spelling
3450 * paragraph.C: naming of variables
3453 * text2.C: small stuff
3456 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3458 * text.C: (1) finish off the inset display() work;
3459 (2) fix the "is a bit silly" bug (accessing char
3462 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3464 * text.C: re-introduce display() for insets, fixing the
3465 various bugs (stretch of line above, math inset
3468 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3470 * text.C (rightMargin): remove spurious semicolon
3472 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3475 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3477 * text3.C: fix one crash due to wrong cursor def
3479 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * vc-backend.C (scanMaster): make the regex static
3483 * LaTeX.C (scanAuxFile): make the regexs static
3485 * text3.C (doInsertInset, dispatch, dispatch):
3486 * text2.C (cursorUp, cursorDown):
3487 * text.C (selectNextWordToSpellcheck):
3488 * BufferView_pimpl.C (dispatch):
3489 * lyxfunc.C (dispatch): localDispatch -> dispatch
3491 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3493 * lyxsocket.C: include <cerrno>
3495 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * lyxfunc.C (dispatch): remove textcache stuff
3499 * bufferlist.C (release): remove textcache stuff
3502 * TextCache.C: delete file
3503 * TextCache.h: delete file
3505 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3507 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3508 delete of the bv_->text.
3509 (resizeCurrentBuffer): remove texcache stuff
3510 (workAreaResize): ditto
3512 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3517 2003-10-16 André Pönitz <poenitz@gmx.net>
3524 * text3.C: speed up by storing y positions per paragraph plus per-row
3525 offset instead of having a 'full' y position in the row.
3527 2003-10-15 André Pönitz <poenitz@gmx.net>
3531 * undo.[Ch]: make undo aware of inner insets
3533 2003-10-14 Angus Leeming <leeming@lyx.org>
3535 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3536 static member functions LyX::ref() and LyX::cref.
3537 (lastfiles): new accessor functions for the new lastfiles_ member var.
3538 (addLyXView, views_): add a new LyXView to the list of views_.
3539 (updateInset): loop over all LyXViews to call their own updateInset
3540 member function, returning a pointer to the Buffer owning the inset.
3542 * BufferView_pimpl.C (loadLyXFile):
3543 * MenuBackend.C (expandLastfiles):
3544 * bufferlist.C (MenuWrite, QuitLyX):
3545 lastfiles is no longer a global variable.
3546 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3548 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3549 static function. Access through LyX::cref().emergencyCleanup().
3551 2003-10-14 André Pönitz <poenitz@gmx.net>
3553 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3555 * undo.[Ch]: restoring part of 'undo in insets'
3558 * undo_funcs.[Ch]: merge with undo.[Ch]
3560 * tabular.C: small cleansing stuff
3562 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3564 * paragraph_funcs.C (readParToken): report unknown insets as error
3565 boxes. Use the outer paragraph as location (also for unknown
3568 * factory.C (readInset): do not abort on reading an unknown inset.
3569 Eat it and return 0.
3571 2003-10-13 Angus Leeming <leeming@lyx.org>
3573 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3575 * lyxrc.C: displayTranslator is now a function,
3576 declared in GraphicsTypes.h.
3578 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3580 * format.C: new placeholder $$a to pass the socket address.
3582 * bufferlist.[Ch]: new function getBufferFromTmp.
3584 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3585 files in the temporary dir.
3587 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3589 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3591 * Makefile.am: add lyxsocket.[Ch].
3593 * lyx_main.C (error_handler): handle SIGPIPE.
3595 2003-10-13 André Pönitz <poenitz@gmx.net>
3597 * BufferView_pimpl.C:
3602 * undo_funcs.[Ch]: use paroffset_type instead of
3603 ParagraphList::iterators to prevent multiple conversion
3604 (and get a more robust interface)
3606 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3610 * text3.C (dispatch): ditto
3612 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3615 move the onlyfile, use onlyfile instead of foundfile in a couple
3618 * DepTable.C (update): flush the error stream a bit more
3620 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * lyxserver.C (callback): adjust
3624 * lyxfunc.C (getStatus): add a missing brace in commented code
3625 (ensureBufferClean): reindent
3626 (dispatch): delete version taking a string
3628 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * LaTeX.C (deplog): move found file handlig from here...
3631 (handleFoundFile): .. to new function here.
3632 (deplog): make sure to discover several files mentioned on the
3635 2003-10-10 André Pönitz <poenitz@gmx.net>
3642 * text3.C: fix some of the tabular crashes
3644 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3646 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3648 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3650 2003-10-09 André Pönitz <poenitz@gmx.net>
3652 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3655 * BufferView_pimpl.C:
3656 * bufferview_funcs.C:
3667 * undo_funcs.C: adjust
3669 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * text2.C (incrementItemDepth): new function, use a backtracking
3672 algorithm to discover the correct item depth.
3673 (resetEnumCounterIfNeeded): new function, use a backtracking
3674 algorithm to discover if counter reset is needed.
3675 (setCounter): use them. Simplify a bit. Add different labels for
3676 different item depths for itemize.
3678 * paragraph.C (Paragraph): remove initialization of enumdepth
3681 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3682 enumerate and itemize. Change the type of itemdepth to signed char.
3684 2003-10-08 André Pönitz <poenitz@gmx.net>
3686 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3691 * tabular.[Ch]: fix crash after 'row-insert'
3693 2003-10-08 Angus Leeming <leeming@lyx.org>
3695 Fix doxygen warnings.
3697 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3698 Remove CutAndPaste:: prefix from header file declaration.
3700 * LColor.h (fill): remove LColor:: prefix from declaration.
3702 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3703 use lyx::depth_type rather than Paragraph::depth_type so that
3704 header file and .C file match.
3706 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3708 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3709 * aspell.C: \file aspell_local.C -> \file aspell.C
3710 * gettext.C: \file gettext.C -> \file src/gettext.C
3711 * gettext.h: \file gettext.h -> \file src/gettext.h
3712 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3713 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3714 * text.C: \file text.C -> \file src/text.C
3716 * toc.C: move comment so that doxygen is not confused.
3718 2003-10-07 Angus Leeming <leeming@lyx.org>
3720 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3722 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3725 * aspell_local.h: add forgotten std::string's.
3727 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3734 * text3.C: The Box patch. Fancybox support, minipage, parbox
3736 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3742 * ParagraphParameters.h:
3752 * lyxtextclasslist.h:
3755 * paragraph_pimpl.C:
3756 * textcursor.h: add <string> and other small fixes to make Lars'
3757 std::string patch compile with STLport.
3759 2003-10-06 Angus Leeming <leeming@lyx.org>
3761 * LColor.h: Add missing #include <string>.
3763 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * All most all file in all subdirs: Make <string> be the prefered
3766 way of getting to std::string, add using declarations.
3768 2003-10-06 André Pönitz <poenitz@gmx.net>
3770 * metricsinfo.C: initialize LyXFont before changing attribute.
3771 (fixes the 'math in \emph is upright' bug)
3773 2003-10-06 André Pönitz <poenitz@gmx.net>
3775 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3777 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3780 * paragraph_pimpl.C: Small fixes to build using STLport
3782 2003-10-02 André Pönitz <poenitz@gmx.net>
3785 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3787 2003-10-01 André Pönitz <poenitz@gmx.net>
3789 * factory.C: assert early
3791 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3793 * lyx_main.C: remove the global debug object
3795 * debug.h: adjust for new debugstream
3797 * debug.C: adjust for new debugstream and keep the global debug
3800 2003-09-22 Angus Leeming <leeming@lyx.org>
3802 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3803 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3804 an incomplete class LyXFont.
3806 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3808 * factory.C: bug fix in branches
3810 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * lyxfunc.C (processKeySym): adjust
3814 (dispatch): change arg name from ev to func, adjust
3815 (sendDispatchMessage): ditto
3817 * lyx_main.C (defaultKeyBindings): adjust keybindings
3818 (deadKeyBindings): ditto
3820 * kbsequence.C (addkey): return a FuncRequest
3822 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3824 * kbmap.C (bind): take a FuncRequest as arg, adjust
3827 (defkey): change to take a FuncRequest as arg, adjust
3828 (findbinding): take a FuncRequest as arg, adjust.
3830 * funcrequest.h (operator=): added
3832 * funcrequest.C (FuncRequest): default kb_action changed from
3833 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3835 * buffer.C (dispatch): simplify
3836 (dispatch): adjust to take a FuncRequest as arg, adjust
3838 * boost.C (assertion_failed): change assertion message slightly
3840 * ToolbarBackend.C (read): simplify
3842 * MenuBackend.C (binding): adjust call to findbinding, add a
3843 message if no binding is found.
3845 (expandToc): correct by adding a empty FuncRequest
3847 * LyXAction.C: include <boost/assert.hpp>
3848 (isPseudoAction): delete function
3849 (LookupFunc): change name to...
3850 (lookupFunc): this. change return type to FuncRequest.
3851 (getActionName): take kb_action as arg, simplify
3852 (funcHasFlag): add an assert, simplify.
3854 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * toc.C (action): return a FuncRequest, simplify
3858 * lyxfunc.C (processKeySym): adjust
3859 (getStatus): delete version that takes an int.
3861 (dispatch): delete version that takes action as int
3863 (sendDispatchMessage): simplify and adjust
3865 * funcrequest.C (getArg): take unsigned int as arg
3867 * ToolbarBackend.C (read): adjust
3868 (add): delete version that takes func as a string.
3869 (getIton): take a FuncRequest as arg
3871 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3874 * MenuBackend.C (MenuItem): add a new construct that only takes a
3875 Kind, simplify the constructor use for submenus.
3877 (expandLastfiles): adjust
3878 (expandDocuments): adjust
3879 (expandFormats): adjust
3880 (expandFloatListInsert): adjust
3881 (expandFloatInsert): adjust
3882 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3884 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3885 Remove class variables lyx_pseudo_map and lyx_arg_map
3887 * LyXAction.C (searchActionArg): delete function
3888 (getPseudoAction): delete function
3889 (retrieveActionArg): delete function
3890 (LookupFunc): make it return kb_action, simplify.
3891 (getActionName): simplify
3893 * factory.C (createInset): fix new bug
3895 2003-09-19 Angus Leeming <leeming@lyx.org>
3897 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3898 masterFilename_ parameter in the include inset.
3900 * factory.C (createInset): changes due to the changes to InsetInclude.
3902 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3904 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3906 2003-09-18 Angus Leeming <leeming@lyx.org>
3909 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3910 Inset::fillWithBibKeys.
3911 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3913 2003-09-18 Angus Leeming <leeming@lyx.org>
3915 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3917 (ctor): pass and store a 'Buffer const &'
3918 (buffer): new member function.
3920 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3921 '*this' to the LaTeXFeatures ctor.
3923 2003-09-18 Angus Leeming <leeming@lyx.org>
3929 * text.C: rename EnumLColor as LColor_color.
3931 2003-09-18 Angus Leeming <leeming@lyx.org>
3933 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3934 remove #include "insets/insetbase.h" from cursor.h.
3936 2003-09-18 Angus Leeming <leeming@lyx.org>
3938 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3939 InsetOld_code to remove #include "inset.h".
3941 * iterators.C: add #include "insets/inset.h"
3943 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3945 * BufferView.C: remove more locking stuff that apparently doesn't
3946 do anything sensible.
3948 2003-09-16 André Pönitz <poenitz@gmx.net>
3951 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3954 2003-09-16 Angus Leeming <leeming@lyx.org>
3956 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3958 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3961 * paragraph.h: remove #include "lyxfont.h". Forward declare
3964 2003-09-16 Angus Leeming <leeming@lyx.org>
3966 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3967 of support/textutils.h.
3968 (isWord): move the contents of support/textutils.h's IsWordChar here.
3974 * text2.C: add #include "paragraph.h".
3977 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3979 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * LaTeX.C: use namespace alias for lyx::support::os
3987 2003-09-16 Angus Leeming <leeming@lyx.org>
3990 * bufferview_funcs.C:
3993 * paragraph_pimpl.C:
3995 * text.C: add #include "LColor.h".
3997 2003-09-16 Angus Leeming <leeming@lyx.org>
3999 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4000 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4002 Store the FontBits::color variable as an int rather than as an
4003 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4006 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4007 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4008 string calls together.
4010 * lyxrc.C: add #include "LColor.h".
4012 2003-09-15 Angus Leeming <leeming@lyx.org>
4014 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4017 2003-09-15 Angus Leeming <leeming@lyx.org>
4019 * LColor.h: add an EnumLColor wrapper for LColor::color.
4021 * lyxfont.[Ch] (color, setColor, realColor):
4022 * lyxtext.h, text.C (backgroundColor):
4023 pass EnumLColor args to/from the functions, rather than LColor::color
4027 * lyxtext.h: forward declare EnumLColor.
4029 * lyx_main.C: add #include "LColor.h".
4031 2003-09-15 Angus Leeming <leeming@lyx.org>
4033 * .cvsignore: add lyx-gtk.
4035 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4040 * ParagraphParameters.C
4044 * bufferview_funcs.C
4054 * vc-backend.C: remove usage of STRCONV
4056 2003-09-15 Angus Leeming <leeming@lyx.org>
4058 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4059 explicitly define the color passed to the painter.
4061 2003-09-15 Angus Leeming <leeming@lyx.org>
4063 * bufferparams.C (BufferParams): reorder member initializers to avoid
4066 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4068 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4069 * text.C (updateRowPositions): remove an unusual nop
4071 2003-09-12 André Pönitz <poenitz@gmx.net>
4073 * BufferView_pimpl.C:
4082 * Counters.[Ch]: finish the 'automatic counters' job
4084 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4086 * aspell.C: include <boost/assert.cpp> (compile fix)
4088 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4090 * boost.C (assertion_failed): use lyx::support::abort instead of
4093 2003-09-10 Angus Leeming <leeming@lyx.org>
4095 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4096 with their _fwd progeny.
4098 2003-09-09 Angus Leeming <leeming@lyx.org>
4100 134 files throughtout the source tree: replace 'using namespace abc;'
4101 directives with the appropriate 'using abc::xyz;' declarations.
4103 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4105 * boost.C (emergencyCleanup): moved here from LAssert.c
4106 (assertion_failed): new function, called by BOOST_ASSERT
4108 * several files: change Assert to BOOST_ASSERT
4110 2003-09-09 Angus Leeming <leeming@lyx.org>
4112 * buffer.[Ch]: Add an Impl class and move Buffer's member
4113 variables into it. As a result move several header files out of
4116 Add header files to lots of .C files all over the tree as a result.
4118 2003-09-09 Angus Leeming <leeming@lyx.org>
4120 * buffer.[Ch]: make Buffer's member variables private. Add
4123 Lots of changes all over the tree as a result.
4125 2003-09-08 Angus Leeming <leeming@lyx.org>
4127 * graph.C: #include <config.h>.
4129 2003-09-08 Angus Leeming <leeming@lyx.org>
4133 * BufferView_pimpl.C:
4162 * toc.C: remove redundant using directives.
4164 2003-09-07 Angus Leeming <leeming@lyx.org>
4166 * LaTeXFeatures.h: remove #include "support/types.h".
4167 * ToolbarBackend.h: remove #include <algorithm>.
4168 * changes.h: remove #include <ctime>.
4169 * debug.h: remove #include <iosfwd>.
4170 * graph.h: remove #include "support/std_string.h".
4171 * lyx_main.h: remove #include <csignal>.
4172 * lyxlex_pimpl.h: remove #include <fstream>.
4173 * sgml.h: remove #include <algorithm>, <utility>.
4174 * toc.h: remove #include "support/std_ostream.h".
4175 Add #include <iosfwd>.
4177 2003-09-07 Angus Leeming <leeming@lyx.org>
4179 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4181 * converter.h: forward declare LatexRunParams.
4182 * encoding.h: remove #include "lyxrc.h".
4183 * lyxtext.h: remove #include "LColor.h".
4184 * lyxtextclass.h: remove #include "support/types.h".
4185 * trans.h: remove #include "tex-accent.h".
4186 * trans_mgr.h: remove #include "tex-accent.h".
4187 * insets/inset.h: remove #include "support/types.h", <vector>.
4188 * insets/insetcollapsable.h: remove #include "LColor.h".
4189 * insets/insetinclude.h: remove #include "dimension.h".
4190 * insets/insetlatexaccent.h: remove #include "dimension.h".
4191 * insets/insetoptarg.h:: remove #include "insettext.h".
4192 * insets/insettext.h: remove #include "dimension.h",
4193 <boost/shared_ptr.hpp>
4195 * insets/renderers.h: add #include "dimension.h".
4196 * insets/updatableinset.h: add #include "support/types.h".
4198 * many .C files: Associated changes.
4200 2003-09-06 Angus Leeming <leeming@lyx.org>
4202 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4203 one, inside testInvariant.
4205 * PrinterParams.C: new file.
4206 * PrinterParams.[Ch]: move the function bodies out of line.
4208 2003-09-06 Angus Leeming <leeming@lyx.org>
4210 * ParagraphParameters.h: forward declare ParameterStruct rather than
4211 including its header file.
4212 (depth): moved out-of-line.
4214 2003-09-06 Angus Leeming <leeming@lyx.org>
4216 * BufferView_pimpl.h:
4219 * lyxfunc.h: forward declare LyXKeySym rather than
4220 #include "frontends/LyXKeySym.h".
4222 * BufferView_pimpl.C:
4225 * lyxfunc.C: associated changes.
4227 2003-09-06 Angus Leeming <leeming@lyx.org>
4229 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4230 As a result, can remove the #include "insets/inset.h" from BufferView.h
4232 2003-09-06 Angus Leeming <leeming@lyx.org>
4234 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4235 As a result, can remove the #include "insets/inset.h" from BufferView.h
4237 2003-09-06 Angus Leeming <leeming@lyx.org>
4243 * bufferview_funcs.C:
4244 * BufferView_pimpl.C:
4249 * ParagraphParameters.C:
4254 * frontends/controllers/ControlDocument.C:
4255 * insets/insetcaption.C: rearrange the #includes into some sort of
4258 * buffer.h: remove #includes ErrorList.h, undo.h
4260 2003-09-06 Angus Leeming <leeming@lyx.org>
4262 * support/types.h: add a 'depth_type' typedef, used to store the
4263 nesting depth of a paragraph.
4266 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4267 defining explicitly.
4270 * paragraph_funcs.h:
4271 * ParagraphParameters.h:
4272 * sgml.h: use lyx::depth_type rather than Paragraph or
4273 ParameterStruct's depth_type.
4276 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4279 * BufferView_pimpl.C:
4281 * ParagraphParameters.C:
4284 * bufferview_funcs.C:
4291 * frontends/LyXView.C:
4292 * frontends/controllers/ControlDocument.C:
4293 * frontends/controllers/ControlErrorList.C:
4294 * insets/insetbibitem.C:
4295 * insets/insetbranch.C:
4296 * insets/insetcaption.C:
4297 * insets/insetcollapsable.C:
4298 * insets/insetenv.C:
4299 * insets/insetert.C:
4300 * insets/insetfloat.C:
4301 * insets/insetfoot.C:
4302 * insets/insetfootlike.C:
4303 * insets/insetnewline.C:
4304 * insets/insetquotes.C:
4305 * insets/insettabular.C:
4306 * insets/insettext.C:
4307 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4309 * frontends/controllers/ControlChanges.C: #include "changes.h".
4311 2003-09-06 Angus Leeming <leeming@lyx.org>
4313 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4314 than #including paragraph.h.
4317 * RowList.h: deleted. Superfluous.
4327 * insets/insettext.h: use ParagraphList_fwd.h rather than
4330 * paragraph.h: don't forward declare ParagraphList.
4333 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4334 rather than ParagraphList.h. paragraph.h is still needed for the
4335 Paragraph::depth_type parameters.
4337 * textcursor.h: enable it to compile stand-alone in light of the
4340 * bufferview_funcs.C:
4352 * frontends/controllers/ControlParagraph.C:
4353 * frontends/controllers/ControlTabular.C:
4354 * insets/insetmarginal.C:
4355 * insets/insetminipage.C:
4356 * insets/insetnote.C:
4357 * insets/insetoptarg.C: add header files needed to compile again.
4359 2003-09-06 Angus Leeming <leeming@lyx.org>
4361 * RowList_fwd.h: new file, forward-declaring Row rather than
4362 #including lyxrow.h.
4367 * insets/insettext.h: use it instead of RowList.h
4369 * bufferview_funcs.C:
4376 * text3.C: #include "RowList.h".
4378 2003-09-05 Angus Leeming <leeming@lyx.org>
4380 * factory.C (createInset):
4381 * vspace.C (c-tor): replace sscanf call with an istringstream.
4382 * ispell.C: re-add missing HP/UX headers.
4383 * lyxserver.C: re-add missing os2 headers.
4385 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4394 * text3.C: re-add missing system headers, needed for 2.95.2.
4396 2003-09-05 Angus Leeming <leeming@lyx.org>
4398 Changes most place everywhere due to the removal of using directives
4399 from support/std_sstream.h.
4401 2003-09-05 Angus Leeming <leeming@lyx.org>
4403 Replace LString.h with support/std_string.h,
4404 Lsstream.h with support/std_sstream.h,
4405 support/LIstream.h with support/std_istream.h,
4406 support/LOstream.h with support/std_ostream.h.
4408 Changes resulting throughout the tree.
4410 2003-09-05 Angus Leeming <leeming@lyx.org>
4412 * sgml.h: ensure that the header file can be compiled stand-alone.
4413 * *.C: strip out redundant #includes. (320 in total.)
4415 2003-09-04 Angus Leeming <leeming@lyx.org>
4417 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4418 here (from getPackages).
4420 * debug.[Ch]: add a new EXTERNAL tag.
4422 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4424 * text2.C (cursorEnd): simplify
4426 (getColumnNearX): adjust
4428 * text.C (computeBidiTables): adjust
4431 * rowpainter.C (paintChars): adjust
4432 (paintSelection): adjust
4433 (paintChangeBar): adjust
4436 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4438 (numberOfSeparators): adjust
4440 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4446 * text3.C: Restricts the mouse click functionality
4447 of insets like bibtex, include, toc and floatlist to the visible
4448 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4449 up the dialogs. Cursor has to be in front of the inset (i.e.
4450 start of row) for this to function.
4452 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4454 * bufferview_funcs.C (currentState): output row information
4456 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4458 * bufferview_funcs.C (currentState): output paragraph position
4460 2003-09-04 Angus Leeming <leeming@lyx.org>
4462 * FloatList.h: move out #include "Floating.h".
4463 * LaTeX.h: move out #include "DepTable.h".
4464 * LyXAction.h: move out #include "funcrequest.h".
4465 * buffer.h: move out #include "author.h", "iterators.h".
4466 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4467 * lyx_main.h: move out #include "errorlist.h".
4468 * lyxfunc.h: move out #include "FuncStatus.h".
4469 * lyxtext: move out #include "lyxcursor.h".
4470 * paragraph_pimpl.h: move out #include "counters.h".
4472 2003-09-03 Angus Leeming <leeming@lyx.org>
4474 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4475 preamble_snippets list, enabling us to add snippets to the preamble
4476 only if the snippet was not there already.
4478 2003-09-04 Angus Leeming <leeming@lyx.org>
4480 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4482 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4487 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4489 * BranchList.C: point fix, earlier forgotten
4491 2003-09-02 Angus Leeming <leeming@lyx.org>
4493 * box.C (contains): renamed from 'contained' after a fantastic
4496 2003-09-02 John Levon <levon@movementarian.org>
4502 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4504 2003-09-02 John Levon <levon@movementarian.org>
4506 * text2.C: simplification of cursorEnd(), including partial
4509 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4511 * buffer.C (readFile): add a space
4513 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4515 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4517 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * buffer.C (readFile): new function, take a filename and a
4520 ParagraphList::iterator
4522 (readFile): adjust, make it private. don't use setStream, make
4523 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4524 always contain the filename.
4526 * BufferView.C (insertLyXFile): simplify and make it work for
4529 2003-08-30 John Levon <levon@movementarian.org>
4531 * Makefile.am: fix dist (from Kayvan)
4533 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4535 * most files: change to use const Buffer refs
4537 2003-08-27 André Pönitz <poenitz@gmx.net>
4539 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4540 on top of ownerPar().
4542 2003-08-27 John Levon <levon@movementarian.org>
4544 * funcrequest.C: properly initialise POD members
4546 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4548 * lyxtext.h (top_y): move top_y from here
4553 * BufferView_pimpl.[Ch]: to here
4554 * frontends/screen.C:
4555 * insets/insettabular.C:
4556 * insets/insettext.C: adjust
4557 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4559 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4562 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4564 2003-08-26 André Pönitz <poenitz@gmx.net>
4566 * paragraph_func.[Ch] (outerPar): new function
4569 * paragraph_funcs.C:
4570 * paragraph_funcs.h:
4571 * paragraph_pimpl.C:
4572 * text2.C: remove Inset::par_owner
4574 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4579 * text2.C: eliminates the needFullRow/display() stuff
4580 altogether, putting the logic in metrics/draw in the insets.
4582 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4584 * text2.C (redoParagraphInternal, redoParagraphs):
4585 * text.C (redoParagraph): add a call to updateRowPositions at the
4586 end of each 'metrics-like' call. Remove all others.
4587 (getRow): remove the 'y-computing' version.
4588 (getRowNearY): do not compute nor return the real y. Solve the
4589 'y < 0' problem and simplify.
4591 2003-08-22 Angus Leeming <leeming@lyx.org>
4593 * *.[Ch]: clean-up of licence and author blurbs.
4594 Also move config.h out of a few .h files and into a few .C files.
4596 2003-08-22 André Pönitz <poenitz@gmx.net>
4598 * lyxrow.[Ch]: add x_ and *fill_ members
4603 * text2.C: adjust/remove prepareToPrint() calls
4605 2003-08-22 André Pönitz <poenitz@gmx.net>
4607 * lyxrow.[Ch]: add end_ member
4609 * lyxrow_funcs.C: use LyXRow::end_
4611 * lyxtext.h (singleWidth): add LyXFont parameter
4614 * text2.C: adjust LyXText::singleWidth() calls
4616 * text.C (redoParagraph): simplify row breaking logic
4619 2003-08-19 André Pönitz <poenitz@gmx.net>
4621 * funcrequest.C: initialize button_ member
4624 * rowpainter.[Ch]: interface consolidation
4626 2003-08-18 André Pönitz <poenitz@gmx.net>
4629 * BufferView_pimpl.C:
4631 * paragraph_funcs.C:
4633 * text3.C: remove LyXScreen::draw() and fitCursor calls
4635 * BranchList.h: remove spurious semicolons
4637 * MenuBackend.C: fix branchlist related crash
4639 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4647 * bufferparams.[Ch]:
4651 * text3.C: implements the 'branch inset'
4652 idea. This allows the output of various versions of a document
4653 from a single source version, selectively outputing or suppressing
4654 output of parts of the text.
4655 This implementation contains a 'branch list editor' in a separate
4656 tab of the document settings dialog. Branches are user definable
4657 and have a "display colour" to distinguish them on-screen.
4659 ColorHandler was somewhat cleaned up.
4660 (1) make possible a dynamically growing LColor list by allowing
4661 the graphic context cache to grow along (vector);
4662 (2) eliminate an IMHO unnecessary step in colour allocation.
4664 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4666 * BufferView_pimpl.C: compile fix
4668 2003-08-15 André Pönitz <poenitz@gmx.net>
4670 * rowpainter.C: remove extra metrics calls
4672 * lyxtext.h: merge the two constructors into a single one,
4673 pass reference to owner's par list
4675 * BufferView_pimpl.C:
4679 2003-08-15 André Pönitz <poenitz@gmx.net>
4681 * lyxrow_funcs.[Ch]:
4684 * paragraph_funcs.C:
4689 * text_funcs.C: split LyXText::rowlist_ into individual
4690 Paragraph::rows_ chunks
4693 * BufferView_pimpl.[Ch]:
4696 * text3.C: remove toggleSelection()
4698 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4700 * bufferlist.C: beautify two alerts (shorter text of buttons)
4701 * buffer.C: Remove redundant ' ' from message
4703 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4704 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4705 rename VALIGN_CENTER to VALIGN_MIDDLE
4707 2003-08-11 André Pönitz <poenitz@gmx.net>
4709 * lyxtext.h (getPar):
4710 * text.C: new function
4712 2003-08-11 André Pönitz <poenitz@gmx.net>
4715 * tracer.[Ch]: remove unneeded files
4717 * InsetList.[Ch]: remove resizeInsetsLyXText()
4722 * text3.C: merge insertParagraphs() and appendParagraph()
4723 remove breakAgain(), update()
4725 * BufferView_pimpl.[Ch]:
4726 * bufferview_funcs.[Ch]:
4730 * tabular.C: adjust after text & InsetList changes.
4732 2003-08-08 André Pönitz <poenitz@gmx.net>
4734 * text.C (insertChar, backspace): replace rowlist fiddling
4735 with rebreak of full par
4738 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4739 checkParagraph, updateInset): removed
4741 2003-08-07 André Pönitz <poenitz@gmx.net>
4744 * text3.C: merge some LFUN handlers, remove dead code
4746 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4748 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4750 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4752 * text2.C (DEPM): fix part of bug 1255 and 1256
4754 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4756 * BufferView_pimpl.C (workAreaDispatch): change to use
4757 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4758 that are no mouse related.
4760 2003-08-05 André Pönitz <poenitz@gmx.net>
4763 * BufferView_pimpl.[Ch]:
4764 * bufferview_funcs.C:
4766 * text3.C: rip out "deep update"
4768 * textcursor.[Ch] (last_sel_cursor): remove unused member
4770 2003-08-04 André Pönitz <poenitz@gmx.net>
4773 * BufferView_pimpl.[Ch]:
4774 * ParagraphParameters.C:
4775 * bufferview_funcs.C:
4781 * text3.C: replace "complicated" BufferView::update(...) calls with
4784 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4786 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4788 * Makefile.am (lyx_SOURCES): add paper.h
4790 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * Makefile.am: move things around so that both lyx-qt and
4793 lyx-xforms can be built (according to --with-frontend). Then lyx
4794 is a symbolic link to lyx-[firstfrontend]
4796 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4798 * Always use std::endl with lyxerr
4800 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4802 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4804 2003-08-01 André Pönitz <poenitz@gmx.net>
4807 * BufferView_pimpl.[Ch]:
4809 * text3.C: merge BufferView::repaint() and BufferView::update()
4811 2003-08-01 José Matos <jamatos@lyx.org>
4813 * buffer.[Ch]: file_format is no longer a buffer data element.
4815 2003-08-01 André Pönitz <poenitz@gmx.net>
4820 * text2.C: make redoParagraph more independent of current cursor
4822 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4824 * text2.C: remove unneeded members
4826 2003-07-30 André Pönitz <poenitz@gmx.net>
4828 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4830 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4831 create a single function...
4833 * paragraph_funcs.C (moveItem): ... here.
4836 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4838 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4840 * LColor.[Ch]: Add comment and greyedout logical colors.
4842 2003-07-30 André Pönitz <poenitz@gmx.net>
4844 * tabular.C: don't use Assert too heavily. This crashes where it
4847 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4849 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4850 is disabled (bug 1232)
4852 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4854 * factory.C: limited 'arg' scope
4856 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4858 * factory.C: fixed Note submenu issues
4860 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4862 * factory.C: submenu for Note/Comment/Greyedout
4864 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4867 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4869 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4872 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4873 greyedout. Patch provided by Jürgen Spitzmüller.
4875 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4877 * kbmap.C (read): fix error message when reading bind files
4879 2003-07-29 Angus Leeming <leeming@lyx.org>
4881 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4882 certainly does not do what it purports to do. I am doing it, and
4883 us, a favour by killing it.
4885 2003-07-28 José Matos <jamatos@lyx.org>
4887 * buffer.C (readBody, do_writeFile):
4888 * paragraph.C(readParagraph): \end_document replaces \the_end.
4890 2003-07-29 André Pönitz <poenitz@gmx.net>
4893 * BufferView_pimpl.[Ch]:
4897 * textcursor.[Ch]: remove toggleToggle & Co
4899 2003-07-28 José Matos <jamatos@fep.up.pt>
4901 * buffer.C (readParagraph):
4902 * params_func (readParToken, readParagraph):
4903 * paragraph.C (write): \layout -> \begin_layout.
4905 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4907 * lyxlex_pimpl.C (setFile): clean up slightly.
4909 * bufferparams.h: add compressed var
4911 * buffer_funcs.C (readFile): adjust for LyXLex change
4912 (newFile): ditto + simplify
4914 * buffer.C (writeFile): handle writing of compressed files
4916 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4917 Check if the file is compressed and set a bufferparm if so.
4919 * Makefile.am (lyx_LDADD): remove explicit -lz
4921 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4923 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4924 makeDocBookFile): put the real LyX version in the first line of
4928 * version.C.in: remove lyx_docversion
4930 * tabular.C (write_attribute): add a template-based version to
4931 write enums properly
4933 2003-07-28 André Pönitz <poenitz@gmx.net>
4938 * text3.C: use doubles again for x-coordinates. They are needed.
4940 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * messages.C (getLocaleDir): use lyx_localedir()
4944 * lyxlex_pimpl.C (setFile): compress stuff
4946 * buffer.C (writeFile): add some compression stuff
4947 (do_writeFile): new func, dont call expliti close... will this
4950 * Makefile.am (lyx_LDADD): add -lz
4952 2003-07-28 José Matos <jamatos@fep.up.pt>
4954 * buffer.C: increment file format.
4955 * paragraph_funcs (readParagraph, readParToken):
4956 * paragraph.C (readParagraph): add \end_layout.
4958 2003-07-27 Angus Leeming <leeming@lyx.org>
4960 * Makefile.am: remove special casing for configure-time setting of
4961 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4963 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4964 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4966 2003-07-26 André Pönitz <poenitz@gmx.net>
4968 * paragraph_func.[Ch]:
4969 * paragraph.C (realizeFont): inline it whereever it is used
4974 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4977 2003-07-26 André Pönitz <poenitz@gmx.net>
4981 * text2.C: get rid of LyXText::need_break_row
4983 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4985 * toc.[Ch]: put namespace toc inside namespace lyx
4987 * MenuBackend.C (expandToc2): adjust for lyx::toc
4990 * lyxfunc.C (dispatch): adjust for lyx::find
4992 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4993 lyx::find instead. Reorganize a bit.
4994 (LyXReplace): rename to replace
4995 (LyXFind): rename to find
4997 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5000 2003-07-26 André Pönitz <poenitz@gmx.net>
5002 * text.C (setHeightOfRow): restrict scope of temporary variable
5004 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5005 code (never has been used?)
5007 2003-07-27 Asger Alstrup <alstrup@local>
5009 * text.C (fill): Optimise algorithm to exploit that we can reuse
5010 the LyXFont for many characters.
5011 (setHeightOfRow): Same thing.
5012 (rowBreakPoint): Same thing.
5014 2003-07-26 Asger Alstrup <alstrup@local>
5016 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5018 * text.C (singleWidth): Spurious font copying in hot-spot
5019 singleWidth avoided. Reorder tests for arabic for efficiency.
5021 * text.C (fill): handle empty paragraphs better.
5023 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5026 * encoding.h: add includes
5028 * lyxrc.C: remove reading of bind files
5030 * lyx_main.C (init): setup bindings and menus only if we have a
5033 * kbmap.C (read): new method. Do the actual reading of bind
5036 * converter.C (dvipdfm_options):
5039 (output): adapt PAPER_* enums.
5041 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5043 * bufferparams.h: remove paper-related enums from there
5045 * paper.h: New file. A trivial header file to hold paper-related
5046 enums. It should later expand to contain many paper-related
5049 * lyxrc.C: declare extern displayTranslator
5051 2003-07-27 José Matos <jamatos@fep.up.pt>
5053 * tabular.[Ch] (linuxdoc): add support for tables and figures
5056 2003-07-27 José Matos <jamatos@fep.up.pt>
5058 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5059 consistency in both functions.
5060 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5062 2003-07-26 Asger Alstrup <alstrup@local>
5064 * rowpainter.C (paintRows): Change algorithm to work directly on
5065 the insets rather than asking every character in the document
5066 whether its an inset.
5068 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5070 * buffer.C (openFileWrite): factorize some code
5072 2003-07-26 Angus Leeming <leeming@lyx.org>
5075 * lyx_main.[Ch]: replace occurances of system_tempdir with
5078 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * rename Inset to InsetOld
5082 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5084 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5085 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5086 which I think is a bit clearer. EDIT is gone, since it was
5087 premature optimisation, and broken for mathed anyway.
5088 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5089 with cursor positioning in insets as well (math insets still do not
5090 work, but that's a different story anyway.) It mysteriously
5091 crashes sometimes with undo in the first paragraph, but I'm fairly
5092 confident that this is a compiler bug.
5094 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5096 * paragraph.C (Paragraph): adjust for new clone return type
5098 (copyIntoMinibuffer): ditto
5100 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5102 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5103 by not having a special case, and always doing a full rebreak of
5104 the document after undo.
5106 2003-07-23 Angus Leeming <leeming@lyx.org>
5108 * factory.C (createInset): InsetExternal::setParams now takes a
5111 2003-07-23 Angus Leeming <leeming@lyx.org>
5113 * factory.C (createInset): changed interface to the external and
5114 graphics mailers' string2params functions.
5116 2003-07-23 Angus Leeming <leeming@lyx.org>
5118 * factory.C (createInset): pass a
5119 Buffer const * parameter to InsetExternalMailer's string2params.
5121 2003-07-22 John Levon <levon@movementarian.org>
5123 * Thesaurus.h: include the right aiksaurus header
5125 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5127 * MenuBackend.C (expand): check menu shortcuts unconditionally
5129 2003-07-21 Angus Leeming <leeming@lyx.org>
5131 * factory.C (createInset): pass a
5132 buffer_path parameter to InsetGraphicsMailer's string2params.
5134 2003-07-21 Angus Leeming <leeming@lyx.org>
5136 * BufferView_pimpl.C (buffer):
5139 * lyxfunc.C (dispatch):
5140 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5141 rather than the grfx shortcut.
5143 2003-07-21 André Pönitz <poenitz@gmx.net>
5145 * rowpainter.C: remove unused variables
5148 * tabular_funcs.h: move to tabular.C
5149 * Makefile.am: adjust
5151 * tabular.[Ch]: basic optical cleaning
5153 * author.h: pass references, not values
5155 2003-07-18 André Pönitz <poenitz@gmx.net>
5163 * text3.C: two-phase drawing for InsetText and InsetTabular
5164 some float -> int changes.
5166 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5168 * lyx_main.C: fix the fix
5170 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5172 * lyx_main.C: fix a crash in batch mode if no files specified
5175 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5177 * format.[Ch] (papersize): moved to BufferParams
5178 * converter.[Ch] (dvips_options): moved to BufferParams
5179 (dvipdfm_options): moved to anon namespace
5180 * bufferparams.[Ch]: added above functions.
5182 2003-07-17 André Pönitz <poenitz@gmx.net>
5186 * text2.C: don't call inset->update() anymore
5188 * metricsinfo.[Ch]: add convenience constructor
5190 2003-07-16 André Pönitz <poenitz@gmx.net>
5195 * text2.C: replace the LyXCursor::irow_ member with
5196 on-demand computation of the value
5198 2003-07-16 John Levon <levon@movementarian.org>
5200 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5202 2003-07-15 André Pönitz <poenitz@gmx.net>
5205 * text2.C: remove no more needed refresh_row
5207 2003-07-15 André Pönitz <poenitz@gmx.net>
5212 * text3.C: refresh_status tristate -> need_update bool
5214 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5216 * lyxtext.h (init): remove reinit argument (act as if always true)
5217 * text2.C: adjust to that
5219 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5221 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5222 * text3.C: use it to delete selections in some cases
5223 (bugs 441, 673, 702, 954).
5225 2003-07-14 André Pönitz <poenitz@gmx.net>
5227 * rowpainter.[Ch]: reduce interface
5229 2003-07-14 André Pönitz <poenitz@gmx.net>
5231 * BufferView_pimpl.C:
5232 * text2.C: adjust after removing unused BufferView * argument
5234 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5236 * text2.C (init): fix a crash fired on resize
5238 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5240 * buffer.[Ch]: added new closing signal
5241 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5242 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5243 BufferView::Pimpl via the closing the signal
5245 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5247 * buffer.[Ch]: take out all bv-related from buffer
5249 * BufferView_pimpl.[Ch]: connect to new signals
5250 * CutAndPaste.C: removed useless asserts
5251 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5254 * lyxfunc.C: moved view-related funciontality from vc here
5255 * paragraph.C: removed outdated comments
5258 2003-07-10 André Pönitz <poenitz@gmx.net>
5260 * BufferView_pimpl.C:
5264 * text2.C: remove InsetText::InnerCache, clean up consequences
5266 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5268 * ispell.C: fix two typos in error messages
5270 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5272 * Extend Note inset to other forms of annotation like Comment
5273 and Greyedout. Right button click gives dialog.
5275 Files modified or added (+):
5279 * ControlNote.[Ch] +
5281 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5282 frontends/controllers
5286 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5288 * aspell.C: add missing namespace lyx::support
5290 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5292 * BufferView.[Ch] (newFile): Add
5293 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5294 * LaTeX.[Ch] (message): added this signal and use it
5295 * buffer.[Ch] (busy, message): added these signals and use them
5296 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5300 * importer.C: use buffer signals instead of direct bv calling
5301 * lyx_cb.[Ch] (ShowMessage): removed
5304 * paragraph_funcs.C:
5305 * text2.C: use buffer signals
5307 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5309 * introduce namespace lyx::graphics
5311 2003-07-02 André Pönitz <poenitz@gmx.net>
5313 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5315 2003-07-01 André Pönitz <poenitz@gmx.net>
5322 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5323 text*.C to text_func.C
5325 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * introduce namespace lyx::support
5329 2003-06-30 André Pönitz <poenitz@gmx.net>
5334 * text.C: re-enable --with-included-string
5336 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5338 * textcursor.C: add <config.h>
5340 * text.C (getWord): remove const from word_location arg
5342 * lyxvc.C (getLogFile): fix const type order
5344 * lyxtext.h: remove const from word_location arg, add arg name
5346 * lyxlayout.h: currect type on labeltype.
5348 * importer.C: correct \file
5350 * converter.C (intToFormat): use std:: on ret val, ws changes
5352 * bufferlist.h: correct \file
5354 * buffer.C (makeLinuxDocFile): fix const type order
5355 (makeDocBookFile): ditto
5356 (fillWithBibKeys): use std:: on stdlib args.
5358 * CutAndPaste.C: fix authors.
5359 (availableSelections): use std:: on return vector
5361 2003-06-27 André Pönitz <poenitz@gmx.net>
5363 * BufferView_pimpl.C:
5364 * bufferview_funcs.C:
5372 * text3.C: remove LyXCursor::row_ member
5375 * text.C: rename fullRebreak() to partialRebreak() and implement
5376 a fullRebreak() that really bereks fully
5378 * textcursor.h: new struct for cursor-related data
5380 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5382 * lyx_main.C (LyX): get full path of document loaded on the
5385 2003-06-26 André Pönitz <poenitz@gmx.net>
5387 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5388 remove unused/broken operator>,<,>=.
5390 * text.C: remove only use of broken operator<= in an Assert().
5392 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5394 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5395 moved errorlist_.clear to showErrorList
5397 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5399 * converter.C (scanLog, runLaTeX):
5400 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5401 move the bv->showErrorList call to the callers
5402 * lyxfunc.C: i.e. here...
5404 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5405 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5406 namespace, the second to...
5407 * buffer_funcs (BufferFormat, parseErrors): added
5408 * errorlist.C (ErrorList(TeXErrors const &)): removed
5410 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5412 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5414 2003-06-24 "Garst R. Reese" <reese@isn.net>
5418 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5420 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5422 * version.C.in: change docversion to 1.4
5424 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5426 * buffer.C: fix a bug just introduced
5428 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5430 * buffer.[Ch]: added the parseError signal and use it, removed
5432 * BufferView.[Ch] (addError): moved to ...
5433 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5434 to the Buffer::parseError signal to catch (guess what) parse errors
5435 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5437 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5439 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5440 ability to create a buffer and to return an existing one from
5441 the list. Moved these functions to...
5442 * buffer_funcs.[Ch]: added
5443 * BufferView.[Ch] (loadLyXFile): added
5444 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5445 job removed from bufferlist::loadLyXFile.
5446 * buffer.C (setReadOnly): make it work without view
5447 (i.e added an if (users))
5449 2003-06-19 Angus Leeming <leeming@lyx.org>
5452 * LyXAction.C (init):
5453 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5454 with LFUN_DIALOG_SHOW <name> <data>.
5456 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5458 * CutAndPaste.C (availableSelections): small compilation fix for
5459 ancient (gcc 2.9x) compilers
5461 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5463 * text3.C (cursorNext): add tmp var
5465 * text2.C (updateCounters): for function calling out of for clause
5466 (replaceSelectionWithString): ditto
5467 (insertStringAsParagraphs): ditto
5468 (getColumnNearX): add tmp var
5469 (setCursorFromCoordinates): add tmp var
5470 (cursorDownParagraph): add tmp var
5471 (deleteEmptyParagraphMechanism): add tmp var
5473 * text.C (insertChar): add tmp var
5475 * rowpainter.C (paintDepthBar): add tmp var
5477 * CutAndPaste.C (availableSelections): potentially check all
5478 paragraphs in a cut to fill the shown strings.
5480 2003-06-18 André Pönitz <poenitz@gmx.net>
5482 * kbmap.[Ch]: use vector<> instead of list<>
5484 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5486 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5487 pasteSelection with index
5489 * text2.C (pasteSelection): modify, call pasteSelection with index
5491 * paragraph.C (asString): reimplement version with no interval to
5492 call the one with interval.
5494 * lyxtext.h: add index arg to pasteSelection
5496 * MenuBackend.C (MenuItem): handle PasteRecent
5497 (Menu::read::Menutags): add md_pasterecent
5499 (expandPasteRecent): new function
5502 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5504 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5506 (availableSelections): new function
5508 2003-06-17 Angus Leeming <leeming@lyx.org>
5510 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5512 2003-06-17 Angus Leeming <leeming@lyx.org>
5515 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5517 * lyxfunc.C (dispatch): invoke it.
5519 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5521 * iterators.C (operator++, ParPosition): reintroduce some
5522 const_cast for the benefit of older compilers.
5524 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5526 * text3.C (dispatch): do not modify clipboard when doing
5527 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5528 LFUN_DELETE_SKIP on a selection selection
5530 2003-06-16 André Pönitz <poenitz@gmx.net>
5536 * tabular.[Ch]: IU of clone() and getLabelList();
5538 2003-06-13 André Pönitz <poenitz@gmx.net>
5540 * tabular.h: compactification
5542 2003-06-12 André Pönitz <poenitz@gmx.net>
5546 * tabular_funcs.h: some renaming plus whitespace
5548 2003-06-12 André Pönitz <poenitz@gmx.net>
5551 * BufferView_pimpl.C:
5557 * toc.C: Return a Paragraph & for ParIterator::operator*()
5559 2003-06-11 John Levon <levon@movementarian.org>
5563 * ToolbarBackend.C: add "Toolbars" section and
5566 2003-06-10 Angus Leeming <leeming@lyx.org>
5569 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5571 * lyxfunc.C (dispatch): invoke it.
5573 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * main.C: protect <ios> with HAVE_IOS
5576 (main): protect sync_with_stdio with HAVE_IOS
5578 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5580 * text2.C (cutSelection): adjust
5581 (pasteSelection): adjust
5583 * messages.C: handle get of empty string
5585 * main.C (main): use sync_with_stdio(false)
5587 * lyxfunc.C (dispatch): adjust
5589 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5590 (WriteAs): remove unneeded BufferView arg.
5592 * bufferparams.h: use correct types on papersize, papersize2 and
5595 * bufferparams.C (readToken): adjust for type
5596 (writeLaTeX): add missing cases to switch.
5598 * bufferlist.C (quitWriteBuffer): adjust
5601 * buffer.C (asciiParagraph): remove some commented code.
5603 * CutAndPaste.C: remove current_view extern variable.
5604 (cutSelection): add BufferParams arg.
5605 (eraseSelection): add BufferParams arg.
5606 (pasteSelection): add Buffer const & arg
5608 2003-06-07 John Levon <levon@movementarian.org>
5611 * paragraph_funcs.C:
5612 * paragraph_pimpl.C:
5616 * paragraph.C: allow InsetERT to freely space lines,
5617 and some consolidation of code
5619 2003-06-06 José Matos <jamatos@fep.up.pt>
5621 * buffer.C (makeDocBookFile): fix bug #821
5623 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5625 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5627 2003-06-04 Angus Leeming <leeming@lyx.org>
5629 * buffer.C: bump format to 224.
5631 2003-06-05 André Pönitz <poenitz@gmx.net>
5633 * text2.C (redoParagraphs): remove two const_cast<>
5635 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5637 * ParagraphList.h: remove last remnants of NO_STD_LIST
5639 2003-06-03 Angus Leeming <leeming@lyx.org>
5641 * factory.C (createInset): small change to the way InsetExternal's params
5644 2003-06-04 André Pönitz <poenitz@gmx.net>
5646 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5648 * paragraph_pimpl.h:
5649 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5651 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5653 * undo_funcs.C: make some simple cases of undo work again
5655 2003-06-03 John Levon <levon@movementarian.org>
5657 * ispell.C: HPUX doesn't have sys/select.h
5660 2003-06-03 John Levon <levon@movementarian.org>
5662 * CutAndPaste.C: update tabular and include inset
5667 * paragraph.C: remove owningBuffer(), don't pass Buffer
5670 * factory.C: insetGraphicsParams changed
5672 2003-06-02 John Levon <levon@movementarian.org>
5678 * text3.C: remove insetparent
5680 2003-06-02 John Levon <levon@movementarian.org>
5683 * buffer.C: fix inset_iterator.end(), move out of line
5686 2003-06-01 John Levon <levon@movementarian.org>
5688 * text3.C: use a proper cut/paste when doing inset
5689 insert (from Jürgen Spitzmüller)
5691 2003-06-01 John Levon <levon@movementarian.org>
5693 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5695 2003-05-30 André Pönitz <poenitz@gmx.net>
5697 * rowpainter.C: unify second drawing phase
5699 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * trans_mgr.C: remove one case of current_view
5703 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5705 * paragraph_funcs.h: remove paragraph.h include
5707 * paragraph.h: delete NO_STD_LIST stuff
5709 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5711 * buffer.h: remove paragraph.h include
5713 * ParagraphList.C: delete file
5715 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5717 * toc.C (getTocList): adjust
5719 * paragraph_pimpl.C (validate): adjust
5721 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5723 * paragraph.C (Paragraph): adjust
5724 (getPositionOfInset): use const_iterator, adjust
5725 (bibitem): use const_iterator, adjust
5726 (setInsetOwner): adjust
5728 * iterators.C (operator++): adjust
5730 * InsetList.[Ch]: Replace selfmade iterator with standard
5731 vector::iterator also introduce const_iterator. Remove getPos,
5732 getInset and setInset from InsetTable. Adjust accordingly.
5734 * BufferView.C (lockInset): adjust
5735 (ChangeInsets): adjust
5737 * tabular.[Ch]: delete commented same_id functions
5739 2003-05-28 John Levon <levon@movementarian.org>
5741 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5743 2003-05-28 André Pönitz <poenitz@gmx.net>
5745 * metricsinfo.[Ch]: remove 'fullredraw' member
5747 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5749 * lyxtextclass.C (operator): remove caching.
5751 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5755 * text2.C (cursorBottom): adjust
5756 (setCounter): use ParagraphList::find, adjust
5758 * text.C (workWidth): use ParagraphList::find, adjust
5760 * lyxcursor.C (LyXCursor): adjust
5762 * buffer.C (inset_iterator): adjust
5764 * ParagraphList.h: make iterator(value_type) private, make
5765 ParagraphList a friend of iterator.
5767 * ParagraphList.C (find): new function
5769 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5771 2003-05-27 André Pönitz <poenitz@gmx.net>
5773 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5775 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5777 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5779 2003-05-26 John Levon <levon@movementarian.org>
5781 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5783 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5785 * remove same_id from function signatures, adjust.
5787 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5789 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5791 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5793 * paragraph.C (Paragraph): get rid of same_ids parameter
5795 * ParagraphList.C (insert): adjust
5798 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5800 * paragraph_funcs.C (breakParagraph): adjust
5801 (breakParagraphConservative): adjust
5803 * buffer.C (readParagraph): adjust
5805 * ParagraphList.C (insert): take a reference instead of a pointer
5808 * paragraph.[Ch] (id): new function
5810 * bufferlist.C (newFile): adjust
5812 * ParagraphList.C (ParagraphList): adjust
5814 (push_back): take a reference instead of a pointer.
5816 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5818 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5821 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5822 set else use old code.
5824 * ParagraphList.C: remove all NO_NEXT code and only compile this
5825 code of NO_STD_LIST is set.
5827 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5829 * BufferView_pimpl.C:
5839 * graphics/GraphicsConverter.C:
5840 * graphics/PreviewLoader.C: header adjustment
5842 2003-05-23 Angus Leeming <leeming@lyx.org>
5844 * LaTeXFeatures.[Ch] (useBabel): new method.
5845 * bufferparams.C (writeLaTeX): use it.
5847 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * ParagraphList.h (set): remove unused function.
5851 2003-05-23 André Pönitz <poenitz@gmx.net>
5854 * BufferView_pimpl.C:
5858 * undo_funcs.C: setUndo reworked
5860 * iterators.[Ch]: add access to topmost ParagraphList
5862 * lyxtext.[Ch] (workWidth): add a const
5864 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5866 * texrow.[Ch] (increasePos): remove function
5867 * exporter.C (export): removed unused var and outdated comment
5869 2003-05-23 Angus Leeming <leeming@lyx.org>
5871 * latexrunparams.h: rename fragile as moving_arg.
5872 * paragraph.C (simpleTeXOnePar): ditto.
5873 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5875 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5879 (textUndoOrRedo): comment out a currently unused var.
5881 * paragraph.h (NO_NEXT): enable NO_NEXT
5883 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5885 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5887 * exporter.C (Export): adjust for removeAutoInsets removal.
5889 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5891 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5893 * BufferView.[Ch] (removeAutoInsets): delete function
5895 2003-05-22 Angus Leeming <leeming@lyx.org>
5897 * latexrunparams.h: add a free_spacing variable.
5899 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5900 to pass moving_arg, as the data is stored in runparams.fragile.
5902 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5903 to Inset::latexOptional or to simpleTeXOnePar.
5905 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5906 free_spacing arg to Inset::latexOptional.
5908 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5911 2003-05-22 Angus Leeming <leeming@lyx.org>
5913 * latexrunparams.h: add fragile and use_babel variables.
5915 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5916 * buffer.C (makeLaTeXFile): store this returned value in
5917 runparams.use_babel, thus passing it to the inset::latex methods.
5919 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5920 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5922 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5923 longer has a fragile arg, as it is stored in runparams.fragile.
5925 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5926 moving_arg parameter as the data is stored in runparams.fragile.
5928 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5929 a fragile parameter as the data is stored in runparams.fragile.
5931 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5933 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5935 2003-05-22 Angus Leeming <leeming@lyx.org>
5937 * latexrunparams.h: add a 'bool nice' which defaults to false.
5939 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5940 now encapsulated within runparams.
5942 * bufferlist.C (updateIncludedTeXfiles):
5943 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5945 2003-05-22 Angus Leeming <leeming@lyx.org>
5947 * latexrunparams.h: new file containing struct LatexRunParams.
5948 * Makefile.am: add new file.
5950 * LaTeX.[Ch] (c-tor, run):
5951 * buffer.[Ch] (makeLaTeXFile):
5952 * bufferlist.[Ch] (updateIncludedTeXfiles):
5953 * converter.C (convert, scanLog):
5954 * converter.[Ch] (runLaTeX):
5955 * exporter.C (Export):
5956 * paragraph.[Ch] (simpleTeXOnePar):
5957 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5958 * paragraph_funcs.[Ch] (latexParagraphs):
5959 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5960 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5961 pass around a LatexRunParams parameter.
5963 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * paragraph.[Ch]: remove unused constructor
5967 * ParagraphList.C (erase): new function, taking two iterators
5969 2003-05-22 André Pönitz <poenitz@gmx.net>
5971 * undo_funcs.C: remove duplicated code
5973 * iterator.[Ch]: operator=
5975 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5977 * tabular.C (SetMultiColumn): ws changes
5979 * rowpainter.C (paintFirst): get rid of a ->previous
5981 * lyx_cb.C (getPossibleLabel): parlist simplification
5983 * BufferView.C (ChangeInsets): simplify slightly.
5985 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5987 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5988 * lfuns.h: new LFUN_SPACE
5989 * lyxfunc.C: protected space has a new lfun
5990 * paragraph_funcs.C: read new space insets
5992 * factory.C: handle new space insets
5994 2003-05-22 André Pönitz <poenitz@gmx.net>
5997 * BufferView_pimpl.C:
6000 * undo_funcs.C: return a ParIterator from getParFromID.
6002 * iterators.[Ch]: add two const's
6004 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * toc.C (getTocList): adjust
6008 * iterators.[Ch]: rework for parlist
6010 * buffer.C (par_iterator_begin): adjust
6011 (par_iterator_end): adjust
6013 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6015 * BufferView.C (removeAutoInsets): adjust
6016 (ChangeInsets): adjust
6018 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6020 * text.C (top_y): fix bug 1110
6022 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6024 * errorlist.[Ch]: added
6027 * BufferView_pimpl.C:
6028 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6031 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * Makefile.am: ensure that lyx is relinked upon changes to the
6034 various "convenience" libs.
6036 2003-05-20 Angus Leeming <leeming@lyx.org>
6038 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6039 files are compiled in alphabetical order again.
6041 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6043 2003-05-19 Angus Leeming <leeming@lyx.org>
6045 * gettext.[Ch]: remove "char const * _(char const *)".
6047 2003-05-19 André Pönitz <poenitz@gmx.net>
6049 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6058 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6060 2003-05-19 André Pönitz <poenitz@gmx.net>
6064 * lyxtextclass.[Ch]:
6066 * paragraph_funcs.[Ch]:
6068 * text3.C: more insetenv work
6070 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6072 * ParagraphParameters.C (params2string): small bug fixed
6074 2003-05-16 André Pönitz <poenitz@gmx.net>
6077 * bufferview_funcs.C: patch from Kornel Benko to prevent
6078 crash when _(...) is called twice in a statement
6080 2003-05-16 André Pönitz <poenitz@gmx.net>
6087 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6089 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6091 * lyx_main.C (init): remove spurious static_cast
6093 2003-05-14 André Pönitz <poenitz@gmx.net>
6095 * BufferView.C: fix format string
6097 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6099 * BufferView.[Ch] (insertErrors): removed
6100 * BufferView.[Ch] (showErrorList): added
6101 * buffer.C (runChkTeX):
6102 * converter.C (scanLog): call showErrorList instead of inserterrors
6104 2003-05-13 André Pönitz <poenitz@gmx.net>
6106 * BufferView_pimpl.C:
6108 * bufferview_func.C:
6115 * tabular_funcs.h: tostr() from its own header
6117 * ParagraphParameters.C:
6122 * text3.C: STRCONV()
6124 2003-05-12 André Pönitz <poenitz@gmx.net>
6127 * BufferView_pimpl.C:
6131 * ParagraphParameters.C:
6135 * bufferview_funcs.C:
6148 * paragraph_funcs.C:
6152 * text3.C: boost::format -> bformat all over the place
6155 2003-05-09 André Pönitz <poenitz@gmx.net>
6157 * LColor.[Ch]: Pimpl the #include <map> away
6159 2003-05-09 John Levon <levon@movementarian.org>
6161 * bufferlist.C: never remove emergency saves
6163 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * Makefile.am: better lib building
6167 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6171 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6172 (simpleTeXSpecialChars): adjust
6173 (simpleTeXSpecialChars): adjust
6174 * paragraph.C (simpleTeXOnePar): adjust
6175 * buffer.C (makeLaTeXFile): adjust
6177 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6179 * text2.C (changeDepth): parlist cleanup
6180 (getColumnNearX): ditto
6182 * rowpainter.C (getLabelFont): parlist cleanup
6184 * bufferlist.C (newFile): parlist cleanup
6186 * CutAndPaste.C (eraseSelection): parlist cleanup
6188 * BufferView_pimpl.C (trackChanges): parlist cleanup
6191 * BufferView.C (lockInset): parlist cleanup.
6192 (ChangeInsets): ditto
6194 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * CutAndPaste.h: Update file header.
6198 * CutAndPaste.C: Update file header.
6199 Store the parts cut out of the Document in a limited_stack.
6200 (copySelection): adjust
6201 (pasteSelection): new function, takes the index in the limited stack.
6202 (nrOfParagraphs): adjust
6203 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6204 simplify error inset insertion.
6205 (checkPastePossible): adjust
6207 2003-05-06 John Levon <levon@movementarian.org>
6209 * text2.C: don't cast wrap inset to float
6211 2003-05-05 André Pönitz <poenitz@gmx.net>
6214 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6216 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6217 few naked Paragraph *.
6219 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6221 * bufferparams.C: Output warning if a document with missing
6222 TeX document class is loaded
6223 * exporter.C: Disable TeX exports if the document class is missing
6226 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6227 isTeXClassAvailable()
6229 2003-05-03 John Levon <levon@movementarian.org>
6232 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6233 explicit cursor show/hide
6235 * BufferView_pimpl.h:
6236 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6237 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6239 * lyxfunc.C: hide cursor before dispatching.
6244 * text3.C: remove explicit cursor hides
6246 2003-05-02 André Pönitz <poenitz@gmx.net>
6248 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6251 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6254 * text2.C: tiny whitespace
6256 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * undo_funcs.C: almost only ws changes.
6260 * ParagraphList.C (splice): just return if pl is empty.
6262 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6264 * ParagraphList.C (splice): new function.
6266 * CutAndPaste.C (pasteSelection): use it
6268 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6270 * CutAndPaste.C (pasteSelection): remove the last next and
6271 previous from this file.
6273 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * CutAndPaste.C (pasteSelection): more clean up, user proper
6276 ParagraphList functions for pasteing.
6278 * ParagraphList.C (insert): new function, three arg insert
6280 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * ParagraphList.C (insert): new function, three arg insert
6284 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6287 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6291 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6295 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6298 (copySelection): clean up a bit.
6299 (pasteSelection): use make_pair
6301 * ParagraphList.C (ParagraphList): implement copy constructor
6302 (operator=): implement, base on copy constructor.
6305 * paragraph.C (erase): return a bool
6307 * paragraph_pimpl.C (erasePos): remove function, move contents...
6308 (erase): ... here. Return a bool.
6309 (erase): call erase instead of erasePos.
6311 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6313 * ParagraphList.h: define PitPosPair
6314 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6315 ParagraphList, fix a bug on pasting multiple pars
6316 * text2.C: change interface to C&P
6318 2003-04-30 André Pönitz <poenitz@gmx.net>
6320 * undo_func.C: revert part of yesterday's patch 2
6322 2003-04-30 John Levon <levon@movementarian.org>
6324 * LColor.C: s/tabular/table/
6326 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * text3.C (dispatch): do not convert iterator -> pointer
6329 * undo_funcs.C (setCursorParUndo): ditto
6330 * text_funcs.C (transposeChars): ditto
6332 * text2.C (setLayout): ws changes only
6334 * text.C (breakParagraph): do not convert iterator -> pointer
6336 (acceptChange): ditto
6337 (rejectChange): ditto
6342 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6345 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6347 * text3.C (gotoInset): YABG (yet another bad getChar)
6349 2003-04-29 André Pönitz <poenitz@gmx.net>
6351 * paragraph.h: make operator= private unimplemented as long as
6354 * ParagraphList.C: whitespace
6357 * paragraph_pimpl.[Ch]:
6358 * paragraph_funcs.C:
6360 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6363 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6365 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6367 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6368 * paragraph.[Ch] (erase):
6369 * paragraph_pimpl.[Ch] (erase): change return type and value
6370 * text2.C (cutSelection): some rework
6372 2003-04-28 John Levon <levon@movementarian.org>
6374 * bufferlist.C: changes for unsaved changes dialog
6376 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * bufferlist.C (newFile): set language (messages_) for new
6381 * buffer.C (readFile): ws changes only.
6383 2003-04-28 André Pönitz <poenitz@gmx.net>
6388 * BufferView_pimpl.C:
6389 * BufferView.C: getParFromID related ParagraphList::iterator changes
6391 2003-04-28 André Pönitz <poenitz@gmx.net>
6393 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6396 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * messages.C: remove one more localedir class variable.
6400 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * messages.C (getLocaleDir): singleton generation function
6404 (Messages): add a default constructor.
6406 * main.C (main): do not setup localedir here, do not call
6409 * gettext.C (_): use it.
6410 (gettext_init): delete funciton
6412 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * gettext.C (getLyXMessages): new singleton generating function.
6416 * buffer.C (updateDocLang): adjust
6418 * Makefile.am (messages.o): add target
6419 (main.o): remove target
6421 2003-04-27 John Levon <levon@movementarian.org>
6426 * lyxvc.C: specify cancel button in Alert::prompt
6428 2003-04-26 John Levon <levon@movementarian.org>
6433 * LyXAction.C: add LFUN_INSET_SETTINGS
6435 * lyxfunc.C: don't enable tabular-feature when there's
6436 just any locking inset
6438 2003-04-26 John Levon <levon@movementarian.org>
6440 * bufferlist.C: re-add Cancel to buffer close question
6442 * lyxfunc.C: fix import UI a bit
6444 2003-04-25 John Levon <levon@movementarian.org>
6446 * gettext.C: remove the broken asserts for now
6448 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6450 * messages.C: make case where setlocale cannot comply work better.
6452 * buffer.C (updateDocLang): new function
6453 (changeLanguage): use it
6456 * text2.C (setCounter): use B_ a bit.
6458 * lyxlayout.C (Read): be sure to trim the label strings.
6460 * messages.C (Messages): fix typo in comment
6462 * buffer.C (readFile): set message_ after file is loaded.
6463 (makeDocBookFile): remove double return
6464 (changeLanguage): reset message_ upon language change.
6465 (B_): new func, use this to get translated buffer strings.
6467 * main.C: add myself and Jean Marc as authors.
6469 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * messages.[hC]: pimplify Messages, and three different pimpls to be
6472 used in different circumstances.
6474 * gettext.[Ch]: change for use with new message code.
6476 2003-04-24 André Pönitz <poenitz@gmx.net>
6478 * factory.C: support for eqref
6480 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * messages.[Ch]: add missing char
6484 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6486 * messages.[Ch]: New files
6488 2003-04-18 John Levon <levon@movementarian.org>
6492 * BufferView_pimpl.C:
6496 * text2.C: remove layout-copy/paste (bug 778)
6498 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6500 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6502 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6504 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6505 if they succeed. Act accordingly.
6507 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * text2.C (setCharFont): adjust
6510 (setCounter): adjust
6511 (insertStringAsLines): adjust
6513 * text.C (leftMargin): adjust
6514 (setHeightOfRow): adjust
6516 * rowpainter.C (paintFirst): adjust
6519 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6521 (isFirstInSequence): ditto
6522 (getEndLabel): ditto
6525 * paragraph.C (getParLanguage): comment out some hard stuff.
6527 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6529 (simpleDocBookOnePar): ditto
6530 (makeDocBookFile): use ParagraphList::iterator
6532 * CutAndPaste.C (pasteSelection): adjust
6534 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * text2.C (getFont): adjust
6537 (getLayoutFont): adjust
6538 (getLabelFont): adjust
6540 * paragraph_funcs.C (TeXOnePar): adjust
6542 * buffer.C (simpleLinuxDocOnePar): adjust
6543 (simpleDocBookOnePar): adjust
6545 * CutAndPaste.C (pasteSelection): adjust
6547 * BufferView.C (getEncoding): adjust
6549 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6551 2003-04-16 John Levon <levon@movementarian.org>
6553 * lyxfind.C: use parlist stuff for search/changes
6555 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6559 * text2.C (deleteEmptyParagraphMechanism): adjust
6561 * text2.[Ch] (ownerParagraph): delete func (both of them
6563 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6565 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6567 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * ParagraphList.C: prepare for NO_NEXT
6571 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * text2.C (getFont): adjust
6574 (getLayoutFont): adjust
6575 (getLabelFont): adjust
6577 * paragraph.C (getFont): adjust
6578 (getLabelFont): adjust
6579 (getLayoutFont): adjust
6581 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6583 2003-04-15 John Levon <levon@movementarian.org>
6587 * lyx_main.C: handle Include in .ui files
6589 2003-04-15 John Levon <levon@movementarian.org>
6591 * MenuBackend.C: make the doc files length shorter
6594 * ToolbarBackend.C: handle toolbar placement flags,
6597 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6602 * paragraph_funcs.C (TeXOnePar): adjust
6604 * paragraph.C (getLabelFont): add outerfont arg, adjust
6605 (getLayoutFont): ditto
6606 (simpleTeXOnePar): adjust
6608 * paragraph_pimpl.C (realizeFont): delete func
6610 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6612 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6613 row argument, constify cur argument.
6615 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6617 * text2.C (getFont): adjust
6618 (getLayoutFont): adjust
6619 (getLabelFont): adjust
6621 * paragraph_funcs.C (TeXOnePar): adjust
6622 (outerFont): new func...
6623 (realizeFont): ...moved out from here, changed this to facilitate
6626 * paragraph.C (getFont): take outerfont as arg, adjust
6627 (simpleTeXOnePar): add outerfont arg, adjust
6629 * buffer.C (simpleLinuxDocOnePar): adjust
6630 (simpleDocBookOnePar): adjust
6632 * CutAndPaste.C (pasteSelection): adjust
6634 * BufferView.C (getEncoding): adjust
6636 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * text2.C (setCharFont): adjust
6639 (setCounter): adjust
6641 * text.C (leftMargin): adjust
6642 (setHeightOfRow): adjust
6644 * rowpainter.C (paintFirst): adjust
6647 * paragraph_pimpl.C (realizeFont): adjust
6649 * paragraph.C (isFirstInSequence): move from here...
6650 * paragraph_funcs.C (isFirstInSequence): ...to here
6652 * paragraph.C (outerHook): move from here...
6653 * paragraph_funcs.C (outerHook): ...to here
6655 * paragraph.C (depthHook): move from here...
6656 * paragraph_funcs.C (depthHook): ...to here
6658 * paragraph.C (getEndLabel): move from here...
6659 * paragraph_funcs.C (getEndLabel): ...to here
6661 * text2.C (realizeFont): move from here...
6662 * paragraph_funcs.C (realizeFont): ...to here
6664 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6668 2003-04-14 Angus Leeming <leeming@lyx.org>
6670 * LColor.[Ch]: scrap LColor mathcursor.
6672 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * lyxlex.[Ch] (text): delete function
6675 * trans.C (Load): adjust
6676 * paragraph_funcs.C (readParToken): adjust
6678 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6681 vector<char> instead of a char[].
6683 * lyxlex_pimpl.C (getString): adjust
6685 (lex): use getString
6689 * lyxlex.C (text): use pimpl_->getString()
6693 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6696 (makeFontEntriesLayoutSpecific): temp var for par.size()
6697 (setLayout): temp var for ownerParagraphs().end()
6698 (fullRebreak): temp var for rows().end()
6699 (selectionAsString): temp var for boost::next(startpit), realize
6700 that the while really is a regular for loop.
6701 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6702 setCursor in one place.
6703 (setParagraph): temp vr for ownerParagraphs().end()
6704 (updateCounters): make the while loop a for loop
6705 (cutSelection): temp var for ownerParagraphs().end()
6706 (updateInset): make the do {} while() a regular for loop
6707 (getCursorX): use temp vars
6708 (setCurrentFont): use temp vars
6709 (getColumnNearX): use temp vars
6711 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * text.C (transformChar): use temp var for getChar
6714 (computeBidiTables): use temp var for row->par()
6715 (fill): move temp vars for row->par() and pit->layout() earlier in
6717 (labelFill): use temp var for row->par()
6718 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6719 asc and desc, realize that pit never changes and that firstpit is
6720 just a duplicate and not needed. Exchange rit->par() with pit in a
6722 (breakAgain): use a temp var for boost::next(rit)
6723 (breakAgainOneRow): ditto
6724 (breakParagraph): use a temp var for rows().begin()
6725 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6726 (cursorRightOneWord): use temp var for cursor.par() and
6727 cursor.pos(), remove usage of tmpcursor.
6728 (cursorLeftOneWord): use temp var for cursor.par() and
6729 cursor.pos() only set cur at end of function.
6731 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6733 * text.C, text2.C: exchange all usage of Paragraph::next with
6734 boost::next(ParagraphList::iterator)
6736 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6738 * text2.C (cursorTop): simplify implementation
6739 (cursorBottom): ditto
6740 (setParagraph): use ParagraphList::iterator
6741 (setCurrentFont): adjust
6742 (getColumnNearX): adjust
6743 (cursorRight): adjust
6744 (cursorLeft): remove usage of Paragraph::previous
6745 (cursorUpParagraph): ditto
6746 (deleteEmptyParagraphMechanism): slight cleanup
6748 * text.C (isBoundary): take a Paragraph const & instead of a
6750 (addressBreakPoint): ditto
6751 (leftMargin): remove usage of Paragraph::previous.
6752 (setHeightOfRow): ditto
6753 (cursorLeftOneWord): ditto
6754 (selectNextWordToSpellcheck): ditto
6757 (breakParagraph): remove one usage of Paragraph::next
6758 (redoParagraph): ditto
6759 (acceptChange): ditto
6760 (insertChar): adjust
6761 (rowBreakPoint): adjust
6763 * bufferview_funcs.C (toggleAndShow): adjust
6765 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6767 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6768 methods to access it.
6770 * text.C: Added updateRowPositions to compute all row positions.
6771 Make top_y and getRowNearY() to use the cached y position
6773 2003-04-11 John Levon <levon@movementarian.org>
6775 * text.C (rowBreakPoint): reintroduce the labelEnd
6776 checks, code copied from the row fill stuff. Deep voodoo.
6778 * text.C (fill): add a comment and debugging for the
6781 2003-04-11 John Levon <levon@movementarian.org>
6783 * text.C: make sure fullrow insets get wrapped to the next line,
6784 even when they're in a manual label
6786 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * text2.C (insertParagraph): make it take ParagraphList::iterator
6790 (setLayout): make it return ParagraphList::iterator
6791 (redoParagraphs): ditto
6793 (checkParagraph): ditto
6795 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6797 * text2.C: adjust several funcs.
6798 (realizeFont): take a ParagraphList::iterator as arg.
6799 (getLayoutFont): ditto
6800 (getLabelFont): ditto
6801 (setCharFont): ditto
6803 * text.C: adjust several funcs.
6805 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6807 * text.C (selectNextWordToSpellcheck): don't accidentally
6810 2003-04-10 John Levon <levon@movementarian.org>
6812 * ToolbarBackend.C (getIcon): special handling for
6815 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6817 * text2.C (cursorRight): a getChar assert fixed
6819 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * text2.C (getFont): change to take a ParagraphList::iterator
6822 instead of Paragraph*
6823 Adjust several functions.
6825 * text.C (transformChar): change to take a ParagraphList::iterator
6826 instead of Paragraph*
6827 (singleWidth): ditto
6828 Adjust several functions.
6830 * rowpainter.C: adjust several functions
6831 * rowpainter.h:store a ParagraphList::iterator and not a
6835 2003-04-09 John Levon <levon@movementarian.org>
6840 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6841 and the "help" bits as well
6843 2003-04-09 John Levon <levon@movementarian.org>
6846 * ToolbarBackend.C: allow multiple toolbars
6848 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6850 * undo_funcs.C (setCursorParUndo): adjust
6852 * text_funcs.C (transposeChars): adjust
6854 * text3.C (gotoNextInset): adjust
6857 * text2.C (setLayout): adjust
6858 (changeDepth): adjust
6860 (redoParagraphs): adjust
6861 (selectionAsString): adjust
6862 (setParagraph): adjust
6863 (insertInset): adjust
6864 (cutSelection): adjust
6865 (copySelection): adjust
6866 (pasteSelection): adjust
6867 (insertStringAsLines): adjust
6868 (updateInset): adjust
6869 (setCursor): change to take a ParagraphList::iterator parameter
6870 (setCursorIntern): change to take a ParagraphList::iterator parameter
6871 (setCurrentFont): adjust
6872 (cursorLeft): adjust
6873 (cursorRight): adjust
6874 (deleteEmptyParagraphMechanism): adjust
6876 * text.C (breakParagraph): adjust
6877 (insertChar): adjust
6878 (acceptChange): adjust
6879 (rejectChange): adjust
6880 (selectNextWordToSpellcheck): adjust
6881 (changeCase): adjust
6885 * lyxfind.C (SearchForward): adjust
6886 (SearchBackward): adjust
6887 (nextChange): adjust
6889 * lyxcursor.C (par): adjust
6891 * lyxcursor.h: store a ParagraphList::iterator instead of a
6894 * lyx_cb.C (getPossibleLabel): adjust
6896 * bufferview_funcs.C (toggleAndShow): adjust
6898 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6901 * BufferView.C (removeAutoInsets): adjust
6902 (lockedInsetStoreUndo): adjust
6904 2003-04-09 John Levon <levon@movementarian.org>
6906 * ToolbarBackend.C: try icon without argument
6907 if with argument fails
6909 2003-04-08 John Levon <levon@movementarian.org>
6912 * ToolbarBackend.C: add getIcon(), handle tooltip,
6913 and change from "Icon" to "Item".
6915 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6917 * BufferView.C (lockInset): another bad getchar crunched
6919 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6921 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6924 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6926 * lyxfind.C (searchForward, searchBackwards): bug 782
6928 2003-04-07 John Levon <levon@movementarian.org>
6930 * paragraph.C: remove dead comment
6932 * text.C: remove troublesome depth-fiddling code
6933 in leftMargin() and rightMargin() (bug 1017)
6935 * text.C: fix breaking of rows in nested lists
6938 * text2.C (updateCounters): fix up depth values
6941 2003-04-07 John Levon <levon@movementarian.org>
6943 * BufferView_pimpl.C: clear message when doc finishes resizing,
6944 and after a mouse event
6946 * lyxfunc.C: clear message after exiting inset
6948 2003-04-07 John Levon <levon@movementarian.org>
6950 * bufferview_funcs.C: show math status not outside
6951 status in the statusbar
6953 2003-04-07 John Levon <levon@movementarian.org>
6955 * lyxfunc.C: note status changed after a depth change
6957 2003-04-04 Angus Leeming <leeming@lyx.org>
6959 * LaTeX.h: move AuxInfo operator==, != out of line.
6960 Remove LaTeX virtual destructor; nothing derives from it.
6961 Move operator()() out of public area and rename it startscript().
6962 Change protected for private.
6964 2003-04-04 Angus Leeming <leeming@lyx.org>
6967 * text2.C: remove unneeded #includes.
6969 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6971 * text2.C (dEPM): fix the heigth of the next row
6973 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6975 * text.C: squashed an invalid getChar requester + some ws changes
6977 2003-04-03 John Levon <levon@movementarian.org>
6979 * bufferview_funcs.h:
6980 * bufferview_funcs.C:
6983 * text2.C: make getStatus work for the env depth lfuns
6985 2003-04-03 John Levon <levon@movementarian.org>
6987 * bufferview_funcs.h:
6988 * bufferview_funcs.C:
6991 * text2.C: parlistize decDepth(), by merging it with incDepth()
6993 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6995 * lyxrow.h: store a ParagraphList::iterator instead of a
6996 Paragraph* and adjust other class functions to suit.
6998 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7001 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7003 * text2.C (setCursor): do not anchor to cursor row for the time being
7005 2003-04-02 John Levon <levon@movementarian.org>
7012 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7014 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7016 * paragraph.h: make ParagraphList and ParagraphList::iterator
7017 friends of Paragraph.
7019 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7021 * ParagraphList.C: Use the private next_ and previous_ from
7024 2003-04-01 John Levon <levon@movementarian.org>
7028 * Makefile.am: rename, remove defaults gunk
7031 * MenuBackend.C: remove defaults gunk
7034 * Languages.C: remove defaults gunk
7037 * lyx_main.C: error out if files couldn't be found.
7039 2003-04-02 John Levon <levon@movementarian.org>
7041 * text2.C: make incDepth() use parlist
7043 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7045 * undo_funcs.C (firstUndoParagraph): adjust
7047 * text3.C (gotoInset): adjust
7048 (dispatch): adjust, and rewrite loop.
7050 * text2.C (init): adjust, and rewrite loop.
7051 (redoParagraphs): adjust
7052 (updateInset): adjust, and rewrite loop.
7053 (deleteEmptyParagraphMechanism): adjust
7055 * tabular.C (LyXTabular): adjust
7056 (SetMultiColumn): adjust
7059 * lyxtext.[Ch] (ownerParagraph): delete function
7060 (ownerParagraphs): new function returns a ParagraphList.
7062 * BufferView.C (removeAutoInsets): adjust
7063 (insertErrors): adjust
7064 (setCursorFromRow): adjust
7066 2003-04-01 Angus Leeming <leeming@lyx.org>
7068 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7071 2003-04-02 John Levon <levon@movementarian.org>
7077 * text_funcs.C: make transposeChars a free function
7079 * lyxrow_funcs.C: remove wrong comment
7081 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * rowpainter.C: adjust
7089 * lyxrow_funcs. [Ch]: new files
7091 * lyxrow.[Ch]: remove next and previous pointers
7092 (next,previous): remove accessor functions
7093 (isParEnd): move to lyxrow_funcs
7094 (lastPos): move to lyxrow_funcs
7095 (nextRowIsAllInset): move to lyxrow_funcs
7096 (lastPrintablePos): move to lyxrow_funcs
7097 (numberOfSeparators): move to lyxrow_funcs
7098 (numberOfHfills): move to lyxrow_funcs
7099 (numberOfLabelHfills): move to lyxrow_funcs
7100 (hfillExpansion): move to lyxrow_funcs
7104 * bufferview_funcs.C (toggleAndShow): adjust
7106 * RowList.h: Remove class RowList from file leave just a
7109 * RowList.C: delete file
7111 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7114 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7116 * text3.C (cursorPrevious): adjust
7117 (cursorNext): adjust
7120 * text2.C (redoHeightOfParagraph): adjust
7121 (redoDrawingOfParagraph): adjust
7124 * text.C (breakParagraph): adjust
7125 (insertChar): adjust
7128 * rowpainter.C (RowPainter): adjust
7129 (leftMargin): simplify and adjust
7130 (most rowpainter functions): adjust.
7132 * rowpainter.h: store the row as RowList::iterator not as Row*
7134 * lyxcursor.C (row): taka RowList::iterator as arg
7137 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7140 2003-04-01 Angus Leeming <leeming@lyx.org>
7142 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7143 stuff like bool Bool.
7145 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7147 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7150 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7152 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7155 * lyxtext.h (rows): drop one version and leve a const variant that
7156 returns a RowList::iterator.
7158 2003-03-31 Angus Leeming <leeming@lyx.org>
7160 * text.C (fill): ensure that the signature is the same as that in the
7163 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * text2.C (redoParagraphs): adjust
7166 (updateCounters): adjust
7167 (checkParagraph): adjust
7168 (getColumnNearX): adjust and reformat a bit.
7170 * text.C (top_y): adjust
7172 (leftMargin): adjust
7173 (prepareToPrint): adjust
7175 (getRowNearY): adjust
7177 * lyxtext.h: make rowlist_ mutable.
7179 * RowList.h: add const_iterator
7180 * RowList.C: adjust for RowList::const_iterator.
7182 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7185 2003-03-31 John Levon <levon@movementarian.org>
7188 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7190 * lyx_main.C: set default fonts from using lyx_gui funcs
7192 * exporter.C: pdf_mode moved from lyxrc
7195 * lyxfunc.C: changes from above
7197 2003-03-31 John Levon <levon@movementarian.org>
7199 * lyx_main.C: fix to the last fix
7201 2003-03-31 John Levon <levon@movementarian.org>
7203 * bufferlist.C: "Load original" -> "Load Original"
7209 * format.C: more Alert cleanups
7211 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * text2.C (removeParagraph): make it take a RowList::iterator as
7215 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7216 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7218 * text.C (anchor_row): make it take a RowList::iterator as arg,
7220 (computeBidiTables): make it take a const reference to Row instead
7221 of Row pointer, adjust.
7222 (leftMargin): make it take a RowList::iterator as arg, adjust.
7223 (rowBreakPoint): adjust
7224 (breakAgainOneRow): make it take a RowList::iterator as arg,
7226 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7228 * bufferview_funcs.C (toggleAndShow): adjust
7230 2003-03-30 John Levon <levon@movementarian.org>
7234 * boost-inst.C: moved to support
7236 * several files: changes as a result
7238 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7240 * text2.C (LyXText): adjust.
7242 (removeRow): make it take a RowList::iterator as arg, adjust.
7243 (fullRebreak): adjust
7244 (deleteEmptyParagraphMechanism): adjust
7245 (clearPaint): adjust
7248 * text.C (top_y): adjust
7249 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7250 (breakAgain): make it take a RowList::iterator as arg, adjust.
7251 (breakParagraph): adjust
7252 (insertChar): adjust
7255 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7256 need_break_row, and refresh_row.
7258 * text3.C (dispatch): adjust
7260 * text2.C (checkParagraph): adjust
7262 (setCursorFromCoordinates): adjust
7264 * text.C (top_y): adjust
7266 (getRow): make it return a RowList::iterator, adjust
7267 (getRowNearY): make it return a RowList::iterator, adjust
7269 * text2.C (init): adjust
7270 (insertRow): remove function
7271 (insertParagraph): adjust
7272 (redoParagraphs): adjust
7273 (fullRebreak): adjust
7274 (updateCounters): adjust
7276 * text.C (top_y): rewrite to use RowList iterators.
7278 (setHeightOfRow): rewrite to sue RowList iterators.
7279 (appendParagraph): adjust
7280 (breakAgain): adjust
7281 (breakAgainOneRow): adjust
7282 (breakParagraph): adjust
7284 (getRowNearY): adjust, and remove commented code.
7286 * lyxtext.h (firstRow): delete function
7287 (lastRow): delete function
7288 (rows): new function (const and non-const versions.)
7289 (insertRow): delete function
7291 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7293 2003-03-29 John Levon <levon@movementarian.org>
7295 * BufferView_pimpl.C: always update scrollbar top
7296 because pasting text when we're anchored could mean we
7297 miss an update altogether
7299 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7301 * text2.C (init): use rowlist_.end() and not 0.
7302 (insertRow): change to take a RowList::iterator as arg, adjust
7304 (insertParagraph): change to take a RowList::iterator as arg,
7306 (redoParagraphs): remove some debug msgs.
7308 * text.C (appendParagraph): change to take a RowList::iterator
7309 arg, adjust for this.
7310 (breakAgain): add an assert
7311 (breakAgainOneRow): ditto
7313 2003-03-29 John Levon <levon@movementarian.org>
7315 * text2.C: do not clear selection after inc/decDepth
7318 2003-03-29 John Levon <levon@movementarian.org>
7321 * buffer.C: fix broken strerrors according to Lars
7323 2003-03-29 John Levon <levon@movementarian.org>
7325 * converters.C: more Alert cleanups
7327 2003-03-29 John Levon <levon@movementarian.org>
7329 * bufferview_funcs.C: remove pointless Alert
7331 * buffer.C: fix confusing error message when
7332 a template is chmoded 000
7334 2003-03-29 John Levon <levon@movementarian.org>
7338 * BufferView_pimpl.C: Alert fixes
7342 * tabular-old.C: remove unused table compat reading
7344 2003-03-29 John Levon <levon@movementarian.org>
7349 * lyx_cb.C: more Alert cleanups
7351 * lyxfunc.C: don't allow chktex if not latex document
7353 2003-03-29 John Levon <levon@movementarian.org>
7357 * buffer.C: warnings pushed down from support/,
7360 2003-03-29 John Levon <levon@movementarian.org>
7362 * lyxfunc.C: safety check for C-r (revert)
7364 2003-03-29 John Levon <levon@movementarian.org>
7367 * bufferlist.C: several UI fixes using Alert::prompt.
7368 Fix the pointless looping quit code. Fix stupid revert
7373 * lyx_cb.C: use Alert::prompt
7375 * lyx_main.C: remove a silly question
7377 * lyxfunc.C: remove a couple of silly questions,
7380 2003-03-28 John Levon <levon@movementarian.org>
7382 * text2.C: fix bug 974 (End on empty par)
7384 2003-03-28 John Levon <levon@movementarian.org>
7386 * BufferView_pimpl.C:
7388 * lfuns.h: remove do-nothing math greek lfuns
7390 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7392 * lyxgluelength.h (isValidGlueLength): add default arg on
7393 parameter 2. Remove default arg from friend in class.
7395 * lyxlength.h (isValidLength): add default arg on parameter 2.
7396 Remove default arg from friend in class.
7398 * text2.C (LyXText): adjust, initialize refresh_row.
7402 (insertParagraph): adjst
7403 (redoParagraphs): adjust
7404 (fullRebreak): adjust
7405 (updateCounters): adjust
7406 (deleteEmptyParagraphMechanism): first attempt at fixing a
7409 * text.C (top_y): adjust
7410 (setHeightOfRow): adjust
7412 (getRowNearY): adjust
7414 * lyxtext.h: include RowList.h
7415 (~LyXText): not needed anymore, deleted.
7416 (firstRow): modify for RowList
7417 (lastRow): new function
7418 Delete firstrow and lastrow class variables, add a Rowlist
7419 rowlist_ class variable.
7421 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7424 * RowList.C (insert): fix case where it == begin().
7426 2003-03-26 Angus Leeming <leeming@lyx.org>
7428 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7429 the thesaurus dialog.
7431 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7435 * RowList.[Ch]: new files
7437 * ParagraphList.C (erase): handle the case where it == begin
7440 2003-03-25 John Levon <levon@movementarian.org>
7444 * aspell.C: add new aspell support
7447 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7450 2003-03-25 Angus Leeming <leeming@lyx.org>
7453 * LyXAction.C (init): new LFUN_INSET_INSERT.
7455 * BufferView_pimpl.C (dispatch): split out part of the
7456 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7458 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7461 2003-03-25 Angus Leeming <leeming@lyx.org>
7463 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7465 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7468 * text3.C: remove useless row->height(0)
7470 2003-03-25 John Levon <levon@movementarian.org>
7474 * text3.C: rename the refreshing stuff to better names
7476 2003-03-24 John Levon <levon@movementarian.org>
7478 * BufferView_pimpl.h:
7479 * BufferView_pimpl.C: update layout choice on a mouse
7482 2003-03-23 John Levon <levon@movementarian.org>
7484 * Makefile.am: fix commandtags.h reference
7486 2003-03-22 John Levon <levon@movementarian.org>
7488 * BufferView_pimpl.C:
7493 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7495 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7498 * text.C: take the rtl methods out of line
7500 2003-03-21 André Pönitz <poenitz@gmx.net>
7502 * metricsinfo.[Ch]: new files containing structures to be passed around
7503 during the two-phase-drawing...
7505 2003-03-21 André Pönitz <poenitz@gmx.net>
7507 * lyxtextclass.C: read 'environment' tag.
7509 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7511 * text2.C (removeRow): fix bug 964
7513 2003-03-20 John Levon <levon@movementarian.org>
7517 * text2.C: paint cleanups. Inset::update() dropped font
7520 2003-03-19 John Levon <levon@movementarian.org>
7522 * lyxfunc.C: only fitcursor/markDirty if available()
7524 2003-03-19 John Levon <levon@movementarian.org>
7526 * commandtags.h: rename to ...
7528 * lfuns.h: ... this, and renumber / cleanup
7530 2003-03-19 John Levon <levon@movementarian.org>
7532 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7533 fit the cursor after an lfun
7537 * BufferView_pimpl.h:
7538 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7540 * LyXAction.C: layout-character should have ReadOnly
7542 * ParagraphParameters.C:
7544 * bufferview_funcs.C:
7551 * undo_funcs.C: changes from above
7553 2003-03-18 John Levon <levon@movementarian.org>
7555 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7556 remove it from update()
7558 * lyxfunc.C: update layout choice after an lfun
7560 * text3.C: remove extra updateLayoutChoice()s
7562 2003-03-18 John Levon <levon@movementarian.org>
7564 * text.C: top_y change means full repaint, fix
7565 a drawing bug with cursor movement
7567 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7571 * text2.C: anchor row on setCursor
7573 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7575 * lyxtext.h: remove almost all mutable keywords
7578 * text3.C: remove const keywords accordingly
7580 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7582 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7584 (TeXEnvironment): ditto
7587 2003-03-17 John Levon <levon@movementarian.org>
7589 * text.C (rowBreakPoint): remove attempt to fix displayed
7590 math insets inside a manual label
7592 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7594 * lyxtext.h: remove BufferView* as first arg from almost all class
7596 * other files: adjust.
7598 2003-03-17 John Levon <levon@movementarian.org>
7602 * text2.C: more paint cleanups
7604 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7607 * rowpainter.C: remove "smart" background painting code
7609 2003-03-16 John Levon <levon@movementarian.org>
7614 * text3.C: add helper functions for setting refresh_row/y
7616 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7618 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7619 newline inset which *can* get inserted in the pass_thru layouts.
7620 This is primarily for literate documents.
7622 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7624 * buffer.C: increment LYX_FORMAT to 223
7626 2003-03-14 André Pönitz <poenitz@gmx.net>
7628 * textclass.h: prepare for environment handling, ws changes
7629 * lyxlayout.C: read latexheader and latexfooter tags
7631 2003-03-14 John Levon <levon@movementarian.org>
7633 * text2.C: rewrite ::status() a bit
7635 2003-03-13 John Levon <levon@movementarian.org>
7637 * lyxtext.h: add some docs
7639 2003-03-13 John Levon <levon@movementarian.org>
7644 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7646 2003-03-13 John Levon <levon@movementarian.org>
7648 * text3.C: fix appendix redrawing
7650 2003-03-13 John Levon <levon@movementarian.org>
7652 * text.C (setHeightOfRow):
7654 * rowpainter.C: make appendix mark have the text
7655 "Appendix" so the user knows what it is
7658 * LColor.C: s/appendixline/appendix/ from above
7660 2003-03-13 John Levon <levon@movementarian.org>
7662 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7664 * text.C: fix a getChar(pos) bug properly
7666 2003-03-13 Angus Leeming <leeming@lyx.org>
7669 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7670 Probably only temporary. Let's see how things pan out.
7672 * BufferView.C (unlockInset):
7673 * BufferView_pimpl.C (fitCursor):
7674 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7676 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7677 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7679 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7680 new functions that convert ParagraphParameters to and from a string.
7682 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7683 BufferView::Pimpl's dispatch.
7684 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7686 2003-03-13 André Pönitz <poenitz@gmx.net>
7690 * factory.C: make it aware of InsetEnv
7692 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7694 * text2.C (setCursor): never ask for one past last
7695 (setCursor): add some debugging messages.
7697 * text.C (singleWidth): never ask for one past last
7698 (singleWidth): ditto
7700 (rightMargin): ditto
7701 (rowBreakPoint): ditto
7702 (setHeightOfRow): ditto
7703 (prepareToPrint): ditto
7705 * rowpainter.C (paintBackground): never ask for one past last
7706 (paintText): never ask for one past last
7708 * paragraph_pimpl.C (getChar): make the assert stricter, never
7709 allow the one past last pos to be taken
7711 * paragraph.C (getChar): ws changes only
7713 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7714 (numberOfSeparators): ditto
7715 (numberOfHfills): ditto
7717 2003-03-12 John Levon <levon@movementarian.org>
7723 * paragraph_funcs.C: fix per-buffer authorlists
7725 2003-03-12 John Levon <levon@movementarian.org>
7727 * text.C: fix newline in right address
7729 2003-03-12 Angus Leeming <leeming@lyx.org>
7731 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7732 duplicate those in LyXFunc::dispatch.
7736 * ToolbarDefaults.C:
7737 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7738 Add LFUN_FONTFREE_UPDATE.
7740 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7741 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7743 * bufferview_func.[Ch]: several new functions to facilliate
7744 transfer of data to and from the character dialog.
7746 2003-03-12 John Levon <levon@movementarian.org>
7751 * paragraph_funcs.C:
7752 * paragraph_pimpl.C:
7756 * text3.C: remove META_NEWLINE in favour of an inset
7759 * rowpainter.C: remove paintNewline (done by inset)
7761 2003-03-12 John Levon <levon@movementarian.org>
7763 * paragraph_pimpl.C: complain about bad getChar()s
7764 for a while at least
7766 2003-03-12 John Levon <levon@movementarian.org>
7769 * buffer.C: move paragraph read into a separate function,
7770 a little renaming to reflect that.
7773 * bufferparams.C: remove the author_ids map, not necessary now
7776 * factory.C: moved Buffer::readInset to here
7778 * paragraph_funcs.h:
7779 * paragraph_funcs.C: readParagraph free function moved from
7782 * tabular.C: name change
7784 2003-03-12 John Levon <levon@movementarian.org>
7787 * ParagraphParameters.C: move par params input to
7790 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7791 behave like a normal read from the stream wrt reading
7792 a line vs. a \\token
7794 2003-03-12 John Levon <levon@movementarian.org>
7797 * ParagraphParameters.h:
7798 * ParagraphParameters.C: move output code to a
7801 2003-03-12 John Levon <levon@movementarian.org>
7803 * BufferView.C (insertLyXFile):
7806 * tabular.C: use a parlist iterator for creating the
7809 2003-03-12 John Levon <levon@movementarian.org>
7811 * buffer.C: make current_change static local not
7814 2003-03-12 John Levon <levon@movementarian.org>
7816 * buffer.C: fix insertStringAsLines for change tracking
7818 2003-03-12 John Levon <levon@movementarian.org>
7825 * bufferparams.C: move author list into params. Rename some
7826 functions. Move the header reading into a separate token
7827 loop. Move the header token reading into BufferParams.
7829 2003-03-12 John Levon <levon@movementarian.org>
7831 * changes.C: put debug inside lyxerr.debugging() checks
7833 2003-03-11 André Pönitz <poenitz@gmx.net>
7835 * factory.C: make it aware of InsetHFill
7837 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7839 * buffer.C (latexParagraphs): move function from here...
7840 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7843 2003-03-10 Angus Leeming <leeming@lyx.org>
7845 * LyXAction.C (init): fix bug in poplating array with multiple entries
7846 with the same LFUN (spotted by JMarc).
7848 2003-03-10 John Levon <levon@movementarian.org>
7851 * text2.C: move getColumnNearX() near its
7854 2003-03-10 John Levon <levon@movementarian.org>
7856 * text.C: fix break before a minipage
7858 2003-03-10 John Levon <levon@movementarian.org>
7860 * text.C: fix the last commit
7862 2003-03-09 John Levon <levon@movementarian.org>
7866 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7867 bug 365 (don't break before insets unless needed). Don't
7868 return a value > last under any circumstances.
7870 2003-03-09 Angus Leeming <leeming@lyx.org>
7872 * BufferView_pimpl.C (trackChanges, dispatch): call
7873 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7875 2003-03-09 Angus Leeming <leeming@lyx.org>
7877 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7878 than Dialogs::showAboutlyx().
7880 2003-03-09 Angus Leeming <leeming@lyx.org>
7882 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7883 than Dialogs::showTabularCreate().
7885 2003-03-09 John Levon <levon@movementarian.org>
7889 * text2.C: 3rd arg to nextBreakPoint was always the same.
7892 2003-03-08 John Levon <levon@movementarian.org>
7899 * text2.C: Remove the "main" bit from the "main body"
7902 2003-03-08 John Levon <levon@movementarian.org>
7904 * text.C (leftMargin): The left margin of an empty
7905 manual label paragraph should not include the label width
7908 * text.C (prepareToPrint): don't attempt to measure hfills
7909 for empty manual label paragraphs - the answer should be 0
7911 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7913 * CutAndPaste.C: remove commented code and reindent.
7915 2003-03-08 John Levon <levon@movementarian.org>
7918 * lyxfunc.C: move reloadBuffer()
7921 * BufferView.C: to here
7923 * lyxvc.C: add comment
7926 * vc-backend.C: call bv->reload() to avoid
7927 getStatus() check on MENURELOAD
7929 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7931 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7932 to an old format .dep file.
7934 2003-03-07 Angus Leeming <leeming@lyx.org>
7936 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7937 when the LFUN_MOUSE_RELEASE should have been handled by
7938 inset->localDispatch.
7940 2003-03-07 Angus Leeming <leeming@lyx.org>
7942 * BufferView_pimpl.C (dispatch):
7943 * LyXAction.C (init):
7944 * ToolbarDefaults.C (init):
7946 * lyxfunc.C (getStatus):
7947 remove LFUN_INSET_GRAPHICS.
7949 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7951 2003-03-07 Angus Leeming <leeming@lyx.org>
7954 * LyXAction.C (init):
7955 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7957 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7960 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7962 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7963 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7965 2003-03-07 Angus Leeming <leeming@lyx.org>
7967 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7970 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * ParagraphList.C (front): new function
7975 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7977 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7978 and top_row_offset_. removed var first_y.
7980 * text2.C (LyXText, removeRow):
7982 * BufferView_pimpl.C:
7983 use these methods instead of using first_y
7985 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7987 * text2.C (pasteSelection): adjust for checkPastePossible
7989 * CutAndPaste.C: remove Paragraph * buf and replace with
7990 ParagraphList paragraphs.
7991 (DeleteBuffer): delete
7992 (cutSelection): change the tc type to textclass_type
7993 (copySelection): change the tc type to textclass_type
7994 (copySelection): adjust for ParagraphList
7995 (pasteSelection): change the tc type to textclass_type
7996 (pasteSelection): adjust for Paragraphlist
7997 (nrOfParagraphs): simplify for ParagraphList
7998 (checkPastePossible): simplify for ParagraphList
7999 (checkPastePossible): remove unused arg
8001 * ParagraphList.C (insert): handle the case where there are no
8004 * CutAndPaste.h: make CutAndPaste a namespace.
8006 * text3.C (dispatch): adjust
8008 * text.C (breakParagraph): add a ParagraphList as arg
8010 * paragraph_funcs.C (breakParagraph): change to take a
8011 BufferParams and a ParagraphList as args.
8012 (breakParagraphConservative): ditto
8013 (mergeParagraph): ditto
8014 (TeXDeeper): add a ParagraphList arg
8015 (TeXEnvironment): ditto
8018 * buffer.C (readLyXformat2): adjust
8019 (insertStringAsLines): adjust
8020 (latexParagraphs): adjust
8022 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8023 (cutSelection): adjust
8024 (pasteSelection): adjust
8026 * BufferView_pimpl.C (insertInset): adjust
8028 2003-03-05 Angus Leeming <leeming@lyx.org>
8031 * LyXAction.C (init):
8032 * BufferView_pimpl.C (dispatch):
8033 * lyxfunc.C (getStatus):
8034 remove LFUN_CHILD_INSERT.
8036 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8038 2003-03-05 Angus Leeming <leeming@lyx.org>
8041 * LyXAction.C (init):
8042 * src/factory.C (createInset):
8043 * lyxfunc.C (getStatus):
8044 * text3.C (dispatch):
8045 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8047 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8049 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8051 * ParagraphList.C (insert): handle insert right before end()
8052 (erase): fix cases where it can be first or last paragraph.
8054 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8056 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8057 Paragraph::next and Paragraph::previous
8060 * text.C (breakParagraph): adjust
8062 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8063 BufferParams& as arg.
8064 (breakParagraph): use ParagraphList::insert
8065 (breakParagraphConservative): take a Buffer* instead of a
8066 BufferParams& as arg.
8067 (breakParagraphConservative): use ParagraphList::insert.
8069 * buffer.C (insertStringAsLines): un-const it
8070 (insertStringAsLines): adjust
8072 * ParagraphList.C (insert): new function
8074 * CutAndPaste.C (pasteSelection): adjust
8076 * text.C (backspace): adjust
8078 * tabular.C (SetMultiColumn): adjust
8080 * CutAndPaste.C (cutSelection): adjust
8081 (pasteSelection): adjust
8083 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8084 Buffer const * as arg
8086 * ParagraphList.C (erase): new function
8087 * paragraph_funcs.C (mergeParagraph): use it
8088 (mergeParagraph): make it take a Buffer* instead of a
8089 BufferParams* as arg
8091 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8093 (breakParagraphConservative): ditto
8095 * paragraph.h: remove the breakParagraph friend
8097 * paragraph.C (eraseIntern): new function
8098 (setChange): new function
8100 * paragraph_funcs.C (mergeParagraph): make it take a
8101 ParagraphList::iterator instead of a Paragraph *, adjust
8104 * paragraph.h: move an #endif so that the change tracking stuff
8105 also works in the NO_NEXT case.
8107 2003-03-04 Angus Leeming <leeming@lyx.org>
8110 * LyXAction.C: new LFUN_INSET_MODIFY.
8112 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8113 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8115 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8117 * several files: ws changes only
8119 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8120 (TeXEnvironment): ditto
8123 * buffer.C (makeLaTeXFile): adjust
8124 (latexParagraphs): make it take ParagraphList::iterator as args
8126 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8128 * buffer.C (latexParagraphs): adjust
8130 * paragraph.C (TeXOnePar): move function...
8131 (optArgInset): move function...
8132 (TeXEnvironment): move function...
8133 * paragraph_pimpl.C (TeXDeeper): move function...
8134 * paragraph_funcs.C: ...here
8136 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8138 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * buffer.C (readInset): remove compability code for old Figure and
8143 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * buffer.C: ws changes
8148 * BufferView_pimpl.C: ditto
8151 * bufferlist.h: ditto
8155 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8157 * converter.[Ch]: split into itself +
8160 * Makefile.am: += graph.[Ch] + format.[Ch]
8167 * lyxrc.C: added #include "format.h"
8169 2003-02-27 Angus Leeming <leeming@lyx.org>
8171 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8174 * factory.C (createInset): add "label" to the factory.
8176 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8177 string and do no more.
8179 2003-02-27 Angus Leeming <leeming@lyx.org>
8182 * LyXAction.C (init):
8183 * factory.C (createInset):
8184 * BufferView_pimpl.C (dispatch):
8185 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8187 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8189 * lyxfunc.C (dispatch):
8190 * text3.C (dispatch): pass name to params2string.
8192 2003-02-26 Angus Leeming <leeming@lyx.org>
8194 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8196 Rearrange the ~includes. Strip out the unnecessary ones.
8198 * factory.C (createInset): reformat.
8199 create new insets for the various LFUN_XYZ_APPLY lfuns.
8201 2003-02-26 John Levon <levon@movementarian.org>
8204 * lyxrow.C: add isParStart,isParEnd helpers
8206 * paragraph.h: make isInserted/DeletedText take refs
8208 * paragraph_funcs.h:
8209 * paragraph_funcs.C: remove #if 0'd code
8214 * text.C: use lyxrow helpers above.
8215 Move draw and paint routines to RowPainter.
8216 Make several methods use refs not pointers.
8217 Make backgroundColor() const.
8218 Add markChangeInDraw(), isInInset().
8219 Merge changeRegionCase into changeCase.
8220 Make workWidth() shouldn't-happen code into an Assert.
8223 * rowpainter.C: new class for painting a row.
8226 * vspace.C: make inPixels take a ref
8228 2003-02-26 Angus Leeming <leeming@lyx.org>
8230 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8233 2003-02-25 John Levon <levon@movementarian.org>
8235 * ispell.C: give the forked command a more accurate name
8237 2003-02-22 John Levon <levon@movementarian.org>
8240 * toc.C: make TocItem store an id not a Paragraph *
8243 2003-02-21 Angus Leeming <leeming@lyx.org>
8245 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8246 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8247 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8248 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8249 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8250 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8252 * BufferView_pimpl.C (dispatch):
8253 * LyXAction.C (init):
8254 * factory.C (createInset):
8255 * lyxfunc.C (getStatus, dispatch):
8256 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8258 2003-02-21 Angus Leeming <leeming@lyx.org>
8260 * BufferView_pimpl.C (MenuInsertLyXFile):
8261 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8262 * lyxfunc.C (menuNew, open, doImport):
8263 no longer pass a LyXView & to fileDlg.
8265 2003-02-21 Angus Leeming <leeming@lyx.org>
8267 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8268 * LyXAction.C: change, BIBKEY to BIBITEM.
8269 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8270 Change InsetBibKey to InsetBibitem.
8271 Change BIBKEY_CODE to BIBITEM_CODE.
8272 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8273 * factory.C: replace insetbib.h with insetbibitem.h.
8274 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8275 * paragraph.C: replace insetbib.h with insetbibitem.h.
8276 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8277 Change bibkey() to bibitem().
8278 * text.C: remove insetbib.h.
8279 * text2.C: replace insetbib.h with insetbibitem.h.
8280 change bibkey() to bibitem().
8281 * text3.C: remove insetbib.h.
8282 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8284 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8286 * lyxrc.C (output): enclose user email in quotes (in case there are
8289 2003-02-18 John Levon <levon@movementarian.org>
8291 * buffer.h: add std::
8293 2003-02-17 John Levon <levon@movementarian.org>
8299 * pspell.C: reworking. Especially in ispell, a large
8300 number of clean ups and bug fixes.
8302 * lyxfunc.C: fix revert to behave sensibly
8304 2003-02-17 André Pönitz <poenitz@gmx.net>
8307 * commandtags.h: new LFUN_INSERT_BIBKEY
8317 * paragraph_func.C: remove special bibkey handling
8319 2003-02-17 John Levon <levon@movementarian.org>
8321 * text.C (Delete): fix case where delete at the end of
8322 the very first paragraph would not merge the pars
8324 2003-02-17 John Levon <levon@movementarian.org>
8326 * lyxrow.C: fix lastPrintablePos()
8328 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8330 * bufferparams.C (writeLaTeX): add a std:here
8332 * buffer.C: and remove a using directive there
8334 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8336 * buffer.C (makeLaTeXFile): move the code that generates the
8339 * bufferparams.C (writeLaTeX): ... in this new method
8341 * LaTeXFeatures.C (getEncodingSet): make const
8342 (getLanguages): make const
8344 * MenuBackend.C (binding): returns the binding associated to this
8346 (add): sets the status of each item by calling getStatus. Adds
8348 (read): add support for OptSubMenu
8349 (expand): remove extra separator at the end of expanded menu
8351 2003-02-15 John Levon <levon@movementarian.org>
8354 * BufferView_pimpl.C:
8356 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8357 inset code that had no actual effect. Remove unneeded status
8360 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8365 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8367 * text.C (drawLengthMarker): also draw an arrow marker for
8368 symbolic lengths (medskip...)
8370 2003-02-14 John Levon <levon@movementarian.org>
8373 * tabular.C: better method names
8375 2003-02-14 John Levon <levon@movementarian.org>
8377 * BufferView_pimpl.C:
8382 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8383 it's a more accurate name. Remove some pointless uses.
8385 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8387 * text2.C (LyXText): change order of initilizers to shut off
8390 2003-02-14 John Levon <levon@movementarian.org>
8392 * buffer.C: use ParIterator for getParFromID()
8396 * paragraph_pimpl.h:
8397 * paragraph_pimpl.C: remove unused getParFromID()
8399 2003-02-14 John Levon <levon@movementarian.org>
8401 * buffer.C: remove some very old #if 0'd parse code
8403 2003-02-13 John Levon <levon@movementarian.org>
8407 * text2.C: move hfillExpansion(), numberOfSeparators(),
8408 rowLast(), rowLastPrintable(), numberofHfills(),
8409 numberOfLabelHfills() ...
8412 * lyxrow.C: ... to member functions here.
8417 * text.C: remove LyXText::beginningOfMainBody(), and call
8418 p->beginningOfMainBody() directly. Move the check for
8419 LABEL_MANUAL into the latter.
8426 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8432 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8433 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8435 2003-02-13 John Levon <levon@movementarian.org>
8437 * CutAndPaste.C: remove debug
8439 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8441 * paragraph.C (asString): remove two unused variables
8443 * lyxtextclass.C (readTitleType):
8445 (LyXTextClass): handle new members titletype_ and titlename_
8447 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8449 2003-02-09 John Levon <levon@movementarian.org>
8452 * buffer.C: replace hand-coded list with a map for the dep clean
8454 2003-02-08 John Levon <levon@movementarian.org>
8456 * LaTeX.C: consolidate code into showRunMessage() helper
8458 2003-02-08 John Levon <levon@movementarian.org>
8463 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8464 and pass the size in explicitly
8466 * BufferView_pimpl.h:
8467 * BufferView_pimpl.C:
8469 * BufferView.C: add getCurrentChange()
8471 * BufferView_pimpl.h:
8472 * BufferView_pimpl.C: handle change lfuns
8474 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8475 for changes. Mark pasted paragraphs as new.
8477 * support/lyxtime.h:
8478 * support/lyxtime.C:
8479 * DepTable.C: abstract time_t as lyx::time_type
8482 * LColor.C: add colours for new text, deleted text, changebars
8484 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8485 package use "usenames" option.
8489 * LyXAction.C: add change lfuns
8493 * author.C: author handling
8496 * buffer.C: add a per-buffer author list, with first entry as
8497 current author. Handle new .lyx tokens for change tracking. Output
8498 author list to .lyx file. Output dvipost stuff to .tex preamble.
8499 Bump lyx format to 222.
8502 * bufferlist.C: add setCurrentAuthor() to reset current author details
8506 * bufferparams.C: add param for tracking
8508 * bufferview_funcs.C: output change info in minibuffer
8512 * changes.C: add change-tracking structure
8515 * debug.C: add CHANGES debug flag
8518 * lyxfind.C: add code for finding the next change piece
8521 * lyxrc.C: add user_name and user_email
8524 * lyxrow.C: add a metric for the top of the text line
8527 * text.C: implement accept/rejectChange()
8530 * text.C: paint changebars. Paint new/deleted text in the chosen
8531 colours. Strike through deleted text.
8535 * paragraph_pimpl.h:
8536 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8537 in the current change to the insert functions. Rework erase to
8538 mark text as deleted, adding an eraseIntern() and a range-based
8539 erase(). Implement per-paragraph change lookup and
8542 * paragraph_funcs.C: Fixup paste for change tracking.
8544 * tabular.C: mark added row/columns as new.
8546 * text.C: fix rowLast() to never return -1. Don't allow
8547 spellchecking of deleted text. Track transpose changes. Don't
8548 allow paragraph break or merge where appropriate.
8550 * text2.C: leave cursor at end of selection after a cut.
8552 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * text.C (getLengthMarkerHeight):
8555 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8556 visible on screen too.
8558 2003-02-07 John Levon <levon@movementarian.org>
8560 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8562 2003-02-05 Angus Leeming <leeming@lyx.org>
8564 * lyxserver.C (read_ready): revert my patch of 11 September last year
8565 as it sends PC cpu through the roof. Presumably this means that
8566 the lyxserver will no longer run on an Alpha...
8568 2003-01-30 Angus Leeming <leeming@lyx.org>
8570 * factory.C (createInset): create an InsetCommandParam of type "index"
8571 and use it to 'do the right thing'.
8573 * text2.C (getStringToIndex): ensure that cursor position is always
8574 reset to the reset_cursor position.
8576 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8578 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8581 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8585 * lyxfunc.C: Output messages with identical spelling, punctuation,
8588 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8590 * MenuBackend.C (expandFormats): List only viewable export formats
8593 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8596 * lyxfunc.C (getStatus): Make sure that formats other than
8597 "fax" can also be disabled
8599 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * text3.C (dispatch): put the lfuns that insert insets in 3
8602 groups, and call doInsertInset with appropriate arguments.
8603 (doInsertInset): new function, that creates an inset and inserts
8604 it according to some boolean parameters.
8606 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * buffer.C (readFile): remember to pass on 'par' when calling
8609 readFile recursively.
8611 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8613 * MenuBackend.C (expandFormats): add "..." to import formats.
8615 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8617 * paragraph.C (asString): Remove XForms RTL hacks.
8619 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8620 * buffer.C: fix typo
8622 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8624 * Makefile.am (LIBS): delete var
8625 (lyx_LDADD): add @LIBS@ here instead.
8627 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8629 * Clarify the meaning of "wheel mouse jump"
8631 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8633 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8636 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * importer.C (Loaders): do not preallocate 3 elements in the
8639 vector, since one ends up with 6 elements otherwise
8641 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * DepTable.C (write): write the file name as last element of the
8644 .dep file (because it may contain spaces)
8645 (read): read info in the right order
8647 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8649 * paragraph_pimpl.C (simpleTeXBlanks):
8650 (simpleTeXSpecialChars):
8651 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8653 * tabular.C (latex): add some missing case statements. Reindent.
8655 * MenuBackend.C (expandToc): remove unused variable.
8657 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8666 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8669 2003-01-05 John Levon <levon@movementarian.org>
8672 * BufferView.C: add getEncoding()
8675 * kbsequence.C: do not store last keypress
8678 * lyxfunc.C: store last keypress here instead. Pass encoding
8681 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8683 * lyx_main.C (init): remove annoying error message when following
8684 symbolic links (bug #780)
8686 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8688 * text.C (insertChar):
8689 * lyxrc.C (getDescription): remove extra spaces
8691 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8693 * lyxrc.C (getDescription): remove extra spaces
8695 2002-12-20 John Levon <levon@movementarian.org>
8697 * text3.C: hack fix for page up/down across tall rows
8699 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8704 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8707 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8708 thesaurus is not compiled in
8710 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8712 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8714 2002-12-16 Angus Leeming <leeming@lyx.org>
8717 * lyx_main.C (init): remove override_x_deadkeys stuff.
8719 2002-12-12 John Levon <levon@movementarian.org>
8721 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8722 insert. Only remove shift modifier under strict
8725 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8727 * MenuBackend.C (expandToc): fix crash.
8729 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * MenuBackend.C (expandToc): gettext on float names.
8733 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8735 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8736 implement bool empty() [bug 490]
8738 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8740 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8742 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8744 * several files: ws changes
8746 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8748 * text2.C (setCounter): clean up a bit, use boost.format.
8749 (updateCounters): initialize par upon declaration.
8751 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8752 if the layout exists. We do not just store the layout any more.
8753 (SwitchLayoutsBetweenClasses): use boost.format
8755 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8757 * converter.C (convert): if from and to files are the same, use a
8758 temporary files as intermediary
8760 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8763 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8765 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8767 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8769 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8771 * tabular.C (asciiPrintCell): use string(size, char) instead of
8774 * sgml.C (openTag): fix order of arguments to string constructor
8777 * lyxfunc.C (dispatch): use boost.format
8779 * lots of files: change "c" -> 'c'
8781 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8783 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8785 2002-11-25 Angus Leeming <leeming@lyx.org>
8787 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8789 * lyx_main.C (init): compile fix.
8791 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8793 * lyx_cb.C (start): boost.formatify
8794 do not include <iostream>
8796 * lengthcommon.C: ws only
8798 * boost-inst.C,BoostFormat.h: add more explict instantations
8800 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8802 * lots of files: handle USE_BOOST_FORMAT
8804 2002-11-21 John Levon <levon@movementarian.org>
8806 * pspell.C: fix compile
8808 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8810 * lyxfunc.C (dispatch): use boost::format
8814 * lyxfont.C (stateText): use boost::format
8816 * lyx_main.C (LyX): use boost::format
8818 (queryUserLyXDir): ditto
8821 (typedef boost::function): use the recommened syntax.
8823 * importer.C (Import): use boost::format
8825 * debug.C (showLevel): use boost::format
8827 * converter.C (view): use boost::format
8832 * bufferview_funcs.C (currentState): use boost::format
8834 * bufferlist.C (emergencyWrite): use boost::format
8836 * buffer.C (readLyXformat2): use boost::format
8837 (parseSingleLyXformat2Token): ditto
8839 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8841 * LaTeX.C (run): use boost::format
8843 * Chktex.C (scanLogFile): use boost::format
8845 * BufferView_pimpl.C (savePosition): use boost::format
8846 (restorePosition): ditto
8847 (MenuInsertLyXFile): ditto
8849 * BoostFormat.h: help file for explicit instation.
8851 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8853 * tabular.C (latex): Support for block alignment in fixed width
8856 2002-11-17 John Levon <levon@movementarian.org>
8858 * BufferView_pimpl.C:
8860 * lyxfunc.C: split filedialog into open/save
8862 2002-11-08 Juergen Vigna <jug@sad.it>
8864 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8865 by my last patch (hopefully).
8867 2002-11-08 John Levon <levon@movementarian.org>
8876 * toc.C: ParConstIterator, and use it (from Lars)
8878 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8880 * lyxtextclass.[Ch]: revise and add doxygen comments
8882 2002-11-07 John Levon <levon@movementarian.org>
8884 * text.C: fix progress value for spellchecker
8886 * toc.C: fix navigate menu for insetwrap inside minipage
8888 * paragraph_funcs.C: added FIXME for suspect code
8890 2002-11-07 John Levon <levon@movementarian.org>
8892 * BufferView_pimpl.C: fix redrawing of insets
8895 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8897 * text2.C (updateCounters): fix bug 668
8899 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8901 * text3.C (dispatch): Do not make the buffer dirty when moving the
8904 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8906 * vc-backend.C: STRCONV
8909 * text2.C (setCounter): STRCONV
8911 * paragraph.C (asString): STRCONV
8913 * lyxlength.C (asString): STRCONV
8914 (asLatexString): ditto
8916 * lyxgluelength.C (asString): STRCONV
8917 (asLatexString): ditto
8919 * lyxfunc.C (dispatch): STRCONV
8922 * lyxfont.C (stateText): STRCONV
8924 * importer.C (Import): STRCONV
8926 * counters.C (labelItem): STRCONV
8927 (numberLabel): ditto
8928 (numberLabel): remove unused ostringstream o
8933 * bufferview_funcs.C (currentState): STRCONV
8935 * buffer.C (readFile): STRCONV
8936 (asciiParagraph): ditto
8937 (makeLaTeXFile): ditto
8939 * Spacing.C (writeEnvirBegin): STRCONV
8941 * LaTeXFeatures.C (getLanguages): STRCONV
8942 (getPackages): ditto
8944 (getBabelOptions): ditto
8945 (getTClassPreamble): ditto
8946 (getLyXSGMLEntities): ditto
8947 (getIncludedFiles): ditto
8951 (scanAuxFile): ditto
8954 * LString.h: add the STRCONV macros
8956 * BufferView_pimpl.C (savePosition): STRCONV
8957 (restorePosition): ditto
8958 (MenuInsertLyXFile): ditto
8960 * vc-backend.C (scanMaster): change from submatch[...] to
8963 * funcrequest.C: include config.h
8965 * factory.C: include config.h
8967 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8969 * box.C: include config.h
8971 * LaTeX.C (scanAuxFile): change from submatch[...] to
8975 2002-10-25 Angus Leeming <leeming@lyx.org>
8977 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8979 * ispell.[Ch] (setError): new method.
8980 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8981 Use setError() insetead of goto END.
8983 * lyx_cb.C (AutoSave): move out child process into new class
8986 2002-10-30 John Levon <levon@movementarian.org>
8988 * text3.C: make start appendix undoable
8990 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8992 * lyxlength.C (inPixels): Fix returned value.
8994 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8997 2002-10-24 Angus Leeming <leeming@lyx.org>
8999 * lyxgluelength.h: no need to forward declare BufferParams
9000 or BufferView, so don't.
9002 2002-10-21 John Levon <levon@movementarian.org>
9004 * BufferView.C: menuUndo ->undo, redo
9006 * BufferView.h: document, remove dead, make some methods private
9008 * paragraph_funcs.h:
9009 * paragraph_funcs.C:
9010 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9015 * sgml.C: move sgml open/close tag into sgml.C
9017 * bufferview_funcs.h: unused prototype
9020 * lyxfunc.C: remove unused
9023 * text.C: remove unused
9025 2002-10-21 John Levon <levon@movementarian.org>
9029 * BufferView_pimpl.h:
9030 * BufferView_pimpl.C: fix mouse wheel handling based on
9031 patch from Darren Freeman
9033 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9035 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9037 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9039 * lyxlength.C (inPixels): Fix hanfling of negative length.
9040 Fix LyXLength::MU case.
9042 2002-10-16 John Levon <levon@movementarian.org>
9044 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9046 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9048 * converter.C (view): add support for $$i (file name) and $$p
9049 (file path) for the viewer command. If $$i is not specified, then
9050 it is appended to the command (for compatibility with old syntax)
9052 2002-10-14 Juergen Vigna <jug@sad.it>
9054 * undo_funcs.C (textHandleUndo): alter the order in which the
9055 new undopar is added to the LyXText, as we have to set first
9056 the right prev/next and then add it as otherwise the rebuild of
9057 LyXText is not correct. Also reset the cursor to the right paragraph,
9058 with this IMO we could remove the hack in "redoParagraphs()".
9060 2002-10-09 Angus Leeming <leeming@lyx.org>
9062 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9063 to turn off an optimisation if a new inset is to be inserted.
9065 2002-10-11 André Pönitz <poenitz@gmx.net>
9067 * lyxtext.h: make some functions public to allow access
9068 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9070 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9072 * text3.C (dispatch): when changing layout, avoid an infinite loop
9075 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9077 * lyxrc.C (read): treat a viewer or converter command of "none" as
9080 * MenuBackend.C (expandFormats): for an update, also allow the
9081 formats that are not viewable
9083 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9084 script if it is newer than the lyxrc.defaults in user directory
9086 2002-10-07 André Pönitz <poenitz@gmx.net>
9088 * text.C: Vitaly Lipatov's small i18n fix
9090 2002-09-25 Angus Leeming <leeming@lyx.org>
9092 * ispell.h: doxygen fix.
9094 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9096 * buffer.h (readFile): Add a new argument to the method, to allow
9097 reading of old-format templates.
9099 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9101 * toc.C (getTocList): Get TOC from InsetWrap.
9103 2002-09-16 John Levon <levon@movementarian.org>
9105 * lyxfunc.C: check tabular for cut/copy too
9107 2002-09-12 John Levon <levon@movementarian.org>
9112 * factory.C: add header
9114 * paragraph_funcs.h:
9115 * paragraph_funcs.C: cleanup
9117 2002-09-11 John Levon <levon@movementarian.org>
9119 * PrinterParams.h: odd/even default to true
9121 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9123 * PrinterParams.h: update printer parameters for new xforms dialog
9125 2002-09-11 Angus Leeming <leeming@lyx.org>
9127 * lyxserver.C (read_ready): re-write to make it more transparent
9128 and to make it work in coherent fashion under Tru64 Unix.
9130 2002-09-11 André Pönitz <poenitz@gmx.net>
9134 * text3.C: implement LFUN_WORDSEL
9136 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9139 make floatlist_ a boost::shared_ptr<FloatList>
9141 * lyxtextclass.C: include FloatList.h
9142 (LyXTextClass): initialize floatlist_
9143 (TextClassTags): add TC_NOFLOAT
9144 (Read): match "nofloat" to TC_NOFLOAT and use it.
9145 (readFloat): modify call to floatlist_
9149 * FloatList.[Ch] (FloatList): remove commented out float
9151 (erase): new function
9153 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * MenuBackend.C (expandToc): fix crash when there is no document
9158 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9160 * many files: Add insetwrap.
9162 2002-09-09 John Levon <levon@movementarian.org>
9164 * text2.C: remove confusing and awkward depth wraparound
9166 2002-09-09 John Levon <levon@movementarian.org>
9168 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9171 * buffer.C: remove getIncludeonlyList()
9174 * lyxfunc.C: remove headers
9176 2002-09-09 Juergen Vigna <jug@sad.it>
9178 * text.C (getColumnNearX): fix form Michael this is most
9179 probably a cut&paste bug.
9181 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9183 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9185 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9186 references, ws changes.
9188 * text2.C (init): update counters after init
9189 (insertParagraph): no need to set counter on idividual paragraphs.
9190 (setCounter): access the counters object in the textclass object
9191 on in the buffer object.
9192 (updateCounters): ditto
9194 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9195 shared_ptr<Counters> to avoid loading counters.h in all
9197 (LyXTextClass): initialize ctrs_
9198 (TextClassTags): add TC_COUNTER, and ...
9199 (Read): use it here.
9200 (CounterTags): new tags
9201 (readCounter): new function
9202 (counters): new funtion
9203 (defaultLayoutName): return a const reference
9205 * counters.C (Counters): remove contructor
9206 (newCounter): remove a couple of unneeded statements.
9207 (newCounter): simplify a bit.
9208 (numberLabel): some small formatting changes.
9210 * buffer.[Ch]: remove all traces of counters, move the Counters
9211 object to the LyXTextClass.
9213 2002-09-06 Alain Castera <castera@in2p3.fr>
9215 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9216 package to set the horizontal alignment on fixed width columns.
9219 * lyx_sty.h: added tabularnewline macro def.
9221 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9223 2002-09-06 John Levon <levon@movementarian.org>
9225 * LyXAction.C: tooltips for sub/superscript
9227 * MenuBackend.C: a bit more verbose
9229 * lyxfunc.C: tiny clean
9231 * undo_funcs.C: document undo_frozen
9233 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9235 * counters.C (Counters): add missing algorithm counter.
9237 * text2.C (setCounter): lookup the counter with layouts latexname
9238 instead of by section number.
9239 (setCounter): use a hackish way to lookup the correct enum
9241 a float name->type change
9242 reset enum couners with counter name directly instead of depth value.
9244 * counters.C (Counters): remove the push_backs, change to use the
9245 float type not the float name.
9246 (labelItem): remove unused string, float name->type change
9248 * counters.h: don't include vector, loose the enums and sects vectors
9250 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9253 (Read): add float->TC_FLOAT to textclassTags
9254 (Read): and handle it in the switch
9255 (readFloat): new function
9257 * FloatList.C (FloatList): comment out the hardcoded float
9260 * lyxlayout.h: ws change.
9262 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9264 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9266 2002-09-03 Angus Leeming <leeming@lyx.org>
9268 * BufferView_pimpl.h: qualified name is not allowed in member
9269 declaration: WorkArea & Pimpl::workarea() const;
9271 * factory.C: added using std::endl directive.
9273 * text3.C: added using std::find and std::vector directives.
9275 2002-08-29 André Pönitz <poenitz@gmx.net>
9278 * text2.C: remove unused member number_of_rows
9281 * BufferView2.C: remove file, move contents to...
9282 * BufferView.C: ... here
9284 * BufferView_pimpl.C:
9285 * factory.C: move more inset creation to factory
9287 * vspace.C: avoid direct usage of LyXText, ws changes
9290 don't provide direct access to WorkArea, use two simple
9291 acessors haveSelction() and workHeight() instead
9294 2002-08-29 John Levon <levon@movementarian.org>
9296 * BufferView_pimpl.C (dispatch): do not continue when
9299 2002-08-28 André Pönitz <poenitz@gmx.net>
9301 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9304 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9306 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9308 * buffer.C: increment LYX_FORMAT to 221
9310 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9311 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9313 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9315 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9317 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9319 * factory.C (createInset): use LyXTextClass::floats
9321 * MenuBackend.C (expandFloatListInsert):
9322 (expandFloatInsert):
9325 * text2.C (setCounter):
9327 * LaTeXFeatures.C (useFloat):
9328 (getFloatDefinitions):
9330 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9332 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9333 floatlist_, with accessor floats().
9335 * FloatList.h: remove global FloatList
9337 2002-08-26 André Pönitz <poenitz@gmx.net>
9339 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9343 * BufferView_pimpl.C:
9344 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9346 2002-08-25 John Levon <levon@movementarian.org>
9348 * LyXAction.C: fix margin note description
9350 2002-08-24 John Levon <levon@movementarian.org>
9354 * bufferview_funcs.C:
9356 * undo_funcs.C: cleanups
9358 * lyxfunc.C: disable CUT/COPY when no selection
9360 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9362 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9363 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9365 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9366 Add backward compatibility to "mono", "gray" and "no".
9368 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9370 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9371 (and file_format >= 200).
9373 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9375 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9377 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9379 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9381 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9383 * BufferView_pimpl.C:
9390 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9391 inset and code to make it work with the paragraph code. The inset
9392 can be anywhere in the paragraph, but will only do the expected
9393 thing in LaTeX if the layout file contains the parameter line
9395 (or more generally, a nonzero value) for that layout.
9397 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9399 * paragraph.h: remove the declaration of undefined counters class
9402 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9404 * text2.C (setCounter): fixed enumeration mis-count as reported by
9405 Dr. Richard Hawkins.
9407 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * paragraph_funcs.h: remove some unneeded includes
9411 * text.C (backspace): pasteParagraph now in global scipe
9413 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9414 (pasteSelection): ditto
9416 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9417 * paragraph_funcs.C (pasteParagraph): ... here
9419 2002-08-20 André Pönitz <poenitz@gmx.net>
9421 * commandtags.h: new LFUNs for swapping/copying table row/colums
9424 * lyxfunc.C: support for new lfuns
9426 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9429 * buffer.[Ch]: remove NO_COMPABILITY stuff
9431 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9433 * boost.C (throw_exception): new file, with helper function for
9434 boost compiled without exceptions.
9439 * ParameterStruct.h:
9440 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9442 * bufferlist.C (emergencyWriteAll): use boost bind
9444 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9446 * text.C: include paragraph_funcs.h
9447 (breakParagraph): breakParagraph is now in global scope
9449 * paragraph_funcs.[Ch]: new files
9451 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9454 * buffer.C: include paragraph_funcs.h
9455 (insertStringAsLines): breakParagraph is now in global scope
9457 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9460 * CutAndPaste.C: include paragraph_funcs.h
9461 (cutSelection): breakParagraphConservative is now in global scope
9462 (pasteSelection): ditto
9464 * buffer.h: declare oprator== and operator!= for
9465 Buffer::inset_iterator
9467 * bufferlist.C (emergencyWrite): don't use fmt(...)
9469 * text3.C: add using std::endl
9471 * BufferView.C (moveCursorUpdate): remove default arg
9473 2002-08-20 André Pönitz <poenitz@gmx.net>
9475 * buffer.[Ch]: move inline functions to .C
9478 * BufferView_pimpl.C:
9480 * buffer.[Ch]: use improved inset_iterator
9483 * paragraph.[Ch]: write one paragraph at a time
9485 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9487 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9488 style if style is not specified.
9490 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9492 * text2.C (setCounter): when searching for right label for a
9493 caption, make sure to recurse to parent insets (so that a caption
9494 in a minipage in a figure float works) (bug #568)
9496 2002-08-20 André Pönitz <poenitz@gmx.net>
9498 * text3.C: new file for LyXText::dispatch() and helpers
9500 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9502 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9504 2002-08-19 André Pönitz <poenitz@gmx.net>
9507 * text.C: new LyXText::dispatch()
9509 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9511 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9513 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9515 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9518 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9520 * Makefile.am: use $(variables) instead of @substitutions@
9522 2002-08-15 André Pönitz <poenitz@gmx.net>
9525 * BufferView_pimpl.C: streamlining mathed <-> outer world
9529 * LyXAction.C: remove unused LFUN_MATH
9531 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9533 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9535 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9537 * paragraph.C (Paragraph): reformat a bit
9538 (cutIntoMinibuffer): use builtin InsetList function instad of
9542 * buffer.C: include boost/bind.hpp, add using std::for_each
9543 (writeFileAscii): use ParagraphList iterators
9544 (validate): use for_each for validate traversal of paragraphs
9545 (getBibkeyList): use ParagraphList iterators
9546 (resizeInsets): use for_each to resizeInsetsLyXText for all
9548 (getParFromID): use ParagraphList iterators
9550 * BufferView2.C (lockInset): use paragraph list and iterators
9552 2002-08-14 John Levon <levon@movementarian.org>
9554 * lyxserver.C: remove spurious xforms include
9556 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9558 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9560 2002-08-13 André Pönitz <poenitz@gmx.net>
9563 * lyxfunc.C: further cleaning
9565 2002-08-13 André Pönitz <poenitz@gmx.net>
9567 * funcrequest.h: new constructor
9569 * funcrequest.C: move stuff here from .h
9572 * BufferView_pimpl.C:
9575 * lyxfunc.C: subsequent changes
9577 * lyxfunc.h: new view() member function
9579 * lyxfunc.C: subsequent changes
9581 2002-08-13 Angus Leeming <leeming@lyx.org>
9584 * BufferView_pimpl.C:
9592 changes due to the changed LyXView interface that now returns references
9593 to member variables not pointers.
9595 2002-08-13 Angus Leeming <leeming@lyx.org>
9597 * WordLangTuple (word, lang_code): return references to strings,
9602 * lyxtext.h: forward-declare WordLangTuple.
9607 * text.C: #include "WordLangTuple.h".
9610 * text.C: (selectNextWordToSpellcheck): constify return type.
9612 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9618 * paragraph_pimpl.h:
9621 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9623 Made updateCounter always count from start of buffer, and removed
9624 second argument (par).
9625 Reverted floats number display to '#'. Perhaps I'll try again when the
9626 code base is sanitized a bit.
9628 2002-08-12 Angus Leeming <leeming@lyx.org>
9630 * buffer.[Ch] (getLabelList): constify.
9632 2002-08-07 André Pönitz <poenitz@gmx.net>
9634 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9636 * funcrequest.h: extension to keep mouse (x,y) position
9638 2002-08-12 Juergen Vigna <jug@sad.it>
9640 * BufferView2.C (insertErrors): forbid undo when inserting error
9643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9645 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9647 * ParagraphList.[Ch]: new files
9649 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9651 * BufferView2.C (lockInset): ParagraphList changes
9654 * bufferlist.C: ditto
9658 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9660 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9661 unused class variable counter_,
9663 * paragraph.[Ch] (getFirstCounter): delete unused function
9665 * counters.C: include LAssert.h
9666 (reset): add a new function with no arg, change other version to
9667 not have def. arg and to not allow empty arg.
9669 * text2.C (setCounter): remove empty arg from call to Counters::reset
9671 2002-08-11 John Levon <levon@movementarian.org>
9673 * Makefile.am: add WordLangTuple.h
9675 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9677 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9678 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9680 * insets/insettext.C: InsetList changes
9682 * graphics/GraphicsSupport.C (operator()): InsetList changes
9684 * toc.C (getTocList): InsetList changes
9686 * paragraph_pimpl.[Ch]: InsetList changes
9688 * paragraph.[Ch]: InsetList changes
9690 * buffer.C (inset_iterator): InsetList changes
9691 (setParagraph): ditto
9692 * buffer.h (inset_iterator): ditto
9693 * iterators.C (operator++): ditto
9694 * iterators.h: ditto
9696 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9698 * InsetList.[Ch]: new files, most InsetList handling moved out of
9701 * BufferView2.C (removeAutoInsets): InsetList changes
9703 (ChangeInsets): ditto
9705 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9707 * paragraph_pimpl.h (empty): new function
9709 * paragraph.[Ch] (empty): new function
9711 * other files: use the new Paragraph::empty function
9713 2002-08-09 John Levon <levon@movementarian.org>
9715 * lyxtext.h: remove unused refresh_height
9717 2002-08-09 John Levon <levon@movementarian.org>
9724 * paragraph.C: move sgml char escaping out of paragraph
9727 * paragraph.C: remove id setter
9731 * paragraph_pimpl.C: remove dead tex_code_break_column
9733 * bufferview_funcs.C: small cleanup
9735 * lyxfunc.C: remove dead proto
9737 * lyxtext.h: make some stuff private. Remove some dead stuff.
9739 * lyxgluelength.C: make as[LyX]String() readable
9741 2002-08-08 John Levon <levon@movementarian.org>
9746 * ToolbarDefaults.C:
9749 * toc.C: lyxaction cleanup
9751 2002-08-08 John Levon <levon@movementarian.org>
9753 * BufferView2.C: small cleanup
9756 * lyxfind.C: move unnecessary header into the .C
9758 2002-08-08 John Levon <levon@movementarian.org>
9760 * funcrequest.h: just tedious nonsense
9763 * lyx_main.C: cleanups
9766 * vspace.C: remove dead header lyx_main.h
9768 2002-08-07 Angus Leeming <leeming@lyx.org>
9771 * paragraph_pimpl.h:
9772 Forward declare class Counters in paragraph.h by moving the ctrs member
9773 variable into Paragraph::Pimpl.
9774 (counters): new method, returning a reference to pimpl_->ctrs.
9776 * text2.C: ensuing changes.
9778 2002-08-07 John Levon <levon@movementarian.org>
9780 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9782 * BufferView_pimpl.C: announce X selection on double/triple
9785 * lyx_main.C: use correct bool in batch dispatch
9787 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9789 2002-08-07 André Pönitz <poenitz@gmx.net>
9791 * funcrequest.h: new class to wrap a kb_action and its argument
9794 * BufferView_pimpl[Ch]:
9798 * lyxrc.C: subsequent changes
9801 2002-08-07 John Levon <levon@movementarian.org>
9803 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9804 document options change.
9806 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9811 * makefile.am: move counters functionality over from
9812 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9814 2002-08-06 John Levon <levon@movementarian.org>
9816 * WordLangTuple.h: new file for word + language code tuple
9827 * BufferView2.C: use WordLangTuple
9830 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9832 2002-08-06 John Levon <levon@movementarian.org>
9834 * lyx_main.C: fix cmdline batch handling
9836 2002-08-06 André Pönitz <poenitz@gmx.net>
9838 * lyxrc.C: set default for show_banner to true
9840 2002-08-06 John Levon <levon@movementarian.org>
9842 * pspell.C: fix a crash, and allow new aspell to work
9844 2002-08-06 John Levon <levon@movementarian.org>
9847 * kbmap.C: small cleanup
9850 * vspace.C: add const
9852 2002-08-05 John Levon <levon@movementarian.org>
9854 * LyXAction.C: back to tabular-insert
9856 2002-08-04 John Levon <levon@movementarian.org>
9859 * BufferView.C: cosmetic change
9861 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9871 * BufferView2.C: purge all "Lyx" not "LyX" strings
9874 * lyxcursor.C: attempt to add some documentation
9879 * ToolbarDefaults.C:
9880 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9881 merge with LFUN_TABULAR_INSERT
9888 * pspell.C: split up i/pspell implementations into separate
9889 files, many cleanups
9891 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9893 * text2.C: some cleanup
9895 * lyxfunc.C: don't check for isp_command == "none" any more, it
9896 didn't make any sense
9898 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9903 * makefile.am: move counters functionality over
9904 from text2.C/paragraph.[Ch] to counters.[Ch], and
9906 2002-08-02 John Levon <levon@movementarian.org>
9908 * buffer.C: s/lyxconvert/lyx2lyx/
9910 2002-08-02 Angus Leeming <leeming@lyx.org>
9912 * lyxlex.C: revert John's change as it breaks reading of the user
9915 2002-08-02 Angus Leeming <leeming@lyx.org>
9917 * importer.C (Import):
9918 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9919 changes due to LyXView::view() now returning a boost::shared_ptr.
9921 2002-08-02 John Levon <levon@movementarian.org>
9923 * lyxlex.C: small cleanup
9925 2002-08-02 John Levon <levon@movementarian.org>
9927 * text2.C (status): small cleanup, no logic change
9929 2002-08-01 John Levon <levon@movementarian.org>
9932 * buffer.C (writeFile): don't output alerts, caller
9936 * lyx_cb.C: from above
9938 * lyxfunc.C: allow to open non-existent files
9940 2002-07-31 John Levon <levon@movementarian.org>
9942 * lyxserver.C: don't let incidental errors get
9945 2002-07-30 John Levon <levon@movementarian.org>
9947 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9949 2002-07-30 John Levon <levon@movementarian.org>
9952 * lyxserver.C: remove I/O callback too
9954 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9956 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9959 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9961 * many files: strip,frontStrip -> trim,ltrim,rtrim
9963 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9965 * PrinterParams.h: remove extern containsOnly, and include
9966 support/lstrings.h instead.
9968 * LaTeX.C (scanAuxFile): modify because of strip changes
9970 * buffer.C (makeLaTeXFile): ditto
9971 * bufferparams.C (writeFile): ditt
9972 * lyxfont.C (stateText): ditto
9973 * lyxserver.C (read_ready): ditto
9974 * vc-backend.C (scanMaster): ditto
9976 * BufferView_pimpl.h: ws changes
9978 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9980 2002-07-26 André Pönitz <poenitz@gmx.net>
9982 * kb_sequence.C: remove unnedred usings
9984 2002-07-26 Juergen Vigna <jug@sad.it>
9986 * lyxfind.C (LyXReplace): we have to check better if the returned
9987 text is not of theLockingInset()->getLockingInset().
9989 2002-07-25 Juergen Vigna <jug@sad.it>
9991 * lyxfind.C (LyXReplace): don't replace if we don't get the
9994 * undo_funcs.C (createUndo): remove debugging code.
9996 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9998 * buffer.C (parseSingleLyXformat2Token): Use default placement
9999 when reading old floats.
10001 * FloatList.C (FloatList): Change the default placement of figure
10002 and tables to "tbp".
10004 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10006 * MenuBackend.C: using std::max
10008 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10010 * MenuBackend.C (expandToc):
10011 (expandToc2): code moved from xforms menu frontend. It is now
10012 generic and TOCs are transparent to menu frontends.
10014 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10016 * toc.C (getTocList): protect against buf=0
10018 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10019 Menu as first parameter. Now, this calls itself recursively to
10020 expand a whole tree (this will be useful for TOC handling)
10021 (expandFloatInsert): remove 'wide' version of floats
10023 * MenuBackend.h (submenuname): returns the name of the submenu.
10024 (submenu): returns the submenu itself, provided it has been
10025 created by MenuBackend::expand
10027 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10030 insets which have noFontChange == true. (bug #172)
10032 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * BufferView_pimpl.C: add connection objects and use them...
10037 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10039 * MenuBackend.C (expandLastfiles):
10042 (expandFloatListInsert):
10043 (expandFloatInsert):
10044 (expand): split expand in parts
10046 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10048 * lyx_gui.C: use lyx_gui::exit()
10050 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10052 * LyXAction.C: show the failing pseudo action
10054 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10056 * buffer.C (readFile): Run the lyxconvert script in order to read
10059 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10063 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10065 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10069 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10071 2002-07-22 Herbert Voss <voss@lyx.org>
10074 * lyxlength.[Ch]: add support for the vertical lengths
10076 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10078 * toc.[Ch]: std:: fixes
10080 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10082 * lyxrc.C: do not include lyx_main.h
10084 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10090 * BufferView2.C: include "lyxlex.h"
10093 * bufferparams.h: do not #include "lyxlex.h"
10095 * lyxtextclasslist.C (Add): remove method
10096 (classlist): renamed to classlist_
10098 * paragraph_pimpl.C:
10102 * bufferview_funcs.C:
10107 * toc.C (getTocList): use BufferParams::getLyXTextClass
10109 * toc.C (getTocList): use InsetFloat::addToToc
10111 * toc.[Ch]: new files, containing helper functions to handle table
10114 * lyxfunc.C (dispatch): no need to remove spaces around command
10116 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10117 first command of the sequence; it is not very clever, but I do not
10118 have a better idea, actually
10120 * LyXAction.C (LookupFunc): make sure to remove space at the
10121 beginning and end of the command
10123 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10125 * MenuBackend.C (getMenubar): new method: return the menubar of
10127 (read): treat differently reading of menu and menubar (in
10128 particular, the menubar has no name now)
10129 (Menu::menubar): remove
10131 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10134 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10136 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10137 a bibitem inset in a RTL paragraph.
10139 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10141 * paragraph_pimpl.C: constify
10143 * BufferView_pimpl.C:
10145 * lyxfunc.C: fix dispatch in a nicer way
10147 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * lyxfunc.C (dispatch):
10150 * BufferView_pimpl.C:
10151 * BufferView_pimpl.h:
10153 * BufferView.h: rename Dispatch() to dispatch()
10155 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10157 * lyxlayout.C (Read): honor DependsOn tag
10159 * lyxlayout.[Ch] (depends_on): new method
10161 * version.C.in: update lyx_docversion
10163 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10165 * paragraph.C (validate): remove from here...
10166 * paragraph_pimpl.C (validate): ... and move here
10167 (isTextAt): make it const
10169 * buffer.C (getLists): ws cleanup
10171 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10173 * language.C (read): Use iso8859-1 encoding in latex_lang
10174 (this prevents LyX from crashing when using iso10646-1 encoding).
10176 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10178 * text2.C (toggleInset): if cursor is inside an inset, close the
10179 inset and leave cursor _after_ it
10181 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10183 * lyxfunc.C: move minibuffer completion handling out of here
10185 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10187 * BufferView_pimpl.C:
10188 * LaTeX.C: fix dispatch calls
10190 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10192 * text.C (drawChars): Fix Arabic text rendering.
10194 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10198 * lyxfunc.C: remove message-push/pop
10202 * lyxfunc.C: rationalise some code by removing verboseDispatch
10203 in favour of a bool argument to dispatch()
10205 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10207 * lyx_main.C (init): make sure to read symlinks as absolute paths
10209 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10212 * lyxfunc.C: no need for commandshortcut to be a member
10214 2002-07-15 André Pönitz <poenitz@gmx.net>
10216 * converter.C: add support for $$s (scripts from lib/scripts dir)
10217 * lyx_main.C: white space
10219 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10223 * lyxrc.C: remove second exit confirmation
10225 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10230 * BufferView_pimpl.h:
10231 * BufferView_pimpl.C:
10232 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10234 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * MenuBackend.C (expand): add numeric shortcuts to document menu
10238 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10240 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * lyxfont.C (setLyXFamily):
10249 * buffer.C (asciiParagraph): use ascii_lowercase
10251 2002-07-15 Mike Fabian <mfabian@suse.de>
10253 * lyxlex_pimpl.C (search_kw):
10254 * lyxlex.C (getLongString):
10255 * converter.h (operator<):
10256 * converter.C (operator<):
10257 * buffer.C (parseSingleLyXformat2Token):
10259 * ToolbarDefaults.C (read):
10260 * MenuBackend.C (checkShortcuts):
10262 * LColor.C (getFromGUIName):
10263 (getFromLyXName): use the compare_ascii_no_case instead of
10264 compare_no_case, because in turkish, 'i' is not the lowercase
10265 version of 'I', and thus turkish locale breaks parsing of tags.
10267 2002-07-16 Angus Leeming <leeming@lyx.org>
10269 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10270 now takes a Buffer const & argument.
10272 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10274 * BufferView.C (resize): check there's a buffer to resize
10276 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10278 * lyxfunc.C: remove dead code
10281 * lyxserver.C: use lyx_guii::set_read_callback
10283 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10285 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10286 an inset in a RTL paragraph.
10288 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10290 * lyxfunc.C: repaint after a font size update
10292 2002-07-15 André Pönitz <poenitz@gmx.net>
10294 * lyxlength.C: inBP should be able to return negative values
10296 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10298 * lyxfunc.C: use lyx_gui::update_fonts()
10300 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10302 * lyxfunc.C: use lyx_gui::update_color()
10304 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10310 * lyxrc.C: remove file->new asks for name option, and let
10311 buffer-new take an argument
10313 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10315 * BufferView_pimpl.C: remove unneeded extra repaint()
10317 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10319 * LyXAction.C: allow command-sequence with NoBuffer
10321 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10323 2002-07-10 Angus Leeming <leeming@lyx.org>
10325 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10327 2002-07-09 Angus Leeming <leeming@lyx.org>
10329 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10331 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10333 * lengthcommon.h: whitespace
10335 * lyxfunc.C: update scrollbar after goto paragraph
10337 * lyxtext.h: factor out page break drawing, and fix it so
10338 page break/added space paints as selected nicely
10340 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10342 * BufferView_pimpl.C: add FIXMEs, clean up a little
10344 2002-07-09 André Pönitz <poenitz@gmx.net>
10346 * lyxfont.[Ch]: support for wasy symbols
10348 2002-07-08 André Pönitz <poenitz@gmx.net>
10350 * BufferView_pimpl.C: apply John's patch for #93.
10352 2002-07-05 Angus Leeming <leeming@lyx.org>
10354 * BufferView_pimpl.C (buffer): generate previews if desired.
10356 * LColor.h: add "preview" to the color enum.
10358 * LColor.C (LColor): add a corresponding entry to the items array.
10360 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10363 2002-07-05 Angus Leeming <leeming@lyx.org>
10365 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10366 The body of the code is now in the method that is passed an ostream &
10367 rather than a file name.
10368 Pass an additional only_preamble parameter, useful for the forthcoming
10371 2002-07-03 André Pönitz <poenitz@gmx.net>
10373 * lyxfunc.C: simplify getStatus() a bit for math stuff
10375 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10377 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10379 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * text.C (changeRegionCase): do not change case of all the
10382 document when region ends at paragraph end (bug #461)
10384 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10386 * paragraph.C (startTeXParParams):
10387 (endTeXParParams): add \protect when necessary
10389 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10391 * BufferView_pimpl.C (workAreaExpose): remove warning
10393 2002-06-27 Angus Leeming <leeming@lyx.org>
10395 * Makefile.am: add lyxlayout_ptr_fwd.h.
10397 2002-06-26 André Pönitz <poenitz@gmx.net>
10399 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10401 2002-06-25 Angus Leeming <leeming@lyx.org>
10403 * lyxfunc.C (dispatch): Comment out the call to
10404 grfx::GCache::changeDisplay. The method no longer exists now that the
10405 pixmap generation part of the graphics loader has been moved into
10408 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * text2.C: layout as layout
10412 * text.C: layout as layout
10414 * tabular.C (OldFormatRead): layout as layout
10416 * paragraph_pimpl.C (TeXDeeper): layout as layout
10417 (realizeFont): layout as layout
10419 * paragraph.C (writeFile): layout as layout
10420 (validate): layout as layout
10421 (getFont): layout as layout
10422 (getLabelFont): layout as layout
10423 (getLayoutFont): layout as layout
10424 (breakParagraph): layout as layout
10425 (stripLeadingSpaces): layout as layout
10426 (getEndLabel): layout as layout
10427 (getMaxDepthAfter): layout as layout
10428 (applyLayout): layout as layout
10429 (TeXOnePar): layout as layout
10430 (simpleTeXOnePar): layout as layout
10431 (TeXEnvironment): layout as layout
10432 (layout): layout as layout
10433 (layout): layout as layout
10435 * lyxtextclass.C (compare_name): new functor to work with
10436 shared_ptr, layout as layout
10437 (Read): layout as layout
10438 (hasLayout): layout as layout
10439 (operator): layout as layout
10440 (delete_layout): layout as layout
10441 (defaultLayout): layout as layout
10443 * lyxlayout_ptr_fwd.h: new file
10445 * lyxlayout.C (Read): layout as layout
10447 * lyx_cb.C (MenuInsertLabel): layout as layout
10449 * bufferlist.C (newFile): layout as layout
10451 * buffer.C (readLyXformat2): layout as layout
10452 (parseSingleLyXformat2Token): layout as layout
10453 (insertStringAsLines): layout as layout
10454 (asciiParagraph): layout as layout
10455 (latexParagraphs): layout as layout
10456 (makeLinuxDocFile): layout as layout
10457 (simpleLinuxDocOnePar): layout as layout
10458 (makeDocBookFile): layout as layout
10459 (simpleDocBookOnePar): layout as layout
10460 (getLists): layout as layout
10462 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10464 * CutAndPaste.C (cutSelection): layout as layout
10465 (pasteSelection): layout as layout
10466 (SwitchLayoutsBetweenClasses): layout as layout
10468 * BufferView_pimpl.C (Dispatch): layout as layout
10469 (smartQuote): layout as layout
10471 * BufferView2.C (unlockInset): layout as layout
10473 2002-06-24 André Pönitz <poenitz@gmx.net>
10475 * lyxfunc.C: fix #487
10477 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10481 * lyxfunc.C: remove display_shortcuts, show_banner
10483 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10485 * Buffer_pimpl.C: oops, update on resize
10487 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10494 * BufferView.C: use repaint()
10496 * BufferView_pimpl.h:
10497 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10498 as it's a clearer description. Remove superfluous
10501 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10503 * text.C: fix bug 488. Not ideal, but getting
10504 getWord() to work properly for the insets that
10505 matter is more difficult ...
10507 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10509 * BufferView_pimpl.C:
10512 * lyxfunc.C: remove the six million index lyxfuncs to just
10513 one, and DTRT (bug 458)
10515 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10519 * BufferView_pimpl.h:
10520 * BufferView_pimpl.C: clean up resize() stuff,
10521 and unnecessary updateScreen()s
10523 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10527 * BufferView_pimpl.h:
10528 * BufferView_pimpl.C:
10531 * minibuffer.C: remove focus management of workarea,
10532 not needed. Use screen's greyOut()
10534 2002-06-17 Herbert Voss <voss@lyx.org>
10536 * converter.C: (convert) do not post a message, when converting
10537 fails, let the calling function decide what to do in this case
10539 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10541 * lyxfunc.C: tidy up a little
10543 2002-06-16 <alstrup@diku.dk>
10545 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10546 Got rid of FORMS_H_LOCATION include. Now we are
10549 2002-06-15 LyX Development team <lyx@rilke>
10551 * buffer.[Ch] (sgmlOpenTag):
10552 (sgmlCloseTag): Added support for avoiding pernicious mixed
10553 content. Return number of lines written.
10555 (makeLinuxDocFile):
10556 (makeDocBookFile): Fixed calls to sgml*Tag.
10557 Simple white space clean.
10559 (simpleDocBookOnePar): Simple white space clean.
10561 * tabular.[Ch] (docBook): Renamed to docbook and got another
10562 argument to related with the pernicious mixed content.
10564 (docbookRow): Fixed calls for docbook inset method.
10566 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10568 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10569 so it's X11 independent.
10573 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10575 2002-06-15 Lyx Development team <lyx@electronia>
10577 * intl.h: Renamed getTrans to getTransManager.
10579 2002-06-14 Angus Leeming <leeming@lyx.org>
10581 * Makefile.am: nuke forgotten stl_string_fwd.h.
10583 2002-06-12 Angus Leeming <leeming@lyx.org>
10585 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10587 2002-06-13 Angus Leeming <leeming@lyx.org>
10590 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10592 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10594 * kbmap.C (getiso): add support for cyrillic and greek
10596 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10600 * BufferView_pimpl.h:
10601 * BufferView_pimpl.C: move bogus scrolling logic
10604 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.C: view->resize() change
10609 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10611 * BufferView_pimpl.C: topCursorVisible
10614 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10618 * lyx_gui.C: move to frontends/
10622 * lyx_main.C: changes from above
10624 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10631 * lyx_main.C: minor tidy
10633 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10635 * BufferView_pimpl.h:
10636 * BufferView_pimpl.C:
10638 * BufferView.C: make painter() const,
10641 * BufferView2.C: use screen() accessor
10644 * lyx_main.C: some minor cleanup
10646 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10648 * BufferView_pimpl.h:
10649 * BufferView_pimpl.C: remove enter/leaveView,
10652 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10657 * BufferView_pimpl.h:
10658 * BufferView_pimpl.C: only construct screen once,
10661 * lyxrc.C: remove pointless comment
10663 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10666 * BufferView.C: remove active() and belowMouse()
10668 * BufferView_pimpl.h:
10669 * BufferView_pimpl.C: use workarea() not workarea_,
10670 and make it use a scoped_ptr instead
10672 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10674 * lyx_gui.C: add debug message on BadWindow
10676 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10678 * sp_spell.C: fdopen is not part of the C++ standard.
10680 * paragraph.C (InsetIterator): use >= instead of ==
10682 2002-06-07 Angus Leeming <leeming@lyx.org>
10684 Fixes needed to compile with Compaq cxx 6.5.
10685 * BufferView_pimpl.C:
10692 * lyxtextclasslist.C:
10697 all c-library variables have been moved into namespace std. Wrap
10698 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10703 Add a using std::abs declaration.
10705 * kbmap.h (modifier_pair):
10706 * paragraph.h (InsetTable, InsetList):
10707 * lyxfont.h (FontBits):
10708 type definition made public.
10710 * bufferlist.C (emergencyWriteAll): the compiler complains that
10711 there is more than one possible lyx::class_fun template to choose from.
10712 I re-named the void specialisation as lyx::void_class_fun.
10714 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10716 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10717 the compiler is is unable to find tostr in write_attribute.
10719 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10721 * buffer.C (sgmlError): hide #warning
10723 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10725 * xtl/*: get rid of xtl, which is not in use anyway
10727 * LyXAction.C (init):
10728 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10729 were unimplemented xtl experimentation
10731 2002-06-04 André Pönitz <poenitz@gmx.net>
10733 * lyxfunc.C: disable array operation on simple formulae
10735 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10737 * converter.C: constify a bit
10739 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10741 * lyx_gui.C: check xforms version correctly
10743 2002-04-30 Herbert Voss <voss@lyx.org>
10745 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10748 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10750 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10751 attempt to register it with a VCS)
10753 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10755 * lyx_main.C (init): honor variables LYX_DIR_13x and
10758 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10762 * lyx_main.C: fix a crash on bad command line,
10763 and give a useful exit status on error
10765 * lyxfunc.C (doImport): allow -i lyx to work
10767 2002-03-30 André Pönitz <poenitz@gmx.net>
10769 * lyxfunc.C: mathed font changes
10771 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10786 * trans_mgr.h: srcdocs, and some minor cleanups
10788 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10791 call getFont all the time)
10793 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10795 * switch from SigC signals to boost::signals
10797 2002-05-29 André Pönitz <poenitz@gmx.net>
10799 * paragraph_pimpl.C (getChar): don't call size() too often...
10801 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10803 * paragraph_pimpl.C (insertChar): do not try to update tables when
10804 appending (pos == size())
10806 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10807 in order to reduce drastically the number of comparisons needed to
10808 parse a large document
10810 2002-05-29 André Pönitz <poenitz@gmx.net>
10816 * textclasslist.[Ch]:
10817 * sp_ispell.h: whitespace change
10819 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10821 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10822 lyxaction directly now.
10824 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10828 * lyxvc.C: remove unused headers
10830 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10837 * undo_funcs.C: some cleanups. Use shared_ptr
10838 and a template for the undo stacks.
10840 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10842 * BufferView_pimpl.h:
10843 * BufferView_pimpl.C:
10850 * text2.C: use key_state/mouse_state
10852 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10854 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10857 * chset.C: change include order
10858 (loadFile): use boost regex and get rid of LRegex and LSubstring
10860 * Makefile.am (BOOST_LIBS): new variable
10861 (lyx_LDADD): use it
10863 * LaTeX.C: change include order.
10864 (scanAuxFile): use boost regex and get rid of LRegex and
10868 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10873 * FontInfo.C: moved to frontends/xforms/
10876 * FontLoader.C: moved into frontends for GUIIzation
10881 * lyxfunc.C: changes from above
10883 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10885 * LColor.C: remove spurious X include
10887 * BufferView_pimpl.C:
10892 * text2.C: move font metrics to frontends/
10894 2002-05-24 Juergen Vigna <jug@sad.it>
10896 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10897 setting the undo_cursor.
10899 * ParagraphParameters.h: include local includes first.
10901 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10903 * BufferView_pimpl.C:
10904 * BufferView_pimpl.h:
10908 * screen.C: move WorkArea into frontends/
10914 * BufferView2.C: move LyXScreen into frontends/
10918 * lyx_gui.C: move lyxlookup into frontends/xforms/
10920 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10923 * BufferView_pimpl.C:
10933 * bufferview_funcs.C:
10946 * vc-backend.C: move LyX/XFormsView into frontends/
10948 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10960 * text2.C: move Painter to frontends/
10962 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10964 * buffer.C: comment out some some code that depend upon lyx_format
10967 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10968 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10970 * buffer.h (NO_COMPABILITY): turn off compability
10972 * ColorHandler.C: include scoped_array.hpp
10974 * font.C: Use more specific smart_ptr header.
10977 * ShareContainer.h: ditto
10978 * lyx_main.h: ditto
10980 * FontInfo.h: ditto
10981 * BufferView_pimpl.h: ditto
10982 * ColorHandler.h: ditto
10984 * kbmap.C (defkey): change call to shared_ptr::reset
10986 2002-05-21 Juergen Vigna <jug@sad.it>
10988 * buffer.C (insertErtContents): fix to insert ert asis if it is
10989 non empty. Skip it completely if it contains only whitespaces.
10991 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10993 * BufferView_pimpl.C:
10994 * BufferView2.C: clear selection on paste (bug 393)
10996 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10998 * DepTable.C: include ctime
11000 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11002 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11004 2002-05-14 Juergen Vigna <jug@sad.it>
11006 * text.C (breakParagraph): fixed function to honor the keepempty
11007 layout in the right maner and also to permit the right breaking
11008 algorithm on empty or non empyt keepempty paragraphs.
11010 * paragraph.C (breakParagraph): we have to check also if the par
11011 is really empty (!size()) for isempty otherwise we do the wrong
11014 2002-05-10 Juergen Vigna <jug@sad.it>
11016 * buffer.[Ch] : The following are only changes to the ert
11017 compatibility read reading old LaTeX layout and font stuff and
11018 convert it to ERTInsets.
11020 * buffer.h: added isErtInset().
11022 * buffer.C (struct ErtComp): add a fromlayout bool to check
11023 if we're inside a LaTeX layout.
11024 (isErtInset): new helper function.
11025 (insertErtContents): look for other ert insets before this one
11026 and insert the contents there, so that we don't have subsequent
11027 ERT insets with nothing between them. This way we create only one
11028 inset with multiple paragraphs. Also check if we don't insert only
11029 spaces ' ' as they are ignored anyway afterwards in the .tex file
11030 so if we have only spaces we will ignore this latex part in the
11032 (parseSingleLyXformat2Token \\layout): better compatibility when
11033 reading layout-latex stuff.
11034 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11036 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11037 stuff after reading the inset only get the information back from
11040 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11042 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11044 * LaTeXFeatures.C (getBabelOptions): New method.
11046 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11048 * BufferView_pimpl.C (Dispatch): work around missing argument for
11051 2002-05-08 Juergen Vigna <jug@sad.it>
11053 * text.C (leftMargin): handle paragraph leftindent.
11055 * paragraph.C (writeFile): write the new \\leftindent tag.
11056 (validate): handle leftindent code.
11057 (TeXEnvironment): handle paragraphleftindent code again.
11059 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11061 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11062 for paragrap_extra indent code and new token \\leftindent.
11063 (latexParagraphs): handle the leftindent as environment.
11065 * ParameterStruct.h: added leftindent support.
11067 * ParagraphParameters.C (leftIndent): added support functions for
11068 the paragraph left indent.
11070 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11073 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11075 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11078 * text.C (computeBidiTables): No bidi in insetERT.
11080 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11083 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * version.C.in: pre 5
11087 2002-05-02 José Matos <jamatos@fep.up.pt>
11088 * buffer.C (makeDocBookFile): white space changes, add newline to
11090 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11092 * tabular.C (docBook): fix typo.
11094 2002-05-03 Juergen Vigna <jug@sad.it>
11096 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11097 change in LyXText as we can not be sure it was not freed.
11098 (drawOneRow): remove unused code.
11100 * text.C (drawInset): redo the calculation of the need_break_row as
11101 it could have a row which was already freed.
11102 (draw): look at the return value of drawInset and return false if
11103 it also returned false.
11104 (paintRowText): look at the return value of draw and return false if
11105 it also returned false.
11107 * lyxtext.h: added bool return type to drawInset() and draw() so that
11108 if we have a change in the row so that the rowbreak has to be redone
11109 we abort drawing as it will be called again.
11111 2002-05-02 Juergen Vigna <jug@sad.it>
11113 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11114 a change in the maintext also if we're inside an inset.
11115 (Dispatch): set the cursor again after a break line and after the
11116 screen has been updated as it could be we're in a different row.
11118 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11119 to set the cursor behind the pargraph with > size().
11120 (setCursor): check also for the same paragraph when checking where
11121 to put the cursor if we have a NFR inset.
11123 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11124 parts of layout read further up as it still was in the wrong
11127 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * screen.C (drawFromTo): change sine fullRebreak always return
11132 * buffer.C (parseSingleLyXformat2Token): reindent some
11134 * BufferView_pimpl.C (update): change since fullRebreak always
11136 (Dispatch): git rid of the last hardcoded "Standard"s.
11138 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * text2.[Ch] (fullRebreak): make it return void now that we always
11143 2002-04-30 Juergen Vigna <jug@sad.it>
11145 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11146 ert compatibility check for "latex" layout.
11148 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11150 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11151 minipages: use col% instead of p%, and also use the current font.
11152 (makeLaTeXFile): Fix use babel condition.
11153 (parseSingleLyXformat2Token): Correct font when reading old floats.
11155 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11157 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11158 inserting list of floats.
11160 2002-04-25 Herbert Voss <voss@lyx.org>
11162 * MenuBackend.C (expand): don't add the graphics extensions to the
11165 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11167 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11168 non-existing layout, do not complain if it was the default layout
11169 of the original class (bug #342)
11171 2002-04-24 Juergen Vigna <jug@sad.it>
11173 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11174 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11176 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11178 * buffer.C (getBibkeyList): If using \bibliography, return the
11179 option field with the reference itself. Enables us to provide natbib
11180 support when using \bibliography.
11182 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11184 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11186 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11187 natbib is provided by the LaTeX class.
11189 2002-04-23 Juergen Vigna <jug@sad.it>
11191 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11194 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11196 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11198 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11200 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11201 ensuremath around textordmasculine, textordfeminine and
11204 2002-04-19 Juergen Vigna <jug@sad.it>
11206 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11207 reinitializing the buffer otherwise row-dimensions may be wrong.
11208 (update): reset also the selection cursors if they do exits otherwise
11209 their x/y positions may be wrong.
11211 * text2.C (cursorDown): don't enter the inset if we came from a row
11212 above and are one row over the inset.
11214 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11215 really leaving an inset.
11217 2002-04-18 Juergen Vigna <jug@sad.it>
11219 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11220 of the selected paragraph does not have the selected layout also if
11223 * text2.C (setLayout): fixed bug which did not change last selected
11226 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11227 changed the read and substituted \\end_float with \\end_inset!
11229 * BufferView_pimpl.C (cursorPrevious):
11230 (cursorNext): fixed to make it work with rows heigher than the work
11231 area without moving the cursor only the draw of the row.
11232 (workAreaMotionNotify): fix jumping over high rows.
11234 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11236 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11239 2002-04-16 Juergen Vigna <jug@sad.it>
11241 * text2.C (setCursor): set also the irow().
11242 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11244 (cursorDown): support for locking an inset if the x_fix value goes
11245 inside it. That way I can transverse insets too with cursor up/down.
11247 * lyxrow.h: added irow helper function same as other (i) functions.
11249 * BufferView_pimpl.C (cursorPrevious):
11250 (cursorNext): fixed for insets!
11252 2002-04-15 Juergen Vigna <jug@sad.it>
11254 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11255 position otherwise it is wrong in some cases.
11257 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11258 inside the inset before the call.
11260 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11262 * buffer.[Ch] (getBibkeyList): make it const.
11264 2002-04-12 Juergen Vigna <jug@sad.it>
11266 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11268 * text2.C (getCursorX): new helper function
11269 (setCursor): compute also ix_
11270 (setCursorFromCoordinates): set also ix.
11272 * lyxcursor.h: added ix_ and helper functions.
11274 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11276 * buffer.C (insertStringAsLines): dont break paragraph if the this
11277 paragraph is inside an inset which does not permit it!
11279 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11280 also with no chars on this paragraph.
11281 (paintRowText): only paint stuff if it's inside the workarea!
11283 * paragraph.C (breakParagraph): honor keepempty flag and break the
11284 paragraph always below not above.
11286 * BufferView2.C (unlockInset): update the paragraph layout on inset
11287 unlock as we changed paragraph in such a case.
11289 * lyxfind.C (LyXFind): clear the former selection if not found!
11291 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11292 again called in insertChar().
11294 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11295 an inset which uses the whole row!
11296 (rightMargin): ditto.
11297 (insertChar): force a rebreak if we inserted an inset!
11299 2002-03-28 Herbert Voss <voss@lyx.org>
11301 * lyxlength.[Ch]: add inBP() to get the right PS-point
11302 units (BigPoint). With inPixels we have rounding errors
11304 2002-04-11 Juergen Vigna <jug@sad.it>
11306 * text2.C (setCursorFromCoordinates): set iy to the right value.
11307 (setCursor): add check if row->previous exists!
11309 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11310 an old float_type as this was the case in the old code!
11312 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11314 * BufferView2.C (showLockedInsetCursor): use iy
11315 (fitLockedInsetCursor): ditto
11317 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11318 locked insets as there we have the right value now.
11320 * lyxcursor.C: added iy_ variable and iy functions to set to the
11321 baseline of cursor-y of the locked inset.
11323 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11324 (setCursor): fixed for insets which need a full row.
11326 * text.C (rowLastPrintable): don't ignore the last space when before
11327 an inset which needs a full row.
11328 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11329 as last character of a row when before a inset which needs a full row.
11331 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11333 * version.C.in: update date
11335 * text2.C (fullRebreak): try to always return true and see what
11338 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11340 * MenuBackend.C (expand): use Floating::listName
11342 * FloatList.C (FloatList): add listName argument to the built-in
11345 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11346 text associated with the float.
11348 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11350 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11352 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * ShareContainer.h: add a couple of missing typenames.
11356 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11358 * lyxrc.C (getDescription): use _() correctly rather than N_().
11360 2002-03-28 Herbert Voss <voss@lyx.org>
11362 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11363 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11365 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11367 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11368 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11370 2002-03-29 Juergen Vigna <jug@sad.it>
11372 * lyxfunc.C (dispatch): add a missing fitCursor call.
11374 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11375 it was scrolled by a cursor move, so return the bool status.
11377 * BufferView.C (fitCursor): return the bool flag also to the outside
11378 world as this is needed.
11380 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11382 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11383 call the edit() as it is not needed (and wrong) IMO.
11384 (workAreaButtonPress): set the screen_first variable before evt.
11385 unlock the inset as this may change screen_first and then we have
11386 a wrong y position for the click!
11388 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11390 * MenuBackend.C (expand): another translation that I missed
11392 2002-03-28 Juergen Vigna <jug@sad.it>
11394 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11396 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11398 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11402 * MenuBackend.C (expand): fix export/view/update when there is no
11405 2002-03-27 Herbert Voss <voss@lyx.org>
11407 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11410 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11412 * bufferview_funcs.C (currentState): only show paragraph number
11413 for is DEVEL_VERSION is set.
11415 * lyxfunc.C (dispatch): put warning in INFO channel
11417 * MenuBackend.C (expand): translate the name of floats
11419 * FloatList.C (FloatList): mark the float names for translation
11421 * converter.C (convert): use LibScriptSearch
11423 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * MenuBackend.C (defaults): fix default menu (we might as well get
11428 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11433 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11435 * lyxvc.C: reorder includes.
11437 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11439 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11442 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11444 * CutAndPaste.C: change layouts earlier on paste
11445 to avoid crashing when calling getFont()
11447 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11449 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11452 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11454 * WorkArea.C: remove 'Pending' debug message.
11456 * most files: ws cleanup
11458 * buffer.[Ch]: ws changes
11460 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11462 2002-03-21 Juergen Vigna <jug@sad.it>
11464 * tabular.C (SetMultiColumn): collapse also the contents of the
11465 cells and set the last border right. Added a Buffer const * param.
11467 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11469 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11472 2002-03-19 Juergen Vigna <jug@sad.it>
11474 * text2.C (clearSelection): reset also xsel_cache.
11476 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11477 where it needs to be called (John tells us to do so too :)
11478 (selectionLost): reset sel_cache.
11480 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11482 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11484 * text2.C (setCursorIntern): put debuging code in INSETS channel
11486 2002-03-19 André Pönitz <poenitz@gmx.net>
11488 * lyxfunc.C: tiny whitespace change
11490 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11492 * ToolbarDefaults.C (init):
11493 * LyXAction.C (init):
11495 * BufferView_pimpl.C (Dispatch):
11496 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11498 2002-03-19 Allan Rae <rae@lyx.org>
11500 * exporter.C (Export): removeAutoInsets before doing anything else.
11501 While I've just introduced a dependency on BufferView this really is
11502 the best place to clean the buffer otherwise you need to cleanup in
11503 a dozen places before calling export or cleanup in a dozen functions
11506 * converter.C (runLaTeX):
11507 (scanLog): Better handling of removeAutoInsets and screen updates.
11509 * lyxfunc.C (dispatch): small whitespace changes
11511 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * WorkArea.C (C_WorkAreaEvent): return a value.
11514 (event_cb): return 1 if we handled the event, 0 otherwise.
11516 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11518 2002-03-18 Juergen Vigna <jug@sad.it>
11520 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11521 (GetAdditionalWidth): ditto.
11522 (RightLine): ditto.
11525 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11526 inset if we're there actually (probably not used right now but this
11527 is the direction to go for unifying code).
11528 (paste): disable code to clear the selection.
11530 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11531 inside an InsetText and move the check further up as it is in the
11534 * text2.C (pasteSelection): set a selection over the pasted text.
11536 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11538 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11539 and libgraphics to build on Cygwin.
11541 2002-03-15 Juergen Vigna <jug@sad.it>
11543 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11544 inserting an Inset into the paragraph. I know this is not the best
11545 fix but we already use current_view in CutAndPaste so we will remove
11546 all of it's using at the same time.
11548 * buffer.C (sgmlError): deactivated function till it is rewritten in
11549 the right mode, now it can create problems.
11551 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11552 before accessing it.
11554 2002-03-14 Juergen Vigna <jug@sad.it>
11556 * undo_funcs.C (textHandleUndo): do the right thing when updating
11557 the inset after the undo/redo.
11559 * text2.C (setCursor): just some testcode for #44 not ready yet.
11561 * undo_funcs.C (textHandleUndo): set the next() and previous()
11562 pointers of the paragraph to 0 before deleting otherwise we have
11563 problems with the Paragraph::[destructor].
11565 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11566 on a paragraph insertion.
11568 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * buffer.C (asciiParagraph): use += operator for char append to
11573 * paragraph.C (getFontSettings): compare >= not just >
11574 (highestFontInRange): ditto
11577 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11579 * paragraph.C: change several algorithm to be more appripriate for
11580 the problem domain. This is lookip in FontList and in the InsetList.
11582 2002-03-13 André Pönitz <poenitz@gmx.net>
11585 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11587 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11592 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11594 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11596 * Painter.C (display): anon helper function, adjust code for this
11598 (pixmap): remove function.
11600 * Painter.h: remove private display variable.
11602 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11604 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11606 * WorkArea.[Ch]: remove figinset_canvas cruft.
11608 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * lyxtextclass.C (operator): add one item cache optimization.
11612 * bufferlist.h: doxy changes
11614 * bufferlist.C: ws changes
11616 * DepTable.[Ch] (ext_exist): place const in the right spot.
11618 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11620 (workAreaExpose): call resizeInsets when the with BufferView changes.
11621 (Dispatch): adjust for protectedBlank removal
11622 (specialChar): call updateInset if the insert went ok.
11624 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11625 specialChar instead.
11627 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11629 * BufferView.h: doxy change
11631 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11633 * lyxtextclass.C (operator[]): remove non-const version
11634 (defaultLayout): remove non-const version
11636 2002-03-12 Juergen Vigna <jug@sad.it>
11638 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11639 did resize the LyXText too.
11641 * buffer.C (readLyXformat2): set layout information on newly allocated
11644 * tabular.C (OldFormatRead): set layout information on the paragraph.
11646 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11648 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11650 2002-03-11 Juergen Vigna <jug@sad.it>
11652 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11654 (resizeCurrentBuffer): force also the insets to resize themselfes.
11655 (moveCursorUpdate): fixed up for InsetText.
11657 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11660 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11661 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11662 value of Dialogs::tooltipsEnabled().
11663 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11665 2002-03-08 Juergen Vigna <jug@sad.it>
11667 * BufferView_pimpl.C (updateInset): update inset inside inset also
11668 if it isn't inside theLockingInset().
11670 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11672 * buffer.C (asciiParagraph): redo some of the word and line length
11674 (getLists): look for Caption instead of caption.
11676 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * buffer.C (Buffer): initialize niceFile to true
11680 (makeLinuxDocFile):
11681 (makeDocBookFile): make sure niceFile is true on exit
11683 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11687 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11689 * LyXSendto.C: remove.
11690 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11691 * lyx_gui.C: remove now-redundant comment.
11692 * ColorHandler.h: remove forward declaration of class WorkArea.
11693 * lyxfunc.C: remove #include "WorkArea.h".
11695 2002-03-07 Juergen Vigna <jug@sad.it>
11697 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11698 got moved away with the DEPM and also set the inset_owner always
11699 right which before could have been omitted.
11701 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11703 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11704 wanted layout is not found.
11706 2002-03-07 Juergen Vigna <jug@sad.it>
11708 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11710 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11712 * paragraph.C (breakParagraph): use default layout not layout of
11714 (Paragraph): clear ParagraphParameters.
11716 2002-03-06 Juergen Vigna <jug@sad.it>
11718 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11719 otherwise it would not be a valid lenght. Fixed a special case in
11720 the minipage compatibility read where we end the document with a
11723 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11724 was set as it could be 0 for InsetTexts first entry.
11726 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * paragraph.C (writeFile): if layout is empty write out
11729 defaultLayoutName().
11731 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11732 file without named layout we set layout to defaultLayoutName().
11734 2002-03-06 Juergen Vigna <jug@sad.it>
11736 * CutAndPaste.C (copySelection): set layout for new paragraph.
11738 * text.C (prepareToPrint): leave ERT inset left aligned
11739 (leftMargin): don't indent paragraphs inside ERT insets
11741 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11743 * paragraph.C (breakParagraph): dont call clear do the work manually
11745 * paragraph.[Ch] (clear): remove function
11747 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11749 * paragraph.C (Paragraph): dont call clear, the work has already
11752 * lyxtextclass.C (operator): assert if n is empty
11754 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11755 work manually instead.
11757 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11759 * BufferView_pimpl.C: protect selectionLost against text == 0
11761 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * text.C (breakParagraph): fix a setting layout to '0' problem.
11765 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11767 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11768 final location of file, for the included files, and graphics.
11770 2002-03-05 Juergen Vigna <jug@sad.it>
11772 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11774 2002-03-04 Juergen Vigna <jug@sad.it>
11776 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11778 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11779 last column of multicolumn cells.
11780 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11782 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11784 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11785 file if it doesn't go to a temporary file.
11787 * buffer.C (sgmlOpenTag):
11788 (sgmlCloseTag): remove extra newline insertion.
11790 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * text.C (getRowNearY): comment out debug msg
11794 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * text2.C: first -> first_y
11798 * text.C (getRowNearY): add some attemts at a possible
11799 optimization, not working.
11801 * tabular.[Ch]: add BufferParams to several function so that newly
11802 created paragraph can be initialized to he default layotu for the
11805 * tabular-old.C (ReadOld): add buf->params to call of Init
11807 * screen.C: rename text->first to text->first_y
11809 * paragraph.C (breakParagraph): always set layout in the broken
11812 * lyxtextclass.C (Read): remove lowercase
11815 (delete_layout): ditto
11817 * lyxtext.h: rename first -> first_y
11819 * lyxlayout.C (Read): remove lowercase
11822 (obsoleted_by): ditto
11824 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11826 * buffer.C (insertErtContents): add params are to InsetERT
11827 (parseSingleLyXformat2Token): add code to check if a paragraphs
11828 layout really exist.
11829 (parseSingleLyXformat2Token): add params to several inset
11831 (asciiParagraph): remove lowercase, do the layout comparisons with
11834 * BufferView_pimpl.C (cursorNext): first -> first_y
11835 (resizeCurrentBuffer): first -> first_y
11836 (updateScrollbar): first -> first_y
11837 (scrollCB): first -> first_y
11838 (workAreaMotionNotify): first -> first_y
11839 (workAreaButtonPress): first -> first_y
11840 (checkInsetHit): first -> first_y
11841 (cursorPrevious): first -> first_y
11842 (cursorNext): first -> first_y
11843 (Dispatch): add buffer_->params to severl inset contructors
11845 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11847 * lyxlayout.C (Read): remove some debug info that I forgot.
11849 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11850 clean up the code slightly.
11851 (makeLinuxDocFile): ditto
11852 (makeDocBookFile): ditto
11854 * text2.C: layout as string
11856 * text.C: layout as string
11858 * paragraph_pimpl.C: layout as string
11860 * paragraph.[Ch]: layout as string
11862 * lyxtextclasslist.[Ch]: layout as string
11864 * lyxtextclass.[Ch]: layout as string
11866 * lyxtext.h: layout as string
11868 * lyxlayout.[Ch]: layout as string
11870 * lyx_cb.C: layout as string
11872 * bufferview_funcs.C: layout as string
11874 * bufferparams.C: layout as string
11876 * buffer.C: layout as string
11878 * LyXView.[Ch]: layout as string
11880 * LaTeXFeatures.[Ch]: layout as string
11882 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11884 * BufferView_pimpl.C: change current_layout to string, remove
11889 (workAreaButtonRelease): layout as string
11891 * BufferView2.C (unlockInset): adjust
11893 * vspace.C (asLatexCommand): use an explict temp variable.
11895 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11897 * Makefile.am: use FRONTEND_*
11899 2002-03-01 Juergen Vigna <jug@sad.it>
11901 * tabular.C (SetWidthOfMulticolCell): changed to something better
11902 I hope but still work in progress.
11903 (recalculateMulticolumnsOfColumn): renamed function from
11904 recalculateMulticolCells as it is more appropriate now.
11905 (SetWidthOfCell): calculate multicols better.
11907 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11909 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11911 * lyxfunc.C (processKeySym): print sequence also if it is
11912 `deleted' (complete)
11914 * kbsequence.C (print): print sequence even if it is deleted
11915 (complete would be a better word, actually).
11917 * lyxfunc.C (dispatch): print complete options after a prefix key
11919 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11921 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11923 * text2.C (setCharFont): eliminate setCharFont code duplication.
11925 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11927 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11928 LFUN_TABULAR_FEATURE (bug #177)
11930 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11932 * Makefile.am: remove figure.h
11934 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11936 * Bufferview_pimpl.C:
11948 * text2.C: remove #include "lyx_gui_misc.h".
11950 * LaTeX.C: added #include <cstdio>
11952 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11954 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11955 that the paragraph following this one can have.
11957 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11959 * vspace.C (asLatexCommand): fix bogus gcc warning
11961 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11963 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11965 * text2.C (setLayout): get rid of redundant code
11967 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11969 * text2.C (incDepth): make sure depth cannot be increased beyond
11972 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11974 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11975 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11977 * PainterBase.h (image):
11978 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11979 a LyXImage const *.
11981 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11985 * BufferView_pimpl.C:
11986 * BufferView_pimpl.h:
12006 * sp_spell.C: remove fig inset, and the crap house of
12007 cards that follows it
12009 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12014 * os2_errortable.h:
12015 * nt_defines.h: move .h into support/
12017 * vms_defines.h: remove
12019 * WorkArea.C: add space in debug output
12023 * buffer.C: add WITH_WARNINGS
12027 * bufferlist.C: s/retrive/retrieve/, add docs
12036 * chset.C: add docs
12038 * lyxgui.C: add ID to X error handler
12040 * lyxtestclass.c: fix typo
12042 2002-02-26 Juergen Vigna <jug@sad.it>
12044 * tabular_funcs.C (write_attribute): changed so that some default
12045 attributes are not written at all.
12046 (getTokenValue): set default values before trying to read the
12047 value so we have the return value always set as default if we don't
12048 find the token we search for.
12050 * tabular.C (Write): write bools as bools not as strings!
12052 2002-02-22 Juergen Vigna <jug@sad.it>
12054 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12055 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12057 * text.C (leftMargin): don't add an indent for paragraphs inside
12058 tabular cells (fix #208).
12060 2002-02-21 José Matos <jamatos@fep.up.pt>
12062 * tabular.C (docBook): fixed support for long tables.
12064 2002-02-20 Juergen Vigna <jug@sad.it>
12066 * text2.C (getFont): get the drawing font of the Inset if this
12067 paragraph is inside an inset (only important for InsetERT for now).
12069 * buffer.C (insertErtContents): use new lanugage params in ERT
12072 * CutAndPaste.C: commenting out seemingly uneeded code.
12074 2002-02-19 Allan Rae <rae@lyx.org>
12076 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12077 Iterators might be simple to use but they also get invalidated.
12078 (removeAutoInsets): renamed saved cursor tracking variables and added
12079 some comments to clarify what everything does.
12081 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12088 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12089 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12092 * vc-backend.h: remove #include "support/syscall.h"
12096 * converter.C: rearrange #includes in Lars' approved fashion.
12098 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12099 forward declare class Timeout in the header file.
12101 * XFormsView.C: changes due to the above.
12103 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12104 similar to LyXView.
12106 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12107 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12109 2002-02-18 José Matos <jamatos@fep.up.pt>
12111 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12114 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12116 * a lot of small ws changes
12117 * add a lot of using std::XXX
12118 * use std construcs some places where approp.
12119 * use some exisint stuff from lyxfunctional where approp.
12120 * Make file changes to use partial linking (lets test this now...)
12122 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12126 remove #include "support/syscontr.h" as it's redundant. Always has been.
12134 change Systemcalls::System to Systemcalls::Wait and
12135 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12136 No change of functionality, just reflects the stripped down Systemcalls
12139 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12141 * debug.[Ch]: add a GRAPHICS type to the enum.
12143 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12145 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12147 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12150 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12152 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12153 match the changes below.
12155 * text2.C (toggleInset): if there is not editable inset at cursor
12156 position, try to see if cursor is _inside_ a collapsable inset
12159 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12161 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12162 document menu has a nice checkbox
12164 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12166 * lyxlength.C (asLatexString): change PW to output as percent of
12169 * lengthcommon.C: change '%' to 't%'
12171 * lyxfunc.C (dispatch): a few comments from Martin
12173 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12177 * BufferView_pimpl.h:
12178 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12181 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12183 * vspace.C (inPixels): fix compiler warning
12185 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * lyxfunc.C (getStatus): fix status message for disabled commands.
12189 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12191 * BufferView_pimpl.C: fix crash on close buffer
12192 during selection (#227)
12194 2002-01-27 Herbert Voss <voss@lyx.org>
12196 * buffer.C: link old Figure to new graphic inset
12198 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12200 * FontLoader.C (getFontinfo): Change the latex font names in order
12201 to match the names of type1inst.
12203 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12205 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12207 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12208 (extchanged): ditto
12210 (remove_files_with_extension): ditto
12211 (remove_file): ditto
12214 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12215 document is smaller than the work area height. Do not initialize
12216 static variables to 0.
12218 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12220 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12222 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12223 LFUN_LAYOUT_PARAGRAPHS.
12225 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12226 tabular. It is possible to provide a possible cell, which will
12227 typically be the actcell from the corresponding insettabular
12229 * lyxfunc.C (getStatus): small cleanup; disable
12230 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12233 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12235 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12237 * paragraph.C (startTeXParParams):
12238 (endTeXParParams): new methods. The LaTeX code to
12239 start/end paragraph formatting
12240 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12241 empty (fixes bug #200)
12243 * vspace.C (inPixels): adapt to the change below
12244 (inPixels): [later] more cleanups (remove unused variables)
12246 * lyxlength.C (inPixels): change to use a width and a height as
12249 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12251 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12252 Replaced with \paperwidth
12254 * DepTable.C (insert): add std:: qualifier
12256 2002-01-18 Allan Rae <rae@lyx.org>
12258 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12261 * text.C (drawInset): Turned out I didn't know enough about how
12262 rebreaking worked. This fixes most of the redraw problems. I see
12263 an occasional cursor trail when a line is broken now and the cursor
12264 placement can seem out by a few pixels also after a rebreak.
12266 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * buffer.C (parseSingleLyXformat2Token): update because minipage
12269 width is now a LyXLength
12271 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12273 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12276 2002-01-17 Juergen Vigna <jug@sad.it>
12278 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12280 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12281 is set correctly and the inset is updated correctly.
12283 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12285 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12286 the beginning of the loop.
12288 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12290 * lyxrc.C: improve help for use_scalable_fonts
12292 2002-01-17 Allan Rae <rae@lyx.org>
12294 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12296 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12299 make sure to set their inset_owner to the right value (bug #171)
12301 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12304 * DepTable.C: Implement mtime checking to reduce time spent doing
12307 2002-01-16 Juergen Vigna <jug@sad.it>
12309 * tabular.C (GetAdditionalHeight): one of error fixed.
12311 * lyxrc.C (output): small fix in writing use_pspell.
12313 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12315 * sp_base.h: #include LString.h
12317 2002-01-16 Allan Rae <rae@lyx.org>
12319 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12320 Can someone check this please?
12322 * text.C (drawInset): It was possible that p.row would be removed by
12323 breakAgainOneRow upsetting a few other settings. There may be another
12324 small tweak possible by setting need_break_row = 0 when p.row has been
12325 removed but I don't know enough about the logic here.
12327 2002-01-15 Allan Rae <rae@lyx.org>
12329 * text.C (insertChar): removed conditional truism.
12331 * BufferView2.C (removeAutoInsets): More tweaks.
12332 cur_par_prev could be a stray pointer. Check for trailing empty line
12333 in case last line was cur_par and only had an error inset on it.
12335 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12337 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12340 * vc-backend.C (most methods):
12341 * exporter.C (Export):
12342 * converter.C (convert):
12344 * LyXSendto.C (SendtoApplyCB):
12345 * lyxfunc.C (dispatch):
12349 * lyx_cb.C (AutoSave):
12351 * BufferView_pimpl.C (MenuInsertLyXFile):
12352 * buffer.C (runChktex): use Buffer::filePath().
12354 * buffer.h: rename filename to filename_; rename filepath to
12355 filepath_ and make it private
12356 (filePath): new method
12358 * buffer.C (writeFile): use fileName()
12361 * lyx_main.C (init): fix starting of LyX when the binary is a
12362 link from so,ewhere else.
12364 * minibuffer.C: include <cctype> for isprint
12366 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12368 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12369 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12370 name clash with InsetCollapsable's width function.
12372 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12374 * lastfiles.C: include <iterator>
12376 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12378 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12381 * buffer.C (makeLaTeXFile): ditto.
12382 Also make loop operation more transparent.
12384 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12386 * ToolbarDefaults.C: remove trailing comma closing namespace.
12388 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12390 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12393 * trans.C (Load): comment out unused variable, allowed.
12395 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12397 * minibuffer.[Ch] (append_char): new method to recieve input from the
12398 drop-down completion browser. If a key was pressed, then recieve this
12399 char and append it to the existing string.
12400 (peek_event): modify the positioning data passed to the completion
12401 browser so that it can be placed above the minibuffer rather than below.
12402 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12404 * LyXAction.C (init): alloe error-next for readonly documents.
12406 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12409 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * bufferlist.C (readFile): create the buffer _after_ checking that
12414 * lyxfunc.C (verboseDispatch): fix handling of arguments
12416 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12418 * lyxrc.C: use string::erase() instead of initializing to "".
12421 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12423 * BufferView_pimpl.h:
12424 * BufferView_pimpl.C:
12427 * text2.C: tell X when we have made a selection for copying
12429 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12431 * BufferView_pimpl.C (MenuInsertLyXFile):
12432 * lyxfunc.C (menuNew):
12434 (doImport): add shortcuts to directory buttons
12436 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12439 * lyxfunc.C (setStatusMessage):
12440 (getStatusMessage): new methods
12441 (getStatus):use setStatusMessage instead of setErrorMessage
12442 (dispatch): when function is disabled, set error message here
12443 [instead of in getStatus previously]
12445 * BufferView_pimpl.C (workAreaButtonRelease): update
12446 toolbar/menubar here too.
12448 2002-01-13 Allan Rae <rae@lyx.org>
12450 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12451 Now seems indestructible. Remaining task is to audit all other
12452 code affected by deleteEmptyParagraphMechanism. One small quirk
12453 left is that an empty document with an error in the preamble can
12454 be made to report an error but no error box appears. I don't know
12456 (removeAutoInsets): Improved comments.
12458 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12461 * Thesaurus.C: update for Aiksaurus 0.14
12463 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12465 * text2.C (firstParagraph): removed member function, all uses
12466 replaces with ownerParagraph
12467 (redoParagraphs): here
12468 (updateInset): here
12469 (toggleAppendix): here
12470 * BufferView2.C (insertErrors): here
12471 (setCursorFromRow): here
12473 2002-01-13 Allan Rae <rae@lyx.org>
12475 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12476 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12477 There is still a way to segfault this although you may have to do this
12478 multiple times: Have an InsetERT with an unknown command in it.
12479 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12480 <down-arrow>, <Enter> again, View->DVI, BANG!
12482 * text2.C (setCursor):
12483 (deleteEmptyParagraphMechanism):
12484 * lyxtext.h (setCursor):
12485 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12486 Making use of the return value may help fix other bugs.
12488 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12492 * LyXView.C (updateMenubar): call MenuBar::update here
12493 (updateToolbar): but not here
12494 (showState): do not update toolbar/menubar
12496 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12497 should need to care about that.
12499 * lyxfunc.C (verboseDispatch): simplify a bit
12500 (getStatus): have a version which takes a pseudoaction, and
12501 another which requires a (kb_action,string).
12503 * LyXAction.C (retrieveActionArg): make it work also when action
12504 is not a pseudo-action.
12505 (getActionName): simplify a bit
12508 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * lyxfunc.C (verboseDispatch): new families of methods with
12511 several ways to specify a command and a bool to indicate whether
12512 the command name and shortcut should be displayed in minibuffer
12513 (eventually, we could extend that to a finer bitmask like
12514 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12515 (dispatch): the pristine dispatch command which just, well,
12516 dispatchs! Note it still sets its result to minibuffer; I'm not
12519 * lyxfunc.h: remove setHintMessage
12521 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12523 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * BufferView_pimpl.C (specialChar): delete new inset if we have
12526 not been able to insert it.
12528 * kbmap.C: revert to using int instead of kb_action, since all we
12529 are dealing with is pseudo-actions.
12531 * LyXAction.C (searchActionArg): change to return int instead of
12532 kb_action, since the result is a pseudoaction.
12534 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12536 * buffer.C (insertErtContents): Fix (partially) the font bug.
12538 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12540 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12541 as the other one is broken on my machine!
12543 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12546 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12548 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12550 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12551 reflect their actual use. Provide compatibility code for older lyxrc
12554 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12556 change names of popup font variables in line with the changes to lyxrc.C
12558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * buffer.C (asciiParagraph): avoid outputing a word twice after
12563 * lyxrc.C (getDescription): document that document_path and
12564 template_path can be empty.
12566 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12568 * LaTeXFeatures.C (getMacros):
12569 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12571 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12573 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12575 (getPackages): rename feature "floats" to "float". Use an array to
12576 iterate over 'simple' features (i.e. just a \usepackage). Add
12577 handling of "amsmath" (renamed from "amsstyle").
12579 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12581 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12584 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12586 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12587 FuncStaus::FuncStatus & FuncStaus::some_method().
12589 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12591 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12592 of the func_satus stuff. Edited and massaged in various ways by
12595 * lyxfunc.C (getStatus): use FuncStatus
12597 2002-01-08 Juergen Vigna <jug@sad.it>
12599 * text.C (nextBreakPoint): use function Inset::isChar().
12601 * paragraph.C (TeXOnePar): use function
12602 Inset::forceDefaultParagraphs.
12604 * buffer.C (latexParagraphs): use function
12605 Inset::forceDefaultParagraphs.
12607 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12609 * lyx_gui.C (init): set the style of the menu popups to
12610 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12612 2002-01-07 Juergen Vigna <jug@sad.it>
12614 * text.C (setHeightOfRow): small fix
12615 (prepareToPrint): don't look at alignment if we don't have the place
12618 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12620 * box.C: New file. Move the Box methods and functions out of box.h,
12621 following Lars' suggestion.
12623 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12625 * box.h: #include "support/LOstream.h", needed for inlined function.
12628 * lyxtextclasslist.C: added some using std declarations.
12630 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12632 * box.h: make signed dimensions to allow insets wider than
12633 the screen (bug #162)
12635 * BufferView_pimpl.C: add some insetHit debug
12637 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12639 * vc-backend.C: add FIXME
12641 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12643 * lyxfunc.C (getStatus): enable code for showing math font status
12646 2002-01-07 Juergen Vigna <jug@sad.it>
12648 * text.C (nextBreakPoint): removed debug output not needed anymore.
12650 2002-01-06 Juergen Vigna <jug@sad.it>
12652 * text.C (nextBreakPoint): fixed up this function we had this bug
12653 since ever but now hopefully we break row better.
12654 (insertChar): we have to check if an inset is the next char as it
12655 could now happen that a large inset is causing a break.
12657 2002-01-05 Juergen Vigna <jug@sad.it>
12659 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12660 if it doesn't like to be drawed.
12662 2002-01-04 Juergen Vigna <jug@sad.it>
12664 * BufferView2.C (lockInset): forgot to set a cursor.
12666 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12668 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12670 * FormMathsPanel.C:
12673 * form_maths_panel.C:
12674 * form_maths_panel.h:
12675 * form_maths_panel.fd: implemented sub- and super- buttons in math
12678 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12679 (or ^ space) to be used as in TeX (req'd by André).
12681 * lyxfunc.C: Allow ^ and _ again to be used both as
12682 super/subscript (mathed) and as themselves (in text).
12684 2002-01-03 Allan Rae <rae@lyx.org>
12686 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12687 "LyX" or the filename of the current buffer if it has one. This is a
12688 modified form of John Levon's patch.
12690 * XFormsView.C (setWindowTitle): also set icon title.
12692 * LyXView.h (setWindowTitle): signature changed.
12693 * XFormsView.h (setWindowTitle): ditto.
12695 2002-01-02 Juergen Vigna <jug@sad.it>
12697 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12699 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * screen.C (topCursorVisible): introduce a temp var for
12702 text->cursor.row(), handle the case where this row is null. (kindo
12705 * text2.C (setCursor): add a couple of asserts.
12707 * paragraph.h (inset_iterator): add -> operator
12709 * paragraph.[Ch] (autoDeleteInsets): remove member function
12711 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12712 cursor pos correctly and handle inset deletion by itself.
12713 (insertErrors): move iterator declaration out of for expression
12715 * lyxtextclass.C: add <algorithm>
12717 * Makefile.am: added the new files to sources, removed layout.C
12719 * layout.C: removed file
12721 * layout.h: remove LYX_DUMMY_LAYOUT
12723 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12727 * lyxtextclass.[Ch]:
12728 * lyxtextclasslist.[Ch]: new files
12730 * include order changes to a lot of files, also changes because of
12733 2001-12-27 Juergen Vigna <jug@sad.it>
12735 * buffer.C (asciiParagraph): more fixes.
12737 * tabular.C (ascii): make ascii export support export of only the
12738 data separated by a column-delimiter.
12739 (ascii): better support for ascii export.
12741 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12743 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12745 * tabular_funcs.C: use a "using std::getline" instead of the
12746 previous fix from Angus (necessary for cxx + lyxstring)
12748 2001-12-24 Juergen Vigna <jug@sad.it>
12750 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12752 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12753 problems. First check a minipage also if we have some ert-contents
12754 (not only on par->size(), second set the right depth of the paragraph
12755 on the relink to the root-paragraph-list!
12757 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12758 which then did not anymore update the main paragraphs on undo/redo!
12760 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12762 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12763 code. Support all font-changing funcs (even those which are not in
12764 menu currently). Support for reporting font settings in
12765 mathed (disabled until Andre provides a function on mathed's side).
12767 * func_status.h (toggle): small helper function to set toggle
12770 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12772 * tabular_funcs.C: getline -> std::getline
12774 2001-12-21 Juergen Vigna <jug@sad.it>
12776 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12777 accessed and could be 0 (I couldn't generate this but it seems
12780 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12783 * tabular_funcs.h: here and include iosfwd
12785 2001-12-20 Juergen Vigna <jug@sad.it>
12787 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12788 inside inset but undo_par was.
12790 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12792 * Thesaurus.C: always include <config.h> in sources.
12796 * box.h: do not include <config.h> in header files
12798 * text.C (paintLastRow): remove unused variable
12800 * text.C (transformChar):
12802 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12804 * Painter.C (text):
12805 * font.C (width): rewrite to use uppercase() instead of
12808 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12810 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12812 * lyxfind.C: clean up of find failure position change
12814 2001-12-20 Juergen Vigna <jug@sad.it>
12816 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12818 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12819 (TeXRow): added to LaTeX a single tabular row.
12820 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12821 (Latex): simplified and finally good LT-h/f support.
12822 (various_functions): just small adaptions for LT-h/f support.
12824 * tabular_funcs.[hC]: added and moved here all not classfunctions
12827 2001-12-19 Juergen Vigna <jug@sad.it>
12829 * tabular.[Ch]: better support for longtabular options (not finished
12832 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12834 * text.C (paintLastRow): use the label font instead of the font of
12835 the last character to compute the size of *_BOX. This makes more
12836 sense and avoids a crash with empty paragraphs.
12837 Use Painter::rectangle to draw EMPTY_BOX.
12839 2001-12-19 Juergen Vigna <jug@sad.it>
12841 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12842 the paragraphs if the replaced paragraph is not the first one!
12843 Tried to delete not used paragraphs but does not work yet so for
12844 now it's inside #ifdef's and by default off!
12846 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12848 * MenuBackend.C: include "lyx_main.h" instead of declaring
12849 lastfiles (actually was declared as LastFiles* instead of a
12852 2001-12-17 Juergen Vigna <jug@sad.it>
12854 * tabular.C (AppendColumn): applied John's fix
12856 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12860 * BufferView_pimpl.h:
12861 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12864 * box.h: new start of class for above
12866 * lyxfunc.C: ignore space-only minibuffer dispatches.
12867 Show the command name when it doesn't exist
12869 * minibuffer.C: don't add empty lines to the history
12871 * minibuffer.C: add a space on dropdown completion
12873 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12875 * text.C: fix line above/below drawing in insets
12877 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12879 * lyxlength.C (LyXLength): Initialize private variables.
12881 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12883 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12884 when inserting error insets.
12886 2001-12-13 Juergen Vigna <jug@sad.it>
12888 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12889 actually sometimes the before-paragraph.
12890 (setUndo): don't clear the redostack if we're not actually undoing!
12892 2001-12-06 Juergen Vigna <jug@sad.it>
12894 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12895 and fixed redoing of main paragraph, so we can use it now ;)
12897 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12899 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12901 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12904 2001-12-13 André Pönitz <poenitz@gmx.net>
12907 * undo_func.C: minor cleanup
12909 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12912 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12913 font in urw-fonts package which is marked as -urw-fontspecific and
12914 does not work (incidentally, changing the encoding in the
12915 fonts.dir of this package to -adobe-fontspecific fixes the
12918 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12919 is a crash when undoing first paragraph (Juergen, please take a
12920 look). THis does not mean the undo fix is wrong, just that it
12923 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12924 the (Paragraph*) version when needed instead of duplicating the
12927 * text.C (workWidth): use Inset::parOwner to find out where the
12928 inset has been inserted. This is a huge performance gain for large
12929 documents with lots of insets. If Inset::parOwner is not set, fall
12930 back on the brute force method
12932 * paragraph_pimpl.C (insertInset):
12933 * paragraph.C (Paragraph):
12934 (cutIntoMinibuffer): set parOwner of insets when
12935 inserting/removing them
12937 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12939 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12945 * mathed/formulabase.C:
12946 * mathed/math_cursor.[Ch]:
12947 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12950 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * lyxlength.[Ch] (operator!=): new function
12954 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12956 * text.C (workWidth): use Inset::parOwner to find out where the
12957 inset has been inserted. This is a huge performance gain for large
12958 documents with lots of insets. If Inset::parOwner is not set, fall
12959 back on the brute force method
12961 * paragraph_pimpl.C (insertInset):
12962 * paragraph.C (Paragraph):
12963 (cutIntoMinibuffer): set parOwner of insets when
12964 inserting/removing them
12966 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12968 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12970 * tabular-old.C (getTokenValue):
12971 * tabular.C (getTokenValue):
12972 (write_attribute): new versions for LyXLength
12973 (everywhere): adjust the use of widths
12975 * tabular.h: change the type of widths from string to LyXLength
12977 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12979 * paragraph.C: fixed missing line number count when exporting
12980 Environments to LaTeX file
12982 * buffer.C: added informational message for checking line numbers.
12984 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12986 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12987 paragraph, do the 'double space' part, but not the 'empty
12990 * text.C (workWidth): small optimization
12991 (getLengthMarkerHeight): use minimal size for negative lengths.
12993 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12995 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12997 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12999 2001-12-11 André Pönitz <poenitz@gmx.net>
13002 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13004 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13006 * text2.C: keep selection on a setFont()
13008 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13010 * lyx_cb.C: another bv->text misuse, from insert label
13012 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13015 * kbsequence.C: re-instate nmodifier mask
13017 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13019 * lyx_main.h: make lyxGUI private.
13021 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13023 * lyxfind.C: place the cursor correctly on failed search
13025 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * text.C (getLengthMarkerHeight): for small heights, the arrows
13028 are not always on top/bottom of the text
13029 (drawLengthMarker): smaller arrows; take the left margin in
13030 account; draw also vfills.
13032 (paintLastRow): remove special code for vfill and standard spaces,
13033 since everything is handled in drawLengthMarker now.
13035 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13037 * buffer.C (insertErtContents): try to handle font and language
13038 interaction a bit better.g
13040 * ColorHandler.C (updateColor): change the hash to cover the whole
13041 LColor enum, ws cleanup
13042 (getGCLinepars): ditto
13043 (getGCLinepars): only lookup in the linecache once.
13045 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13047 * iterators.C (operator++): Make the iterator more robust
13049 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13053 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13056 * text.C: better added space drawing
13058 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13061 * BufferView2.C: fix layout combo update on inset unlock
13063 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13065 * Makefile.am: don't compile unused files
13067 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13071 * LyXAction.C: remove old LFUN_LAYOUTNO
13073 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13075 * paragraph_pimpl.h:
13076 * paragraph_pimpl.C: isTextAt() doesn't need font param
13078 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13081 * lyxlex.C: little cleanup
13083 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13085 * BufferView_pimpl.C: fix insertAscii for insets
13087 2001-12-05 Juergen Vigna <jug@sad.it>
13089 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13090 set the right font on the "multi" paragraph paste!
13092 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13098 * lyxlength.C: remove out-commented code.
13100 * BufferView_pimpl:
13114 * vc-backend.C: change "while(" to "while ("
13116 * lyxlength.[Ch]: add zero function to check if length is zero or
13118 * lyxgluelength.C: use it
13120 2001-12-05 Allan Rae <rae@lyx.org>
13122 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13123 Works for 2.95.3, from what I understand of Garst's reports this should
13124 work for other g++ versions. We're screwed if the abs(int) definition
13125 changed between bugfix releases of gcc.
13127 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13129 * text.C: fix chapter label offset !
13131 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13134 * text.C: fix hfill at end of line, clean up
13136 2001-12-04 Juergen Vigna <jug@sad.it>
13138 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13139 that we force an update of the inset and it's owners if neccessary.
13141 2001-12-03 Juergen Vigna <jug@sad.it>
13143 * text.C (rowLast): simplified code
13145 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13147 * lyxfunc.C: fix show options on timeout
13149 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13151 * screen.C (topCursorVisible): scroll half a page when the cursor
13152 reached top of bottom of screen
13154 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13156 * minibuffer.C: deactivate on loss of focus
13158 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * vspace.[Ch] (operator!=): add operator.
13162 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13164 * BufferView_pimpl.C: refuse to open an inset when
13165 there's a selection.
13167 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13169 * BufferView_pimpl.C: allow to click on RHS of full row insets
13171 2001-11-30 Juergen Vigna <jug@sad.it>
13173 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13174 insets for undo reasons.
13176 2001-11-28 André Pönitz <poenitz@gmx.net>
13178 * vspace.[Ch]: cosmetical changes
13180 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13190 * kbsequence.C: part re-write of old kb code
13193 * WorkArea.C: remove Lgb_bug_find_hack
13195 2001-11-30 José Matos <jamatos@fep.up.pt>
13197 * buffer.C (makeDocBookFile): add a comment to point a hack.
13198 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13199 Fixed a double write of labels.
13201 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13204 * LaTeX.h Fixed bug in LaTeX class where it would not
13205 re-run latex if no depfiles were changed, but the .dvi was removed.
13207 2001-11-28 André Pönitz <poenitz@gmx.net>
13209 * all the files from the change on 2001/11/26:
13210 use lyx::layout_type instead of LyXTextClass::size_type
13211 use lyx::textclass_type instead of LyXTextClassList::size_type
13213 2001-11-29 Juergen Vigna <jug@sad.it>
13215 * text.C: added support for paragraph::isFreeSpacing()
13217 * buffer.C: same as above
13219 * paragraph.h: inserted isFreeSpacing() function to enable
13220 FreeSpacing inside InsetERT.
13222 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13223 of the paragraph's in the cut/copy buffer to 0!
13225 * text2.C (removeRow): remove the assert as it can!
13227 * lyxtext.h: added helper function firstRow returning firstrow and
13228 made firstrow private again.
13230 * BufferView2.C (lockInset): don't relock if we're already locked!
13232 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13233 the only paragraph.
13234 (removeRow): added Assert::(firstrow)
13236 * debug.C: forgot to add INSETTEXT here.
13238 2001-11-28 Juergen Vigna <jug@sad.it>
13240 * sp_spell.C (initialize): changed error text to more general
13241 spellchecker command use (not only ispell!)
13243 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13245 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13247 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13249 * vspace.C: initialise lyxgluelength on failure
13251 2001-11-28 Allan Rae <rae@lyx.org>
13253 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13254 declaration & definition that looks like a function declaration.
13256 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * BufferView2.C (copy):
13259 (copyEnvironment): do not clear the selection when doing a copy.
13261 * text.C (paintFirstRow): compilation fix
13263 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13265 * tabular.C (Latex): correct line count when writing latex.
13267 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13269 * paragraph_pimpl.h:
13270 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13273 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13277 * LColor.C: change vfillline->added_space
13279 * text.C: add markers and text for added space
13281 * vspace.C: fix comment
13283 2001-11-28 André Pönitz <poenitz@gmx.net>
13285 * paragraph.C: whitespace changes
13286 * all the other files from the change on 2001/11/26:
13287 change *::pos_type into lyx::pos_type
13289 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13291 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13292 language of the document when inserting error insets.
13294 2001-11-26 André Pönitz <poenitz@gmx.net>
13296 * BufferView_pimpl.[Ch]:
13304 * paragraph_pimpl.[Ch]:
13307 * text2.C: reduce header dependencies, introduce type for positions
13309 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13311 * <various>: change to use Alert.h
13313 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13315 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13316 when encountering an unknown token.
13317 (readLyXformat2): Show an error message if there were unknown tokens.
13319 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13322 * BufferView_pimpl.C:
13326 * text2.C: use par->isInset()
13328 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13330 * paragraph_pimpl.h:
13331 * paragraph_pimpl.C: cleanup
13333 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13335 * text2.C (removeRow):
13336 * text.C (setHeightOfRow): remove useless (and costly) call to
13339 2001-11-20 Allan Rae <rae@lyx.org>
13341 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13342 Now need Inset*::checkInsertChar() to return true for appropriate
13343 cases so that the characters in the minibuffer will actually be
13346 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13348 * text.C: change the order of the includes.
13349 (workWidth): initialize it at once.
13350 (workWidth): make maxw unsigned
13351 (setHeightOfRow): remove unused variable (inset)
13352 (selectSelectedWord): remove unused variable (inset)
13353 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13355 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13357 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13358 server is not running.
13360 (closeConnection): add debug info when server is disabled.
13362 * ColorHandler.C (getGCForeground): send debug message to GUI
13365 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13367 * kbmap.C (bind): modify because return conventions of
13368 kb_sequence::parse have changed.
13370 * kbsequence.C (parse): only ignore spaces and not any stupid
13371 control character. This avoids tests like s[i] <= ' ', which are
13372 guaranteed to fail with 8bit characters and signed chars.
13373 Change return code to string::npos when there have been no error
13374 (0 was a bad idea when error is at first character)
13376 2001-11-14 José Matos <jamatos@fep.up.pt>
13379 * buffer.C (simpleDocBookOnePar): removed unused argument.
13381 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13383 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13384 insets which are part of a word. Paragraph::isLetter takes care of
13385 that now. Use Paragraph::isInset to identify insets.
13386 (selectSelectedWord): do not test for hyphenation break.
13388 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13389 that protected spaces are considered as spaces.
13391 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13394 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13397 * lyxserver.C: fix it. and small cleanup.
13399 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13401 * BufferView_pimpl.C: use inline helpers
13404 * LaTeXFeatures.C: fix typos
13407 * Spacing.C: move spacing_string into class
13409 * ToolbarDefaults.C: move stuff into namespace anon
13411 * layout.h: update enum
13413 * lyxfunc.C: use better debug
13415 * minibuffer.h: fix typo
13419 * WorkArea.C: add and use Debug::WORKAREA
13423 * text2.C: code re-organisation, inline helpers
13425 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13427 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13428 std::vector.empty().
13430 2001-11-09 Allan Rae <rae@lyx.org>
13432 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13433 '\n's after tables. Tabular and ERT inset work now makes this no
13436 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13439 * minibuffer.C: fix crash, improve drop-down completion
13441 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13444 * lyxserver.C: invalidate fd's when doing endPipe()
13446 2001-11-08 José Matos <jamatos@fep.up.pt>
13448 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13449 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13452 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13454 2001-11-07 José Matos <jamatos@fep.up.pt>
13457 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13460 * buffer.C (sgmlOpenTag):
13461 * buffer.C (sgmlCloseTag): removed debug info.
13463 * buffer.h (sgmlOpenTag):
13464 * buffer.h (sgmlCloseTag): made public.
13466 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13468 * buffer.C (saveParamsAsDefaults):
13469 * lyx_cb.C (MenuLayoutSave): remove
13471 * LyXAction.C (init):
13473 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13475 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13477 * buffer.C (setPaperStuff): removed from here...
13479 * bufferparams.C (setPaperStuff): ... and moved there.
13481 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13485 * XFormsView.C: add support for drop-down completion
13487 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13489 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13492 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13494 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13497 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13499 * lyx_main.C: change ref to known bugs
13501 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13503 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13504 to work around older babel problems.
13506 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13508 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13510 2001-10-24 Juergen Vigna <jug@sad.it>
13512 * tabular-old.C (ReadOld): below variable changes reflected.
13514 * tabular.[Ch]: added ltType struct for longtable header/footer
13515 defines and changed all instances where they are used. Added
13516 future support for double top/bottom rows.
13518 2001-10-24 José Matos <jamatos@fep.up.pt>
13520 * buffer.h (docbookHandleCaption):
13521 * buffer.C (docbookHandleCaption): removed unused function.
13522 (makeDocBookFile): moved docbook supported version to v4.1.
13524 2001-10-24 José Matos <jamatos@fep.up.pt>
13527 * tabular.C (docbookRow): new function to export docbook code of a row.
13528 (DocBook): now honors the longtable flags.
13530 2001-10-23 José Matos <jamatos@fep.up.pt>
13533 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13534 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13536 * buffer.C (makeLinuxDocFile):
13537 (makeDocBookFile): reworked the preamble, more clean, and with
13538 support for lyx defined entities. Changed the document declaration
13539 to be more XML friendly.
13541 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13542 if we need to output XML that should be done with a filter.
13544 2001-10-22 Juergen Vigna <jug@sad.it>
13546 * sp_pspell.h (class PSpell): add alive function needed in the
13547 controller to see if the spellchecker could be started.
13549 2001-10-22 Juergen Vigna <jug@sad.it>
13551 * buffer.C (insertStringAsLines): modify the font for inserting
13552 chars in certain conditions by calling checkInsertChar(font).
13554 2001-10-19 Juergen Vigna <jug@sad.it>
13556 * text.C (workWidth): use getRow instead of wrong algorithm.
13557 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13559 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13564 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13566 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * text.C (workWidth): do not search for the exact row when
13569 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13570 optimization for big documents.
13572 2001-10-18 Juergen Vigna <jug@sad.it>
13574 * text.C (workWidth): new function with added Inset * parameter.
13576 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13578 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13580 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13581 change return type of getColumnNearX.
13584 * text.C (changeRegionCase): use uppercase/lowercase instead of
13587 (rightMargin): simplify code by factoring out the uses of
13592 (appendParagraph): use Paragraph::size_type
13594 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13596 * vspace.C (asLatexString): add a missing break
13598 2001-10-15 Herbert Voss <voss@perce.de>
13600 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13602 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13604 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13607 2001-10-10 André Pönitz <poenitz@gmx.net>
13609 * lyxfunc.C: removed greek_kb_flag.
13611 2001-10-10 Herbert Voss <voss@perce.de>
13613 * lyx_main.C: delete global string help_lyxdir.
13615 2001-10-09 Herbert Voss <voss@perce.de>
13617 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13619 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13621 * lyx_main.C: added global string help_lyxdir.
13623 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13625 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13627 * lyxrc.C (set_font_norm_type): support iso8859-4
13629 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13631 * LaTeX.C (deplog): add another regex for MikTeX
13633 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13635 * lyxrc.C (set_font_norm_type): support iso8859-3
13637 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13639 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13641 * LaTeXFeatures.C: remove special case of french and index
13643 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13644 before \begin{document}). This solves several incompatibilities.
13646 2001-10-03 Garst Reese <reese@isn.net>
13648 * lyx_cb.C: change CheckTex error msg.
13650 2001-10-03 José Matos <jamatos@fep.up.pt>
13652 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13654 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13656 * .cvsignore: update
13658 * lyx_main.C (commandLineVersionInfo): use new style version info.
13660 * buffer.C (writeFile):
13662 (makeLinuxDocFile):
13663 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13665 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13667 * version.h: update to use stuff in version.C
13669 * version.C.in: new file. Contains version information determined
13670 at compile time. This is a merging of version.h and
13673 2001-10-03 Juergen Vigna <jug@sad.it>
13675 * BufferView_pimpl.C (update): don't change "dirty" status in
13678 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13680 * WorkArea.C (c-tor): re-position version string slightly.
13682 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13684 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13685 revert to previous code.
13687 WorkArea.[Ch]: (show, destroySplash): methods removed.
13689 WorkArea.C: rework code so that it's an amalgam of the codes before and
13690 after the splash screen was moved to WorkArea.
13692 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13695 * vspace.C (inPixels):
13698 * buffer.C (insertStringAsLines):
13699 (asciiParagraph): fix types to be large enough
13701 * lyxlex_pimpl.h: change member status from short to int
13703 * layout.h: fix type of endlabeltype
13706 * kbsequence.C (parse): change return type to string::size_type
13708 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13711 * Bullet.C (bulletSize):
13712 (bulletEntry): do not use short ints as parameters
13714 * BufferView2.C (insertLyXFile): change a char to an int.
13716 * WorkArea.C (WorkArea): remove unneeded floats in computation
13718 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13720 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13722 * paragraph.C (asString): Do not ignore newline/hfill chars when
13723 copying to the clipboard.
13725 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13727 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13728 after a multi-line inset.
13730 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13732 * paragraph.C (validate): Set NeedLyXFootnoteCode
13734 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13736 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13737 and decrease-error to decrease.
13739 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13742 it more readable (should be equivalent)
13744 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13746 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13748 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13750 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13751 of a cursor (row, etc.) after a character has been deleted
13752 (deleteEmptyParagraphMechanism): call the method above on _all_
13753 cursors held by the LyXText when a double space has been
13756 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13758 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13760 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13762 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13763 background. Use greyOut() and the new show() methods to toggle between
13764 the foreground and background. Add code to remove the splash after
13765 its initial showing.
13767 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13768 (create_forms): no longer call Dialogs::showSplash.
13770 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13772 * .cvsignore: add version_info.h
13774 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * version_info.h.in: new file
13778 * Makefile.am: add version_info.h.in
13780 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13781 version_info.h instead of VERSION_INFO
13783 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13785 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13786 The ERT inset now returns string().
13788 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13790 * lyxtext.h, text.C (selectNextWord): renamed as
13791 selectNextWordToSpellcheck.
13793 * text.C (selectNextWordToSpellcheck): Modified to not select
13794 words inside an ERT inset.
13796 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13798 * lyx_cb.C (MenuLayoutSave): change a bit the question
13800 * sp_base.h: include <sys/types.h>
13802 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13804 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13806 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13808 * several files: fix typos in user-visible strings
13810 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13812 * text2.C (pasteSelection): do not set the selection, since it
13813 will be cleared later. Actually, the intent was to fix the way the
13814 selection was set, but I figured rmoving the code was just as good.
13816 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13818 * FontLoader.C (available): Check if font is available without
13821 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13823 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13825 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13827 * lyxrc.[Ch]: added display_graphics variable and associated code.
13829 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * bufferparams.C (hasClassDefaults): new method. Returns true if
13832 the buffer parameters correspond to known class defaults
13834 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13836 * XFormsView.C (show): set minimum size to the main window.
13838 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13840 * text2.C (copySelection):
13842 * lyxfind.C (LyXReplace):
13843 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13844 LyXText::selectionAsString.
13846 * paragraph.C (asString): add "label" argument to the second form
13848 * text2.C (selectionAsString): add "label" argument and pass it to
13849 Paragraph::asString.
13851 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * lyx_main.C (commandLineHelp): remove version information
13855 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13857 * lyx_main.C: add -version commandline option
13859 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13861 * paragraph.h: make the optional constructor arg required instead.
13862 some modifications to other files because of this.
13864 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13866 * lyxserver.C (C_LyXComm_callback): make it static
13868 * lyx_main.C (error_handler): make it static
13870 * lyx_gui.C (LyX_XErrHandler): make it static
13872 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13874 * WorkArea.C: make the extern "C" methods static.
13876 * Makefile.am (lyx_LDADD): simplify
13878 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13880 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13881 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13883 * LyXAction.C (init):
13884 * lyxfunc.C (dispatch): associated code removal.
13886 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13888 * lyxfont.h (isSymbolFont): shut off warning
13890 * text.C (setHeightOfRow):
13891 (getVisibleRow): fix crash with empty paragraphs which have a
13894 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13896 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13899 2001-09-04 José Matos <jamatos@fep.up.pt>
13902 * tabular.C (docbook): rename docBook method to docbook.
13904 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13906 * Makefile.am: add dependencies to main.o.
13908 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13910 * FontLoader.C (available): Return false if !lyxrc.use_gui
13912 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13914 * FontInfo.C (query):
13915 * converter.C (view):
13916 * importer.C (Import):
13917 * exporter.C (Export): Can not -> cannot.
13919 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13921 * BufferView_pimpl.C: allow to create index inset even if
13924 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13926 * buffer.C (getLists): replace boost::tie code with an explicit pair
13927 as boost::tie can break some compilers.
13929 * iterators.h: Added a std:: declaration to the return type of
13932 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13934 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13937 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13939 * iterators.[Ch]: New files. Provide paragraph iterators.
13941 * buffer.C (changeLanguage): Use paragraph iterators.
13942 (isMultiLingual): ditto
13944 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13946 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13948 * FontLoader.C: Support for cmr font.
13950 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13952 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13953 (available): New method.
13955 * FontInfo.C (getFontname): Use scalable fonts even when
13956 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13959 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13961 * converter.C (Formats::view): reverted! Incorrect fix.
13963 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13965 * converter.C (Formats::view): only output the -paper option
13966 if the dvi viewer is xdvi, thereby fixing bug #233429.
13968 2001-08-23 Herbert Voss <voss@perce>
13970 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13972 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13974 * Spacing.h (Spacing): Set space to Default on in the default
13977 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * vc-backend.h (RCS::versionString): add RCS to version
13980 (CVS::versionString): add CVS to version
13982 * vc-backend.C (scanMaster): do not add CVS to version.
13983 (scanMaster): do not add RCS to version
13985 * lyxvc.C (versionString): new method
13987 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13989 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13991 * Spacing.C (set): initialize fval
13993 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13995 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13998 2001-08-16 Juergen Vigna <jug@sad.it>
14000 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14002 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14004 * BufferView_pimpl.C:
14007 * text2.C: setParagraph takes linespacing now
14009 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14011 * LyxAction.C: add internal LFUN_CITATION_INSERT
14013 * LyXView.C: actually apply fix
14015 * bufferlist.C: fix open non-existent file
14017 * lyxfind.C: fix indentation
14019 * lyxfunc.C: remove unneeded assert, fix typo
14021 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14023 * MenuBackend.C: use "Floatname List"
14025 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14027 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14028 when converting LaTeX layout to insetERT.
14029 Generate a non-collapsed float when reading old float
14031 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14033 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14036 2001-08-13 Juergen Vigna <jug@sad.it>
14038 * text.C (fill): return 0 instead of 20 as this seems to be the more
14041 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14043 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14046 2001-08-13 Juergen Vigna <jug@sad.it>
14048 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14050 (SearchBackward): comment out the unlocking of the inset_owner this
14051 should not be needed!
14053 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14055 * Many files: Remove inherit_language, and add latex_language
14057 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14058 collapsible insets.
14060 2001-08-10 Juergen Vigna <jug@sad.it>
14062 * text.C (prepareToPrint): fixed hfill-width in draw!
14064 * BufferView2.C (selectLastWord): save the selection cursor as this
14065 now is cleared in the function LyXText::clearSelection!
14067 2001-08-08 Juergen Vigna <jug@sad.it>
14069 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14070 BACKSPACE type functions.
14072 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14073 is only cutted from the document but not put in the cut-buffer, where
14074 still the old stuff should be.
14076 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14078 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14080 * tabular.C (SetWidthOfCell): fixed special case where the width
14082 (LeftLine): handle '|' in align_special.
14084 (LeftAlreadyDrawed): ditto
14085 (SetWidthOfCell): ditto
14087 2001-08-07 Juergen Vigna <jug@sad.it>
14089 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14091 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14093 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14094 * lyxlex.[hC]: ditto
14096 2001-08-06 Juergen Vigna <jug@sad.it>
14098 * text.C (getVisibleRow): fix up row clearing a bit.
14100 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * minibuffer.C: make sure the X server sees the changes in the input.
14104 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14106 * paragraph.C (getFont): split into...
14107 (getLabelFont): this
14108 (getLayoutFont): and this
14109 * paragraph_pimpl.C (realizeFont): calling this
14111 * text2.C (getFont): split into...
14112 (getLayoutFont): this
14113 (getLabelFont): and this
14114 (realizeFont): all three calling this
14116 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14119 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14121 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14123 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14125 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14126 layouts from the Quote inset insertion.
14128 2001-08-03 Juergen Vigna <jug@sad.it>
14130 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14132 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14133 only if status not is already CHANGED_IN_DRAW (second level).
14135 * text.C (draw): don't set the need_break_row when inside an
14138 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14140 * buffer.C (parseSingleLyXformat2Token): handle more latex
14143 * bufferview_funcs.[hC]: change function names to
14144 begin with small char, adjust other files.
14146 2001-08-02 André Pönitz <poenitz@gmx.net>
14149 BufferView_pimpl.C: remove broken special code for math-greek
14151 2001-08-02 Juergen Vigna <jug@sad.it>
14153 * BufferView_pimpl.C (update): redone this function so that we
14154 update the text again if there was a CHANGE_IN_DRAW.
14156 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14157 (drawFromTo): added a new internal bool which is used by draw() and
14159 (general): some cursor drawing problems fixed.
14161 2001-08-01 Juergen Vigna <jug@sad.it>
14163 * lyxfind.C (LyXFind): fixed
14164 (SearchForward): ditto
14165 (SearchBackward): ditto
14167 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14168 spurius drawing of the cursor in the main area.
14170 * text2.C (status): small fix which could lead to a segfault!
14171 (clearSelection): remove unneeded BufferView param.
14173 2001-08-01 André Pönitz <poenitz@gmx.net>
14175 * lyxfunc.C: small change due to changed mathed interface
14177 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14179 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14181 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14183 * lyxfunc.c: fail gracefully if file doesn't exist
14188 * BufferView_pimpl.C: IsDirWriteable() proto changed
14190 * LyXView.C: fix updateWindowTitle() to store the last title
14192 2001-07-31 Juergen Vigna <jug@sad.it>
14194 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14195 the font (wrong since using of Paragraph::highestFontInRange).
14197 * paragraph.C (highestFontInRange): added a default_size parameter.
14199 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14200 (setHeightOfRow): reformat
14202 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14204 * converter.[hC] + affected files: move to (inital-char)lowercase
14207 * ParagraphParameters.C (ParagraphParameters): remove commented code
14209 * PainterBase.[Ch]: remove commented code
14211 * LaTeXFeatures.h: add "bool floats" for float.sty
14213 * LaTeXFeatures.C (LaTeXFeatures): init floats
14214 (require): handle float
14215 (getPackages): do it with floats
14217 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * BufferView_pimpl.C (Dispatch): improve handling of
14220 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14222 * commandtags.h: #include lyxfont.h here temporarily to avoid
14225 * bufferlist.h: include LString.h here.
14227 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14229 * text2.C (getStringToIndex): new method.
14231 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14233 * *: Reduced header file dependencies all over.
14235 2001-07-30 Baruch Even <baruch@lyx.org>
14237 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14239 2001-07-29 Baruch Even <baruch@lyx.org>
14241 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14243 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * ParameterStruct.h (endif): add a default constructor to make
14246 sure that all variables is initialized.
14248 * ParagraphParameters.C (ParagraphParameters): adjust
14250 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14253 index; also, check that there is something to index, and that it
14254 does not span over several paragraphs.
14255 (doubleClick): use WHOLE_WORD_STRICT for double click.
14257 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14259 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14262 2001-07-26 Baruch Even <baruch@lyx.org>
14264 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14265 an InsetFig figure, backwards compatible reading of old figure code.
14267 2001-07-27 Juergen Vigna <jug@sad.it>
14269 * text2.C: font.realize function adaption.
14271 * text.C (draw): add a warnings lyxerr text if needed.
14273 * layout.C: font.realize function adaption.
14275 * language.C: add inherit_language and implement it's handlings
14277 * bufferview_funcs.C (StyleReset): remove language parameter from
14278 font creation (should be language_inherit now).
14280 * bufferparams.C (writeFile): handle ignore_language.
14282 * paragraph.C (getFontSettings): the language has to be resolved
14283 otherwise we have problems in LyXFont!
14285 * lyxfont.C (lyxWriteChanges): added document_language parameter
14286 (update): removed unneeded language parameter
14288 * paragraph.C (validate): fixed wrong output of color-package when
14289 using interface colors for certain fonts in certain environments,
14290 which should not seen as that on the final output.
14292 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14294 * BufferView_pimpl.C:
14299 * LyXAction.C: add thesaurus support
14302 * lyxfind.C: add "once" parameter, for thesaurus, to not
14303 move to the next match
14305 2001-07-26 Juergen Vigna <jug@sad.it>
14307 * lyxfont.C (realize): honor ignore_language too!
14310 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14312 * text.C (draw): one place more for ignore_language to not draw
14315 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14317 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14319 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14321 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14322 the minipage conversion problem.
14324 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14326 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14329 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14331 * BufferView.h: don't forward declare WorkArea
14333 * BufferView.C: don't include WorkArea.h
14335 2001-07-25 André Pönitz <poenitz@gmx.net>
14339 * lyxfunc.C: new LFUN 'math-space'
14341 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14343 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14345 * text2.C (toggleInset): call open/close
14347 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * lyxfunc.C (dispatch): add debug for the disabled case
14351 * font.C (buttonText): make similar to rectText
14353 * buffer.C (readInset): comment out parsing of insetlist and
14356 * PainterBase.C (rectText): small correction
14358 * BufferView_pimpl.C: comment out insettheorem and insetlist
14359 * LyXAction.C: ditto
14360 * commandtags.h: ditto
14362 2001-07-24 Juergen Vigna <jug@sad.it>
14364 * text.C (draw): honor the ignore_language.
14366 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14368 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14370 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14373 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14375 * lyxtext.h: remove unused (and unimplemented) methods
14377 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14379 * text.C (getVisibleRow): honor background color
14382 * Painter.h: remove default color argument for fillRectangle
14384 * text.C (backgroundColor): new method
14386 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * text.C (getVisibleRow): adjust
14390 * font.[Ch] (rectText): new method, metrics
14391 (buttonText): new method, metrics
14393 * PainterBase.[hC]: make rectText and buttonText always draw and take
14396 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14398 * ToolbarDefaults.C (read):
14399 * MenuBackend.C (read): allow escaping in all strings
14401 * BufferView_pimpl.C (insertAndEditInset): new method.
14402 (Dispatch): use insertAndEditInset whenever appropriate.
14404 * BufferView_pimpl.C (insertNote): removed
14406 * BufferView_pimpl.C (smartQuote): new method, moved from
14407 BufferView; if an insetquote cannot be inserted, insert a '"'
14410 * BufferView2.C: remove insertCorrectQuote();
14412 * lyxfunc.C (getStatus): Add support for all remaingin
14413 inset-insert lfuns.
14415 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14417 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14418 command (necessary to pass " as parameter of self-insert.
14420 * text.C (selectWordWhenUnderCursor):
14421 (selectWord): add word_location parameter
14422 (selectWordWhenUnderCursor): same + remove special code for word
14424 (selectNextWord): use kind() to guess type of insetspecialchar,
14427 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14428 (insertErtContents): create ert insets as collapsed.
14429 (readInset): better compatibility code for Info inset.
14431 2001-07-20 Juergen Vigna <jug@sad.it>
14433 * lyxfunc.C (dispatch): use always LyXFind now!
14435 * text2.C (init): add a reinit flag so that the LyXText can be
14436 reinited instead of deleted and reallocated (used in InsetText).
14438 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14444 2001-07-18 Juergen Vigna <jug@sad.it>
14446 * text.C (selectNextWord): handle insets inside inset by calling
14447 always the bv->text functions so that we can go up the_locking_inset!
14449 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14450 in strange locations when inside an inset!
14452 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14453 handling to include insets.
14455 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14457 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14459 * LyXAction.C (init):
14461 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14462 LIGATURE_BREAK, since the name is so stupid.
14464 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14466 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14469 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14471 * sp_form.[Ch]: remove.
14473 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14475 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14478 * src/buffer.C (readInset): ditto.
14480 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14482 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14483 menuSeparator(), endOfSentenceDot(), ldots() and
14484 hyphenationPoint(), which are therefore removed.
14485 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14487 * LyXAction.C (init):
14488 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14490 * paragraph.C (getWord): removed.
14492 * BufferView_pimpl.C (Dispatch): use last word or selection for
14493 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14495 * lyx_main.C (queryUserLyXDir): do not ask before creating
14496 user_dir, except if it has been named explicitely.
14498 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14500 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14501 a document of zero size.
14503 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14505 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14506 approriately in the c-tor and in require().
14507 (getPackages): output the appropriate LaTeX for natbib support.
14509 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14510 variables "use_natbib" and "use_numerical_citations" when reading the
14512 (readInset): read the various natbib cite commands.
14513 (validate): white-space change.
14515 * bufferparams.[Ch]: new variables "bool use_natbib" and
14516 "bool use_numerical_citations".
14517 (writeFile): output them in the LyX file.
14519 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14521 * lyxfunc.C (getStatus): add support for all the inset insertion
14524 * text2.C (insertInset):
14525 * paragraph.C (insetAllowed):
14526 * BufferView_pimpl.C (insertInset): update to take in account the
14527 renaming of insertInsetAllowed
14529 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14531 * text2.C (getInset): new method. returns inset at cursor position.
14533 * BufferView_pimpl.C (Dispatch): changes because of this.
14535 * LyXAction.C (init): rename open-stuff to inset-toggle.
14537 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14539 * text2.C (toggleInset): renamed from openStuff; use
14542 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14544 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14546 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14548 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14550 * buffer.C (readLyXformat2): Add filename to the error dialog
14552 2001-07-18 Juergen Vigna <jug@sad.it>
14554 * tabular.C (GetCellNumber): put an assert here instead of the check!
14556 2001-07-17 Juergen Vigna <jug@sad.it>
14558 * BufferView_pimpl.C (toggleSelection): adapted too.
14560 * text.C (selectNextWord): adapted for use with insets.
14561 (selectSelectedWord): ditto
14563 2001-07-17 Juergen Vigna <jug@sad.it>
14565 * sp_spell.C (PSpell): fix initialitation order.
14567 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14569 * paragraph.C: spacing
14571 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14573 * sp_spell.C: repair language selection for pspell
14575 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14577 * lyxfunc.h: change more methods to begin with lower char.
14579 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14581 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14582 for unknown layouts.
14584 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14586 * buffer.C (readLyXformat2): Generate an error dialog if there are
14589 2001-07-16 Juergen Vigna <jug@sad.it>
14591 * sp_spell.C: always compile ISpell part.
14593 * lyxrc.C: added use_pspell entry and it's handling.
14595 2001-07-13 Juergen Vigna <jug@sad.it>
14597 * sp_spell.C: removed double includes.
14599 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14601 Consistent use of Lsstream.h:
14602 * Lsstream.h: added using std::stringstream for consistencies sake.
14604 * buffer.C: removed using std::stringstream
14606 * lyxfont.C (stateText):
14607 * paragraph.C (asString):
14608 * text.C (selectNextWord, selectSelectedWord):
14609 * text2.C (setCounter):
14610 * vspace.C (asString, asLatexString):
14611 std::ostringstream -> ostringstream.
14613 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14615 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14616 * commandtags.h: add LFUN_HELP_ABOUTLYX
14617 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14619 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14621 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14623 * lyx_gui_misc.C: remove spellchecker
14624 * lyxfunc.C: showSpellchecker
14626 * sp_ispell.h: added
14627 * sp_pspell.h: added
14628 * sp_spell.C: added
14629 * sp_form.[Ch]: removed
14630 * spellchecker.[Ch]: removed
14632 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14634 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14636 (simpleTeXSpecialChars): Simply print the input character without
14637 any special translation if pass_thru is set.
14639 * layout.h: Added bool pass_thru to layout class for being able to
14640 implement pass through of a paragraph for Literate Programming.
14642 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14643 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14644 * layout.C (Read): add "passthru" to list of layout tags and add
14645 code to set the pass_thru boolean when it is read.
14647 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * trans_decl.h: remove allowed from KmodInfo
14651 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14652 remove allowed code
14655 * paragraph_pimpl.C (erase): use boost::prior
14657 * Painter.C (text): use data() instead of c_str() when length is
14659 * WorkArea.C (putClipboard): ditto
14660 * font.h (width): ditto
14662 * BufferView2.C: use it-> instead of (*it). for iterators
14664 * paragraph_pimpl.C: ditto
14665 * paragraph.C: ditto
14666 * minibuffer.C: ditto
14667 * language.C: ditto
14669 * encoding.C: ditto
14670 * counters.C: ditto
14671 * converter.C: ditto
14673 * Variables.C: ditto
14674 * TextCache.C: ditto
14675 * MenuBackend.C: ditto
14676 * LyXAction.C: ditto
14678 * FloatList.C: ditto
14679 * DepTable.C: ditto
14680 * ColorHandler.C (LyXColorHandler): ditto
14682 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14686 * text2.C (openStuff): reintroduce this method (which had been
14687 nuked in NEW_INSETS frenzy).
14689 * lyxfunc.C (Dispatch): when an action has not been handled, use
14690 its name in the error message, not its number.
14692 * paragraph.C (inInset): change method name to begin with lowercase.
14695 * text2.C: updates because of this.
14697 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14699 * ToolbarDefaults.C (add): add spaces in error message
14701 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14703 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14704 (readLyXformat2): rename return_par to first_par, use lyxlex's
14705 pushToken and remove the manual push handling.
14706 (parseSingleLyXformat2Token): add another ert comp. variable:
14707 in_tabular, rename return_par to first_par. handle newlines better
14709 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14711 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14713 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14715 * text2.C (getParFromID): removed
14717 * buffer.C (getParFromID): new method moved form lyxtext.
14718 * BufferView2.C (insertErrors): adjust
14719 (setCursorFromRow): adjust
14720 * BufferView_pimpl.C (restorePosition): adjust
14721 * lyxfunc.C (Dispatch): adjust
14722 * undo_funcs.C (textUndo): adjust
14724 (textHandleUndo): adjust
14725 (textHandleUndo): adjust
14727 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * buffer.C: up' the LYX_FORMAT
14731 * lyxfont.h: turn NO_LATEX on as default
14733 * buffer.C (insertErtContents): new methods of tex style compability.
14734 (parseSingleLyXformat2Token): use it several places.
14735 * tabular.C (OldFormatRead): and here
14737 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14739 * text2.C: remove some commented code.
14742 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14743 * trans.C: changes because of the above.
14745 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14747 * text2.C (setCounter): Fix counters bug with bibliography layout.
14749 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14752 own member functions
14753 (simpleTeXSpecialChars): ditto
14755 2001-07-06 Juergen Vigna <jug@sad.it>
14757 * a lot of files: changed the access to LyXText::status and the
14758 call of undo-functions.
14760 * undo.[Ch]: added a inset_id to the undo informations.
14762 * undo_funcs.[Ch]: added and moved here all undo functions.
14764 * lyxtext.h: give the status enum a weight, made status_ a private
14765 variable and made accessor functions for it, removed the whole bunch
14766 of undo-functions as they are now in their own file, make some
14767 functions publically available. Added function ownerParagraph with
14770 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14771 made InInset() a const function, added getParFromID() function.
14773 * buffer.[Ch]: added const version for inset_iterator functions,
14774 added getInsetFromID() function.
14776 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14777 changed undo functions for new version.
14779 2001-07-05 Juergen Vigna <jug@sad.it>
14781 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14782 unknow mechanism does not call the proper constructor but only this
14783 one also if I request the other!?
14785 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14787 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14789 * text2.C (LyXText): use initialization lists.
14791 * lyxtext.h (Selection): initialize set_ and mark_
14792 (init): remove method
14794 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14796 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14798 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14800 * screen.[Ch]: change method names to begin with lowercase
14802 * BufferView_pimpl.C (updateScrollbar): simplify further and
14803 hopefully make it a bit faster.
14805 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14808 calling directly xforms functions.
14810 * Painter.C (Painter):
14811 * lyx_cb.C (MenuWrite):
14812 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14815 * lyx_gui.C: remove bogus guiruntime extern declaration.
14817 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14819 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14821 (redoDrawingOfParagraph): ditto
14822 (redoParagraphs): ditto
14823 (cutSelection): don't create a object for CutAndPaste use the
14824 static method directly
14825 (pasteSelection): ditto
14827 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14830 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14832 * modifications to some other files because of this.
14834 * Makefile.am (lyx_SOURCES): add XFormsView
14836 * XFormsView.[Ch]: new files
14838 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14839 the main window. Move the gui dependent stuff to XFormsView
14841 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14843 * tabular.C (GetCellInset): update cur_cell also in the row/col
14844 version of this function.
14846 * lyxfunc.C: no need to include figure_form.h here.
14852 * lyxvc.C: no need to include forms.h here.
14854 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14856 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14858 * lyxfunc.C (Dispatch):
14860 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14861 constructor argument.
14863 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14865 * paragraph.C (Paragraph): dont't clear, and just set layout.
14866 (makeSameLayout): use params's copy contructor.
14868 * ParagraphParameters.[Ch] (makeSame): delete method
14870 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14872 * Variables.[Ch]: fix indentation, rename set to isSet
14874 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * lyxfunc.C (Dispatch): fix typo
14878 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14883 * bufferlist.C: include assert.h for emergencyWrite().
14885 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14887 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14888 give up at last (bug #425202) !
14890 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14896 * spellchecker.C: strip spellchecker options and bring up
14897 preferences tab instead
14899 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14901 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14902 the istringstream constructor
14904 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * paragraph.C (getLayout): fix return value
14908 * paragraph.h: do not declare getLayout as inline.
14910 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14912 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * lyxcursor.h (operator<): new func
14915 (operator>): new func
14916 (operator>=): new func
14917 (operator<=): new func
14919 * text.C (changeCase): use selection.start and selection.end
14920 (changeRegionCase): require from to be <= to. Require par to be a
14923 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14925 2001-06-27 Juergen Vigna <jug@sad.it>
14927 * text.C (cursorLeftOneWord): changed to return the cursor and added
14928 overlay with BufferView * parameter which calls this one.
14930 (selectWord): use new getWord function.
14931 (changeCase): renamed from changeWordCase as and extended to work
14932 also on selections.
14934 * lyxtext.h: added enum word_location
14936 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14937 changeCase as this operates now also on selections.
14939 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14941 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14943 * many files: send debug output to Debug::INFO instead of
14946 * converter.C (View):
14948 (Move): send debug output to Debug::FILES instead of console.
14950 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14952 * lyxfunc.C (getStatus): use func_status
14954 * func_status.h: new header, describing the results of
14955 LyXFunc::getStatus;
14957 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14960 2001-06-25 The LyX Project <jug@sad.it>
14962 * buffer.C (sgmlOpenTag):
14964 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14966 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14968 * text2.C: remove some dead code
14970 * tabular.C (GetCellInset): store the last cell checked (gotten)
14972 * tabular.h: add the helper for the speedup
14974 * lyxtext.h: remove some dead code
14976 2001-06-26 The LyX Project <Asger>
14978 * paragraph.C: Change export to LaTeX of alignment to
14979 \begin{center} and family for better roundtrip work with reLyX.
14981 * Tune the math drawing a bit.
14983 2001-06-25 The LyX Project <Asger>
14985 * LColor.C (LColor): New color for math background. New color
14988 2001-06-25 The LyX Project <jug@sad.it>
14990 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14992 * lyxfunc.C (Open):
14993 * bufferlist.C (newFile): do not restrict to files ending with
14996 * BufferView_pimpl.C (MenuInsertLyXFile):
14998 2001-06-24 The LyX Project <jug@sad.it>
15000 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15003 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15005 * lyxtext.h: rename most methods to begin with a small char.
15006 Lots of changes because of this.
15008 * paragraph.C (Paragraph): do not call fitToSize
15009 (erase): call Pimpl::erase
15010 (insertChar): call Pimpl::insertChar
15011 (insertInset): call Pipl::insertInset
15012 (breakParagraph): do not call fitToSize
15013 (breakParagraphConservative): do not call fitToSize
15014 (fitToSize): remove method
15016 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15018 2001-06-24 The LyX Project <Asger>
15020 * Fix Qt compilation^2
15022 2001-06-24 The LyX Project <jug@sad.it>
15024 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15025 depthHook(getDepth()-1).
15028 * ParagraphParameters.h:
15029 * ParameterStruct.h: change type of depth to unsigned int ==
15030 depth_type. Many adaptations to other files before of that.
15032 2001-06-24 The LyX Project <Asger>
15034 * Fix Qt compilation.
15036 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15038 * paragraph.h: renamed several methods to begin with small letter.
15039 several changes to many parts of the code because of this.
15041 2001-06-23 The LyX Project <jug@sad.it>
15043 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15044 rewritten to discard all double spaces when KeepEmpty is off
15045 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15046 to only handle newlines but not fiddle with spaces and friends.
15048 * lyxfunc.C (MenuNew): when doing 'new from template', use
15049 template_path as default directory
15051 2001-06-23 The LyX Project <Asger>
15053 * Clean-up of header file includes all over
15054 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15056 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15058 * paragraph.h: renamed from lyxparagraph.h
15060 2001-06-23 Asger <lyx@violet.home.sad.it>
15062 * Buffer.h: Removed Buffer::resize
15063 * BufferList.h: Removed BufferList::resize
15064 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15065 the document lazily when we change the width, or the font settings.
15067 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15069 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15071 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15073 * buffer.h: remove out of date comment
15075 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15078 * screen.C: fix "theoretical" GC leak
15080 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15082 * LaTeX.C (scanAuxFile):
15083 (deplog): remove trailing \r when reading stream (useful under
15086 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15088 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15089 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15090 and BufferView::theLockingInset(Inset*), so should use them and not
15091 access bv_->text->the_locking_inset directly.
15093 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15095 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15098 * tex-defs.h: remove old unused file
15100 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15102 * BufferView_pimpl.C: fix typo, remove minibuffer message
15103 when buffer has loaded
15105 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * lyxfunc.C (Dispatch): use stringstream
15108 (MenuNew): use stringstream
15109 (Open): use stringstream
15111 * importer.C (Import): use stringstream
15113 * bufferview_funcs.C (CurrentState): use stringstream
15115 * LaTeX.C (run): use stringstream
15117 * BufferView_pimpl.C (savePosition): use stringstream
15118 (restorePosition): use stringstream
15119 (MenuInsertLyXFile): use stringstream
15121 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15134 * vspace.C: removed // -*- C++ -*- as first line.
15137 * version.h: added // -*- C++ -*- as first line.
15139 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15143 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15146 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15151 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15153 * gettext.C: include LString.h even when --disable-nls is on.
15155 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15157 * converter.h (Get): changed argument type from int to
15158 FormatList::size_type to avoid unnecessary conversion.
15160 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15163 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * gettext.h: include LString.h even when --disable-nls is on.
15167 2001-06-07 Juergen Vigna <jug@sad.it>
15169 * text.C (BreakAgain): subst spaces with tabs.
15171 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15172 (resizeInsetsLyXText): set force on resizeLyXText.
15174 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * gettext.h (gettext_init):
15177 (locale_init): use a real definition instead of a macro
15179 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15181 * Bufferview_pimpl.C:
15183 * LColor.C: further lcolor tidies
15185 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15187 * BufferView_pimpl.C (updateScrollbar): simplify.
15189 * BufferView2.C: don't include insets/insetinfo.h, change
15190 prototype for insertInset and call the Pimpl version. let
15191 updateInset call Pimpl version.
15193 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15194 gotoInset to BufferView::Pimpl
15196 2001-06-01 Juergen Vigna <jug@sad.it>
15198 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15199 inside a LockingInset (is the update needed at all?).
15201 2001-05-31 Juergen Vigna <jug@sad.it>
15203 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15204 here not the old one otherwise how should we compare it afterwards
15207 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15212 * FontInfo.C: bring C functions into global namespace when
15215 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * LString.h: make sure config.h has been loaded before LString.h.
15219 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15220 (one for each char read by EatLine!).
15222 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15225 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15228 to the same as the par we break from
15230 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15232 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15234 * MenuBackend.C (expand): also create menu entries for wide
15235 versions of the floats.
15237 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15239 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15241 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15242 frontends/Makefile.am
15248 * tabular.C (getTokenValue): add std::
15250 * tabular-old.C (getTokenValue): add std::
15251 (getTokenValue): ditto
15252 (getTokenValue): ditto
15254 * screen.C (ToggleSelection): adjust
15256 * lyxtext.h: put selection cursors inside a Selection struct.
15258 * lyxfunc.C (moveCursorUpdate): adjust
15260 * lyxfont.C (latexWriteStartChanges): add std::
15262 * lyxfind.C: adjust
15264 * font.h: delete with(char const *, LyXFont const &)
15266 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15268 * FontInfo.C (getFontname): add std::
15270 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15271 (workAreaButtonPress): adjust
15272 (tripleClick): adjust
15274 (moveCursorUpdate): adjust
15277 * BufferView2.C (gotoInset): adjust
15279 2001-05-30 Juergen Vigna <jug@sad.it>
15281 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15282 to check pspell I add this as default as I now have new pspell
15283 libraries and they seem to use this.
15285 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15287 * text2.C (CutSelection): make the cursor valid before the call to
15290 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15292 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15293 relied on 0 terminated strings and other horrors. Bug found due to
15294 the new assert in lyxstring!
15296 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15299 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15304 * lyxfunc.C (processKeySym): change method of getting to the
15307 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15308 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15309 * BufferView_pimpl.[Ch]: here as private methods.
15311 2001-05-28 Juergen Vigna <jug@sad.it>
15313 * text.C (SetHeightOfRow): added the update() call again as it is
15314 needed to initialize inset dimensions!
15316 2001-05-16 Juergen Vigna <jug@sad.it>
15318 * text2.C (SetCharFont): Add new function with BufferView * and
15319 bool toggleall parameters for setting insets internal fonts.
15320 (SetFont): Freeze the undo as we may change fonts in Insets and
15321 all this change should be inside only one Undo!
15323 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15324 setting font's in insets as for them we have the SetFont function!
15326 2001-05-15 Juergen Vigna <jug@sad.it>
15328 * text2.C (ClearSelection): to be sure we REALLY don't have any
15331 * tabular.C (TeXCellPreamble): fixed the left border problem for
15334 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15336 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15339 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15341 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15342 LFUN_BREAKPARAGRAPH.
15344 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15345 help test to "internal only", similar for LFUN_INSERT_URL
15347 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15348 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15349 auto_region_delete and deadkeys.
15351 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15354 * LColor.C: remove some dead entries, tidy a little
15356 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15358 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15360 (Dispatch): implement LFUN_ESCAPE
15362 * commandtags.h: add LFUN_ESCAPE
15364 * LyXAction.C (init): add entry for LFUN_ESCAPE
15366 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15367 Remove commented code.
15368 (insertNote): moved here
15369 (open_new_inset): moved here
15371 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15374 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * kbmap.C (findbinding): clean it up and make it work correctly.
15378 * lyx_main.C (init): do not pass argc and argv as parameters
15380 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15382 * buffer.C: fix path for OS/2 & Win32
15386 * lyx_main.C: Added os:: class.
15388 * os2_defines.h: update
15390 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15392 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15393 better by trying again with reduced state.
15395 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15397 * lyxrc.C (read): print error about invalid key sequence only when
15398 debugging (because not all latinX keysyms are known to some X
15401 * kbsequence.C (getiso): add a few std:: qualifiers
15402 (getiso): comment out extra return statement.
15404 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15406 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15408 (Dispatch): enhance the accent inset a bit. (not perfect)
15410 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15412 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15414 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15416 * bufferlist.C (emergencyWrite): fix assert() call
15418 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15420 * text.C (InsertChar): Added trivial patch to only send the "you
15421 can not do multiple spaces this way" message once during a
15424 2001-05-08 Baruch Even <baruch@lyx.org>
15426 * Makefile.am: Changed order of libraries to get LyX to link properly
15427 with the gnome frontend.
15429 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15431 * LaTeXFeatures.h: add a std:: qualifier
15433 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * paragraph.C (String): use stringstream
15437 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * paragraph.C (writeFile): remove footflag arg
15441 * buffer.C (makeLaTeXFile): use stringstream
15442 (latexParagraphs): remove footnot gurba
15444 * LaTeXFeatures.C (getPackages): use stringstream
15445 (getMacros): likewise
15446 (getTClassPreamble): likewise
15447 (getFloatDefinitions): new method
15449 * paragraph.C (writeFile): reindent
15452 * WorkArea.h: revert the xpos + etc changes.
15454 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15456 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15458 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15459 (pasteSelection): likewise
15460 * text2.C (CreateUndo): likewise
15462 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15464 * minibuffer.C (peek_event): temporarily reduce the functionality
15465 of the minibuffer (to allow args on lfuns)
15467 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15468 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15470 * buffer.C (readInset): add compability reading of old float
15471 lists, add reading of new style float list.
15472 (readInset): avoid reevaluation of inscmd.getCmdName()
15473 (getLists): reindent
15475 * MenuBackend.C (MenuItem): implement parsing of
15476 md_floatlistinsert and md_floatinsert.
15477 (expand::LastFiles): move initalizaton of iterators out of loop,
15478 avoid reevaluation.
15479 (expand::Documents): introduce typdedef vector<string> Strings,
15481 (expand::ExportFormats): introduce typedef vector<Format const *>
15482 Formats, and use it.
15483 (expand): implement FloatListInsert and FloatInsert.
15485 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15486 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15487 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15489 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15491 (Dispatch::LFUN_FLOAT_LIST): implement
15493 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15495 * LaTeX.C (run): Fix problem with --export code.
15497 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15499 * BufferView.[Ch] (workarea): removed.
15500 (getClipboard) new method; wrapper for workarea()->getClipboard()
15502 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15505 * WorkArea.h (width, height, xpos, ypos): These methods all
15506 returned the dimensions of the work_area sub-area of WorkArea,
15507 resulting in a position error if the WorkArea were resized. Now
15508 return the dimensions of the entire WorkArea.
15510 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15512 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15514 * LaTeX.C (deplog): correct the syntax of regex reg1
15516 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15518 * undo.C: remove !NEW_INSETS cruft
15520 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15522 * text2.C: remove !NEW_INSETS cruft
15524 * text.C: remove !NEW_INSETS cruft
15526 * tabular.C: remove !NEW_INSETS cruft
15528 * spellchecker.C: remove !NEW_INSETS cruft
15530 * lyxtext.h: remove !NEW_INSETS cruft
15532 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15534 * lyxfunc.C: remove !NEW_INSETS cruft
15536 * lyxfind.C: remove !NEW_INSETS cruft
15538 * lyx_cb.C: remove !NEW_INSETS cruft
15540 * figureForm.C: remove !NEW_INSETS cruft
15542 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15544 * buffer.[Ch]: remove !NEW_INSETS cruft
15546 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15548 * CutAndPaste.C: remove !NEW_INSETS cruft
15550 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15552 * BufferView2.C: remove !NEW_INSETS cruft
15554 * BufferView.h: remove !NEW_INSETS cruft
15556 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15558 * Lsstream.h: include LString.h before the sstream headers to
15559 fix problem with gcc 2.95.3 and lyxstring
15561 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * lyx_main.C: add using directives when needed for C functions
15564 declared in std:: namespace.
15566 2001-04-27 Juergen Vigna <jug@sad.it>
15568 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15569 (SetHeightOfRow): comment out the update call should not be needed!
15571 2001-04-13 Juergen Vigna <jug@sad.it>
15573 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15574 (LyXTabular): tried to minimize operator= operations (and realized
15575 hopfully Lars wish).
15577 2001-04-27 Juergen Vigna <jug@sad.it>
15579 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15581 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15583 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15585 * buffer.C (readInset): hack to make listof algorithm work
15587 * BufferView_pimpl.C: hack to make listof algorithm work
15589 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * LyXAction.C: removed all !NEW_INSETS cruft
15592 (init): moved lfun_item in method
15594 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15596 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15598 * BufferView2.C (theLockingInset): white space.
15600 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15602 * minibuffer.C: include <iostream>
15604 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15606 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15608 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15610 * text.[Ch] (TransposeChars): new method
15612 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * call message directly through LyXView instead of through LyXFunc
15615 * BufferView2.C: adjust
15616 * BufferView_pimpl.C: adjust
15617 * FontLoader.C: adjust
15619 * bufferview_funcs.C: adjust
15620 * converter.C: adjust
15621 * figureForm.C: adjust
15622 * importer.C: adjust
15624 * lyx_gui_misc.C: adjust
15625 * lyxfunc.C: adjust
15628 + more files in subdirs
15630 * lyxparagraph.h (size): move up int file
15633 * adjust all uses of Assert to lyx::Assert.
15635 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15636 lyxfunctional in namespace lyx
15637 * layout.C (hasLayout): ditto
15640 (delete_layout): ditto
15641 (NumberOfClass): ditto
15642 * converter.C (GetFormat): ditto
15647 * bufferlist.C (getFileNames): ditto
15648 (emergencyWriteAll): ditto
15651 * MenuBackend.C (hasSubmenu): ditto
15654 * BufferView_pimpl.C (getInsetByCode): ditto
15656 2001-04-18 Juergen Vigna <jug@sad.it>
15658 * vspace.C (asLatexString): fixed the 100% problem.
15660 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15662 * lyxfunc.C (Dispatch):
15664 * minibuffer.h: add a few std:: qualifiers
15666 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15668 * minibuffer.[Ch]: reimplement so that commands is initiated and
15669 run from lyxfunc, simplified som handling, and made the completion
15670 and history code for complete. wip.
15672 * lyxfunc.C (processKeySym): call message
15673 (miniDispatch): new temporary method
15674 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15675 (LFUN_MESSAGE): implement
15676 (LFUN_MESSAGE_PUSH): implement
15677 (LFUN_MESSAGE_POP): implement
15678 (initMiniBuffer): the initial/defualt minibuffer message.
15680 * lyxfont.[Ch]: inline some more getters
15682 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15684 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15686 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15687 (AutoSave): use LFUN_MESSAGE
15688 (Reconfigure): ditto
15690 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15692 * figureForm.C: use LFUN_MESSAGE
15694 * converter.C (runLaTeX): use LFUN_MESSAGE
15696 * bufferview_funcs.C: use LFUN_MESSAGE
15698 (changeDepth): ditto
15700 * bufferparams.h: use boost::
15702 * bufferlist.h: inherit privately from noncopyable
15704 * bufferlist.C (loadLyXFile): remove some commented code.
15706 * buffer.C (runChktex): use LFUN_MESSAGE
15708 * ShareContainer.h: inherit privately from noncopyable
15710 * ParagraphParameters.[hC] (depth): inline it.
15712 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15714 (message): new method
15715 (messagePush): ditto
15716 (messagePop): ditto
15717 (show): init minibuffer
15718 (showState): direct call
15720 * LaTeX.[Ch]: inherit privately from noncopyable
15721 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15722 instead of WriteStatus.
15724 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15726 * BufferView_pimpl.C (buffer): don't init minibuffer
15727 (workAreaButtonPress): use LFUN_MESSAGE
15728 (workAreaButtonRelease): ditto
15729 (savePosition): ditto
15730 (restorePosition): ditto
15731 (MenuInsertLyXFile): ditto
15732 (workAreaExpose): don't init minibuffer
15733 (update): remove commented code, simplify
15735 * BufferView2.C (openStuff): use LFUN_MESSAGE
15736 (toggleFloat): ditto
15739 (copyEnvironment): ditto
15740 (pasteEnvironment): ditto
15745 (updateInset): remove some commented code
15747 * lastfiles.h: inherit privately from noncopyable
15750 * lyx_main.h: ditto
15752 * lyxlex_pimpl.h: ditto
15754 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15755 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15756 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15758 * LyXAction.h: inherit privately from noncopyable, add methods
15759 func_begin, func_end, returning iterators to the func map.
15761 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15762 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15763 (func_begin): new method
15764 (func_end): new method
15766 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15768 (copySelection): ditto
15769 (pasteSelection): ditto
15771 * BufferView.C: whitespace change
15772 * BufferView.h: inherit privately from noncopyable
15774 2001-04-16 Allan Rae <rae@lyx.org>
15776 * tabular-old.C (l_getline):
15777 * spellchecker.C (sc_check_word):
15778 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15779 an unrecognised preprocessor directive. So ensure they're wrapped.
15781 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15783 * src/exporter.C (Export): Give an error message when path to file
15786 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15788 * LaTeX.C (deplog): Always check that foundfile exists.
15790 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15793 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15795 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15797 * tabular.[Ch] (getLabelList): implement new method
15799 * minibuffer.h: comment ouf setTiimer
15801 * minibuffer.C (ExecutingCB): constify res
15802 (peek_event): constify s
15803 (Set): constify ntext
15804 (Init): constify nicename
15806 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15808 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15809 (savePosition): use two params to Minibuffer::Set
15810 (restorePosition): ditto
15812 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15814 * lyx_main.C: include language.h
15816 * Makefile.am (lyx_main.o): add language.h
15818 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15824 * CutAndPaste.C: include gettext.h
15826 * lyxfont.h: remove old hack with ON and OFF.
15829 * lyxfont.h: do not include language.h...
15834 * bufferview_funcs.C:
15840 * paragraph.C: ... but do it here instead
15842 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15844 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15846 * tabular.C: small reformat
15848 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15851 (BreakParagraph): ditto
15852 (SetOnlyLayout): ditto
15855 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15858 * lastfiles.C: removed most using decl, add std:: where needed
15860 * buffer.C: ws changes
15862 * MenuBackend.C (class compare_format): put into anon namespace
15863 (expand): constify label, names, action, action2
15866 * text.C (SingleWidth): constify font
15867 (IsBoundary): constify rtl2
15868 (GetVisibleRow): constify ww
15870 * LaTeX.C (deplog): constify logfile
15872 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15874 (workAreaExpose): constify widthChange, heightChange
15876 * lyxrow.C (par): moved
15879 * lyxrow.h: as inlines here
15881 * lyxfont.h (shape): moved from lyxfont.C
15882 (emph): moved from lyxfont.C
15884 * lyxfont.C (LyXFont): use initialization list for all
15886 (shape): move to lyxfont.h as inline
15887 (emph): move to lyxfont.h as inline
15890 2001-04-04 Juergen Vigna <jug@sad.it>
15892 * vspace.C: had to include stdio.h for use of sscanf
15894 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15897 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15898 independent of xforms.
15900 2001-04-02 Juergen Vigna <jug@sad.it>
15902 * spellchecker.C: fixed namespace placing!
15904 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15906 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15907 the LyXParagraph * is 0.
15909 2001-03-29 Juergen Vigna <jug@sad.it>
15911 * vspace.C: added support for %, c%, p%, l%.
15912 (stringFromUnit): added helper function.
15913 (asLatexString): changed to give right results for the %-values.
15915 * buffer.C: convert the widthp in a width%.
15917 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15919 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15922 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15923 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15925 * lyx_cb.[Ch]: see above.
15927 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15931 * lyx.[Ch]: replaced by figure_form.[Ch].
15935 * lyxfunc.C: changed headers associated with above changes.
15937 2001-03-27 Juergen Vigna <jug@sad.it>
15939 * BufferView_pimpl.C: set the temporary cursor right!
15941 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15943 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15945 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15947 * LString.h: removed "using std::getline"!
15949 * BufferView_pimpl.C (Dispatch): changes due to changes in
15950 InsetInclude::Params.
15952 * buffer.C (tag_name): removed redundant break statements as they were
15953 producing lots of warnings with my compiler.
15955 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15957 * LString.h: add "using std::getline" when using the real <string>.
15959 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15961 * buffer.C: removed bitset usage.
15962 PAR_TAG moved to an anonymous name space.
15963 (tag_name): new funtion, also in the anonymous namespace.
15964 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15965 (makeDocBookFile): clean code. Completed transition from string arrays
15967 (SimpleDocBookOnePar): code clean.
15969 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15971 * tabular.C: add some comments.
15973 2001-03-22 Juergen Vigna <jug@sad.it>
15975 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15976 compatibility read a bit and fixed bug with minipage in different
15979 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15981 * buffer.C (pop_tag): removed.
15982 (push_tag): removed.
15983 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15984 array replaced with vector. Added support for CDATA sections.
15985 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15987 (makeDocBookFile): XML conformant declaration of CDATA section,
15988 fixed bug related to <emphasis> in the first paragraph char.
15989 (sgmlOpenTag): exclude empty tags.
15990 (sgmlCloseTag): ditto.
15992 * buffer.h (pop_tag): removed.
15993 (push_tag): removed.
15995 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15997 * language.h (Languages): added size_type and size().
15999 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16001 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16002 response on compability reading of minipages. One probliem is that
16003 the old usage of minipages was «flertydig»
16005 * several files here and in subdirs: don't use static at file
16006 scope use anon namespaces instead.
16008 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16010 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16011 LaTeX output. This is necessary for Literate document
16014 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16016 * buffer.C: insert hfill when needed.
16018 * tabular.C (l_getline): use string::erase, small whitespace change.
16020 * BufferView_pimpl.C: try the anon namespace.
16021 * WorkArea.C: ditto
16023 2001-03-16 Juergen Vigna <jug@sad.it>
16025 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16026 otherwise it won't open options-dialogs.
16028 * buffer.C: honor pextraWidth(p) on converting minipages.
16030 * tabular.C (l_getline): changed the functions to strip trailing \r.
16032 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16034 * BufferView_pimpl.C:
16035 * minibuffer..C: added "using SigC::slot" declaration.
16037 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16039 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16045 * paragraph.C: ditto
16047 * lyxtext.h: NO_PEXTRA
16049 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16051 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16052 * ParameterStruct.h: ditto
16053 * ParagraphParameters.h: ditto
16054 * lyxparagraph.h: ditto
16056 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16058 * buffer.C: add compability for minipage alignment.
16059 (latexParagraphs): remove unwanted pextra check.
16061 * several files: remove CXX_WORKING_NAMESPACES
16063 * buffer.C (pop_tag): tie is in namespace boost
16065 * BufferView.h: noncopyable is in namespace boost
16067 * lyx_main.h: ditto
16070 * lastfiles.h: ditto
16071 * bufferlist.h: ditto
16072 * ShareContainer.h: ditto
16074 * LyXAction.h: ditto
16077 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16079 * Merging changes from BRANCH_MVC back into HEAD.
16081 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16083 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16085 * BufferView_pimpl.C: change from intl.C
16089 * Makefile.am: move combox.*
16095 * intl.C: remove dialog (covered by prefs)
16097 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16099 * lyxfunc.C (Dispatch): removed redundant break statement.
16101 2001-03-14 Juergen Vigna <jug@sad.it>
16103 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16105 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16107 * buffer.C: add hack to fix compability reading of minipages.
16109 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16111 * buffer.C (getLists): Cleanup.
16113 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16115 * lyxfont.C (update): don't honor toggleall on font size.
16117 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16121 * Makefile.am: moved to frontends/xforms/
16125 * BufferView_pimpl.C: changes for moved mathpanel
16127 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16129 * gettext.h: fix gettext_init() in --disable-nls
16131 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16133 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16135 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16138 * lyx.h: strip external form
16140 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16142 * BufferView_pimpl.C: add comment, destroySplash()
16144 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16146 * BufferView_pimpl.C:
16150 * lyxfunc.C: use re-worked insetinclude
16152 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16154 * buffer.C: add using std::stringstream.
16156 * lyx_cb.C: readd using std::ios.
16158 * buffer.C: add using std::map.
16160 * BufferView_pimpl.C: add using std::vector.
16162 * ShareContainer.h: add std:: to swap.
16164 * buffer.h: add some typedefs
16165 * buffer.C (getLists): use them
16166 (getLists): renamed from getTocList.
16167 add a counter for the different float types and use it in the
16169 (getLists): use the same counter for the NEW_INSETS and the "non"
16172 * lyx_cb.h: remove unused items, includes, using etc.
16174 * ShareContainer.h: remove some commented code, add more comments
16175 and "documentation".
16177 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16179 * buffer.C (getTocList): make the list also when NEW_INSETS is
16182 * buffer.h: remove TocType
16184 * buffer.C (getTocList): change to return a map<string,
16185 vector<TocItem> >, implement for dynamic number of list.
16187 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16188 * text2.C (PasteSelection): adjust
16189 * CutAndPaste.C (pasteSelection): adjust
16191 * FloatList.C (FloatList): update from the new_insets branch.
16192 * Floating.[Ch]: ditto
16193 * LaTeXFeatures.C: ditto
16195 * lyxlex_pimpl.C: ditto
16197 * paragraph.C (Last): remove when NEW_INSETS is defined.
16199 * other file: changes because of the above.
16201 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16203 * lyxparagraph.h: rename next to next_, previous to previous_,
16204 make them private for NEW_INSETS. Rename Next() to next(),
16205 Previous() to previous().
16207 * other files: changes because of the above.
16209 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16212 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16215 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16217 * main.C (main): pass lyx_localedir to gettext_init().
16219 * gettext.h: remove locale_init and gettext_init macros
16221 * gettext.C (locale_init): new function
16222 (gettext_init): new function
16224 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16227 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16229 * Moved credits to frontends:
16230 * credits.[Ch]: removed
16231 * credits_form.[Ch]: removed
16232 * lyx_gui_misc.C: remove credits stuff
16235 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16237 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16239 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16240 unneeded destructor.
16242 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16243 a standalone pointer again.
16245 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16247 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16253 * ToolbarDefaults.C:
16262 * BufferView_pimpl.C: use new file dialog in GUII
16265 * lyx_cb.C: remove LayoutsCB to Toolbar
16267 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16269 * ShareContainer.h (get): add std:: qualifier
16271 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16273 * ShareContainer.h: define a proper ShareContainer::value_type
16274 type (and use typename to please compaq cxx)
16276 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16278 * lyxparagraph.h: move serveral local vars to
16279 ParameterStruct/ParagraphParameters., use ShareContainer in
16280 FontTable., make vars in FontTable private and add getter and
16283 * paragraph.C: changes because of the above.
16285 * lyxfont.h: remove copy constructor and copy assignment. (the
16286 default ones is ok), move number inside FontBits. move inlines to
16289 * lyxfont.C: add number to initializaton of statics, move several
16290 inlines here. constify several local vars. some whitespace
16291 cleanup. Dont hide outerscope variables.
16293 * Spacing.h: add two new constructors to match the set methods.
16295 * ShareContainer.h: new file, will perhaps be moved to support
16297 * ParameterStruct.h: new file
16299 * ParagraphParameters.h: new file
16301 * ParagraphParameters.C: new file
16303 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16304 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16306 * BufferView_pimpl.C: ParagraphParameter changes.
16307 * buffer.C: Likewise.
16308 * bufferview_funcs.C: Likewise.
16309 * text.C: Likewise.
16310 * text2.C: Likewise.
16312 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16314 * lyxfind.C (LyXReplace): do not redefine default argument in
16316 (IsStringInText): ditto
16317 (SearchForward): ditto
16318 (SearchBackward): ditto
16320 2001-03-06 Juergen Vigna <jug@sad.it>
16322 * lyxfind.C (IsStringInText): put parentes around expressions.
16324 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16326 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16328 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16330 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16332 * stl_string_fwd.h: add comment
16334 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16337 * tabular.C: remove unused DocBook methods
16343 killed DO_USE_DEFAULT_LANGUAGE
16345 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16347 * lyx_gui.C: do not include language.h.
16349 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16350 arguments in function implementation.
16352 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16354 * BufferView_pimpl.C: add <ctime>
16356 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16358 * BufferView_pimpl.C: add using std::find_if
16360 2001-02-27 José Matos <jamatos@fep.up.pt>
16362 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16365 2001-02-11 José Matos <jamatos@fep.up.pt>
16367 * buffer.C (makeDocBookFile): command styles now have a parameter as
16368 "title" by default.
16370 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16372 * layout_forms.[Ch]: removed
16373 * lyx_cb.[Ch]: out character
16374 * lyx_gui.C: out character
16375 * lyx_gui_misc.C: out character
16376 * bufferview_funcs.C: : out character,
16377 added toggleall as parameter in ToggleAndShow
16379 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16381 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16383 * text2.C (SetCurrentFont): Disable number property at boundary.
16385 2001-02-26 Juergen Vigna <jug@sad.it>
16387 * lyxfunc.C (getStatus): added a string argument override function so
16388 that this is correctly called from LyXFunc::Dispatch if it contains a
16389 do_not_use_argument which is used!
16390 (Dispatch): added check for "custom" export and call appropriate func.
16392 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16394 * lyxrc.C: Add language_command_local, language_use_babel and
16395 language_global_options.
16397 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16399 * buffer.C (makeLaTeXFile): Use language_use_babel and
16400 language_global_options.
16402 2001-02-23 Juergen Vigna <jug@sad.it>
16404 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16405 which works with LyXText and putted it inside BufferView. Here now we
16406 only call for that part the BufferView::Dispatch() function.
16408 * BufferView.C (Dispatch): added.
16410 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16411 functions which needs to use a LyXText over from LyXFunc.
16412 (MenuInsertLyXFile): added
16413 (getInsetByCode): added
16414 (moveCursorUpdate): added
16415 (static TEXT): added
16417 2001-02-22 Juergen Vigna <jug@sad.it>
16419 * BufferView_pimpl.C (update): call a status update to see if LyXText
16422 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16424 * vc-backend.C (revert): implement for CVS
16425 (getLog): implement for CVS
16427 2001-02-20 Juergen Vigna <jug@sad.it>
16429 * text2.C (ClearSelection): added BufferView param for inset_owner call
16431 * lyxfunc.C (TEXT): added this function and use it instead of
16432 directly owner->view()-text of getLyXText().
16434 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16436 * src/layout_forms.C: out preamble
16437 * src/layout_forms.h: out preamble
16438 * src/lyx_cb.C: out preamble
16439 * src/lyx_cb.h: out preamble
16440 * src/lyx_gui.C: out preamble
16441 * src/lyx_gui_misc.C: out preamble
16442 * src/lyxfunc.C: connect with guii preamble
16444 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16446 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16448 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16450 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16451 whether to run bibtex.
16453 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16455 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16457 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16459 * Makefile.am (lyx_SOURCES): removed bibforms.h
16461 * vspace.h: doxygen
16463 * text.C (GetVisibleRow): make several local vars const
16465 * tabular.C: small cleanup.
16467 * lyxserver.C (callback): use compare instead of strncmp
16469 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16470 inlines to after class or to paragraph.C
16472 * lyxfont.h: remove friend operator!=
16474 * converter.h: move friend bool operator< to non friend and after
16477 * combox.h: small cleanup
16479 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16480 to inlines after class def.
16482 * buffer.C (pop_tag): use string operations instead of strcmp
16484 * bmtable.c: doxygen, small cleanup
16486 * LaTeX.h: remove friend operator==
16488 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16500 * BufferView_pimpl.C:
16501 * BufferView.[Ch]: remove cruft
16503 2001-02-14 Juergen Vigna <jug@sad.it>
16505 * lyxfunc.C: removed #if 0 unused code
16507 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16509 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16511 * text2.C (SetSelection): added a BufferView * parameter
16513 2001-02-13 Juergen Vigna <jug@sad.it>
16515 * lyxfunc.C (Dispatch): fixed protected blank problem.
16516 * BufferView2.C (protectedBlank): added LyxText * parameter.
16518 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16519 (AppendColumn): same as above for column_info.
16521 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16522 (moveCursorUpdate): use a LyXText param for support of InsetText.
16524 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16525 (tripleClick): ditto
16527 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16529 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16531 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16533 * text2.C (SetSelection): set correct update status if inset_owner
16534 (ToggleFree): ditto
16536 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16538 * tabular.C: remove some commented code.
16540 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16542 * BufferView_pimpl.C: call hideSplash()
16544 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16547 * bibforms.h: remove
16550 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16551 add LFUN_CHILD_CREATE
16553 * counters.h: fix tiny typo
16558 * lyx.C: move splash to frontends/xforms/
16560 * lyx_gui_misc.C: move Include and Bibform to frontends
16562 * lyxvc.h: clarify comment
16564 * vspace.C: tiny housekeeping
16566 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16568 * text.C (PrepareToPrint): RTL Fix.
16570 * paragraph.C (GetUChar): New method.
16571 (String): Use GetUChar.
16573 * buffer.C (asciiParagraph): Use GetUChar.
16575 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16577 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16579 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16582 * buffer.C: rename to getLogName(), handle
16583 build log / latex log nicely
16585 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16588 * MenuBackend.h: remove support for reference menuitem type.
16590 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16592 * BufferView_pimpl.C: housekeeping
16593 * BufferView_pimpl.h:
16598 * minibuffer.h: move Timeout GUI-I
16600 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16602 * lyxrc.C (read): Update converters data-structures.
16604 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16606 * LaTeX.h (operator!=): add operator != for Aux_Info
16608 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16610 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16612 * LaTeXLog.C: deleted, useful code moved to Buffer
16615 * buffer.C: new function getLatexLogName()
16621 * lyxfunc.C: use frontends for LaTeX and VC logs
16623 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16625 * LaTeX.h: yet another std:: that Allan forgot.
16627 * Variables.C (set): renamed from isset(), because this clashes
16628 with some HP-UX macros (grr).
16630 2001-02-06 Allan Rae <rae@lyx.org>
16632 * LaTeX.h: Another bug fix. Missing std:: this time.
16634 2001-02-04 Allan Rae <rae@lyx.org>
16636 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16637 floats problem. I've left it commented out because it's not quite
16638 correct. It should also test that the current object is a table or
16639 figure inset. But I haven't gotten around to figuring out how to do
16640 that. I *think* it'll be something like: "table" == inset.type()
16642 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16645 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16647 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16648 all the citation/databases/styles in the auxilary file.
16649 (run): Rerun latex if there was a babel language error.
16651 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16653 * text.C (Backspace): Preserve the font when changing newline char
16655 (BreakParagraph): If the cursor is before a space, delete the space.
16657 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16659 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16661 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16662 new argument (code).
16663 (ChangeCitationsIfUnique): New method.
16665 * paragraph.C (GetPositionOfInset): Handle bibkey.
16667 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16669 * BufferView_pimpl.h: change type of Position::par_pos to
16670 LyXParagraph::size_type.
16672 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16674 * BufferView_pimpl.C (savePosition, restorePosition): Write
16675 messages to minibuffer.
16677 2001-01-28 José Matos <jamatos@fep.up.pt>
16679 * buffer.C (makeDocBookFile): adds support for document language.
16680 A silly restriction on the name of LatexCommand types where removed.
16681 Added support for CDATA sections, allows to chars unescaped, used
16682 among others in code, to avoid escape < and >.
16684 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16686 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16687 saved positions instrad of a stack. Furthermore, a position is
16688 stored using paragraph id/paragraph position.
16690 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16691 Remove LFUN_REF_BACK.
16693 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16695 * converter.C (dvipdfm_options): New method.
16697 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16699 * vspace.C (isValidLength): Fix for empty input string.
16701 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16703 * LyXAction.C (init): change description of LFUN_FIGURE to
16706 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16708 * LaTeX.C: add using directive
16710 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16712 * MenuBackend.C (expand): Fix the sorting of the formats.
16714 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16716 * lyx_main.C: tiny error message fix
16718 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16720 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16721 calling fl_initialize(). This fixes the problem with ',' as
16722 decimal separator in text files.
16724 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16726 * trans.C (process): Fix the keymap bug.
16728 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16730 * LaTeX.C (scanAuxFiles): New method. Provides support for
16731 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16732 (scanLogFile) Scan for "run BibTeX" messages.
16734 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16735 OT1 font encoding. Also, load the aecompl package if the ae
16738 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16740 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * texrow.C (increasePos): turn two error messages into debug
16745 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16747 * LaTeX.C (scanAux): Handle the \@input macro.
16748 (runBibTeX): Use scanAux().
16750 * language.C (latex_options_): New field.
16752 * LaTeXFeatures.C (getMacros): Add language macros.
16754 * buffer.C (makeLaTeXFile): Small fix.
16756 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16758 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16760 * text2.C: add a using directive.
16762 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16767 * lyxfunc.C: kill LyXBell.
16769 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16771 * text.C (IsBoundary): Remove the error message
16773 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16775 * lyxrc.C (setDefaults): Correct initialization value for
16778 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16780 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16783 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16784 and GotoNextNote().
16786 * src/LyXAction.C: Added reference-next.
16788 * text.C (InsertChar): Use contains instead of strchr.
16790 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16792 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16794 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16795 alignment commands (when needed).
16797 * text.C (InsertChar): Add ':' to number separator chars.