1 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * tabular.C: make all write_attributes templates, tostr -> convert
5 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
6 (emptyTag): and -> &&, and fix type for ret from getChar
7 (getFirstWord): fix type for ret from getChar
9 (simpleDocBookOnePar): and not -> && !, fix type for ret from
12 * toc.C (goTo, action):
14 * text.C (currentState):
15 * tex-accent.C (DoAccent):
18 * lyxfunc.C (menuNew):
19 * lyxfinc.C (replace):
20 * counters.C (laberItem):
21 * bufferview_funcs.C (font2string):
22 * bufferparams.C (writeFile):
23 * buffer.C (readFile):
25 * MenuBackend.C: tostr -> convert
27 * LaTeX.C (runMessage): fix format
28 (scanAuxFiles): tostr -> convert
30 * BufferView_pimpl.C (savePosition): fix format
31 (restorePosition): ditto
34 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
36 * Spacing.[Ch]: New method getValueAsString().
40 * ParagraphParameters.C:
43 * text3.C: store/read spacing value as string.
45 * rowpainter.C: change float value (spacing_val) to double.
47 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
48 broken custom document spacing).
50 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
52 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
53 namespace, also more use of temp references and const
55 * cursor.[Ch] (getStatus): move to lyxfunc.C
57 * bufferparams.C: reformat slightly
59 * bufferview_funcs.C (font2string): constify arg
65 * buffer_funcs.C: (many funcs): constify arg on function
66 definitions, also make more local vars const, also add ASSERTS on
69 * buffer.C (LYX_FORMAT): put const in correct place
70 (many funcs): constify arg on function definitions, also make
73 * aspell_local.h: remove "struct" from typdef setup
75 * aspell.C (check): make word_ok const
76 (nextMiss): simplify slightly
79 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
81 * lyxrc.[Ch]: store all float values as strings.
82 use int (not float) for lyxrc.dpi.
84 2005-01-04 Angus Leeming <leeming@lyx.org>
86 * lyx_cb.C (Reconfigure):
87 * lyx_main.C (queryUserLyXDir):
88 to run the <system_lyxdir>/configure correctly on Windows, prefix
89 the path to the script with "sh " when generating the string that
90 is passed to system().
92 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
94 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
96 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
98 * lyxlength.C (asLatexString): get rid of setprecision
100 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * text2.C (setLayout): remove unused variable endpit.
103 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
105 * paragraph.C (onlyText): remove unused variable style.
107 * cursor.C (bruteFind): remove unused variables beg and end.
109 * Makefile.am (dist_noinset_DATA): not needed anymore
111 * cheaders/*: remove.
113 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
115 * text3.C: fix LFUN_MATH_MODE.
117 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
119 * buffer_funcs.C (countWords): new function. Counts words between
122 * BufferView_pimpl.C (getStatus, dispatch): handle
125 * LyXAction.C (init):
126 * lfuns.h: add LFUN_WORDS_COUNT.
128 2004-12-19 Angus Leeming <leeming@lyx.org>
130 * buffer.C (save): s/slashify_path/internal_path/.
132 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * lyxfind.C (findChange): do not search for end of pars, because
135 the change tracker cannot handle this (fixes bug 1719).
137 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
139 * paragraph.[Ch] (autoBreakRows): remove
141 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
143 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
144 avoid using the paragraph one
146 * text2.C (LyXText, insertStringAsLines): adjust
148 2004-12-16 Angus Leeming <leeming@lyx.org>
152 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
154 2004-12-14 Angus Leeming <leeming@lyx.org>
156 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
158 * bufferlist.C (emergencyWrite):
159 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
162 2004-12-14 Angus Leeming <leeming@lyx.org>
164 * main.C: (main): no longer pass pointers to os::init.
166 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
168 * undo.C (textUndoOrRedo): simplify logic, fix a crash
169 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
171 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
174 * text3.C: remove selection_possible global flag
176 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
178 * text2.C (getSelectionSpan): remove
179 (changeDepth, changeDepthAllowed): adjust
181 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
183 * Makefile.am (BOOST_LIBS): use boost variables
185 2004-12-03 José Matos <jamatos@lyx.org>
187 * buffer.C: format up to 238.
189 2004-12-03 José Matos <jamatos@lyx.org>
191 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
193 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
195 * cursor.C (goUpDown): remove call to idxUpDown2
197 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * tabular.[Ch]: use size_t-like types for cell, row and column
202 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * lyxfunc.C (getStatus): do not lose previous information when
205 calling BufferView::getStatus; do not set a default "Command
206 disabled" message at the beginning, but just before returning.
208 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
210 * cursor.h (getStatus): add better comment from src/cursor.C
212 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * text3.C (getStatus): return false when the lfun is not handled
216 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
218 * broken_headers.h: remove
220 * Makefile.am (lyx_SOURCES): remove broken_headers.h
222 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
224 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
227 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
228 top_y_, merge fitcursor with update
229 (updateScrollbar, scrollDocView, fitCursor, center, update): new
232 (workAreaDispatch): adapt to new coord scheme
233 (redoCurrentBuffer): remove
235 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
237 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
240 * coordcache.[Ch]: add paragraph cache and helpers
242 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
245 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
246 (targetX, setTargetX): introduce
248 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
249 baseline -> ascent, as the rest of lyx
251 * lyxtext.h: remove redoParagraphs, updateParPositions,
252 fullRebreak, redoParagraphInternal. move dist to anon namespace in
253 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
254 have ascent/descent (ascent is ascent of first par)
256 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
259 * paragraph.[Ch]: unify dimension handling with the rest of lyx
261 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
263 * pariterator.C: fix infinite loop introduced in par->pit renaming
265 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
266 in insets and LyXText, draw two off-screen paragraphs using
267 NullPainter, and adapt to new coord scheme
271 * text3.C: adapt lfun handlers to the new coord scheme, which
272 means: there's only guaranteed coord information for onscreen pars
273 plus one above and one below. This implies that one can do search
274 from y coordinates in the range [-1,workHeight]
276 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
278 * rename a lot of InsetOld to InsetBase
280 2004-11-25 Angus Leeming <leeming@lyx.org>
282 * BufferView_pimpl.C:
284 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
286 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
288 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
289 call BufferView::getStatus if LCursor::getStatus did nothing
290 (setStatusMessage, getStatusMessage): removed.
292 * FuncStatus.C (message): new methods. Used to provide an error
293 message indicating why a command is disabled.
294 (clear, |=, FuncStatus): update for message.
296 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
298 * lyxfunc.C (dispatch): always call sendDispatchMessage
300 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
303 * BufferView_pimpl.C:
317 * undo.C: par->pit renaming
319 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
321 * tabular.C (cellstruct): use initialization, store a shared_ptr
322 to insettext instead of the insettext directly, adjust to fit.
323 (operator=): new function
325 (rowstruct): use initialization
326 (columnstruct): use initialization
327 (ltType): use initialization
330 * lyxlength.h (swap): new function
332 * LColor.[Ch] (operator=): use the common semantics
334 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * lyxfind.C (findNextChange): update the bufferview after setting
339 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
342 number of InsetOptArgs has already been inserted.
344 * output_latex.C (latexOptArgInsets): new method. This outputs all
345 the optarg insets, up to the limit defined in the layout file.
346 (optArgInset): removed
347 (TeXOnePar): call latexOptArgInsets; correctly update texrow
349 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
351 * paragraph.C (isLetter): remove special spellchecker-related
352 code; return true also for digits
353 (isWord, isKomma): remove
355 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
356 * lyxfind.C (MatchString()): use isLetter instead of isWord
358 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
360 * pariterator.h (operatir=): comment out un-implemented member
363 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
366 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * lyxfont.h: include LColor.h to satisfy concept checks.
370 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
372 * pariterator.h: add typdefs for value_type, difference_type,
373 pointer and reference to satisfy concept checks. Also add default
374 constructor for same reason.
376 * pariterator.C (operator++): add post-increment operator to
377 satisfy concept checks.
379 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
382 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
384 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
385 checks. Also rename base_type to BaseType to follow naming
388 * FloatList.h: include Floating.h to satisfy concept checks.
390 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * lyxfunc.C (getStatus): when the origin of the request is menu or
393 toolbar, and the LyXView does not have focus, do as if there was
396 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
397 FuncRequest to individual entries of LFUN_SEQUENCE
399 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * output_latex.C (TeXOnePar): override runparams.moving_arg
402 according to the needprotect value of the current paragraph (bug
405 * paragraph.C (simpleTeXOnePar): no need to override
406 runparams.moving_args here
408 2004-11-14 John Spray <spray_john@users.sourceforge.net>
410 * vspace.C: fix off-by-one-error, related to fix #1682
412 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
414 * lengthcommon.C: a more general fix for bug 1682
416 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
418 * text.C (backspace): fix crash
420 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
422 * format.[Ch] (getFormatFromFile): new method
423 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
425 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
427 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
429 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * lyxfunc.C (dispatch): remove the verbose argument
432 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
435 * kbmap.C (defkey): set the origin of func to KEYBOARD
437 * MenuBackend.C (MenuItem):
438 * ToolbarBackend.C (add): set the origin of func to UI
440 * funcrequest.[Ch]: add origin member, which indicates which part
441 of LyX requests an action
443 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
445 * converter.C (move): don't lie in the error message
446 * converter.h (isReachable, move): document
448 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
450 * buffer.C: remove unused using lyx::support::atoi
451 * paragraph_funcs.C: ditto
453 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
455 * bufferlist.C (exists): use bind and equal_to instead of
458 * lyxtextclasslist.C (NumberOfClass): ditto
460 * cursor.C (insert): use for_each instead of explicit for loop
462 * bufferlist.C (getFileNames): use std::transform and
463 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
465 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
468 * buffer.C (changeLanguage): use for_each instead of explicit for
470 (hasParWithID): implement using getParFromID
472 * LaTeXFeatures.C: ws change only
474 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
477 * BufferView_pimpl.C (trackChanges): use for_each instead of
480 2004-11-04 André Pönitz <poenitz@gmx.net>
483 * undo.C (textUndoOrRedo): fix crash when creating undo information.
485 * dociterator.C (asDocIterator): use hard assert again.
487 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
489 * lyxlength.C (asLatexString): rewrite so that it does not use
492 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * text3.C (specialChar, dispatch): make sure cursor moves to the
495 right after inserting an inset
497 2004-11-02 José Matos <jamatos@lyx.org>
499 * output_docbook.C (docbook):
500 * paragraph.C (getID):
501 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
502 garantee that the output is always legal.
504 * tabular.C (docbook):
505 * outputprams.[Ch]: remove mixed contents.
507 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
509 * text2.C (setCounter): prevent endless loop
511 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * exporter.C (copyFile): use the mover instead of support::copy()
514 * exporter.C (Export): pass format and latex name to copyFile()
515 * exporter.h (addExternalFile): document
516 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
518 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
520 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
522 2004-10-30 José Matos <jamatos@lyx.org>
524 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
525 text and no inset or font change. This allows to use CDATA
526 sections just for the whole paragraph.
528 2004-10-30 José Matos <jamatos@lyx.org>
530 * paragraph.C (getFirstWord): remove unused variable.
532 2004-10-30 José Matos <jamatos@lyx.org>
534 * paragraph.C (getFirstWord): the content should always be escaped
536 (simpleDocBookOnePar):
537 * output_docbook.C (makeEnvironment): replace reference to CDATA
540 2004-10-30 José Matos <jamatos@lyx.org>
542 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
544 2004-10-30 José Matos <jamatos@lyx.org>
546 * output_docbook.C (makeParagraphs):
547 * paragraph.[Ch] (emptyTag): for docbook and company, if the
548 standard paragraph has only a given type of content drop the wrapper.
550 2004-10-29 José Matos <jamatos@lyx.org>
552 * output_docbook.C (makeEnvironment):
554 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
556 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
558 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
559 (cleanID): sanitize any id.
561 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
563 * buffer.C, lyxlex_pimpl.C:
564 * lyxlex_pimpl.C (setFile):
565 s/getExtFromContents/getFormatFromContents/
567 2004-10-28 José Matos <jamatos@lyx.org>
569 * output_docbook.C (makeEnvironment): move id to broadest possible
572 * sgml.C (openTag): apply substitution of <> for all attributes.
574 2004-10-28 José Matos <jamatos@lyx.org>
576 * buffer.C (makeLinuxDocFile, makeDocBookFile):
577 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
578 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
580 * sgml.[Ch]: new version for open and closeTag for paragraph and
581 for strings. Now they handle the ids of paragraphs.
583 2004-10-26 Angus Leeming <leeming@lyx.org>
585 * Makefile.am: add mover.[Ch].
587 * converter.C (convert, move): use the new Movers to move external
588 files to the temp directory.
590 * lyx_main.C (init): ensure that the global system_movers data
593 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
596 * mover.[Ch]: new files, defining a Mover as a utility to move an
597 external file between directories and, if necessary, manipulate this
598 file using a helper script.
600 2004-10-25 José Matos <jamatos@lyx.org>
602 * output_docbook.C (makeCommand): merge two if's that tested the
605 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * sgml.C (escapeString): fix warning in a better way
609 2004-10-25 José Matos <jamatos@lyx.org>
611 * sgml.C (escapeString): import the require boosts header file for
612 tie, and avoid a signed unsigned comparison.
614 2004-10-25 José Matos <jamatos@lyx.org>
616 * sgml.h: add #include <string>
618 2004-10-25 José Matos <jamatos@lyx.org>
620 * sgml.[Ch] (escapeString): new function to escape all the string.
622 2004-10-24 José Matos <jamatos@lyx.org>
624 * paragraph.[Ch] (getFirstWord): new function to get the first
625 word. Useful for description.
626 (simpleDocBookOnePar): remove depth argument, add another that
627 says where to start the paragraph.
629 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
630 use the new functions to fix cleanly the support for descriptions.
632 2004-10-24 José Matos <jamatos@lyx.org>
634 * buffer.C (makeLinuxDocFile, makeDocBookFile):
635 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
636 * output_linuxdoc.C (linuxdocParagraphs):
637 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
638 add buffer as argument.
640 2004-10-24 José Matos <jamatos@lyx.org>
642 * output_docbook.C (makeEnvironment, searchEnvironment): place
643 CDATA inside paragraphs and fix scope for listitems.
645 2004-10-24 José Matos <jamatos@lyx.org>
647 * output_docbook.C: remove using statement for stack.
649 2004-10-23 José Matos <jamatos@lyx.org>
651 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
652 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
653 docbook. The new scheme is recursive and makes use of iterators, the
654 same as latex export works.
655 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
656 directly with the paragraph contents. This code was moved up to
657 output_docbook.C (docbookParagraphs).
658 * sgml.C (openTag, closeTag): removed unneeded newlines.
659 (closeEnvTags) removed.
661 2004-10-23 André Pönitz <poenitz@gmx.net>
663 * undo.C (textUndoOrRedo):
664 * dociterator.C (asDocIterator): work around crash
666 * cursor.C (getStatus): replace ASSERT by more verbose error message
667 and manual correction of the problem. Should increase stability
668 while providing more sensible information.
670 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
674 * bufferlist.C (previous, next): new methods
677 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
679 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
681 * buffer.C (makeDocBookFile): add dsssl stylesheet control
682 entities to preamble.
684 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * messages.C (Pimpl): strip off translation context information
688 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
691 the cursor is correct (bug 1694)
693 2004-10-13 José Matos <jamatos@lyx.org>
695 * output_docbook.C (docbookParagraphs): fix closing tags in the
698 2004-10-09 José Matos <jamatos@lyx.org>
700 * buffer.C: format up to 237.
701 * bufferparams.C (write): use tostr to convert booleans to strings.
703 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
705 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
707 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
709 * LaTeX.C: implement use of babel language in xindy.
711 2004-10-05 José Matos <jamatos@lyx.org>
713 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
714 Add new translators to help reading and writing the lyx file.
716 2004-10-05 José Matos <jamatos@lyx.org>
718 * ParagraphParameters.C (read):
719 * text.C (readParToken): replace nexToken by more appropriate lex
722 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
724 * LaTeX.C (runMakeIndex):
725 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
726 (usually 'makeindex') configurable.
728 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
729 with a variable rather than with a number.
731 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * output_latex.C (TeXOnePar): make sure font setting is the first
734 thing that gets output (and the last at the end). Should fix bug
737 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * pch.h: use proper signal include
741 * LaTeX.h: Use preferred calling of Boost.Signal
744 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
746 * pch.h: dont include <boost/function/function0.hpp>
748 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
750 * paragraph_pimpl.h: remove usage of ShareContainer
752 * paragraph_pimpl.C: remove initialization of ShareContainer.
754 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
758 * BufferView.C (putSelectionAt): change the semantics when
759 backwards == true: now, this just swaps cursor and anchor wrt the
762 * BufferView.h (putSelectionAt): add some documentation
764 * lyxfind.C (findBackwards): rewrite using while(). In particular,
765 make sure backwardChar is done at least once (to avoid getting
767 (findNextChange): use putSelectionAt in the forward direction
768 (operator()): use Paragraph::isWord
770 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
772 * Spacing.C (set): c_str fix
774 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
776 * lyx_cb.C (Reconfigure): quote the name of configure script in
777 case it contains spaces
779 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
783 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
784 (BOOST_LIBS): use top_buildir when looking for the file
786 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
788 * pch.h: do not use include boost/format.hpp, multiple symbols
789 will result (gcc bug)
792 2004-08-23 José Matos <jamatos@lyx.org>
794 * bufferparams.C (readToken): fix reading of the author field.
796 2004-08-20 José Matos <jamatos@lyx.org>
798 * lyxrc.C: remove support/translator.h inclusion since it is not used.
800 2004-08-20 José Matos <jamatos@lyx.org>
802 * lyxlex.[Ch] (findToken): remove function.
804 * ParagraphParameters.C (findToken):
805 * bufferparams.C (findToken): replace call for previous function
806 with local copy. This local function has one more argument, the
807 read string argument.
809 2004-08-16 José Matos <jamatos@lyx.org>
811 * ParagraphParameters.C (write):
812 * Spacing.C (writeFile):
813 * bufferparams.C (writeLaTeX):
814 * lyx_cb.C (Reconfigure):
815 * paragraph.C (write):
816 * tabular.C (write): remove unnecessary space at end of line.
819 2004-08-16 José Matos <jamatos@lyx.org>
821 * text.C (readParagraph): remove debug message.
823 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
825 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
828 * output_plaintext.C (asciiParagraph): set depth correctly
830 * outputparams.h: add member depth
832 * paragraph_funcs.C (ownerPar): remove.
834 * text2.C (setCounter): remove first_pit; comment out some
835 non-working code that uses ownerPar
837 * BufferView.C (getParentLanguage): remove. Not used anymore, and
840 2004-08-16 José Matos <jamatos@lyx.org>
842 * text.C (readParToken, readParagraph, read): report all unknown tokens.
843 For the same level of importance use the same chanel to report problems.
844 (read): add code to deal with \begin_body and \end_body.
847 2004-08-15 José Matos <jamatos@lyx.org>
849 * lyxlex.C (getString): fix comment, buffer::readBody is now
852 * tex-strings.C (string_papersize): Default -> default,
853 Custom -> custom, for consistency with other options.
855 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
859 * Makefile.am: support pch
861 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
863 * text.C (readParToken): remove the static LyXFont variable and
864 pass it as a parameter instead. This fixes a nasty bug where an
865 inset will be inserted with a bad font in some situations
866 (readParagraph): adapt
868 * text2.C (setCounter): reduce number of calls to pars_[pit]
870 * text.C (singleWidth): add an assert, fix a test
872 * rowpainter.C (paintText): reduce number of calls to singleWidth
874 * paragraph.C (isHfill):
877 2004-08-14 André Pönitz <poenitz@gmx.net>
882 * lyxtext.h (several functions): use a Paragraph & argument
885 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
887 * metricsinfo.h: add a new field ltr_pos to PainterInfo
889 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
891 * text.C (singleWidth): remove useless test
893 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * tabular.h: remove bogus comments
897 * tabular.C (getDescentOfRow):
898 (isPartOfMultiColumn): add assertions
900 * lyxlength.C (inPixels): remove #warning
902 2004-08-14 André Pönitz <poenitz@gmx.net>
904 * paragraph.h: inline getChar()
906 * BufferView.h: remove unused declarations
908 2004-08-14 José Matos <jamatos@lyx.org>
910 * Buffer.[Ch] (readDocument): new name for old readBody.
911 * Buffer.C: new file format, new keywords: \begin_document,
912 \begin_header, \begin_body, \end_body.
914 * bufferparams.C (readToken): replace all calls to lex.nextToken
915 by lex.next(). Do the same to eatLine except where really needed.
917 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
918 line when writing to the lyx file.
920 * output_plaintext.C (asciiParagraph): fix Bibliography style
923 * text.C (read): fix end of file handling.
925 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * MenuBackend.C (Menu::operator[]): new method to access
928 individual menu items
929 (Menu::hasFunc): new method. search for an item that corresponds
931 (MenuBackend::specialMenu): new method
932 (MenuBackend::expand): if a special menu has been set, skip
933 entries whose func() appears in this menu
935 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
937 * text3.C: use Debug::DEBUG a bit more
939 * text.C (leftMargin): try to simplify a tiny bit change var x to
940 l_margin. Dont output the wide margins always.
941 (rightMargin): no margin in inner texts
943 * rowpainter.h (nestMargin): new func
944 (changebarMargin): new func
945 (rightMargin): new func
947 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
951 * factory.C (createInset): modify setDrawFrame
953 * cursor.C: use Debug::DEBUG a bit more
955 2004-08-14 André Pönitz <poenitz@gmx.net>
958 * Makefile.am: new files to accomodate an 'external' (x,y)-position
959 cache for all insets in (at least partially) visible (top-level)
962 * BufferView_pimpl.C: reset external coord cache before every update.
963 This means the coord cache only contains valid entries.
965 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
968 * BufferView_pimpl.C (getInsetByCode): move function out of class
969 and change in to a template in anon namespace. Also fix to do what
972 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
975 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
977 (breakParagraph): rename par to par_offset and use a local
978 reference. Add code to keep the language over a rebreak.
979 (breakParagraphConservative): rename par to par_offset, use a
981 (mergeParagraph): ditto
983 (isFirstInSequence): ditto
984 (outerFont): rename pit to par_offset
986 * paragraph.C: ws change
991 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
993 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
996 * paragraph.C (simpleTeXOnePar): when we have a \item with
997 optional argument, enclose the argument with curly brackets (in
998 case it contains a closing square bracket)
1002 * text3.C (checkInsetHit): constify
1004 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1006 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1007 documents (bug 1629)
1009 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1011 Fix toggling of collapsable insets with the mouse (bug 1558)
1013 * lyxfunc.C (dispatch): adapt to LCursor changes
1015 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1016 make sure that dispatch is not invoked twice
1018 * cursor.C (needsUpdate): new method
1019 (dispatch): return void
1020 (result): new method, to access the DispatchResult of the cursor.
1022 2004-08-13 José Matos <jamatos@lyx.org>
1024 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1026 2004-08-13 André Pönitz <poenitz@gmx.net>
1028 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1030 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1033 2004-08-12 André Pönitz <poenitz@gmx.net>
1035 * text3.C: take out the 'cursor right' form insertInset and only
1036 do it in those places when it is really needed. Fixes crash on
1039 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1043 * BufferView_pimpl.C (setBuffer): initialize the current font of
1044 the underlying LyXText
1046 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1048 * kbsequence.C (print): use UI native formatting for menu
1051 * text.C (insertChar): call Paragraph::insertChar with a font
1054 * paragraph.C (insertInset, insertChar): the version that takes a
1055 LyXFont argument is now a wrapper around the other one (the
1056 opposite used to be true).
1058 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1059 argument. Font setting is done in Paragraph now.
1061 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1063 * outputparams.h: add new members intitle and lang.
1065 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1066 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1068 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1070 * text3.C (dispatch): remove special handling of button 4 and 5,
1071 it is now taken care of in the frontend code.
1073 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1075 * Spacing.h: add <string> (STLPort compile fix)
1077 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1079 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1081 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1083 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1086 * converter.C (showMessage): inherit from unary_function, make
1089 * buffer.C (writeFile): initialize retval
1091 * InsetList.h: rename private variable list to list_
1092 * InsetList.[Ch]: adjust accordingly.
1094 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1096 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1097 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1098 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1099 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1100 * ParagraphParameters.C, LaTeXFeatures.C: replace
1101 "support/std_sstream.h" with <sstream>
1103 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1105 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1106 * lyxsocket.C (LyXServerSocket): ditto
1107 (serverCallback): ditto
1109 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1111 * LaTeXFeatures.C: check release date when loading jurabib.
1113 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1115 * lyxserver.C (startPipe): call register_socket_callback
1116 (endPipe): call unregister_socket_callback
1118 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1120 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1121 (LyXServerSocket): register the callback
1122 (LyXServerSocket): unregister the callback
1123 (fd): delete function
1124 (serverCallback): improve error checking and setup the callbacks.
1125 (dataCallback): change arg to fd.
1126 (writeln): new func (copied fro the client socket) used for server
1128 (LyXDataSocket): simplify
1129 (~LyXDataSocket): close ann unregiser callback
1130 (server): delete function
1131 (fd): delete function
1132 (readln): small changes, improve some std::string usage
1133 (writeln): constify a bit
1135 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1140 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1143 after it has been populated
1145 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * text2.C (insertInset): move cursor when inserting inset.
1149 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * kbmap.C (findbindings): a couple of new methods. returns a
1152 container of kb_sequence objects. The real work is done by the
1153 private recursive version
1154 (printbindings): uses findbindings to print out a bracketed list
1155 of bindings (renamed from findbinding).
1157 * MenuBackend.C (binding): use kb_keymap::findbindings
1159 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1161 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1165 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * paragraph.C (isWord): return true on insets that report
1170 * text.C (getWord): use Paragraph::isWord to decide what is in a
1171 word and what is not; fix bug 1609.
1173 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1175 * tex-strings.C: add "none" to string_paperpackages[], fixes
1176 off-by-one-error in the paperpackage selection.
1179 * tex-strings.[Ch]: char const * string[n]
1180 -> char const * const string[]
1182 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1184 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1185 command, return early.
1187 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1189 * debug.h: add DEBUG to enum and fix size of ANY.
1191 * debug.C: add support for Debug::DEBUG
1192 (showTags): cast errorTags.level to unsigned int
1194 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1195 (redoCurrentBuffer): ditto
1196 (updateScrollbar): ditto
1197 * cursor.C (dispatch): ditto
1198 * text2.C (setLayout): ditto
1200 (updateCounters): ditto
1202 (deleteEmptyParagraphMechanism): ditto
1204 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1206 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1207 annotations to cleanup the Makefile slightly.
1209 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * lyxrc.C: do not set user_email to a default value but use empty
1212 instead. The entry used to be translated, which does not work
1213 since at the point where lyxrc is constructed there is no
1214 translation service available
1216 * messages.C (getLocaleDir): remove and use directly
1217 lyx_localedir() instead
1219 2004-06-02 Angus Leeming <leeming@lyx.org>
1221 Fix crash caused by dereferencing null pointer 'exportdata' in
1222 OutputParams by creating a new ExportData variable on the heap,
1223 storing it in a boost::shared_ptr.
1224 The crash was triggered when generating an Instant Preview
1225 of an external inset.
1227 * Makefile.am: add outputparams.C
1229 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1230 (c-tor): allocate memory to it.
1232 * exporter.C (c-tor): associated changes.
1234 2004-06-01 Angus Leeming <leeming@lyx.org>
1236 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1237 contains data before calling isInset(0). (Bug 1513.)
1239 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1241 * exporter.C (checkOverwrite): new method
1242 * exporter.C (copyFile): new method
1243 * exporter.C (Export): copy referenced files to the document dir
1244 * exporter.[Ch]: new class ExportedFile
1245 * exporter.[Ch]: new class ExportData. Contains currently the
1246 names of referenced external files
1247 * outputparams.h: add exportdata member.
1249 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1251 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1254 2004-05-19 Angus Leeming <leeming@lyx.org>
1259 * lyxfunc.C: small changes due to the introduction of namespace
1260 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1262 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1264 * text3.C (dispatch): supress update when only moving the cursor
1265 * cursor.C (selHandle): remove commented code
1267 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1269 * paragraph.C (startTeXParParams): correct column count
1270 * CutAndPaste.C (pasteSelection): remove const_cast
1271 * output_docbook.C (docbookParagraphs): remove const_cast
1272 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1273 const_cast and return ParagraphList::const_iterator
1274 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1275 * output_plaintext.C (writeFileAscii): remove const_cast
1276 * paragraph.[Ch] (simpleTeXOnePar): make const
1277 * paragraph_funcs.C (outerPar): use const iterators
1278 * paragraph_pimpl.C (validate): use const iterators
1279 * text.C (setHeightOfRow): use const iterators
1281 2004-05-17 Angus Leeming <leeming@lyx.org>
1284 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1286 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1287 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1288 if the citation engine has changed.
1290 2004-05-14 José Matos <jamatos@lyx.org>
1292 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1293 if the textclass does not provide it. Have it different for sgml and
1295 support the language of document.
1296 * output_docbook.C (docbookParagraphs):
1297 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1298 first anchor as the id of the paragraph, remove special case code.
1299 * sgml.C (escapeChar): escape only < & >.
1301 2004-05-14 Angus Leeming <leeming@lyx.org>
1303 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1304 dependencies on src/frontends/controllers/biblio.h. Define a
1305 CiteEngine_enum wrapper class to enable the enum to be forward
1308 2004-05-12 Angus Leeming <leeming@lyx.org>
1310 * buffer.C: up LYX_FORMAT to 234.
1311 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1312 use_numerical_citations with a single biblio::CiteEngine cite_engine
1314 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1316 2004-05-13 José Matos <jamatos@lyx.org>
1319 * converter.C (Converter, readFlags): add xml member.
1320 * outputparams.h: add XML flavor.
1321 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1323 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1325 * lyxfunc.C (dispatch):
1326 (getStatus): fix handling of LFUN_SEQUENCE
1328 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * debug.C (showLevel): do not forget the end-of-line marker
1332 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * kbmap.C (read): do not stop parsing a bind file when an error
1337 2004-04-29 Angus Leeming <leeming@lyx.org>
1342 * text2.C: wrap a bunch of #warning statements
1343 inside #ifdef WITH_WARNINGS blocks.
1345 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1347 * buffer.C: increment format to 233.
1349 2004-04-28 Angus Leeming <leeming@lyx.org>
1351 * BufferView_pimpl.C:
1354 s/updateToolbar()/updateToolbars()/
1355 s/Toolbar.h/Toolbars.h/
1357 2004-04-28 Angus Leeming <leeming@lyx.org>
1359 * BufferView.[Ch] (c-tor):
1360 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1361 No longer passes these data to the WorkArea generator.
1363 2004-04-28 Angus Leeming <leeming@lyx.org>
1365 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1367 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1369 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1371 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * output_latex.C (TeXEnvironment): make sure that there is a line
1374 break before \end{foo} for the last paragraph of a document
1375 (TeXOnePar): if the paragraph is at the end of the document (or
1376 inset) and the language has to be reset, then make sure that the
1377 line break is _before_ the language command, not after (fixes bug
1378 1225); also make sure that the language reset command is the first
1379 thing after the paragraph (to ensure proper nesting of
1380 environments and thus fix bug 1404)
1382 2004-04-21 John Levon <levon@movementarian.org>
1385 * ToolbarBackend.C: make "name" be a programmatic name
1386 and a gui_name field.
1388 * lyxfunc.C: display the minibuffer on M-x
1390 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1395 2004-04-19 Angus Leeming <leeming@lyx.org>
1397 * BufferView_pimpl.C (setBuffer): changed preview interface.
1399 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1402 2004-04-19 John Levon <levon@movementarian.org>
1404 * BufferView_pimpl.C:
1405 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1407 2004-04-05 Angus Leeming <leeming@lyx.org>
1409 * text.C (redoParagraphs): add call to updateCounters(), thereby
1410 fixing the missing "Figure #:" label from the caption of a
1413 2004-04-13 Angus Leeming <leeming@lyx.org>
1415 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1416 cursor is clicked out of an inset.
1418 2004-04-13 Angus Leeming <leeming@lyx.org>
1420 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1421 than an InsetOld one.
1423 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1425 * format.[Ch]: add editor to Format
1426 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1427 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1429 2004-04-08 André Pönitz <poenitz@gmx.net>
1431 * metricsinfo.h: remove PainterInfo::width member
1433 2004-04-08 Angus Leeming <leeming@lyx.org>
1435 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1436 "\providecommand" rather than "\newcommand", thereby preventing
1437 clashes with packages that define "\boldsymbol" themselves.
1440 2004-04-08 Angus Leeming <leeming@lyx.org>
1442 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1443 thereby squashing an unnecessary warning.
1445 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1447 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1450 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1452 * BufferView.C (setCursor): call redoParagraph (some insets could
1454 (putSelectionAt): remove the 'double update' trick
1456 * BufferView_pimpl.C (fitCursor): call refreshPar
1457 (workAreaDispatch): remove an uneeded update call
1458 (dispatch): remove some manual update calls
1460 * cursor.[Ch]: remove cached_y_, updatePos
1461 (selHandle): set noUpdate when appropriate
1463 * lyxfunc.C (dispatch): track if we need an update
1465 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1467 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1468 (paintSelection): cheap optimization, do not call cursorX when not
1470 (paintPars): change signature
1473 (paintTextInset): adjust
1477 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1479 * lengthcommon.C: compilation fix: remove explicit array size from
1480 unit_name[] and friends
1482 2004-04-05 Angus Leeming <leeming@lyx.org>
1484 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1486 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1487 present only for the preferences dialog.
1488 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1490 2004-04-05 Angus Leeming <leeming@lyx.org>
1492 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1493 to enable the frontends to export changes to lyxrc correctly.
1495 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1497 2004-04-07 André Pönitz <poenitz@gmx.net>
1499 * cursor.[Ch] (selClear, adjust): remove math
1501 * cursor_slice.C: more agressive assert
1504 * BufferView_pimpl.C: rework mouse event dispatch
1511 2004-04-05 André Pönitz <poenitz@gmx.net>
1513 * cursor.[Ch] (valign, halign...): remove unneeded functions
1515 2004-04-05 Angus Leeming <leeming@lyx.org>
1517 * lyxlength.[Ch] (unit_name et al.): const-correct.
1519 2004-04-05 Angus Leeming <leeming@lyx.org>
1521 * BufferView_pimpl.C:
1530 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1532 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1534 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1536 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1538 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1539 * BufferView_pimpl.[Ch] (getStatus)
1540 * BufferView.[Ch] (getStatus): add
1541 * lyxfunc.C (getStatus): move lfuns handled in
1542 BufferView::dispatch to te function above
1543 * Cursor.C (setSelection): set selection() = true
1545 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1547 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1549 2004-03-31 Angus Leeming <leeming@lyx.org>
1551 * lyxfunc.C (dispatch): Fall through to the generic
1552 Dialogs::show("preamble").
1554 2004-03-31 Angus Leeming <leeming@lyx.org>
1556 * lyxfunc.C (dispatch): Fall through to the generic
1557 Dialogs::show("spellchecker").
1559 2004-03-31 Angus Leeming <leeming@lyx.org>
1561 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1564 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1569 * insetiterator.[Ch]:
1574 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1576 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1578 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1579 insets where we are putting the cursor.
1581 2004-03-31 Angus Leeming <leeming@lyx.org>
1584 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1586 * lyxrc.[Ch] (read, write): overloaded member functions taking
1587 a std::[io]stream arguments.
1589 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1591 2004-03-31 Angus Leeming <leeming@lyx.org>
1593 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1594 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1596 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1597 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1599 2004-03-31 Angus Leeming <leeming@lyx.org>
1601 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1602 the LFUN_ALL_INSETS_TOGGLE code.
1604 2004-03-30 Angus Leeming <leeming@lyx.org>
1606 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1607 has died. Fall through to the generic Dialogs::show("document").
1609 2004-03-30 Angus Leeming <leeming@lyx.org>
1612 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1613 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1615 * lyxfunc.C (getStatus, dispatch): define the actions for these
1616 lfuns. Little more than a cut and pste job from ControlDocument.C
1618 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1620 2004-03-30 Angus Leeming <leeming@lyx.org>
1623 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1624 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1626 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1627 open/closed state of ollapsable insets. Usage:
1629 all-inset-toggle <state> <name>, where
1630 <state> == "open" || "closed" || "toggle" and
1631 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1633 * lyxtext.h, text2.C (toggleInset): removed.
1635 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1636 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1637 now passes LFUN_INSET_TOGGLE to the found inset.
1639 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1640 is now invoked as "all-insets-toggle toggle branch".
1642 2004-03-30 Angus Leeming <leeming@lyx.org>
1646 * pariterator.[Ch]: added/corrected header blurb.
1648 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1650 * dociterator.[Ch]: add an inset_ member
1651 (backwardPos): implemented
1652 (backwardPos, forwardPos): use inset_ when the stack is empty.
1653 (doc_iterator_begin, doc_iterator_end): implemented
1654 * pariterator.[Ch]: adjust, add begin, end
1655 * insetiterator.[Ch]: adjust, add begin, end
1659 * BufferView_pimpl.C:
1660 * CutAndPaste.C: adjust
1662 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1664 * buffer.C: increment file format to 232.
1665 * LaTeXFeatures.C: add bibtopic package.
1666 * bufferparams.[Ch]: param \use_bibtopic.
1668 * lyxrc.[Ch]: add lyxrc bibtex_command
1669 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1671 * buffer.C: increment file format to 231.
1673 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1675 * dociterator.C: implement forwardPar
1676 * iterators.[Ch]: remove, replaced by
1677 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1679 * BufferView_pimpl.C:
1682 * bufferview_funcs.C:
1688 * Makefile.am: adjust
1690 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1692 * CutAndPaste.C (pasteSelection): fix 2 crashes
1693 (eraseSelection): fix a crash
1694 * paragraph_funcs.C: remove a warning
1696 2004-03-28 Angus Leeming <leeming@lyx.org>
1699 * LyXAction.C (init): new LFUN_PRINT.
1701 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1703 2004-03-27 Angus Leeming <leeming@lyx.org>
1706 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1708 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1710 2004-03-27 Angus Leeming <leeming@lyx.org>
1712 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1713 insetlist always contains non-null pointers to insets.
1715 2004-03-26 Angus Leeming <leeming@lyx.org>
1717 * src/BufferView_pimpl.C:
1718 * src/CutAndPaste.C:
1721 * src/output_plaintext.C:
1722 * src/outputparams.h:
1723 * src/paragraph_funcs.C:
1727 * src/frontends/controllers/ControlErrorList.C:
1728 * src/frontends/gtk/FileDialogPrivate.C:
1729 * src/frontends/gtk/GPainter.C:
1730 * src/frontends/gtk/GToolbar.C:
1731 * src/frontends/qt2/QRef.C:
1732 * src/mathed/math_scriptinset.C: squash compiler warnings.
1734 2004-03-26 Angus Leeming <leeming@lyx.org>
1736 * ispell.C (LaunchIspell::start):
1737 * lyx_cb.C (AutoSaveBuffer::start):
1738 invoke run(DontWait) rather than runNonBlocking().
1740 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1742 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1744 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1746 * kbsequence.C (print): adjust
1748 * kbmap.C (printKeySym): rename and change signature
1749 (printKey): use LyXKeySym::print()
1751 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1753 * undo.C: add using std::advance to compile for stlport
1755 2004-03-24 Angus Leeming <leeming@lyx.org>
1757 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1758 it leads to a crash when no buffer is present.
1760 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1761 Martin Vermeer <martin.vermeer@hut.fi>
1763 * lyxfunc.C (dispatch):
1764 * bufferparams.C (readToken): use the new LColor::setColor
1766 * LColor.[Ch] (setColor): new version that takes two strings as
1767 argument and creates a new color entry if necessary
1769 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1771 * buffer.C (makeLaTeXFile): if the main latex file that is
1772 processed is usually a subdocument of some master, then pretend
1773 for a while that it is actually the master
1775 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1777 * buffer.C (getLabelList):
1778 (getBibkeyList): use getMasterBuffer()
1779 (getMasterBuffer): new method. Returns the main document in the
1780 case where one is using included documents.
1782 2004-03-25 André Pönitz <poenitz@gmx.net>
1786 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1788 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1790 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1791 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1793 * ParameterStruct.h: merge with ParagraphParameters
1795 * lyxtext.h: remove LyXText::parOffset() and getPar()
1797 * text3.C: Remove all 'manual' update calls. We do now one per user
1798 interaction which is completely sufficient.
1802 * BufferView_pimpl.C:
1803 * FontIterator.[Ch]:
1805 * ParagraphParameters.[Ch]:
1810 * cursor_slice.[Ch]:
1817 * output_docbook.[Ch]:
1818 * output_latex.[Ch]:
1819 * output_linuxdoc.[Ch]:
1820 * output_plaintext.[Ch]:
1822 * paragraph_funcs.[Ch]:
1823 * paragraph_pimpl.[Ch]:
1831 * frontends/controllers/ControlDocument.C:
1832 * frontends/controllers/ControlErrorList.C:
1833 * frontends/controllers/ControlSpellchecker.C:
1836 * insets/insetbase.h:
1837 * insets/insetbibitem.C:
1838 * insets/insetbox.C:
1839 * insets/insetbranch.C:
1840 * insets/insetcaption.C:
1841 * insets/insetcharstyle.C:
1842 * insets/insetcharstyle.h:
1843 * insets/insetcollapsable.C:
1844 * insets/insetcollapsable.h:
1845 * insets/insetert.C:
1846 * insets/insetfloat.C:
1847 * insets/insetfoot.C:
1848 * insets/insetmarginal.C:
1849 * insets/insetnote.C:
1850 * insets/insetoptarg.C:
1851 * insets/insettabular.C:
1852 * insets/insettext.C:
1853 * insets/insettext.h:
1854 * insets/insetwrap.C:
1855 * mathed/math_mboxinset.C:
1856 * mathed/math_nestinset.C:
1857 * mathed/math_scriptinset.C:
1858 * mathed/math_scriptinset.h:
1861 2004-03-24 Angus Leeming <leeming@lyx.org>
1863 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1864 deal with any child processes that have finished but are waiting to
1865 communicate this fact to the rest of LyX.
1867 2004-03-24 Angus Leeming <leeming@lyx.org>
1869 64-bit compile fixes.
1871 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1872 (c-tor): pass lyx::pos_types rather than ints.
1874 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1877 * text.C (Delete): compile fix.
1878 (getPar): ensure that function declaration is the same as that in
1881 2004-03-23 Angus Leeming <leeming@lyx.org>
1883 * ispell.C (LaunchIspell):
1884 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1885 a boost::shred_ptr rather than a std::auto_ptr.
1887 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1889 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1890 handle LFUN_FILE_INSERT_*
1892 * lyxrc.C (setDefaults, getDescription, output, read):
1893 * lyxrc.h: remove ps_command
1895 2004-03-22 Angus Leeming <leeming@lyx.org>
1897 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1898 Ensure that error_handler is processed once only and that all data
1899 is saved before attempting to output any warning messages.
1901 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1903 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1905 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1907 2004-03-19 André Pönitz <poenitz@gmx.net>
1909 * cursor.[Ch] (reset): take main text inset as argument
1911 * BufferView: adjust
1912 * BufferView_pimpl.C: adjust
1914 * paragraph.[Ch]: fix completely broken operator=()
1916 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1918 * LColor.C (getFromLyXName): make sure that the color name is used
1921 2004-03-17 Angus Leeming <leeming@lyx.org>
1924 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1926 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1927 dialog and to kill a forked process.
1929 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1931 * text2.C (setCursorFromCoordinates): fix font problem
1933 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1935 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1936 bogus "rebuild cursor" code
1938 2004-03-11 André Pönitz <poenitz@gmx.net>
1940 * buffer.[Ch]: use InsetText instead of LyXText as container for
1943 * dociterator.[Ch]: drop the BufferView * member which is not needed
1944 anymore after the change to buffer.C
1946 * paragraph_funcs.C:
1950 * BufferView_pimpl.[Ch]:
1952 * cursor_slice.[Ch]: adjust
1954 * text3.C: fix bug in mathDispatch
1956 2004-03-08 André Pönitz <poenitz@gmx.net>
1958 * undo.[Ch]: use 'StableDocumentIterator' as base for
1961 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1964 * bufferparams.[Ch]: add jurabib support and param.
1966 * LaTeX.C: add FIXME/comment.
1968 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1970 * buffer.C: increment file format to 230.
1972 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1974 * cursor.C (dispatch): avoid infinite loops
1976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1978 * rowpainter.C (paintSelection): fix x coordinates
1980 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1982 * text.C (rowBreakPoint): fix breaking before displayed insets
1984 2004-03-01 André Pönitz <poenitz@gmx.net>
1986 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1988 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1992 * BufferView_pimpl.C:
2000 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2006 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2007 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2009 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2011 * Bidi.[Ch] (computeTables): const correctness
2012 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2013 fill_hfill, fill_label_hfill and x from Row
2014 * lyxtext.h: prepareToPrint returns a RowMetrics
2015 * rowPainter.C: adjust
2016 * text.C (prepareToPrint): use width, not textWidth. adjust
2017 (redoParagraphInternal, cursorX): adjust
2018 * text2.C (getColumnNearX): adjust
2019 (init): put a default value to the top LyXText::width
2021 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2023 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2025 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2027 * lyxtext.h: add FontIterator class
2029 * text.C (FontIterator, operator*, operator->, operator++): add
2030 (rowBreakPoint, setRowWidth): adjust (fixing a
2033 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2035 * BufferView_pimpl.C (workAreaDispatch): allow also
2036 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2038 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2040 * text.C (rowBreakPoint): fix a bug showing with very large insets
2042 2004-02-25 André Pönitz <poenitz@gmx.net>
2045 * cursor.[Ch]: move some mathed specific code to mathed
2047 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2049 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2050 use_tempdir in preferences
2051 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2053 * lyx_main.C: ensure that tempdir is valid
2054 * lyxlex.h: correct typo
2055 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2056 * paragraph.[Ch] (isMultiLingual): make const
2057 * cursor.[Ch] (openable): make const
2059 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2061 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2063 2004-02-20 André Pönitz <poenitz@gmx.net>
2065 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2067 * cursor.[Ch]: prepare for localized getStatus()
2073 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2075 2004-02-20 André Pönitz <poenitz@gmx.net>
2077 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2079 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2081 * text2.C (setCursorFromCoordinates): switch to absolute coords
2083 (cursorDown): adjust
2084 * text3.C (dispatch): adjust
2086 2004-02-16 André Pönitz <poenitz@gmx.net>
2088 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2091 * cursor_slice.[Ch]: remove unneeded acessor function
2093 * lyxtext.h: rename rtl() to isRTL()
2101 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2103 * rowpainter.C (paintSelection): coord fix
2105 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2107 * Spacing.C: compile fix
2109 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2111 * cursor.C (dispatch): restore current_ before returning
2113 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2115 * text2.C (cursorUp, cursorDown): fix coords
2118 2004-02-12 André Pönitz <poenitz@gmx.net>
2123 * text3.C: add LCursor & parameter to most cursor movement functions
2124 remove usage of LyXText::cursorRow() and cursorPar()
2126 * cursor.[Ch]: add textRow() needed members
2129 * BufferView_pimpl.C:
2132 * BufferView_pimpl.C: adjust
2134 2004-02-11 André Pönitz <poenitz@gmx.net>
2138 * BufferView_pimpl.C: shift undo/redo handling
2140 * cursor.[Ch]: fix mathed crash
2143 * lyxtext.h: move selectionAsText to LCursor
2151 * rowpainter.C: fix excessive drawing
2153 2004-02-06 André Pönitz <poenitz@gmx.net>
2156 * BufferView_pimpl.[Ch]:
2157 * text3.C: move some text specific LFUN handling
2159 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2161 * text3.C (checkInsetHit): adjust coords
2162 * text2.C (getColumnNearX): adjust coords
2163 (edit): adjust coords
2164 * text.C (getRowNearY): add two asserts
2166 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2169 * format.C: add using std::distance to compile on gcc 2.95/stlport
2171 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2173 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2175 2004-02-04 André Pönitz <poenitz@gmx.net>
2177 * BufferView.[Ch] (insertInset):
2178 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2183 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2185 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2186 on the default clause of the switch
2187 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2188 wasn't catched by LCursor::dispatch
2190 2004-02-03 André Pönitz <poenitz@gmx.net>
2193 * cursor.[Ch]: some additional asserts
2195 * undo.[Ch]: remove LyXText dependency in interface
2199 * lyxtext.h (firstPar, lastPar): remove dead functions
2204 * paragraph.[Ch]: adjust
2206 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2208 * lyxfind.C (find): fix argument order in call to ::find
2210 2004-02-02 André Pönitz <poenitz@gmx.net>
2212 * cursor.[Ch]: remove direct access to anchor
2214 * text.C: remove findText() hack
2216 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2218 * iterators.[Ch] (lockPath): remove in favour of...
2219 * BufferView.[Ch] (setCursor): this addition
2220 * BufferView.C (putSelectionAt): adjust
2221 * undo.C (performUndoOrRedo): adjust
2222 * lyxfunc.C (dispatch): adjust
2224 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2226 * iterators.C (lockPath): add a missing slice
2227 * undo.C (performUndoOrRedo): remove redundant positioning code
2229 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2231 * vc-backend.C (scanMaster): ";" -> ';'
2233 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2235 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2236 std::binary_function
2238 * lyxtextclass.C (compare_name): rename to...
2239 (LayoutNamesEqual): ...this
2241 * lyxlex_pimpl.C (compare_tags): inherit from
2242 std::binary_function, put back into anon namespace
2244 * lyxfind.C (MatchString): inherig from std::binary_function
2245 (findChange): use empty() istead of !size()
2247 * format.C (FormatNamesEqual): new functor
2254 * converter.C (compare_Converter): rename to...
2255 (ConverterEqual): ...this, and fixup a bit.
2256 (getConverter): use it, and make function const
2257 (getNumber): use it, and make function const
2261 * bufferlist.C: add using boost::bind
2263 * MenuBackend.C (MenuNamesEqual): new functor
2264 (hasMenu): use it, and make function const
2265 (hasSubmenu): use nested bind to get rid of compare_memfun.
2267 2004-01-30 André Pönitz <poenitz@gmx.net>
2269 * BufferView_pimpl.C:
2272 * cursor_slice.[Ch]:
2275 * paragraph_funcs.C:
2276 * paragraph_funcs.h:
2280 * text3.C: move some of the edit(x,y) handling to the insets
2281 some coordinate changes.
2283 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2285 * text.C: add using statements for std::advance and std::distance
2287 * paragraph.C: add using statement for std::distance
2289 * lyxfind.C: add using statement for std::advance
2291 * cursor.C (region): remove std:: from swap
2292 (openable): use nucleus in stead of operator->
2294 * BufferView.C: add using statements for std::distance and std::swap
2296 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2298 * iterators.C: Remove the pimple, move the needed structures to
2299 the header file. Create accessor for the positions stack.
2300 (asPosIterator): remove function
2302 * PosIterator.C (PosIterator): move constructors to top of file
2303 (PosIterator): reimplement the constructor taking a ParIterator in
2305 (setFrom): new function
2306 (operator!=): inline it
2308 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2310 * lyxfind.C (replaceAll): use std::advance
2312 * iterators.h: inherit from std::iterator.
2314 * PosIterator.C (advance, distance): remove
2315 * PosIterator.h: interit from std::iterator.
2317 2004-01-26 André Pönitz <poenitz@gmx.net>
2320 * BufferView_pimpl.[Ch]:
2324 * bufferview_funcs.C:
2334 * output_linuxdoc.C:
2335 * output_plaintext.C:
2337 * paragraph_funcs.[Ch]:
2338 * paragraph_pimpl.[Ch]:
2344 * text3.C: more IU: dumps most of the rest of the mathcursor
2345 implementation into cursor.[Ch]; "globalize" a bit of it.
2347 2004-01-25 Angus Leeming <leeming@lyx.org>
2349 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2351 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2353 * LaTeXFeatures.h: add nice_ and nice() const
2354 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2356 2004-01-20 André Pönitz <poenitz@gmx.net>
2359 * BufferView_pimpl.C:
2361 * bufferview_funcs.C:
2363 * cursor_slice.[Ch]:
2374 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2375 LCursor and mathcursor parts to LCursor and InsetBase.
2377 2004-01-15 André Pönitz <poenitz@gmx.net>
2379 * cursor_slice.[Ch]: add a few covienience functions
2381 * funcrequest.[Ch]: remove BufferView * member
2383 * BufferView_pimpl.C:
2390 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2392 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2394 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2395 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2397 2004-01-13 André Pönitz <poenitz@gmx.net>
2400 * lyxtext.h: hide cursor and selection anchor behind accessor function
2403 * BufferView_pimpl.[Ch]:
2405 * bufferview_funcs.C:
2415 * cursor_slice.[Ch]: some integer type changes for inset unification
2417 * lyxcursor.[hC]: remove, it's CursorSlice now.
2420 * BufferView_pimpl.[Ch]:
2421 * bufferview_funcs.C:
2427 * textcursor.[Ch]: adjust
2429 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2431 * text2.C (undoSpan): add and use
2432 * text.C (breakParagraph): use undoSpan (fix bug 578)
2435 2004-01-08 Angus Leeming <leeming@lyx.org>
2437 * BufferView_pimpl.C (MenuInsertLyXFile):
2438 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2439 * lyxfunc.C (menuNew, open, doImport):
2440 FileFilterList change to the FileDialog open and save functions.
2442 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2444 * ShareContainer.h: make isEqual and isUnique adaptable
2446 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2448 2004-01-07 Angus Leeming <leeming@lyx.org>
2451 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2453 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2455 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2456 functions replacing find, replace and replaceAll.
2458 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2459 LFUN_WORDFIND(FORWARD|BACKWARD).
2461 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2463 * text.C (breakParagraph): remove an outdated #warning
2465 2004-01-07 André Pönitz <poenitz@gmx.net>
2467 * lyxfind.C: somewhat clearer logic
2469 * text.C: prevent crash in cursorX on unitialized row cache
2471 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2473 * lyxcursor.[Ch] (operator>): add
2474 * textcursor.C (selStart, selEnd): use std::min and std::max
2476 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2478 * Chktex.C: include boost/format.hpp
2480 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2482 * InsetList.C: replace functor MathcIt with adaptable functor
2484 (insetIterator): modify accordingly
2486 * BranchList.h: move the BranchNamesEqual functor here from...
2487 * BranchList.C: ... to here
2489 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2491 (add): replace a finding loop with std::find_if.
2493 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2495 * output_docbook.C: moving LatexParam functionality into
2498 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2500 * buffer.C: increment format to 229.
2502 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2505 * lyx_sty.[Ch]: remove minipageindent_def
2511 * text3.C: remove LFUN_INSET_MINIPAGE
2513 2003-12-28 Angus Leeming <leeming@lyx.org>
2515 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2517 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2519 * text2.C (setParagraph): fix off-by-one crash
2521 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2523 * output_docbook.C: header stuff for AGU
2525 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2527 * text2.C (redoCursor): remove
2530 * BufferView_pimpl.C: remove calls to redoCursor and
2531 setCursor(cursor.par(), cursor.pos()) all around
2533 2003-12-15 Angus Leeming <leeming@lyx.org>
2535 * buffer.C: up the format to 228.
2537 2003-12-15 André Pönitz <poenitz@gmx.net>
2539 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2544 * BufferView_pimpl.C:
2553 2003-12-15 Angus Leeming <leeming@lyx.org>
2555 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2556 than getFromGUIName to manipulate the color.
2558 2003-12-14 Angus Leeming <leeming@lyx.org>
2560 * BranchList.[Ch]: minimize the API.
2561 (Branch::getBranch, getColor): now return a 'const &'.
2562 (Branch::setSelected) now returns a bool set to true if the
2563 selection status changes.
2564 (BranchList::clear, size, getColor, setColor, setSelected,
2565 allBranches, allSelected, separator): removed.
2566 (BranchList::find): new functions, returning the Branch with
2568 (BranchList::add, remove): return a bool indicating that
2569 the operation was successful.
2571 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2572 new InsetBranch::isBranchSlected member function.
2574 * LColor.[Ch]: mimimize the API.
2575 (fill): renamed as addColor and made private.
2576 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2577 versions of these functions taking a string arg have been removed.
2579 * bufferparams.C (readToken):
2580 * lyxfunc.C (dispatch):
2581 * lyxrc.C (read): changes due to the altered BranchList and
2584 * factory.C (createInset, readInset): changes due to altered
2587 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2590 * lyxfunc.C: remove insetminipage. "minipage-insert"
2591 now produces a frameless minipage box inset.
2593 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2595 * textcursor.[Ch] (selStart,selEnd): add new methods
2596 remove selection::start, end, use LyXCursor::operator<
2597 * lyxcursor.[Ch] (operator<): add
2598 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2599 * BufferView.[Ch] (unsetXSel): add
2600 * text2.C (clearSelection): use unsetXSel,adjust
2603 * rowpainter.C: adjust
2604 * bufferview_funcs.C (put_selection_at): adjust
2606 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2608 * BufferView_pimpl.C: small coord. correction
2610 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2612 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2613 dragging over the splash screen.
2615 2003-12-11 Angus Leeming <leeming@lyx.org>
2617 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2618 as it is now handled in LyXText::dispatch.
2620 * text3.C (doInsertInset): remove a level of nesting.
2622 2003-12-11 Angus Leeming <leeming@lyx.org>
2624 * factory.C (createInset): changes due to the changed interface to
2625 InsetCommandMailer::string2params.
2627 2003-12-10 Angus Leeming <leeming@lyx.org>
2629 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2630 'dialog-show-new-inset <inset name>'
2632 2003-12-10 Angus Leeming <leeming@lyx.org>
2634 * buffer.C: up the format to 227.
2636 * factory.C: the box inset is now identified simply by 'Box'.
2638 2003-12-10 Angus Leeming <leeming@lyx.org>
2640 * buffer.C: up the format to 226.
2642 * factory.C: the note inset is now identified simply by 'Note'.
2644 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2646 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2647 when a pit is enough. Standarize a couple of loops.
2649 2003-12-05 Angus Leeming <leeming@lyx.org>
2651 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2652 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2653 data to the re-worked "log" dialog.
2655 2003-12-03 André Pönitz <poenitz@gmx.net>
2661 * paragraph_funcs.C:
2663 * text2.C: use Inset::getText instead of Inset::getParagraph
2665 2003-12-03 André Pönitz <poenitz@gmx.net>
2669 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2670 InsetText::read() as LyXText::read()
2672 2003-12-02 Angus Leeming <leeming@lyx.org>
2674 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2675 type. Add a comment in the implementation that the function uses
2676 the stream's bad() function rather than fail() as the std::streams
2679 2003-12-02 André Pönitz <poenitz@gmx.net>
2681 * lyxlex.[Ch]: make interface more similar to std::stream
2683 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2685 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2687 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2689 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2691 * vspace.[Ch]: remove VSpace::NONE
2693 2003-12-01 André Pönitz <poenitz@gmx.net>
2696 * lyxtext.h: move ParagraphList member to LyXText
2697 rename LyXText::ownerParagraphs to LyXText::paragraph
2700 * bufferview_funcs.C:
2710 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2712 * undo.C: fix cursor positioning
2714 2003-12-01 John Levon <levon@movementarian.org>
2716 * BufferView_pimpl.C: fix a crash on exit with
2719 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2721 * BranchList.C: fix setSelected() method.
2723 2003-11-28 André Pönitz <poenitz@gmx.net>
2725 * ParagraphParameters.[Ch]:
2726 * ParameterStruct.h: remove space above/below from Paragraph to
2729 * BufferView_pimpl.C:
2735 * paragraph_funcs.C:
2741 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2743 * factory.C: Syntax change for CharStyles
2745 2003-11-28 André Pönitz <poenitz@gmx.net>
2750 * buffer.[Ch]: move LyXText member
2752 2003-11-28 André Pönitz <poenitz@gmx.net>
2754 * BufferView.[Ch]: make LyXText * text a private member
2756 * BufferView_pimpl.C:
2767 * output_plaintext.C: cleanup
2769 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2772 * lyxtextclass.[Ch]: parametrize SGML document header
2774 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2777 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2780 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2782 * text2.C (setFont): rework using PosIterator (no more recursive)
2783 (setCharFont): no more needed
2784 (setLayout): no more selection cursors fiddling (done by redoCursor)
2785 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2786 destroy remaining ones)
2788 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2790 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2792 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2795 * text3.C: adjust + re-allow multi par depth changes
2796 * textcursor.C: simplify a bit
2798 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2804 * src/output_docbook.C:
2805 * src/output_latex.C:
2810 * src/text2.C: Introducing a number of tags parametrizing various
2811 XML formats that we may want to support
2813 2003-11-25 André Pönitz <poenitz@gmx.net>
2815 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2817 * lyxtext.h (leftMargin/rightMargin): simplify interface
2824 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2826 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2827 master file to any child files. Fixes bug 546.
2829 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2831 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2833 2003-11-24 André Pönitz <poenitz@gmx.net>
2835 * rowpainter.C: simplification
2837 * text2.C (updateCounters): remove call to redoParagraph on
2838 changed labels as this is far too expensive.
2840 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2842 * converter.C (convert): fix a crash: this function gets
2843 called with buffer == 0 from importer code.
2845 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2847 * text3.C (cursorPrevious): make sure that we do not compare
2848 iterators form different containers.
2851 * rowpainter.C (paintSelection): make sure that we do not compare
2852 iterators from different containers.
2854 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2855 iterators from different ParagraphList containers.
2858 * text2.C (LyXText): change order of initialization slightly
2859 (operator=): new function. copy all variables except cache_par_
2860 (moveUp): make sure that we do not compare iterators from
2861 different ParagraphList constainers.
2864 * text.C (firstPar): new function
2865 (lastPar): new function
2866 (endPar): new function
2868 * lyxtext.h: move things around and group public functions, public
2869 variables, private functions, private variables
2871 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2873 * factory.C: change call to InsetERT constructor to avoid
2874 additional invocation of method status
2875 * text2.C (toggleInset): remove redundant update() call
2876 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2877 instead of a Bufferview pointer
2879 2003-11-21 André Pönitz <poenitz@gmx.net>
2881 * rowpainter.C: simplification
2883 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2885 * text3.C (dispatch): make possible to extend a word/row selection
2888 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2890 * lyxtext.h: x0_,y0_ -> xo_,yo_
2891 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2892 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2893 * rowpainter.C (paintRows): paint full paragraphs
2895 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2897 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2900 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2902 * lyxtext.h: add x0_, y0_
2903 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2904 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2906 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2908 * text2.C (setCursorIntern): move the x_target update here *
2909 * text3.C: change some bv() to true/false in calls to
2910 cursorUp/Down/Right/Left
2911 * cursor.C: use helper function.
2913 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2915 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2916 * paragraph_funcs.[Ch]: correct comment
2917 * rowpainter.C: do not paint selections away from bv->cursor()
2918 Fix a long standing selection painting bug.
2919 * text3.C: generalize mouse-selection code to LyXTexts other that
2921 * textcursor.C: do not use y coords if we can use par offsets
2923 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2925 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2926 cursor position after e.g. inset insert)
2928 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2930 * lyxfind.C (replace): adjust to locking removal + some
2933 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2935 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2938 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2941 * output_docbook.C: XML sanitation: new layout
2942 parameters InnerTag and CommandDepth
2944 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2946 * BufferView_pimpl.C:
2948 * text3.C: Fix the insertion and modification of button-style
2951 2003-11-13 André Pönitz <poenitz@gmx.net>
2953 * InsetList.[Ch]: remove deleteLyXText
2955 * paragraph.[Ch]: cache beginOfBody position
2960 * text3.C: remove superfluous update() calls
2964 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2966 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2967 * BufferView.C (fitLockedInsetCursor): remove
2968 * cursor.[Ch] (getDim): add
2969 * text.C (getRowNearY): add faster version
2970 * text3.C: remove some update calls
2972 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2984 * text3.C: The Character Style /XML short element patch.
2986 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2989 * factory.C: Small step to solving 'unable to insert some insets'
2992 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2994 * cursor.[Ch] (updatePos): new function for updating the y
2995 position of the tip inset
2996 * bufferview_funcs.C (put_selection_at):
2997 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2999 2003-11-11 André Pönitz <poenitz@gmx.net>
3001 * text.C: remove big comment on invalid Paragraph pointers as it is
3004 2003-11-11 André Pönitz <poenitz@gmx.net>
3006 * text_funcs.[Ch]: merge with ...
3014 * Makefile.am: remove text_funcs.[Ch]
3016 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3018 * cursor.C (getPos): return absolute cached y coord
3020 * BufferView_pimpl.C (fitCursor): new simplistic code
3021 (workAreaDispatch): add a fitCursor call
3023 2003-11-10 André Pönitz <poenitz@gmx.net>
3026 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3028 2003-11-10 André Pönitz <poenitz@gmx.net>
3030 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3031 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3032 indicate that the cursor needs to leave an inset
3034 * lyxtext.h: remove inset locking
3036 * cursor.[Ch]: re-implement functionality provided by inset locking
3039 * BufferView_pimpl.[Ch]:
3041 * bufferview_funcs.[Ch]:
3053 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3055 * PosIterator.[Ch]: replace the stack with a vector, add inset
3057 * iterators.[C]: adjust
3059 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3061 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3063 * paragraph_funcs.C (readParToken): put the correct id in the
3064 error item, not the id of the top paragraph
3066 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3068 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3069 * bufferview_funcs.C (put_selection_at): use the above
3071 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3073 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3075 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3077 * output_linuxdoc.h:
3078 * output_plaintext.h:
3080 * output_docbook.h: add #include statements
3082 2003-11-05 José Matos <jamatos@lyx.org>
3084 * output_docbook.[Ch]:
3085 * output_latex.[Ch]:
3086 * output_linuxdoc.[Ch]:
3087 * output_plaintext.[Ch]: New files for output formats.
3088 * output.[Ch]: New file for helper functions.
3091 * paragraph_funcs.[Ch]: output functions moved to new files.
3093 * outputparams.h: rename of latexrunparams.h
3101 * paragraph_funcs.[Ch]:
3102 * paragraph_pimpl.[Ch]:
3103 * tabular.[Ch]: rename ascii to plaintext
3104 and LatexRunParams to OutputParams.
3106 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3108 * iterators.[Ch] (text): require bv argument
3109 * undo.C (recordUndo):
3110 * lyxfunc.C (dispatch):
3111 * bufferview_funcs.C (put_selection_at): adjust
3113 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3115 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3117 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3119 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3122 2003-11-04 André Pönitz <poenitz@gmx.net>
3124 * cursor.[Ch]: restructure
3127 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3129 * iterators.[Ch] (asCursor): remove
3131 * lfuns.h: remove LFUN_INSET_EDIT
3137 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3139 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3141 * lyxfind.[Ch]: complete overhaul
3142 * BufferView_pimpl.C:
3144 * paragraph.[Ch] (insert): add
3146 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3150 * text.C: remove dead spellcheck code
3152 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * dispatchresult.h: add a val setter
3156 * cursor.C (dispatch): use a tempvar for data_[i]
3158 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3160 * PosIterator.[Ch]: compile fix
3162 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3164 * text.C (cursorPar): deactivate the cursor cache
3166 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3168 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3170 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * text3.C (dispatch): adjust for new DisptchResult semantics.
3174 * lyxfunc.C (dispatch): handle update when return from
3175 Cursor::dispatch, adjust for new DispatchResult semantics.
3177 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3178 DispatchResult(true) mean to not update. Add class functions for
3179 setting dispatched and update, as well as reading.
3181 * cursor.C (dispatch): don't handle update here
3183 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3185 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3186 * trans_mgr.C: adjust
3188 * paragraph_funcs.C (readParToken): exception safety
3190 * lyxvc.h: store the vcs pointer in a scoped_ptr
3193 * lyxsocket.C (serverCallback): exception safety
3195 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3197 * ispell.C (clone): make it return a auto_ptr
3199 * factory.C (createInset): exception safety
3200 (readInset): exception safety
3202 * bufferlist.C (newBuffer): exception safety
3204 * Thesaurus.C (Thesaurus): use initialization for aik_
3206 * MenuBackend.C (expandToc): exception safety.
3208 2003-11-03 André Pönitz <poenitz@gmx.net>
3212 * bufferview_funcs.C: remove getInsetFromId()
3215 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3221 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3223 * PosIterator.C (distance, advance): new
3224 * bufferview_funcs.[Ch] (put_selection_at): new
3225 * iterators.[Ch] (lockPath): new
3227 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3229 * iterators.[Ch] (asPosIterator): added
3230 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3231 * PosIterator.[Ch]: added
3233 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3237 * cursor.C (dispatch):
3238 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3240 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3241 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3242 contructor, add a class function dispatched. Remove operator>=
3244 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3246 * debug.C: only use the default constructor for debugstream
3249 * main.C (main): include debug.h and setup the lyxerr streambuf
3252 2003-10-31 José Matos <jamatos@lyx.org>
3254 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3256 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3257 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3258 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3259 * paragraph_pimpl.C (simpleTeXSpecialC):
3260 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3261 add LatexRunParams argument.
3263 * exporter.C (Export): change call accordingly.
3265 * latexrunparams.h: add new member to take care of the other backends.
3266 2003-10-30 José Matos <jamatos@lyx.org>
3268 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3269 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3270 factorise code for paragraph output.
3272 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3275 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * text3.C (dispatch):
3278 * lyxfunc.C (dispatch):
3279 * cursor.C (dispatch):
3280 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3282 * dispatchresult.h: make the dispatch_result_t ctor explicit
3284 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3287 * buffer.C: small refactoring of docbook stuff
3289 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3294 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3296 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3297 operator dispatch_result_t, and operators for == != and >=
3299 * cursor.C (dispatch): adjust for operator dispatch_result_t
3300 removal. comment out call to update
3302 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3304 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3312 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3315 * dispatchresult.h: new file, DispatchResult broken out of
3318 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3320 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3322 * text.C (rowBreakPoint): put a hack inside #if 0
3324 2003-10-28 André Pönitz <poenitz@gmx.net>
3328 * paragraph_funcs.C:
3331 * text2.C: general cleanup (lots of small stuff)
3333 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3335 * text2.C (cursorEnd): simple fix to the "end key goes to one
3336 before the end on last row" bug
3338 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3340 * text.C (backspace): fix the "zombie characters"
3342 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3344 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3346 2003-10-27 André Pönitz <poenitz@gmx.net>
3348 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3350 * factory.C: handle new InsetPagebreak, InsetLine
3352 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3353 and move handling into new InsetPagebreak, InsetLine
3355 * BufferView_pimpl.C:
3357 * ParagraphParameters.C:
3358 * ParameterStruct.h:
3363 * paragraph_funcs.C:
3364 * paragraph_pimpl.C:
3370 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3373 * lyxrow_funcs.[Ch]:
3379 * text3.C: remove lastPos uses in favour of Row::endpos
3381 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3383 * undo.C (performUndoOrRedo): fix two crashes by setting a
3384 cursor by hand and reordering some calls. Use bv->lockInset instead
3385 of inset->edit because the latter loses cursor information
3387 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3389 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3391 (rowBreakPoint): fix width. change point to point + 1.
3392 Add a missing check.
3394 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3397 * lyxfunc.C: fix (at least partly) the problems
3398 with the Nav menu and headers inside branch insets
3401 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3403 * paragraph.C (getChar): add strong asserts
3405 * lyxrow_funcs.C (lastPos): remove hideous hack
3407 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3408 (fill): adjust to that (avoid an infinite loop)
3410 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3412 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3414 2003-10-23 André Pönitz <poenitz@gmx.net>
3416 * RowList_fwd.h: change list<> to vector<> to gain speed
3417 after suggestion from Alfredo
3419 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3421 * lyxtext.h: move the bidi stuff from here...
3424 * Bidi.[Ch]: ... to here
3426 2003-10-23 André Pönitz <poenitz@gmx.net>
3429 * text.C (isLastRow, isFirstRow): new functions
3431 * paragraph.h: new width cache member
3433 * rowpainter.C: replace RowList::iterator with Row & where possible
3435 * lyxfunc.C: replace several view()->text with a single call
3437 * toc.C: fix 'unused' warning
3439 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3441 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3442 when woring with stream::pos_type
3443 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3445 2003-10-22 André Pönitz <poenitz@gmx.net>
3448 * text.C: use Row & instead of RowList::iterator
3450 * lyxrow.h: rename end() to endpos()
3456 2003-10-22 Angus Leeming <leeming@lyx.org>
3458 * buffer.[Ch] (fully_loaded): new member function, returning true
3459 only when the file has been loaded fully.
3460 Used to prevent the premature generation of previews and by the
3461 citation inset to prevent computation of the natbib-style label.
3463 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3464 templates are all set up.
3466 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3468 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3470 * text.C: fixed an "oops" in the "is a bit silly"
3473 2003-10-21 André Pönitz <poenitz@gmx.net>
3475 * FuncStatus.[Ch]: small stuff, whitespace
3477 * lyxfont.[Ch]: operator<<() for debug reasons
3481 * lyxtext.h: whitespace, spelling
3483 * paragraph.C: naming of variables
3486 * text2.C: small stuff
3489 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3491 * text.C: (1) finish off the inset display() work;
3492 (2) fix the "is a bit silly" bug (accessing char
3495 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3497 * text.C: re-introduce display() for insets, fixing the
3498 various bugs (stretch of line above, math inset
3501 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3503 * text.C (rightMargin): remove spurious semicolon
3505 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3508 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3510 * text3.C: fix one crash due to wrong cursor def
3512 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * vc-backend.C (scanMaster): make the regex static
3516 * LaTeX.C (scanAuxFile): make the regexs static
3518 * text3.C (doInsertInset, dispatch, dispatch):
3519 * text2.C (cursorUp, cursorDown):
3520 * text.C (selectNextWordToSpellcheck):
3521 * BufferView_pimpl.C (dispatch):
3522 * lyxfunc.C (dispatch): localDispatch -> dispatch
3524 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3526 * lyxsocket.C: include <cerrno>
3528 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * lyxfunc.C (dispatch): remove textcache stuff
3532 * bufferlist.C (release): remove textcache stuff
3535 * TextCache.C: delete file
3536 * TextCache.h: delete file
3538 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3540 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3541 delete of the bv_->text.
3542 (resizeCurrentBuffer): remove texcache stuff
3543 (workAreaResize): ditto
3545 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3547 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3550 2003-10-16 André Pönitz <poenitz@gmx.net>
3557 * text3.C: speed up by storing y positions per paragraph plus per-row
3558 offset instead of having a 'full' y position in the row.
3560 2003-10-15 André Pönitz <poenitz@gmx.net>
3564 * undo.[Ch]: make undo aware of inner insets
3566 2003-10-14 Angus Leeming <leeming@lyx.org>
3568 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3569 static member functions LyX::ref() and LyX::cref.
3570 (lastfiles): new accessor functions for the new lastfiles_ member var.
3571 (addLyXView, views_): add a new LyXView to the list of views_.
3572 (updateInset): loop over all LyXViews to call their own updateInset
3573 member function, returning a pointer to the Buffer owning the inset.
3575 * BufferView_pimpl.C (loadLyXFile):
3576 * MenuBackend.C (expandLastfiles):
3577 * bufferlist.C (MenuWrite, QuitLyX):
3578 lastfiles is no longer a global variable.
3579 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3581 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3582 static function. Access through LyX::cref().emergencyCleanup().
3584 2003-10-14 André Pönitz <poenitz@gmx.net>
3586 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3588 * undo.[Ch]: restoring part of 'undo in insets'
3591 * undo_funcs.[Ch]: merge with undo.[Ch]
3593 * tabular.C: small cleansing stuff
3595 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3597 * paragraph_funcs.C (readParToken): report unknown insets as error
3598 boxes. Use the outer paragraph as location (also for unknown
3601 * factory.C (readInset): do not abort on reading an unknown inset.
3602 Eat it and return 0.
3604 2003-10-13 Angus Leeming <leeming@lyx.org>
3606 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3608 * lyxrc.C: displayTranslator is now a function,
3609 declared in GraphicsTypes.h.
3611 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3613 * format.C: new placeholder $$a to pass the socket address.
3615 * bufferlist.[Ch]: new function getBufferFromTmp.
3617 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3618 files in the temporary dir.
3620 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3622 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3624 * Makefile.am: add lyxsocket.[Ch].
3626 * lyx_main.C (error_handler): handle SIGPIPE.
3628 2003-10-13 André Pönitz <poenitz@gmx.net>
3630 * BufferView_pimpl.C:
3635 * undo_funcs.[Ch]: use paroffset_type instead of
3636 ParagraphList::iterators to prevent multiple conversion
3637 (and get a more robust interface)
3639 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3641 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3643 * text3.C (dispatch): ditto
3645 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3647 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3648 move the onlyfile, use onlyfile instead of foundfile in a couple
3651 * DepTable.C (update): flush the error stream a bit more
3653 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * lyxserver.C (callback): adjust
3657 * lyxfunc.C (getStatus): add a missing brace in commented code
3658 (ensureBufferClean): reindent
3659 (dispatch): delete version taking a string
3661 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * LaTeX.C (deplog): move found file handlig from here...
3664 (handleFoundFile): .. to new function here.
3665 (deplog): make sure to discover several files mentioned on the
3668 2003-10-10 André Pönitz <poenitz@gmx.net>
3675 * text3.C: fix some of the tabular crashes
3677 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3679 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3681 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3683 2003-10-09 André Pönitz <poenitz@gmx.net>
3685 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3688 * BufferView_pimpl.C:
3689 * bufferview_funcs.C:
3700 * undo_funcs.C: adjust
3702 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * text2.C (incrementItemDepth): new function, use a backtracking
3705 algorithm to discover the correct item depth.
3706 (resetEnumCounterIfNeeded): new function, use a backtracking
3707 algorithm to discover if counter reset is needed.
3708 (setCounter): use them. Simplify a bit. Add different labels for
3709 different item depths for itemize.
3711 * paragraph.C (Paragraph): remove initialization of enumdepth
3714 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3715 enumerate and itemize. Change the type of itemdepth to signed char.
3717 2003-10-08 André Pönitz <poenitz@gmx.net>
3719 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3724 * tabular.[Ch]: fix crash after 'row-insert'
3726 2003-10-08 Angus Leeming <leeming@lyx.org>
3728 Fix doxygen warnings.
3730 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3731 Remove CutAndPaste:: prefix from header file declaration.
3733 * LColor.h (fill): remove LColor:: prefix from declaration.
3735 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3736 use lyx::depth_type rather than Paragraph::depth_type so that
3737 header file and .C file match.
3739 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3741 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3742 * aspell.C: \file aspell_local.C -> \file aspell.C
3743 * gettext.C: \file gettext.C -> \file src/gettext.C
3744 * gettext.h: \file gettext.h -> \file src/gettext.h
3745 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3746 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3747 * text.C: \file text.C -> \file src/text.C
3749 * toc.C: move comment so that doxygen is not confused.
3751 2003-10-07 Angus Leeming <leeming@lyx.org>
3753 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3755 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3758 * aspell_local.h: add forgotten std::string's.
3760 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3767 * text3.C: The Box patch. Fancybox support, minipage, parbox
3769 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3775 * ParagraphParameters.h:
3785 * lyxtextclasslist.h:
3788 * paragraph_pimpl.C:
3789 * textcursor.h: add <string> and other small fixes to make Lars'
3790 std::string patch compile with STLport.
3792 2003-10-06 Angus Leeming <leeming@lyx.org>
3794 * LColor.h: Add missing #include <string>.
3796 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * All most all file in all subdirs: Make <string> be the prefered
3799 way of getting to std::string, add using declarations.
3801 2003-10-06 André Pönitz <poenitz@gmx.net>
3803 * metricsinfo.C: initialize LyXFont before changing attribute.
3804 (fixes the 'math in \emph is upright' bug)
3806 2003-10-06 André Pönitz <poenitz@gmx.net>
3808 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3810 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3813 * paragraph_pimpl.C: Small fixes to build using STLport
3815 2003-10-02 André Pönitz <poenitz@gmx.net>
3818 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3820 2003-10-01 André Pönitz <poenitz@gmx.net>
3822 * factory.C: assert early
3824 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * lyx_main.C: remove the global debug object
3828 * debug.h: adjust for new debugstream
3830 * debug.C: adjust for new debugstream and keep the global debug
3833 2003-09-22 Angus Leeming <leeming@lyx.org>
3835 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3836 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3837 an incomplete class LyXFont.
3839 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3841 * factory.C: bug fix in branches
3843 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3845 * lyxfunc.C (processKeySym): adjust
3847 (dispatch): change arg name from ev to func, adjust
3848 (sendDispatchMessage): ditto
3850 * lyx_main.C (defaultKeyBindings): adjust keybindings
3851 (deadKeyBindings): ditto
3853 * kbsequence.C (addkey): return a FuncRequest
3855 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3857 * kbmap.C (bind): take a FuncRequest as arg, adjust
3860 (defkey): change to take a FuncRequest as arg, adjust
3861 (findbinding): take a FuncRequest as arg, adjust.
3863 * funcrequest.h (operator=): added
3865 * funcrequest.C (FuncRequest): default kb_action changed from
3866 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3868 * buffer.C (dispatch): simplify
3869 (dispatch): adjust to take a FuncRequest as arg, adjust
3871 * boost.C (assertion_failed): change assertion message slightly
3873 * ToolbarBackend.C (read): simplify
3875 * MenuBackend.C (binding): adjust call to findbinding, add a
3876 message if no binding is found.
3878 (expandToc): correct by adding a empty FuncRequest
3880 * LyXAction.C: include <boost/assert.hpp>
3881 (isPseudoAction): delete function
3882 (LookupFunc): change name to...
3883 (lookupFunc): this. change return type to FuncRequest.
3884 (getActionName): take kb_action as arg, simplify
3885 (funcHasFlag): add an assert, simplify.
3887 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * toc.C (action): return a FuncRequest, simplify
3891 * lyxfunc.C (processKeySym): adjust
3892 (getStatus): delete version that takes an int.
3894 (dispatch): delete version that takes action as int
3896 (sendDispatchMessage): simplify and adjust
3898 * funcrequest.C (getArg): take unsigned int as arg
3900 * ToolbarBackend.C (read): adjust
3901 (add): delete version that takes func as a string.
3902 (getIton): take a FuncRequest as arg
3904 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3907 * MenuBackend.C (MenuItem): add a new construct that only takes a
3908 Kind, simplify the constructor use for submenus.
3910 (expandLastfiles): adjust
3911 (expandDocuments): adjust
3912 (expandFormats): adjust
3913 (expandFloatListInsert): adjust
3914 (expandFloatInsert): adjust
3915 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3917 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3918 Remove class variables lyx_pseudo_map and lyx_arg_map
3920 * LyXAction.C (searchActionArg): delete function
3921 (getPseudoAction): delete function
3922 (retrieveActionArg): delete function
3923 (LookupFunc): make it return kb_action, simplify.
3924 (getActionName): simplify
3926 * factory.C (createInset): fix new bug
3928 2003-09-19 Angus Leeming <leeming@lyx.org>
3930 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3931 masterFilename_ parameter in the include inset.
3933 * factory.C (createInset): changes due to the changes to InsetInclude.
3935 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3937 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3939 2003-09-18 Angus Leeming <leeming@lyx.org>
3942 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3943 Inset::fillWithBibKeys.
3944 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3946 2003-09-18 Angus Leeming <leeming@lyx.org>
3948 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3950 (ctor): pass and store a 'Buffer const &'
3951 (buffer): new member function.
3953 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3954 '*this' to the LaTeXFeatures ctor.
3956 2003-09-18 Angus Leeming <leeming@lyx.org>
3962 * text.C: rename EnumLColor as LColor_color.
3964 2003-09-18 Angus Leeming <leeming@lyx.org>
3966 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3967 remove #include "insets/insetbase.h" from cursor.h.
3969 2003-09-18 Angus Leeming <leeming@lyx.org>
3971 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3972 InsetOld_code to remove #include "inset.h".
3974 * iterators.C: add #include "insets/inset.h"
3976 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3978 * BufferView.C: remove more locking stuff that apparently doesn't
3979 do anything sensible.
3981 2003-09-16 André Pönitz <poenitz@gmx.net>
3984 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3987 2003-09-16 Angus Leeming <leeming@lyx.org>
3989 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3991 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3994 * paragraph.h: remove #include "lyxfont.h". Forward declare
3997 2003-09-16 Angus Leeming <leeming@lyx.org>
3999 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4000 of support/textutils.h.
4001 (isWord): move the contents of support/textutils.h's IsWordChar here.
4007 * text2.C: add #include "paragraph.h".
4010 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4012 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4018 * LaTeX.C: use namespace alias for lyx::support::os
4020 2003-09-16 Angus Leeming <leeming@lyx.org>
4023 * bufferview_funcs.C:
4026 * paragraph_pimpl.C:
4028 * text.C: add #include "LColor.h".
4030 2003-09-16 Angus Leeming <leeming@lyx.org>
4032 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4033 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4035 Store the FontBits::color variable as an int rather than as an
4036 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4039 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4040 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4041 string calls together.
4043 * lyxrc.C: add #include "LColor.h".
4045 2003-09-15 Angus Leeming <leeming@lyx.org>
4047 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4050 2003-09-15 Angus Leeming <leeming@lyx.org>
4052 * LColor.h: add an EnumLColor wrapper for LColor::color.
4054 * lyxfont.[Ch] (color, setColor, realColor):
4055 * lyxtext.h, text.C (backgroundColor):
4056 pass EnumLColor args to/from the functions, rather than LColor::color
4060 * lyxtext.h: forward declare EnumLColor.
4062 * lyx_main.C: add #include "LColor.h".
4064 2003-09-15 Angus Leeming <leeming@lyx.org>
4066 * .cvsignore: add lyx-gtk.
4068 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * ParagraphParameters.C
4077 * bufferview_funcs.C
4087 * vc-backend.C: remove usage of STRCONV
4089 2003-09-15 Angus Leeming <leeming@lyx.org>
4091 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4092 explicitly define the color passed to the painter.
4094 2003-09-15 Angus Leeming <leeming@lyx.org>
4096 * bufferparams.C (BufferParams): reorder member initializers to avoid
4099 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4101 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4102 * text.C (updateRowPositions): remove an unusual nop
4104 2003-09-12 André Pönitz <poenitz@gmx.net>
4106 * BufferView_pimpl.C:
4115 * Counters.[Ch]: finish the 'automatic counters' job
4117 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4119 * aspell.C: include <boost/assert.cpp> (compile fix)
4121 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4123 * boost.C (assertion_failed): use lyx::support::abort instead of
4126 2003-09-10 Angus Leeming <leeming@lyx.org>
4128 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4129 with their _fwd progeny.
4131 2003-09-09 Angus Leeming <leeming@lyx.org>
4133 134 files throughtout the source tree: replace 'using namespace abc;'
4134 directives with the appropriate 'using abc::xyz;' declarations.
4136 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4138 * boost.C (emergencyCleanup): moved here from LAssert.c
4139 (assertion_failed): new function, called by BOOST_ASSERT
4141 * several files: change Assert to BOOST_ASSERT
4143 2003-09-09 Angus Leeming <leeming@lyx.org>
4145 * buffer.[Ch]: Add an Impl class and move Buffer's member
4146 variables into it. As a result move several header files out of
4149 Add header files to lots of .C files all over the tree as a result.
4151 2003-09-09 Angus Leeming <leeming@lyx.org>
4153 * buffer.[Ch]: make Buffer's member variables private. Add
4156 Lots of changes all over the tree as a result.
4158 2003-09-08 Angus Leeming <leeming@lyx.org>
4160 * graph.C: #include <config.h>.
4162 2003-09-08 Angus Leeming <leeming@lyx.org>
4166 * BufferView_pimpl.C:
4195 * toc.C: remove redundant using directives.
4197 2003-09-07 Angus Leeming <leeming@lyx.org>
4199 * LaTeXFeatures.h: remove #include "support/types.h".
4200 * ToolbarBackend.h: remove #include <algorithm>.
4201 * changes.h: remove #include <ctime>.
4202 * debug.h: remove #include <iosfwd>.
4203 * graph.h: remove #include "support/std_string.h".
4204 * lyx_main.h: remove #include <csignal>.
4205 * lyxlex_pimpl.h: remove #include <fstream>.
4206 * sgml.h: remove #include <algorithm>, <utility>.
4207 * toc.h: remove #include "support/std_ostream.h".
4208 Add #include <iosfwd>.
4210 2003-09-07 Angus Leeming <leeming@lyx.org>
4212 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4214 * converter.h: forward declare LatexRunParams.
4215 * encoding.h: remove #include "lyxrc.h".
4216 * lyxtext.h: remove #include "LColor.h".
4217 * lyxtextclass.h: remove #include "support/types.h".
4218 * trans.h: remove #include "tex-accent.h".
4219 * trans_mgr.h: remove #include "tex-accent.h".
4220 * insets/inset.h: remove #include "support/types.h", <vector>.
4221 * insets/insetcollapsable.h: remove #include "LColor.h".
4222 * insets/insetinclude.h: remove #include "dimension.h".
4223 * insets/insetlatexaccent.h: remove #include "dimension.h".
4224 * insets/insetoptarg.h:: remove #include "insettext.h".
4225 * insets/insettext.h: remove #include "dimension.h",
4226 <boost/shared_ptr.hpp>
4228 * insets/renderers.h: add #include "dimension.h".
4229 * insets/updatableinset.h: add #include "support/types.h".
4231 * many .C files: Associated changes.
4233 2003-09-06 Angus Leeming <leeming@lyx.org>
4235 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4236 one, inside testInvariant.
4238 * PrinterParams.C: new file.
4239 * PrinterParams.[Ch]: move the function bodies out of line.
4241 2003-09-06 Angus Leeming <leeming@lyx.org>
4243 * ParagraphParameters.h: forward declare ParameterStruct rather than
4244 including its header file.
4245 (depth): moved out-of-line.
4247 2003-09-06 Angus Leeming <leeming@lyx.org>
4249 * BufferView_pimpl.h:
4252 * lyxfunc.h: forward declare LyXKeySym rather than
4253 #include "frontends/LyXKeySym.h".
4255 * BufferView_pimpl.C:
4258 * lyxfunc.C: associated changes.
4260 2003-09-06 Angus Leeming <leeming@lyx.org>
4262 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4263 As a result, can remove the #include "insets/inset.h" from BufferView.h
4265 2003-09-06 Angus Leeming <leeming@lyx.org>
4267 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4268 As a result, can remove the #include "insets/inset.h" from BufferView.h
4270 2003-09-06 Angus Leeming <leeming@lyx.org>
4276 * bufferview_funcs.C:
4277 * BufferView_pimpl.C:
4282 * ParagraphParameters.C:
4287 * frontends/controllers/ControlDocument.C:
4288 * insets/insetcaption.C: rearrange the #includes into some sort of
4291 * buffer.h: remove #includes ErrorList.h, undo.h
4293 2003-09-06 Angus Leeming <leeming@lyx.org>
4295 * support/types.h: add a 'depth_type' typedef, used to store the
4296 nesting depth of a paragraph.
4299 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4300 defining explicitly.
4303 * paragraph_funcs.h:
4304 * ParagraphParameters.h:
4305 * sgml.h: use lyx::depth_type rather than Paragraph or
4306 ParameterStruct's depth_type.
4309 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4312 * BufferView_pimpl.C:
4314 * ParagraphParameters.C:
4317 * bufferview_funcs.C:
4324 * frontends/LyXView.C:
4325 * frontends/controllers/ControlDocument.C:
4326 * frontends/controllers/ControlErrorList.C:
4327 * insets/insetbibitem.C:
4328 * insets/insetbranch.C:
4329 * insets/insetcaption.C:
4330 * insets/insetcollapsable.C:
4331 * insets/insetenv.C:
4332 * insets/insetert.C:
4333 * insets/insetfloat.C:
4334 * insets/insetfoot.C:
4335 * insets/insetfootlike.C:
4336 * insets/insetnewline.C:
4337 * insets/insetquotes.C:
4338 * insets/insettabular.C:
4339 * insets/insettext.C:
4340 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4342 * frontends/controllers/ControlChanges.C: #include "changes.h".
4344 2003-09-06 Angus Leeming <leeming@lyx.org>
4346 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4347 than #including paragraph.h.
4350 * RowList.h: deleted. Superfluous.
4360 * insets/insettext.h: use ParagraphList_fwd.h rather than
4363 * paragraph.h: don't forward declare ParagraphList.
4366 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4367 rather than ParagraphList.h. paragraph.h is still needed for the
4368 Paragraph::depth_type parameters.
4370 * textcursor.h: enable it to compile stand-alone in light of the
4373 * bufferview_funcs.C:
4385 * frontends/controllers/ControlParagraph.C:
4386 * frontends/controllers/ControlTabular.C:
4387 * insets/insetmarginal.C:
4388 * insets/insetminipage.C:
4389 * insets/insetnote.C:
4390 * insets/insetoptarg.C: add header files needed to compile again.
4392 2003-09-06 Angus Leeming <leeming@lyx.org>
4394 * RowList_fwd.h: new file, forward-declaring Row rather than
4395 #including lyxrow.h.
4400 * insets/insettext.h: use it instead of RowList.h
4402 * bufferview_funcs.C:
4409 * text3.C: #include "RowList.h".
4411 2003-09-05 Angus Leeming <leeming@lyx.org>
4413 * factory.C (createInset):
4414 * vspace.C (c-tor): replace sscanf call with an istringstream.
4415 * ispell.C: re-add missing HP/UX headers.
4416 * lyxserver.C: re-add missing os2 headers.
4418 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4427 * text3.C: re-add missing system headers, needed for 2.95.2.
4429 2003-09-05 Angus Leeming <leeming@lyx.org>
4431 Changes most place everywhere due to the removal of using directives
4432 from support/std_sstream.h.
4434 2003-09-05 Angus Leeming <leeming@lyx.org>
4436 Replace LString.h with support/std_string.h,
4437 Lsstream.h with support/std_sstream.h,
4438 support/LIstream.h with support/std_istream.h,
4439 support/LOstream.h with support/std_ostream.h.
4441 Changes resulting throughout the tree.
4443 2003-09-05 Angus Leeming <leeming@lyx.org>
4445 * sgml.h: ensure that the header file can be compiled stand-alone.
4446 * *.C: strip out redundant #includes. (320 in total.)
4448 2003-09-04 Angus Leeming <leeming@lyx.org>
4450 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4451 here (from getPackages).
4453 * debug.[Ch]: add a new EXTERNAL tag.
4455 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4457 * text2.C (cursorEnd): simplify
4459 (getColumnNearX): adjust
4461 * text.C (computeBidiTables): adjust
4464 * rowpainter.C (paintChars): adjust
4465 (paintSelection): adjust
4466 (paintChangeBar): adjust
4469 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4471 (numberOfSeparators): adjust
4473 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4479 * text3.C: Restricts the mouse click functionality
4480 of insets like bibtex, include, toc and floatlist to the visible
4481 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4482 up the dialogs. Cursor has to be in front of the inset (i.e.
4483 start of row) for this to function.
4485 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4487 * bufferview_funcs.C (currentState): output row information
4489 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4491 * bufferview_funcs.C (currentState): output paragraph position
4493 2003-09-04 Angus Leeming <leeming@lyx.org>
4495 * FloatList.h: move out #include "Floating.h".
4496 * LaTeX.h: move out #include "DepTable.h".
4497 * LyXAction.h: move out #include "funcrequest.h".
4498 * buffer.h: move out #include "author.h", "iterators.h".
4499 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4500 * lyx_main.h: move out #include "errorlist.h".
4501 * lyxfunc.h: move out #include "FuncStatus.h".
4502 * lyxtext: move out #include "lyxcursor.h".
4503 * paragraph_pimpl.h: move out #include "counters.h".
4505 2003-09-03 Angus Leeming <leeming@lyx.org>
4507 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4508 preamble_snippets list, enabling us to add snippets to the preamble
4509 only if the snippet was not there already.
4511 2003-09-04 Angus Leeming <leeming@lyx.org>
4513 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4515 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4517 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4520 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4522 * BranchList.C: point fix, earlier forgotten
4524 2003-09-02 Angus Leeming <leeming@lyx.org>
4526 * box.C (contains): renamed from 'contained' after a fantastic
4529 2003-09-02 John Levon <levon@movementarian.org>
4535 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4537 2003-09-02 John Levon <levon@movementarian.org>
4539 * text2.C: simplification of cursorEnd(), including partial
4542 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4544 * buffer.C (readFile): add a space
4546 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4548 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4550 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * buffer.C (readFile): new function, take a filename and a
4553 ParagraphList::iterator
4555 (readFile): adjust, make it private. don't use setStream, make
4556 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4557 always contain the filename.
4559 * BufferView.C (insertLyXFile): simplify and make it work for
4562 2003-08-30 John Levon <levon@movementarian.org>
4564 * Makefile.am: fix dist (from Kayvan)
4566 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4568 * most files: change to use const Buffer refs
4570 2003-08-27 André Pönitz <poenitz@gmx.net>
4572 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4573 on top of ownerPar().
4575 2003-08-27 John Levon <levon@movementarian.org>
4577 * funcrequest.C: properly initialise POD members
4579 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4581 * lyxtext.h (top_y): move top_y from here
4586 * BufferView_pimpl.[Ch]: to here
4587 * frontends/screen.C:
4588 * insets/insettabular.C:
4589 * insets/insettext.C: adjust
4590 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4592 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4595 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4597 2003-08-26 André Pönitz <poenitz@gmx.net>
4599 * paragraph_func.[Ch] (outerPar): new function
4602 * paragraph_funcs.C:
4603 * paragraph_funcs.h:
4604 * paragraph_pimpl.C:
4605 * text2.C: remove Inset::par_owner
4607 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4612 * text2.C: eliminates the needFullRow/display() stuff
4613 altogether, putting the logic in metrics/draw in the insets.
4615 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4617 * text2.C (redoParagraphInternal, redoParagraphs):
4618 * text.C (redoParagraph): add a call to updateRowPositions at the
4619 end of each 'metrics-like' call. Remove all others.
4620 (getRow): remove the 'y-computing' version.
4621 (getRowNearY): do not compute nor return the real y. Solve the
4622 'y < 0' problem and simplify.
4624 2003-08-22 Angus Leeming <leeming@lyx.org>
4626 * *.[Ch]: clean-up of licence and author blurbs.
4627 Also move config.h out of a few .h files and into a few .C files.
4629 2003-08-22 André Pönitz <poenitz@gmx.net>
4631 * lyxrow.[Ch]: add x_ and *fill_ members
4636 * text2.C: adjust/remove prepareToPrint() calls
4638 2003-08-22 André Pönitz <poenitz@gmx.net>
4640 * lyxrow.[Ch]: add end_ member
4642 * lyxrow_funcs.C: use LyXRow::end_
4644 * lyxtext.h (singleWidth): add LyXFont parameter
4647 * text2.C: adjust LyXText::singleWidth() calls
4649 * text.C (redoParagraph): simplify row breaking logic
4652 2003-08-19 André Pönitz <poenitz@gmx.net>
4654 * funcrequest.C: initialize button_ member
4657 * rowpainter.[Ch]: interface consolidation
4659 2003-08-18 André Pönitz <poenitz@gmx.net>
4662 * BufferView_pimpl.C:
4664 * paragraph_funcs.C:
4666 * text3.C: remove LyXScreen::draw() and fitCursor calls
4668 * BranchList.h: remove spurious semicolons
4670 * MenuBackend.C: fix branchlist related crash
4672 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4680 * bufferparams.[Ch]:
4684 * text3.C: implements the 'branch inset'
4685 idea. This allows the output of various versions of a document
4686 from a single source version, selectively outputing or suppressing
4687 output of parts of the text.
4688 This implementation contains a 'branch list editor' in a separate
4689 tab of the document settings dialog. Branches are user definable
4690 and have a "display colour" to distinguish them on-screen.
4692 ColorHandler was somewhat cleaned up.
4693 (1) make possible a dynamically growing LColor list by allowing
4694 the graphic context cache to grow along (vector);
4695 (2) eliminate an IMHO unnecessary step in colour allocation.
4697 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4699 * BufferView_pimpl.C: compile fix
4701 2003-08-15 André Pönitz <poenitz@gmx.net>
4703 * rowpainter.C: remove extra metrics calls
4705 * lyxtext.h: merge the two constructors into a single one,
4706 pass reference to owner's par list
4708 * BufferView_pimpl.C:
4712 2003-08-15 André Pönitz <poenitz@gmx.net>
4714 * lyxrow_funcs.[Ch]:
4717 * paragraph_funcs.C:
4722 * text_funcs.C: split LyXText::rowlist_ into individual
4723 Paragraph::rows_ chunks
4726 * BufferView_pimpl.[Ch]:
4729 * text3.C: remove toggleSelection()
4731 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4733 * bufferlist.C: beautify two alerts (shorter text of buttons)
4734 * buffer.C: Remove redundant ' ' from message
4736 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4737 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4738 rename VALIGN_CENTER to VALIGN_MIDDLE
4740 2003-08-11 André Pönitz <poenitz@gmx.net>
4742 * lyxtext.h (getPar):
4743 * text.C: new function
4745 2003-08-11 André Pönitz <poenitz@gmx.net>
4748 * tracer.[Ch]: remove unneeded files
4750 * InsetList.[Ch]: remove resizeInsetsLyXText()
4755 * text3.C: merge insertParagraphs() and appendParagraph()
4756 remove breakAgain(), update()
4758 * BufferView_pimpl.[Ch]:
4759 * bufferview_funcs.[Ch]:
4763 * tabular.C: adjust after text & InsetList changes.
4765 2003-08-08 André Pönitz <poenitz@gmx.net>
4767 * text.C (insertChar, backspace): replace rowlist fiddling
4768 with rebreak of full par
4771 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4772 checkParagraph, updateInset): removed
4774 2003-08-07 André Pönitz <poenitz@gmx.net>
4777 * text3.C: merge some LFUN handlers, remove dead code
4779 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4781 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4783 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4785 * text2.C (DEPM): fix part of bug 1255 and 1256
4787 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4789 * BufferView_pimpl.C (workAreaDispatch): change to use
4790 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4791 that are no mouse related.
4793 2003-08-05 André Pönitz <poenitz@gmx.net>
4796 * BufferView_pimpl.[Ch]:
4797 * bufferview_funcs.C:
4799 * text3.C: rip out "deep update"
4801 * textcursor.[Ch] (last_sel_cursor): remove unused member
4803 2003-08-04 André Pönitz <poenitz@gmx.net>
4806 * BufferView_pimpl.[Ch]:
4807 * ParagraphParameters.C:
4808 * bufferview_funcs.C:
4814 * text3.C: replace "complicated" BufferView::update(...) calls with
4817 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4819 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4821 * Makefile.am (lyx_SOURCES): add paper.h
4823 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4825 * Makefile.am: move things around so that both lyx-qt and
4826 lyx-xforms can be built (according to --with-frontend). Then lyx
4827 is a symbolic link to lyx-[firstfrontend]
4829 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4831 * Always use std::endl with lyxerr
4833 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4835 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4837 2003-08-01 André Pönitz <poenitz@gmx.net>
4840 * BufferView_pimpl.[Ch]:
4842 * text3.C: merge BufferView::repaint() and BufferView::update()
4844 2003-08-01 José Matos <jamatos@lyx.org>
4846 * buffer.[Ch]: file_format is no longer a buffer data element.
4848 2003-08-01 André Pönitz <poenitz@gmx.net>
4853 * text2.C: make redoParagraph more independent of current cursor
4855 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4857 * text2.C: remove unneeded members
4859 2003-07-30 André Pönitz <poenitz@gmx.net>
4861 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4863 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4864 create a single function...
4866 * paragraph_funcs.C (moveItem): ... here.
4869 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4871 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4873 * LColor.[Ch]: Add comment and greyedout logical colors.
4875 2003-07-30 André Pönitz <poenitz@gmx.net>
4877 * tabular.C: don't use Assert too heavily. This crashes where it
4880 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4882 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4883 is disabled (bug 1232)
4885 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4887 * factory.C: limited 'arg' scope
4889 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4891 * factory.C: fixed Note submenu issues
4893 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4895 * factory.C: submenu for Note/Comment/Greyedout
4897 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4900 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4902 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4905 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4906 greyedout. Patch provided by Jürgen Spitzmüller.
4908 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4910 * kbmap.C (read): fix error message when reading bind files
4912 2003-07-29 Angus Leeming <leeming@lyx.org>
4914 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4915 certainly does not do what it purports to do. I am doing it, and
4916 us, a favour by killing it.
4918 2003-07-28 José Matos <jamatos@lyx.org>
4920 * buffer.C (readBody, do_writeFile):
4921 * paragraph.C(readParagraph): \end_document replaces \the_end.
4923 2003-07-29 André Pönitz <poenitz@gmx.net>
4926 * BufferView_pimpl.[Ch]:
4930 * textcursor.[Ch]: remove toggleToggle & Co
4932 2003-07-28 José Matos <jamatos@fep.up.pt>
4934 * buffer.C (readParagraph):
4935 * params_func (readParToken, readParagraph):
4936 * paragraph.C (write): \layout -> \begin_layout.
4938 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4940 * lyxlex_pimpl.C (setFile): clean up slightly.
4942 * bufferparams.h: add compressed var
4944 * buffer_funcs.C (readFile): adjust for LyXLex change
4945 (newFile): ditto + simplify
4947 * buffer.C (writeFile): handle writing of compressed files
4949 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4950 Check if the file is compressed and set a bufferparm if so.
4952 * Makefile.am (lyx_LDADD): remove explicit -lz
4954 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4956 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4957 makeDocBookFile): put the real LyX version in the first line of
4961 * version.C.in: remove lyx_docversion
4963 * tabular.C (write_attribute): add a template-based version to
4964 write enums properly
4966 2003-07-28 André Pönitz <poenitz@gmx.net>
4971 * text3.C: use doubles again for x-coordinates. They are needed.
4973 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4975 * messages.C (getLocaleDir): use lyx_localedir()
4977 * lyxlex_pimpl.C (setFile): compress stuff
4979 * buffer.C (writeFile): add some compression stuff
4980 (do_writeFile): new func, dont call expliti close... will this
4983 * Makefile.am (lyx_LDADD): add -lz
4985 2003-07-28 José Matos <jamatos@fep.up.pt>
4987 * buffer.C: increment file format.
4988 * paragraph_funcs (readParagraph, readParToken):
4989 * paragraph.C (readParagraph): add \end_layout.
4991 2003-07-27 Angus Leeming <leeming@lyx.org>
4993 * Makefile.am: remove special casing for configure-time setting of
4994 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4996 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4997 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4999 2003-07-26 André Pönitz <poenitz@gmx.net>
5001 * paragraph_func.[Ch]:
5002 * paragraph.C (realizeFont): inline it whereever it is used
5007 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5010 2003-07-26 André Pönitz <poenitz@gmx.net>
5014 * text2.C: get rid of LyXText::need_break_row
5016 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5018 * toc.[Ch]: put namespace toc inside namespace lyx
5020 * MenuBackend.C (expandToc2): adjust for lyx::toc
5023 * lyxfunc.C (dispatch): adjust for lyx::find
5025 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5026 lyx::find instead. Reorganize a bit.
5027 (LyXReplace): rename to replace
5028 (LyXFind): rename to find
5030 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5033 2003-07-26 André Pönitz <poenitz@gmx.net>
5035 * text.C (setHeightOfRow): restrict scope of temporary variable
5037 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5038 code (never has been used?)
5040 2003-07-27 Asger Alstrup <alstrup@local>
5042 * text.C (fill): Optimise algorithm to exploit that we can reuse
5043 the LyXFont for many characters.
5044 (setHeightOfRow): Same thing.
5045 (rowBreakPoint): Same thing.
5047 2003-07-26 Asger Alstrup <alstrup@local>
5049 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5051 * text.C (singleWidth): Spurious font copying in hot-spot
5052 singleWidth avoided. Reorder tests for arabic for efficiency.
5054 * text.C (fill): handle empty paragraphs better.
5056 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5059 * encoding.h: add includes
5061 * lyxrc.C: remove reading of bind files
5063 * lyx_main.C (init): setup bindings and menus only if we have a
5066 * kbmap.C (read): new method. Do the actual reading of bind
5069 * converter.C (dvipdfm_options):
5072 (output): adapt PAPER_* enums.
5074 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5076 * bufferparams.h: remove paper-related enums from there
5078 * paper.h: New file. A trivial header file to hold paper-related
5079 enums. It should later expand to contain many paper-related
5082 * lyxrc.C: declare extern displayTranslator
5084 2003-07-27 José Matos <jamatos@fep.up.pt>
5086 * tabular.[Ch] (linuxdoc): add support for tables and figures
5089 2003-07-27 José Matos <jamatos@fep.up.pt>
5091 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5092 consistency in both functions.
5093 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5095 2003-07-26 Asger Alstrup <alstrup@local>
5097 * rowpainter.C (paintRows): Change algorithm to work directly on
5098 the insets rather than asking every character in the document
5099 whether its an inset.
5101 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5103 * buffer.C (openFileWrite): factorize some code
5105 2003-07-26 Angus Leeming <leeming@lyx.org>
5108 * lyx_main.[Ch]: replace occurances of system_tempdir with
5111 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5113 * rename Inset to InsetOld
5115 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5117 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5118 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5119 which I think is a bit clearer. EDIT is gone, since it was
5120 premature optimisation, and broken for mathed anyway.
5121 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5122 with cursor positioning in insets as well (math insets still do not
5123 work, but that's a different story anyway.) It mysteriously
5124 crashes sometimes with undo in the first paragraph, but I'm fairly
5125 confident that this is a compiler bug.
5127 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5129 * paragraph.C (Paragraph): adjust for new clone return type
5131 (copyIntoMinibuffer): ditto
5133 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5135 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5136 by not having a special case, and always doing a full rebreak of
5137 the document after undo.
5139 2003-07-23 Angus Leeming <leeming@lyx.org>
5141 * factory.C (createInset): InsetExternal::setParams now takes a
5144 2003-07-23 Angus Leeming <leeming@lyx.org>
5146 * factory.C (createInset): changed interface to the external and
5147 graphics mailers' string2params functions.
5149 2003-07-23 Angus Leeming <leeming@lyx.org>
5151 * factory.C (createInset): pass a
5152 Buffer const * parameter to InsetExternalMailer's string2params.
5154 2003-07-22 John Levon <levon@movementarian.org>
5156 * Thesaurus.h: include the right aiksaurus header
5158 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5160 * MenuBackend.C (expand): check menu shortcuts unconditionally
5162 2003-07-21 Angus Leeming <leeming@lyx.org>
5164 * factory.C (createInset): pass a
5165 buffer_path parameter to InsetGraphicsMailer's string2params.
5167 2003-07-21 Angus Leeming <leeming@lyx.org>
5169 * BufferView_pimpl.C (buffer):
5172 * lyxfunc.C (dispatch):
5173 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5174 rather than the grfx shortcut.
5176 2003-07-21 André Pönitz <poenitz@gmx.net>
5178 * rowpainter.C: remove unused variables
5181 * tabular_funcs.h: move to tabular.C
5182 * Makefile.am: adjust
5184 * tabular.[Ch]: basic optical cleaning
5186 * author.h: pass references, not values
5188 2003-07-18 André Pönitz <poenitz@gmx.net>
5196 * text3.C: two-phase drawing for InsetText and InsetTabular
5197 some float -> int changes.
5199 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5201 * lyx_main.C: fix the fix
5203 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5205 * lyx_main.C: fix a crash in batch mode if no files specified
5208 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5210 * format.[Ch] (papersize): moved to BufferParams
5211 * converter.[Ch] (dvips_options): moved to BufferParams
5212 (dvipdfm_options): moved to anon namespace
5213 * bufferparams.[Ch]: added above functions.
5215 2003-07-17 André Pönitz <poenitz@gmx.net>
5219 * text2.C: don't call inset->update() anymore
5221 * metricsinfo.[Ch]: add convenience constructor
5223 2003-07-16 André Pönitz <poenitz@gmx.net>
5228 * text2.C: replace the LyXCursor::irow_ member with
5229 on-demand computation of the value
5231 2003-07-16 John Levon <levon@movementarian.org>
5233 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5235 2003-07-15 André Pönitz <poenitz@gmx.net>
5238 * text2.C: remove no more needed refresh_row
5240 2003-07-15 André Pönitz <poenitz@gmx.net>
5245 * text3.C: refresh_status tristate -> need_update bool
5247 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5249 * lyxtext.h (init): remove reinit argument (act as if always true)
5250 * text2.C: adjust to that
5252 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5254 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5255 * text3.C: use it to delete selections in some cases
5256 (bugs 441, 673, 702, 954).
5258 2003-07-14 André Pönitz <poenitz@gmx.net>
5260 * rowpainter.[Ch]: reduce interface
5262 2003-07-14 André Pönitz <poenitz@gmx.net>
5264 * BufferView_pimpl.C:
5265 * text2.C: adjust after removing unused BufferView * argument
5267 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5269 * text2.C (init): fix a crash fired on resize
5271 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5273 * buffer.[Ch]: added new closing signal
5274 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5275 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5276 BufferView::Pimpl via the closing the signal
5278 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5280 * buffer.[Ch]: take out all bv-related from buffer
5282 * BufferView_pimpl.[Ch]: connect to new signals
5283 * CutAndPaste.C: removed useless asserts
5284 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5287 * lyxfunc.C: moved view-related funciontality from vc here
5288 * paragraph.C: removed outdated comments
5291 2003-07-10 André Pönitz <poenitz@gmx.net>
5293 * BufferView_pimpl.C:
5297 * text2.C: remove InsetText::InnerCache, clean up consequences
5299 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5301 * ispell.C: fix two typos in error messages
5303 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5305 * Extend Note inset to other forms of annotation like Comment
5306 and Greyedout. Right button click gives dialog.
5308 Files modified or added (+):
5312 * ControlNote.[Ch] +
5314 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5315 frontends/controllers
5319 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5321 * aspell.C: add missing namespace lyx::support
5323 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5325 * BufferView.[Ch] (newFile): Add
5326 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5327 * LaTeX.[Ch] (message): added this signal and use it
5328 * buffer.[Ch] (busy, message): added these signals and use them
5329 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5333 * importer.C: use buffer signals instead of direct bv calling
5334 * lyx_cb.[Ch] (ShowMessage): removed
5337 * paragraph_funcs.C:
5338 * text2.C: use buffer signals
5340 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * introduce namespace lyx::graphics
5344 2003-07-02 André Pönitz <poenitz@gmx.net>
5346 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5348 2003-07-01 André Pönitz <poenitz@gmx.net>
5355 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5356 text*.C to text_func.C
5358 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5360 * introduce namespace lyx::support
5362 2003-06-30 André Pönitz <poenitz@gmx.net>
5367 * text.C: re-enable --with-included-string
5369 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5371 * textcursor.C: add <config.h>
5373 * text.C (getWord): remove const from word_location arg
5375 * lyxvc.C (getLogFile): fix const type order
5377 * lyxtext.h: remove const from word_location arg, add arg name
5379 * lyxlayout.h: currect type on labeltype.
5381 * importer.C: correct \file
5383 * converter.C (intToFormat): use std:: on ret val, ws changes
5385 * bufferlist.h: correct \file
5387 * buffer.C (makeLinuxDocFile): fix const type order
5388 (makeDocBookFile): ditto
5389 (fillWithBibKeys): use std:: on stdlib args.
5391 * CutAndPaste.C: fix authors.
5392 (availableSelections): use std:: on return vector
5394 2003-06-27 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5397 * bufferview_funcs.C:
5405 * text3.C: remove LyXCursor::row_ member
5408 * text.C: rename fullRebreak() to partialRebreak() and implement
5409 a fullRebreak() that really bereks fully
5411 * textcursor.h: new struct for cursor-related data
5413 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5415 * lyx_main.C (LyX): get full path of document loaded on the
5418 2003-06-26 André Pönitz <poenitz@gmx.net>
5420 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5421 remove unused/broken operator>,<,>=.
5423 * text.C: remove only use of broken operator<= in an Assert().
5425 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5427 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5428 moved errorlist_.clear to showErrorList
5430 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5432 * converter.C (scanLog, runLaTeX):
5433 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5434 move the bv->showErrorList call to the callers
5435 * lyxfunc.C: i.e. here...
5437 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5438 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5439 namespace, the second to...
5440 * buffer_funcs (BufferFormat, parseErrors): added
5441 * errorlist.C (ErrorList(TeXErrors const &)): removed
5443 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5445 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5447 2003-06-24 "Garst R. Reese" <reese@isn.net>
5451 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5453 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5455 * version.C.in: change docversion to 1.4
5457 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5459 * buffer.C: fix a bug just introduced
5461 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5463 * buffer.[Ch]: added the parseError signal and use it, removed
5465 * BufferView.[Ch] (addError): moved to ...
5466 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5467 to the Buffer::parseError signal to catch (guess what) parse errors
5468 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5470 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5472 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5473 ability to create a buffer and to return an existing one from
5474 the list. Moved these functions to...
5475 * buffer_funcs.[Ch]: added
5476 * BufferView.[Ch] (loadLyXFile): added
5477 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5478 job removed from bufferlist::loadLyXFile.
5479 * buffer.C (setReadOnly): make it work without view
5480 (i.e added an if (users))
5482 2003-06-19 Angus Leeming <leeming@lyx.org>
5485 * LyXAction.C (init):
5486 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5487 with LFUN_DIALOG_SHOW <name> <data>.
5489 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5491 * CutAndPaste.C (availableSelections): small compilation fix for
5492 ancient (gcc 2.9x) compilers
5494 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * text3.C (cursorNext): add tmp var
5498 * text2.C (updateCounters): for function calling out of for clause
5499 (replaceSelectionWithString): ditto
5500 (insertStringAsParagraphs): ditto
5501 (getColumnNearX): add tmp var
5502 (setCursorFromCoordinates): add tmp var
5503 (cursorDownParagraph): add tmp var
5504 (deleteEmptyParagraphMechanism): add tmp var
5506 * text.C (insertChar): add tmp var
5508 * rowpainter.C (paintDepthBar): add tmp var
5510 * CutAndPaste.C (availableSelections): potentially check all
5511 paragraphs in a cut to fill the shown strings.
5513 2003-06-18 André Pönitz <poenitz@gmx.net>
5515 * kbmap.[Ch]: use vector<> instead of list<>
5517 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5519 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5520 pasteSelection with index
5522 * text2.C (pasteSelection): modify, call pasteSelection with index
5524 * paragraph.C (asString): reimplement version with no interval to
5525 call the one with interval.
5527 * lyxtext.h: add index arg to pasteSelection
5529 * MenuBackend.C (MenuItem): handle PasteRecent
5530 (Menu::read::Menutags): add md_pasterecent
5532 (expandPasteRecent): new function
5535 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5537 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5539 (availableSelections): new function
5541 2003-06-17 Angus Leeming <leeming@lyx.org>
5543 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5545 2003-06-17 Angus Leeming <leeming@lyx.org>
5548 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5550 * lyxfunc.C (dispatch): invoke it.
5552 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5554 * iterators.C (operator++, ParPosition): reintroduce some
5555 const_cast for the benefit of older compilers.
5557 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5559 * text3.C (dispatch): do not modify clipboard when doing
5560 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5561 LFUN_DELETE_SKIP on a selection selection
5563 2003-06-16 André Pönitz <poenitz@gmx.net>
5569 * tabular.[Ch]: IU of clone() and getLabelList();
5571 2003-06-13 André Pönitz <poenitz@gmx.net>
5573 * tabular.h: compactification
5575 2003-06-12 André Pönitz <poenitz@gmx.net>
5579 * tabular_funcs.h: some renaming plus whitespace
5581 2003-06-12 André Pönitz <poenitz@gmx.net>
5584 * BufferView_pimpl.C:
5590 * toc.C: Return a Paragraph & for ParIterator::operator*()
5592 2003-06-11 John Levon <levon@movementarian.org>
5596 * ToolbarBackend.C: add "Toolbars" section and
5599 2003-06-10 Angus Leeming <leeming@lyx.org>
5602 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5604 * lyxfunc.C (dispatch): invoke it.
5606 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * main.C: protect <ios> with HAVE_IOS
5609 (main): protect sync_with_stdio with HAVE_IOS
5611 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5613 * text2.C (cutSelection): adjust
5614 (pasteSelection): adjust
5616 * messages.C: handle get of empty string
5618 * main.C (main): use sync_with_stdio(false)
5620 * lyxfunc.C (dispatch): adjust
5622 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5623 (WriteAs): remove unneeded BufferView arg.
5625 * bufferparams.h: use correct types on papersize, papersize2 and
5628 * bufferparams.C (readToken): adjust for type
5629 (writeLaTeX): add missing cases to switch.
5631 * bufferlist.C (quitWriteBuffer): adjust
5634 * buffer.C (asciiParagraph): remove some commented code.
5636 * CutAndPaste.C: remove current_view extern variable.
5637 (cutSelection): add BufferParams arg.
5638 (eraseSelection): add BufferParams arg.
5639 (pasteSelection): add Buffer const & arg
5641 2003-06-07 John Levon <levon@movementarian.org>
5644 * paragraph_funcs.C:
5645 * paragraph_pimpl.C:
5649 * paragraph.C: allow InsetERT to freely space lines,
5650 and some consolidation of code
5652 2003-06-06 José Matos <jamatos@fep.up.pt>
5654 * buffer.C (makeDocBookFile): fix bug #821
5656 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5658 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5660 2003-06-04 Angus Leeming <leeming@lyx.org>
5662 * buffer.C: bump format to 224.
5664 2003-06-05 André Pönitz <poenitz@gmx.net>
5666 * text2.C (redoParagraphs): remove two const_cast<>
5668 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5670 * ParagraphList.h: remove last remnants of NO_STD_LIST
5672 2003-06-03 Angus Leeming <leeming@lyx.org>
5674 * factory.C (createInset): small change to the way InsetExternal's params
5677 2003-06-04 André Pönitz <poenitz@gmx.net>
5679 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5681 * paragraph_pimpl.h:
5682 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5684 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5686 * undo_funcs.C: make some simple cases of undo work again
5688 2003-06-03 John Levon <levon@movementarian.org>
5690 * ispell.C: HPUX doesn't have sys/select.h
5693 2003-06-03 John Levon <levon@movementarian.org>
5695 * CutAndPaste.C: update tabular and include inset
5700 * paragraph.C: remove owningBuffer(), don't pass Buffer
5703 * factory.C: insetGraphicsParams changed
5705 2003-06-02 John Levon <levon@movementarian.org>
5711 * text3.C: remove insetparent
5713 2003-06-02 John Levon <levon@movementarian.org>
5716 * buffer.C: fix inset_iterator.end(), move out of line
5719 2003-06-01 John Levon <levon@movementarian.org>
5721 * text3.C: use a proper cut/paste when doing inset
5722 insert (from Jürgen Spitzmüller)
5724 2003-06-01 John Levon <levon@movementarian.org>
5726 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5728 2003-05-30 André Pönitz <poenitz@gmx.net>
5730 * rowpainter.C: unify second drawing phase
5732 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5734 * trans_mgr.C: remove one case of current_view
5736 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5738 * paragraph_funcs.h: remove paragraph.h include
5740 * paragraph.h: delete NO_STD_LIST stuff
5742 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5744 * buffer.h: remove paragraph.h include
5746 * ParagraphList.C: delete file
5748 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5750 * toc.C (getTocList): adjust
5752 * paragraph_pimpl.C (validate): adjust
5754 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5756 * paragraph.C (Paragraph): adjust
5757 (getPositionOfInset): use const_iterator, adjust
5758 (bibitem): use const_iterator, adjust
5759 (setInsetOwner): adjust
5761 * iterators.C (operator++): adjust
5763 * InsetList.[Ch]: Replace selfmade iterator with standard
5764 vector::iterator also introduce const_iterator. Remove getPos,
5765 getInset and setInset from InsetTable. Adjust accordingly.
5767 * BufferView.C (lockInset): adjust
5768 (ChangeInsets): adjust
5770 * tabular.[Ch]: delete commented same_id functions
5772 2003-05-28 John Levon <levon@movementarian.org>
5774 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5776 2003-05-28 André Pönitz <poenitz@gmx.net>
5778 * metricsinfo.[Ch]: remove 'fullredraw' member
5780 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5782 * lyxtextclass.C (operator): remove caching.
5784 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * text2.C (cursorBottom): adjust
5789 (setCounter): use ParagraphList::find, adjust
5791 * text.C (workWidth): use ParagraphList::find, adjust
5793 * lyxcursor.C (LyXCursor): adjust
5795 * buffer.C (inset_iterator): adjust
5797 * ParagraphList.h: make iterator(value_type) private, make
5798 ParagraphList a friend of iterator.
5800 * ParagraphList.C (find): new function
5802 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5804 2003-05-27 André Pönitz <poenitz@gmx.net>
5806 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5808 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5810 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5812 2003-05-26 John Levon <levon@movementarian.org>
5814 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5816 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * remove same_id from function signatures, adjust.
5820 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5824 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5826 * paragraph.C (Paragraph): get rid of same_ids parameter
5828 * ParagraphList.C (insert): adjust
5831 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5833 * paragraph_funcs.C (breakParagraph): adjust
5834 (breakParagraphConservative): adjust
5836 * buffer.C (readParagraph): adjust
5838 * ParagraphList.C (insert): take a reference instead of a pointer
5841 * paragraph.[Ch] (id): new function
5843 * bufferlist.C (newFile): adjust
5845 * ParagraphList.C (ParagraphList): adjust
5847 (push_back): take a reference instead of a pointer.
5849 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5851 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5854 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5855 set else use old code.
5857 * ParagraphList.C: remove all NO_NEXT code and only compile this
5858 code of NO_STD_LIST is set.
5860 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5862 * BufferView_pimpl.C:
5872 * graphics/GraphicsConverter.C:
5873 * graphics/PreviewLoader.C: header adjustment
5875 2003-05-23 Angus Leeming <leeming@lyx.org>
5877 * LaTeXFeatures.[Ch] (useBabel): new method.
5878 * bufferparams.C (writeLaTeX): use it.
5880 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * ParagraphList.h (set): remove unused function.
5884 2003-05-23 André Pönitz <poenitz@gmx.net>
5887 * BufferView_pimpl.C:
5891 * undo_funcs.C: setUndo reworked
5893 * iterators.[Ch]: add access to topmost ParagraphList
5895 * lyxtext.[Ch] (workWidth): add a const
5897 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5899 * texrow.[Ch] (increasePos): remove function
5900 * exporter.C (export): removed unused var and outdated comment
5902 2003-05-23 Angus Leeming <leeming@lyx.org>
5904 * latexrunparams.h: rename fragile as moving_arg.
5905 * paragraph.C (simpleTeXOnePar): ditto.
5906 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5908 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5912 (textUndoOrRedo): comment out a currently unused var.
5914 * paragraph.h (NO_NEXT): enable NO_NEXT
5916 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5918 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5920 * exporter.C (Export): adjust for removeAutoInsets removal.
5922 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5924 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5926 * BufferView.[Ch] (removeAutoInsets): delete function
5928 2003-05-22 Angus Leeming <leeming@lyx.org>
5930 * latexrunparams.h: add a free_spacing variable.
5932 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5933 to pass moving_arg, as the data is stored in runparams.fragile.
5935 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5936 to Inset::latexOptional or to simpleTeXOnePar.
5938 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5939 free_spacing arg to Inset::latexOptional.
5941 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5944 2003-05-22 Angus Leeming <leeming@lyx.org>
5946 * latexrunparams.h: add fragile and use_babel variables.
5948 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5949 * buffer.C (makeLaTeXFile): store this returned value in
5950 runparams.use_babel, thus passing it to the inset::latex methods.
5952 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5953 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5955 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5956 longer has a fragile arg, as it is stored in runparams.fragile.
5958 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5959 moving_arg parameter as the data is stored in runparams.fragile.
5961 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5962 a fragile parameter as the data is stored in runparams.fragile.
5964 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5966 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5968 2003-05-22 Angus Leeming <leeming@lyx.org>
5970 * latexrunparams.h: add a 'bool nice' which defaults to false.
5972 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5973 now encapsulated within runparams.
5975 * bufferlist.C (updateIncludedTeXfiles):
5976 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5978 2003-05-22 Angus Leeming <leeming@lyx.org>
5980 * latexrunparams.h: new file containing struct LatexRunParams.
5981 * Makefile.am: add new file.
5983 * LaTeX.[Ch] (c-tor, run):
5984 * buffer.[Ch] (makeLaTeXFile):
5985 * bufferlist.[Ch] (updateIncludedTeXfiles):
5986 * converter.C (convert, scanLog):
5987 * converter.[Ch] (runLaTeX):
5988 * exporter.C (Export):
5989 * paragraph.[Ch] (simpleTeXOnePar):
5990 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5991 * paragraph_funcs.[Ch] (latexParagraphs):
5992 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5993 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5994 pass around a LatexRunParams parameter.
5996 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5998 * paragraph.[Ch]: remove unused constructor
6000 * ParagraphList.C (erase): new function, taking two iterators
6002 2003-05-22 André Pönitz <poenitz@gmx.net>
6004 * undo_funcs.C: remove duplicated code
6006 * iterator.[Ch]: operator=
6008 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * tabular.C (SetMultiColumn): ws changes
6012 * rowpainter.C (paintFirst): get rid of a ->previous
6014 * lyx_cb.C (getPossibleLabel): parlist simplification
6016 * BufferView.C (ChangeInsets): simplify slightly.
6018 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6020 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6021 * lfuns.h: new LFUN_SPACE
6022 * lyxfunc.C: protected space has a new lfun
6023 * paragraph_funcs.C: read new space insets
6025 * factory.C: handle new space insets
6027 2003-05-22 André Pönitz <poenitz@gmx.net>
6030 * BufferView_pimpl.C:
6033 * undo_funcs.C: return a ParIterator from getParFromID.
6035 * iterators.[Ch]: add two const's
6037 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6039 * toc.C (getTocList): adjust
6041 * iterators.[Ch]: rework for parlist
6043 * buffer.C (par_iterator_begin): adjust
6044 (par_iterator_end): adjust
6046 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6048 * BufferView.C (removeAutoInsets): adjust
6049 (ChangeInsets): adjust
6051 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6053 * text.C (top_y): fix bug 1110
6055 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6057 * errorlist.[Ch]: added
6060 * BufferView_pimpl.C:
6061 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6064 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * Makefile.am: ensure that lyx is relinked upon changes to the
6067 various "convenience" libs.
6069 2003-05-20 Angus Leeming <leeming@lyx.org>
6071 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6072 files are compiled in alphabetical order again.
6074 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6076 2003-05-19 Angus Leeming <leeming@lyx.org>
6078 * gettext.[Ch]: remove "char const * _(char const *)".
6080 2003-05-19 André Pönitz <poenitz@gmx.net>
6082 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6091 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6093 2003-05-19 André Pönitz <poenitz@gmx.net>
6097 * lyxtextclass.[Ch]:
6099 * paragraph_funcs.[Ch]:
6101 * text3.C: more insetenv work
6103 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6105 * ParagraphParameters.C (params2string): small bug fixed
6107 2003-05-16 André Pönitz <poenitz@gmx.net>
6110 * bufferview_funcs.C: patch from Kornel Benko to prevent
6111 crash when _(...) is called twice in a statement
6113 2003-05-16 André Pönitz <poenitz@gmx.net>
6120 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6122 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6124 * lyx_main.C (init): remove spurious static_cast
6126 2003-05-14 André Pönitz <poenitz@gmx.net>
6128 * BufferView.C: fix format string
6130 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6132 * BufferView.[Ch] (insertErrors): removed
6133 * BufferView.[Ch] (showErrorList): added
6134 * buffer.C (runChkTeX):
6135 * converter.C (scanLog): call showErrorList instead of inserterrors
6137 2003-05-13 André Pönitz <poenitz@gmx.net>
6139 * BufferView_pimpl.C:
6141 * bufferview_func.C:
6148 * tabular_funcs.h: tostr() from its own header
6150 * ParagraphParameters.C:
6155 * text3.C: STRCONV()
6157 2003-05-12 André Pönitz <poenitz@gmx.net>
6160 * BufferView_pimpl.C:
6164 * ParagraphParameters.C:
6168 * bufferview_funcs.C:
6181 * paragraph_funcs.C:
6185 * text3.C: boost::format -> bformat all over the place
6188 2003-05-09 André Pönitz <poenitz@gmx.net>
6190 * LColor.[Ch]: Pimpl the #include <map> away
6192 2003-05-09 John Levon <levon@movementarian.org>
6194 * bufferlist.C: never remove emergency saves
6196 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * Makefile.am: better lib building
6200 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6202 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6204 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6205 (simpleTeXSpecialChars): adjust
6206 (simpleTeXSpecialChars): adjust
6207 * paragraph.C (simpleTeXOnePar): adjust
6208 * buffer.C (makeLaTeXFile): adjust
6210 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6212 * text2.C (changeDepth): parlist cleanup
6213 (getColumnNearX): ditto
6215 * rowpainter.C (getLabelFont): parlist cleanup
6217 * bufferlist.C (newFile): parlist cleanup
6219 * CutAndPaste.C (eraseSelection): parlist cleanup
6221 * BufferView_pimpl.C (trackChanges): parlist cleanup
6224 * BufferView.C (lockInset): parlist cleanup.
6225 (ChangeInsets): ditto
6227 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * CutAndPaste.h: Update file header.
6231 * CutAndPaste.C: Update file header.
6232 Store the parts cut out of the Document in a limited_stack.
6233 (copySelection): adjust
6234 (pasteSelection): new function, takes the index in the limited stack.
6235 (nrOfParagraphs): adjust
6236 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6237 simplify error inset insertion.
6238 (checkPastePossible): adjust
6240 2003-05-06 John Levon <levon@movementarian.org>
6242 * text2.C: don't cast wrap inset to float
6244 2003-05-05 André Pönitz <poenitz@gmx.net>
6247 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6249 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6250 few naked Paragraph *.
6252 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6254 * bufferparams.C: Output warning if a document with missing
6255 TeX document class is loaded
6256 * exporter.C: Disable TeX exports if the document class is missing
6259 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6260 isTeXClassAvailable()
6262 2003-05-03 John Levon <levon@movementarian.org>
6265 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6266 explicit cursor show/hide
6268 * BufferView_pimpl.h:
6269 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6270 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6272 * lyxfunc.C: hide cursor before dispatching.
6277 * text3.C: remove explicit cursor hides
6279 2003-05-02 André Pönitz <poenitz@gmx.net>
6281 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6284 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6287 * text2.C: tiny whitespace
6289 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * undo_funcs.C: almost only ws changes.
6293 * ParagraphList.C (splice): just return if pl is empty.
6295 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * ParagraphList.C (splice): new function.
6299 * CutAndPaste.C (pasteSelection): use it
6301 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6303 * CutAndPaste.C (pasteSelection): remove the last next and
6304 previous from this file.
6306 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * CutAndPaste.C (pasteSelection): more clean up, user proper
6309 ParagraphList functions for pasteing.
6311 * ParagraphList.C (insert): new function, three arg insert
6313 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6315 * ParagraphList.C (insert): new function, three arg insert
6317 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6320 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6324 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6326 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6328 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6331 (copySelection): clean up a bit.
6332 (pasteSelection): use make_pair
6334 * ParagraphList.C (ParagraphList): implement copy constructor
6335 (operator=): implement, base on copy constructor.
6338 * paragraph.C (erase): return a bool
6340 * paragraph_pimpl.C (erasePos): remove function, move contents...
6341 (erase): ... here. Return a bool.
6342 (erase): call erase instead of erasePos.
6344 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6346 * ParagraphList.h: define PitPosPair
6347 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6348 ParagraphList, fix a bug on pasting multiple pars
6349 * text2.C: change interface to C&P
6351 2003-04-30 André Pönitz <poenitz@gmx.net>
6353 * undo_func.C: revert part of yesterday's patch 2
6355 2003-04-30 John Levon <levon@movementarian.org>
6357 * LColor.C: s/tabular/table/
6359 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * text3.C (dispatch): do not convert iterator -> pointer
6362 * undo_funcs.C (setCursorParUndo): ditto
6363 * text_funcs.C (transposeChars): ditto
6365 * text2.C (setLayout): ws changes only
6367 * text.C (breakParagraph): do not convert iterator -> pointer
6369 (acceptChange): ditto
6370 (rejectChange): ditto
6375 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6378 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6380 * text3.C (gotoInset): YABG (yet another bad getChar)
6382 2003-04-29 André Pönitz <poenitz@gmx.net>
6384 * paragraph.h: make operator= private unimplemented as long as
6387 * ParagraphList.C: whitespace
6390 * paragraph_pimpl.[Ch]:
6391 * paragraph_funcs.C:
6393 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6396 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6398 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6400 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6401 * paragraph.[Ch] (erase):
6402 * paragraph_pimpl.[Ch] (erase): change return type and value
6403 * text2.C (cutSelection): some rework
6405 2003-04-28 John Levon <levon@movementarian.org>
6407 * bufferlist.C: changes for unsaved changes dialog
6409 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6411 * bufferlist.C (newFile): set language (messages_) for new
6414 * buffer.C (readFile): ws changes only.
6416 2003-04-28 André Pönitz <poenitz@gmx.net>
6421 * BufferView_pimpl.C:
6422 * BufferView.C: getParFromID related ParagraphList::iterator changes
6424 2003-04-28 André Pönitz <poenitz@gmx.net>
6426 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6429 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6431 * messages.C: remove one more localedir class variable.
6433 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * messages.C (getLocaleDir): singleton generation function
6437 (Messages): add a default constructor.
6439 * main.C (main): do not setup localedir here, do not call
6442 * gettext.C (_): use it.
6443 (gettext_init): delete funciton
6445 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * gettext.C (getLyXMessages): new singleton generating function.
6449 * buffer.C (updateDocLang): adjust
6451 * Makefile.am (messages.o): add target
6452 (main.o): remove target
6454 2003-04-27 John Levon <levon@movementarian.org>
6459 * lyxvc.C: specify cancel button in Alert::prompt
6461 2003-04-26 John Levon <levon@movementarian.org>
6466 * LyXAction.C: add LFUN_INSET_SETTINGS
6468 * lyxfunc.C: don't enable tabular-feature when there's
6469 just any locking inset
6471 2003-04-26 John Levon <levon@movementarian.org>
6473 * bufferlist.C: re-add Cancel to buffer close question
6475 * lyxfunc.C: fix import UI a bit
6477 2003-04-25 John Levon <levon@movementarian.org>
6479 * gettext.C: remove the broken asserts for now
6481 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * messages.C: make case where setlocale cannot comply work better.
6485 * buffer.C (updateDocLang): new function
6486 (changeLanguage): use it
6489 * text2.C (setCounter): use B_ a bit.
6491 * lyxlayout.C (Read): be sure to trim the label strings.
6493 * messages.C (Messages): fix typo in comment
6495 * buffer.C (readFile): set message_ after file is loaded.
6496 (makeDocBookFile): remove double return
6497 (changeLanguage): reset message_ upon language change.
6498 (B_): new func, use this to get translated buffer strings.
6500 * main.C: add myself and Jean Marc as authors.
6502 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6504 * messages.[hC]: pimplify Messages, and three different pimpls to be
6505 used in different circumstances.
6507 * gettext.[Ch]: change for use with new message code.
6509 2003-04-24 André Pönitz <poenitz@gmx.net>
6511 * factory.C: support for eqref
6513 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * messages.[Ch]: add missing char
6517 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6519 * messages.[Ch]: New files
6521 2003-04-18 John Levon <levon@movementarian.org>
6525 * BufferView_pimpl.C:
6529 * text2.C: remove layout-copy/paste (bug 778)
6531 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6533 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6535 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6537 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6538 if they succeed. Act accordingly.
6540 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6542 * text2.C (setCharFont): adjust
6543 (setCounter): adjust
6544 (insertStringAsLines): adjust
6546 * text.C (leftMargin): adjust
6547 (setHeightOfRow): adjust
6549 * rowpainter.C (paintFirst): adjust
6552 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6554 (isFirstInSequence): ditto
6555 (getEndLabel): ditto
6558 * paragraph.C (getParLanguage): comment out some hard stuff.
6560 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6562 (simpleDocBookOnePar): ditto
6563 (makeDocBookFile): use ParagraphList::iterator
6565 * CutAndPaste.C (pasteSelection): adjust
6567 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6569 * text2.C (getFont): adjust
6570 (getLayoutFont): adjust
6571 (getLabelFont): adjust
6573 * paragraph_funcs.C (TeXOnePar): adjust
6575 * buffer.C (simpleLinuxDocOnePar): adjust
6576 (simpleDocBookOnePar): adjust
6578 * CutAndPaste.C (pasteSelection): adjust
6580 * BufferView.C (getEncoding): adjust
6582 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6584 2003-04-16 John Levon <levon@movementarian.org>
6586 * lyxfind.C: use parlist stuff for search/changes
6588 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6590 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6592 * text2.C (deleteEmptyParagraphMechanism): adjust
6594 * text2.[Ch] (ownerParagraph): delete func (both of them
6596 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6600 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6602 * ParagraphList.C: prepare for NO_NEXT
6604 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * text2.C (getFont): adjust
6607 (getLayoutFont): adjust
6608 (getLabelFont): adjust
6610 * paragraph.C (getFont): adjust
6611 (getLabelFont): adjust
6612 (getLayoutFont): adjust
6614 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6616 2003-04-15 John Levon <levon@movementarian.org>
6620 * lyx_main.C: handle Include in .ui files
6622 2003-04-15 John Levon <levon@movementarian.org>
6624 * MenuBackend.C: make the doc files length shorter
6627 * ToolbarBackend.C: handle toolbar placement flags,
6630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6635 * paragraph_funcs.C (TeXOnePar): adjust
6637 * paragraph.C (getLabelFont): add outerfont arg, adjust
6638 (getLayoutFont): ditto
6639 (simpleTeXOnePar): adjust
6641 * paragraph_pimpl.C (realizeFont): delete func
6643 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6645 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6646 row argument, constify cur argument.
6648 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text2.C (getFont): adjust
6651 (getLayoutFont): adjust
6652 (getLabelFont): adjust
6654 * paragraph_funcs.C (TeXOnePar): adjust
6655 (outerFont): new func...
6656 (realizeFont): ...moved out from here, changed this to facilitate
6659 * paragraph.C (getFont): take outerfont as arg, adjust
6660 (simpleTeXOnePar): add outerfont arg, adjust
6662 * buffer.C (simpleLinuxDocOnePar): adjust
6663 (simpleDocBookOnePar): adjust
6665 * CutAndPaste.C (pasteSelection): adjust
6667 * BufferView.C (getEncoding): adjust
6669 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6671 * text2.C (setCharFont): adjust
6672 (setCounter): adjust
6674 * text.C (leftMargin): adjust
6675 (setHeightOfRow): adjust
6677 * rowpainter.C (paintFirst): adjust
6680 * paragraph_pimpl.C (realizeFont): adjust
6682 * paragraph.C (isFirstInSequence): move from here...
6683 * paragraph_funcs.C (isFirstInSequence): ...to here
6685 * paragraph.C (outerHook): move from here...
6686 * paragraph_funcs.C (outerHook): ...to here
6688 * paragraph.C (depthHook): move from here...
6689 * paragraph_funcs.C (depthHook): ...to here
6691 * paragraph.C (getEndLabel): move from here...
6692 * paragraph_funcs.C (getEndLabel): ...to here
6694 * text2.C (realizeFont): move from here...
6695 * paragraph_funcs.C (realizeFont): ...to here
6697 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6701 2003-04-14 Angus Leeming <leeming@lyx.org>
6703 * LColor.[Ch]: scrap LColor mathcursor.
6705 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * lyxlex.[Ch] (text): delete function
6708 * trans.C (Load): adjust
6709 * paragraph_funcs.C (readParToken): adjust
6711 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6714 vector<char> instead of a char[].
6716 * lyxlex_pimpl.C (getString): adjust
6718 (lex): use getString
6722 * lyxlex.C (text): use pimpl_->getString()
6726 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6728 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6729 (makeFontEntriesLayoutSpecific): temp var for par.size()
6730 (setLayout): temp var for ownerParagraphs().end()
6731 (fullRebreak): temp var for rows().end()
6732 (selectionAsString): temp var for boost::next(startpit), realize
6733 that the while really is a regular for loop.
6734 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6735 setCursor in one place.
6736 (setParagraph): temp vr for ownerParagraphs().end()
6737 (updateCounters): make the while loop a for loop
6738 (cutSelection): temp var for ownerParagraphs().end()
6739 (updateInset): make the do {} while() a regular for loop
6740 (getCursorX): use temp vars
6741 (setCurrentFont): use temp vars
6742 (getColumnNearX): use temp vars
6744 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6746 * text.C (transformChar): use temp var for getChar
6747 (computeBidiTables): use temp var for row->par()
6748 (fill): move temp vars for row->par() and pit->layout() earlier in
6750 (labelFill): use temp var for row->par()
6751 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6752 asc and desc, realize that pit never changes and that firstpit is
6753 just a duplicate and not needed. Exchange rit->par() with pit in a
6755 (breakAgain): use a temp var for boost::next(rit)
6756 (breakAgainOneRow): ditto
6757 (breakParagraph): use a temp var for rows().begin()
6758 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6759 (cursorRightOneWord): use temp var for cursor.par() and
6760 cursor.pos(), remove usage of tmpcursor.
6761 (cursorLeftOneWord): use temp var for cursor.par() and
6762 cursor.pos() only set cur at end of function.
6764 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6766 * text.C, text2.C: exchange all usage of Paragraph::next with
6767 boost::next(ParagraphList::iterator)
6769 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6771 * text2.C (cursorTop): simplify implementation
6772 (cursorBottom): ditto
6773 (setParagraph): use ParagraphList::iterator
6774 (setCurrentFont): adjust
6775 (getColumnNearX): adjust
6776 (cursorRight): adjust
6777 (cursorLeft): remove usage of Paragraph::previous
6778 (cursorUpParagraph): ditto
6779 (deleteEmptyParagraphMechanism): slight cleanup
6781 * text.C (isBoundary): take a Paragraph const & instead of a
6783 (addressBreakPoint): ditto
6784 (leftMargin): remove usage of Paragraph::previous.
6785 (setHeightOfRow): ditto
6786 (cursorLeftOneWord): ditto
6787 (selectNextWordToSpellcheck): ditto
6790 (breakParagraph): remove one usage of Paragraph::next
6791 (redoParagraph): ditto
6792 (acceptChange): ditto
6793 (insertChar): adjust
6794 (rowBreakPoint): adjust
6796 * bufferview_funcs.C (toggleAndShow): adjust
6798 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6800 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6801 methods to access it.
6803 * text.C: Added updateRowPositions to compute all row positions.
6804 Make top_y and getRowNearY() to use the cached y position
6806 2003-04-11 John Levon <levon@movementarian.org>
6808 * text.C (rowBreakPoint): reintroduce the labelEnd
6809 checks, code copied from the row fill stuff. Deep voodoo.
6811 * text.C (fill): add a comment and debugging for the
6814 2003-04-11 John Levon <levon@movementarian.org>
6816 * text.C: make sure fullrow insets get wrapped to the next line,
6817 even when they're in a manual label
6819 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6821 * text2.C (insertParagraph): make it take ParagraphList::iterator
6823 (setLayout): make it return ParagraphList::iterator
6824 (redoParagraphs): ditto
6826 (checkParagraph): ditto
6828 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6830 * text2.C: adjust several funcs.
6831 (realizeFont): take a ParagraphList::iterator as arg.
6832 (getLayoutFont): ditto
6833 (getLabelFont): ditto
6834 (setCharFont): ditto
6836 * text.C: adjust several funcs.
6838 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6840 * text.C (selectNextWordToSpellcheck): don't accidentally
6843 2003-04-10 John Levon <levon@movementarian.org>
6845 * ToolbarBackend.C (getIcon): special handling for
6848 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6850 * text2.C (cursorRight): a getChar assert fixed
6852 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * text2.C (getFont): change to take a ParagraphList::iterator
6855 instead of Paragraph*
6856 Adjust several functions.
6858 * text.C (transformChar): change to take a ParagraphList::iterator
6859 instead of Paragraph*
6860 (singleWidth): ditto
6861 Adjust several functions.
6863 * rowpainter.C: adjust several functions
6864 * rowpainter.h:store a ParagraphList::iterator and not a
6868 2003-04-09 John Levon <levon@movementarian.org>
6873 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6874 and the "help" bits as well
6876 2003-04-09 John Levon <levon@movementarian.org>
6879 * ToolbarBackend.C: allow multiple toolbars
6881 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6883 * undo_funcs.C (setCursorParUndo): adjust
6885 * text_funcs.C (transposeChars): adjust
6887 * text3.C (gotoNextInset): adjust
6890 * text2.C (setLayout): adjust
6891 (changeDepth): adjust
6893 (redoParagraphs): adjust
6894 (selectionAsString): adjust
6895 (setParagraph): adjust
6896 (insertInset): adjust
6897 (cutSelection): adjust
6898 (copySelection): adjust
6899 (pasteSelection): adjust
6900 (insertStringAsLines): adjust
6901 (updateInset): adjust
6902 (setCursor): change to take a ParagraphList::iterator parameter
6903 (setCursorIntern): change to take a ParagraphList::iterator parameter
6904 (setCurrentFont): adjust
6905 (cursorLeft): adjust
6906 (cursorRight): adjust
6907 (deleteEmptyParagraphMechanism): adjust
6909 * text.C (breakParagraph): adjust
6910 (insertChar): adjust
6911 (acceptChange): adjust
6912 (rejectChange): adjust
6913 (selectNextWordToSpellcheck): adjust
6914 (changeCase): adjust
6918 * lyxfind.C (SearchForward): adjust
6919 (SearchBackward): adjust
6920 (nextChange): adjust
6922 * lyxcursor.C (par): adjust
6924 * lyxcursor.h: store a ParagraphList::iterator instead of a
6927 * lyx_cb.C (getPossibleLabel): adjust
6929 * bufferview_funcs.C (toggleAndShow): adjust
6931 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6934 * BufferView.C (removeAutoInsets): adjust
6935 (lockedInsetStoreUndo): adjust
6937 2003-04-09 John Levon <levon@movementarian.org>
6939 * ToolbarBackend.C: try icon without argument
6940 if with argument fails
6942 2003-04-08 John Levon <levon@movementarian.org>
6945 * ToolbarBackend.C: add getIcon(), handle tooltip,
6946 and change from "Icon" to "Item".
6948 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6950 * BufferView.C (lockInset): another bad getchar crunched
6952 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6954 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6957 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6959 * lyxfind.C (searchForward, searchBackwards): bug 782
6961 2003-04-07 John Levon <levon@movementarian.org>
6963 * paragraph.C: remove dead comment
6965 * text.C: remove troublesome depth-fiddling code
6966 in leftMargin() and rightMargin() (bug 1017)
6968 * text.C: fix breaking of rows in nested lists
6971 * text2.C (updateCounters): fix up depth values
6974 2003-04-07 John Levon <levon@movementarian.org>
6976 * BufferView_pimpl.C: clear message when doc finishes resizing,
6977 and after a mouse event
6979 * lyxfunc.C: clear message after exiting inset
6981 2003-04-07 John Levon <levon@movementarian.org>
6983 * bufferview_funcs.C: show math status not outside
6984 status in the statusbar
6986 2003-04-07 John Levon <levon@movementarian.org>
6988 * lyxfunc.C: note status changed after a depth change
6990 2003-04-04 Angus Leeming <leeming@lyx.org>
6992 * LaTeX.h: move AuxInfo operator==, != out of line.
6993 Remove LaTeX virtual destructor; nothing derives from it.
6994 Move operator()() out of public area and rename it startscript().
6995 Change protected for private.
6997 2003-04-04 Angus Leeming <leeming@lyx.org>
7000 * text2.C: remove unneeded #includes.
7002 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7004 * text2.C (dEPM): fix the heigth of the next row
7006 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7008 * text.C: squashed an invalid getChar requester + some ws changes
7010 2003-04-03 John Levon <levon@movementarian.org>
7012 * bufferview_funcs.h:
7013 * bufferview_funcs.C:
7016 * text2.C: make getStatus work for the env depth lfuns
7018 2003-04-03 John Levon <levon@movementarian.org>
7020 * bufferview_funcs.h:
7021 * bufferview_funcs.C:
7024 * text2.C: parlistize decDepth(), by merging it with incDepth()
7026 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7028 * lyxrow.h: store a ParagraphList::iterator instead of a
7029 Paragraph* and adjust other class functions to suit.
7031 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7034 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7036 * text2.C (setCursor): do not anchor to cursor row for the time being
7038 2003-04-02 John Levon <levon@movementarian.org>
7045 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7047 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7049 * paragraph.h: make ParagraphList and ParagraphList::iterator
7050 friends of Paragraph.
7052 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7054 * ParagraphList.C: Use the private next_ and previous_ from
7057 2003-04-01 John Levon <levon@movementarian.org>
7061 * Makefile.am: rename, remove defaults gunk
7064 * MenuBackend.C: remove defaults gunk
7067 * Languages.C: remove defaults gunk
7070 * lyx_main.C: error out if files couldn't be found.
7072 2003-04-02 John Levon <levon@movementarian.org>
7074 * text2.C: make incDepth() use parlist
7076 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * undo_funcs.C (firstUndoParagraph): adjust
7080 * text3.C (gotoInset): adjust
7081 (dispatch): adjust, and rewrite loop.
7083 * text2.C (init): adjust, and rewrite loop.
7084 (redoParagraphs): adjust
7085 (updateInset): adjust, and rewrite loop.
7086 (deleteEmptyParagraphMechanism): adjust
7088 * tabular.C (LyXTabular): adjust
7089 (SetMultiColumn): adjust
7092 * lyxtext.[Ch] (ownerParagraph): delete function
7093 (ownerParagraphs): new function returns a ParagraphList.
7095 * BufferView.C (removeAutoInsets): adjust
7096 (insertErrors): adjust
7097 (setCursorFromRow): adjust
7099 2003-04-01 Angus Leeming <leeming@lyx.org>
7101 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7104 2003-04-02 John Levon <levon@movementarian.org>
7110 * text_funcs.C: make transposeChars a free function
7112 * lyxrow_funcs.C: remove wrong comment
7114 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7117 * rowpainter.C: adjust
7122 * lyxrow_funcs. [Ch]: new files
7124 * lyxrow.[Ch]: remove next and previous pointers
7125 (next,previous): remove accessor functions
7126 (isParEnd): move to lyxrow_funcs
7127 (lastPos): move to lyxrow_funcs
7128 (nextRowIsAllInset): move to lyxrow_funcs
7129 (lastPrintablePos): move to lyxrow_funcs
7130 (numberOfSeparators): move to lyxrow_funcs
7131 (numberOfHfills): move to lyxrow_funcs
7132 (numberOfLabelHfills): move to lyxrow_funcs
7133 (hfillExpansion): move to lyxrow_funcs
7137 * bufferview_funcs.C (toggleAndShow): adjust
7139 * RowList.h: Remove class RowList from file leave just a
7142 * RowList.C: delete file
7144 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7147 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * text3.C (cursorPrevious): adjust
7150 (cursorNext): adjust
7153 * text2.C (redoHeightOfParagraph): adjust
7154 (redoDrawingOfParagraph): adjust
7157 * text.C (breakParagraph): adjust
7158 (insertChar): adjust
7161 * rowpainter.C (RowPainter): adjust
7162 (leftMargin): simplify and adjust
7163 (most rowpainter functions): adjust.
7165 * rowpainter.h: store the row as RowList::iterator not as Row*
7167 * lyxcursor.C (row): taka RowList::iterator as arg
7170 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7173 2003-04-01 Angus Leeming <leeming@lyx.org>
7175 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7176 stuff like bool Bool.
7178 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7180 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7183 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7185 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7188 * lyxtext.h (rows): drop one version and leve a const variant that
7189 returns a RowList::iterator.
7191 2003-03-31 Angus Leeming <leeming@lyx.org>
7193 * text.C (fill): ensure that the signature is the same as that in the
7196 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7198 * text2.C (redoParagraphs): adjust
7199 (updateCounters): adjust
7200 (checkParagraph): adjust
7201 (getColumnNearX): adjust and reformat a bit.
7203 * text.C (top_y): adjust
7205 (leftMargin): adjust
7206 (prepareToPrint): adjust
7208 (getRowNearY): adjust
7210 * lyxtext.h: make rowlist_ mutable.
7212 * RowList.h: add const_iterator
7213 * RowList.C: adjust for RowList::const_iterator.
7215 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7218 2003-03-31 John Levon <levon@movementarian.org>
7221 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7223 * lyx_main.C: set default fonts from using lyx_gui funcs
7225 * exporter.C: pdf_mode moved from lyxrc
7228 * lyxfunc.C: changes from above
7230 2003-03-31 John Levon <levon@movementarian.org>
7232 * lyx_main.C: fix to the last fix
7234 2003-03-31 John Levon <levon@movementarian.org>
7236 * bufferlist.C: "Load original" -> "Load Original"
7242 * format.C: more Alert cleanups
7244 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * text2.C (removeParagraph): make it take a RowList::iterator as
7248 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7249 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7251 * text.C (anchor_row): make it take a RowList::iterator as arg,
7253 (computeBidiTables): make it take a const reference to Row instead
7254 of Row pointer, adjust.
7255 (leftMargin): make it take a RowList::iterator as arg, adjust.
7256 (rowBreakPoint): adjust
7257 (breakAgainOneRow): make it take a RowList::iterator as arg,
7259 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7261 * bufferview_funcs.C (toggleAndShow): adjust
7263 2003-03-30 John Levon <levon@movementarian.org>
7267 * boost-inst.C: moved to support
7269 * several files: changes as a result
7271 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7273 * text2.C (LyXText): adjust.
7275 (removeRow): make it take a RowList::iterator as arg, adjust.
7276 (fullRebreak): adjust
7277 (deleteEmptyParagraphMechanism): adjust
7278 (clearPaint): adjust
7281 * text.C (top_y): adjust
7282 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7283 (breakAgain): make it take a RowList::iterator as arg, adjust.
7284 (breakParagraph): adjust
7285 (insertChar): adjust
7288 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7289 need_break_row, and refresh_row.
7291 * text3.C (dispatch): adjust
7293 * text2.C (checkParagraph): adjust
7295 (setCursorFromCoordinates): adjust
7297 * text.C (top_y): adjust
7299 (getRow): make it return a RowList::iterator, adjust
7300 (getRowNearY): make it return a RowList::iterator, adjust
7302 * text2.C (init): adjust
7303 (insertRow): remove function
7304 (insertParagraph): adjust
7305 (redoParagraphs): adjust
7306 (fullRebreak): adjust
7307 (updateCounters): adjust
7309 * text.C (top_y): rewrite to use RowList iterators.
7311 (setHeightOfRow): rewrite to sue RowList iterators.
7312 (appendParagraph): adjust
7313 (breakAgain): adjust
7314 (breakAgainOneRow): adjust
7315 (breakParagraph): adjust
7317 (getRowNearY): adjust, and remove commented code.
7319 * lyxtext.h (firstRow): delete function
7320 (lastRow): delete function
7321 (rows): new function (const and non-const versions.)
7322 (insertRow): delete function
7324 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7326 2003-03-29 John Levon <levon@movementarian.org>
7328 * BufferView_pimpl.C: always update scrollbar top
7329 because pasting text when we're anchored could mean we
7330 miss an update altogether
7332 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7334 * text2.C (init): use rowlist_.end() and not 0.
7335 (insertRow): change to take a RowList::iterator as arg, adjust
7337 (insertParagraph): change to take a RowList::iterator as arg,
7339 (redoParagraphs): remove some debug msgs.
7341 * text.C (appendParagraph): change to take a RowList::iterator
7342 arg, adjust for this.
7343 (breakAgain): add an assert
7344 (breakAgainOneRow): ditto
7346 2003-03-29 John Levon <levon@movementarian.org>
7348 * text2.C: do not clear selection after inc/decDepth
7351 2003-03-29 John Levon <levon@movementarian.org>
7354 * buffer.C: fix broken strerrors according to Lars
7356 2003-03-29 John Levon <levon@movementarian.org>
7358 * converters.C: more Alert cleanups
7360 2003-03-29 John Levon <levon@movementarian.org>
7362 * bufferview_funcs.C: remove pointless Alert
7364 * buffer.C: fix confusing error message when
7365 a template is chmoded 000
7367 2003-03-29 John Levon <levon@movementarian.org>
7371 * BufferView_pimpl.C: Alert fixes
7375 * tabular-old.C: remove unused table compat reading
7377 2003-03-29 John Levon <levon@movementarian.org>
7382 * lyx_cb.C: more Alert cleanups
7384 * lyxfunc.C: don't allow chktex if not latex document
7386 2003-03-29 John Levon <levon@movementarian.org>
7390 * buffer.C: warnings pushed down from support/,
7393 2003-03-29 John Levon <levon@movementarian.org>
7395 * lyxfunc.C: safety check for C-r (revert)
7397 2003-03-29 John Levon <levon@movementarian.org>
7400 * bufferlist.C: several UI fixes using Alert::prompt.
7401 Fix the pointless looping quit code. Fix stupid revert
7406 * lyx_cb.C: use Alert::prompt
7408 * lyx_main.C: remove a silly question
7410 * lyxfunc.C: remove a couple of silly questions,
7413 2003-03-28 John Levon <levon@movementarian.org>
7415 * text2.C: fix bug 974 (End on empty par)
7417 2003-03-28 John Levon <levon@movementarian.org>
7419 * BufferView_pimpl.C:
7421 * lfuns.h: remove do-nothing math greek lfuns
7423 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * lyxgluelength.h (isValidGlueLength): add default arg on
7426 parameter 2. Remove default arg from friend in class.
7428 * lyxlength.h (isValidLength): add default arg on parameter 2.
7429 Remove default arg from friend in class.
7431 * text2.C (LyXText): adjust, initialize refresh_row.
7435 (insertParagraph): adjst
7436 (redoParagraphs): adjust
7437 (fullRebreak): adjust
7438 (updateCounters): adjust
7439 (deleteEmptyParagraphMechanism): first attempt at fixing a
7442 * text.C (top_y): adjust
7443 (setHeightOfRow): adjust
7445 (getRowNearY): adjust
7447 * lyxtext.h: include RowList.h
7448 (~LyXText): not needed anymore, deleted.
7449 (firstRow): modify for RowList
7450 (lastRow): new function
7451 Delete firstrow and lastrow class variables, add a Rowlist
7452 rowlist_ class variable.
7454 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7457 * RowList.C (insert): fix case where it == begin().
7459 2003-03-26 Angus Leeming <leeming@lyx.org>
7461 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7462 the thesaurus dialog.
7464 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7468 * RowList.[Ch]: new files
7470 * ParagraphList.C (erase): handle the case where it == begin
7473 2003-03-25 John Levon <levon@movementarian.org>
7477 * aspell.C: add new aspell support
7480 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7483 2003-03-25 Angus Leeming <leeming@lyx.org>
7486 * LyXAction.C (init): new LFUN_INSET_INSERT.
7488 * BufferView_pimpl.C (dispatch): split out part of the
7489 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7491 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7494 2003-03-25 Angus Leeming <leeming@lyx.org>
7496 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7498 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7501 * text3.C: remove useless row->height(0)
7503 2003-03-25 John Levon <levon@movementarian.org>
7507 * text3.C: rename the refreshing stuff to better names
7509 2003-03-24 John Levon <levon@movementarian.org>
7511 * BufferView_pimpl.h:
7512 * BufferView_pimpl.C: update layout choice on a mouse
7515 2003-03-23 John Levon <levon@movementarian.org>
7517 * Makefile.am: fix commandtags.h reference
7519 2003-03-22 John Levon <levon@movementarian.org>
7521 * BufferView_pimpl.C:
7526 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7528 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7531 * text.C: take the rtl methods out of line
7533 2003-03-21 André Pönitz <poenitz@gmx.net>
7535 * metricsinfo.[Ch]: new files containing structures to be passed around
7536 during the two-phase-drawing...
7538 2003-03-21 André Pönitz <poenitz@gmx.net>
7540 * lyxtextclass.C: read 'environment' tag.
7542 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7544 * text2.C (removeRow): fix bug 964
7546 2003-03-20 John Levon <levon@movementarian.org>
7550 * text2.C: paint cleanups. Inset::update() dropped font
7553 2003-03-19 John Levon <levon@movementarian.org>
7555 * lyxfunc.C: only fitcursor/markDirty if available()
7557 2003-03-19 John Levon <levon@movementarian.org>
7559 * commandtags.h: rename to ...
7561 * lfuns.h: ... this, and renumber / cleanup
7563 2003-03-19 John Levon <levon@movementarian.org>
7565 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7566 fit the cursor after an lfun
7570 * BufferView_pimpl.h:
7571 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7573 * LyXAction.C: layout-character should have ReadOnly
7575 * ParagraphParameters.C:
7577 * bufferview_funcs.C:
7584 * undo_funcs.C: changes from above
7586 2003-03-18 John Levon <levon@movementarian.org>
7588 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7589 remove it from update()
7591 * lyxfunc.C: update layout choice after an lfun
7593 * text3.C: remove extra updateLayoutChoice()s
7595 2003-03-18 John Levon <levon@movementarian.org>
7597 * text.C: top_y change means full repaint, fix
7598 a drawing bug with cursor movement
7600 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7604 * text2.C: anchor row on setCursor
7606 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7608 * lyxtext.h: remove almost all mutable keywords
7611 * text3.C: remove const keywords accordingly
7613 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7617 (TeXEnvironment): ditto
7620 2003-03-17 John Levon <levon@movementarian.org>
7622 * text.C (rowBreakPoint): remove attempt to fix displayed
7623 math insets inside a manual label
7625 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7627 * lyxtext.h: remove BufferView* as first arg from almost all class
7629 * other files: adjust.
7631 2003-03-17 John Levon <levon@movementarian.org>
7635 * text2.C: more paint cleanups
7637 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7640 * rowpainter.C: remove "smart" background painting code
7642 2003-03-16 John Levon <levon@movementarian.org>
7647 * text3.C: add helper functions for setting refresh_row/y
7649 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7651 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7652 newline inset which *can* get inserted in the pass_thru layouts.
7653 This is primarily for literate documents.
7655 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7657 * buffer.C: increment LYX_FORMAT to 223
7659 2003-03-14 André Pönitz <poenitz@gmx.net>
7661 * textclass.h: prepare for environment handling, ws changes
7662 * lyxlayout.C: read latexheader and latexfooter tags
7664 2003-03-14 John Levon <levon@movementarian.org>
7666 * text2.C: rewrite ::status() a bit
7668 2003-03-13 John Levon <levon@movementarian.org>
7670 * lyxtext.h: add some docs
7672 2003-03-13 John Levon <levon@movementarian.org>
7677 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7679 2003-03-13 John Levon <levon@movementarian.org>
7681 * text3.C: fix appendix redrawing
7683 2003-03-13 John Levon <levon@movementarian.org>
7685 * text.C (setHeightOfRow):
7687 * rowpainter.C: make appendix mark have the text
7688 "Appendix" so the user knows what it is
7691 * LColor.C: s/appendixline/appendix/ from above
7693 2003-03-13 John Levon <levon@movementarian.org>
7695 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7697 * text.C: fix a getChar(pos) bug properly
7699 2003-03-13 Angus Leeming <leeming@lyx.org>
7702 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7703 Probably only temporary. Let's see how things pan out.
7705 * BufferView.C (unlockInset):
7706 * BufferView_pimpl.C (fitCursor):
7707 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7709 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7710 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7712 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7713 new functions that convert ParagraphParameters to and from a string.
7715 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7716 BufferView::Pimpl's dispatch.
7717 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7719 2003-03-13 André Pönitz <poenitz@gmx.net>
7723 * factory.C: make it aware of InsetEnv
7725 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7727 * text2.C (setCursor): never ask for one past last
7728 (setCursor): add some debugging messages.
7730 * text.C (singleWidth): never ask for one past last
7731 (singleWidth): ditto
7733 (rightMargin): ditto
7734 (rowBreakPoint): ditto
7735 (setHeightOfRow): ditto
7736 (prepareToPrint): ditto
7738 * rowpainter.C (paintBackground): never ask for one past last
7739 (paintText): never ask for one past last
7741 * paragraph_pimpl.C (getChar): make the assert stricter, never
7742 allow the one past last pos to be taken
7744 * paragraph.C (getChar): ws changes only
7746 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7747 (numberOfSeparators): ditto
7748 (numberOfHfills): ditto
7750 2003-03-12 John Levon <levon@movementarian.org>
7756 * paragraph_funcs.C: fix per-buffer authorlists
7758 2003-03-12 John Levon <levon@movementarian.org>
7760 * text.C: fix newline in right address
7762 2003-03-12 Angus Leeming <leeming@lyx.org>
7764 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7765 duplicate those in LyXFunc::dispatch.
7769 * ToolbarDefaults.C:
7770 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7771 Add LFUN_FONTFREE_UPDATE.
7773 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7774 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7776 * bufferview_func.[Ch]: several new functions to facilliate
7777 transfer of data to and from the character dialog.
7779 2003-03-12 John Levon <levon@movementarian.org>
7784 * paragraph_funcs.C:
7785 * paragraph_pimpl.C:
7789 * text3.C: remove META_NEWLINE in favour of an inset
7792 * rowpainter.C: remove paintNewline (done by inset)
7794 2003-03-12 John Levon <levon@movementarian.org>
7796 * paragraph_pimpl.C: complain about bad getChar()s
7797 for a while at least
7799 2003-03-12 John Levon <levon@movementarian.org>
7802 * buffer.C: move paragraph read into a separate function,
7803 a little renaming to reflect that.
7806 * bufferparams.C: remove the author_ids map, not necessary now
7809 * factory.C: moved Buffer::readInset to here
7811 * paragraph_funcs.h:
7812 * paragraph_funcs.C: readParagraph free function moved from
7815 * tabular.C: name change
7817 2003-03-12 John Levon <levon@movementarian.org>
7820 * ParagraphParameters.C: move par params input to
7823 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7824 behave like a normal read from the stream wrt reading
7825 a line vs. a \\token
7827 2003-03-12 John Levon <levon@movementarian.org>
7830 * ParagraphParameters.h:
7831 * ParagraphParameters.C: move output code to a
7834 2003-03-12 John Levon <levon@movementarian.org>
7836 * BufferView.C (insertLyXFile):
7839 * tabular.C: use a parlist iterator for creating the
7842 2003-03-12 John Levon <levon@movementarian.org>
7844 * buffer.C: make current_change static local not
7847 2003-03-12 John Levon <levon@movementarian.org>
7849 * buffer.C: fix insertStringAsLines for change tracking
7851 2003-03-12 John Levon <levon@movementarian.org>
7858 * bufferparams.C: move author list into params. Rename some
7859 functions. Move the header reading into a separate token
7860 loop. Move the header token reading into BufferParams.
7862 2003-03-12 John Levon <levon@movementarian.org>
7864 * changes.C: put debug inside lyxerr.debugging() checks
7866 2003-03-11 André Pönitz <poenitz@gmx.net>
7868 * factory.C: make it aware of InsetHFill
7870 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7872 * buffer.C (latexParagraphs): move function from here...
7873 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7876 2003-03-10 Angus Leeming <leeming@lyx.org>
7878 * LyXAction.C (init): fix bug in poplating array with multiple entries
7879 with the same LFUN (spotted by JMarc).
7881 2003-03-10 John Levon <levon@movementarian.org>
7884 * text2.C: move getColumnNearX() near its
7887 2003-03-10 John Levon <levon@movementarian.org>
7889 * text.C: fix break before a minipage
7891 2003-03-10 John Levon <levon@movementarian.org>
7893 * text.C: fix the last commit
7895 2003-03-09 John Levon <levon@movementarian.org>
7899 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7900 bug 365 (don't break before insets unless needed). Don't
7901 return a value > last under any circumstances.
7903 2003-03-09 Angus Leeming <leeming@lyx.org>
7905 * BufferView_pimpl.C (trackChanges, dispatch): call
7906 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7908 2003-03-09 Angus Leeming <leeming@lyx.org>
7910 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7911 than Dialogs::showAboutlyx().
7913 2003-03-09 Angus Leeming <leeming@lyx.org>
7915 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7916 than Dialogs::showTabularCreate().
7918 2003-03-09 John Levon <levon@movementarian.org>
7922 * text2.C: 3rd arg to nextBreakPoint was always the same.
7925 2003-03-08 John Levon <levon@movementarian.org>
7932 * text2.C: Remove the "main" bit from the "main body"
7935 2003-03-08 John Levon <levon@movementarian.org>
7937 * text.C (leftMargin): The left margin of an empty
7938 manual label paragraph should not include the label width
7941 * text.C (prepareToPrint): don't attempt to measure hfills
7942 for empty manual label paragraphs - the answer should be 0
7944 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * CutAndPaste.C: remove commented code and reindent.
7948 2003-03-08 John Levon <levon@movementarian.org>
7951 * lyxfunc.C: move reloadBuffer()
7954 * BufferView.C: to here
7956 * lyxvc.C: add comment
7959 * vc-backend.C: call bv->reload() to avoid
7960 getStatus() check on MENURELOAD
7962 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7964 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7965 to an old format .dep file.
7967 2003-03-07 Angus Leeming <leeming@lyx.org>
7969 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7970 when the LFUN_MOUSE_RELEASE should have been handled by
7971 inset->localDispatch.
7973 2003-03-07 Angus Leeming <leeming@lyx.org>
7975 * BufferView_pimpl.C (dispatch):
7976 * LyXAction.C (init):
7977 * ToolbarDefaults.C (init):
7979 * lyxfunc.C (getStatus):
7980 remove LFUN_INSET_GRAPHICS.
7982 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7984 2003-03-07 Angus Leeming <leeming@lyx.org>
7987 * LyXAction.C (init):
7988 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7990 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7993 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7995 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7996 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7998 2003-03-07 Angus Leeming <leeming@lyx.org>
8000 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8003 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8005 * ParagraphList.C (front): new function
8008 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8010 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8011 and top_row_offset_. removed var first_y.
8013 * text2.C (LyXText, removeRow):
8015 * BufferView_pimpl.C:
8016 use these methods instead of using first_y
8018 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8020 * text2.C (pasteSelection): adjust for checkPastePossible
8022 * CutAndPaste.C: remove Paragraph * buf and replace with
8023 ParagraphList paragraphs.
8024 (DeleteBuffer): delete
8025 (cutSelection): change the tc type to textclass_type
8026 (copySelection): change the tc type to textclass_type
8027 (copySelection): adjust for ParagraphList
8028 (pasteSelection): change the tc type to textclass_type
8029 (pasteSelection): adjust for Paragraphlist
8030 (nrOfParagraphs): simplify for ParagraphList
8031 (checkPastePossible): simplify for ParagraphList
8032 (checkPastePossible): remove unused arg
8034 * ParagraphList.C (insert): handle the case where there are no
8037 * CutAndPaste.h: make CutAndPaste a namespace.
8039 * text3.C (dispatch): adjust
8041 * text.C (breakParagraph): add a ParagraphList as arg
8043 * paragraph_funcs.C (breakParagraph): change to take a
8044 BufferParams and a ParagraphList as args.
8045 (breakParagraphConservative): ditto
8046 (mergeParagraph): ditto
8047 (TeXDeeper): add a ParagraphList arg
8048 (TeXEnvironment): ditto
8051 * buffer.C (readLyXformat2): adjust
8052 (insertStringAsLines): adjust
8053 (latexParagraphs): adjust
8055 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8056 (cutSelection): adjust
8057 (pasteSelection): adjust
8059 * BufferView_pimpl.C (insertInset): adjust
8061 2003-03-05 Angus Leeming <leeming@lyx.org>
8064 * LyXAction.C (init):
8065 * BufferView_pimpl.C (dispatch):
8066 * lyxfunc.C (getStatus):
8067 remove LFUN_CHILD_INSERT.
8069 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8071 2003-03-05 Angus Leeming <leeming@lyx.org>
8074 * LyXAction.C (init):
8075 * src/factory.C (createInset):
8076 * lyxfunc.C (getStatus):
8077 * text3.C (dispatch):
8078 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8080 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8082 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8084 * ParagraphList.C (insert): handle insert right before end()
8085 (erase): fix cases where it can be first or last paragraph.
8087 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8089 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8090 Paragraph::next and Paragraph::previous
8093 * text.C (breakParagraph): adjust
8095 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8096 BufferParams& as arg.
8097 (breakParagraph): use ParagraphList::insert
8098 (breakParagraphConservative): take a Buffer* instead of a
8099 BufferParams& as arg.
8100 (breakParagraphConservative): use ParagraphList::insert.
8102 * buffer.C (insertStringAsLines): un-const it
8103 (insertStringAsLines): adjust
8105 * ParagraphList.C (insert): new function
8107 * CutAndPaste.C (pasteSelection): adjust
8109 * text.C (backspace): adjust
8111 * tabular.C (SetMultiColumn): adjust
8113 * CutAndPaste.C (cutSelection): adjust
8114 (pasteSelection): adjust
8116 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8117 Buffer const * as arg
8119 * ParagraphList.C (erase): new function
8120 * paragraph_funcs.C (mergeParagraph): use it
8121 (mergeParagraph): make it take a Buffer* instead of a
8122 BufferParams* as arg
8124 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8126 (breakParagraphConservative): ditto
8128 * paragraph.h: remove the breakParagraph friend
8130 * paragraph.C (eraseIntern): new function
8131 (setChange): new function
8133 * paragraph_funcs.C (mergeParagraph): make it take a
8134 ParagraphList::iterator instead of a Paragraph *, adjust
8137 * paragraph.h: move an #endif so that the change tracking stuff
8138 also works in the NO_NEXT case.
8140 2003-03-04 Angus Leeming <leeming@lyx.org>
8143 * LyXAction.C: new LFUN_INSET_MODIFY.
8145 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8146 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8148 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * several files: ws changes only
8152 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8153 (TeXEnvironment): ditto
8156 * buffer.C (makeLaTeXFile): adjust
8157 (latexParagraphs): make it take ParagraphList::iterator as args
8159 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8161 * buffer.C (latexParagraphs): adjust
8163 * paragraph.C (TeXOnePar): move function...
8164 (optArgInset): move function...
8165 (TeXEnvironment): move function...
8166 * paragraph_pimpl.C (TeXDeeper): move function...
8167 * paragraph_funcs.C: ...here
8169 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8171 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8173 * buffer.C (readInset): remove compability code for old Figure and
8176 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8178 * buffer.C: ws changes
8181 * BufferView_pimpl.C: ditto
8184 * bufferlist.h: ditto
8188 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8190 * converter.[Ch]: split into itself +
8193 * Makefile.am: += graph.[Ch] + format.[Ch]
8200 * lyxrc.C: added #include "format.h"
8202 2003-02-27 Angus Leeming <leeming@lyx.org>
8204 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8207 * factory.C (createInset): add "label" to the factory.
8209 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8210 string and do no more.
8212 2003-02-27 Angus Leeming <leeming@lyx.org>
8215 * LyXAction.C (init):
8216 * factory.C (createInset):
8217 * BufferView_pimpl.C (dispatch):
8218 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8220 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8222 * lyxfunc.C (dispatch):
8223 * text3.C (dispatch): pass name to params2string.
8225 2003-02-26 Angus Leeming <leeming@lyx.org>
8227 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8229 Rearrange the ~includes. Strip out the unnecessary ones.
8231 * factory.C (createInset): reformat.
8232 create new insets for the various LFUN_XYZ_APPLY lfuns.
8234 2003-02-26 John Levon <levon@movementarian.org>
8237 * lyxrow.C: add isParStart,isParEnd helpers
8239 * paragraph.h: make isInserted/DeletedText take refs
8241 * paragraph_funcs.h:
8242 * paragraph_funcs.C: remove #if 0'd code
8247 * text.C: use lyxrow helpers above.
8248 Move draw and paint routines to RowPainter.
8249 Make several methods use refs not pointers.
8250 Make backgroundColor() const.
8251 Add markChangeInDraw(), isInInset().
8252 Merge changeRegionCase into changeCase.
8253 Make workWidth() shouldn't-happen code into an Assert.
8256 * rowpainter.C: new class for painting a row.
8259 * vspace.C: make inPixels take a ref
8261 2003-02-26 Angus Leeming <leeming@lyx.org>
8263 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8266 2003-02-25 John Levon <levon@movementarian.org>
8268 * ispell.C: give the forked command a more accurate name
8270 2003-02-22 John Levon <levon@movementarian.org>
8273 * toc.C: make TocItem store an id not a Paragraph *
8276 2003-02-21 Angus Leeming <leeming@lyx.org>
8278 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8279 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8280 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8281 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8282 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8283 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8285 * BufferView_pimpl.C (dispatch):
8286 * LyXAction.C (init):
8287 * factory.C (createInset):
8288 * lyxfunc.C (getStatus, dispatch):
8289 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8291 2003-02-21 Angus Leeming <leeming@lyx.org>
8293 * BufferView_pimpl.C (MenuInsertLyXFile):
8294 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8295 * lyxfunc.C (menuNew, open, doImport):
8296 no longer pass a LyXView & to fileDlg.
8298 2003-02-21 Angus Leeming <leeming@lyx.org>
8300 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8301 * LyXAction.C: change, BIBKEY to BIBITEM.
8302 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8303 Change InsetBibKey to InsetBibitem.
8304 Change BIBKEY_CODE to BIBITEM_CODE.
8305 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8306 * factory.C: replace insetbib.h with insetbibitem.h.
8307 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8308 * paragraph.C: replace insetbib.h with insetbibitem.h.
8309 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8310 Change bibkey() to bibitem().
8311 * text.C: remove insetbib.h.
8312 * text2.C: replace insetbib.h with insetbibitem.h.
8313 change bibkey() to bibitem().
8314 * text3.C: remove insetbib.h.
8315 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8317 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8319 * lyxrc.C (output): enclose user email in quotes (in case there are
8322 2003-02-18 John Levon <levon@movementarian.org>
8324 * buffer.h: add std::
8326 2003-02-17 John Levon <levon@movementarian.org>
8332 * pspell.C: reworking. Especially in ispell, a large
8333 number of clean ups and bug fixes.
8335 * lyxfunc.C: fix revert to behave sensibly
8337 2003-02-17 André Pönitz <poenitz@gmx.net>
8340 * commandtags.h: new LFUN_INSERT_BIBKEY
8350 * paragraph_func.C: remove special bibkey handling
8352 2003-02-17 John Levon <levon@movementarian.org>
8354 * text.C (Delete): fix case where delete at the end of
8355 the very first paragraph would not merge the pars
8357 2003-02-17 John Levon <levon@movementarian.org>
8359 * lyxrow.C: fix lastPrintablePos()
8361 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8363 * bufferparams.C (writeLaTeX): add a std:here
8365 * buffer.C: and remove a using directive there
8367 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8369 * buffer.C (makeLaTeXFile): move the code that generates the
8372 * bufferparams.C (writeLaTeX): ... in this new method
8374 * LaTeXFeatures.C (getEncodingSet): make const
8375 (getLanguages): make const
8377 * MenuBackend.C (binding): returns the binding associated to this
8379 (add): sets the status of each item by calling getStatus. Adds
8381 (read): add support for OptSubMenu
8382 (expand): remove extra separator at the end of expanded menu
8384 2003-02-15 John Levon <levon@movementarian.org>
8387 * BufferView_pimpl.C:
8389 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8390 inset code that had no actual effect. Remove unneeded status
8393 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8395 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8398 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8400 * text.C (drawLengthMarker): also draw an arrow marker for
8401 symbolic lengths (medskip...)
8403 2003-02-14 John Levon <levon@movementarian.org>
8406 * tabular.C: better method names
8408 2003-02-14 John Levon <levon@movementarian.org>
8410 * BufferView_pimpl.C:
8415 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8416 it's a more accurate name. Remove some pointless uses.
8418 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8420 * text2.C (LyXText): change order of initilizers to shut off
8423 2003-02-14 John Levon <levon@movementarian.org>
8425 * buffer.C: use ParIterator for getParFromID()
8429 * paragraph_pimpl.h:
8430 * paragraph_pimpl.C: remove unused getParFromID()
8432 2003-02-14 John Levon <levon@movementarian.org>
8434 * buffer.C: remove some very old #if 0'd parse code
8436 2003-02-13 John Levon <levon@movementarian.org>
8440 * text2.C: move hfillExpansion(), numberOfSeparators(),
8441 rowLast(), rowLastPrintable(), numberofHfills(),
8442 numberOfLabelHfills() ...
8445 * lyxrow.C: ... to member functions here.
8450 * text.C: remove LyXText::beginningOfMainBody(), and call
8451 p->beginningOfMainBody() directly. Move the check for
8452 LABEL_MANUAL into the latter.
8459 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8465 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8466 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8468 2003-02-13 John Levon <levon@movementarian.org>
8470 * CutAndPaste.C: remove debug
8472 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8474 * paragraph.C (asString): remove two unused variables
8476 * lyxtextclass.C (readTitleType):
8478 (LyXTextClass): handle new members titletype_ and titlename_
8480 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8482 2003-02-09 John Levon <levon@movementarian.org>
8485 * buffer.C: replace hand-coded list with a map for the dep clean
8487 2003-02-08 John Levon <levon@movementarian.org>
8489 * LaTeX.C: consolidate code into showRunMessage() helper
8491 2003-02-08 John Levon <levon@movementarian.org>
8496 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8497 and pass the size in explicitly
8499 * BufferView_pimpl.h:
8500 * BufferView_pimpl.C:
8502 * BufferView.C: add getCurrentChange()
8504 * BufferView_pimpl.h:
8505 * BufferView_pimpl.C: handle change lfuns
8507 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8508 for changes. Mark pasted paragraphs as new.
8510 * support/lyxtime.h:
8511 * support/lyxtime.C:
8512 * DepTable.C: abstract time_t as lyx::time_type
8515 * LColor.C: add colours for new text, deleted text, changebars
8517 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8518 package use "usenames" option.
8522 * LyXAction.C: add change lfuns
8526 * author.C: author handling
8529 * buffer.C: add a per-buffer author list, with first entry as
8530 current author. Handle new .lyx tokens for change tracking. Output
8531 author list to .lyx file. Output dvipost stuff to .tex preamble.
8532 Bump lyx format to 222.
8535 * bufferlist.C: add setCurrentAuthor() to reset current author details
8539 * bufferparams.C: add param for tracking
8541 * bufferview_funcs.C: output change info in minibuffer
8545 * changes.C: add change-tracking structure
8548 * debug.C: add CHANGES debug flag
8551 * lyxfind.C: add code for finding the next change piece
8554 * lyxrc.C: add user_name and user_email
8557 * lyxrow.C: add a metric for the top of the text line
8560 * text.C: implement accept/rejectChange()
8563 * text.C: paint changebars. Paint new/deleted text in the chosen
8564 colours. Strike through deleted text.
8568 * paragraph_pimpl.h:
8569 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8570 in the current change to the insert functions. Rework erase to
8571 mark text as deleted, adding an eraseIntern() and a range-based
8572 erase(). Implement per-paragraph change lookup and
8575 * paragraph_funcs.C: Fixup paste for change tracking.
8577 * tabular.C: mark added row/columns as new.
8579 * text.C: fix rowLast() to never return -1. Don't allow
8580 spellchecking of deleted text. Track transpose changes. Don't
8581 allow paragraph break or merge where appropriate.
8583 * text2.C: leave cursor at end of selection after a cut.
8585 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * text.C (getLengthMarkerHeight):
8588 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8589 visible on screen too.
8591 2003-02-07 John Levon <levon@movementarian.org>
8593 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8595 2003-02-05 Angus Leeming <leeming@lyx.org>
8597 * lyxserver.C (read_ready): revert my patch of 11 September last year
8598 as it sends PC cpu through the roof. Presumably this means that
8599 the lyxserver will no longer run on an Alpha...
8601 2003-01-30 Angus Leeming <leeming@lyx.org>
8603 * factory.C (createInset): create an InsetCommandParam of type "index"
8604 and use it to 'do the right thing'.
8606 * text2.C (getStringToIndex): ensure that cursor position is always
8607 reset to the reset_cursor position.
8609 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8611 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8614 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8618 * lyxfunc.C: Output messages with identical spelling, punctuation,
8621 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8623 * MenuBackend.C (expandFormats): List only viewable export formats
8626 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8629 * lyxfunc.C (getStatus): Make sure that formats other than
8630 "fax" can also be disabled
8632 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * text3.C (dispatch): put the lfuns that insert insets in 3
8635 groups, and call doInsertInset with appropriate arguments.
8636 (doInsertInset): new function, that creates an inset and inserts
8637 it according to some boolean parameters.
8639 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8641 * buffer.C (readFile): remember to pass on 'par' when calling
8642 readFile recursively.
8644 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8646 * MenuBackend.C (expandFormats): add "..." to import formats.
8648 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8650 * paragraph.C (asString): Remove XForms RTL hacks.
8652 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8653 * buffer.C: fix typo
8655 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * Makefile.am (LIBS): delete var
8658 (lyx_LDADD): add @LIBS@ here instead.
8660 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8662 * Clarify the meaning of "wheel mouse jump"
8664 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8666 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8669 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8671 * importer.C (Loaders): do not preallocate 3 elements in the
8672 vector, since one ends up with 6 elements otherwise
8674 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8676 * DepTable.C (write): write the file name as last element of the
8677 .dep file (because it may contain spaces)
8678 (read): read info in the right order
8680 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * paragraph_pimpl.C (simpleTeXBlanks):
8683 (simpleTeXSpecialChars):
8684 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8686 * tabular.C (latex): add some missing case statements. Reindent.
8688 * MenuBackend.C (expandToc): remove unused variable.
8690 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8699 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8702 2003-01-05 John Levon <levon@movementarian.org>
8705 * BufferView.C: add getEncoding()
8708 * kbsequence.C: do not store last keypress
8711 * lyxfunc.C: store last keypress here instead. Pass encoding
8714 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * lyx_main.C (init): remove annoying error message when following
8717 symbolic links (bug #780)
8719 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8721 * text.C (insertChar):
8722 * lyxrc.C (getDescription): remove extra spaces
8724 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8726 * lyxrc.C (getDescription): remove extra spaces
8728 2002-12-20 John Levon <levon@movementarian.org>
8730 * text3.C: hack fix for page up/down across tall rows
8732 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8737 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8739 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8740 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8741 thesaurus is not compiled in
8743 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8745 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8747 2002-12-16 Angus Leeming <leeming@lyx.org>
8750 * lyx_main.C (init): remove override_x_deadkeys stuff.
8752 2002-12-12 John Levon <levon@movementarian.org>
8754 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8755 insert. Only remove shift modifier under strict
8758 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8760 * MenuBackend.C (expandToc): fix crash.
8762 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * MenuBackend.C (expandToc): gettext on float names.
8766 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8768 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8769 implement bool empty() [bug 490]
8771 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8773 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8775 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8777 * several files: ws changes
8779 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * text2.C (setCounter): clean up a bit, use boost.format.
8782 (updateCounters): initialize par upon declaration.
8784 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8785 if the layout exists. We do not just store the layout any more.
8786 (SwitchLayoutsBetweenClasses): use boost.format
8788 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * converter.C (convert): if from and to files are the same, use a
8791 temporary files as intermediary
8793 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8796 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8798 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8800 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8802 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * tabular.C (asciiPrintCell): use string(size, char) instead of
8807 * sgml.C (openTag): fix order of arguments to string constructor
8810 * lyxfunc.C (dispatch): use boost.format
8812 * lots of files: change "c" -> 'c'
8814 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8816 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8818 2002-11-25 Angus Leeming <leeming@lyx.org>
8820 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8822 * lyx_main.C (init): compile fix.
8824 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * lyx_cb.C (start): boost.formatify
8827 do not include <iostream>
8829 * lengthcommon.C: ws only
8831 * boost-inst.C,BoostFormat.h: add more explict instantations
8833 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8835 * lots of files: handle USE_BOOST_FORMAT
8837 2002-11-21 John Levon <levon@movementarian.org>
8839 * pspell.C: fix compile
8841 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * lyxfunc.C (dispatch): use boost::format
8847 * lyxfont.C (stateText): use boost::format
8849 * lyx_main.C (LyX): use boost::format
8851 (queryUserLyXDir): ditto
8854 (typedef boost::function): use the recommened syntax.
8856 * importer.C (Import): use boost::format
8858 * debug.C (showLevel): use boost::format
8860 * converter.C (view): use boost::format
8865 * bufferview_funcs.C (currentState): use boost::format
8867 * bufferlist.C (emergencyWrite): use boost::format
8869 * buffer.C (readLyXformat2): use boost::format
8870 (parseSingleLyXformat2Token): ditto
8872 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8874 * LaTeX.C (run): use boost::format
8876 * Chktex.C (scanLogFile): use boost::format
8878 * BufferView_pimpl.C (savePosition): use boost::format
8879 (restorePosition): ditto
8880 (MenuInsertLyXFile): ditto
8882 * BoostFormat.h: help file for explicit instation.
8884 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8886 * tabular.C (latex): Support for block alignment in fixed width
8889 2002-11-17 John Levon <levon@movementarian.org>
8891 * BufferView_pimpl.C:
8893 * lyxfunc.C: split filedialog into open/save
8895 2002-11-08 Juergen Vigna <jug@sad.it>
8897 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8898 by my last patch (hopefully).
8900 2002-11-08 John Levon <levon@movementarian.org>
8909 * toc.C: ParConstIterator, and use it (from Lars)
8911 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8913 * lyxtextclass.[Ch]: revise and add doxygen comments
8915 2002-11-07 John Levon <levon@movementarian.org>
8917 * text.C: fix progress value for spellchecker
8919 * toc.C: fix navigate menu for insetwrap inside minipage
8921 * paragraph_funcs.C: added FIXME for suspect code
8923 2002-11-07 John Levon <levon@movementarian.org>
8925 * BufferView_pimpl.C: fix redrawing of insets
8928 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8930 * text2.C (updateCounters): fix bug 668
8932 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8934 * text3.C (dispatch): Do not make the buffer dirty when moving the
8937 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8939 * vc-backend.C: STRCONV
8942 * text2.C (setCounter): STRCONV
8944 * paragraph.C (asString): STRCONV
8946 * lyxlength.C (asString): STRCONV
8947 (asLatexString): ditto
8949 * lyxgluelength.C (asString): STRCONV
8950 (asLatexString): ditto
8952 * lyxfunc.C (dispatch): STRCONV
8955 * lyxfont.C (stateText): STRCONV
8957 * importer.C (Import): STRCONV
8959 * counters.C (labelItem): STRCONV
8960 (numberLabel): ditto
8961 (numberLabel): remove unused ostringstream o
8966 * bufferview_funcs.C (currentState): STRCONV
8968 * buffer.C (readFile): STRCONV
8969 (asciiParagraph): ditto
8970 (makeLaTeXFile): ditto
8972 * Spacing.C (writeEnvirBegin): STRCONV
8974 * LaTeXFeatures.C (getLanguages): STRCONV
8975 (getPackages): ditto
8977 (getBabelOptions): ditto
8978 (getTClassPreamble): ditto
8979 (getLyXSGMLEntities): ditto
8980 (getIncludedFiles): ditto
8984 (scanAuxFile): ditto
8987 * LString.h: add the STRCONV macros
8989 * BufferView_pimpl.C (savePosition): STRCONV
8990 (restorePosition): ditto
8991 (MenuInsertLyXFile): ditto
8993 * vc-backend.C (scanMaster): change from submatch[...] to
8996 * funcrequest.C: include config.h
8998 * factory.C: include config.h
9000 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9002 * box.C: include config.h
9004 * LaTeX.C (scanAuxFile): change from submatch[...] to
9008 2002-10-25 Angus Leeming <leeming@lyx.org>
9010 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9012 * ispell.[Ch] (setError): new method.
9013 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9014 Use setError() insetead of goto END.
9016 * lyx_cb.C (AutoSave): move out child process into new class
9019 2002-10-30 John Levon <levon@movementarian.org>
9021 * text3.C: make start appendix undoable
9023 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9025 * lyxlength.C (inPixels): Fix returned value.
9027 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9030 2002-10-24 Angus Leeming <leeming@lyx.org>
9032 * lyxgluelength.h: no need to forward declare BufferParams
9033 or BufferView, so don't.
9035 2002-10-21 John Levon <levon@movementarian.org>
9037 * BufferView.C: menuUndo ->undo, redo
9039 * BufferView.h: document, remove dead, make some methods private
9041 * paragraph_funcs.h:
9042 * paragraph_funcs.C:
9043 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9048 * sgml.C: move sgml open/close tag into sgml.C
9050 * bufferview_funcs.h: unused prototype
9053 * lyxfunc.C: remove unused
9056 * text.C: remove unused
9058 2002-10-21 John Levon <levon@movementarian.org>
9062 * BufferView_pimpl.h:
9063 * BufferView_pimpl.C: fix mouse wheel handling based on
9064 patch from Darren Freeman
9066 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9068 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9070 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9072 * lyxlength.C (inPixels): Fix hanfling of negative length.
9073 Fix LyXLength::MU case.
9075 2002-10-16 John Levon <levon@movementarian.org>
9077 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9079 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9081 * converter.C (view): add support for $$i (file name) and $$p
9082 (file path) for the viewer command. If $$i is not specified, then
9083 it is appended to the command (for compatibility with old syntax)
9085 2002-10-14 Juergen Vigna <jug@sad.it>
9087 * undo_funcs.C (textHandleUndo): alter the order in which the
9088 new undopar is added to the LyXText, as we have to set first
9089 the right prev/next and then add it as otherwise the rebuild of
9090 LyXText is not correct. Also reset the cursor to the right paragraph,
9091 with this IMO we could remove the hack in "redoParagraphs()".
9093 2002-10-09 Angus Leeming <leeming@lyx.org>
9095 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9096 to turn off an optimisation if a new inset is to be inserted.
9098 2002-10-11 André Pönitz <poenitz@gmx.net>
9100 * lyxtext.h: make some functions public to allow access
9101 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9103 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9105 * text3.C (dispatch): when changing layout, avoid an infinite loop
9108 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * lyxrc.C (read): treat a viewer or converter command of "none" as
9113 * MenuBackend.C (expandFormats): for an update, also allow the
9114 formats that are not viewable
9116 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9117 script if it is newer than the lyxrc.defaults in user directory
9119 2002-10-07 André Pönitz <poenitz@gmx.net>
9121 * text.C: Vitaly Lipatov's small i18n fix
9123 2002-09-25 Angus Leeming <leeming@lyx.org>
9125 * ispell.h: doxygen fix.
9127 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9129 * buffer.h (readFile): Add a new argument to the method, to allow
9130 reading of old-format templates.
9132 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9134 * toc.C (getTocList): Get TOC from InsetWrap.
9136 2002-09-16 John Levon <levon@movementarian.org>
9138 * lyxfunc.C: check tabular for cut/copy too
9140 2002-09-12 John Levon <levon@movementarian.org>
9145 * factory.C: add header
9147 * paragraph_funcs.h:
9148 * paragraph_funcs.C: cleanup
9150 2002-09-11 John Levon <levon@movementarian.org>
9152 * PrinterParams.h: odd/even default to true
9154 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9156 * PrinterParams.h: update printer parameters for new xforms dialog
9158 2002-09-11 Angus Leeming <leeming@lyx.org>
9160 * lyxserver.C (read_ready): re-write to make it more transparent
9161 and to make it work in coherent fashion under Tru64 Unix.
9163 2002-09-11 André Pönitz <poenitz@gmx.net>
9167 * text3.C: implement LFUN_WORDSEL
9169 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9171 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9172 make floatlist_ a boost::shared_ptr<FloatList>
9174 * lyxtextclass.C: include FloatList.h
9175 (LyXTextClass): initialize floatlist_
9176 (TextClassTags): add TC_NOFLOAT
9177 (Read): match "nofloat" to TC_NOFLOAT and use it.
9178 (readFloat): modify call to floatlist_
9182 * FloatList.[Ch] (FloatList): remove commented out float
9184 (erase): new function
9186 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9188 * MenuBackend.C (expandToc): fix crash when there is no document
9191 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9193 * many files: Add insetwrap.
9195 2002-09-09 John Levon <levon@movementarian.org>
9197 * text2.C: remove confusing and awkward depth wraparound
9199 2002-09-09 John Levon <levon@movementarian.org>
9201 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9204 * buffer.C: remove getIncludeonlyList()
9207 * lyxfunc.C: remove headers
9209 2002-09-09 Juergen Vigna <jug@sad.it>
9211 * text.C (getColumnNearX): fix form Michael this is most
9212 probably a cut&paste bug.
9214 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9216 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9218 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9219 references, ws changes.
9221 * text2.C (init): update counters after init
9222 (insertParagraph): no need to set counter on idividual paragraphs.
9223 (setCounter): access the counters object in the textclass object
9224 on in the buffer object.
9225 (updateCounters): ditto
9227 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9228 shared_ptr<Counters> to avoid loading counters.h in all
9230 (LyXTextClass): initialize ctrs_
9231 (TextClassTags): add TC_COUNTER, and ...
9232 (Read): use it here.
9233 (CounterTags): new tags
9234 (readCounter): new function
9235 (counters): new funtion
9236 (defaultLayoutName): return a const reference
9238 * counters.C (Counters): remove contructor
9239 (newCounter): remove a couple of unneeded statements.
9240 (newCounter): simplify a bit.
9241 (numberLabel): some small formatting changes.
9243 * buffer.[Ch]: remove all traces of counters, move the Counters
9244 object to the LyXTextClass.
9246 2002-09-06 Alain Castera <castera@in2p3.fr>
9248 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9249 package to set the horizontal alignment on fixed width columns.
9252 * lyx_sty.h: added tabularnewline macro def.
9254 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9256 2002-09-06 John Levon <levon@movementarian.org>
9258 * LyXAction.C: tooltips for sub/superscript
9260 * MenuBackend.C: a bit more verbose
9262 * lyxfunc.C: tiny clean
9264 * undo_funcs.C: document undo_frozen
9266 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * counters.C (Counters): add missing algorithm counter.
9270 * text2.C (setCounter): lookup the counter with layouts latexname
9271 instead of by section number.
9272 (setCounter): use a hackish way to lookup the correct enum
9274 a float name->type change
9275 reset enum couners with counter name directly instead of depth value.
9277 * counters.C (Counters): remove the push_backs, change to use the
9278 float type not the float name.
9279 (labelItem): remove unused string, float name->type change
9281 * counters.h: don't include vector, loose the enums and sects vectors
9283 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9285 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9286 (Read): add float->TC_FLOAT to textclassTags
9287 (Read): and handle it in the switch
9288 (readFloat): new function
9290 * FloatList.C (FloatList): comment out the hardcoded float
9293 * lyxlayout.h: ws change.
9295 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9297 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9299 2002-09-03 Angus Leeming <leeming@lyx.org>
9301 * BufferView_pimpl.h: qualified name is not allowed in member
9302 declaration: WorkArea & Pimpl::workarea() const;
9304 * factory.C: added using std::endl directive.
9306 * text3.C: added using std::find and std::vector directives.
9308 2002-08-29 André Pönitz <poenitz@gmx.net>
9311 * text2.C: remove unused member number_of_rows
9314 * BufferView2.C: remove file, move contents to...
9315 * BufferView.C: ... here
9317 * BufferView_pimpl.C:
9318 * factory.C: move more inset creation to factory
9320 * vspace.C: avoid direct usage of LyXText, ws changes
9323 don't provide direct access to WorkArea, use two simple
9324 acessors haveSelction() and workHeight() instead
9327 2002-08-29 John Levon <levon@movementarian.org>
9329 * BufferView_pimpl.C (dispatch): do not continue when
9332 2002-08-28 André Pönitz <poenitz@gmx.net>
9334 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9337 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9339 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9341 * buffer.C: increment LYX_FORMAT to 221
9343 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9344 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9346 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9348 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9350 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9352 * factory.C (createInset): use LyXTextClass::floats
9354 * MenuBackend.C (expandFloatListInsert):
9355 (expandFloatInsert):
9358 * text2.C (setCounter):
9360 * LaTeXFeatures.C (useFloat):
9361 (getFloatDefinitions):
9363 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9365 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9366 floatlist_, with accessor floats().
9368 * FloatList.h: remove global FloatList
9370 2002-08-26 André Pönitz <poenitz@gmx.net>
9372 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9376 * BufferView_pimpl.C:
9377 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9379 2002-08-25 John Levon <levon@movementarian.org>
9381 * LyXAction.C: fix margin note description
9383 2002-08-24 John Levon <levon@movementarian.org>
9387 * bufferview_funcs.C:
9389 * undo_funcs.C: cleanups
9391 * lyxfunc.C: disable CUT/COPY when no selection
9393 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9395 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9396 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9398 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9399 Add backward compatibility to "mono", "gray" and "no".
9401 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9403 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9404 (and file_format >= 200).
9406 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9408 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9410 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9412 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9414 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9416 * BufferView_pimpl.C:
9423 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9424 inset and code to make it work with the paragraph code. The inset
9425 can be anywhere in the paragraph, but will only do the expected
9426 thing in LaTeX if the layout file contains the parameter line
9428 (or more generally, a nonzero value) for that layout.
9430 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * paragraph.h: remove the declaration of undefined counters class
9435 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9437 * text2.C (setCounter): fixed enumeration mis-count as reported by
9438 Dr. Richard Hawkins.
9440 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9442 * paragraph_funcs.h: remove some unneeded includes
9444 * text.C (backspace): pasteParagraph now in global scipe
9446 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9447 (pasteSelection): ditto
9449 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9450 * paragraph_funcs.C (pasteParagraph): ... here
9452 2002-08-20 André Pönitz <poenitz@gmx.net>
9454 * commandtags.h: new LFUNs for swapping/copying table row/colums
9457 * lyxfunc.C: support for new lfuns
9459 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9462 * buffer.[Ch]: remove NO_COMPABILITY stuff
9464 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9466 * boost.C (throw_exception): new file, with helper function for
9467 boost compiled without exceptions.
9472 * ParameterStruct.h:
9473 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9475 * bufferlist.C (emergencyWriteAll): use boost bind
9477 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9479 * text.C: include paragraph_funcs.h
9480 (breakParagraph): breakParagraph is now in global scope
9482 * paragraph_funcs.[Ch]: new files
9484 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9487 * buffer.C: include paragraph_funcs.h
9488 (insertStringAsLines): breakParagraph is now in global scope
9490 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9493 * CutAndPaste.C: include paragraph_funcs.h
9494 (cutSelection): breakParagraphConservative is now in global scope
9495 (pasteSelection): ditto
9497 * buffer.h: declare oprator== and operator!= for
9498 Buffer::inset_iterator
9500 * bufferlist.C (emergencyWrite): don't use fmt(...)
9502 * text3.C: add using std::endl
9504 * BufferView.C (moveCursorUpdate): remove default arg
9506 2002-08-20 André Pönitz <poenitz@gmx.net>
9508 * buffer.[Ch]: move inline functions to .C
9511 * BufferView_pimpl.C:
9513 * buffer.[Ch]: use improved inset_iterator
9516 * paragraph.[Ch]: write one paragraph at a time
9518 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9520 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9521 style if style is not specified.
9523 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9525 * text2.C (setCounter): when searching for right label for a
9526 caption, make sure to recurse to parent insets (so that a caption
9527 in a minipage in a figure float works) (bug #568)
9529 2002-08-20 André Pönitz <poenitz@gmx.net>
9531 * text3.C: new file for LyXText::dispatch() and helpers
9533 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9535 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9537 2002-08-19 André Pönitz <poenitz@gmx.net>
9540 * text.C: new LyXText::dispatch()
9542 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9544 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9546 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9548 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9551 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * Makefile.am: use $(variables) instead of @substitutions@
9555 2002-08-15 André Pönitz <poenitz@gmx.net>
9558 * BufferView_pimpl.C: streamlining mathed <-> outer world
9562 * LyXAction.C: remove unused LFUN_MATH
9564 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9566 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9568 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9570 * paragraph.C (Paragraph): reformat a bit
9571 (cutIntoMinibuffer): use builtin InsetList function instad of
9575 * buffer.C: include boost/bind.hpp, add using std::for_each
9576 (writeFileAscii): use ParagraphList iterators
9577 (validate): use for_each for validate traversal of paragraphs
9578 (getBibkeyList): use ParagraphList iterators
9579 (resizeInsets): use for_each to resizeInsetsLyXText for all
9581 (getParFromID): use ParagraphList iterators
9583 * BufferView2.C (lockInset): use paragraph list and iterators
9585 2002-08-14 John Levon <levon@movementarian.org>
9587 * lyxserver.C: remove spurious xforms include
9589 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9591 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9593 2002-08-13 André Pönitz <poenitz@gmx.net>
9596 * lyxfunc.C: further cleaning
9598 2002-08-13 André Pönitz <poenitz@gmx.net>
9600 * funcrequest.h: new constructor
9602 * funcrequest.C: move stuff here from .h
9605 * BufferView_pimpl.C:
9608 * lyxfunc.C: subsequent changes
9610 * lyxfunc.h: new view() member function
9612 * lyxfunc.C: subsequent changes
9614 2002-08-13 Angus Leeming <leeming@lyx.org>
9617 * BufferView_pimpl.C:
9625 changes due to the changed LyXView interface that now returns references
9626 to member variables not pointers.
9628 2002-08-13 Angus Leeming <leeming@lyx.org>
9630 * WordLangTuple (word, lang_code): return references to strings,
9635 * lyxtext.h: forward-declare WordLangTuple.
9640 * text.C: #include "WordLangTuple.h".
9643 * text.C: (selectNextWordToSpellcheck): constify return type.
9645 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9651 * paragraph_pimpl.h:
9654 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9656 Made updateCounter always count from start of buffer, and removed
9657 second argument (par).
9658 Reverted floats number display to '#'. Perhaps I'll try again when the
9659 code base is sanitized a bit.
9661 2002-08-12 Angus Leeming <leeming@lyx.org>
9663 * buffer.[Ch] (getLabelList): constify.
9665 2002-08-07 André Pönitz <poenitz@gmx.net>
9667 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9669 * funcrequest.h: extension to keep mouse (x,y) position
9671 2002-08-12 Juergen Vigna <jug@sad.it>
9673 * BufferView2.C (insertErrors): forbid undo when inserting error
9676 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9678 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9680 * ParagraphList.[Ch]: new files
9682 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9684 * BufferView2.C (lockInset): ParagraphList changes
9687 * bufferlist.C: ditto
9691 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9693 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9694 unused class variable counter_,
9696 * paragraph.[Ch] (getFirstCounter): delete unused function
9698 * counters.C: include LAssert.h
9699 (reset): add a new function with no arg, change other version to
9700 not have def. arg and to not allow empty arg.
9702 * text2.C (setCounter): remove empty arg from call to Counters::reset
9704 2002-08-11 John Levon <levon@movementarian.org>
9706 * Makefile.am: add WordLangTuple.h
9708 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9710 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9711 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9713 * insets/insettext.C: InsetList changes
9715 * graphics/GraphicsSupport.C (operator()): InsetList changes
9717 * toc.C (getTocList): InsetList changes
9719 * paragraph_pimpl.[Ch]: InsetList changes
9721 * paragraph.[Ch]: InsetList changes
9723 * buffer.C (inset_iterator): InsetList changes
9724 (setParagraph): ditto
9725 * buffer.h (inset_iterator): ditto
9726 * iterators.C (operator++): ditto
9727 * iterators.h: ditto
9729 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9731 * InsetList.[Ch]: new files, most InsetList handling moved out of
9734 * BufferView2.C (removeAutoInsets): InsetList changes
9736 (ChangeInsets): ditto
9738 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9740 * paragraph_pimpl.h (empty): new function
9742 * paragraph.[Ch] (empty): new function
9744 * other files: use the new Paragraph::empty function
9746 2002-08-09 John Levon <levon@movementarian.org>
9748 * lyxtext.h: remove unused refresh_height
9750 2002-08-09 John Levon <levon@movementarian.org>
9757 * paragraph.C: move sgml char escaping out of paragraph
9760 * paragraph.C: remove id setter
9764 * paragraph_pimpl.C: remove dead tex_code_break_column
9766 * bufferview_funcs.C: small cleanup
9768 * lyxfunc.C: remove dead proto
9770 * lyxtext.h: make some stuff private. Remove some dead stuff.
9772 * lyxgluelength.C: make as[LyX]String() readable
9774 2002-08-08 John Levon <levon@movementarian.org>
9779 * ToolbarDefaults.C:
9782 * toc.C: lyxaction cleanup
9784 2002-08-08 John Levon <levon@movementarian.org>
9786 * BufferView2.C: small cleanup
9789 * lyxfind.C: move unnecessary header into the .C
9791 2002-08-08 John Levon <levon@movementarian.org>
9793 * funcrequest.h: just tedious nonsense
9796 * lyx_main.C: cleanups
9799 * vspace.C: remove dead header lyx_main.h
9801 2002-08-07 Angus Leeming <leeming@lyx.org>
9804 * paragraph_pimpl.h:
9805 Forward declare class Counters in paragraph.h by moving the ctrs member
9806 variable into Paragraph::Pimpl.
9807 (counters): new method, returning a reference to pimpl_->ctrs.
9809 * text2.C: ensuing changes.
9811 2002-08-07 John Levon <levon@movementarian.org>
9813 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9815 * BufferView_pimpl.C: announce X selection on double/triple
9818 * lyx_main.C: use correct bool in batch dispatch
9820 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9822 2002-08-07 André Pönitz <poenitz@gmx.net>
9824 * funcrequest.h: new class to wrap a kb_action and its argument
9827 * BufferView_pimpl[Ch]:
9831 * lyxrc.C: subsequent changes
9834 2002-08-07 John Levon <levon@movementarian.org>
9836 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9837 document options change.
9839 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9844 * makefile.am: move counters functionality over from
9845 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9847 2002-08-06 John Levon <levon@movementarian.org>
9849 * WordLangTuple.h: new file for word + language code tuple
9860 * BufferView2.C: use WordLangTuple
9863 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9865 2002-08-06 John Levon <levon@movementarian.org>
9867 * lyx_main.C: fix cmdline batch handling
9869 2002-08-06 André Pönitz <poenitz@gmx.net>
9871 * lyxrc.C: set default for show_banner to true
9873 2002-08-06 John Levon <levon@movementarian.org>
9875 * pspell.C: fix a crash, and allow new aspell to work
9877 2002-08-06 John Levon <levon@movementarian.org>
9880 * kbmap.C: small cleanup
9883 * vspace.C: add const
9885 2002-08-05 John Levon <levon@movementarian.org>
9887 * LyXAction.C: back to tabular-insert
9889 2002-08-04 John Levon <levon@movementarian.org>
9892 * BufferView.C: cosmetic change
9894 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9904 * BufferView2.C: purge all "Lyx" not "LyX" strings
9907 * lyxcursor.C: attempt to add some documentation
9912 * ToolbarDefaults.C:
9913 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9914 merge with LFUN_TABULAR_INSERT
9921 * pspell.C: split up i/pspell implementations into separate
9922 files, many cleanups
9924 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9926 * text2.C: some cleanup
9928 * lyxfunc.C: don't check for isp_command == "none" any more, it
9929 didn't make any sense
9931 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9936 * makefile.am: move counters functionality over
9937 from text2.C/paragraph.[Ch] to counters.[Ch], and
9939 2002-08-02 John Levon <levon@movementarian.org>
9941 * buffer.C: s/lyxconvert/lyx2lyx/
9943 2002-08-02 Angus Leeming <leeming@lyx.org>
9945 * lyxlex.C: revert John's change as it breaks reading of the user
9948 2002-08-02 Angus Leeming <leeming@lyx.org>
9950 * importer.C (Import):
9951 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9952 changes due to LyXView::view() now returning a boost::shared_ptr.
9954 2002-08-02 John Levon <levon@movementarian.org>
9956 * lyxlex.C: small cleanup
9958 2002-08-02 John Levon <levon@movementarian.org>
9960 * text2.C (status): small cleanup, no logic change
9962 2002-08-01 John Levon <levon@movementarian.org>
9965 * buffer.C (writeFile): don't output alerts, caller
9969 * lyx_cb.C: from above
9971 * lyxfunc.C: allow to open non-existent files
9973 2002-07-31 John Levon <levon@movementarian.org>
9975 * lyxserver.C: don't let incidental errors get
9978 2002-07-30 John Levon <levon@movementarian.org>
9980 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9982 2002-07-30 John Levon <levon@movementarian.org>
9985 * lyxserver.C: remove I/O callback too
9987 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9989 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9992 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9994 * many files: strip,frontStrip -> trim,ltrim,rtrim
9996 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9998 * PrinterParams.h: remove extern containsOnly, and include
9999 support/lstrings.h instead.
10001 * LaTeX.C (scanAuxFile): modify because of strip changes
10003 * buffer.C (makeLaTeXFile): ditto
10004 * bufferparams.C (writeFile): ditt
10005 * lyxfont.C (stateText): ditto
10006 * lyxserver.C (read_ready): ditto
10007 * vc-backend.C (scanMaster): ditto
10009 * BufferView_pimpl.h: ws changes
10011 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10013 2002-07-26 André Pönitz <poenitz@gmx.net>
10015 * kb_sequence.C: remove unnedred usings
10017 2002-07-26 Juergen Vigna <jug@sad.it>
10019 * lyxfind.C (LyXReplace): we have to check better if the returned
10020 text is not of theLockingInset()->getLockingInset().
10022 2002-07-25 Juergen Vigna <jug@sad.it>
10024 * lyxfind.C (LyXReplace): don't replace if we don't get the
10027 * undo_funcs.C (createUndo): remove debugging code.
10029 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10031 * buffer.C (parseSingleLyXformat2Token): Use default placement
10032 when reading old floats.
10034 * FloatList.C (FloatList): Change the default placement of figure
10035 and tables to "tbp".
10037 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10039 * MenuBackend.C: using std::max
10041 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10043 * MenuBackend.C (expandToc):
10044 (expandToc2): code moved from xforms menu frontend. It is now
10045 generic and TOCs are transparent to menu frontends.
10047 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10049 * toc.C (getTocList): protect against buf=0
10051 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10052 Menu as first parameter. Now, this calls itself recursively to
10053 expand a whole tree (this will be useful for TOC handling)
10054 (expandFloatInsert): remove 'wide' version of floats
10056 * MenuBackend.h (submenuname): returns the name of the submenu.
10057 (submenu): returns the submenu itself, provided it has been
10058 created by MenuBackend::expand
10060 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10062 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10063 insets which have noFontChange == true. (bug #172)
10065 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10067 * BufferView_pimpl.C: add connection objects and use them...
10070 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10072 * MenuBackend.C (expandLastfiles):
10075 (expandFloatListInsert):
10076 (expandFloatInsert):
10077 (expand): split expand in parts
10079 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10081 * lyx_gui.C: use lyx_gui::exit()
10083 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10085 * LyXAction.C: show the failing pseudo action
10087 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10089 * buffer.C (readFile): Run the lyxconvert script in order to read
10092 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10096 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10098 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10102 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10104 2002-07-22 Herbert Voss <voss@lyx.org>
10107 * lyxlength.[Ch]: add support for the vertical lengths
10109 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10111 * toc.[Ch]: std:: fixes
10113 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10115 * lyxrc.C: do not include lyx_main.h
10117 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10123 * BufferView2.C: include "lyxlex.h"
10126 * bufferparams.h: do not #include "lyxlex.h"
10128 * lyxtextclasslist.C (Add): remove method
10129 (classlist): renamed to classlist_
10131 * paragraph_pimpl.C:
10135 * bufferview_funcs.C:
10140 * toc.C (getTocList): use BufferParams::getLyXTextClass
10142 * toc.C (getTocList): use InsetFloat::addToToc
10144 * toc.[Ch]: new files, containing helper functions to handle table
10147 * lyxfunc.C (dispatch): no need to remove spaces around command
10149 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10150 first command of the sequence; it is not very clever, but I do not
10151 have a better idea, actually
10153 * LyXAction.C (LookupFunc): make sure to remove space at the
10154 beginning and end of the command
10156 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10158 * MenuBackend.C (getMenubar): new method: return the menubar of
10160 (read): treat differently reading of menu and menubar (in
10161 particular, the menubar has no name now)
10162 (Menu::menubar): remove
10164 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10167 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10169 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10170 a bibitem inset in a RTL paragraph.
10172 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10174 * paragraph_pimpl.C: constify
10176 * BufferView_pimpl.C:
10178 * lyxfunc.C: fix dispatch in a nicer way
10180 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10182 * lyxfunc.C (dispatch):
10183 * BufferView_pimpl.C:
10184 * BufferView_pimpl.h:
10186 * BufferView.h: rename Dispatch() to dispatch()
10188 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10190 * lyxlayout.C (Read): honor DependsOn tag
10192 * lyxlayout.[Ch] (depends_on): new method
10194 * version.C.in: update lyx_docversion
10196 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10198 * paragraph.C (validate): remove from here...
10199 * paragraph_pimpl.C (validate): ... and move here
10200 (isTextAt): make it const
10202 * buffer.C (getLists): ws cleanup
10204 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10206 * language.C (read): Use iso8859-1 encoding in latex_lang
10207 (this prevents LyX from crashing when using iso10646-1 encoding).
10209 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10211 * text2.C (toggleInset): if cursor is inside an inset, close the
10212 inset and leave cursor _after_ it
10214 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10216 * lyxfunc.C: move minibuffer completion handling out of here
10218 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10220 * BufferView_pimpl.C:
10221 * LaTeX.C: fix dispatch calls
10223 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10225 * text.C (drawChars): Fix Arabic text rendering.
10227 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10231 * lyxfunc.C: remove message-push/pop
10235 * lyxfunc.C: rationalise some code by removing verboseDispatch
10236 in favour of a bool argument to dispatch()
10238 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10240 * lyx_main.C (init): make sure to read symlinks as absolute paths
10242 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10245 * lyxfunc.C: no need for commandshortcut to be a member
10247 2002-07-15 André Pönitz <poenitz@gmx.net>
10249 * converter.C: add support for $$s (scripts from lib/scripts dir)
10250 * lyx_main.C: white space
10252 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10256 * lyxrc.C: remove second exit confirmation
10258 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10263 * BufferView_pimpl.h:
10264 * BufferView_pimpl.C:
10265 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10267 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * MenuBackend.C (expand): add numeric shortcuts to document menu
10271 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10273 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10275 * lyxfont.C (setLyXFamily):
10282 * buffer.C (asciiParagraph): use ascii_lowercase
10284 2002-07-15 Mike Fabian <mfabian@suse.de>
10286 * lyxlex_pimpl.C (search_kw):
10287 * lyxlex.C (getLongString):
10288 * converter.h (operator<):
10289 * converter.C (operator<):
10290 * buffer.C (parseSingleLyXformat2Token):
10292 * ToolbarDefaults.C (read):
10293 * MenuBackend.C (checkShortcuts):
10295 * LColor.C (getFromGUIName):
10296 (getFromLyXName): use the compare_ascii_no_case instead of
10297 compare_no_case, because in turkish, 'i' is not the lowercase
10298 version of 'I', and thus turkish locale breaks parsing of tags.
10300 2002-07-16 Angus Leeming <leeming@lyx.org>
10302 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10303 now takes a Buffer const & argument.
10305 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10307 * BufferView.C (resize): check there's a buffer to resize
10309 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10311 * lyxfunc.C: remove dead code
10314 * lyxserver.C: use lyx_guii::set_read_callback
10316 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10318 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10319 an inset in a RTL paragraph.
10321 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10323 * lyxfunc.C: repaint after a font size update
10325 2002-07-15 André Pönitz <poenitz@gmx.net>
10327 * lyxlength.C: inBP should be able to return negative values
10329 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10331 * lyxfunc.C: use lyx_gui::update_fonts()
10333 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10335 * lyxfunc.C: use lyx_gui::update_color()
10337 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10343 * lyxrc.C: remove file->new asks for name option, and let
10344 buffer-new take an argument
10346 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10348 * BufferView_pimpl.C: remove unneeded extra repaint()
10350 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10352 * LyXAction.C: allow command-sequence with NoBuffer
10354 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10356 2002-07-10 Angus Leeming <leeming@lyx.org>
10358 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10360 2002-07-09 Angus Leeming <leeming@lyx.org>
10362 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10364 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10366 * lengthcommon.h: whitespace
10368 * lyxfunc.C: update scrollbar after goto paragraph
10370 * lyxtext.h: factor out page break drawing, and fix it so
10371 page break/added space paints as selected nicely
10373 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10375 * BufferView_pimpl.C: add FIXMEs, clean up a little
10377 2002-07-09 André Pönitz <poenitz@gmx.net>
10379 * lyxfont.[Ch]: support for wasy symbols
10381 2002-07-08 André Pönitz <poenitz@gmx.net>
10383 * BufferView_pimpl.C: apply John's patch for #93.
10385 2002-07-05 Angus Leeming <leeming@lyx.org>
10387 * BufferView_pimpl.C (buffer): generate previews if desired.
10389 * LColor.h: add "preview" to the color enum.
10391 * LColor.C (LColor): add a corresponding entry to the items array.
10393 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10396 2002-07-05 Angus Leeming <leeming@lyx.org>
10398 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10399 The body of the code is now in the method that is passed an ostream &
10400 rather than a file name.
10401 Pass an additional only_preamble parameter, useful for the forthcoming
10404 2002-07-03 André Pönitz <poenitz@gmx.net>
10406 * lyxfunc.C: simplify getStatus() a bit for math stuff
10408 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10410 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10412 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10414 * text.C (changeRegionCase): do not change case of all the
10415 document when region ends at paragraph end (bug #461)
10417 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * paragraph.C (startTeXParParams):
10420 (endTeXParParams): add \protect when necessary
10422 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * BufferView_pimpl.C (workAreaExpose): remove warning
10426 2002-06-27 Angus Leeming <leeming@lyx.org>
10428 * Makefile.am: add lyxlayout_ptr_fwd.h.
10430 2002-06-26 André Pönitz <poenitz@gmx.net>
10432 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10434 2002-06-25 Angus Leeming <leeming@lyx.org>
10436 * lyxfunc.C (dispatch): Comment out the call to
10437 grfx::GCache::changeDisplay. The method no longer exists now that the
10438 pixmap generation part of the graphics loader has been moved into
10441 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10443 * text2.C: layout as layout
10445 * text.C: layout as layout
10447 * tabular.C (OldFormatRead): layout as layout
10449 * paragraph_pimpl.C (TeXDeeper): layout as layout
10450 (realizeFont): layout as layout
10452 * paragraph.C (writeFile): layout as layout
10453 (validate): layout as layout
10454 (getFont): layout as layout
10455 (getLabelFont): layout as layout
10456 (getLayoutFont): layout as layout
10457 (breakParagraph): layout as layout
10458 (stripLeadingSpaces): layout as layout
10459 (getEndLabel): layout as layout
10460 (getMaxDepthAfter): layout as layout
10461 (applyLayout): layout as layout
10462 (TeXOnePar): layout as layout
10463 (simpleTeXOnePar): layout as layout
10464 (TeXEnvironment): layout as layout
10465 (layout): layout as layout
10466 (layout): layout as layout
10468 * lyxtextclass.C (compare_name): new functor to work with
10469 shared_ptr, layout as layout
10470 (Read): layout as layout
10471 (hasLayout): layout as layout
10472 (operator): layout as layout
10473 (delete_layout): layout as layout
10474 (defaultLayout): layout as layout
10476 * lyxlayout_ptr_fwd.h: new file
10478 * lyxlayout.C (Read): layout as layout
10480 * lyx_cb.C (MenuInsertLabel): layout as layout
10482 * bufferlist.C (newFile): layout as layout
10484 * buffer.C (readLyXformat2): layout as layout
10485 (parseSingleLyXformat2Token): layout as layout
10486 (insertStringAsLines): layout as layout
10487 (asciiParagraph): layout as layout
10488 (latexParagraphs): layout as layout
10489 (makeLinuxDocFile): layout as layout
10490 (simpleLinuxDocOnePar): layout as layout
10491 (makeDocBookFile): layout as layout
10492 (simpleDocBookOnePar): layout as layout
10493 (getLists): layout as layout
10495 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10497 * CutAndPaste.C (cutSelection): layout as layout
10498 (pasteSelection): layout as layout
10499 (SwitchLayoutsBetweenClasses): layout as layout
10501 * BufferView_pimpl.C (Dispatch): layout as layout
10502 (smartQuote): layout as layout
10504 * BufferView2.C (unlockInset): layout as layout
10506 2002-06-24 André Pönitz <poenitz@gmx.net>
10508 * lyxfunc.C: fix #487
10510 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10514 * lyxfunc.C: remove display_shortcuts, show_banner
10516 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10518 * Buffer_pimpl.C: oops, update on resize
10520 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10527 * BufferView.C: use repaint()
10529 * BufferView_pimpl.h:
10530 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10531 as it's a clearer description. Remove superfluous
10534 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10536 * text.C: fix bug 488. Not ideal, but getting
10537 getWord() to work properly for the insets that
10538 matter is more difficult ...
10540 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10542 * BufferView_pimpl.C:
10545 * lyxfunc.C: remove the six million index lyxfuncs to just
10546 one, and DTRT (bug 458)
10548 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10552 * BufferView_pimpl.h:
10553 * BufferView_pimpl.C: clean up resize() stuff,
10554 and unnecessary updateScreen()s
10556 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10560 * BufferView_pimpl.h:
10561 * BufferView_pimpl.C:
10564 * minibuffer.C: remove focus management of workarea,
10565 not needed. Use screen's greyOut()
10567 2002-06-17 Herbert Voss <voss@lyx.org>
10569 * converter.C: (convert) do not post a message, when converting
10570 fails, let the calling function decide what to do in this case
10572 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10574 * lyxfunc.C: tidy up a little
10576 2002-06-16 <alstrup@diku.dk>
10578 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10579 Got rid of FORMS_H_LOCATION include. Now we are
10582 2002-06-15 LyX Development team <lyx@rilke>
10584 * buffer.[Ch] (sgmlOpenTag):
10585 (sgmlCloseTag): Added support for avoiding pernicious mixed
10586 content. Return number of lines written.
10588 (makeLinuxDocFile):
10589 (makeDocBookFile): Fixed calls to sgml*Tag.
10590 Simple white space clean.
10592 (simpleDocBookOnePar): Simple white space clean.
10594 * tabular.[Ch] (docBook): Renamed to docbook and got another
10595 argument to related with the pernicious mixed content.
10597 (docbookRow): Fixed calls for docbook inset method.
10599 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10601 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10602 so it's X11 independent.
10606 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10608 2002-06-15 Lyx Development team <lyx@electronia>
10610 * intl.h: Renamed getTrans to getTransManager.
10612 2002-06-14 Angus Leeming <leeming@lyx.org>
10614 * Makefile.am: nuke forgotten stl_string_fwd.h.
10616 2002-06-12 Angus Leeming <leeming@lyx.org>
10618 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10620 2002-06-13 Angus Leeming <leeming@lyx.org>
10623 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10625 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10627 * kbmap.C (getiso): add support for cyrillic and greek
10629 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10633 * BufferView_pimpl.h:
10634 * BufferView_pimpl.C: move bogus scrolling logic
10637 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10640 * BufferView_pimpl.C: view->resize() change
10642 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10644 * BufferView_pimpl.C: topCursorVisible
10647 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10651 * lyx_gui.C: move to frontends/
10655 * lyx_main.C: changes from above
10657 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10664 * lyx_main.C: minor tidy
10666 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.h:
10669 * BufferView_pimpl.C:
10671 * BufferView.C: make painter() const,
10674 * BufferView2.C: use screen() accessor
10677 * lyx_main.C: some minor cleanup
10679 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10681 * BufferView_pimpl.h:
10682 * BufferView_pimpl.C: remove enter/leaveView,
10685 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10690 * BufferView_pimpl.h:
10691 * BufferView_pimpl.C: only construct screen once,
10694 * lyxrc.C: remove pointless comment
10696 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10699 * BufferView.C: remove active() and belowMouse()
10701 * BufferView_pimpl.h:
10702 * BufferView_pimpl.C: use workarea() not workarea_,
10703 and make it use a scoped_ptr instead
10705 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10707 * lyx_gui.C: add debug message on BadWindow
10709 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10711 * sp_spell.C: fdopen is not part of the C++ standard.
10713 * paragraph.C (InsetIterator): use >= instead of ==
10715 2002-06-07 Angus Leeming <leeming@lyx.org>
10717 Fixes needed to compile with Compaq cxx 6.5.
10718 * BufferView_pimpl.C:
10725 * lyxtextclasslist.C:
10730 all c-library variables have been moved into namespace std. Wrap
10731 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10736 Add a using std::abs declaration.
10738 * kbmap.h (modifier_pair):
10739 * paragraph.h (InsetTable, InsetList):
10740 * lyxfont.h (FontBits):
10741 type definition made public.
10743 * bufferlist.C (emergencyWriteAll): the compiler complains that
10744 there is more than one possible lyx::class_fun template to choose from.
10745 I re-named the void specialisation as lyx::void_class_fun.
10747 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10749 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10750 the compiler is is unable to find tostr in write_attribute.
10752 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * buffer.C (sgmlError): hide #warning
10756 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * xtl/*: get rid of xtl, which is not in use anyway
10760 * LyXAction.C (init):
10761 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10762 were unimplemented xtl experimentation
10764 2002-06-04 André Pönitz <poenitz@gmx.net>
10766 * lyxfunc.C: disable array operation on simple formulae
10768 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10770 * converter.C: constify a bit
10772 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10774 * lyx_gui.C: check xforms version correctly
10776 2002-04-30 Herbert Voss <voss@lyx.org>
10778 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10781 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10783 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10784 attempt to register it with a VCS)
10786 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * lyx_main.C (init): honor variables LYX_DIR_13x and
10791 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10795 * lyx_main.C: fix a crash on bad command line,
10796 and give a useful exit status on error
10798 * lyxfunc.C (doImport): allow -i lyx to work
10800 2002-03-30 André Pönitz <poenitz@gmx.net>
10802 * lyxfunc.C: mathed font changes
10804 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10819 * trans_mgr.h: srcdocs, and some minor cleanups
10821 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10823 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10824 call getFont all the time)
10826 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10828 * switch from SigC signals to boost::signals
10830 2002-05-29 André Pönitz <poenitz@gmx.net>
10832 * paragraph_pimpl.C (getChar): don't call size() too often...
10834 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10836 * paragraph_pimpl.C (insertChar): do not try to update tables when
10837 appending (pos == size())
10839 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10840 in order to reduce drastically the number of comparisons needed to
10841 parse a large document
10843 2002-05-29 André Pönitz <poenitz@gmx.net>
10849 * textclasslist.[Ch]:
10850 * sp_ispell.h: whitespace change
10852 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10854 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10855 lyxaction directly now.
10857 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10861 * lyxvc.C: remove unused headers
10863 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10870 * undo_funcs.C: some cleanups. Use shared_ptr
10871 and a template for the undo stacks.
10873 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10875 * BufferView_pimpl.h:
10876 * BufferView_pimpl.C:
10883 * text2.C: use key_state/mouse_state
10885 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10887 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10890 * chset.C: change include order
10891 (loadFile): use boost regex and get rid of LRegex and LSubstring
10893 * Makefile.am (BOOST_LIBS): new variable
10894 (lyx_LDADD): use it
10896 * LaTeX.C: change include order.
10897 (scanAuxFile): use boost regex and get rid of LRegex and
10901 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10906 * FontInfo.C: moved to frontends/xforms/
10909 * FontLoader.C: moved into frontends for GUIIzation
10914 * lyxfunc.C: changes from above
10916 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10918 * LColor.C: remove spurious X include
10920 * BufferView_pimpl.C:
10925 * text2.C: move font metrics to frontends/
10927 2002-05-24 Juergen Vigna <jug@sad.it>
10929 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10930 setting the undo_cursor.
10932 * ParagraphParameters.h: include local includes first.
10934 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10936 * BufferView_pimpl.C:
10937 * BufferView_pimpl.h:
10941 * screen.C: move WorkArea into frontends/
10947 * BufferView2.C: move LyXScreen into frontends/
10951 * lyx_gui.C: move lyxlookup into frontends/xforms/
10953 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10956 * BufferView_pimpl.C:
10966 * bufferview_funcs.C:
10979 * vc-backend.C: move LyX/XFormsView into frontends/
10981 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10993 * text2.C: move Painter to frontends/
10995 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10997 * buffer.C: comment out some some code that depend upon lyx_format
11000 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11001 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11003 * buffer.h (NO_COMPABILITY): turn off compability
11005 * ColorHandler.C: include scoped_array.hpp
11007 * font.C: Use more specific smart_ptr header.
11010 * ShareContainer.h: ditto
11011 * lyx_main.h: ditto
11013 * FontInfo.h: ditto
11014 * BufferView_pimpl.h: ditto
11015 * ColorHandler.h: ditto
11017 * kbmap.C (defkey): change call to shared_ptr::reset
11019 2002-05-21 Juergen Vigna <jug@sad.it>
11021 * buffer.C (insertErtContents): fix to insert ert asis if it is
11022 non empty. Skip it completely if it contains only whitespaces.
11024 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11026 * BufferView_pimpl.C:
11027 * BufferView2.C: clear selection on paste (bug 393)
11029 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11031 * DepTable.C: include ctime
11033 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11035 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11037 2002-05-14 Juergen Vigna <jug@sad.it>
11039 * text.C (breakParagraph): fixed function to honor the keepempty
11040 layout in the right maner and also to permit the right breaking
11041 algorithm on empty or non empyt keepempty paragraphs.
11043 * paragraph.C (breakParagraph): we have to check also if the par
11044 is really empty (!size()) for isempty otherwise we do the wrong
11047 2002-05-10 Juergen Vigna <jug@sad.it>
11049 * buffer.[Ch] : The following are only changes to the ert
11050 compatibility read reading old LaTeX layout and font stuff and
11051 convert it to ERTInsets.
11053 * buffer.h: added isErtInset().
11055 * buffer.C (struct ErtComp): add a fromlayout bool to check
11056 if we're inside a LaTeX layout.
11057 (isErtInset): new helper function.
11058 (insertErtContents): look for other ert insets before this one
11059 and insert the contents there, so that we don't have subsequent
11060 ERT insets with nothing between them. This way we create only one
11061 inset with multiple paragraphs. Also check if we don't insert only
11062 spaces ' ' as they are ignored anyway afterwards in the .tex file
11063 so if we have only spaces we will ignore this latex part in the
11065 (parseSingleLyXformat2Token \\layout): better compatibility when
11066 reading layout-latex stuff.
11067 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11069 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11070 stuff after reading the inset only get the information back from
11073 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11075 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11077 * LaTeXFeatures.C (getBabelOptions): New method.
11079 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * BufferView_pimpl.C (Dispatch): work around missing argument for
11084 2002-05-08 Juergen Vigna <jug@sad.it>
11086 * text.C (leftMargin): handle paragraph leftindent.
11088 * paragraph.C (writeFile): write the new \\leftindent tag.
11089 (validate): handle leftindent code.
11090 (TeXEnvironment): handle paragraphleftindent code again.
11092 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11094 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11095 for paragrap_extra indent code and new token \\leftindent.
11096 (latexParagraphs): handle the leftindent as environment.
11098 * ParameterStruct.h: added leftindent support.
11100 * ParagraphParameters.C (leftIndent): added support functions for
11101 the paragraph left indent.
11103 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11106 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11108 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11111 * text.C (computeBidiTables): No bidi in insetERT.
11113 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11116 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11118 * version.C.in: pre 5
11120 2002-05-02 José Matos <jamatos@fep.up.pt>
11121 * buffer.C (makeDocBookFile): white space changes, add newline to
11123 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11125 * tabular.C (docBook): fix typo.
11127 2002-05-03 Juergen Vigna <jug@sad.it>
11129 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11130 change in LyXText as we can not be sure it was not freed.
11131 (drawOneRow): remove unused code.
11133 * text.C (drawInset): redo the calculation of the need_break_row as
11134 it could have a row which was already freed.
11135 (draw): look at the return value of drawInset and return false if
11136 it also returned false.
11137 (paintRowText): look at the return value of draw and return false if
11138 it also returned false.
11140 * lyxtext.h: added bool return type to drawInset() and draw() so that
11141 if we have a change in the row so that the rowbreak has to be redone
11142 we abort drawing as it will be called again.
11144 2002-05-02 Juergen Vigna <jug@sad.it>
11146 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11147 a change in the maintext also if we're inside an inset.
11148 (Dispatch): set the cursor again after a break line and after the
11149 screen has been updated as it could be we're in a different row.
11151 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11152 to set the cursor behind the pargraph with > size().
11153 (setCursor): check also for the same paragraph when checking where
11154 to put the cursor if we have a NFR inset.
11156 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11157 parts of layout read further up as it still was in the wrong
11160 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11162 * screen.C (drawFromTo): change sine fullRebreak always return
11165 * buffer.C (parseSingleLyXformat2Token): reindent some
11167 * BufferView_pimpl.C (update): change since fullRebreak always
11169 (Dispatch): git rid of the last hardcoded "Standard"s.
11171 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11173 * text2.[Ch] (fullRebreak): make it return void now that we always
11176 2002-04-30 Juergen Vigna <jug@sad.it>
11178 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11179 ert compatibility check for "latex" layout.
11181 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11183 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11184 minipages: use col% instead of p%, and also use the current font.
11185 (makeLaTeXFile): Fix use babel condition.
11186 (parseSingleLyXformat2Token): Correct font when reading old floats.
11188 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11190 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11191 inserting list of floats.
11193 2002-04-25 Herbert Voss <voss@lyx.org>
11195 * MenuBackend.C (expand): don't add the graphics extensions to the
11198 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11200 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11201 non-existing layout, do not complain if it was the default layout
11202 of the original class (bug #342)
11204 2002-04-24 Juergen Vigna <jug@sad.it>
11206 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11207 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11209 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11211 * buffer.C (getBibkeyList): If using \bibliography, return the
11212 option field with the reference itself. Enables us to provide natbib
11213 support when using \bibliography.
11215 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11217 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11219 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11220 natbib is provided by the LaTeX class.
11222 2002-04-23 Juergen Vigna <jug@sad.it>
11224 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11227 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11229 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11233 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11234 ensuremath around textordmasculine, textordfeminine and
11237 2002-04-19 Juergen Vigna <jug@sad.it>
11239 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11240 reinitializing the buffer otherwise row-dimensions may be wrong.
11241 (update): reset also the selection cursors if they do exits otherwise
11242 their x/y positions may be wrong.
11244 * text2.C (cursorDown): don't enter the inset if we came from a row
11245 above and are one row over the inset.
11247 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11248 really leaving an inset.
11250 2002-04-18 Juergen Vigna <jug@sad.it>
11252 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11253 of the selected paragraph does not have the selected layout also if
11256 * text2.C (setLayout): fixed bug which did not change last selected
11259 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11260 changed the read and substituted \\end_float with \\end_inset!
11262 * BufferView_pimpl.C (cursorPrevious):
11263 (cursorNext): fixed to make it work with rows heigher than the work
11264 area without moving the cursor only the draw of the row.
11265 (workAreaMotionNotify): fix jumping over high rows.
11267 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11272 2002-04-16 Juergen Vigna <jug@sad.it>
11274 * text2.C (setCursor): set also the irow().
11275 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11277 (cursorDown): support for locking an inset if the x_fix value goes
11278 inside it. That way I can transverse insets too with cursor up/down.
11280 * lyxrow.h: added irow helper function same as other (i) functions.
11282 * BufferView_pimpl.C (cursorPrevious):
11283 (cursorNext): fixed for insets!
11285 2002-04-15 Juergen Vigna <jug@sad.it>
11287 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11288 position otherwise it is wrong in some cases.
11290 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11291 inside the inset before the call.
11293 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11295 * buffer.[Ch] (getBibkeyList): make it const.
11297 2002-04-12 Juergen Vigna <jug@sad.it>
11299 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11301 * text2.C (getCursorX): new helper function
11302 (setCursor): compute also ix_
11303 (setCursorFromCoordinates): set also ix.
11305 * lyxcursor.h: added ix_ and helper functions.
11307 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11309 * buffer.C (insertStringAsLines): dont break paragraph if the this
11310 paragraph is inside an inset which does not permit it!
11312 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11313 also with no chars on this paragraph.
11314 (paintRowText): only paint stuff if it's inside the workarea!
11316 * paragraph.C (breakParagraph): honor keepempty flag and break the
11317 paragraph always below not above.
11319 * BufferView2.C (unlockInset): update the paragraph layout on inset
11320 unlock as we changed paragraph in such a case.
11322 * lyxfind.C (LyXFind): clear the former selection if not found!
11324 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11325 again called in insertChar().
11327 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11328 an inset which uses the whole row!
11329 (rightMargin): ditto.
11330 (insertChar): force a rebreak if we inserted an inset!
11332 2002-03-28 Herbert Voss <voss@lyx.org>
11334 * lyxlength.[Ch]: add inBP() to get the right PS-point
11335 units (BigPoint). With inPixels we have rounding errors
11337 2002-04-11 Juergen Vigna <jug@sad.it>
11339 * text2.C (setCursorFromCoordinates): set iy to the right value.
11340 (setCursor): add check if row->previous exists!
11342 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11343 an old float_type as this was the case in the old code!
11345 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11347 * BufferView2.C (showLockedInsetCursor): use iy
11348 (fitLockedInsetCursor): ditto
11350 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11351 locked insets as there we have the right value now.
11353 * lyxcursor.C: added iy_ variable and iy functions to set to the
11354 baseline of cursor-y of the locked inset.
11356 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11357 (setCursor): fixed for insets which need a full row.
11359 * text.C (rowLastPrintable): don't ignore the last space when before
11360 an inset which needs a full row.
11361 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11362 as last character of a row when before a inset which needs a full row.
11364 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * version.C.in: update date
11368 * text2.C (fullRebreak): try to always return true and see what
11371 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11373 * MenuBackend.C (expand): use Floating::listName
11375 * FloatList.C (FloatList): add listName argument to the built-in
11378 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11379 text associated with the float.
11381 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11385 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * ShareContainer.h: add a couple of missing typenames.
11389 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11391 * lyxrc.C (getDescription): use _() correctly rather than N_().
11393 2002-03-28 Herbert Voss <voss@lyx.org>
11395 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11396 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11398 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11400 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11401 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11403 2002-03-29 Juergen Vigna <jug@sad.it>
11405 * lyxfunc.C (dispatch): add a missing fitCursor call.
11407 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11408 it was scrolled by a cursor move, so return the bool status.
11410 * BufferView.C (fitCursor): return the bool flag also to the outside
11411 world as this is needed.
11413 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11415 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11416 call the edit() as it is not needed (and wrong) IMO.
11417 (workAreaButtonPress): set the screen_first variable before evt.
11418 unlock the inset as this may change screen_first and then we have
11419 a wrong y position for the click!
11421 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * MenuBackend.C (expand): another translation that I missed
11425 2002-03-28 Juergen Vigna <jug@sad.it>
11427 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11429 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11431 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11433 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11435 * MenuBackend.C (expand): fix export/view/update when there is no
11438 2002-03-27 Herbert Voss <voss@lyx.org>
11440 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11443 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11445 * bufferview_funcs.C (currentState): only show paragraph number
11446 for is DEVEL_VERSION is set.
11448 * lyxfunc.C (dispatch): put warning in INFO channel
11450 * MenuBackend.C (expand): translate the name of floats
11452 * FloatList.C (FloatList): mark the float names for translation
11454 * converter.C (convert): use LibScriptSearch
11456 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11458 * MenuBackend.C (defaults): fix default menu (we might as well get
11461 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11463 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11466 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11468 * lyxvc.C: reorder includes.
11470 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11472 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11475 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11477 * CutAndPaste.C: change layouts earlier on paste
11478 to avoid crashing when calling getFont()
11480 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11482 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11485 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11487 * WorkArea.C: remove 'Pending' debug message.
11489 * most files: ws cleanup
11491 * buffer.[Ch]: ws changes
11493 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11495 2002-03-21 Juergen Vigna <jug@sad.it>
11497 * tabular.C (SetMultiColumn): collapse also the contents of the
11498 cells and set the last border right. Added a Buffer const * param.
11500 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11502 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11505 2002-03-19 Juergen Vigna <jug@sad.it>
11507 * text2.C (clearSelection): reset also xsel_cache.
11509 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11510 where it needs to be called (John tells us to do so too :)
11511 (selectionLost): reset sel_cache.
11513 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11515 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11517 * text2.C (setCursorIntern): put debuging code in INSETS channel
11519 2002-03-19 André Pönitz <poenitz@gmx.net>
11521 * lyxfunc.C: tiny whitespace change
11523 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * ToolbarDefaults.C (init):
11526 * LyXAction.C (init):
11528 * BufferView_pimpl.C (Dispatch):
11529 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11531 2002-03-19 Allan Rae <rae@lyx.org>
11533 * exporter.C (Export): removeAutoInsets before doing anything else.
11534 While I've just introduced a dependency on BufferView this really is
11535 the best place to clean the buffer otherwise you need to cleanup in
11536 a dozen places before calling export or cleanup in a dozen functions
11539 * converter.C (runLaTeX):
11540 (scanLog): Better handling of removeAutoInsets and screen updates.
11542 * lyxfunc.C (dispatch): small whitespace changes
11544 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * WorkArea.C (C_WorkAreaEvent): return a value.
11547 (event_cb): return 1 if we handled the event, 0 otherwise.
11549 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11551 2002-03-18 Juergen Vigna <jug@sad.it>
11553 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11554 (GetAdditionalWidth): ditto.
11555 (RightLine): ditto.
11558 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11559 inset if we're there actually (probably not used right now but this
11560 is the direction to go for unifying code).
11561 (paste): disable code to clear the selection.
11563 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11564 inside an InsetText and move the check further up as it is in the
11567 * text2.C (pasteSelection): set a selection over the pasted text.
11569 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11571 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11572 and libgraphics to build on Cygwin.
11574 2002-03-15 Juergen Vigna <jug@sad.it>
11576 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11577 inserting an Inset into the paragraph. I know this is not the best
11578 fix but we already use current_view in CutAndPaste so we will remove
11579 all of it's using at the same time.
11581 * buffer.C (sgmlError): deactivated function till it is rewritten in
11582 the right mode, now it can create problems.
11584 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11585 before accessing it.
11587 2002-03-14 Juergen Vigna <jug@sad.it>
11589 * undo_funcs.C (textHandleUndo): do the right thing when updating
11590 the inset after the undo/redo.
11592 * text2.C (setCursor): just some testcode for #44 not ready yet.
11594 * undo_funcs.C (textHandleUndo): set the next() and previous()
11595 pointers of the paragraph to 0 before deleting otherwise we have
11596 problems with the Paragraph::[destructor].
11598 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11599 on a paragraph insertion.
11601 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11603 * buffer.C (asciiParagraph): use += operator for char append to
11606 * paragraph.C (getFontSettings): compare >= not just >
11607 (highestFontInRange): ditto
11610 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11612 * paragraph.C: change several algorithm to be more appripriate for
11613 the problem domain. This is lookip in FontList and in the InsetList.
11615 2002-03-13 André Pönitz <poenitz@gmx.net>
11618 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11620 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11625 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11627 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * Painter.C (display): anon helper function, adjust code for this
11631 (pixmap): remove function.
11633 * Painter.h: remove private display variable.
11635 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11637 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11639 * WorkArea.[Ch]: remove figinset_canvas cruft.
11641 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * lyxtextclass.C (operator): add one item cache optimization.
11645 * bufferlist.h: doxy changes
11647 * bufferlist.C: ws changes
11649 * DepTable.[Ch] (ext_exist): place const in the right spot.
11651 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11653 (workAreaExpose): call resizeInsets when the with BufferView changes.
11654 (Dispatch): adjust for protectedBlank removal
11655 (specialChar): call updateInset if the insert went ok.
11657 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11658 specialChar instead.
11660 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11662 * BufferView.h: doxy change
11664 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11666 * lyxtextclass.C (operator[]): remove non-const version
11667 (defaultLayout): remove non-const version
11669 2002-03-12 Juergen Vigna <jug@sad.it>
11671 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11672 did resize the LyXText too.
11674 * buffer.C (readLyXformat2): set layout information on newly allocated
11677 * tabular.C (OldFormatRead): set layout information on the paragraph.
11679 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11681 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11683 2002-03-11 Juergen Vigna <jug@sad.it>
11685 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11687 (resizeCurrentBuffer): force also the insets to resize themselfes.
11688 (moveCursorUpdate): fixed up for InsetText.
11690 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11693 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11694 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11695 value of Dialogs::tooltipsEnabled().
11696 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11698 2002-03-08 Juergen Vigna <jug@sad.it>
11700 * BufferView_pimpl.C (updateInset): update inset inside inset also
11701 if it isn't inside theLockingInset().
11703 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11705 * buffer.C (asciiParagraph): redo some of the word and line length
11707 (getLists): look for Caption instead of caption.
11709 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11711 * buffer.C (Buffer): initialize niceFile to true
11713 (makeLinuxDocFile):
11714 (makeDocBookFile): make sure niceFile is true on exit
11716 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11718 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11720 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11722 * LyXSendto.C: remove.
11723 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11724 * lyx_gui.C: remove now-redundant comment.
11725 * ColorHandler.h: remove forward declaration of class WorkArea.
11726 * lyxfunc.C: remove #include "WorkArea.h".
11728 2002-03-07 Juergen Vigna <jug@sad.it>
11730 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11731 got moved away with the DEPM and also set the inset_owner always
11732 right which before could have been omitted.
11734 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11736 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11737 wanted layout is not found.
11739 2002-03-07 Juergen Vigna <jug@sad.it>
11741 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11743 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * paragraph.C (breakParagraph): use default layout not layout of
11747 (Paragraph): clear ParagraphParameters.
11749 2002-03-06 Juergen Vigna <jug@sad.it>
11751 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11752 otherwise it would not be a valid lenght. Fixed a special case in
11753 the minipage compatibility read where we end the document with a
11756 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11757 was set as it could be 0 for InsetTexts first entry.
11759 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11761 * paragraph.C (writeFile): if layout is empty write out
11762 defaultLayoutName().
11764 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11765 file without named layout we set layout to defaultLayoutName().
11767 2002-03-06 Juergen Vigna <jug@sad.it>
11769 * CutAndPaste.C (copySelection): set layout for new paragraph.
11771 * text.C (prepareToPrint): leave ERT inset left aligned
11772 (leftMargin): don't indent paragraphs inside ERT insets
11774 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * paragraph.C (breakParagraph): dont call clear do the work manually
11778 * paragraph.[Ch] (clear): remove function
11780 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11782 * paragraph.C (Paragraph): dont call clear, the work has already
11785 * lyxtextclass.C (operator): assert if n is empty
11787 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11788 work manually instead.
11790 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11792 * BufferView_pimpl.C: protect selectionLost against text == 0
11794 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * text.C (breakParagraph): fix a setting layout to '0' problem.
11798 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11800 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11801 final location of file, for the included files, and graphics.
11803 2002-03-05 Juergen Vigna <jug@sad.it>
11805 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11807 2002-03-04 Juergen Vigna <jug@sad.it>
11809 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11811 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11812 last column of multicolumn cells.
11813 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11815 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11817 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11818 file if it doesn't go to a temporary file.
11820 * buffer.C (sgmlOpenTag):
11821 (sgmlCloseTag): remove extra newline insertion.
11823 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11825 * text.C (getRowNearY): comment out debug msg
11827 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * text2.C: first -> first_y
11831 * text.C (getRowNearY): add some attemts at a possible
11832 optimization, not working.
11834 * tabular.[Ch]: add BufferParams to several function so that newly
11835 created paragraph can be initialized to he default layotu for the
11838 * tabular-old.C (ReadOld): add buf->params to call of Init
11840 * screen.C: rename text->first to text->first_y
11842 * paragraph.C (breakParagraph): always set layout in the broken
11845 * lyxtextclass.C (Read): remove lowercase
11848 (delete_layout): ditto
11850 * lyxtext.h: rename first -> first_y
11852 * lyxlayout.C (Read): remove lowercase
11855 (obsoleted_by): ditto
11857 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11859 * buffer.C (insertErtContents): add params are to InsetERT
11860 (parseSingleLyXformat2Token): add code to check if a paragraphs
11861 layout really exist.
11862 (parseSingleLyXformat2Token): add params to several inset
11864 (asciiParagraph): remove lowercase, do the layout comparisons with
11867 * BufferView_pimpl.C (cursorNext): first -> first_y
11868 (resizeCurrentBuffer): first -> first_y
11869 (updateScrollbar): first -> first_y
11870 (scrollCB): first -> first_y
11871 (workAreaMotionNotify): first -> first_y
11872 (workAreaButtonPress): first -> first_y
11873 (checkInsetHit): first -> first_y
11874 (cursorPrevious): first -> first_y
11875 (cursorNext): first -> first_y
11876 (Dispatch): add buffer_->params to severl inset contructors
11878 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * lyxlayout.C (Read): remove some debug info that I forgot.
11882 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11883 clean up the code slightly.
11884 (makeLinuxDocFile): ditto
11885 (makeDocBookFile): ditto
11887 * text2.C: layout as string
11889 * text.C: layout as string
11891 * paragraph_pimpl.C: layout as string
11893 * paragraph.[Ch]: layout as string
11895 * lyxtextclasslist.[Ch]: layout as string
11897 * lyxtextclass.[Ch]: layout as string
11899 * lyxtext.h: layout as string
11901 * lyxlayout.[Ch]: layout as string
11903 * lyx_cb.C: layout as string
11905 * bufferview_funcs.C: layout as string
11907 * bufferparams.C: layout as string
11909 * buffer.C: layout as string
11911 * LyXView.[Ch]: layout as string
11913 * LaTeXFeatures.[Ch]: layout as string
11915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11917 * BufferView_pimpl.C: change current_layout to string, remove
11922 (workAreaButtonRelease): layout as string
11924 * BufferView2.C (unlockInset): adjust
11926 * vspace.C (asLatexCommand): use an explict temp variable.
11928 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11930 * Makefile.am: use FRONTEND_*
11932 2002-03-01 Juergen Vigna <jug@sad.it>
11934 * tabular.C (SetWidthOfMulticolCell): changed to something better
11935 I hope but still work in progress.
11936 (recalculateMulticolumnsOfColumn): renamed function from
11937 recalculateMulticolCells as it is more appropriate now.
11938 (SetWidthOfCell): calculate multicols better.
11940 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11942 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11944 * lyxfunc.C (processKeySym): print sequence also if it is
11945 `deleted' (complete)
11947 * kbsequence.C (print): print sequence even if it is deleted
11948 (complete would be a better word, actually).
11950 * lyxfunc.C (dispatch): print complete options after a prefix key
11952 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11954 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11956 * text2.C (setCharFont): eliminate setCharFont code duplication.
11958 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11960 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11961 LFUN_TABULAR_FEATURE (bug #177)
11963 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11965 * Makefile.am: remove figure.h
11967 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11969 * Bufferview_pimpl.C:
11981 * text2.C: remove #include "lyx_gui_misc.h".
11983 * LaTeX.C: added #include <cstdio>
11985 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11987 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11988 that the paragraph following this one can have.
11990 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11992 * vspace.C (asLatexCommand): fix bogus gcc warning
11994 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11996 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11998 * text2.C (setLayout): get rid of redundant code
12000 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12002 * text2.C (incDepth): make sure depth cannot be increased beyond
12005 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12007 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12008 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12010 * PainterBase.h (image):
12011 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12012 a LyXImage const *.
12014 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.C:
12019 * BufferView_pimpl.h:
12039 * sp_spell.C: remove fig inset, and the crap house of
12040 cards that follows it
12042 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12047 * os2_errortable.h:
12048 * nt_defines.h: move .h into support/
12050 * vms_defines.h: remove
12052 * WorkArea.C: add space in debug output
12056 * buffer.C: add WITH_WARNINGS
12060 * bufferlist.C: s/retrive/retrieve/, add docs
12069 * chset.C: add docs
12071 * lyxgui.C: add ID to X error handler
12073 * lyxtestclass.c: fix typo
12075 2002-02-26 Juergen Vigna <jug@sad.it>
12077 * tabular_funcs.C (write_attribute): changed so that some default
12078 attributes are not written at all.
12079 (getTokenValue): set default values before trying to read the
12080 value so we have the return value always set as default if we don't
12081 find the token we search for.
12083 * tabular.C (Write): write bools as bools not as strings!
12085 2002-02-22 Juergen Vigna <jug@sad.it>
12087 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12088 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12090 * text.C (leftMargin): don't add an indent for paragraphs inside
12091 tabular cells (fix #208).
12093 2002-02-21 José Matos <jamatos@fep.up.pt>
12095 * tabular.C (docBook): fixed support for long tables.
12097 2002-02-20 Juergen Vigna <jug@sad.it>
12099 * text2.C (getFont): get the drawing font of the Inset if this
12100 paragraph is inside an inset (only important for InsetERT for now).
12102 * buffer.C (insertErtContents): use new lanugage params in ERT
12105 * CutAndPaste.C: commenting out seemingly uneeded code.
12107 2002-02-19 Allan Rae <rae@lyx.org>
12109 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12110 Iterators might be simple to use but they also get invalidated.
12111 (removeAutoInsets): renamed saved cursor tracking variables and added
12112 some comments to clarify what everything does.
12114 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12121 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12122 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12125 * vc-backend.h: remove #include "support/syscall.h"
12129 * converter.C: rearrange #includes in Lars' approved fashion.
12131 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12132 forward declare class Timeout in the header file.
12134 * XFormsView.C: changes due to the above.
12136 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12137 similar to LyXView.
12139 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12140 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12142 2002-02-18 José Matos <jamatos@fep.up.pt>
12144 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12147 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12149 * a lot of small ws changes
12150 * add a lot of using std::XXX
12151 * use std construcs some places where approp.
12152 * use some exisint stuff from lyxfunctional where approp.
12153 * Make file changes to use partial linking (lets test this now...)
12155 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12159 remove #include "support/syscontr.h" as it's redundant. Always has been.
12167 change Systemcalls::System to Systemcalls::Wait and
12168 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12169 No change of functionality, just reflects the stripped down Systemcalls
12172 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12174 * debug.[Ch]: add a GRAPHICS type to the enum.
12176 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12178 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12180 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12183 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12186 match the changes below.
12188 * text2.C (toggleInset): if there is not editable inset at cursor
12189 position, try to see if cursor is _inside_ a collapsable inset
12192 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12195 document menu has a nice checkbox
12197 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12199 * lyxlength.C (asLatexString): change PW to output as percent of
12202 * lengthcommon.C: change '%' to 't%'
12204 * lyxfunc.C (dispatch): a few comments from Martin
12206 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12210 * BufferView_pimpl.h:
12211 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12214 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12216 * vspace.C (inPixels): fix compiler warning
12218 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12220 * lyxfunc.C (getStatus): fix status message for disabled commands.
12222 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12224 * BufferView_pimpl.C: fix crash on close buffer
12225 during selection (#227)
12227 2002-01-27 Herbert Voss <voss@lyx.org>
12229 * buffer.C: link old Figure to new graphic inset
12231 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12233 * FontLoader.C (getFontinfo): Change the latex font names in order
12234 to match the names of type1inst.
12236 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12238 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12240 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12241 (extchanged): ditto
12243 (remove_files_with_extension): ditto
12244 (remove_file): ditto
12247 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12248 document is smaller than the work area height. Do not initialize
12249 static variables to 0.
12251 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12253 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12255 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12256 LFUN_LAYOUT_PARAGRAPHS.
12258 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12259 tabular. It is possible to provide a possible cell, which will
12260 typically be the actcell from the corresponding insettabular
12262 * lyxfunc.C (getStatus): small cleanup; disable
12263 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12266 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12270 * paragraph.C (startTeXParParams):
12271 (endTeXParParams): new methods. The LaTeX code to
12272 start/end paragraph formatting
12273 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12274 empty (fixes bug #200)
12276 * vspace.C (inPixels): adapt to the change below
12277 (inPixels): [later] more cleanups (remove unused variables)
12279 * lyxlength.C (inPixels): change to use a width and a height as
12282 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12285 Replaced with \paperwidth
12287 * DepTable.C (insert): add std:: qualifier
12289 2002-01-18 Allan Rae <rae@lyx.org>
12291 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12294 * text.C (drawInset): Turned out I didn't know enough about how
12295 rebreaking worked. This fixes most of the redraw problems. I see
12296 an occasional cursor trail when a line is broken now and the cursor
12297 placement can seem out by a few pixels also after a rebreak.
12299 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12301 * buffer.C (parseSingleLyXformat2Token): update because minipage
12302 width is now a LyXLength
12304 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12306 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12309 2002-01-17 Juergen Vigna <jug@sad.it>
12311 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12313 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12314 is set correctly and the inset is updated correctly.
12316 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12318 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12319 the beginning of the loop.
12321 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12323 * lyxrc.C: improve help for use_scalable_fonts
12325 2002-01-17 Allan Rae <rae@lyx.org>
12327 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12329 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12332 make sure to set their inset_owner to the right value (bug #171)
12334 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12337 * DepTable.C: Implement mtime checking to reduce time spent doing
12340 2002-01-16 Juergen Vigna <jug@sad.it>
12342 * tabular.C (GetAdditionalHeight): one of error fixed.
12344 * lyxrc.C (output): small fix in writing use_pspell.
12346 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12348 * sp_base.h: #include LString.h
12350 2002-01-16 Allan Rae <rae@lyx.org>
12352 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12353 Can someone check this please?
12355 * text.C (drawInset): It was possible that p.row would be removed by
12356 breakAgainOneRow upsetting a few other settings. There may be another
12357 small tweak possible by setting need_break_row = 0 when p.row has been
12358 removed but I don't know enough about the logic here.
12360 2002-01-15 Allan Rae <rae@lyx.org>
12362 * text.C (insertChar): removed conditional truism.
12364 * BufferView2.C (removeAutoInsets): More tweaks.
12365 cur_par_prev could be a stray pointer. Check for trailing empty line
12366 in case last line was cur_par and only had an error inset on it.
12368 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12370 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12373 * vc-backend.C (most methods):
12374 * exporter.C (Export):
12375 * converter.C (convert):
12377 * LyXSendto.C (SendtoApplyCB):
12378 * lyxfunc.C (dispatch):
12382 * lyx_cb.C (AutoSave):
12384 * BufferView_pimpl.C (MenuInsertLyXFile):
12385 * buffer.C (runChktex): use Buffer::filePath().
12387 * buffer.h: rename filename to filename_; rename filepath to
12388 filepath_ and make it private
12389 (filePath): new method
12391 * buffer.C (writeFile): use fileName()
12394 * lyx_main.C (init): fix starting of LyX when the binary is a
12395 link from so,ewhere else.
12397 * minibuffer.C: include <cctype> for isprint
12399 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12401 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12402 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12403 name clash with InsetCollapsable's width function.
12405 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12407 * lastfiles.C: include <iterator>
12409 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12411 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12414 * buffer.C (makeLaTeXFile): ditto.
12415 Also make loop operation more transparent.
12417 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12419 * ToolbarDefaults.C: remove trailing comma closing namespace.
12421 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12423 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12426 * trans.C (Load): comment out unused variable, allowed.
12428 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12430 * minibuffer.[Ch] (append_char): new method to recieve input from the
12431 drop-down completion browser. If a key was pressed, then recieve this
12432 char and append it to the existing string.
12433 (peek_event): modify the positioning data passed to the completion
12434 browser so that it can be placed above the minibuffer rather than below.
12435 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * LyXAction.C (init): alloe error-next for readonly documents.
12439 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12442 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12444 * bufferlist.C (readFile): create the buffer _after_ checking that
12447 * lyxfunc.C (verboseDispatch): fix handling of arguments
12449 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12451 * lyxrc.C: use string::erase() instead of initializing to "".
12454 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12456 * BufferView_pimpl.h:
12457 * BufferView_pimpl.C:
12460 * text2.C: tell X when we have made a selection for copying
12462 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12464 * BufferView_pimpl.C (MenuInsertLyXFile):
12465 * lyxfunc.C (menuNew):
12467 (doImport): add shortcuts to directory buttons
12469 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12472 * lyxfunc.C (setStatusMessage):
12473 (getStatusMessage): new methods
12474 (getStatus):use setStatusMessage instead of setErrorMessage
12475 (dispatch): when function is disabled, set error message here
12476 [instead of in getStatus previously]
12478 * BufferView_pimpl.C (workAreaButtonRelease): update
12479 toolbar/menubar here too.
12481 2002-01-13 Allan Rae <rae@lyx.org>
12483 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12484 Now seems indestructible. Remaining task is to audit all other
12485 code affected by deleteEmptyParagraphMechanism. One small quirk
12486 left is that an empty document with an error in the preamble can
12487 be made to report an error but no error box appears. I don't know
12489 (removeAutoInsets): Improved comments.
12491 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12494 * Thesaurus.C: update for Aiksaurus 0.14
12496 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * text2.C (firstParagraph): removed member function, all uses
12499 replaces with ownerParagraph
12500 (redoParagraphs): here
12501 (updateInset): here
12502 (toggleAppendix): here
12503 * BufferView2.C (insertErrors): here
12504 (setCursorFromRow): here
12506 2002-01-13 Allan Rae <rae@lyx.org>
12508 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12509 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12510 There is still a way to segfault this although you may have to do this
12511 multiple times: Have an InsetERT with an unknown command in it.
12512 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12513 <down-arrow>, <Enter> again, View->DVI, BANG!
12515 * text2.C (setCursor):
12516 (deleteEmptyParagraphMechanism):
12517 * lyxtext.h (setCursor):
12518 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12519 Making use of the return value may help fix other bugs.
12521 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12523 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12525 * LyXView.C (updateMenubar): call MenuBar::update here
12526 (updateToolbar): but not here
12527 (showState): do not update toolbar/menubar
12529 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12530 should need to care about that.
12532 * lyxfunc.C (verboseDispatch): simplify a bit
12533 (getStatus): have a version which takes a pseudoaction, and
12534 another which requires a (kb_action,string).
12536 * LyXAction.C (retrieveActionArg): make it work also when action
12537 is not a pseudo-action.
12538 (getActionName): simplify a bit
12541 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12543 * lyxfunc.C (verboseDispatch): new families of methods with
12544 several ways to specify a command and a bool to indicate whether
12545 the command name and shortcut should be displayed in minibuffer
12546 (eventually, we could extend that to a finer bitmask like
12547 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12548 (dispatch): the pristine dispatch command which just, well,
12549 dispatchs! Note it still sets its result to minibuffer; I'm not
12552 * lyxfunc.h: remove setHintMessage
12554 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12556 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12558 * BufferView_pimpl.C (specialChar): delete new inset if we have
12559 not been able to insert it.
12561 * kbmap.C: revert to using int instead of kb_action, since all we
12562 are dealing with is pseudo-actions.
12564 * LyXAction.C (searchActionArg): change to return int instead of
12565 kb_action, since the result is a pseudoaction.
12567 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12569 * buffer.C (insertErtContents): Fix (partially) the font bug.
12571 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12573 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12574 as the other one is broken on my machine!
12576 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12579 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12581 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12583 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12584 reflect their actual use. Provide compatibility code for older lyxrc
12587 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12589 change names of popup font variables in line with the changes to lyxrc.C
12591 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12593 * buffer.C (asciiParagraph): avoid outputing a word twice after
12596 * lyxrc.C (getDescription): document that document_path and
12597 template_path can be empty.
12599 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * LaTeXFeatures.C (getMacros):
12602 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12604 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12606 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12608 (getPackages): rename feature "floats" to "float". Use an array to
12609 iterate over 'simple' features (i.e. just a \usepackage). Add
12610 handling of "amsmath" (renamed from "amsstyle").
12612 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12614 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12617 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12619 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12620 FuncStaus::FuncStatus & FuncStaus::some_method().
12622 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12624 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12625 of the func_satus stuff. Edited and massaged in various ways by
12628 * lyxfunc.C (getStatus): use FuncStatus
12630 2002-01-08 Juergen Vigna <jug@sad.it>
12632 * text.C (nextBreakPoint): use function Inset::isChar().
12634 * paragraph.C (TeXOnePar): use function
12635 Inset::forceDefaultParagraphs.
12637 * buffer.C (latexParagraphs): use function
12638 Inset::forceDefaultParagraphs.
12640 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12642 * lyx_gui.C (init): set the style of the menu popups to
12643 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12645 2002-01-07 Juergen Vigna <jug@sad.it>
12647 * text.C (setHeightOfRow): small fix
12648 (prepareToPrint): don't look at alignment if we don't have the place
12651 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12653 * box.C: New file. Move the Box methods and functions out of box.h,
12654 following Lars' suggestion.
12656 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12658 * box.h: #include "support/LOstream.h", needed for inlined function.
12661 * lyxtextclasslist.C: added some using std declarations.
12663 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12665 * box.h: make signed dimensions to allow insets wider than
12666 the screen (bug #162)
12668 * BufferView_pimpl.C: add some insetHit debug
12670 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12672 * vc-backend.C: add FIXME
12674 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12676 * lyxfunc.C (getStatus): enable code for showing math font status
12679 2002-01-07 Juergen Vigna <jug@sad.it>
12681 * text.C (nextBreakPoint): removed debug output not needed anymore.
12683 2002-01-06 Juergen Vigna <jug@sad.it>
12685 * text.C (nextBreakPoint): fixed up this function we had this bug
12686 since ever but now hopefully we break row better.
12687 (insertChar): we have to check if an inset is the next char as it
12688 could now happen that a large inset is causing a break.
12690 2002-01-05 Juergen Vigna <jug@sad.it>
12692 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12693 if it doesn't like to be drawed.
12695 2002-01-04 Juergen Vigna <jug@sad.it>
12697 * BufferView2.C (lockInset): forgot to set a cursor.
12699 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12701 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12703 * FormMathsPanel.C:
12706 * form_maths_panel.C:
12707 * form_maths_panel.h:
12708 * form_maths_panel.fd: implemented sub- and super- buttons in math
12711 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12712 (or ^ space) to be used as in TeX (req'd by André).
12714 * lyxfunc.C: Allow ^ and _ again to be used both as
12715 super/subscript (mathed) and as themselves (in text).
12717 2002-01-03 Allan Rae <rae@lyx.org>
12719 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12720 "LyX" or the filename of the current buffer if it has one. This is a
12721 modified form of John Levon's patch.
12723 * XFormsView.C (setWindowTitle): also set icon title.
12725 * LyXView.h (setWindowTitle): signature changed.
12726 * XFormsView.h (setWindowTitle): ditto.
12728 2002-01-02 Juergen Vigna <jug@sad.it>
12730 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12732 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12734 * screen.C (topCursorVisible): introduce a temp var for
12735 text->cursor.row(), handle the case where this row is null. (kindo
12738 * text2.C (setCursor): add a couple of asserts.
12740 * paragraph.h (inset_iterator): add -> operator
12742 * paragraph.[Ch] (autoDeleteInsets): remove member function
12744 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12745 cursor pos correctly and handle inset deletion by itself.
12746 (insertErrors): move iterator declaration out of for expression
12748 * lyxtextclass.C: add <algorithm>
12750 * Makefile.am: added the new files to sources, removed layout.C
12752 * layout.C: removed file
12754 * layout.h: remove LYX_DUMMY_LAYOUT
12756 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12760 * lyxtextclass.[Ch]:
12761 * lyxtextclasslist.[Ch]: new files
12763 * include order changes to a lot of files, also changes because of
12766 2001-12-27 Juergen Vigna <jug@sad.it>
12768 * buffer.C (asciiParagraph): more fixes.
12770 * tabular.C (ascii): make ascii export support export of only the
12771 data separated by a column-delimiter.
12772 (ascii): better support for ascii export.
12774 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12776 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12778 * tabular_funcs.C: use a "using std::getline" instead of the
12779 previous fix from Angus (necessary for cxx + lyxstring)
12781 2001-12-24 Juergen Vigna <jug@sad.it>
12783 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12785 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12786 problems. First check a minipage also if we have some ert-contents
12787 (not only on par->size(), second set the right depth of the paragraph
12788 on the relink to the root-paragraph-list!
12790 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12791 which then did not anymore update the main paragraphs on undo/redo!
12793 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12795 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12796 code. Support all font-changing funcs (even those which are not in
12797 menu currently). Support for reporting font settings in
12798 mathed (disabled until Andre provides a function on mathed's side).
12800 * func_status.h (toggle): small helper function to set toggle
12803 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12805 * tabular_funcs.C: getline -> std::getline
12807 2001-12-21 Juergen Vigna <jug@sad.it>
12809 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12810 accessed and could be 0 (I couldn't generate this but it seems
12813 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12816 * tabular_funcs.h: here and include iosfwd
12818 2001-12-20 Juergen Vigna <jug@sad.it>
12820 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12821 inside inset but undo_par was.
12823 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * Thesaurus.C: always include <config.h> in sources.
12829 * box.h: do not include <config.h> in header files
12831 * text.C (paintLastRow): remove unused variable
12833 * text.C (transformChar):
12835 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12837 * Painter.C (text):
12838 * font.C (width): rewrite to use uppercase() instead of
12841 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12843 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12845 * lyxfind.C: clean up of find failure position change
12847 2001-12-20 Juergen Vigna <jug@sad.it>
12849 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12851 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12852 (TeXRow): added to LaTeX a single tabular row.
12853 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12854 (Latex): simplified and finally good LT-h/f support.
12855 (various_functions): just small adaptions for LT-h/f support.
12857 * tabular_funcs.[hC]: added and moved here all not classfunctions
12860 2001-12-19 Juergen Vigna <jug@sad.it>
12862 * tabular.[Ch]: better support for longtabular options (not finished
12865 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12867 * text.C (paintLastRow): use the label font instead of the font of
12868 the last character to compute the size of *_BOX. This makes more
12869 sense and avoids a crash with empty paragraphs.
12870 Use Painter::rectangle to draw EMPTY_BOX.
12872 2001-12-19 Juergen Vigna <jug@sad.it>
12874 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12875 the paragraphs if the replaced paragraph is not the first one!
12876 Tried to delete not used paragraphs but does not work yet so for
12877 now it's inside #ifdef's and by default off!
12879 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12881 * MenuBackend.C: include "lyx_main.h" instead of declaring
12882 lastfiles (actually was declared as LastFiles* instead of a
12885 2001-12-17 Juergen Vigna <jug@sad.it>
12887 * tabular.C (AppendColumn): applied John's fix
12889 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12893 * BufferView_pimpl.h:
12894 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12897 * box.h: new start of class for above
12899 * lyxfunc.C: ignore space-only minibuffer dispatches.
12900 Show the command name when it doesn't exist
12902 * minibuffer.C: don't add empty lines to the history
12904 * minibuffer.C: add a space on dropdown completion
12906 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12908 * text.C: fix line above/below drawing in insets
12910 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12912 * lyxlength.C (LyXLength): Initialize private variables.
12914 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12916 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12917 when inserting error insets.
12919 2001-12-13 Juergen Vigna <jug@sad.it>
12921 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12922 actually sometimes the before-paragraph.
12923 (setUndo): don't clear the redostack if we're not actually undoing!
12925 2001-12-06 Juergen Vigna <jug@sad.it>
12927 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12928 and fixed redoing of main paragraph, so we can use it now ;)
12930 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12932 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12934 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12937 2001-12-13 André Pönitz <poenitz@gmx.net>
12940 * undo_func.C: minor cleanup
12942 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12944 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12945 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12946 font in urw-fonts package which is marked as -urw-fontspecific and
12947 does not work (incidentally, changing the encoding in the
12948 fonts.dir of this package to -adobe-fontspecific fixes the
12951 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12952 is a crash when undoing first paragraph (Juergen, please take a
12953 look). THis does not mean the undo fix is wrong, just that it
12956 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12957 the (Paragraph*) version when needed instead of duplicating the
12960 * text.C (workWidth): use Inset::parOwner to find out where the
12961 inset has been inserted. This is a huge performance gain for large
12962 documents with lots of insets. If Inset::parOwner is not set, fall
12963 back on the brute force method
12965 * paragraph_pimpl.C (insertInset):
12966 * paragraph.C (Paragraph):
12967 (cutIntoMinibuffer): set parOwner of insets when
12968 inserting/removing them
12970 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12972 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12978 * mathed/formulabase.C:
12979 * mathed/math_cursor.[Ch]:
12980 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12983 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12985 * lyxlength.[Ch] (operator!=): new function
12987 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12989 * text.C (workWidth): use Inset::parOwner to find out where the
12990 inset has been inserted. This is a huge performance gain for large
12991 documents with lots of insets. If Inset::parOwner is not set, fall
12992 back on the brute force method
12994 * paragraph_pimpl.C (insertInset):
12995 * paragraph.C (Paragraph):
12996 (cutIntoMinibuffer): set parOwner of insets when
12997 inserting/removing them
12999 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13001 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13003 * tabular-old.C (getTokenValue):
13004 * tabular.C (getTokenValue):
13005 (write_attribute): new versions for LyXLength
13006 (everywhere): adjust the use of widths
13008 * tabular.h: change the type of widths from string to LyXLength
13010 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13012 * paragraph.C: fixed missing line number count when exporting
13013 Environments to LaTeX file
13015 * buffer.C: added informational message for checking line numbers.
13017 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13019 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13020 paragraph, do the 'double space' part, but not the 'empty
13023 * text.C (workWidth): small optimization
13024 (getLengthMarkerHeight): use minimal size for negative lengths.
13026 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13028 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13030 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13032 2001-12-11 André Pönitz <poenitz@gmx.net>
13035 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13037 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13039 * text2.C: keep selection on a setFont()
13041 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13043 * lyx_cb.C: another bv->text misuse, from insert label
13045 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13048 * kbsequence.C: re-instate nmodifier mask
13050 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13052 * lyx_main.h: make lyxGUI private.
13054 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13056 * lyxfind.C: place the cursor correctly on failed search
13058 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13060 * text.C (getLengthMarkerHeight): for small heights, the arrows
13061 are not always on top/bottom of the text
13062 (drawLengthMarker): smaller arrows; take the left margin in
13063 account; draw also vfills.
13065 (paintLastRow): remove special code for vfill and standard spaces,
13066 since everything is handled in drawLengthMarker now.
13068 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13070 * buffer.C (insertErtContents): try to handle font and language
13071 interaction a bit better.g
13073 * ColorHandler.C (updateColor): change the hash to cover the whole
13074 LColor enum, ws cleanup
13075 (getGCLinepars): ditto
13076 (getGCLinepars): only lookup in the linecache once.
13078 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13080 * iterators.C (operator++): Make the iterator more robust
13082 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13084 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13086 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13089 * text.C: better added space drawing
13091 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13094 * BufferView2.C: fix layout combo update on inset unlock
13096 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13098 * Makefile.am: don't compile unused files
13100 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13104 * LyXAction.C: remove old LFUN_LAYOUTNO
13106 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13108 * paragraph_pimpl.h:
13109 * paragraph_pimpl.C: isTextAt() doesn't need font param
13111 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13114 * lyxlex.C: little cleanup
13116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13118 * BufferView_pimpl.C: fix insertAscii for insets
13120 2001-12-05 Juergen Vigna <jug@sad.it>
13122 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13123 set the right font on the "multi" paragraph paste!
13125 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13131 * lyxlength.C: remove out-commented code.
13133 * BufferView_pimpl:
13147 * vc-backend.C: change "while(" to "while ("
13149 * lyxlength.[Ch]: add zero function to check if length is zero or
13151 * lyxgluelength.C: use it
13153 2001-12-05 Allan Rae <rae@lyx.org>
13155 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13156 Works for 2.95.3, from what I understand of Garst's reports this should
13157 work for other g++ versions. We're screwed if the abs(int) definition
13158 changed between bugfix releases of gcc.
13160 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13162 * text.C: fix chapter label offset !
13164 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13167 * text.C: fix hfill at end of line, clean up
13169 2001-12-04 Juergen Vigna <jug@sad.it>
13171 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13172 that we force an update of the inset and it's owners if neccessary.
13174 2001-12-03 Juergen Vigna <jug@sad.it>
13176 * text.C (rowLast): simplified code
13178 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13180 * lyxfunc.C: fix show options on timeout
13182 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13184 * screen.C (topCursorVisible): scroll half a page when the cursor
13185 reached top of bottom of screen
13187 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13189 * minibuffer.C: deactivate on loss of focus
13191 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * vspace.[Ch] (operator!=): add operator.
13195 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13197 * BufferView_pimpl.C: refuse to open an inset when
13198 there's a selection.
13200 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13202 * BufferView_pimpl.C: allow to click on RHS of full row insets
13204 2001-11-30 Juergen Vigna <jug@sad.it>
13206 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13207 insets for undo reasons.
13209 2001-11-28 André Pönitz <poenitz@gmx.net>
13211 * vspace.[Ch]: cosmetical changes
13213 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13223 * kbsequence.C: part re-write of old kb code
13226 * WorkArea.C: remove Lgb_bug_find_hack
13228 2001-11-30 José Matos <jamatos@fep.up.pt>
13230 * buffer.C (makeDocBookFile): add a comment to point a hack.
13231 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13232 Fixed a double write of labels.
13234 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13237 * LaTeX.h Fixed bug in LaTeX class where it would not
13238 re-run latex if no depfiles were changed, but the .dvi was removed.
13240 2001-11-28 André Pönitz <poenitz@gmx.net>
13242 * all the files from the change on 2001/11/26:
13243 use lyx::layout_type instead of LyXTextClass::size_type
13244 use lyx::textclass_type instead of LyXTextClassList::size_type
13246 2001-11-29 Juergen Vigna <jug@sad.it>
13248 * text.C: added support for paragraph::isFreeSpacing()
13250 * buffer.C: same as above
13252 * paragraph.h: inserted isFreeSpacing() function to enable
13253 FreeSpacing inside InsetERT.
13255 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13256 of the paragraph's in the cut/copy buffer to 0!
13258 * text2.C (removeRow): remove the assert as it can!
13260 * lyxtext.h: added helper function firstRow returning firstrow and
13261 made firstrow private again.
13263 * BufferView2.C (lockInset): don't relock if we're already locked!
13265 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13266 the only paragraph.
13267 (removeRow): added Assert::(firstrow)
13269 * debug.C: forgot to add INSETTEXT here.
13271 2001-11-28 Juergen Vigna <jug@sad.it>
13273 * sp_spell.C (initialize): changed error text to more general
13274 spellchecker command use (not only ispell!)
13276 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13278 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13280 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13282 * vspace.C: initialise lyxgluelength on failure
13284 2001-11-28 Allan Rae <rae@lyx.org>
13286 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13287 declaration & definition that looks like a function declaration.
13289 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13291 * BufferView2.C (copy):
13292 (copyEnvironment): do not clear the selection when doing a copy.
13294 * text.C (paintFirstRow): compilation fix
13296 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13298 * tabular.C (Latex): correct line count when writing latex.
13300 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13302 * paragraph_pimpl.h:
13303 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13306 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13310 * LColor.C: change vfillline->added_space
13312 * text.C: add markers and text for added space
13314 * vspace.C: fix comment
13316 2001-11-28 André Pönitz <poenitz@gmx.net>
13318 * paragraph.C: whitespace changes
13319 * all the other files from the change on 2001/11/26:
13320 change *::pos_type into lyx::pos_type
13322 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13324 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13325 language of the document when inserting error insets.
13327 2001-11-26 André Pönitz <poenitz@gmx.net>
13329 * BufferView_pimpl.[Ch]:
13337 * paragraph_pimpl.[Ch]:
13340 * text2.C: reduce header dependencies, introduce type for positions
13342 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13344 * <various>: change to use Alert.h
13346 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13348 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13349 when encountering an unknown token.
13350 (readLyXformat2): Show an error message if there were unknown tokens.
13352 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13355 * BufferView_pimpl.C:
13359 * text2.C: use par->isInset()
13361 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13363 * paragraph_pimpl.h:
13364 * paragraph_pimpl.C: cleanup
13366 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13368 * text2.C (removeRow):
13369 * text.C (setHeightOfRow): remove useless (and costly) call to
13372 2001-11-20 Allan Rae <rae@lyx.org>
13374 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13375 Now need Inset*::checkInsertChar() to return true for appropriate
13376 cases so that the characters in the minibuffer will actually be
13379 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13381 * text.C: change the order of the includes.
13382 (workWidth): initialize it at once.
13383 (workWidth): make maxw unsigned
13384 (setHeightOfRow): remove unused variable (inset)
13385 (selectSelectedWord): remove unused variable (inset)
13386 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13388 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13390 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13391 server is not running.
13393 (closeConnection): add debug info when server is disabled.
13395 * ColorHandler.C (getGCForeground): send debug message to GUI
13398 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13400 * kbmap.C (bind): modify because return conventions of
13401 kb_sequence::parse have changed.
13403 * kbsequence.C (parse): only ignore spaces and not any stupid
13404 control character. This avoids tests like s[i] <= ' ', which are
13405 guaranteed to fail with 8bit characters and signed chars.
13406 Change return code to string::npos when there have been no error
13407 (0 was a bad idea when error is at first character)
13409 2001-11-14 José Matos <jamatos@fep.up.pt>
13412 * buffer.C (simpleDocBookOnePar): removed unused argument.
13414 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13416 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13417 insets which are part of a word. Paragraph::isLetter takes care of
13418 that now. Use Paragraph::isInset to identify insets.
13419 (selectSelectedWord): do not test for hyphenation break.
13421 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13422 that protected spaces are considered as spaces.
13424 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13427 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13430 * lyxserver.C: fix it. and small cleanup.
13432 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13434 * BufferView_pimpl.C: use inline helpers
13437 * LaTeXFeatures.C: fix typos
13440 * Spacing.C: move spacing_string into class
13442 * ToolbarDefaults.C: move stuff into namespace anon
13444 * layout.h: update enum
13446 * lyxfunc.C: use better debug
13448 * minibuffer.h: fix typo
13452 * WorkArea.C: add and use Debug::WORKAREA
13456 * text2.C: code re-organisation, inline helpers
13458 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13460 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13461 std::vector.empty().
13463 2001-11-09 Allan Rae <rae@lyx.org>
13465 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13466 '\n's after tables. Tabular and ERT inset work now makes this no
13469 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13472 * minibuffer.C: fix crash, improve drop-down completion
13474 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13477 * lyxserver.C: invalidate fd's when doing endPipe()
13479 2001-11-08 José Matos <jamatos@fep.up.pt>
13481 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13482 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13485 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13487 2001-11-07 José Matos <jamatos@fep.up.pt>
13490 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13493 * buffer.C (sgmlOpenTag):
13494 * buffer.C (sgmlCloseTag): removed debug info.
13496 * buffer.h (sgmlOpenTag):
13497 * buffer.h (sgmlCloseTag): made public.
13499 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13501 * buffer.C (saveParamsAsDefaults):
13502 * lyx_cb.C (MenuLayoutSave): remove
13504 * LyXAction.C (init):
13506 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13508 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13510 * buffer.C (setPaperStuff): removed from here...
13512 * bufferparams.C (setPaperStuff): ... and moved there.
13514 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13518 * XFormsView.C: add support for drop-down completion
13520 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13522 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13525 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13527 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13530 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13532 * lyx_main.C: change ref to known bugs
13534 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13536 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13537 to work around older babel problems.
13539 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13541 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13543 2001-10-24 Juergen Vigna <jug@sad.it>
13545 * tabular-old.C (ReadOld): below variable changes reflected.
13547 * tabular.[Ch]: added ltType struct for longtable header/footer
13548 defines and changed all instances where they are used. Added
13549 future support for double top/bottom rows.
13551 2001-10-24 José Matos <jamatos@fep.up.pt>
13553 * buffer.h (docbookHandleCaption):
13554 * buffer.C (docbookHandleCaption): removed unused function.
13555 (makeDocBookFile): moved docbook supported version to v4.1.
13557 2001-10-24 José Matos <jamatos@fep.up.pt>
13560 * tabular.C (docbookRow): new function to export docbook code of a row.
13561 (DocBook): now honors the longtable flags.
13563 2001-10-23 José Matos <jamatos@fep.up.pt>
13566 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13567 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13569 * buffer.C (makeLinuxDocFile):
13570 (makeDocBookFile): reworked the preamble, more clean, and with
13571 support for lyx defined entities. Changed the document declaration
13572 to be more XML friendly.
13574 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13575 if we need to output XML that should be done with a filter.
13577 2001-10-22 Juergen Vigna <jug@sad.it>
13579 * sp_pspell.h (class PSpell): add alive function needed in the
13580 controller to see if the spellchecker could be started.
13582 2001-10-22 Juergen Vigna <jug@sad.it>
13584 * buffer.C (insertStringAsLines): modify the font for inserting
13585 chars in certain conditions by calling checkInsertChar(font).
13587 2001-10-19 Juergen Vigna <jug@sad.it>
13589 * text.C (workWidth): use getRow instead of wrong algorithm.
13590 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13592 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13597 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13599 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13601 * text.C (workWidth): do not search for the exact row when
13602 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13603 optimization for big documents.
13605 2001-10-18 Juergen Vigna <jug@sad.it>
13607 * text.C (workWidth): new function with added Inset * parameter.
13609 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13611 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13613 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13614 change return type of getColumnNearX.
13617 * text.C (changeRegionCase): use uppercase/lowercase instead of
13620 (rightMargin): simplify code by factoring out the uses of
13625 (appendParagraph): use Paragraph::size_type
13627 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13629 * vspace.C (asLatexString): add a missing break
13631 2001-10-15 Herbert Voss <voss@perce.de>
13633 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13635 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13640 2001-10-10 André Pönitz <poenitz@gmx.net>
13642 * lyxfunc.C: removed greek_kb_flag.
13644 2001-10-10 Herbert Voss <voss@perce.de>
13646 * lyx_main.C: delete global string help_lyxdir.
13648 2001-10-09 Herbert Voss <voss@perce.de>
13650 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13652 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13654 * lyx_main.C: added global string help_lyxdir.
13656 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13658 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13660 * lyxrc.C (set_font_norm_type): support iso8859-4
13662 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13664 * LaTeX.C (deplog): add another regex for MikTeX
13666 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13668 * lyxrc.C (set_font_norm_type): support iso8859-3
13670 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13674 * LaTeXFeatures.C: remove special case of french and index
13676 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13677 before \begin{document}). This solves several incompatibilities.
13679 2001-10-03 Garst Reese <reese@isn.net>
13681 * lyx_cb.C: change CheckTex error msg.
13683 2001-10-03 José Matos <jamatos@fep.up.pt>
13685 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13687 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * .cvsignore: update
13691 * lyx_main.C (commandLineVersionInfo): use new style version info.
13693 * buffer.C (writeFile):
13695 (makeLinuxDocFile):
13696 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13698 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13700 * version.h: update to use stuff in version.C
13702 * version.C.in: new file. Contains version information determined
13703 at compile time. This is a merging of version.h and
13706 2001-10-03 Juergen Vigna <jug@sad.it>
13708 * BufferView_pimpl.C (update): don't change "dirty" status in
13711 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13713 * WorkArea.C (c-tor): re-position version string slightly.
13715 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13717 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13718 revert to previous code.
13720 WorkArea.[Ch]: (show, destroySplash): methods removed.
13722 WorkArea.C: rework code so that it's an amalgam of the codes before and
13723 after the splash screen was moved to WorkArea.
13725 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * vspace.C (inPixels):
13731 * buffer.C (insertStringAsLines):
13732 (asciiParagraph): fix types to be large enough
13734 * lyxlex_pimpl.h: change member status from short to int
13736 * layout.h: fix type of endlabeltype
13739 * kbsequence.C (parse): change return type to string::size_type
13741 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13744 * Bullet.C (bulletSize):
13745 (bulletEntry): do not use short ints as parameters
13747 * BufferView2.C (insertLyXFile): change a char to an int.
13749 * WorkArea.C (WorkArea): remove unneeded floats in computation
13751 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13753 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13755 * paragraph.C (asString): Do not ignore newline/hfill chars when
13756 copying to the clipboard.
13758 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13760 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13761 after a multi-line inset.
13763 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13765 * paragraph.C (validate): Set NeedLyXFootnoteCode
13767 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13769 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13770 and decrease-error to decrease.
13772 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13774 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13775 it more readable (should be equivalent)
13777 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13779 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13781 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13783 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13784 of a cursor (row, etc.) after a character has been deleted
13785 (deleteEmptyParagraphMechanism): call the method above on _all_
13786 cursors held by the LyXText when a double space has been
13789 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13791 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13793 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13795 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13796 background. Use greyOut() and the new show() methods to toggle between
13797 the foreground and background. Add code to remove the splash after
13798 its initial showing.
13800 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13801 (create_forms): no longer call Dialogs::showSplash.
13803 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * .cvsignore: add version_info.h
13807 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * version_info.h.in: new file
13811 * Makefile.am: add version_info.h.in
13813 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13814 version_info.h instead of VERSION_INFO
13816 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13818 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13819 The ERT inset now returns string().
13821 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13823 * lyxtext.h, text.C (selectNextWord): renamed as
13824 selectNextWordToSpellcheck.
13826 * text.C (selectNextWordToSpellcheck): Modified to not select
13827 words inside an ERT inset.
13829 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13831 * lyx_cb.C (MenuLayoutSave): change a bit the question
13833 * sp_base.h: include <sys/types.h>
13835 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13837 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13839 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13841 * several files: fix typos in user-visible strings
13843 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * text2.C (pasteSelection): do not set the selection, since it
13846 will be cleared later. Actually, the intent was to fix the way the
13847 selection was set, but I figured rmoving the code was just as good.
13849 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13851 * FontLoader.C (available): Check if font is available without
13854 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13856 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13858 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13860 * lyxrc.[Ch]: added display_graphics variable and associated code.
13862 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * bufferparams.C (hasClassDefaults): new method. Returns true if
13865 the buffer parameters correspond to known class defaults
13867 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13869 * XFormsView.C (show): set minimum size to the main window.
13871 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13873 * text2.C (copySelection):
13875 * lyxfind.C (LyXReplace):
13876 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13877 LyXText::selectionAsString.
13879 * paragraph.C (asString): add "label" argument to the second form
13881 * text2.C (selectionAsString): add "label" argument and pass it to
13882 Paragraph::asString.
13884 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * lyx_main.C (commandLineHelp): remove version information
13888 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13890 * lyx_main.C: add -version commandline option
13892 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13894 * paragraph.h: make the optional constructor arg required instead.
13895 some modifications to other files because of this.
13897 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13899 * lyxserver.C (C_LyXComm_callback): make it static
13901 * lyx_main.C (error_handler): make it static
13903 * lyx_gui.C (LyX_XErrHandler): make it static
13905 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13907 * WorkArea.C: make the extern "C" methods static.
13909 * Makefile.am (lyx_LDADD): simplify
13911 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13913 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13914 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13916 * LyXAction.C (init):
13917 * lyxfunc.C (dispatch): associated code removal.
13919 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * lyxfont.h (isSymbolFont): shut off warning
13923 * text.C (setHeightOfRow):
13924 (getVisibleRow): fix crash with empty paragraphs which have a
13927 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13929 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13932 2001-09-04 José Matos <jamatos@fep.up.pt>
13935 * tabular.C (docbook): rename docBook method to docbook.
13937 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13939 * Makefile.am: add dependencies to main.o.
13941 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13943 * FontLoader.C (available): Return false if !lyxrc.use_gui
13945 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13947 * FontInfo.C (query):
13948 * converter.C (view):
13949 * importer.C (Import):
13950 * exporter.C (Export): Can not -> cannot.
13952 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13954 * BufferView_pimpl.C: allow to create index inset even if
13957 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13959 * buffer.C (getLists): replace boost::tie code with an explicit pair
13960 as boost::tie can break some compilers.
13962 * iterators.h: Added a std:: declaration to the return type of
13965 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13967 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13970 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13972 * iterators.[Ch]: New files. Provide paragraph iterators.
13974 * buffer.C (changeLanguage): Use paragraph iterators.
13975 (isMultiLingual): ditto
13977 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13979 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13981 * FontLoader.C: Support for cmr font.
13983 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13985 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13986 (available): New method.
13988 * FontInfo.C (getFontname): Use scalable fonts even when
13989 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13992 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13994 * converter.C (Formats::view): reverted! Incorrect fix.
13996 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13998 * converter.C (Formats::view): only output the -paper option
13999 if the dvi viewer is xdvi, thereby fixing bug #233429.
14001 2001-08-23 Herbert Voss <voss@perce>
14003 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14005 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14007 * Spacing.h (Spacing): Set space to Default on in the default
14010 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14012 * vc-backend.h (RCS::versionString): add RCS to version
14013 (CVS::versionString): add CVS to version
14015 * vc-backend.C (scanMaster): do not add CVS to version.
14016 (scanMaster): do not add RCS to version
14018 * lyxvc.C (versionString): new method
14020 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14022 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14024 * Spacing.C (set): initialize fval
14026 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14028 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14031 2001-08-16 Juergen Vigna <jug@sad.it>
14033 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14035 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14037 * BufferView_pimpl.C:
14040 * text2.C: setParagraph takes linespacing now
14042 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14044 * LyxAction.C: add internal LFUN_CITATION_INSERT
14046 * LyXView.C: actually apply fix
14048 * bufferlist.C: fix open non-existent file
14050 * lyxfind.C: fix indentation
14052 * lyxfunc.C: remove unneeded assert, fix typo
14054 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14056 * MenuBackend.C: use "Floatname List"
14058 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14060 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14061 when converting LaTeX layout to insetERT.
14062 Generate a non-collapsed float when reading old float
14064 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14066 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14069 2001-08-13 Juergen Vigna <jug@sad.it>
14071 * text.C (fill): return 0 instead of 20 as this seems to be the more
14074 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14076 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14079 2001-08-13 Juergen Vigna <jug@sad.it>
14081 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14083 (SearchBackward): comment out the unlocking of the inset_owner this
14084 should not be needed!
14086 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14088 * Many files: Remove inherit_language, and add latex_language
14090 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14091 collapsible insets.
14093 2001-08-10 Juergen Vigna <jug@sad.it>
14095 * text.C (prepareToPrint): fixed hfill-width in draw!
14097 * BufferView2.C (selectLastWord): save the selection cursor as this
14098 now is cleared in the function LyXText::clearSelection!
14100 2001-08-08 Juergen Vigna <jug@sad.it>
14102 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14103 BACKSPACE type functions.
14105 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14106 is only cutted from the document but not put in the cut-buffer, where
14107 still the old stuff should be.
14109 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14111 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14113 * tabular.C (SetWidthOfCell): fixed special case where the width
14115 (LeftLine): handle '|' in align_special.
14117 (LeftAlreadyDrawed): ditto
14118 (SetWidthOfCell): ditto
14120 2001-08-07 Juergen Vigna <jug@sad.it>
14122 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14124 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14126 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14127 * lyxlex.[hC]: ditto
14129 2001-08-06 Juergen Vigna <jug@sad.it>
14131 * text.C (getVisibleRow): fix up row clearing a bit.
14133 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14135 * minibuffer.C: make sure the X server sees the changes in the input.
14137 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * paragraph.C (getFont): split into...
14140 (getLabelFont): this
14141 (getLayoutFont): and this
14142 * paragraph_pimpl.C (realizeFont): calling this
14144 * text2.C (getFont): split into...
14145 (getLayoutFont): this
14146 (getLabelFont): and this
14147 (realizeFont): all three calling this
14149 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14152 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14154 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14156 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14158 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14159 layouts from the Quote inset insertion.
14161 2001-08-03 Juergen Vigna <jug@sad.it>
14163 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14165 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14166 only if status not is already CHANGED_IN_DRAW (second level).
14168 * text.C (draw): don't set the need_break_row when inside an
14171 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14173 * buffer.C (parseSingleLyXformat2Token): handle more latex
14176 * bufferview_funcs.[hC]: change function names to
14177 begin with small char, adjust other files.
14179 2001-08-02 André Pönitz <poenitz@gmx.net>
14182 BufferView_pimpl.C: remove broken special code for math-greek
14184 2001-08-02 Juergen Vigna <jug@sad.it>
14186 * BufferView_pimpl.C (update): redone this function so that we
14187 update the text again if there was a CHANGE_IN_DRAW.
14189 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14190 (drawFromTo): added a new internal bool which is used by draw() and
14192 (general): some cursor drawing problems fixed.
14194 2001-08-01 Juergen Vigna <jug@sad.it>
14196 * lyxfind.C (LyXFind): fixed
14197 (SearchForward): ditto
14198 (SearchBackward): ditto
14200 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14201 spurius drawing of the cursor in the main area.
14203 * text2.C (status): small fix which could lead to a segfault!
14204 (clearSelection): remove unneeded BufferView param.
14206 2001-08-01 André Pönitz <poenitz@gmx.net>
14208 * lyxfunc.C: small change due to changed mathed interface
14210 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14212 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14214 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14216 * lyxfunc.c: fail gracefully if file doesn't exist
14221 * BufferView_pimpl.C: IsDirWriteable() proto changed
14223 * LyXView.C: fix updateWindowTitle() to store the last title
14225 2001-07-31 Juergen Vigna <jug@sad.it>
14227 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14228 the font (wrong since using of Paragraph::highestFontInRange).
14230 * paragraph.C (highestFontInRange): added a default_size parameter.
14232 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14233 (setHeightOfRow): reformat
14235 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * converter.[hC] + affected files: move to (inital-char)lowercase
14240 * ParagraphParameters.C (ParagraphParameters): remove commented code
14242 * PainterBase.[Ch]: remove commented code
14244 * LaTeXFeatures.h: add "bool floats" for float.sty
14246 * LaTeXFeatures.C (LaTeXFeatures): init floats
14247 (require): handle float
14248 (getPackages): do it with floats
14250 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * BufferView_pimpl.C (Dispatch): improve handling of
14253 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14255 * commandtags.h: #include lyxfont.h here temporarily to avoid
14258 * bufferlist.h: include LString.h here.
14260 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14262 * text2.C (getStringToIndex): new method.
14264 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14266 * *: Reduced header file dependencies all over.
14268 2001-07-30 Baruch Even <baruch@lyx.org>
14270 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14272 2001-07-29 Baruch Even <baruch@lyx.org>
14274 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14276 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14278 * ParameterStruct.h (endif): add a default constructor to make
14279 sure that all variables is initialized.
14281 * ParagraphParameters.C (ParagraphParameters): adjust
14283 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14285 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14286 index; also, check that there is something to index, and that it
14287 does not span over several paragraphs.
14288 (doubleClick): use WHOLE_WORD_STRICT for double click.
14290 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14292 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14295 2001-07-26 Baruch Even <baruch@lyx.org>
14297 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14298 an InsetFig figure, backwards compatible reading of old figure code.
14300 2001-07-27 Juergen Vigna <jug@sad.it>
14302 * text2.C: font.realize function adaption.
14304 * text.C (draw): add a warnings lyxerr text if needed.
14306 * layout.C: font.realize function adaption.
14308 * language.C: add inherit_language and implement it's handlings
14310 * bufferview_funcs.C (StyleReset): remove language parameter from
14311 font creation (should be language_inherit now).
14313 * bufferparams.C (writeFile): handle ignore_language.
14315 * paragraph.C (getFontSettings): the language has to be resolved
14316 otherwise we have problems in LyXFont!
14318 * lyxfont.C (lyxWriteChanges): added document_language parameter
14319 (update): removed unneeded language parameter
14321 * paragraph.C (validate): fixed wrong output of color-package when
14322 using interface colors for certain fonts in certain environments,
14323 which should not seen as that on the final output.
14325 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14327 * BufferView_pimpl.C:
14332 * LyXAction.C: add thesaurus support
14335 * lyxfind.C: add "once" parameter, for thesaurus, to not
14336 move to the next match
14338 2001-07-26 Juergen Vigna <jug@sad.it>
14340 * lyxfont.C (realize): honor ignore_language too!
14343 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14345 * text.C (draw): one place more for ignore_language to not draw
14348 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14350 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14352 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14354 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14355 the minipage conversion problem.
14357 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14359 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14362 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14364 * BufferView.h: don't forward declare WorkArea
14366 * BufferView.C: don't include WorkArea.h
14368 2001-07-25 André Pönitz <poenitz@gmx.net>
14372 * lyxfunc.C: new LFUN 'math-space'
14374 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14376 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * text2.C (toggleInset): call open/close
14380 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14382 * lyxfunc.C (dispatch): add debug for the disabled case
14384 * font.C (buttonText): make similar to rectText
14386 * buffer.C (readInset): comment out parsing of insetlist and
14389 * PainterBase.C (rectText): small correction
14391 * BufferView_pimpl.C: comment out insettheorem and insetlist
14392 * LyXAction.C: ditto
14393 * commandtags.h: ditto
14395 2001-07-24 Juergen Vigna <jug@sad.it>
14397 * text.C (draw): honor the ignore_language.
14399 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14401 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14403 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14406 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14408 * lyxtext.h: remove unused (and unimplemented) methods
14410 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14412 * text.C (getVisibleRow): honor background color
14415 * Painter.h: remove default color argument for fillRectangle
14417 * text.C (backgroundColor): new method
14419 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * text.C (getVisibleRow): adjust
14423 * font.[Ch] (rectText): new method, metrics
14424 (buttonText): new method, metrics
14426 * PainterBase.[hC]: make rectText and buttonText always draw and take
14429 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14431 * ToolbarDefaults.C (read):
14432 * MenuBackend.C (read): allow escaping in all strings
14434 * BufferView_pimpl.C (insertAndEditInset): new method.
14435 (Dispatch): use insertAndEditInset whenever appropriate.
14437 * BufferView_pimpl.C (insertNote): removed
14439 * BufferView_pimpl.C (smartQuote): new method, moved from
14440 BufferView; if an insetquote cannot be inserted, insert a '"'
14443 * BufferView2.C: remove insertCorrectQuote();
14445 * lyxfunc.C (getStatus): Add support for all remaingin
14446 inset-insert lfuns.
14448 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14450 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14451 command (necessary to pass " as parameter of self-insert.
14453 * text.C (selectWordWhenUnderCursor):
14454 (selectWord): add word_location parameter
14455 (selectWordWhenUnderCursor): same + remove special code for word
14457 (selectNextWord): use kind() to guess type of insetspecialchar,
14460 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14461 (insertErtContents): create ert insets as collapsed.
14462 (readInset): better compatibility code for Info inset.
14464 2001-07-20 Juergen Vigna <jug@sad.it>
14466 * lyxfunc.C (dispatch): use always LyXFind now!
14468 * text2.C (init): add a reinit flag so that the LyXText can be
14469 reinited instead of deleted and reallocated (used in InsetText).
14471 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14477 2001-07-18 Juergen Vigna <jug@sad.it>
14479 * text.C (selectNextWord): handle insets inside inset by calling
14480 always the bv->text functions so that we can go up the_locking_inset!
14482 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14483 in strange locations when inside an inset!
14485 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14486 handling to include insets.
14488 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14490 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * LyXAction.C (init):
14494 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14495 LIGATURE_BREAK, since the name is so stupid.
14497 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14499 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14502 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14504 * sp_form.[Ch]: remove.
14506 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14508 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14511 * src/buffer.C (readInset): ditto.
14513 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14515 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14516 menuSeparator(), endOfSentenceDot(), ldots() and
14517 hyphenationPoint(), which are therefore removed.
14518 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14520 * LyXAction.C (init):
14521 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14523 * paragraph.C (getWord): removed.
14525 * BufferView_pimpl.C (Dispatch): use last word or selection for
14526 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14528 * lyx_main.C (queryUserLyXDir): do not ask before creating
14529 user_dir, except if it has been named explicitely.
14531 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14533 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14534 a document of zero size.
14536 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14538 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14539 approriately in the c-tor and in require().
14540 (getPackages): output the appropriate LaTeX for natbib support.
14542 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14543 variables "use_natbib" and "use_numerical_citations" when reading the
14545 (readInset): read the various natbib cite commands.
14546 (validate): white-space change.
14548 * bufferparams.[Ch]: new variables "bool use_natbib" and
14549 "bool use_numerical_citations".
14550 (writeFile): output them in the LyX file.
14552 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14554 * lyxfunc.C (getStatus): add support for all the inset insertion
14557 * text2.C (insertInset):
14558 * paragraph.C (insetAllowed):
14559 * BufferView_pimpl.C (insertInset): update to take in account the
14560 renaming of insertInsetAllowed
14562 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14564 * text2.C (getInset): new method. returns inset at cursor position.
14566 * BufferView_pimpl.C (Dispatch): changes because of this.
14568 * LyXAction.C (init): rename open-stuff to inset-toggle.
14570 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14572 * text2.C (toggleInset): renamed from openStuff; use
14575 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14577 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14579 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14581 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14583 * buffer.C (readLyXformat2): Add filename to the error dialog
14585 2001-07-18 Juergen Vigna <jug@sad.it>
14587 * tabular.C (GetCellNumber): put an assert here instead of the check!
14589 2001-07-17 Juergen Vigna <jug@sad.it>
14591 * BufferView_pimpl.C (toggleSelection): adapted too.
14593 * text.C (selectNextWord): adapted for use with insets.
14594 (selectSelectedWord): ditto
14596 2001-07-17 Juergen Vigna <jug@sad.it>
14598 * sp_spell.C (PSpell): fix initialitation order.
14600 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14602 * paragraph.C: spacing
14604 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14606 * sp_spell.C: repair language selection for pspell
14608 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * lyxfunc.h: change more methods to begin with lower char.
14612 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14614 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14615 for unknown layouts.
14617 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14619 * buffer.C (readLyXformat2): Generate an error dialog if there are
14622 2001-07-16 Juergen Vigna <jug@sad.it>
14624 * sp_spell.C: always compile ISpell part.
14626 * lyxrc.C: added use_pspell entry and it's handling.
14628 2001-07-13 Juergen Vigna <jug@sad.it>
14630 * sp_spell.C: removed double includes.
14632 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14634 Consistent use of Lsstream.h:
14635 * Lsstream.h: added using std::stringstream for consistencies sake.
14637 * buffer.C: removed using std::stringstream
14639 * lyxfont.C (stateText):
14640 * paragraph.C (asString):
14641 * text.C (selectNextWord, selectSelectedWord):
14642 * text2.C (setCounter):
14643 * vspace.C (asString, asLatexString):
14644 std::ostringstream -> ostringstream.
14646 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14648 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14649 * commandtags.h: add LFUN_HELP_ABOUTLYX
14650 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14652 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14654 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14656 * lyx_gui_misc.C: remove spellchecker
14657 * lyxfunc.C: showSpellchecker
14659 * sp_ispell.h: added
14660 * sp_pspell.h: added
14661 * sp_spell.C: added
14662 * sp_form.[Ch]: removed
14663 * spellchecker.[Ch]: removed
14665 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14667 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14669 (simpleTeXSpecialChars): Simply print the input character without
14670 any special translation if pass_thru is set.
14672 * layout.h: Added bool pass_thru to layout class for being able to
14673 implement pass through of a paragraph for Literate Programming.
14675 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14676 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14677 * layout.C (Read): add "passthru" to list of layout tags and add
14678 code to set the pass_thru boolean when it is read.
14680 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14682 * trans_decl.h: remove allowed from KmodInfo
14684 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14685 remove allowed code
14688 * paragraph_pimpl.C (erase): use boost::prior
14690 * Painter.C (text): use data() instead of c_str() when length is
14692 * WorkArea.C (putClipboard): ditto
14693 * font.h (width): ditto
14695 * BufferView2.C: use it-> instead of (*it). for iterators
14697 * paragraph_pimpl.C: ditto
14698 * paragraph.C: ditto
14699 * minibuffer.C: ditto
14700 * language.C: ditto
14702 * encoding.C: ditto
14703 * counters.C: ditto
14704 * converter.C: ditto
14706 * Variables.C: ditto
14707 * TextCache.C: ditto
14708 * MenuBackend.C: ditto
14709 * LyXAction.C: ditto
14711 * FloatList.C: ditto
14712 * DepTable.C: ditto
14713 * ColorHandler.C (LyXColorHandler): ditto
14715 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14717 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14719 * text2.C (openStuff): reintroduce this method (which had been
14720 nuked in NEW_INSETS frenzy).
14722 * lyxfunc.C (Dispatch): when an action has not been handled, use
14723 its name in the error message, not its number.
14725 * paragraph.C (inInset): change method name to begin with lowercase.
14728 * text2.C: updates because of this.
14730 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * ToolbarDefaults.C (add): add spaces in error message
14734 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14736 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14737 (readLyXformat2): rename return_par to first_par, use lyxlex's
14738 pushToken and remove the manual push handling.
14739 (parseSingleLyXformat2Token): add another ert comp. variable:
14740 in_tabular, rename return_par to first_par. handle newlines better
14742 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14744 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14746 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14748 * text2.C (getParFromID): removed
14750 * buffer.C (getParFromID): new method moved form lyxtext.
14751 * BufferView2.C (insertErrors): adjust
14752 (setCursorFromRow): adjust
14753 * BufferView_pimpl.C (restorePosition): adjust
14754 * lyxfunc.C (Dispatch): adjust
14755 * undo_funcs.C (textUndo): adjust
14757 (textHandleUndo): adjust
14758 (textHandleUndo): adjust
14760 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14762 * buffer.C: up' the LYX_FORMAT
14764 * lyxfont.h: turn NO_LATEX on as default
14766 * buffer.C (insertErtContents): new methods of tex style compability.
14767 (parseSingleLyXformat2Token): use it several places.
14768 * tabular.C (OldFormatRead): and here
14770 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14772 * text2.C: remove some commented code.
14775 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14776 * trans.C: changes because of the above.
14778 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14780 * text2.C (setCounter): Fix counters bug with bibliography layout.
14782 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14785 own member functions
14786 (simpleTeXSpecialChars): ditto
14788 2001-07-06 Juergen Vigna <jug@sad.it>
14790 * a lot of files: changed the access to LyXText::status and the
14791 call of undo-functions.
14793 * undo.[Ch]: added a inset_id to the undo informations.
14795 * undo_funcs.[Ch]: added and moved here all undo functions.
14797 * lyxtext.h: give the status enum a weight, made status_ a private
14798 variable and made accessor functions for it, removed the whole bunch
14799 of undo-functions as they are now in their own file, make some
14800 functions publically available. Added function ownerParagraph with
14803 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14804 made InInset() a const function, added getParFromID() function.
14806 * buffer.[Ch]: added const version for inset_iterator functions,
14807 added getInsetFromID() function.
14809 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14810 changed undo functions for new version.
14812 2001-07-05 Juergen Vigna <jug@sad.it>
14814 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14815 unknow mechanism does not call the proper constructor but only this
14816 one also if I request the other!?
14818 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14820 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14822 * text2.C (LyXText): use initialization lists.
14824 * lyxtext.h (Selection): initialize set_ and mark_
14825 (init): remove method
14827 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14829 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14831 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * screen.[Ch]: change method names to begin with lowercase
14835 * BufferView_pimpl.C (updateScrollbar): simplify further and
14836 hopefully make it a bit faster.
14838 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14841 calling directly xforms functions.
14843 * Painter.C (Painter):
14844 * lyx_cb.C (MenuWrite):
14845 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14848 * lyx_gui.C: remove bogus guiruntime extern declaration.
14850 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14852 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14854 (redoDrawingOfParagraph): ditto
14855 (redoParagraphs): ditto
14856 (cutSelection): don't create a object for CutAndPaste use the
14857 static method directly
14858 (pasteSelection): ditto
14860 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14863 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14865 * modifications to some other files because of this.
14867 * Makefile.am (lyx_SOURCES): add XFormsView
14869 * XFormsView.[Ch]: new files
14871 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14872 the main window. Move the gui dependent stuff to XFormsView
14874 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * tabular.C (GetCellInset): update cur_cell also in the row/col
14877 version of this function.
14879 * lyxfunc.C: no need to include figure_form.h here.
14885 * lyxvc.C: no need to include forms.h here.
14887 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14889 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14891 * lyxfunc.C (Dispatch):
14893 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14894 constructor argument.
14896 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14898 * paragraph.C (Paragraph): dont't clear, and just set layout.
14899 (makeSameLayout): use params's copy contructor.
14901 * ParagraphParameters.[Ch] (makeSame): delete method
14903 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14905 * Variables.[Ch]: fix indentation, rename set to isSet
14907 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14909 * lyxfunc.C (Dispatch): fix typo
14911 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14913 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14916 * bufferlist.C: include assert.h for emergencyWrite().
14918 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14920 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14921 give up at last (bug #425202) !
14923 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14929 * spellchecker.C: strip spellchecker options and bring up
14930 preferences tab instead
14932 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14934 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14935 the istringstream constructor
14937 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * paragraph.C (getLayout): fix return value
14941 * paragraph.h: do not declare getLayout as inline.
14943 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14945 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * lyxcursor.h (operator<): new func
14948 (operator>): new func
14949 (operator>=): new func
14950 (operator<=): new func
14952 * text.C (changeCase): use selection.start and selection.end
14953 (changeRegionCase): require from to be <= to. Require par to be a
14956 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14958 2001-06-27 Juergen Vigna <jug@sad.it>
14960 * text.C (cursorLeftOneWord): changed to return the cursor and added
14961 overlay with BufferView * parameter which calls this one.
14963 (selectWord): use new getWord function.
14964 (changeCase): renamed from changeWordCase as and extended to work
14965 also on selections.
14967 * lyxtext.h: added enum word_location
14969 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14970 changeCase as this operates now also on selections.
14972 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14974 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14976 * many files: send debug output to Debug::INFO instead of
14979 * converter.C (View):
14981 (Move): send debug output to Debug::FILES instead of console.
14983 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14985 * lyxfunc.C (getStatus): use func_status
14987 * func_status.h: new header, describing the results of
14988 LyXFunc::getStatus;
14990 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14993 2001-06-25 The LyX Project <jug@sad.it>
14995 * buffer.C (sgmlOpenTag):
14997 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14999 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15001 * text2.C: remove some dead code
15003 * tabular.C (GetCellInset): store the last cell checked (gotten)
15005 * tabular.h: add the helper for the speedup
15007 * lyxtext.h: remove some dead code
15009 2001-06-26 The LyX Project <Asger>
15011 * paragraph.C: Change export to LaTeX of alignment to
15012 \begin{center} and family for better roundtrip work with reLyX.
15014 * Tune the math drawing a bit.
15016 2001-06-25 The LyX Project <Asger>
15018 * LColor.C (LColor): New color for math background. New color
15021 2001-06-25 The LyX Project <jug@sad.it>
15023 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15025 * lyxfunc.C (Open):
15026 * bufferlist.C (newFile): do not restrict to files ending with
15029 * BufferView_pimpl.C (MenuInsertLyXFile):
15031 2001-06-24 The LyX Project <jug@sad.it>
15033 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15036 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15038 * lyxtext.h: rename most methods to begin with a small char.
15039 Lots of changes because of this.
15041 * paragraph.C (Paragraph): do not call fitToSize
15042 (erase): call Pimpl::erase
15043 (insertChar): call Pimpl::insertChar
15044 (insertInset): call Pipl::insertInset
15045 (breakParagraph): do not call fitToSize
15046 (breakParagraphConservative): do not call fitToSize
15047 (fitToSize): remove method
15049 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15051 2001-06-24 The LyX Project <Asger>
15053 * Fix Qt compilation^2
15055 2001-06-24 The LyX Project <jug@sad.it>
15057 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15058 depthHook(getDepth()-1).
15061 * ParagraphParameters.h:
15062 * ParameterStruct.h: change type of depth to unsigned int ==
15063 depth_type. Many adaptations to other files before of that.
15065 2001-06-24 The LyX Project <Asger>
15067 * Fix Qt compilation.
15069 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15071 * paragraph.h: renamed several methods to begin with small letter.
15072 several changes to many parts of the code because of this.
15074 2001-06-23 The LyX Project <jug@sad.it>
15076 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15077 rewritten to discard all double spaces when KeepEmpty is off
15078 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15079 to only handle newlines but not fiddle with spaces and friends.
15081 * lyxfunc.C (MenuNew): when doing 'new from template', use
15082 template_path as default directory
15084 2001-06-23 The LyX Project <Asger>
15086 * Clean-up of header file includes all over
15087 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15089 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * paragraph.h: renamed from lyxparagraph.h
15093 2001-06-23 Asger <lyx@violet.home.sad.it>
15095 * Buffer.h: Removed Buffer::resize
15096 * BufferList.h: Removed BufferList::resize
15097 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15098 the document lazily when we change the width, or the font settings.
15100 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15102 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15104 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15106 * buffer.h: remove out of date comment
15108 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15111 * screen.C: fix "theoretical" GC leak
15113 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * LaTeX.C (scanAuxFile):
15116 (deplog): remove trailing \r when reading stream (useful under
15119 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15121 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15122 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15123 and BufferView::theLockingInset(Inset*), so should use them and not
15124 access bv_->text->the_locking_inset directly.
15126 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15128 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15131 * tex-defs.h: remove old unused file
15133 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15135 * BufferView_pimpl.C: fix typo, remove minibuffer message
15136 when buffer has loaded
15138 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15140 * lyxfunc.C (Dispatch): use stringstream
15141 (MenuNew): use stringstream
15142 (Open): use stringstream
15144 * importer.C (Import): use stringstream
15146 * bufferview_funcs.C (CurrentState): use stringstream
15148 * LaTeX.C (run): use stringstream
15150 * BufferView_pimpl.C (savePosition): use stringstream
15151 (restorePosition): use stringstream
15152 (MenuInsertLyXFile): use stringstream
15154 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15167 * vspace.C: removed // -*- C++ -*- as first line.
15170 * version.h: added // -*- C++ -*- as first line.
15172 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15174 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15176 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15179 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15181 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15184 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15186 * gettext.C: include LString.h even when --disable-nls is on.
15188 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15190 * converter.h (Get): changed argument type from int to
15191 FormatList::size_type to avoid unnecessary conversion.
15193 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15196 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15198 * gettext.h: include LString.h even when --disable-nls is on.
15200 2001-06-07 Juergen Vigna <jug@sad.it>
15202 * text.C (BreakAgain): subst spaces with tabs.
15204 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15205 (resizeInsetsLyXText): set force on resizeLyXText.
15207 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15209 * gettext.h (gettext_init):
15210 (locale_init): use a real definition instead of a macro
15212 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15214 * Bufferview_pimpl.C:
15216 * LColor.C: further lcolor tidies
15218 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15220 * BufferView_pimpl.C (updateScrollbar): simplify.
15222 * BufferView2.C: don't include insets/insetinfo.h, change
15223 prototype for insertInset and call the Pimpl version. let
15224 updateInset call Pimpl version.
15226 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15227 gotoInset to BufferView::Pimpl
15229 2001-06-01 Juergen Vigna <jug@sad.it>
15231 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15232 inside a LockingInset (is the update needed at all?).
15234 2001-05-31 Juergen Vigna <jug@sad.it>
15236 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15237 here not the old one otherwise how should we compare it afterwards
15240 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15245 * FontInfo.C: bring C functions into global namespace when
15248 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15250 * LString.h: make sure config.h has been loaded before LString.h.
15252 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15253 (one for each char read by EatLine!).
15255 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15258 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15261 to the same as the par we break from
15263 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15265 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15267 * MenuBackend.C (expand): also create menu entries for wide
15268 versions of the floats.
15270 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15272 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15274 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15275 frontends/Makefile.am
15281 * tabular.C (getTokenValue): add std::
15283 * tabular-old.C (getTokenValue): add std::
15284 (getTokenValue): ditto
15285 (getTokenValue): ditto
15287 * screen.C (ToggleSelection): adjust
15289 * lyxtext.h: put selection cursors inside a Selection struct.
15291 * lyxfunc.C (moveCursorUpdate): adjust
15293 * lyxfont.C (latexWriteStartChanges): add std::
15295 * lyxfind.C: adjust
15297 * font.h: delete with(char const *, LyXFont const &)
15299 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15301 * FontInfo.C (getFontname): add std::
15303 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15304 (workAreaButtonPress): adjust
15305 (tripleClick): adjust
15307 (moveCursorUpdate): adjust
15310 * BufferView2.C (gotoInset): adjust
15312 2001-05-30 Juergen Vigna <jug@sad.it>
15314 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15315 to check pspell I add this as default as I now have new pspell
15316 libraries and they seem to use this.
15318 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15320 * text2.C (CutSelection): make the cursor valid before the call to
15323 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15325 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15326 relied on 0 terminated strings and other horrors. Bug found due to
15327 the new assert in lyxstring!
15329 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15332 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15334 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15337 * lyxfunc.C (processKeySym): change method of getting to the
15340 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15341 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15342 * BufferView_pimpl.[Ch]: here as private methods.
15344 2001-05-28 Juergen Vigna <jug@sad.it>
15346 * text.C (SetHeightOfRow): added the update() call again as it is
15347 needed to initialize inset dimensions!
15349 2001-05-16 Juergen Vigna <jug@sad.it>
15351 * text2.C (SetCharFont): Add new function with BufferView * and
15352 bool toggleall parameters for setting insets internal fonts.
15353 (SetFont): Freeze the undo as we may change fonts in Insets and
15354 all this change should be inside only one Undo!
15356 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15357 setting font's in insets as for them we have the SetFont function!
15359 2001-05-15 Juergen Vigna <jug@sad.it>
15361 * text2.C (ClearSelection): to be sure we REALLY don't have any
15364 * tabular.C (TeXCellPreamble): fixed the left border problem for
15367 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15369 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15372 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15374 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15375 LFUN_BREAKPARAGRAPH.
15377 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15378 help test to "internal only", similar for LFUN_INSERT_URL
15380 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15381 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15382 auto_region_delete and deadkeys.
15384 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15387 * LColor.C: remove some dead entries, tidy a little
15389 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15391 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15393 (Dispatch): implement LFUN_ESCAPE
15395 * commandtags.h: add LFUN_ESCAPE
15397 * LyXAction.C (init): add entry for LFUN_ESCAPE
15399 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15400 Remove commented code.
15401 (insertNote): moved here
15402 (open_new_inset): moved here
15404 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15407 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15409 * kbmap.C (findbinding): clean it up and make it work correctly.
15411 * lyx_main.C (init): do not pass argc and argv as parameters
15413 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15415 * buffer.C: fix path for OS/2 & Win32
15419 * lyx_main.C: Added os:: class.
15421 * os2_defines.h: update
15423 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15425 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15426 better by trying again with reduced state.
15428 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15430 * lyxrc.C (read): print error about invalid key sequence only when
15431 debugging (because not all latinX keysyms are known to some X
15434 * kbsequence.C (getiso): add a few std:: qualifiers
15435 (getiso): comment out extra return statement.
15437 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15441 (Dispatch): enhance the accent inset a bit. (not perfect)
15443 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15445 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15447 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * bufferlist.C (emergencyWrite): fix assert() call
15451 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15453 * text.C (InsertChar): Added trivial patch to only send the "you
15454 can not do multiple spaces this way" message once during a
15457 2001-05-08 Baruch Even <baruch@lyx.org>
15459 * Makefile.am: Changed order of libraries to get LyX to link properly
15460 with the gnome frontend.
15462 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15464 * LaTeXFeatures.h: add a std:: qualifier
15466 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15468 * paragraph.C (String): use stringstream
15470 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15472 * paragraph.C (writeFile): remove footflag arg
15474 * buffer.C (makeLaTeXFile): use stringstream
15475 (latexParagraphs): remove footnot gurba
15477 * LaTeXFeatures.C (getPackages): use stringstream
15478 (getMacros): likewise
15479 (getTClassPreamble): likewise
15480 (getFloatDefinitions): new method
15482 * paragraph.C (writeFile): reindent
15485 * WorkArea.h: revert the xpos + etc changes.
15487 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15489 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15491 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15492 (pasteSelection): likewise
15493 * text2.C (CreateUndo): likewise
15495 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15497 * minibuffer.C (peek_event): temporarily reduce the functionality
15498 of the minibuffer (to allow args on lfuns)
15500 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15501 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15503 * buffer.C (readInset): add compability reading of old float
15504 lists, add reading of new style float list.
15505 (readInset): avoid reevaluation of inscmd.getCmdName()
15506 (getLists): reindent
15508 * MenuBackend.C (MenuItem): implement parsing of
15509 md_floatlistinsert and md_floatinsert.
15510 (expand::LastFiles): move initalizaton of iterators out of loop,
15511 avoid reevaluation.
15512 (expand::Documents): introduce typdedef vector<string> Strings,
15514 (expand::ExportFormats): introduce typedef vector<Format const *>
15515 Formats, and use it.
15516 (expand): implement FloatListInsert and FloatInsert.
15518 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15519 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15520 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15522 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15524 (Dispatch::LFUN_FLOAT_LIST): implement
15526 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15528 * LaTeX.C (run): Fix problem with --export code.
15530 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15532 * BufferView.[Ch] (workarea): removed.
15533 (getClipboard) new method; wrapper for workarea()->getClipboard()
15535 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15538 * WorkArea.h (width, height, xpos, ypos): These methods all
15539 returned the dimensions of the work_area sub-area of WorkArea,
15540 resulting in a position error if the WorkArea were resized. Now
15541 return the dimensions of the entire WorkArea.
15543 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15545 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15547 * LaTeX.C (deplog): correct the syntax of regex reg1
15549 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15551 * undo.C: remove !NEW_INSETS cruft
15553 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15555 * text2.C: remove !NEW_INSETS cruft
15557 * text.C: remove !NEW_INSETS cruft
15559 * tabular.C: remove !NEW_INSETS cruft
15561 * spellchecker.C: remove !NEW_INSETS cruft
15563 * lyxtext.h: remove !NEW_INSETS cruft
15565 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15567 * lyxfunc.C: remove !NEW_INSETS cruft
15569 * lyxfind.C: remove !NEW_INSETS cruft
15571 * lyx_cb.C: remove !NEW_INSETS cruft
15573 * figureForm.C: remove !NEW_INSETS cruft
15575 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15577 * buffer.[Ch]: remove !NEW_INSETS cruft
15579 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15581 * CutAndPaste.C: remove !NEW_INSETS cruft
15583 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15585 * BufferView2.C: remove !NEW_INSETS cruft
15587 * BufferView.h: remove !NEW_INSETS cruft
15589 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * Lsstream.h: include LString.h before the sstream headers to
15592 fix problem with gcc 2.95.3 and lyxstring
15594 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * lyx_main.C: add using directives when needed for C functions
15597 declared in std:: namespace.
15599 2001-04-27 Juergen Vigna <jug@sad.it>
15601 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15602 (SetHeightOfRow): comment out the update call should not be needed!
15604 2001-04-13 Juergen Vigna <jug@sad.it>
15606 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15607 (LyXTabular): tried to minimize operator= operations (and realized
15608 hopfully Lars wish).
15610 2001-04-27 Juergen Vigna <jug@sad.it>
15612 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15614 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15616 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15618 * buffer.C (readInset): hack to make listof algorithm work
15620 * BufferView_pimpl.C: hack to make listof algorithm work
15622 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15624 * LyXAction.C: removed all !NEW_INSETS cruft
15625 (init): moved lfun_item in method
15627 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15629 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15631 * BufferView2.C (theLockingInset): white space.
15633 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15635 * minibuffer.C: include <iostream>
15637 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15639 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15641 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15643 * text.[Ch] (TransposeChars): new method
15645 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15647 * call message directly through LyXView instead of through LyXFunc
15648 * BufferView2.C: adjust
15649 * BufferView_pimpl.C: adjust
15650 * FontLoader.C: adjust
15652 * bufferview_funcs.C: adjust
15653 * converter.C: adjust
15654 * figureForm.C: adjust
15655 * importer.C: adjust
15657 * lyx_gui_misc.C: adjust
15658 * lyxfunc.C: adjust
15661 + more files in subdirs
15663 * lyxparagraph.h (size): move up int file
15666 * adjust all uses of Assert to lyx::Assert.
15668 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15669 lyxfunctional in namespace lyx
15670 * layout.C (hasLayout): ditto
15673 (delete_layout): ditto
15674 (NumberOfClass): ditto
15675 * converter.C (GetFormat): ditto
15680 * bufferlist.C (getFileNames): ditto
15681 (emergencyWriteAll): ditto
15684 * MenuBackend.C (hasSubmenu): ditto
15687 * BufferView_pimpl.C (getInsetByCode): ditto
15689 2001-04-18 Juergen Vigna <jug@sad.it>
15691 * vspace.C (asLatexString): fixed the 100% problem.
15693 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15695 * lyxfunc.C (Dispatch):
15697 * minibuffer.h: add a few std:: qualifiers
15699 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15701 * minibuffer.[Ch]: reimplement so that commands is initiated and
15702 run from lyxfunc, simplified som handling, and made the completion
15703 and history code for complete. wip.
15705 * lyxfunc.C (processKeySym): call message
15706 (miniDispatch): new temporary method
15707 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15708 (LFUN_MESSAGE): implement
15709 (LFUN_MESSAGE_PUSH): implement
15710 (LFUN_MESSAGE_POP): implement
15711 (initMiniBuffer): the initial/defualt minibuffer message.
15713 * lyxfont.[Ch]: inline some more getters
15715 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15717 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15719 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15720 (AutoSave): use LFUN_MESSAGE
15721 (Reconfigure): ditto
15723 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15725 * figureForm.C: use LFUN_MESSAGE
15727 * converter.C (runLaTeX): use LFUN_MESSAGE
15729 * bufferview_funcs.C: use LFUN_MESSAGE
15731 (changeDepth): ditto
15733 * bufferparams.h: use boost::
15735 * bufferlist.h: inherit privately from noncopyable
15737 * bufferlist.C (loadLyXFile): remove some commented code.
15739 * buffer.C (runChktex): use LFUN_MESSAGE
15741 * ShareContainer.h: inherit privately from noncopyable
15743 * ParagraphParameters.[hC] (depth): inline it.
15745 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15747 (message): new method
15748 (messagePush): ditto
15749 (messagePop): ditto
15750 (show): init minibuffer
15751 (showState): direct call
15753 * LaTeX.[Ch]: inherit privately from noncopyable
15754 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15755 instead of WriteStatus.
15757 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15759 * BufferView_pimpl.C (buffer): don't init minibuffer
15760 (workAreaButtonPress): use LFUN_MESSAGE
15761 (workAreaButtonRelease): ditto
15762 (savePosition): ditto
15763 (restorePosition): ditto
15764 (MenuInsertLyXFile): ditto
15765 (workAreaExpose): don't init minibuffer
15766 (update): remove commented code, simplify
15768 * BufferView2.C (openStuff): use LFUN_MESSAGE
15769 (toggleFloat): ditto
15772 (copyEnvironment): ditto
15773 (pasteEnvironment): ditto
15778 (updateInset): remove some commented code
15780 * lastfiles.h: inherit privately from noncopyable
15783 * lyx_main.h: ditto
15785 * lyxlex_pimpl.h: ditto
15787 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15788 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15789 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15791 * LyXAction.h: inherit privately from noncopyable, add methods
15792 func_begin, func_end, returning iterators to the func map.
15794 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15795 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15796 (func_begin): new method
15797 (func_end): new method
15799 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15801 (copySelection): ditto
15802 (pasteSelection): ditto
15804 * BufferView.C: whitespace change
15805 * BufferView.h: inherit privately from noncopyable
15807 2001-04-16 Allan Rae <rae@lyx.org>
15809 * tabular-old.C (l_getline):
15810 * spellchecker.C (sc_check_word):
15811 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15812 an unrecognised preprocessor directive. So ensure they're wrapped.
15814 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15816 * src/exporter.C (Export): Give an error message when path to file
15819 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15821 * LaTeX.C (deplog): Always check that foundfile exists.
15823 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15828 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15830 * tabular.[Ch] (getLabelList): implement new method
15832 * minibuffer.h: comment ouf setTiimer
15834 * minibuffer.C (ExecutingCB): constify res
15835 (peek_event): constify s
15836 (Set): constify ntext
15837 (Init): constify nicename
15839 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15841 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15842 (savePosition): use two params to Minibuffer::Set
15843 (restorePosition): ditto
15845 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15847 * lyx_main.C: include language.h
15849 * Makefile.am (lyx_main.o): add language.h
15851 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15857 * CutAndPaste.C: include gettext.h
15859 * lyxfont.h: remove old hack with ON and OFF.
15862 * lyxfont.h: do not include language.h...
15867 * bufferview_funcs.C:
15873 * paragraph.C: ... but do it here instead
15875 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15877 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15879 * tabular.C: small reformat
15881 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15884 (BreakParagraph): ditto
15885 (SetOnlyLayout): ditto
15888 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15891 * lastfiles.C: removed most using decl, add std:: where needed
15893 * buffer.C: ws changes
15895 * MenuBackend.C (class compare_format): put into anon namespace
15896 (expand): constify label, names, action, action2
15899 * text.C (SingleWidth): constify font
15900 (IsBoundary): constify rtl2
15901 (GetVisibleRow): constify ww
15903 * LaTeX.C (deplog): constify logfile
15905 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15907 (workAreaExpose): constify widthChange, heightChange
15909 * lyxrow.C (par): moved
15912 * lyxrow.h: as inlines here
15914 * lyxfont.h (shape): moved from lyxfont.C
15915 (emph): moved from lyxfont.C
15917 * lyxfont.C (LyXFont): use initialization list for all
15919 (shape): move to lyxfont.h as inline
15920 (emph): move to lyxfont.h as inline
15923 2001-04-04 Juergen Vigna <jug@sad.it>
15925 * vspace.C: had to include stdio.h for use of sscanf
15927 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15930 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15931 independent of xforms.
15933 2001-04-02 Juergen Vigna <jug@sad.it>
15935 * spellchecker.C: fixed namespace placing!
15937 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15939 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15940 the LyXParagraph * is 0.
15942 2001-03-29 Juergen Vigna <jug@sad.it>
15944 * vspace.C: added support for %, c%, p%, l%.
15945 (stringFromUnit): added helper function.
15946 (asLatexString): changed to give right results for the %-values.
15948 * buffer.C: convert the widthp in a width%.
15950 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15952 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15955 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15956 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15958 * lyx_cb.[Ch]: see above.
15960 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15964 * lyx.[Ch]: replaced by figure_form.[Ch].
15968 * lyxfunc.C: changed headers associated with above changes.
15970 2001-03-27 Juergen Vigna <jug@sad.it>
15972 * BufferView_pimpl.C: set the temporary cursor right!
15974 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15976 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15978 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15980 * LString.h: removed "using std::getline"!
15982 * BufferView_pimpl.C (Dispatch): changes due to changes in
15983 InsetInclude::Params.
15985 * buffer.C (tag_name): removed redundant break statements as they were
15986 producing lots of warnings with my compiler.
15988 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15990 * LString.h: add "using std::getline" when using the real <string>.
15992 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15994 * buffer.C: removed bitset usage.
15995 PAR_TAG moved to an anonymous name space.
15996 (tag_name): new funtion, also in the anonymous namespace.
15997 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15998 (makeDocBookFile): clean code. Completed transition from string arrays
16000 (SimpleDocBookOnePar): code clean.
16002 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16004 * tabular.C: add some comments.
16006 2001-03-22 Juergen Vigna <jug@sad.it>
16008 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16009 compatibility read a bit and fixed bug with minipage in different
16012 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16014 * buffer.C (pop_tag): removed.
16015 (push_tag): removed.
16016 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16017 array replaced with vector. Added support for CDATA sections.
16018 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16020 (makeDocBookFile): XML conformant declaration of CDATA section,
16021 fixed bug related to <emphasis> in the first paragraph char.
16022 (sgmlOpenTag): exclude empty tags.
16023 (sgmlCloseTag): ditto.
16025 * buffer.h (pop_tag): removed.
16026 (push_tag): removed.
16028 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16030 * language.h (Languages): added size_type and size().
16032 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16034 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16035 response on compability reading of minipages. One probliem is that
16036 the old usage of minipages was «flertydig»
16038 * several files here and in subdirs: don't use static at file
16039 scope use anon namespaces instead.
16041 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16043 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16044 LaTeX output. This is necessary for Literate document
16047 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16049 * buffer.C: insert hfill when needed.
16051 * tabular.C (l_getline): use string::erase, small whitespace change.
16053 * BufferView_pimpl.C: try the anon namespace.
16054 * WorkArea.C: ditto
16056 2001-03-16 Juergen Vigna <jug@sad.it>
16058 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16059 otherwise it won't open options-dialogs.
16061 * buffer.C: honor pextraWidth(p) on converting minipages.
16063 * tabular.C (l_getline): changed the functions to strip trailing \r.
16065 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16067 * BufferView_pimpl.C:
16068 * minibuffer..C: added "using SigC::slot" declaration.
16070 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16072 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16078 * paragraph.C: ditto
16080 * lyxtext.h: NO_PEXTRA
16082 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16084 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16085 * ParameterStruct.h: ditto
16086 * ParagraphParameters.h: ditto
16087 * lyxparagraph.h: ditto
16089 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16091 * buffer.C: add compability for minipage alignment.
16092 (latexParagraphs): remove unwanted pextra check.
16094 * several files: remove CXX_WORKING_NAMESPACES
16096 * buffer.C (pop_tag): tie is in namespace boost
16098 * BufferView.h: noncopyable is in namespace boost
16100 * lyx_main.h: ditto
16103 * lastfiles.h: ditto
16104 * bufferlist.h: ditto
16105 * ShareContainer.h: ditto
16107 * LyXAction.h: ditto
16110 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16112 * Merging changes from BRANCH_MVC back into HEAD.
16114 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16116 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16118 * BufferView_pimpl.C: change from intl.C
16122 * Makefile.am: move combox.*
16128 * intl.C: remove dialog (covered by prefs)
16130 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16132 * lyxfunc.C (Dispatch): removed redundant break statement.
16134 2001-03-14 Juergen Vigna <jug@sad.it>
16136 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16138 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16140 * buffer.C: add hack to fix compability reading of minipages.
16142 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16144 * buffer.C (getLists): Cleanup.
16146 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16148 * lyxfont.C (update): don't honor toggleall on font size.
16150 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16154 * Makefile.am: moved to frontends/xforms/
16158 * BufferView_pimpl.C: changes for moved mathpanel
16160 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16162 * gettext.h: fix gettext_init() in --disable-nls
16164 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16166 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16168 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16171 * lyx.h: strip external form
16173 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16175 * BufferView_pimpl.C: add comment, destroySplash()
16177 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16179 * BufferView_pimpl.C:
16183 * lyxfunc.C: use re-worked insetinclude
16185 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16187 * buffer.C: add using std::stringstream.
16189 * lyx_cb.C: readd using std::ios.
16191 * buffer.C: add using std::map.
16193 * BufferView_pimpl.C: add using std::vector.
16195 * ShareContainer.h: add std:: to swap.
16197 * buffer.h: add some typedefs
16198 * buffer.C (getLists): use them
16199 (getLists): renamed from getTocList.
16200 add a counter for the different float types and use it in the
16202 (getLists): use the same counter for the NEW_INSETS and the "non"
16205 * lyx_cb.h: remove unused items, includes, using etc.
16207 * ShareContainer.h: remove some commented code, add more comments
16208 and "documentation".
16210 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16212 * buffer.C (getTocList): make the list also when NEW_INSETS is
16215 * buffer.h: remove TocType
16217 * buffer.C (getTocList): change to return a map<string,
16218 vector<TocItem> >, implement for dynamic number of list.
16220 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16221 * text2.C (PasteSelection): adjust
16222 * CutAndPaste.C (pasteSelection): adjust
16224 * FloatList.C (FloatList): update from the new_insets branch.
16225 * Floating.[Ch]: ditto
16226 * LaTeXFeatures.C: ditto
16228 * lyxlex_pimpl.C: ditto
16230 * paragraph.C (Last): remove when NEW_INSETS is defined.
16232 * other file: changes because of the above.
16234 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16236 * lyxparagraph.h: rename next to next_, previous to previous_,
16237 make them private for NEW_INSETS. Rename Next() to next(),
16238 Previous() to previous().
16240 * other files: changes because of the above.
16242 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16245 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16248 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * main.C (main): pass lyx_localedir to gettext_init().
16252 * gettext.h: remove locale_init and gettext_init macros
16254 * gettext.C (locale_init): new function
16255 (gettext_init): new function
16257 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16260 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16262 * Moved credits to frontends:
16263 * credits.[Ch]: removed
16264 * credits_form.[Ch]: removed
16265 * lyx_gui_misc.C: remove credits stuff
16268 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16270 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16272 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16273 unneeded destructor.
16275 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16276 a standalone pointer again.
16278 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16280 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16286 * ToolbarDefaults.C:
16295 * BufferView_pimpl.C: use new file dialog in GUII
16298 * lyx_cb.C: remove LayoutsCB to Toolbar
16300 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * ShareContainer.h (get): add std:: qualifier
16304 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * ShareContainer.h: define a proper ShareContainer::value_type
16307 type (and use typename to please compaq cxx)
16309 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16311 * lyxparagraph.h: move serveral local vars to
16312 ParameterStruct/ParagraphParameters., use ShareContainer in
16313 FontTable., make vars in FontTable private and add getter and
16316 * paragraph.C: changes because of the above.
16318 * lyxfont.h: remove copy constructor and copy assignment. (the
16319 default ones is ok), move number inside FontBits. move inlines to
16322 * lyxfont.C: add number to initializaton of statics, move several
16323 inlines here. constify several local vars. some whitespace
16324 cleanup. Dont hide outerscope variables.
16326 * Spacing.h: add two new constructors to match the set methods.
16328 * ShareContainer.h: new file, will perhaps be moved to support
16330 * ParameterStruct.h: new file
16332 * ParagraphParameters.h: new file
16334 * ParagraphParameters.C: new file
16336 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16337 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16339 * BufferView_pimpl.C: ParagraphParameter changes.
16340 * buffer.C: Likewise.
16341 * bufferview_funcs.C: Likewise.
16342 * text.C: Likewise.
16343 * text2.C: Likewise.
16345 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16347 * lyxfind.C (LyXReplace): do not redefine default argument in
16349 (IsStringInText): ditto
16350 (SearchForward): ditto
16351 (SearchBackward): ditto
16353 2001-03-06 Juergen Vigna <jug@sad.it>
16355 * lyxfind.C (IsStringInText): put parentes around expressions.
16357 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16359 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16361 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16363 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16365 * stl_string_fwd.h: add comment
16367 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16370 * tabular.C: remove unused DocBook methods
16376 killed DO_USE_DEFAULT_LANGUAGE
16378 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16380 * lyx_gui.C: do not include language.h.
16382 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16383 arguments in function implementation.
16385 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16387 * BufferView_pimpl.C: add <ctime>
16389 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16391 * BufferView_pimpl.C: add using std::find_if
16393 2001-02-27 José Matos <jamatos@fep.up.pt>
16395 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16398 2001-02-11 José Matos <jamatos@fep.up.pt>
16400 * buffer.C (makeDocBookFile): command styles now have a parameter as
16401 "title" by default.
16403 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16405 * layout_forms.[Ch]: removed
16406 * lyx_cb.[Ch]: out character
16407 * lyx_gui.C: out character
16408 * lyx_gui_misc.C: out character
16409 * bufferview_funcs.C: : out character,
16410 added toggleall as parameter in ToggleAndShow
16412 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16414 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16416 * text2.C (SetCurrentFont): Disable number property at boundary.
16418 2001-02-26 Juergen Vigna <jug@sad.it>
16420 * lyxfunc.C (getStatus): added a string argument override function so
16421 that this is correctly called from LyXFunc::Dispatch if it contains a
16422 do_not_use_argument which is used!
16423 (Dispatch): added check for "custom" export and call appropriate func.
16425 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16427 * lyxrc.C: Add language_command_local, language_use_babel and
16428 language_global_options.
16430 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16432 * buffer.C (makeLaTeXFile): Use language_use_babel and
16433 language_global_options.
16435 2001-02-23 Juergen Vigna <jug@sad.it>
16437 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16438 which works with LyXText and putted it inside BufferView. Here now we
16439 only call for that part the BufferView::Dispatch() function.
16441 * BufferView.C (Dispatch): added.
16443 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16444 functions which needs to use a LyXText over from LyXFunc.
16445 (MenuInsertLyXFile): added
16446 (getInsetByCode): added
16447 (moveCursorUpdate): added
16448 (static TEXT): added
16450 2001-02-22 Juergen Vigna <jug@sad.it>
16452 * BufferView_pimpl.C (update): call a status update to see if LyXText
16455 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16457 * vc-backend.C (revert): implement for CVS
16458 (getLog): implement for CVS
16460 2001-02-20 Juergen Vigna <jug@sad.it>
16462 * text2.C (ClearSelection): added BufferView param for inset_owner call
16464 * lyxfunc.C (TEXT): added this function and use it instead of
16465 directly owner->view()-text of getLyXText().
16467 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16469 * src/layout_forms.C: out preamble
16470 * src/layout_forms.h: out preamble
16471 * src/lyx_cb.C: out preamble
16472 * src/lyx_cb.h: out preamble
16473 * src/lyx_gui.C: out preamble
16474 * src/lyx_gui_misc.C: out preamble
16475 * src/lyxfunc.C: connect with guii preamble
16477 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16479 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16481 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16483 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16484 whether to run bibtex.
16486 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16488 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16490 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16492 * Makefile.am (lyx_SOURCES): removed bibforms.h
16494 * vspace.h: doxygen
16496 * text.C (GetVisibleRow): make several local vars const
16498 * tabular.C: small cleanup.
16500 * lyxserver.C (callback): use compare instead of strncmp
16502 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16503 inlines to after class or to paragraph.C
16505 * lyxfont.h: remove friend operator!=
16507 * converter.h: move friend bool operator< to non friend and after
16510 * combox.h: small cleanup
16512 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16513 to inlines after class def.
16515 * buffer.C (pop_tag): use string operations instead of strcmp
16517 * bmtable.c: doxygen, small cleanup
16519 * LaTeX.h: remove friend operator==
16521 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16533 * BufferView_pimpl.C:
16534 * BufferView.[Ch]: remove cruft
16536 2001-02-14 Juergen Vigna <jug@sad.it>
16538 * lyxfunc.C: removed #if 0 unused code
16540 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16542 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16544 * text2.C (SetSelection): added a BufferView * parameter
16546 2001-02-13 Juergen Vigna <jug@sad.it>
16548 * lyxfunc.C (Dispatch): fixed protected blank problem.
16549 * BufferView2.C (protectedBlank): added LyxText * parameter.
16551 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16552 (AppendColumn): same as above for column_info.
16554 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16555 (moveCursorUpdate): use a LyXText param for support of InsetText.
16557 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16558 (tripleClick): ditto
16560 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16562 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16564 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16566 * text2.C (SetSelection): set correct update status if inset_owner
16567 (ToggleFree): ditto
16569 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16571 * tabular.C: remove some commented code.
16573 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16575 * BufferView_pimpl.C: call hideSplash()
16577 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16580 * bibforms.h: remove
16583 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16584 add LFUN_CHILD_CREATE
16586 * counters.h: fix tiny typo
16591 * lyx.C: move splash to frontends/xforms/
16593 * lyx_gui_misc.C: move Include and Bibform to frontends
16595 * lyxvc.h: clarify comment
16597 * vspace.C: tiny housekeeping
16599 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16601 * text.C (PrepareToPrint): RTL Fix.
16603 * paragraph.C (GetUChar): New method.
16604 (String): Use GetUChar.
16606 * buffer.C (asciiParagraph): Use GetUChar.
16608 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16610 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16612 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16615 * buffer.C: rename to getLogName(), handle
16616 build log / latex log nicely
16618 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16621 * MenuBackend.h: remove support for reference menuitem type.
16623 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16625 * BufferView_pimpl.C: housekeeping
16626 * BufferView_pimpl.h:
16631 * minibuffer.h: move Timeout GUI-I
16633 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16635 * lyxrc.C (read): Update converters data-structures.
16637 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16639 * LaTeX.h (operator!=): add operator != for Aux_Info
16641 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16643 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16645 * LaTeXLog.C: deleted, useful code moved to Buffer
16648 * buffer.C: new function getLatexLogName()
16654 * lyxfunc.C: use frontends for LaTeX and VC logs
16656 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16658 * LaTeX.h: yet another std:: that Allan forgot.
16660 * Variables.C (set): renamed from isset(), because this clashes
16661 with some HP-UX macros (grr).
16663 2001-02-06 Allan Rae <rae@lyx.org>
16665 * LaTeX.h: Another bug fix. Missing std:: this time.
16667 2001-02-04 Allan Rae <rae@lyx.org>
16669 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16670 floats problem. I've left it commented out because it's not quite
16671 correct. It should also test that the current object is a table or
16672 figure inset. But I haven't gotten around to figuring out how to do
16673 that. I *think* it'll be something like: "table" == inset.type()
16675 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16678 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16680 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16681 all the citation/databases/styles in the auxilary file.
16682 (run): Rerun latex if there was a babel language error.
16684 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16686 * text.C (Backspace): Preserve the font when changing newline char
16688 (BreakParagraph): If the cursor is before a space, delete the space.
16690 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16692 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16694 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16695 new argument (code).
16696 (ChangeCitationsIfUnique): New method.
16698 * paragraph.C (GetPositionOfInset): Handle bibkey.
16700 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16702 * BufferView_pimpl.h: change type of Position::par_pos to
16703 LyXParagraph::size_type.
16705 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16707 * BufferView_pimpl.C (savePosition, restorePosition): Write
16708 messages to minibuffer.
16710 2001-01-28 José Matos <jamatos@fep.up.pt>
16712 * buffer.C (makeDocBookFile): adds support for document language.
16713 A silly restriction on the name of LatexCommand types where removed.
16714 Added support for CDATA sections, allows to chars unescaped, used
16715 among others in code, to avoid escape < and >.
16717 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16719 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16720 saved positions instrad of a stack. Furthermore, a position is
16721 stored using paragraph id/paragraph position.
16723 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16724 Remove LFUN_REF_BACK.
16726 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16728 * converter.C (dvipdfm_options): New method.
16730 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16732 * vspace.C (isValidLength): Fix for empty input string.
16734 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16736 * LyXAction.C (init): change description of LFUN_FIGURE to
16739 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16741 * LaTeX.C: add using directive
16743 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16745 * MenuBackend.C (expand): Fix the sorting of the formats.
16747 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16749 * lyx_main.C: tiny error message fix
16751 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16754 calling fl_initialize(). This fixes the problem with ',' as
16755 decimal separator in text files.
16757 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16759 * trans.C (process): Fix the keymap bug.
16761 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16763 * LaTeX.C (scanAuxFiles): New method. Provides support for
16764 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16765 (scanLogFile) Scan for "run BibTeX" messages.
16767 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16768 OT1 font encoding. Also, load the aecompl package if the ae
16771 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16773 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16775 * texrow.C (increasePos): turn two error messages into debug
16778 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16780 * LaTeX.C (scanAux): Handle the \@input macro.
16781 (runBibTeX): Use scanAux().
16783 * language.C (latex_options_): New field.
16785 * LaTeXFeatures.C (getMacros): Add language macros.
16787 * buffer.C (makeLaTeXFile): Small fix.
16789 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16791 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16793 * text2.C: add a using directive.
16795 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16800 * lyxfunc.C: kill LyXBell.
16802 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16804 * text.C (IsBoundary): Remove the error message
16806 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16808 * lyxrc.C (setDefaults): Correct initialization value for
16811 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16813 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16816 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16817 and GotoNextNote().
16819 * src/LyXAction.C: Added reference-next.
16821 * text.C (InsertChar): Use contains instead of strchr.
16823 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16825 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16827 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16828 alignment commands (when needed).
16830 * text.C (InsertChar): Add ':' to number separator chars.