1 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * everywhere: change support/tostr.h -> support/convert.h
5 * tabular.C: make all write_attributes templates, tostr -> convert
7 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
8 (emptyTag): and -> &&, and fix type for ret from getChar
9 (getFirstWord): fix type for ret from getChar
11 (simpleDocBookOnePar): and not -> && !, fix type for ret from
14 * toc.C (goTo, action):
16 * text.C (currentState):
17 * tex-accent.C (DoAccent):
20 * lyxfunc.C (menuNew):
21 * lyxfinc.C (replace):
22 * counters.C (laberItem):
23 * bufferview_funcs.C (font2string):
24 * bufferparams.C (writeFile):
25 * buffer.C (readFile):
27 * MenuBackend.C: tostr -> convert
29 * LaTeX.C (runMessage): fix format
30 (scanAuxFiles): tostr -> convert
32 * BufferView_pimpl.C (savePosition): fix format
33 (restorePosition): ditto
36 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
38 * Spacing.[Ch]: New method getValueAsString().
42 * ParagraphParameters.C:
45 * text3.C: store/read spacing value as string.
47 * rowpainter.C: change float value (spacing_val) to double.
49 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
50 broken custom document spacing).
52 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
54 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
55 namespace, also more use of temp references and const
57 * cursor.[Ch] (getStatus): move to lyxfunc.C
59 * bufferparams.C: reformat slightly
61 * bufferview_funcs.C (font2string): constify arg
67 * buffer_funcs.C: (many funcs): constify arg on function
68 definitions, also make more local vars const, also add ASSERTS on
71 * buffer.C (LYX_FORMAT): put const in correct place
72 (many funcs): constify arg on function definitions, also make
75 * aspell_local.h: remove "struct" from typdef setup
77 * aspell.C (check): make word_ok const
78 (nextMiss): simplify slightly
81 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
83 * lyxrc.[Ch]: store all float values as strings.
84 use int (not float) for lyxrc.dpi.
86 2005-01-04 Angus Leeming <leeming@lyx.org>
88 * lyx_cb.C (Reconfigure):
89 * lyx_main.C (queryUserLyXDir):
90 to run the <system_lyxdir>/configure correctly on Windows, prefix
91 the path to the script with "sh " when generating the string that
92 is passed to system().
94 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
96 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
98 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * lyxlength.C (asLatexString): get rid of setprecision
102 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * text2.C (setLayout): remove unused variable endpit.
105 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
107 * paragraph.C (onlyText): remove unused variable style.
109 * cursor.C (bruteFind): remove unused variables beg and end.
111 * Makefile.am (dist_noinset_DATA): not needed anymore
113 * cheaders/*: remove.
115 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
117 * text3.C: fix LFUN_MATH_MODE.
119 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * buffer_funcs.C (countWords): new function. Counts words between
124 * BufferView_pimpl.C (getStatus, dispatch): handle
127 * LyXAction.C (init):
128 * lfuns.h: add LFUN_WORDS_COUNT.
130 2004-12-19 Angus Leeming <leeming@lyx.org>
132 * buffer.C (save): s/slashify_path/internal_path/.
134 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
136 * lyxfind.C (findChange): do not search for end of pars, because
137 the change tracker cannot handle this (fixes bug 1719).
139 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
141 * paragraph.[Ch] (autoBreakRows): remove
143 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
145 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
146 avoid using the paragraph one
148 * text2.C (LyXText, insertStringAsLines): adjust
150 2004-12-16 Angus Leeming <leeming@lyx.org>
154 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
156 2004-12-14 Angus Leeming <leeming@lyx.org>
158 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
160 * bufferlist.C (emergencyWrite):
161 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
164 2004-12-14 Angus Leeming <leeming@lyx.org>
166 * main.C: (main): no longer pass pointers to os::init.
168 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
170 * undo.C (textUndoOrRedo): simplify logic, fix a crash
171 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
173 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
176 * text3.C: remove selection_possible global flag
178 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
180 * text2.C (getSelectionSpan): remove
181 (changeDepth, changeDepthAllowed): adjust
183 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
185 * Makefile.am (BOOST_LIBS): use boost variables
187 2004-12-03 José Matos <jamatos@lyx.org>
189 * buffer.C: format up to 238.
191 2004-12-03 José Matos <jamatos@lyx.org>
193 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
195 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
197 * cursor.C (goUpDown): remove call to idxUpDown2
199 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
201 * tabular.[Ch]: use size_t-like types for cell, row and column
204 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * lyxfunc.C (getStatus): do not lose previous information when
207 calling BufferView::getStatus; do not set a default "Command
208 disabled" message at the beginning, but just before returning.
210 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * cursor.h (getStatus): add better comment from src/cursor.C
214 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * text3.C (getStatus): return false when the lfun is not handled
218 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * broken_headers.h: remove
222 * Makefile.am (lyx_SOURCES): remove broken_headers.h
224 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
226 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
229 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
230 top_y_, merge fitcursor with update
231 (updateScrollbar, scrollDocView, fitCursor, center, update): new
234 (workAreaDispatch): adapt to new coord scheme
235 (redoCurrentBuffer): remove
237 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
239 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
242 * coordcache.[Ch]: add paragraph cache and helpers
244 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
247 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
248 (targetX, setTargetX): introduce
250 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
251 baseline -> ascent, as the rest of lyx
253 * lyxtext.h: remove redoParagraphs, updateParPositions,
254 fullRebreak, redoParagraphInternal. move dist to anon namespace in
255 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
256 have ascent/descent (ascent is ascent of first par)
258 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
261 * paragraph.[Ch]: unify dimension handling with the rest of lyx
263 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
265 * pariterator.C: fix infinite loop introduced in par->pit renaming
267 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
268 in insets and LyXText, draw two off-screen paragraphs using
269 NullPainter, and adapt to new coord scheme
273 * text3.C: adapt lfun handlers to the new coord scheme, which
274 means: there's only guaranteed coord information for onscreen pars
275 plus one above and one below. This implies that one can do search
276 from y coordinates in the range [-1,workHeight]
278 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
280 * rename a lot of InsetOld to InsetBase
282 2004-11-25 Angus Leeming <leeming@lyx.org>
284 * BufferView_pimpl.C:
286 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
288 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
290 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
291 call BufferView::getStatus if LCursor::getStatus did nothing
292 (setStatusMessage, getStatusMessage): removed.
294 * FuncStatus.C (message): new methods. Used to provide an error
295 message indicating why a command is disabled.
296 (clear, |=, FuncStatus): update for message.
298 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
300 * lyxfunc.C (dispatch): always call sendDispatchMessage
302 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
305 * BufferView_pimpl.C:
319 * undo.C: par->pit renaming
321 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
323 * tabular.C (cellstruct): use initialization, store a shared_ptr
324 to insettext instead of the insettext directly, adjust to fit.
325 (operator=): new function
327 (rowstruct): use initialization
328 (columnstruct): use initialization
329 (ltType): use initialization
332 * lyxlength.h (swap): new function
334 * LColor.[Ch] (operator=): use the common semantics
336 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
338 * lyxfind.C (findNextChange): update the bufferview after setting
341 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
344 number of InsetOptArgs has already been inserted.
346 * output_latex.C (latexOptArgInsets): new method. This outputs all
347 the optarg insets, up to the limit defined in the layout file.
348 (optArgInset): removed
349 (TeXOnePar): call latexOptArgInsets; correctly update texrow
351 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
353 * paragraph.C (isLetter): remove special spellchecker-related
354 code; return true also for digits
355 (isWord, isKomma): remove
357 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
358 * lyxfind.C (MatchString()): use isLetter instead of isWord
360 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
362 * pariterator.h (operatir=): comment out un-implemented member
365 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
368 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
370 * lyxfont.h: include LColor.h to satisfy concept checks.
372 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * pariterator.h: add typdefs for value_type, difference_type,
375 pointer and reference to satisfy concept checks. Also add default
376 constructor for same reason.
378 * pariterator.C (operator++): add post-increment operator to
379 satisfy concept checks.
381 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
384 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
386 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
387 checks. Also rename base_type to BaseType to follow naming
390 * FloatList.h: include Floating.h to satisfy concept checks.
392 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
394 * lyxfunc.C (getStatus): when the origin of the request is menu or
395 toolbar, and the LyXView does not have focus, do as if there was
398 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
399 FuncRequest to individual entries of LFUN_SEQUENCE
401 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * output_latex.C (TeXOnePar): override runparams.moving_arg
404 according to the needprotect value of the current paragraph (bug
407 * paragraph.C (simpleTeXOnePar): no need to override
408 runparams.moving_args here
410 2004-11-14 John Spray <spray_john@users.sourceforge.net>
412 * vspace.C: fix off-by-one-error, related to fix #1682
414 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
416 * lengthcommon.C: a more general fix for bug 1682
418 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
420 * text.C (backspace): fix crash
422 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
424 * format.[Ch] (getFormatFromFile): new method
425 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
427 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
429 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
431 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
433 * lyxfunc.C (dispatch): remove the verbose argument
434 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
437 * kbmap.C (defkey): set the origin of func to KEYBOARD
439 * MenuBackend.C (MenuItem):
440 * ToolbarBackend.C (add): set the origin of func to UI
442 * funcrequest.[Ch]: add origin member, which indicates which part
443 of LyX requests an action
445 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
447 * converter.C (move): don't lie in the error message
448 * converter.h (isReachable, move): document
450 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
452 * buffer.C: remove unused using lyx::support::atoi
453 * paragraph_funcs.C: ditto
455 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
457 * bufferlist.C (exists): use bind and equal_to instead of
460 * lyxtextclasslist.C (NumberOfClass): ditto
462 * cursor.C (insert): use for_each instead of explicit for loop
464 * bufferlist.C (getFileNames): use std::transform and
465 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
467 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
470 * buffer.C (changeLanguage): use for_each instead of explicit for
472 (hasParWithID): implement using getParFromID
474 * LaTeXFeatures.C: ws change only
476 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
479 * BufferView_pimpl.C (trackChanges): use for_each instead of
482 2004-11-04 André Pönitz <poenitz@gmx.net>
485 * undo.C (textUndoOrRedo): fix crash when creating undo information.
487 * dociterator.C (asDocIterator): use hard assert again.
489 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * lyxlength.C (asLatexString): rewrite so that it does not use
494 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
496 * text3.C (specialChar, dispatch): make sure cursor moves to the
497 right after inserting an inset
499 2004-11-02 José Matos <jamatos@lyx.org>
501 * output_docbook.C (docbook):
502 * paragraph.C (getID):
503 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
504 garantee that the output is always legal.
506 * tabular.C (docbook):
507 * outputprams.[Ch]: remove mixed contents.
509 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * text2.C (setCounter): prevent endless loop
513 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
515 * exporter.C (copyFile): use the mover instead of support::copy()
516 * exporter.C (Export): pass format and latex name to copyFile()
517 * exporter.h (addExternalFile): document
518 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
520 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
522 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
524 2004-10-30 José Matos <jamatos@lyx.org>
526 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
527 text and no inset or font change. This allows to use CDATA
528 sections just for the whole paragraph.
530 2004-10-30 José Matos <jamatos@lyx.org>
532 * paragraph.C (getFirstWord): remove unused variable.
534 2004-10-30 José Matos <jamatos@lyx.org>
536 * paragraph.C (getFirstWord): the content should always be escaped
538 (simpleDocBookOnePar):
539 * output_docbook.C (makeEnvironment): replace reference to CDATA
542 2004-10-30 José Matos <jamatos@lyx.org>
544 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
546 2004-10-30 José Matos <jamatos@lyx.org>
548 * output_docbook.C (makeParagraphs):
549 * paragraph.[Ch] (emptyTag): for docbook and company, if the
550 standard paragraph has only a given type of content drop the wrapper.
552 2004-10-29 José Matos <jamatos@lyx.org>
554 * output_docbook.C (makeEnvironment):
556 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
558 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
560 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
561 (cleanID): sanitize any id.
563 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
565 * buffer.C, lyxlex_pimpl.C:
566 * lyxlex_pimpl.C (setFile):
567 s/getExtFromContents/getFormatFromContents/
569 2004-10-28 José Matos <jamatos@lyx.org>
571 * output_docbook.C (makeEnvironment): move id to broadest possible
574 * sgml.C (openTag): apply substitution of <> for all attributes.
576 2004-10-28 José Matos <jamatos@lyx.org>
578 * buffer.C (makeLinuxDocFile, makeDocBookFile):
579 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
580 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
582 * sgml.[Ch]: new version for open and closeTag for paragraph and
583 for strings. Now they handle the ids of paragraphs.
585 2004-10-26 Angus Leeming <leeming@lyx.org>
587 * Makefile.am: add mover.[Ch].
589 * converter.C (convert, move): use the new Movers to move external
590 files to the temp directory.
592 * lyx_main.C (init): ensure that the global system_movers data
595 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
598 * mover.[Ch]: new files, defining a Mover as a utility to move an
599 external file between directories and, if necessary, manipulate this
600 file using a helper script.
602 2004-10-25 José Matos <jamatos@lyx.org>
604 * output_docbook.C (makeCommand): merge two if's that tested the
607 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
609 * sgml.C (escapeString): fix warning in a better way
611 2004-10-25 José Matos <jamatos@lyx.org>
613 * sgml.C (escapeString): import the require boosts header file for
614 tie, and avoid a signed unsigned comparison.
616 2004-10-25 José Matos <jamatos@lyx.org>
618 * sgml.h: add #include <string>
620 2004-10-25 José Matos <jamatos@lyx.org>
622 * sgml.[Ch] (escapeString): new function to escape all the string.
624 2004-10-24 José Matos <jamatos@lyx.org>
626 * paragraph.[Ch] (getFirstWord): new function to get the first
627 word. Useful for description.
628 (simpleDocBookOnePar): remove depth argument, add another that
629 says where to start the paragraph.
631 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
632 use the new functions to fix cleanly the support for descriptions.
634 2004-10-24 José Matos <jamatos@lyx.org>
636 * buffer.C (makeLinuxDocFile, makeDocBookFile):
637 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
638 * output_linuxdoc.C (linuxdocParagraphs):
639 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
640 add buffer as argument.
642 2004-10-24 José Matos <jamatos@lyx.org>
644 * output_docbook.C (makeEnvironment, searchEnvironment): place
645 CDATA inside paragraphs and fix scope for listitems.
647 2004-10-24 José Matos <jamatos@lyx.org>
649 * output_docbook.C: remove using statement for stack.
651 2004-10-23 José Matos <jamatos@lyx.org>
653 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
654 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
655 docbook. The new scheme is recursive and makes use of iterators, the
656 same as latex export works.
657 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
658 directly with the paragraph contents. This code was moved up to
659 output_docbook.C (docbookParagraphs).
660 * sgml.C (openTag, closeTag): removed unneeded newlines.
661 (closeEnvTags) removed.
663 2004-10-23 André Pönitz <poenitz@gmx.net>
665 * undo.C (textUndoOrRedo):
666 * dociterator.C (asDocIterator): work around crash
668 * cursor.C (getStatus): replace ASSERT by more verbose error message
669 and manual correction of the problem. Should increase stability
670 while providing more sensible information.
672 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
674 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
676 * bufferlist.C (previous, next): new methods
679 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
681 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
683 * buffer.C (makeDocBookFile): add dsssl stylesheet control
684 entities to preamble.
686 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * messages.C (Pimpl): strip off translation context information
690 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
692 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
693 the cursor is correct (bug 1694)
695 2004-10-13 José Matos <jamatos@lyx.org>
697 * output_docbook.C (docbookParagraphs): fix closing tags in the
700 2004-10-09 José Matos <jamatos@lyx.org>
702 * buffer.C: format up to 237.
703 * bufferparams.C (write): use tostr to convert booleans to strings.
705 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
707 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
709 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
711 * LaTeX.C: implement use of babel language in xindy.
713 2004-10-05 José Matos <jamatos@lyx.org>
715 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
716 Add new translators to help reading and writing the lyx file.
718 2004-10-05 José Matos <jamatos@lyx.org>
720 * ParagraphParameters.C (read):
721 * text.C (readParToken): replace nexToken by more appropriate lex
724 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
726 * LaTeX.C (runMakeIndex):
727 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
728 (usually 'makeindex') configurable.
730 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
731 with a variable rather than with a number.
733 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * output_latex.C (TeXOnePar): make sure font setting is the first
736 thing that gets output (and the last at the end). Should fix bug
739 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
741 * pch.h: use proper signal include
743 * LaTeX.h: Use preferred calling of Boost.Signal
746 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
748 * pch.h: dont include <boost/function/function0.hpp>
750 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
752 * paragraph_pimpl.h: remove usage of ShareContainer
754 * paragraph_pimpl.C: remove initialization of ShareContainer.
756 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
760 * BufferView.C (putSelectionAt): change the semantics when
761 backwards == true: now, this just swaps cursor and anchor wrt the
764 * BufferView.h (putSelectionAt): add some documentation
766 * lyxfind.C (findBackwards): rewrite using while(). In particular,
767 make sure backwardChar is done at least once (to avoid getting
769 (findNextChange): use putSelectionAt in the forward direction
770 (operator()): use Paragraph::isWord
772 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
774 * Spacing.C (set): c_str fix
776 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * lyx_cb.C (Reconfigure): quote the name of configure script in
779 case it contains spaces
781 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
785 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
786 (BOOST_LIBS): use top_buildir when looking for the file
788 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * pch.h: do not use include boost/format.hpp, multiple symbols
791 will result (gcc bug)
794 2004-08-23 José Matos <jamatos@lyx.org>
796 * bufferparams.C (readToken): fix reading of the author field.
798 2004-08-20 José Matos <jamatos@lyx.org>
800 * lyxrc.C: remove support/translator.h inclusion since it is not used.
802 2004-08-20 José Matos <jamatos@lyx.org>
804 * lyxlex.[Ch] (findToken): remove function.
806 * ParagraphParameters.C (findToken):
807 * bufferparams.C (findToken): replace call for previous function
808 with local copy. This local function has one more argument, the
809 read string argument.
811 2004-08-16 José Matos <jamatos@lyx.org>
813 * ParagraphParameters.C (write):
814 * Spacing.C (writeFile):
815 * bufferparams.C (writeLaTeX):
816 * lyx_cb.C (Reconfigure):
817 * paragraph.C (write):
818 * tabular.C (write): remove unnecessary space at end of line.
821 2004-08-16 José Matos <jamatos@lyx.org>
823 * text.C (readParagraph): remove debug message.
825 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
830 * output_plaintext.C (asciiParagraph): set depth correctly
832 * outputparams.h: add member depth
834 * paragraph_funcs.C (ownerPar): remove.
836 * text2.C (setCounter): remove first_pit; comment out some
837 non-working code that uses ownerPar
839 * BufferView.C (getParentLanguage): remove. Not used anymore, and
842 2004-08-16 José Matos <jamatos@lyx.org>
844 * text.C (readParToken, readParagraph, read): report all unknown tokens.
845 For the same level of importance use the same chanel to report problems.
846 (read): add code to deal with \begin_body and \end_body.
849 2004-08-15 José Matos <jamatos@lyx.org>
851 * lyxlex.C (getString): fix comment, buffer::readBody is now
854 * tex-strings.C (string_papersize): Default -> default,
855 Custom -> custom, for consistency with other options.
857 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
861 * Makefile.am: support pch
863 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * text.C (readParToken): remove the static LyXFont variable and
866 pass it as a parameter instead. This fixes a nasty bug where an
867 inset will be inserted with a bad font in some situations
868 (readParagraph): adapt
870 * text2.C (setCounter): reduce number of calls to pars_[pit]
872 * text.C (singleWidth): add an assert, fix a test
874 * rowpainter.C (paintText): reduce number of calls to singleWidth
876 * paragraph.C (isHfill):
879 2004-08-14 André Pönitz <poenitz@gmx.net>
884 * lyxtext.h (several functions): use a Paragraph & argument
887 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
889 * metricsinfo.h: add a new field ltr_pos to PainterInfo
891 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
893 * text.C (singleWidth): remove useless test
895 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
897 * tabular.h: remove bogus comments
899 * tabular.C (getDescentOfRow):
900 (isPartOfMultiColumn): add assertions
902 * lyxlength.C (inPixels): remove #warning
904 2004-08-14 André Pönitz <poenitz@gmx.net>
906 * paragraph.h: inline getChar()
908 * BufferView.h: remove unused declarations
910 2004-08-14 José Matos <jamatos@lyx.org>
912 * Buffer.[Ch] (readDocument): new name for old readBody.
913 * Buffer.C: new file format, new keywords: \begin_document,
914 \begin_header, \begin_body, \end_body.
916 * bufferparams.C (readToken): replace all calls to lex.nextToken
917 by lex.next(). Do the same to eatLine except where really needed.
919 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
920 line when writing to the lyx file.
922 * output_plaintext.C (asciiParagraph): fix Bibliography style
925 * text.C (read): fix end of file handling.
927 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
929 * MenuBackend.C (Menu::operator[]): new method to access
930 individual menu items
931 (Menu::hasFunc): new method. search for an item that corresponds
933 (MenuBackend::specialMenu): new method
934 (MenuBackend::expand): if a special menu has been set, skip
935 entries whose func() appears in this menu
937 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
939 * text3.C: use Debug::DEBUG a bit more
941 * text.C (leftMargin): try to simplify a tiny bit change var x to
942 l_margin. Dont output the wide margins always.
943 (rightMargin): no margin in inner texts
945 * rowpainter.h (nestMargin): new func
946 (changebarMargin): new func
947 (rightMargin): new func
949 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
953 * factory.C (createInset): modify setDrawFrame
955 * cursor.C: use Debug::DEBUG a bit more
957 2004-08-14 André Pönitz <poenitz@gmx.net>
960 * Makefile.am: new files to accomodate an 'external' (x,y)-position
961 cache for all insets in (at least partially) visible (top-level)
964 * BufferView_pimpl.C: reset external coord cache before every update.
965 This means the coord cache only contains valid entries.
967 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
970 * BufferView_pimpl.C (getInsetByCode): move function out of class
971 and change in to a template in anon namespace. Also fix to do what
974 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
977 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
979 (breakParagraph): rename par to par_offset and use a local
980 reference. Add code to keep the language over a rebreak.
981 (breakParagraphConservative): rename par to par_offset, use a
983 (mergeParagraph): ditto
985 (isFirstInSequence): ditto
986 (outerFont): rename pit to par_offset
988 * paragraph.C: ws change
993 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
998 * paragraph.C (simpleTeXOnePar): when we have a \item with
999 optional argument, enclose the argument with curly brackets (in
1000 case it contains a closing square bracket)
1004 * text3.C (checkInsetHit): constify
1006 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1009 documents (bug 1629)
1011 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1013 Fix toggling of collapsable insets with the mouse (bug 1558)
1015 * lyxfunc.C (dispatch): adapt to LCursor changes
1017 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1018 make sure that dispatch is not invoked twice
1020 * cursor.C (needsUpdate): new method
1021 (dispatch): return void
1022 (result): new method, to access the DispatchResult of the cursor.
1024 2004-08-13 José Matos <jamatos@lyx.org>
1026 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1028 2004-08-13 André Pönitz <poenitz@gmx.net>
1030 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1032 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1035 2004-08-12 André Pönitz <poenitz@gmx.net>
1037 * text3.C: take out the 'cursor right' form insertInset and only
1038 do it in those places when it is really needed. Fixes crash on
1041 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1043 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1045 * BufferView_pimpl.C (setBuffer): initialize the current font of
1046 the underlying LyXText
1048 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1050 * kbsequence.C (print): use UI native formatting for menu
1053 * text.C (insertChar): call Paragraph::insertChar with a font
1056 * paragraph.C (insertInset, insertChar): the version that takes a
1057 LyXFont argument is now a wrapper around the other one (the
1058 opposite used to be true).
1060 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1061 argument. Font setting is done in Paragraph now.
1063 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * outputparams.h: add new members intitle and lang.
1067 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1068 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1070 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * text3.C (dispatch): remove special handling of button 4 and 5,
1073 it is now taken care of in the frontend code.
1075 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * Spacing.h: add <string> (STLPort compile fix)
1079 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1081 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1083 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1085 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1088 * converter.C (showMessage): inherit from unary_function, make
1091 * buffer.C (writeFile): initialize retval
1093 * InsetList.h: rename private variable list to list_
1094 * InsetList.[Ch]: adjust accordingly.
1096 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1098 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1099 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1100 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1101 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1102 * ParagraphParameters.C, LaTeXFeatures.C: replace
1103 "support/std_sstream.h" with <sstream>
1105 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1107 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1108 * lyxsocket.C (LyXServerSocket): ditto
1109 (serverCallback): ditto
1111 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1113 * LaTeXFeatures.C: check release date when loading jurabib.
1115 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1117 * lyxserver.C (startPipe): call register_socket_callback
1118 (endPipe): call unregister_socket_callback
1120 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1122 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1123 (LyXServerSocket): register the callback
1124 (LyXServerSocket): unregister the callback
1125 (fd): delete function
1126 (serverCallback): improve error checking and setup the callbacks.
1127 (dataCallback): change arg to fd.
1128 (writeln): new func (copied fro the client socket) used for server
1130 (LyXDataSocket): simplify
1131 (~LyXDataSocket): close ann unregiser callback
1132 (server): delete function
1133 (fd): delete function
1134 (readln): small changes, improve some std::string usage
1135 (writeln): constify a bit
1137 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1139 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1142 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1144 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1145 after it has been populated
1147 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1149 * text2.C (insertInset): move cursor when inserting inset.
1151 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * kbmap.C (findbindings): a couple of new methods. returns a
1154 container of kb_sequence objects. The real work is done by the
1155 private recursive version
1156 (printbindings): uses findbindings to print out a bracketed list
1157 of bindings (renamed from findbinding).
1159 * MenuBackend.C (binding): use kb_keymap::findbindings
1161 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1163 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1167 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * paragraph.C (isWord): return true on insets that report
1172 * text.C (getWord): use Paragraph::isWord to decide what is in a
1173 word and what is not; fix bug 1609.
1175 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1177 * tex-strings.C: add "none" to string_paperpackages[], fixes
1178 off-by-one-error in the paperpackage selection.
1181 * tex-strings.[Ch]: char const * string[n]
1182 -> char const * const string[]
1184 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1186 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1187 command, return early.
1189 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1191 * debug.h: add DEBUG to enum and fix size of ANY.
1193 * debug.C: add support for Debug::DEBUG
1194 (showTags): cast errorTags.level to unsigned int
1196 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1197 (redoCurrentBuffer): ditto
1198 (updateScrollbar): ditto
1199 * cursor.C (dispatch): ditto
1200 * text2.C (setLayout): ditto
1202 (updateCounters): ditto
1204 (deleteEmptyParagraphMechanism): ditto
1206 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1208 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1209 annotations to cleanup the Makefile slightly.
1211 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * lyxrc.C: do not set user_email to a default value but use empty
1214 instead. The entry used to be translated, which does not work
1215 since at the point where lyxrc is constructed there is no
1216 translation service available
1218 * messages.C (getLocaleDir): remove and use directly
1219 lyx_localedir() instead
1221 2004-06-02 Angus Leeming <leeming@lyx.org>
1223 Fix crash caused by dereferencing null pointer 'exportdata' in
1224 OutputParams by creating a new ExportData variable on the heap,
1225 storing it in a boost::shared_ptr.
1226 The crash was triggered when generating an Instant Preview
1227 of an external inset.
1229 * Makefile.am: add outputparams.C
1231 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1232 (c-tor): allocate memory to it.
1234 * exporter.C (c-tor): associated changes.
1236 2004-06-01 Angus Leeming <leeming@lyx.org>
1238 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1239 contains data before calling isInset(0). (Bug 1513.)
1241 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1243 * exporter.C (checkOverwrite): new method
1244 * exporter.C (copyFile): new method
1245 * exporter.C (Export): copy referenced files to the document dir
1246 * exporter.[Ch]: new class ExportedFile
1247 * exporter.[Ch]: new class ExportData. Contains currently the
1248 names of referenced external files
1249 * outputparams.h: add exportdata member.
1251 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1253 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1256 2004-05-19 Angus Leeming <leeming@lyx.org>
1261 * lyxfunc.C: small changes due to the introduction of namespace
1262 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1264 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1266 * text3.C (dispatch): supress update when only moving the cursor
1267 * cursor.C (selHandle): remove commented code
1269 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1271 * paragraph.C (startTeXParParams): correct column count
1272 * CutAndPaste.C (pasteSelection): remove const_cast
1273 * output_docbook.C (docbookParagraphs): remove const_cast
1274 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1275 const_cast and return ParagraphList::const_iterator
1276 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1277 * output_plaintext.C (writeFileAscii): remove const_cast
1278 * paragraph.[Ch] (simpleTeXOnePar): make const
1279 * paragraph_funcs.C (outerPar): use const iterators
1280 * paragraph_pimpl.C (validate): use const iterators
1281 * text.C (setHeightOfRow): use const iterators
1283 2004-05-17 Angus Leeming <leeming@lyx.org>
1286 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1288 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1289 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1290 if the citation engine has changed.
1292 2004-05-14 José Matos <jamatos@lyx.org>
1294 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1295 if the textclass does not provide it. Have it different for sgml and
1297 support the language of document.
1298 * output_docbook.C (docbookParagraphs):
1299 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1300 first anchor as the id of the paragraph, remove special case code.
1301 * sgml.C (escapeChar): escape only < & >.
1303 2004-05-14 Angus Leeming <leeming@lyx.org>
1305 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1306 dependencies on src/frontends/controllers/biblio.h. Define a
1307 CiteEngine_enum wrapper class to enable the enum to be forward
1310 2004-05-12 Angus Leeming <leeming@lyx.org>
1312 * buffer.C: up LYX_FORMAT to 234.
1313 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1314 use_numerical_citations with a single biblio::CiteEngine cite_engine
1316 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1318 2004-05-13 José Matos <jamatos@lyx.org>
1321 * converter.C (Converter, readFlags): add xml member.
1322 * outputparams.h: add XML flavor.
1323 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1325 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * lyxfunc.C (dispatch):
1328 (getStatus): fix handling of LFUN_SEQUENCE
1330 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * debug.C (showLevel): do not forget the end-of-line marker
1334 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1336 * kbmap.C (read): do not stop parsing a bind file when an error
1339 2004-04-29 Angus Leeming <leeming@lyx.org>
1344 * text2.C: wrap a bunch of #warning statements
1345 inside #ifdef WITH_WARNINGS blocks.
1347 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1349 * buffer.C: increment format to 233.
1351 2004-04-28 Angus Leeming <leeming@lyx.org>
1353 * BufferView_pimpl.C:
1356 s/updateToolbar()/updateToolbars()/
1357 s/Toolbar.h/Toolbars.h/
1359 2004-04-28 Angus Leeming <leeming@lyx.org>
1361 * BufferView.[Ch] (c-tor):
1362 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1363 No longer passes these data to the WorkArea generator.
1365 2004-04-28 Angus Leeming <leeming@lyx.org>
1367 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1369 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1371 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1373 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * output_latex.C (TeXEnvironment): make sure that there is a line
1376 break before \end{foo} for the last paragraph of a document
1377 (TeXOnePar): if the paragraph is at the end of the document (or
1378 inset) and the language has to be reset, then make sure that the
1379 line break is _before_ the language command, not after (fixes bug
1380 1225); also make sure that the language reset command is the first
1381 thing after the paragraph (to ensure proper nesting of
1382 environments and thus fix bug 1404)
1384 2004-04-21 John Levon <levon@movementarian.org>
1387 * ToolbarBackend.C: make "name" be a programmatic name
1388 and a gui_name field.
1390 * lyxfunc.C: display the minibuffer on M-x
1392 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1397 2004-04-19 Angus Leeming <leeming@lyx.org>
1399 * BufferView_pimpl.C (setBuffer): changed preview interface.
1401 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1404 2004-04-19 John Levon <levon@movementarian.org>
1406 * BufferView_pimpl.C:
1407 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1409 2004-04-05 Angus Leeming <leeming@lyx.org>
1411 * text.C (redoParagraphs): add call to updateCounters(), thereby
1412 fixing the missing "Figure #:" label from the caption of a
1415 2004-04-13 Angus Leeming <leeming@lyx.org>
1417 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1418 cursor is clicked out of an inset.
1420 2004-04-13 Angus Leeming <leeming@lyx.org>
1422 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1423 than an InsetOld one.
1425 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1427 * format.[Ch]: add editor to Format
1428 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1429 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1431 2004-04-08 André Pönitz <poenitz@gmx.net>
1433 * metricsinfo.h: remove PainterInfo::width member
1435 2004-04-08 Angus Leeming <leeming@lyx.org>
1437 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1438 "\providecommand" rather than "\newcommand", thereby preventing
1439 clashes with packages that define "\boldsymbol" themselves.
1442 2004-04-08 Angus Leeming <leeming@lyx.org>
1444 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1445 thereby squashing an unnecessary warning.
1447 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1449 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1452 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1454 * BufferView.C (setCursor): call redoParagraph (some insets could
1456 (putSelectionAt): remove the 'double update' trick
1458 * BufferView_pimpl.C (fitCursor): call refreshPar
1459 (workAreaDispatch): remove an uneeded update call
1460 (dispatch): remove some manual update calls
1462 * cursor.[Ch]: remove cached_y_, updatePos
1463 (selHandle): set noUpdate when appropriate
1465 * lyxfunc.C (dispatch): track if we need an update
1467 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1469 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1470 (paintSelection): cheap optimization, do not call cursorX when not
1472 (paintPars): change signature
1475 (paintTextInset): adjust
1479 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1481 * lengthcommon.C: compilation fix: remove explicit array size from
1482 unit_name[] and friends
1484 2004-04-05 Angus Leeming <leeming@lyx.org>
1486 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1488 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1489 present only for the preferences dialog.
1490 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1492 2004-04-05 Angus Leeming <leeming@lyx.org>
1494 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1495 to enable the frontends to export changes to lyxrc correctly.
1497 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1499 2004-04-07 André Pönitz <poenitz@gmx.net>
1501 * cursor.[Ch] (selClear, adjust): remove math
1503 * cursor_slice.C: more agressive assert
1506 * BufferView_pimpl.C: rework mouse event dispatch
1513 2004-04-05 André Pönitz <poenitz@gmx.net>
1515 * cursor.[Ch] (valign, halign...): remove unneeded functions
1517 2004-04-05 Angus Leeming <leeming@lyx.org>
1519 * lyxlength.[Ch] (unit_name et al.): const-correct.
1521 2004-04-05 Angus Leeming <leeming@lyx.org>
1523 * BufferView_pimpl.C:
1532 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1534 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1536 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1538 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1540 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1541 * BufferView_pimpl.[Ch] (getStatus)
1542 * BufferView.[Ch] (getStatus): add
1543 * lyxfunc.C (getStatus): move lfuns handled in
1544 BufferView::dispatch to te function above
1545 * Cursor.C (setSelection): set selection() = true
1547 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1549 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1551 2004-03-31 Angus Leeming <leeming@lyx.org>
1553 * lyxfunc.C (dispatch): Fall through to the generic
1554 Dialogs::show("preamble").
1556 2004-03-31 Angus Leeming <leeming@lyx.org>
1558 * lyxfunc.C (dispatch): Fall through to the generic
1559 Dialogs::show("spellchecker").
1561 2004-03-31 Angus Leeming <leeming@lyx.org>
1563 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1566 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1571 * insetiterator.[Ch]:
1576 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1578 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1580 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1581 insets where we are putting the cursor.
1583 2004-03-31 Angus Leeming <leeming@lyx.org>
1586 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1588 * lyxrc.[Ch] (read, write): overloaded member functions taking
1589 a std::[io]stream arguments.
1591 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1593 2004-03-31 Angus Leeming <leeming@lyx.org>
1595 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1596 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1598 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1599 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1601 2004-03-31 Angus Leeming <leeming@lyx.org>
1603 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1604 the LFUN_ALL_INSETS_TOGGLE code.
1606 2004-03-30 Angus Leeming <leeming@lyx.org>
1608 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1609 has died. Fall through to the generic Dialogs::show("document").
1611 2004-03-30 Angus Leeming <leeming@lyx.org>
1614 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1615 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1617 * lyxfunc.C (getStatus, dispatch): define the actions for these
1618 lfuns. Little more than a cut and pste job from ControlDocument.C
1620 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1622 2004-03-30 Angus Leeming <leeming@lyx.org>
1625 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1626 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1628 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1629 open/closed state of ollapsable insets. Usage:
1631 all-inset-toggle <state> <name>, where
1632 <state> == "open" || "closed" || "toggle" and
1633 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1635 * lyxtext.h, text2.C (toggleInset): removed.
1637 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1638 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1639 now passes LFUN_INSET_TOGGLE to the found inset.
1641 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1642 is now invoked as "all-insets-toggle toggle branch".
1644 2004-03-30 Angus Leeming <leeming@lyx.org>
1648 * pariterator.[Ch]: added/corrected header blurb.
1650 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1652 * dociterator.[Ch]: add an inset_ member
1653 (backwardPos): implemented
1654 (backwardPos, forwardPos): use inset_ when the stack is empty.
1655 (doc_iterator_begin, doc_iterator_end): implemented
1656 * pariterator.[Ch]: adjust, add begin, end
1657 * insetiterator.[Ch]: adjust, add begin, end
1661 * BufferView_pimpl.C:
1662 * CutAndPaste.C: adjust
1664 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1666 * buffer.C: increment file format to 232.
1667 * LaTeXFeatures.C: add bibtopic package.
1668 * bufferparams.[Ch]: param \use_bibtopic.
1670 * lyxrc.[Ch]: add lyxrc bibtex_command
1671 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1673 * buffer.C: increment file format to 231.
1675 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1677 * dociterator.C: implement forwardPar
1678 * iterators.[Ch]: remove, replaced by
1679 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1681 * BufferView_pimpl.C:
1684 * bufferview_funcs.C:
1690 * Makefile.am: adjust
1692 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1694 * CutAndPaste.C (pasteSelection): fix 2 crashes
1695 (eraseSelection): fix a crash
1696 * paragraph_funcs.C: remove a warning
1698 2004-03-28 Angus Leeming <leeming@lyx.org>
1701 * LyXAction.C (init): new LFUN_PRINT.
1703 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1705 2004-03-27 Angus Leeming <leeming@lyx.org>
1708 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1710 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1712 2004-03-27 Angus Leeming <leeming@lyx.org>
1714 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1715 insetlist always contains non-null pointers to insets.
1717 2004-03-26 Angus Leeming <leeming@lyx.org>
1719 * src/BufferView_pimpl.C:
1720 * src/CutAndPaste.C:
1723 * src/output_plaintext.C:
1724 * src/outputparams.h:
1725 * src/paragraph_funcs.C:
1729 * src/frontends/controllers/ControlErrorList.C:
1730 * src/frontends/gtk/FileDialogPrivate.C:
1731 * src/frontends/gtk/GPainter.C:
1732 * src/frontends/gtk/GToolbar.C:
1733 * src/frontends/qt2/QRef.C:
1734 * src/mathed/math_scriptinset.C: squash compiler warnings.
1736 2004-03-26 Angus Leeming <leeming@lyx.org>
1738 * ispell.C (LaunchIspell::start):
1739 * lyx_cb.C (AutoSaveBuffer::start):
1740 invoke run(DontWait) rather than runNonBlocking().
1742 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1744 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1746 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1748 * kbsequence.C (print): adjust
1750 * kbmap.C (printKeySym): rename and change signature
1751 (printKey): use LyXKeySym::print()
1753 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1755 * undo.C: add using std::advance to compile for stlport
1757 2004-03-24 Angus Leeming <leeming@lyx.org>
1759 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1760 it leads to a crash when no buffer is present.
1762 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 Martin Vermeer <martin.vermeer@hut.fi>
1765 * lyxfunc.C (dispatch):
1766 * bufferparams.C (readToken): use the new LColor::setColor
1768 * LColor.[Ch] (setColor): new version that takes two strings as
1769 argument and creates a new color entry if necessary
1771 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1773 * buffer.C (makeLaTeXFile): if the main latex file that is
1774 processed is usually a subdocument of some master, then pretend
1775 for a while that it is actually the master
1777 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1779 * buffer.C (getLabelList):
1780 (getBibkeyList): use getMasterBuffer()
1781 (getMasterBuffer): new method. Returns the main document in the
1782 case where one is using included documents.
1784 2004-03-25 André Pönitz <poenitz@gmx.net>
1788 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1790 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1792 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1793 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1795 * ParameterStruct.h: merge with ParagraphParameters
1797 * lyxtext.h: remove LyXText::parOffset() and getPar()
1799 * text3.C: Remove all 'manual' update calls. We do now one per user
1800 interaction which is completely sufficient.
1804 * BufferView_pimpl.C:
1805 * FontIterator.[Ch]:
1807 * ParagraphParameters.[Ch]:
1812 * cursor_slice.[Ch]:
1819 * output_docbook.[Ch]:
1820 * output_latex.[Ch]:
1821 * output_linuxdoc.[Ch]:
1822 * output_plaintext.[Ch]:
1824 * paragraph_funcs.[Ch]:
1825 * paragraph_pimpl.[Ch]:
1833 * frontends/controllers/ControlDocument.C:
1834 * frontends/controllers/ControlErrorList.C:
1835 * frontends/controllers/ControlSpellchecker.C:
1838 * insets/insetbase.h:
1839 * insets/insetbibitem.C:
1840 * insets/insetbox.C:
1841 * insets/insetbranch.C:
1842 * insets/insetcaption.C:
1843 * insets/insetcharstyle.C:
1844 * insets/insetcharstyle.h:
1845 * insets/insetcollapsable.C:
1846 * insets/insetcollapsable.h:
1847 * insets/insetert.C:
1848 * insets/insetfloat.C:
1849 * insets/insetfoot.C:
1850 * insets/insetmarginal.C:
1851 * insets/insetnote.C:
1852 * insets/insetoptarg.C:
1853 * insets/insettabular.C:
1854 * insets/insettext.C:
1855 * insets/insettext.h:
1856 * insets/insetwrap.C:
1857 * mathed/math_mboxinset.C:
1858 * mathed/math_nestinset.C:
1859 * mathed/math_scriptinset.C:
1860 * mathed/math_scriptinset.h:
1863 2004-03-24 Angus Leeming <leeming@lyx.org>
1865 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1866 deal with any child processes that have finished but are waiting to
1867 communicate this fact to the rest of LyX.
1869 2004-03-24 Angus Leeming <leeming@lyx.org>
1871 64-bit compile fixes.
1873 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1874 (c-tor): pass lyx::pos_types rather than ints.
1876 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1879 * text.C (Delete): compile fix.
1880 (getPar): ensure that function declaration is the same as that in
1883 2004-03-23 Angus Leeming <leeming@lyx.org>
1885 * ispell.C (LaunchIspell):
1886 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1887 a boost::shred_ptr rather than a std::auto_ptr.
1889 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1891 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1892 handle LFUN_FILE_INSERT_*
1894 * lyxrc.C (setDefaults, getDescription, output, read):
1895 * lyxrc.h: remove ps_command
1897 2004-03-22 Angus Leeming <leeming@lyx.org>
1899 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1900 Ensure that error_handler is processed once only and that all data
1901 is saved before attempting to output any warning messages.
1903 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1905 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1907 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1909 2004-03-19 André Pönitz <poenitz@gmx.net>
1911 * cursor.[Ch] (reset): take main text inset as argument
1913 * BufferView: adjust
1914 * BufferView_pimpl.C: adjust
1916 * paragraph.[Ch]: fix completely broken operator=()
1918 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1920 * LColor.C (getFromLyXName): make sure that the color name is used
1923 2004-03-17 Angus Leeming <leeming@lyx.org>
1926 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1928 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1929 dialog and to kill a forked process.
1931 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1933 * text2.C (setCursorFromCoordinates): fix font problem
1935 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1937 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1938 bogus "rebuild cursor" code
1940 2004-03-11 André Pönitz <poenitz@gmx.net>
1942 * buffer.[Ch]: use InsetText instead of LyXText as container for
1945 * dociterator.[Ch]: drop the BufferView * member which is not needed
1946 anymore after the change to buffer.C
1948 * paragraph_funcs.C:
1952 * BufferView_pimpl.[Ch]:
1954 * cursor_slice.[Ch]: adjust
1956 * text3.C: fix bug in mathDispatch
1958 2004-03-08 André Pönitz <poenitz@gmx.net>
1960 * undo.[Ch]: use 'StableDocumentIterator' as base for
1963 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1966 * bufferparams.[Ch]: add jurabib support and param.
1968 * LaTeX.C: add FIXME/comment.
1970 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1972 * buffer.C: increment file format to 230.
1974 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1976 * cursor.C (dispatch): avoid infinite loops
1978 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1980 * rowpainter.C (paintSelection): fix x coordinates
1982 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1984 * text.C (rowBreakPoint): fix breaking before displayed insets
1986 2004-03-01 André Pönitz <poenitz@gmx.net>
1988 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1990 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1994 * BufferView_pimpl.C:
2002 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2008 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2009 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2011 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2013 * Bidi.[Ch] (computeTables): const correctness
2014 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2015 fill_hfill, fill_label_hfill and x from Row
2016 * lyxtext.h: prepareToPrint returns a RowMetrics
2017 * rowPainter.C: adjust
2018 * text.C (prepareToPrint): use width, not textWidth. adjust
2019 (redoParagraphInternal, cursorX): adjust
2020 * text2.C (getColumnNearX): adjust
2021 (init): put a default value to the top LyXText::width
2023 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2025 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2027 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2029 * lyxtext.h: add FontIterator class
2031 * text.C (FontIterator, operator*, operator->, operator++): add
2032 (rowBreakPoint, setRowWidth): adjust (fixing a
2035 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * BufferView_pimpl.C (workAreaDispatch): allow also
2038 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2040 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2042 * text.C (rowBreakPoint): fix a bug showing with very large insets
2044 2004-02-25 André Pönitz <poenitz@gmx.net>
2047 * cursor.[Ch]: move some mathed specific code to mathed
2049 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2051 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2052 use_tempdir in preferences
2053 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2055 * lyx_main.C: ensure that tempdir is valid
2056 * lyxlex.h: correct typo
2057 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2058 * paragraph.[Ch] (isMultiLingual): make const
2059 * cursor.[Ch] (openable): make const
2061 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2063 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2065 2004-02-20 André Pönitz <poenitz@gmx.net>
2067 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2069 * cursor.[Ch]: prepare for localized getStatus()
2075 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2077 2004-02-20 André Pönitz <poenitz@gmx.net>
2079 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2081 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2083 * text2.C (setCursorFromCoordinates): switch to absolute coords
2085 (cursorDown): adjust
2086 * text3.C (dispatch): adjust
2088 2004-02-16 André Pönitz <poenitz@gmx.net>
2090 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2093 * cursor_slice.[Ch]: remove unneeded acessor function
2095 * lyxtext.h: rename rtl() to isRTL()
2103 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2105 * rowpainter.C (paintSelection): coord fix
2107 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2109 * Spacing.C: compile fix
2111 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2113 * cursor.C (dispatch): restore current_ before returning
2115 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2117 * text2.C (cursorUp, cursorDown): fix coords
2120 2004-02-12 André Pönitz <poenitz@gmx.net>
2125 * text3.C: add LCursor & parameter to most cursor movement functions
2126 remove usage of LyXText::cursorRow() and cursorPar()
2128 * cursor.[Ch]: add textRow() needed members
2131 * BufferView_pimpl.C:
2134 * BufferView_pimpl.C: adjust
2136 2004-02-11 André Pönitz <poenitz@gmx.net>
2140 * BufferView_pimpl.C: shift undo/redo handling
2142 * cursor.[Ch]: fix mathed crash
2145 * lyxtext.h: move selectionAsText to LCursor
2153 * rowpainter.C: fix excessive drawing
2155 2004-02-06 André Pönitz <poenitz@gmx.net>
2158 * BufferView_pimpl.[Ch]:
2159 * text3.C: move some text specific LFUN handling
2161 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2163 * text3.C (checkInsetHit): adjust coords
2164 * text2.C (getColumnNearX): adjust coords
2165 (edit): adjust coords
2166 * text.C (getRowNearY): add two asserts
2168 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2171 * format.C: add using std::distance to compile on gcc 2.95/stlport
2173 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2175 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2177 2004-02-04 André Pönitz <poenitz@gmx.net>
2179 * BufferView.[Ch] (insertInset):
2180 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2185 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2187 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2188 on the default clause of the switch
2189 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2190 wasn't catched by LCursor::dispatch
2192 2004-02-03 André Pönitz <poenitz@gmx.net>
2195 * cursor.[Ch]: some additional asserts
2197 * undo.[Ch]: remove LyXText dependency in interface
2201 * lyxtext.h (firstPar, lastPar): remove dead functions
2206 * paragraph.[Ch]: adjust
2208 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2210 * lyxfind.C (find): fix argument order in call to ::find
2212 2004-02-02 André Pönitz <poenitz@gmx.net>
2214 * cursor.[Ch]: remove direct access to anchor
2216 * text.C: remove findText() hack
2218 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2220 * iterators.[Ch] (lockPath): remove in favour of...
2221 * BufferView.[Ch] (setCursor): this addition
2222 * BufferView.C (putSelectionAt): adjust
2223 * undo.C (performUndoOrRedo): adjust
2224 * lyxfunc.C (dispatch): adjust
2226 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2228 * iterators.C (lockPath): add a missing slice
2229 * undo.C (performUndoOrRedo): remove redundant positioning code
2231 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2233 * vc-backend.C (scanMaster): ";" -> ';'
2235 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2237 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2238 std::binary_function
2240 * lyxtextclass.C (compare_name): rename to...
2241 (LayoutNamesEqual): ...this
2243 * lyxlex_pimpl.C (compare_tags): inherit from
2244 std::binary_function, put back into anon namespace
2246 * lyxfind.C (MatchString): inherig from std::binary_function
2247 (findChange): use empty() istead of !size()
2249 * format.C (FormatNamesEqual): new functor
2256 * converter.C (compare_Converter): rename to...
2257 (ConverterEqual): ...this, and fixup a bit.
2258 (getConverter): use it, and make function const
2259 (getNumber): use it, and make function const
2263 * bufferlist.C: add using boost::bind
2265 * MenuBackend.C (MenuNamesEqual): new functor
2266 (hasMenu): use it, and make function const
2267 (hasSubmenu): use nested bind to get rid of compare_memfun.
2269 2004-01-30 André Pönitz <poenitz@gmx.net>
2271 * BufferView_pimpl.C:
2274 * cursor_slice.[Ch]:
2277 * paragraph_funcs.C:
2278 * paragraph_funcs.h:
2282 * text3.C: move some of the edit(x,y) handling to the insets
2283 some coordinate changes.
2285 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2287 * text.C: add using statements for std::advance and std::distance
2289 * paragraph.C: add using statement for std::distance
2291 * lyxfind.C: add using statement for std::advance
2293 * cursor.C (region): remove std:: from swap
2294 (openable): use nucleus in stead of operator->
2296 * BufferView.C: add using statements for std::distance and std::swap
2298 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2300 * iterators.C: Remove the pimple, move the needed structures to
2301 the header file. Create accessor for the positions stack.
2302 (asPosIterator): remove function
2304 * PosIterator.C (PosIterator): move constructors to top of file
2305 (PosIterator): reimplement the constructor taking a ParIterator in
2307 (setFrom): new function
2308 (operator!=): inline it
2310 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2312 * lyxfind.C (replaceAll): use std::advance
2314 * iterators.h: inherit from std::iterator.
2316 * PosIterator.C (advance, distance): remove
2317 * PosIterator.h: interit from std::iterator.
2319 2004-01-26 André Pönitz <poenitz@gmx.net>
2322 * BufferView_pimpl.[Ch]:
2326 * bufferview_funcs.C:
2336 * output_linuxdoc.C:
2337 * output_plaintext.C:
2339 * paragraph_funcs.[Ch]:
2340 * paragraph_pimpl.[Ch]:
2346 * text3.C: more IU: dumps most of the rest of the mathcursor
2347 implementation into cursor.[Ch]; "globalize" a bit of it.
2349 2004-01-25 Angus Leeming <leeming@lyx.org>
2351 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2353 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2355 * LaTeXFeatures.h: add nice_ and nice() const
2356 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2358 2004-01-20 André Pönitz <poenitz@gmx.net>
2361 * BufferView_pimpl.C:
2363 * bufferview_funcs.C:
2365 * cursor_slice.[Ch]:
2376 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2377 LCursor and mathcursor parts to LCursor and InsetBase.
2379 2004-01-15 André Pönitz <poenitz@gmx.net>
2381 * cursor_slice.[Ch]: add a few covienience functions
2383 * funcrequest.[Ch]: remove BufferView * member
2385 * BufferView_pimpl.C:
2392 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2394 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2396 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2397 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2399 2004-01-13 André Pönitz <poenitz@gmx.net>
2402 * lyxtext.h: hide cursor and selection anchor behind accessor function
2405 * BufferView_pimpl.[Ch]:
2407 * bufferview_funcs.C:
2417 * cursor_slice.[Ch]: some integer type changes for inset unification
2419 * lyxcursor.[hC]: remove, it's CursorSlice now.
2422 * BufferView_pimpl.[Ch]:
2423 * bufferview_funcs.C:
2429 * textcursor.[Ch]: adjust
2431 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2433 * text2.C (undoSpan): add and use
2434 * text.C (breakParagraph): use undoSpan (fix bug 578)
2437 2004-01-08 Angus Leeming <leeming@lyx.org>
2439 * BufferView_pimpl.C (MenuInsertLyXFile):
2440 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2441 * lyxfunc.C (menuNew, open, doImport):
2442 FileFilterList change to the FileDialog open and save functions.
2444 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2446 * ShareContainer.h: make isEqual and isUnique adaptable
2448 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2450 2004-01-07 Angus Leeming <leeming@lyx.org>
2453 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2455 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2457 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2458 functions replacing find, replace and replaceAll.
2460 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2461 LFUN_WORDFIND(FORWARD|BACKWARD).
2463 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2465 * text.C (breakParagraph): remove an outdated #warning
2467 2004-01-07 André Pönitz <poenitz@gmx.net>
2469 * lyxfind.C: somewhat clearer logic
2471 * text.C: prevent crash in cursorX on unitialized row cache
2473 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2475 * lyxcursor.[Ch] (operator>): add
2476 * textcursor.C (selStart, selEnd): use std::min and std::max
2478 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2480 * Chktex.C: include boost/format.hpp
2482 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2484 * InsetList.C: replace functor MathcIt with adaptable functor
2486 (insetIterator): modify accordingly
2488 * BranchList.h: move the BranchNamesEqual functor here from...
2489 * BranchList.C: ... to here
2491 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2493 (add): replace a finding loop with std::find_if.
2495 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2497 * output_docbook.C: moving LatexParam functionality into
2500 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2502 * buffer.C: increment format to 229.
2504 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2507 * lyx_sty.[Ch]: remove minipageindent_def
2513 * text3.C: remove LFUN_INSET_MINIPAGE
2515 2003-12-28 Angus Leeming <leeming@lyx.org>
2517 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2519 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2521 * text2.C (setParagraph): fix off-by-one crash
2523 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2525 * output_docbook.C: header stuff for AGU
2527 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2529 * text2.C (redoCursor): remove
2532 * BufferView_pimpl.C: remove calls to redoCursor and
2533 setCursor(cursor.par(), cursor.pos()) all around
2535 2003-12-15 Angus Leeming <leeming@lyx.org>
2537 * buffer.C: up the format to 228.
2539 2003-12-15 André Pönitz <poenitz@gmx.net>
2541 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2546 * BufferView_pimpl.C:
2555 2003-12-15 Angus Leeming <leeming@lyx.org>
2557 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2558 than getFromGUIName to manipulate the color.
2560 2003-12-14 Angus Leeming <leeming@lyx.org>
2562 * BranchList.[Ch]: minimize the API.
2563 (Branch::getBranch, getColor): now return a 'const &'.
2564 (Branch::setSelected) now returns a bool set to true if the
2565 selection status changes.
2566 (BranchList::clear, size, getColor, setColor, setSelected,
2567 allBranches, allSelected, separator): removed.
2568 (BranchList::find): new functions, returning the Branch with
2570 (BranchList::add, remove): return a bool indicating that
2571 the operation was successful.
2573 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2574 new InsetBranch::isBranchSlected member function.
2576 * LColor.[Ch]: mimimize the API.
2577 (fill): renamed as addColor and made private.
2578 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2579 versions of these functions taking a string arg have been removed.
2581 * bufferparams.C (readToken):
2582 * lyxfunc.C (dispatch):
2583 * lyxrc.C (read): changes due to the altered BranchList and
2586 * factory.C (createInset, readInset): changes due to altered
2589 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2592 * lyxfunc.C: remove insetminipage. "minipage-insert"
2593 now produces a frameless minipage box inset.
2595 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2597 * textcursor.[Ch] (selStart,selEnd): add new methods
2598 remove selection::start, end, use LyXCursor::operator<
2599 * lyxcursor.[Ch] (operator<): add
2600 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2601 * BufferView.[Ch] (unsetXSel): add
2602 * text2.C (clearSelection): use unsetXSel,adjust
2605 * rowpainter.C: adjust
2606 * bufferview_funcs.C (put_selection_at): adjust
2608 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2610 * BufferView_pimpl.C: small coord. correction
2612 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2614 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2615 dragging over the splash screen.
2617 2003-12-11 Angus Leeming <leeming@lyx.org>
2619 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2620 as it is now handled in LyXText::dispatch.
2622 * text3.C (doInsertInset): remove a level of nesting.
2624 2003-12-11 Angus Leeming <leeming@lyx.org>
2626 * factory.C (createInset): changes due to the changed interface to
2627 InsetCommandMailer::string2params.
2629 2003-12-10 Angus Leeming <leeming@lyx.org>
2631 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2632 'dialog-show-new-inset <inset name>'
2634 2003-12-10 Angus Leeming <leeming@lyx.org>
2636 * buffer.C: up the format to 227.
2638 * factory.C: the box inset is now identified simply by 'Box'.
2640 2003-12-10 Angus Leeming <leeming@lyx.org>
2642 * buffer.C: up the format to 226.
2644 * factory.C: the note inset is now identified simply by 'Note'.
2646 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2648 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2649 when a pit is enough. Standarize a couple of loops.
2651 2003-12-05 Angus Leeming <leeming@lyx.org>
2653 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2654 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2655 data to the re-worked "log" dialog.
2657 2003-12-03 André Pönitz <poenitz@gmx.net>
2663 * paragraph_funcs.C:
2665 * text2.C: use Inset::getText instead of Inset::getParagraph
2667 2003-12-03 André Pönitz <poenitz@gmx.net>
2671 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2672 InsetText::read() as LyXText::read()
2674 2003-12-02 Angus Leeming <leeming@lyx.org>
2676 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2677 type. Add a comment in the implementation that the function uses
2678 the stream's bad() function rather than fail() as the std::streams
2681 2003-12-02 André Pönitz <poenitz@gmx.net>
2683 * lyxlex.[Ch]: make interface more similar to std::stream
2685 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2687 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2689 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2691 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2693 * vspace.[Ch]: remove VSpace::NONE
2695 2003-12-01 André Pönitz <poenitz@gmx.net>
2698 * lyxtext.h: move ParagraphList member to LyXText
2699 rename LyXText::ownerParagraphs to LyXText::paragraph
2702 * bufferview_funcs.C:
2712 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2714 * undo.C: fix cursor positioning
2716 2003-12-01 John Levon <levon@movementarian.org>
2718 * BufferView_pimpl.C: fix a crash on exit with
2721 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2723 * BranchList.C: fix setSelected() method.
2725 2003-11-28 André Pönitz <poenitz@gmx.net>
2727 * ParagraphParameters.[Ch]:
2728 * ParameterStruct.h: remove space above/below from Paragraph to
2731 * BufferView_pimpl.C:
2737 * paragraph_funcs.C:
2743 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2745 * factory.C: Syntax change for CharStyles
2747 2003-11-28 André Pönitz <poenitz@gmx.net>
2752 * buffer.[Ch]: move LyXText member
2754 2003-11-28 André Pönitz <poenitz@gmx.net>
2756 * BufferView.[Ch]: make LyXText * text a private member
2758 * BufferView_pimpl.C:
2769 * output_plaintext.C: cleanup
2771 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2774 * lyxtextclass.[Ch]: parametrize SGML document header
2776 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2779 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2782 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2784 * text2.C (setFont): rework using PosIterator (no more recursive)
2785 (setCharFont): no more needed
2786 (setLayout): no more selection cursors fiddling (done by redoCursor)
2787 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2788 destroy remaining ones)
2790 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2792 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2794 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2797 * text3.C: adjust + re-allow multi par depth changes
2798 * textcursor.C: simplify a bit
2800 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2806 * src/output_docbook.C:
2807 * src/output_latex.C:
2812 * src/text2.C: Introducing a number of tags parametrizing various
2813 XML formats that we may want to support
2815 2003-11-25 André Pönitz <poenitz@gmx.net>
2817 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2819 * lyxtext.h (leftMargin/rightMargin): simplify interface
2826 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2828 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2829 master file to any child files. Fixes bug 546.
2831 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2833 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2835 2003-11-24 André Pönitz <poenitz@gmx.net>
2837 * rowpainter.C: simplification
2839 * text2.C (updateCounters): remove call to redoParagraph on
2840 changed labels as this is far too expensive.
2842 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2844 * converter.C (convert): fix a crash: this function gets
2845 called with buffer == 0 from importer code.
2847 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2849 * text3.C (cursorPrevious): make sure that we do not compare
2850 iterators form different containers.
2853 * rowpainter.C (paintSelection): make sure that we do not compare
2854 iterators from different containers.
2856 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2857 iterators from different ParagraphList containers.
2860 * text2.C (LyXText): change order of initialization slightly
2861 (operator=): new function. copy all variables except cache_par_
2862 (moveUp): make sure that we do not compare iterators from
2863 different ParagraphList constainers.
2866 * text.C (firstPar): new function
2867 (lastPar): new function
2868 (endPar): new function
2870 * lyxtext.h: move things around and group public functions, public
2871 variables, private functions, private variables
2873 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2875 * factory.C: change call to InsetERT constructor to avoid
2876 additional invocation of method status
2877 * text2.C (toggleInset): remove redundant update() call
2878 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2879 instead of a Bufferview pointer
2881 2003-11-21 André Pönitz <poenitz@gmx.net>
2883 * rowpainter.C: simplification
2885 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2887 * text3.C (dispatch): make possible to extend a word/row selection
2890 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2892 * lyxtext.h: x0_,y0_ -> xo_,yo_
2893 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2894 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2895 * rowpainter.C (paintRows): paint full paragraphs
2897 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2899 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2902 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2904 * lyxtext.h: add x0_, y0_
2905 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2906 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2908 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2910 * text2.C (setCursorIntern): move the x_target update here *
2911 * text3.C: change some bv() to true/false in calls to
2912 cursorUp/Down/Right/Left
2913 * cursor.C: use helper function.
2915 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2917 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2918 * paragraph_funcs.[Ch]: correct comment
2919 * rowpainter.C: do not paint selections away from bv->cursor()
2920 Fix a long standing selection painting bug.
2921 * text3.C: generalize mouse-selection code to LyXTexts other that
2923 * textcursor.C: do not use y coords if we can use par offsets
2925 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2927 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2928 cursor position after e.g. inset insert)
2930 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2932 * lyxfind.C (replace): adjust to locking removal + some
2935 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2937 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2940 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2943 * output_docbook.C: XML sanitation: new layout
2944 parameters InnerTag and CommandDepth
2946 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2948 * BufferView_pimpl.C:
2950 * text3.C: Fix the insertion and modification of button-style
2953 2003-11-13 André Pönitz <poenitz@gmx.net>
2955 * InsetList.[Ch]: remove deleteLyXText
2957 * paragraph.[Ch]: cache beginOfBody position
2962 * text3.C: remove superfluous update() calls
2966 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2968 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2969 * BufferView.C (fitLockedInsetCursor): remove
2970 * cursor.[Ch] (getDim): add
2971 * text.C (getRowNearY): add faster version
2972 * text3.C: remove some update calls
2974 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2986 * text3.C: The Character Style /XML short element patch.
2988 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2991 * factory.C: Small step to solving 'unable to insert some insets'
2994 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2996 * cursor.[Ch] (updatePos): new function for updating the y
2997 position of the tip inset
2998 * bufferview_funcs.C (put_selection_at):
2999 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3001 2003-11-11 André Pönitz <poenitz@gmx.net>
3003 * text.C: remove big comment on invalid Paragraph pointers as it is
3006 2003-11-11 André Pönitz <poenitz@gmx.net>
3008 * text_funcs.[Ch]: merge with ...
3016 * Makefile.am: remove text_funcs.[Ch]
3018 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3020 * cursor.C (getPos): return absolute cached y coord
3022 * BufferView_pimpl.C (fitCursor): new simplistic code
3023 (workAreaDispatch): add a fitCursor call
3025 2003-11-10 André Pönitz <poenitz@gmx.net>
3028 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3030 2003-11-10 André Pönitz <poenitz@gmx.net>
3032 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3033 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3034 indicate that the cursor needs to leave an inset
3036 * lyxtext.h: remove inset locking
3038 * cursor.[Ch]: re-implement functionality provided by inset locking
3041 * BufferView_pimpl.[Ch]:
3043 * bufferview_funcs.[Ch]:
3055 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3057 * PosIterator.[Ch]: replace the stack with a vector, add inset
3059 * iterators.[C]: adjust
3061 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3063 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3065 * paragraph_funcs.C (readParToken): put the correct id in the
3066 error item, not the id of the top paragraph
3068 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3070 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3071 * bufferview_funcs.C (put_selection_at): use the above
3073 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3075 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3077 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3079 * output_linuxdoc.h:
3080 * output_plaintext.h:
3082 * output_docbook.h: add #include statements
3084 2003-11-05 José Matos <jamatos@lyx.org>
3086 * output_docbook.[Ch]:
3087 * output_latex.[Ch]:
3088 * output_linuxdoc.[Ch]:
3089 * output_plaintext.[Ch]: New files for output formats.
3090 * output.[Ch]: New file for helper functions.
3093 * paragraph_funcs.[Ch]: output functions moved to new files.
3095 * outputparams.h: rename of latexrunparams.h
3103 * paragraph_funcs.[Ch]:
3104 * paragraph_pimpl.[Ch]:
3105 * tabular.[Ch]: rename ascii to plaintext
3106 and LatexRunParams to OutputParams.
3108 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3110 * iterators.[Ch] (text): require bv argument
3111 * undo.C (recordUndo):
3112 * lyxfunc.C (dispatch):
3113 * bufferview_funcs.C (put_selection_at): adjust
3115 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3117 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3119 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3121 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3124 2003-11-04 André Pönitz <poenitz@gmx.net>
3126 * cursor.[Ch]: restructure
3129 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3131 * iterators.[Ch] (asCursor): remove
3133 * lfuns.h: remove LFUN_INSET_EDIT
3139 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3141 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3143 * lyxfind.[Ch]: complete overhaul
3144 * BufferView_pimpl.C:
3146 * paragraph.[Ch] (insert): add
3148 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3152 * text.C: remove dead spellcheck code
3154 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * dispatchresult.h: add a val setter
3158 * cursor.C (dispatch): use a tempvar for data_[i]
3160 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3162 * PosIterator.[Ch]: compile fix
3164 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3166 * text.C (cursorPar): deactivate the cursor cache
3168 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3170 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3172 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * text3.C (dispatch): adjust for new DisptchResult semantics.
3176 * lyxfunc.C (dispatch): handle update when return from
3177 Cursor::dispatch, adjust for new DispatchResult semantics.
3179 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3180 DispatchResult(true) mean to not update. Add class functions for
3181 setting dispatched and update, as well as reading.
3183 * cursor.C (dispatch): don't handle update here
3185 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3188 * trans_mgr.C: adjust
3190 * paragraph_funcs.C (readParToken): exception safety
3192 * lyxvc.h: store the vcs pointer in a scoped_ptr
3195 * lyxsocket.C (serverCallback): exception safety
3197 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3199 * ispell.C (clone): make it return a auto_ptr
3201 * factory.C (createInset): exception safety
3202 (readInset): exception safety
3204 * bufferlist.C (newBuffer): exception safety
3206 * Thesaurus.C (Thesaurus): use initialization for aik_
3208 * MenuBackend.C (expandToc): exception safety.
3210 2003-11-03 André Pönitz <poenitz@gmx.net>
3214 * bufferview_funcs.C: remove getInsetFromId()
3217 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3223 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3225 * PosIterator.C (distance, advance): new
3226 * bufferview_funcs.[Ch] (put_selection_at): new
3227 * iterators.[Ch] (lockPath): new
3229 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3231 * iterators.[Ch] (asPosIterator): added
3232 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3233 * PosIterator.[Ch]: added
3235 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * cursor.C (dispatch):
3240 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3242 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3243 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3244 contructor, add a class function dispatched. Remove operator>=
3246 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * debug.C: only use the default constructor for debugstream
3251 * main.C (main): include debug.h and setup the lyxerr streambuf
3254 2003-10-31 José Matos <jamatos@lyx.org>
3256 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3258 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3259 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3260 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3261 * paragraph_pimpl.C (simpleTeXSpecialC):
3262 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3263 add LatexRunParams argument.
3265 * exporter.C (Export): change call accordingly.
3267 * latexrunparams.h: add new member to take care of the other backends.
3268 2003-10-30 José Matos <jamatos@lyx.org>
3270 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3271 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3272 factorise code for paragraph output.
3274 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3277 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * text3.C (dispatch):
3280 * lyxfunc.C (dispatch):
3281 * cursor.C (dispatch):
3282 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3284 * dispatchresult.h: make the dispatch_result_t ctor explicit
3286 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3289 * buffer.C: small refactoring of docbook stuff
3291 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3296 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3298 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3299 operator dispatch_result_t, and operators for == != and >=
3301 * cursor.C (dispatch): adjust for operator dispatch_result_t
3302 removal. comment out call to update
3304 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3306 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3317 * dispatchresult.h: new file, DispatchResult broken out of
3320 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3322 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3324 * text.C (rowBreakPoint): put a hack inside #if 0
3326 2003-10-28 André Pönitz <poenitz@gmx.net>
3330 * paragraph_funcs.C:
3333 * text2.C: general cleanup (lots of small stuff)
3335 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3337 * text2.C (cursorEnd): simple fix to the "end key goes to one
3338 before the end on last row" bug
3340 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3342 * text.C (backspace): fix the "zombie characters"
3344 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3346 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3348 2003-10-27 André Pönitz <poenitz@gmx.net>
3350 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3352 * factory.C: handle new InsetPagebreak, InsetLine
3354 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3355 and move handling into new InsetPagebreak, InsetLine
3357 * BufferView_pimpl.C:
3359 * ParagraphParameters.C:
3360 * ParameterStruct.h:
3365 * paragraph_funcs.C:
3366 * paragraph_pimpl.C:
3372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3375 * lyxrow_funcs.[Ch]:
3381 * text3.C: remove lastPos uses in favour of Row::endpos
3383 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3385 * undo.C (performUndoOrRedo): fix two crashes by setting a
3386 cursor by hand and reordering some calls. Use bv->lockInset instead
3387 of inset->edit because the latter loses cursor information
3389 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3391 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3393 (rowBreakPoint): fix width. change point to point + 1.
3394 Add a missing check.
3396 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3399 * lyxfunc.C: fix (at least partly) the problems
3400 with the Nav menu and headers inside branch insets
3403 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3405 * paragraph.C (getChar): add strong asserts
3407 * lyxrow_funcs.C (lastPos): remove hideous hack
3409 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3410 (fill): adjust to that (avoid an infinite loop)
3412 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3414 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3416 2003-10-23 André Pönitz <poenitz@gmx.net>
3418 * RowList_fwd.h: change list<> to vector<> to gain speed
3419 after suggestion from Alfredo
3421 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3423 * lyxtext.h: move the bidi stuff from here...
3426 * Bidi.[Ch]: ... to here
3428 2003-10-23 André Pönitz <poenitz@gmx.net>
3431 * text.C (isLastRow, isFirstRow): new functions
3433 * paragraph.h: new width cache member
3435 * rowpainter.C: replace RowList::iterator with Row & where possible
3437 * lyxfunc.C: replace several view()->text with a single call
3439 * toc.C: fix 'unused' warning
3441 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3444 when woring with stream::pos_type
3445 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3447 2003-10-22 André Pönitz <poenitz@gmx.net>
3450 * text.C: use Row & instead of RowList::iterator
3452 * lyxrow.h: rename end() to endpos()
3458 2003-10-22 Angus Leeming <leeming@lyx.org>
3460 * buffer.[Ch] (fully_loaded): new member function, returning true
3461 only when the file has been loaded fully.
3462 Used to prevent the premature generation of previews and by the
3463 citation inset to prevent computation of the natbib-style label.
3465 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3466 templates are all set up.
3468 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3470 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3472 * text.C: fixed an "oops" in the "is a bit silly"
3475 2003-10-21 André Pönitz <poenitz@gmx.net>
3477 * FuncStatus.[Ch]: small stuff, whitespace
3479 * lyxfont.[Ch]: operator<<() for debug reasons
3483 * lyxtext.h: whitespace, spelling
3485 * paragraph.C: naming of variables
3488 * text2.C: small stuff
3491 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3493 * text.C: (1) finish off the inset display() work;
3494 (2) fix the "is a bit silly" bug (accessing char
3497 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3499 * text.C: re-introduce display() for insets, fixing the
3500 various bugs (stretch of line above, math inset
3503 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3505 * text.C (rightMargin): remove spurious semicolon
3507 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3510 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3512 * text3.C: fix one crash due to wrong cursor def
3514 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * vc-backend.C (scanMaster): make the regex static
3518 * LaTeX.C (scanAuxFile): make the regexs static
3520 * text3.C (doInsertInset, dispatch, dispatch):
3521 * text2.C (cursorUp, cursorDown):
3522 * text.C (selectNextWordToSpellcheck):
3523 * BufferView_pimpl.C (dispatch):
3524 * lyxfunc.C (dispatch): localDispatch -> dispatch
3526 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3528 * lyxsocket.C: include <cerrno>
3530 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3532 * lyxfunc.C (dispatch): remove textcache stuff
3534 * bufferlist.C (release): remove textcache stuff
3537 * TextCache.C: delete file
3538 * TextCache.h: delete file
3540 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3542 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3543 delete of the bv_->text.
3544 (resizeCurrentBuffer): remove texcache stuff
3545 (workAreaResize): ditto
3547 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3552 2003-10-16 André Pönitz <poenitz@gmx.net>
3559 * text3.C: speed up by storing y positions per paragraph plus per-row
3560 offset instead of having a 'full' y position in the row.
3562 2003-10-15 André Pönitz <poenitz@gmx.net>
3566 * undo.[Ch]: make undo aware of inner insets
3568 2003-10-14 Angus Leeming <leeming@lyx.org>
3570 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3571 static member functions LyX::ref() and LyX::cref.
3572 (lastfiles): new accessor functions for the new lastfiles_ member var.
3573 (addLyXView, views_): add a new LyXView to the list of views_.
3574 (updateInset): loop over all LyXViews to call their own updateInset
3575 member function, returning a pointer to the Buffer owning the inset.
3577 * BufferView_pimpl.C (loadLyXFile):
3578 * MenuBackend.C (expandLastfiles):
3579 * bufferlist.C (MenuWrite, QuitLyX):
3580 lastfiles is no longer a global variable.
3581 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3583 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3584 static function. Access through LyX::cref().emergencyCleanup().
3586 2003-10-14 André Pönitz <poenitz@gmx.net>
3588 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3590 * undo.[Ch]: restoring part of 'undo in insets'
3593 * undo_funcs.[Ch]: merge with undo.[Ch]
3595 * tabular.C: small cleansing stuff
3597 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3599 * paragraph_funcs.C (readParToken): report unknown insets as error
3600 boxes. Use the outer paragraph as location (also for unknown
3603 * factory.C (readInset): do not abort on reading an unknown inset.
3604 Eat it and return 0.
3606 2003-10-13 Angus Leeming <leeming@lyx.org>
3608 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3610 * lyxrc.C: displayTranslator is now a function,
3611 declared in GraphicsTypes.h.
3613 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3615 * format.C: new placeholder $$a to pass the socket address.
3617 * bufferlist.[Ch]: new function getBufferFromTmp.
3619 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3620 files in the temporary dir.
3622 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3624 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3626 * Makefile.am: add lyxsocket.[Ch].
3628 * lyx_main.C (error_handler): handle SIGPIPE.
3630 2003-10-13 André Pönitz <poenitz@gmx.net>
3632 * BufferView_pimpl.C:
3637 * undo_funcs.[Ch]: use paroffset_type instead of
3638 ParagraphList::iterators to prevent multiple conversion
3639 (and get a more robust interface)
3641 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3643 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3645 * text3.C (dispatch): ditto
3647 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3650 move the onlyfile, use onlyfile instead of foundfile in a couple
3653 * DepTable.C (update): flush the error stream a bit more
3655 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * lyxserver.C (callback): adjust
3659 * lyxfunc.C (getStatus): add a missing brace in commented code
3660 (ensureBufferClean): reindent
3661 (dispatch): delete version taking a string
3663 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * LaTeX.C (deplog): move found file handlig from here...
3666 (handleFoundFile): .. to new function here.
3667 (deplog): make sure to discover several files mentioned on the
3670 2003-10-10 André Pönitz <poenitz@gmx.net>
3677 * text3.C: fix some of the tabular crashes
3679 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3681 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3683 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3685 2003-10-09 André Pönitz <poenitz@gmx.net>
3687 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3690 * BufferView_pimpl.C:
3691 * bufferview_funcs.C:
3702 * undo_funcs.C: adjust
3704 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3706 * text2.C (incrementItemDepth): new function, use a backtracking
3707 algorithm to discover the correct item depth.
3708 (resetEnumCounterIfNeeded): new function, use a backtracking
3709 algorithm to discover if counter reset is needed.
3710 (setCounter): use them. Simplify a bit. Add different labels for
3711 different item depths for itemize.
3713 * paragraph.C (Paragraph): remove initialization of enumdepth
3716 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3717 enumerate and itemize. Change the type of itemdepth to signed char.
3719 2003-10-08 André Pönitz <poenitz@gmx.net>
3721 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3726 * tabular.[Ch]: fix crash after 'row-insert'
3728 2003-10-08 Angus Leeming <leeming@lyx.org>
3730 Fix doxygen warnings.
3732 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3733 Remove CutAndPaste:: prefix from header file declaration.
3735 * LColor.h (fill): remove LColor:: prefix from declaration.
3737 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3738 use lyx::depth_type rather than Paragraph::depth_type so that
3739 header file and .C file match.
3741 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3743 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3744 * aspell.C: \file aspell_local.C -> \file aspell.C
3745 * gettext.C: \file gettext.C -> \file src/gettext.C
3746 * gettext.h: \file gettext.h -> \file src/gettext.h
3747 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3748 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3749 * text.C: \file text.C -> \file src/text.C
3751 * toc.C: move comment so that doxygen is not confused.
3753 2003-10-07 Angus Leeming <leeming@lyx.org>
3755 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3757 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3760 * aspell_local.h: add forgotten std::string's.
3762 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3769 * text3.C: The Box patch. Fancybox support, minipage, parbox
3771 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3777 * ParagraphParameters.h:
3787 * lyxtextclasslist.h:
3790 * paragraph_pimpl.C:
3791 * textcursor.h: add <string> and other small fixes to make Lars'
3792 std::string patch compile with STLport.
3794 2003-10-06 Angus Leeming <leeming@lyx.org>
3796 * LColor.h: Add missing #include <string>.
3798 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3800 * All most all file in all subdirs: Make <string> be the prefered
3801 way of getting to std::string, add using declarations.
3803 2003-10-06 André Pönitz <poenitz@gmx.net>
3805 * metricsinfo.C: initialize LyXFont before changing attribute.
3806 (fixes the 'math in \emph is upright' bug)
3808 2003-10-06 André Pönitz <poenitz@gmx.net>
3810 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3812 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3815 * paragraph_pimpl.C: Small fixes to build using STLport
3817 2003-10-02 André Pönitz <poenitz@gmx.net>
3820 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3822 2003-10-01 André Pönitz <poenitz@gmx.net>
3824 * factory.C: assert early
3826 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * lyx_main.C: remove the global debug object
3830 * debug.h: adjust for new debugstream
3832 * debug.C: adjust for new debugstream and keep the global debug
3835 2003-09-22 Angus Leeming <leeming@lyx.org>
3837 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3838 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3839 an incomplete class LyXFont.
3841 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3843 * factory.C: bug fix in branches
3845 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3847 * lyxfunc.C (processKeySym): adjust
3849 (dispatch): change arg name from ev to func, adjust
3850 (sendDispatchMessage): ditto
3852 * lyx_main.C (defaultKeyBindings): adjust keybindings
3853 (deadKeyBindings): ditto
3855 * kbsequence.C (addkey): return a FuncRequest
3857 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3859 * kbmap.C (bind): take a FuncRequest as arg, adjust
3862 (defkey): change to take a FuncRequest as arg, adjust
3863 (findbinding): take a FuncRequest as arg, adjust.
3865 * funcrequest.h (operator=): added
3867 * funcrequest.C (FuncRequest): default kb_action changed from
3868 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3870 * buffer.C (dispatch): simplify
3871 (dispatch): adjust to take a FuncRequest as arg, adjust
3873 * boost.C (assertion_failed): change assertion message slightly
3875 * ToolbarBackend.C (read): simplify
3877 * MenuBackend.C (binding): adjust call to findbinding, add a
3878 message if no binding is found.
3880 (expandToc): correct by adding a empty FuncRequest
3882 * LyXAction.C: include <boost/assert.hpp>
3883 (isPseudoAction): delete function
3884 (LookupFunc): change name to...
3885 (lookupFunc): this. change return type to FuncRequest.
3886 (getActionName): take kb_action as arg, simplify
3887 (funcHasFlag): add an assert, simplify.
3889 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3891 * toc.C (action): return a FuncRequest, simplify
3893 * lyxfunc.C (processKeySym): adjust
3894 (getStatus): delete version that takes an int.
3896 (dispatch): delete version that takes action as int
3898 (sendDispatchMessage): simplify and adjust
3900 * funcrequest.C (getArg): take unsigned int as arg
3902 * ToolbarBackend.C (read): adjust
3903 (add): delete version that takes func as a string.
3904 (getIton): take a FuncRequest as arg
3906 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3909 * MenuBackend.C (MenuItem): add a new construct that only takes a
3910 Kind, simplify the constructor use for submenus.
3912 (expandLastfiles): adjust
3913 (expandDocuments): adjust
3914 (expandFormats): adjust
3915 (expandFloatListInsert): adjust
3916 (expandFloatInsert): adjust
3917 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3919 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3920 Remove class variables lyx_pseudo_map and lyx_arg_map
3922 * LyXAction.C (searchActionArg): delete function
3923 (getPseudoAction): delete function
3924 (retrieveActionArg): delete function
3925 (LookupFunc): make it return kb_action, simplify.
3926 (getActionName): simplify
3928 * factory.C (createInset): fix new bug
3930 2003-09-19 Angus Leeming <leeming@lyx.org>
3932 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3933 masterFilename_ parameter in the include inset.
3935 * factory.C (createInset): changes due to the changes to InsetInclude.
3937 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3939 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3941 2003-09-18 Angus Leeming <leeming@lyx.org>
3944 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3945 Inset::fillWithBibKeys.
3946 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3948 2003-09-18 Angus Leeming <leeming@lyx.org>
3950 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3952 (ctor): pass and store a 'Buffer const &'
3953 (buffer): new member function.
3955 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3956 '*this' to the LaTeXFeatures ctor.
3958 2003-09-18 Angus Leeming <leeming@lyx.org>
3964 * text.C: rename EnumLColor as LColor_color.
3966 2003-09-18 Angus Leeming <leeming@lyx.org>
3968 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3969 remove #include "insets/insetbase.h" from cursor.h.
3971 2003-09-18 Angus Leeming <leeming@lyx.org>
3973 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3974 InsetOld_code to remove #include "inset.h".
3976 * iterators.C: add #include "insets/inset.h"
3978 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3980 * BufferView.C: remove more locking stuff that apparently doesn't
3981 do anything sensible.
3983 2003-09-16 André Pönitz <poenitz@gmx.net>
3986 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3989 2003-09-16 Angus Leeming <leeming@lyx.org>
3991 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3993 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3996 * paragraph.h: remove #include "lyxfont.h". Forward declare
3999 2003-09-16 Angus Leeming <leeming@lyx.org>
4001 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4002 of support/textutils.h.
4003 (isWord): move the contents of support/textutils.h's IsWordChar here.
4009 * text2.C: add #include "paragraph.h".
4012 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4014 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * LaTeX.C: use namespace alias for lyx::support::os
4022 2003-09-16 Angus Leeming <leeming@lyx.org>
4025 * bufferview_funcs.C:
4028 * paragraph_pimpl.C:
4030 * text.C: add #include "LColor.h".
4032 2003-09-16 Angus Leeming <leeming@lyx.org>
4034 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4035 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4037 Store the FontBits::color variable as an int rather than as an
4038 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4041 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4042 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4043 string calls together.
4045 * lyxrc.C: add #include "LColor.h".
4047 2003-09-15 Angus Leeming <leeming@lyx.org>
4049 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4052 2003-09-15 Angus Leeming <leeming@lyx.org>
4054 * LColor.h: add an EnumLColor wrapper for LColor::color.
4056 * lyxfont.[Ch] (color, setColor, realColor):
4057 * lyxtext.h, text.C (backgroundColor):
4058 pass EnumLColor args to/from the functions, rather than LColor::color
4062 * lyxtext.h: forward declare EnumLColor.
4064 * lyx_main.C: add #include "LColor.h".
4066 2003-09-15 Angus Leeming <leeming@lyx.org>
4068 * .cvsignore: add lyx-gtk.
4070 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * ParagraphParameters.C
4079 * bufferview_funcs.C
4089 * vc-backend.C: remove usage of STRCONV
4091 2003-09-15 Angus Leeming <leeming@lyx.org>
4093 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4094 explicitly define the color passed to the painter.
4096 2003-09-15 Angus Leeming <leeming@lyx.org>
4098 * bufferparams.C (BufferParams): reorder member initializers to avoid
4101 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4103 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4104 * text.C (updateRowPositions): remove an unusual nop
4106 2003-09-12 André Pönitz <poenitz@gmx.net>
4108 * BufferView_pimpl.C:
4117 * Counters.[Ch]: finish the 'automatic counters' job
4119 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4121 * aspell.C: include <boost/assert.cpp> (compile fix)
4123 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4125 * boost.C (assertion_failed): use lyx::support::abort instead of
4128 2003-09-10 Angus Leeming <leeming@lyx.org>
4130 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4131 with their _fwd progeny.
4133 2003-09-09 Angus Leeming <leeming@lyx.org>
4135 134 files throughtout the source tree: replace 'using namespace abc;'
4136 directives with the appropriate 'using abc::xyz;' declarations.
4138 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4140 * boost.C (emergencyCleanup): moved here from LAssert.c
4141 (assertion_failed): new function, called by BOOST_ASSERT
4143 * several files: change Assert to BOOST_ASSERT
4145 2003-09-09 Angus Leeming <leeming@lyx.org>
4147 * buffer.[Ch]: Add an Impl class and move Buffer's member
4148 variables into it. As a result move several header files out of
4151 Add header files to lots of .C files all over the tree as a result.
4153 2003-09-09 Angus Leeming <leeming@lyx.org>
4155 * buffer.[Ch]: make Buffer's member variables private. Add
4158 Lots of changes all over the tree as a result.
4160 2003-09-08 Angus Leeming <leeming@lyx.org>
4162 * graph.C: #include <config.h>.
4164 2003-09-08 Angus Leeming <leeming@lyx.org>
4168 * BufferView_pimpl.C:
4197 * toc.C: remove redundant using directives.
4199 2003-09-07 Angus Leeming <leeming@lyx.org>
4201 * LaTeXFeatures.h: remove #include "support/types.h".
4202 * ToolbarBackend.h: remove #include <algorithm>.
4203 * changes.h: remove #include <ctime>.
4204 * debug.h: remove #include <iosfwd>.
4205 * graph.h: remove #include "support/std_string.h".
4206 * lyx_main.h: remove #include <csignal>.
4207 * lyxlex_pimpl.h: remove #include <fstream>.
4208 * sgml.h: remove #include <algorithm>, <utility>.
4209 * toc.h: remove #include "support/std_ostream.h".
4210 Add #include <iosfwd>.
4212 2003-09-07 Angus Leeming <leeming@lyx.org>
4214 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4216 * converter.h: forward declare LatexRunParams.
4217 * encoding.h: remove #include "lyxrc.h".
4218 * lyxtext.h: remove #include "LColor.h".
4219 * lyxtextclass.h: remove #include "support/types.h".
4220 * trans.h: remove #include "tex-accent.h".
4221 * trans_mgr.h: remove #include "tex-accent.h".
4222 * insets/inset.h: remove #include "support/types.h", <vector>.
4223 * insets/insetcollapsable.h: remove #include "LColor.h".
4224 * insets/insetinclude.h: remove #include "dimension.h".
4225 * insets/insetlatexaccent.h: remove #include "dimension.h".
4226 * insets/insetoptarg.h:: remove #include "insettext.h".
4227 * insets/insettext.h: remove #include "dimension.h",
4228 <boost/shared_ptr.hpp>
4230 * insets/renderers.h: add #include "dimension.h".
4231 * insets/updatableinset.h: add #include "support/types.h".
4233 * many .C files: Associated changes.
4235 2003-09-06 Angus Leeming <leeming@lyx.org>
4237 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4238 one, inside testInvariant.
4240 * PrinterParams.C: new file.
4241 * PrinterParams.[Ch]: move the function bodies out of line.
4243 2003-09-06 Angus Leeming <leeming@lyx.org>
4245 * ParagraphParameters.h: forward declare ParameterStruct rather than
4246 including its header file.
4247 (depth): moved out-of-line.
4249 2003-09-06 Angus Leeming <leeming@lyx.org>
4251 * BufferView_pimpl.h:
4254 * lyxfunc.h: forward declare LyXKeySym rather than
4255 #include "frontends/LyXKeySym.h".
4257 * BufferView_pimpl.C:
4260 * lyxfunc.C: associated changes.
4262 2003-09-06 Angus Leeming <leeming@lyx.org>
4264 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4265 As a result, can remove the #include "insets/inset.h" from BufferView.h
4267 2003-09-06 Angus Leeming <leeming@lyx.org>
4269 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4270 As a result, can remove the #include "insets/inset.h" from BufferView.h
4272 2003-09-06 Angus Leeming <leeming@lyx.org>
4278 * bufferview_funcs.C:
4279 * BufferView_pimpl.C:
4284 * ParagraphParameters.C:
4289 * frontends/controllers/ControlDocument.C:
4290 * insets/insetcaption.C: rearrange the #includes into some sort of
4293 * buffer.h: remove #includes ErrorList.h, undo.h
4295 2003-09-06 Angus Leeming <leeming@lyx.org>
4297 * support/types.h: add a 'depth_type' typedef, used to store the
4298 nesting depth of a paragraph.
4301 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4302 defining explicitly.
4305 * paragraph_funcs.h:
4306 * ParagraphParameters.h:
4307 * sgml.h: use lyx::depth_type rather than Paragraph or
4308 ParameterStruct's depth_type.
4311 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4314 * BufferView_pimpl.C:
4316 * ParagraphParameters.C:
4319 * bufferview_funcs.C:
4326 * frontends/LyXView.C:
4327 * frontends/controllers/ControlDocument.C:
4328 * frontends/controllers/ControlErrorList.C:
4329 * insets/insetbibitem.C:
4330 * insets/insetbranch.C:
4331 * insets/insetcaption.C:
4332 * insets/insetcollapsable.C:
4333 * insets/insetenv.C:
4334 * insets/insetert.C:
4335 * insets/insetfloat.C:
4336 * insets/insetfoot.C:
4337 * insets/insetfootlike.C:
4338 * insets/insetnewline.C:
4339 * insets/insetquotes.C:
4340 * insets/insettabular.C:
4341 * insets/insettext.C:
4342 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4344 * frontends/controllers/ControlChanges.C: #include "changes.h".
4346 2003-09-06 Angus Leeming <leeming@lyx.org>
4348 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4349 than #including paragraph.h.
4352 * RowList.h: deleted. Superfluous.
4362 * insets/insettext.h: use ParagraphList_fwd.h rather than
4365 * paragraph.h: don't forward declare ParagraphList.
4368 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4369 rather than ParagraphList.h. paragraph.h is still needed for the
4370 Paragraph::depth_type parameters.
4372 * textcursor.h: enable it to compile stand-alone in light of the
4375 * bufferview_funcs.C:
4387 * frontends/controllers/ControlParagraph.C:
4388 * frontends/controllers/ControlTabular.C:
4389 * insets/insetmarginal.C:
4390 * insets/insetminipage.C:
4391 * insets/insetnote.C:
4392 * insets/insetoptarg.C: add header files needed to compile again.
4394 2003-09-06 Angus Leeming <leeming@lyx.org>
4396 * RowList_fwd.h: new file, forward-declaring Row rather than
4397 #including lyxrow.h.
4402 * insets/insettext.h: use it instead of RowList.h
4404 * bufferview_funcs.C:
4411 * text3.C: #include "RowList.h".
4413 2003-09-05 Angus Leeming <leeming@lyx.org>
4415 * factory.C (createInset):
4416 * vspace.C (c-tor): replace sscanf call with an istringstream.
4417 * ispell.C: re-add missing HP/UX headers.
4418 * lyxserver.C: re-add missing os2 headers.
4420 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4429 * text3.C: re-add missing system headers, needed for 2.95.2.
4431 2003-09-05 Angus Leeming <leeming@lyx.org>
4433 Changes most place everywhere due to the removal of using directives
4434 from support/std_sstream.h.
4436 2003-09-05 Angus Leeming <leeming@lyx.org>
4438 Replace LString.h with support/std_string.h,
4439 Lsstream.h with support/std_sstream.h,
4440 support/LIstream.h with support/std_istream.h,
4441 support/LOstream.h with support/std_ostream.h.
4443 Changes resulting throughout the tree.
4445 2003-09-05 Angus Leeming <leeming@lyx.org>
4447 * sgml.h: ensure that the header file can be compiled stand-alone.
4448 * *.C: strip out redundant #includes. (320 in total.)
4450 2003-09-04 Angus Leeming <leeming@lyx.org>
4452 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4453 here (from getPackages).
4455 * debug.[Ch]: add a new EXTERNAL tag.
4457 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4459 * text2.C (cursorEnd): simplify
4461 (getColumnNearX): adjust
4463 * text.C (computeBidiTables): adjust
4466 * rowpainter.C (paintChars): adjust
4467 (paintSelection): adjust
4468 (paintChangeBar): adjust
4471 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4473 (numberOfSeparators): adjust
4475 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4481 * text3.C: Restricts the mouse click functionality
4482 of insets like bibtex, include, toc and floatlist to the visible
4483 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4484 up the dialogs. Cursor has to be in front of the inset (i.e.
4485 start of row) for this to function.
4487 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4489 * bufferview_funcs.C (currentState): output row information
4491 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4493 * bufferview_funcs.C (currentState): output paragraph position
4495 2003-09-04 Angus Leeming <leeming@lyx.org>
4497 * FloatList.h: move out #include "Floating.h".
4498 * LaTeX.h: move out #include "DepTable.h".
4499 * LyXAction.h: move out #include "funcrequest.h".
4500 * buffer.h: move out #include "author.h", "iterators.h".
4501 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4502 * lyx_main.h: move out #include "errorlist.h".
4503 * lyxfunc.h: move out #include "FuncStatus.h".
4504 * lyxtext: move out #include "lyxcursor.h".
4505 * paragraph_pimpl.h: move out #include "counters.h".
4507 2003-09-03 Angus Leeming <leeming@lyx.org>
4509 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4510 preamble_snippets list, enabling us to add snippets to the preamble
4511 only if the snippet was not there already.
4513 2003-09-04 Angus Leeming <leeming@lyx.org>
4515 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4517 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4522 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4524 * BranchList.C: point fix, earlier forgotten
4526 2003-09-02 Angus Leeming <leeming@lyx.org>
4528 * box.C (contains): renamed from 'contained' after a fantastic
4531 2003-09-02 John Levon <levon@movementarian.org>
4537 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4539 2003-09-02 John Levon <levon@movementarian.org>
4541 * text2.C: simplification of cursorEnd(), including partial
4544 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4546 * buffer.C (readFile): add a space
4548 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4550 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4552 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4554 * buffer.C (readFile): new function, take a filename and a
4555 ParagraphList::iterator
4557 (readFile): adjust, make it private. don't use setStream, make
4558 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4559 always contain the filename.
4561 * BufferView.C (insertLyXFile): simplify and make it work for
4564 2003-08-30 John Levon <levon@movementarian.org>
4566 * Makefile.am: fix dist (from Kayvan)
4568 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4570 * most files: change to use const Buffer refs
4572 2003-08-27 André Pönitz <poenitz@gmx.net>
4574 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4575 on top of ownerPar().
4577 2003-08-27 John Levon <levon@movementarian.org>
4579 * funcrequest.C: properly initialise POD members
4581 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4583 * lyxtext.h (top_y): move top_y from here
4588 * BufferView_pimpl.[Ch]: to here
4589 * frontends/screen.C:
4590 * insets/insettabular.C:
4591 * insets/insettext.C: adjust
4592 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4594 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4597 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4599 2003-08-26 André Pönitz <poenitz@gmx.net>
4601 * paragraph_func.[Ch] (outerPar): new function
4604 * paragraph_funcs.C:
4605 * paragraph_funcs.h:
4606 * paragraph_pimpl.C:
4607 * text2.C: remove Inset::par_owner
4609 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4614 * text2.C: eliminates the needFullRow/display() stuff
4615 altogether, putting the logic in metrics/draw in the insets.
4617 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4619 * text2.C (redoParagraphInternal, redoParagraphs):
4620 * text.C (redoParagraph): add a call to updateRowPositions at the
4621 end of each 'metrics-like' call. Remove all others.
4622 (getRow): remove the 'y-computing' version.
4623 (getRowNearY): do not compute nor return the real y. Solve the
4624 'y < 0' problem and simplify.
4626 2003-08-22 Angus Leeming <leeming@lyx.org>
4628 * *.[Ch]: clean-up of licence and author blurbs.
4629 Also move config.h out of a few .h files and into a few .C files.
4631 2003-08-22 André Pönitz <poenitz@gmx.net>
4633 * lyxrow.[Ch]: add x_ and *fill_ members
4638 * text2.C: adjust/remove prepareToPrint() calls
4640 2003-08-22 André Pönitz <poenitz@gmx.net>
4642 * lyxrow.[Ch]: add end_ member
4644 * lyxrow_funcs.C: use LyXRow::end_
4646 * lyxtext.h (singleWidth): add LyXFont parameter
4649 * text2.C: adjust LyXText::singleWidth() calls
4651 * text.C (redoParagraph): simplify row breaking logic
4654 2003-08-19 André Pönitz <poenitz@gmx.net>
4656 * funcrequest.C: initialize button_ member
4659 * rowpainter.[Ch]: interface consolidation
4661 2003-08-18 André Pönitz <poenitz@gmx.net>
4664 * BufferView_pimpl.C:
4666 * paragraph_funcs.C:
4668 * text3.C: remove LyXScreen::draw() and fitCursor calls
4670 * BranchList.h: remove spurious semicolons
4672 * MenuBackend.C: fix branchlist related crash
4674 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4682 * bufferparams.[Ch]:
4686 * text3.C: implements the 'branch inset'
4687 idea. This allows the output of various versions of a document
4688 from a single source version, selectively outputing or suppressing
4689 output of parts of the text.
4690 This implementation contains a 'branch list editor' in a separate
4691 tab of the document settings dialog. Branches are user definable
4692 and have a "display colour" to distinguish them on-screen.
4694 ColorHandler was somewhat cleaned up.
4695 (1) make possible a dynamically growing LColor list by allowing
4696 the graphic context cache to grow along (vector);
4697 (2) eliminate an IMHO unnecessary step in colour allocation.
4699 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4701 * BufferView_pimpl.C: compile fix
4703 2003-08-15 André Pönitz <poenitz@gmx.net>
4705 * rowpainter.C: remove extra metrics calls
4707 * lyxtext.h: merge the two constructors into a single one,
4708 pass reference to owner's par list
4710 * BufferView_pimpl.C:
4714 2003-08-15 André Pönitz <poenitz@gmx.net>
4716 * lyxrow_funcs.[Ch]:
4719 * paragraph_funcs.C:
4724 * text_funcs.C: split LyXText::rowlist_ into individual
4725 Paragraph::rows_ chunks
4728 * BufferView_pimpl.[Ch]:
4731 * text3.C: remove toggleSelection()
4733 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4735 * bufferlist.C: beautify two alerts (shorter text of buttons)
4736 * buffer.C: Remove redundant ' ' from message
4738 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4739 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4740 rename VALIGN_CENTER to VALIGN_MIDDLE
4742 2003-08-11 André Pönitz <poenitz@gmx.net>
4744 * lyxtext.h (getPar):
4745 * text.C: new function
4747 2003-08-11 André Pönitz <poenitz@gmx.net>
4750 * tracer.[Ch]: remove unneeded files
4752 * InsetList.[Ch]: remove resizeInsetsLyXText()
4757 * text3.C: merge insertParagraphs() and appendParagraph()
4758 remove breakAgain(), update()
4760 * BufferView_pimpl.[Ch]:
4761 * bufferview_funcs.[Ch]:
4765 * tabular.C: adjust after text & InsetList changes.
4767 2003-08-08 André Pönitz <poenitz@gmx.net>
4769 * text.C (insertChar, backspace): replace rowlist fiddling
4770 with rebreak of full par
4773 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4774 checkParagraph, updateInset): removed
4776 2003-08-07 André Pönitz <poenitz@gmx.net>
4779 * text3.C: merge some LFUN handlers, remove dead code
4781 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4783 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4785 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4787 * text2.C (DEPM): fix part of bug 1255 and 1256
4789 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4791 * BufferView_pimpl.C (workAreaDispatch): change to use
4792 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4793 that are no mouse related.
4795 2003-08-05 André Pönitz <poenitz@gmx.net>
4798 * BufferView_pimpl.[Ch]:
4799 * bufferview_funcs.C:
4801 * text3.C: rip out "deep update"
4803 * textcursor.[Ch] (last_sel_cursor): remove unused member
4805 2003-08-04 André Pönitz <poenitz@gmx.net>
4808 * BufferView_pimpl.[Ch]:
4809 * ParagraphParameters.C:
4810 * bufferview_funcs.C:
4816 * text3.C: replace "complicated" BufferView::update(...) calls with
4819 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4821 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4823 * Makefile.am (lyx_SOURCES): add paper.h
4825 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4827 * Makefile.am: move things around so that both lyx-qt and
4828 lyx-xforms can be built (according to --with-frontend). Then lyx
4829 is a symbolic link to lyx-[firstfrontend]
4831 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4833 * Always use std::endl with lyxerr
4835 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4837 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4839 2003-08-01 André Pönitz <poenitz@gmx.net>
4842 * BufferView_pimpl.[Ch]:
4844 * text3.C: merge BufferView::repaint() and BufferView::update()
4846 2003-08-01 José Matos <jamatos@lyx.org>
4848 * buffer.[Ch]: file_format is no longer a buffer data element.
4850 2003-08-01 André Pönitz <poenitz@gmx.net>
4855 * text2.C: make redoParagraph more independent of current cursor
4857 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4859 * text2.C: remove unneeded members
4861 2003-07-30 André Pönitz <poenitz@gmx.net>
4863 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4865 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4866 create a single function...
4868 * paragraph_funcs.C (moveItem): ... here.
4871 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4873 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4875 * LColor.[Ch]: Add comment and greyedout logical colors.
4877 2003-07-30 André Pönitz <poenitz@gmx.net>
4879 * tabular.C: don't use Assert too heavily. This crashes where it
4882 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4884 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4885 is disabled (bug 1232)
4887 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4889 * factory.C: limited 'arg' scope
4891 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4893 * factory.C: fixed Note submenu issues
4895 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4897 * factory.C: submenu for Note/Comment/Greyedout
4899 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4902 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4904 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4907 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4908 greyedout. Patch provided by Jürgen Spitzmüller.
4910 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4912 * kbmap.C (read): fix error message when reading bind files
4914 2003-07-29 Angus Leeming <leeming@lyx.org>
4916 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4917 certainly does not do what it purports to do. I am doing it, and
4918 us, a favour by killing it.
4920 2003-07-28 José Matos <jamatos@lyx.org>
4922 * buffer.C (readBody, do_writeFile):
4923 * paragraph.C(readParagraph): \end_document replaces \the_end.
4925 2003-07-29 André Pönitz <poenitz@gmx.net>
4928 * BufferView_pimpl.[Ch]:
4932 * textcursor.[Ch]: remove toggleToggle & Co
4934 2003-07-28 José Matos <jamatos@fep.up.pt>
4936 * buffer.C (readParagraph):
4937 * params_func (readParToken, readParagraph):
4938 * paragraph.C (write): \layout -> \begin_layout.
4940 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4942 * lyxlex_pimpl.C (setFile): clean up slightly.
4944 * bufferparams.h: add compressed var
4946 * buffer_funcs.C (readFile): adjust for LyXLex change
4947 (newFile): ditto + simplify
4949 * buffer.C (writeFile): handle writing of compressed files
4951 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4952 Check if the file is compressed and set a bufferparm if so.
4954 * Makefile.am (lyx_LDADD): remove explicit -lz
4956 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4958 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4959 makeDocBookFile): put the real LyX version in the first line of
4963 * version.C.in: remove lyx_docversion
4965 * tabular.C (write_attribute): add a template-based version to
4966 write enums properly
4968 2003-07-28 André Pönitz <poenitz@gmx.net>
4973 * text3.C: use doubles again for x-coordinates. They are needed.
4975 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * messages.C (getLocaleDir): use lyx_localedir()
4979 * lyxlex_pimpl.C (setFile): compress stuff
4981 * buffer.C (writeFile): add some compression stuff
4982 (do_writeFile): new func, dont call expliti close... will this
4985 * Makefile.am (lyx_LDADD): add -lz
4987 2003-07-28 José Matos <jamatos@fep.up.pt>
4989 * buffer.C: increment file format.
4990 * paragraph_funcs (readParagraph, readParToken):
4991 * paragraph.C (readParagraph): add \end_layout.
4993 2003-07-27 Angus Leeming <leeming@lyx.org>
4995 * Makefile.am: remove special casing for configure-time setting of
4996 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4998 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4999 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5001 2003-07-26 André Pönitz <poenitz@gmx.net>
5003 * paragraph_func.[Ch]:
5004 * paragraph.C (realizeFont): inline it whereever it is used
5009 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5012 2003-07-26 André Pönitz <poenitz@gmx.net>
5016 * text2.C: get rid of LyXText::need_break_row
5018 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5020 * toc.[Ch]: put namespace toc inside namespace lyx
5022 * MenuBackend.C (expandToc2): adjust for lyx::toc
5025 * lyxfunc.C (dispatch): adjust for lyx::find
5027 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5028 lyx::find instead. Reorganize a bit.
5029 (LyXReplace): rename to replace
5030 (LyXFind): rename to find
5032 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5035 2003-07-26 André Pönitz <poenitz@gmx.net>
5037 * text.C (setHeightOfRow): restrict scope of temporary variable
5039 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5040 code (never has been used?)
5042 2003-07-27 Asger Alstrup <alstrup@local>
5044 * text.C (fill): Optimise algorithm to exploit that we can reuse
5045 the LyXFont for many characters.
5046 (setHeightOfRow): Same thing.
5047 (rowBreakPoint): Same thing.
5049 2003-07-26 Asger Alstrup <alstrup@local>
5051 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5053 * text.C (singleWidth): Spurious font copying in hot-spot
5054 singleWidth avoided. Reorder tests for arabic for efficiency.
5056 * text.C (fill): handle empty paragraphs better.
5058 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5061 * encoding.h: add includes
5063 * lyxrc.C: remove reading of bind files
5065 * lyx_main.C (init): setup bindings and menus only if we have a
5068 * kbmap.C (read): new method. Do the actual reading of bind
5071 * converter.C (dvipdfm_options):
5074 (output): adapt PAPER_* enums.
5076 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5078 * bufferparams.h: remove paper-related enums from there
5080 * paper.h: New file. A trivial header file to hold paper-related
5081 enums. It should later expand to contain many paper-related
5084 * lyxrc.C: declare extern displayTranslator
5086 2003-07-27 José Matos <jamatos@fep.up.pt>
5088 * tabular.[Ch] (linuxdoc): add support for tables and figures
5091 2003-07-27 José Matos <jamatos@fep.up.pt>
5093 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5094 consistency in both functions.
5095 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5097 2003-07-26 Asger Alstrup <alstrup@local>
5099 * rowpainter.C (paintRows): Change algorithm to work directly on
5100 the insets rather than asking every character in the document
5101 whether its an inset.
5103 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5105 * buffer.C (openFileWrite): factorize some code
5107 2003-07-26 Angus Leeming <leeming@lyx.org>
5110 * lyx_main.[Ch]: replace occurances of system_tempdir with
5113 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * rename Inset to InsetOld
5117 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5119 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5120 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5121 which I think is a bit clearer. EDIT is gone, since it was
5122 premature optimisation, and broken for mathed anyway.
5123 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5124 with cursor positioning in insets as well (math insets still do not
5125 work, but that's a different story anyway.) It mysteriously
5126 crashes sometimes with undo in the first paragraph, but I'm fairly
5127 confident that this is a compiler bug.
5129 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * paragraph.C (Paragraph): adjust for new clone return type
5133 (copyIntoMinibuffer): ditto
5135 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5137 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5138 by not having a special case, and always doing a full rebreak of
5139 the document after undo.
5141 2003-07-23 Angus Leeming <leeming@lyx.org>
5143 * factory.C (createInset): InsetExternal::setParams now takes a
5146 2003-07-23 Angus Leeming <leeming@lyx.org>
5148 * factory.C (createInset): changed interface to the external and
5149 graphics mailers' string2params functions.
5151 2003-07-23 Angus Leeming <leeming@lyx.org>
5153 * factory.C (createInset): pass a
5154 Buffer const * parameter to InsetExternalMailer's string2params.
5156 2003-07-22 John Levon <levon@movementarian.org>
5158 * Thesaurus.h: include the right aiksaurus header
5160 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5162 * MenuBackend.C (expand): check menu shortcuts unconditionally
5164 2003-07-21 Angus Leeming <leeming@lyx.org>
5166 * factory.C (createInset): pass a
5167 buffer_path parameter to InsetGraphicsMailer's string2params.
5169 2003-07-21 Angus Leeming <leeming@lyx.org>
5171 * BufferView_pimpl.C (buffer):
5174 * lyxfunc.C (dispatch):
5175 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5176 rather than the grfx shortcut.
5178 2003-07-21 André Pönitz <poenitz@gmx.net>
5180 * rowpainter.C: remove unused variables
5183 * tabular_funcs.h: move to tabular.C
5184 * Makefile.am: adjust
5186 * tabular.[Ch]: basic optical cleaning
5188 * author.h: pass references, not values
5190 2003-07-18 André Pönitz <poenitz@gmx.net>
5198 * text3.C: two-phase drawing for InsetText and InsetTabular
5199 some float -> int changes.
5201 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5203 * lyx_main.C: fix the fix
5205 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5207 * lyx_main.C: fix a crash in batch mode if no files specified
5210 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5212 * format.[Ch] (papersize): moved to BufferParams
5213 * converter.[Ch] (dvips_options): moved to BufferParams
5214 (dvipdfm_options): moved to anon namespace
5215 * bufferparams.[Ch]: added above functions.
5217 2003-07-17 André Pönitz <poenitz@gmx.net>
5221 * text2.C: don't call inset->update() anymore
5223 * metricsinfo.[Ch]: add convenience constructor
5225 2003-07-16 André Pönitz <poenitz@gmx.net>
5230 * text2.C: replace the LyXCursor::irow_ member with
5231 on-demand computation of the value
5233 2003-07-16 John Levon <levon@movementarian.org>
5235 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5237 2003-07-15 André Pönitz <poenitz@gmx.net>
5240 * text2.C: remove no more needed refresh_row
5242 2003-07-15 André Pönitz <poenitz@gmx.net>
5247 * text3.C: refresh_status tristate -> need_update bool
5249 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5251 * lyxtext.h (init): remove reinit argument (act as if always true)
5252 * text2.C: adjust to that
5254 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5256 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5257 * text3.C: use it to delete selections in some cases
5258 (bugs 441, 673, 702, 954).
5260 2003-07-14 André Pönitz <poenitz@gmx.net>
5262 * rowpainter.[Ch]: reduce interface
5264 2003-07-14 André Pönitz <poenitz@gmx.net>
5266 * BufferView_pimpl.C:
5267 * text2.C: adjust after removing unused BufferView * argument
5269 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5271 * text2.C (init): fix a crash fired on resize
5273 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5275 * buffer.[Ch]: added new closing signal
5276 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5277 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5278 BufferView::Pimpl via the closing the signal
5280 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5282 * buffer.[Ch]: take out all bv-related from buffer
5284 * BufferView_pimpl.[Ch]: connect to new signals
5285 * CutAndPaste.C: removed useless asserts
5286 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5289 * lyxfunc.C: moved view-related funciontality from vc here
5290 * paragraph.C: removed outdated comments
5293 2003-07-10 André Pönitz <poenitz@gmx.net>
5295 * BufferView_pimpl.C:
5299 * text2.C: remove InsetText::InnerCache, clean up consequences
5301 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5303 * ispell.C: fix two typos in error messages
5305 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5307 * Extend Note inset to other forms of annotation like Comment
5308 and Greyedout. Right button click gives dialog.
5310 Files modified or added (+):
5314 * ControlNote.[Ch] +
5316 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5317 frontends/controllers
5321 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5323 * aspell.C: add missing namespace lyx::support
5325 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5327 * BufferView.[Ch] (newFile): Add
5328 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5329 * LaTeX.[Ch] (message): added this signal and use it
5330 * buffer.[Ch] (busy, message): added these signals and use them
5331 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5335 * importer.C: use buffer signals instead of direct bv calling
5336 * lyx_cb.[Ch] (ShowMessage): removed
5339 * paragraph_funcs.C:
5340 * text2.C: use buffer signals
5342 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5344 * introduce namespace lyx::graphics
5346 2003-07-02 André Pönitz <poenitz@gmx.net>
5348 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5350 2003-07-01 André Pönitz <poenitz@gmx.net>
5357 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5358 text*.C to text_func.C
5360 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5362 * introduce namespace lyx::support
5364 2003-06-30 André Pönitz <poenitz@gmx.net>
5369 * text.C: re-enable --with-included-string
5371 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5373 * textcursor.C: add <config.h>
5375 * text.C (getWord): remove const from word_location arg
5377 * lyxvc.C (getLogFile): fix const type order
5379 * lyxtext.h: remove const from word_location arg, add arg name
5381 * lyxlayout.h: currect type on labeltype.
5383 * importer.C: correct \file
5385 * converter.C (intToFormat): use std:: on ret val, ws changes
5387 * bufferlist.h: correct \file
5389 * buffer.C (makeLinuxDocFile): fix const type order
5390 (makeDocBookFile): ditto
5391 (fillWithBibKeys): use std:: on stdlib args.
5393 * CutAndPaste.C: fix authors.
5394 (availableSelections): use std:: on return vector
5396 2003-06-27 André Pönitz <poenitz@gmx.net>
5398 * BufferView_pimpl.C:
5399 * bufferview_funcs.C:
5407 * text3.C: remove LyXCursor::row_ member
5410 * text.C: rename fullRebreak() to partialRebreak() and implement
5411 a fullRebreak() that really bereks fully
5413 * textcursor.h: new struct for cursor-related data
5415 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5417 * lyx_main.C (LyX): get full path of document loaded on the
5420 2003-06-26 André Pönitz <poenitz@gmx.net>
5422 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5423 remove unused/broken operator>,<,>=.
5425 * text.C: remove only use of broken operator<= in an Assert().
5427 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5429 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5430 moved errorlist_.clear to showErrorList
5432 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5434 * converter.C (scanLog, runLaTeX):
5435 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5436 move the bv->showErrorList call to the callers
5437 * lyxfunc.C: i.e. here...
5439 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5440 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5441 namespace, the second to...
5442 * buffer_funcs (BufferFormat, parseErrors): added
5443 * errorlist.C (ErrorList(TeXErrors const &)): removed
5445 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5447 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5449 2003-06-24 "Garst R. Reese" <reese@isn.net>
5453 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5455 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5457 * version.C.in: change docversion to 1.4
5459 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5461 * buffer.C: fix a bug just introduced
5463 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5465 * buffer.[Ch]: added the parseError signal and use it, removed
5467 * BufferView.[Ch] (addError): moved to ...
5468 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5469 to the Buffer::parseError signal to catch (guess what) parse errors
5470 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5472 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5474 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5475 ability to create a buffer and to return an existing one from
5476 the list. Moved these functions to...
5477 * buffer_funcs.[Ch]: added
5478 * BufferView.[Ch] (loadLyXFile): added
5479 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5480 job removed from bufferlist::loadLyXFile.
5481 * buffer.C (setReadOnly): make it work without view
5482 (i.e added an if (users))
5484 2003-06-19 Angus Leeming <leeming@lyx.org>
5487 * LyXAction.C (init):
5488 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5489 with LFUN_DIALOG_SHOW <name> <data>.
5491 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5493 * CutAndPaste.C (availableSelections): small compilation fix for
5494 ancient (gcc 2.9x) compilers
5496 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5498 * text3.C (cursorNext): add tmp var
5500 * text2.C (updateCounters): for function calling out of for clause
5501 (replaceSelectionWithString): ditto
5502 (insertStringAsParagraphs): ditto
5503 (getColumnNearX): add tmp var
5504 (setCursorFromCoordinates): add tmp var
5505 (cursorDownParagraph): add tmp var
5506 (deleteEmptyParagraphMechanism): add tmp var
5508 * text.C (insertChar): add tmp var
5510 * rowpainter.C (paintDepthBar): add tmp var
5512 * CutAndPaste.C (availableSelections): potentially check all
5513 paragraphs in a cut to fill the shown strings.
5515 2003-06-18 André Pönitz <poenitz@gmx.net>
5517 * kbmap.[Ch]: use vector<> instead of list<>
5519 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5521 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5522 pasteSelection with index
5524 * text2.C (pasteSelection): modify, call pasteSelection with index
5526 * paragraph.C (asString): reimplement version with no interval to
5527 call the one with interval.
5529 * lyxtext.h: add index arg to pasteSelection
5531 * MenuBackend.C (MenuItem): handle PasteRecent
5532 (Menu::read::Menutags): add md_pasterecent
5534 (expandPasteRecent): new function
5537 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5539 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5541 (availableSelections): new function
5543 2003-06-17 Angus Leeming <leeming@lyx.org>
5545 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5547 2003-06-17 Angus Leeming <leeming@lyx.org>
5550 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5552 * lyxfunc.C (dispatch): invoke it.
5554 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5556 * iterators.C (operator++, ParPosition): reintroduce some
5557 const_cast for the benefit of older compilers.
5559 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5561 * text3.C (dispatch): do not modify clipboard when doing
5562 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5563 LFUN_DELETE_SKIP on a selection selection
5565 2003-06-16 André Pönitz <poenitz@gmx.net>
5571 * tabular.[Ch]: IU of clone() and getLabelList();
5573 2003-06-13 André Pönitz <poenitz@gmx.net>
5575 * tabular.h: compactification
5577 2003-06-12 André Pönitz <poenitz@gmx.net>
5581 * tabular_funcs.h: some renaming plus whitespace
5583 2003-06-12 André Pönitz <poenitz@gmx.net>
5586 * BufferView_pimpl.C:
5592 * toc.C: Return a Paragraph & for ParIterator::operator*()
5594 2003-06-11 John Levon <levon@movementarian.org>
5598 * ToolbarBackend.C: add "Toolbars" section and
5601 2003-06-10 Angus Leeming <leeming@lyx.org>
5604 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5606 * lyxfunc.C (dispatch): invoke it.
5608 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5610 * main.C: protect <ios> with HAVE_IOS
5611 (main): protect sync_with_stdio with HAVE_IOS
5613 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5615 * text2.C (cutSelection): adjust
5616 (pasteSelection): adjust
5618 * messages.C: handle get of empty string
5620 * main.C (main): use sync_with_stdio(false)
5622 * lyxfunc.C (dispatch): adjust
5624 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5625 (WriteAs): remove unneeded BufferView arg.
5627 * bufferparams.h: use correct types on papersize, papersize2 and
5630 * bufferparams.C (readToken): adjust for type
5631 (writeLaTeX): add missing cases to switch.
5633 * bufferlist.C (quitWriteBuffer): adjust
5636 * buffer.C (asciiParagraph): remove some commented code.
5638 * CutAndPaste.C: remove current_view extern variable.
5639 (cutSelection): add BufferParams arg.
5640 (eraseSelection): add BufferParams arg.
5641 (pasteSelection): add Buffer const & arg
5643 2003-06-07 John Levon <levon@movementarian.org>
5646 * paragraph_funcs.C:
5647 * paragraph_pimpl.C:
5651 * paragraph.C: allow InsetERT to freely space lines,
5652 and some consolidation of code
5654 2003-06-06 José Matos <jamatos@fep.up.pt>
5656 * buffer.C (makeDocBookFile): fix bug #821
5658 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5660 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5662 2003-06-04 Angus Leeming <leeming@lyx.org>
5664 * buffer.C: bump format to 224.
5666 2003-06-05 André Pönitz <poenitz@gmx.net>
5668 * text2.C (redoParagraphs): remove two const_cast<>
5670 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5672 * ParagraphList.h: remove last remnants of NO_STD_LIST
5674 2003-06-03 Angus Leeming <leeming@lyx.org>
5676 * factory.C (createInset): small change to the way InsetExternal's params
5679 2003-06-04 André Pönitz <poenitz@gmx.net>
5681 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5683 * paragraph_pimpl.h:
5684 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5686 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5688 * undo_funcs.C: make some simple cases of undo work again
5690 2003-06-03 John Levon <levon@movementarian.org>
5692 * ispell.C: HPUX doesn't have sys/select.h
5695 2003-06-03 John Levon <levon@movementarian.org>
5697 * CutAndPaste.C: update tabular and include inset
5702 * paragraph.C: remove owningBuffer(), don't pass Buffer
5705 * factory.C: insetGraphicsParams changed
5707 2003-06-02 John Levon <levon@movementarian.org>
5713 * text3.C: remove insetparent
5715 2003-06-02 John Levon <levon@movementarian.org>
5718 * buffer.C: fix inset_iterator.end(), move out of line
5721 2003-06-01 John Levon <levon@movementarian.org>
5723 * text3.C: use a proper cut/paste when doing inset
5724 insert (from Jürgen Spitzmüller)
5726 2003-06-01 John Levon <levon@movementarian.org>
5728 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5730 2003-05-30 André Pönitz <poenitz@gmx.net>
5732 * rowpainter.C: unify second drawing phase
5734 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5736 * trans_mgr.C: remove one case of current_view
5738 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5740 * paragraph_funcs.h: remove paragraph.h include
5742 * paragraph.h: delete NO_STD_LIST stuff
5744 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5746 * buffer.h: remove paragraph.h include
5748 * ParagraphList.C: delete file
5750 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5752 * toc.C (getTocList): adjust
5754 * paragraph_pimpl.C (validate): adjust
5756 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5758 * paragraph.C (Paragraph): adjust
5759 (getPositionOfInset): use const_iterator, adjust
5760 (bibitem): use const_iterator, adjust
5761 (setInsetOwner): adjust
5763 * iterators.C (operator++): adjust
5765 * InsetList.[Ch]: Replace selfmade iterator with standard
5766 vector::iterator also introduce const_iterator. Remove getPos,
5767 getInset and setInset from InsetTable. Adjust accordingly.
5769 * BufferView.C (lockInset): adjust
5770 (ChangeInsets): adjust
5772 * tabular.[Ch]: delete commented same_id functions
5774 2003-05-28 John Levon <levon@movementarian.org>
5776 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5778 2003-05-28 André Pönitz <poenitz@gmx.net>
5780 * metricsinfo.[Ch]: remove 'fullredraw' member
5782 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5784 * lyxtextclass.C (operator): remove caching.
5786 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * text2.C (cursorBottom): adjust
5791 (setCounter): use ParagraphList::find, adjust
5793 * text.C (workWidth): use ParagraphList::find, adjust
5795 * lyxcursor.C (LyXCursor): adjust
5797 * buffer.C (inset_iterator): adjust
5799 * ParagraphList.h: make iterator(value_type) private, make
5800 ParagraphList a friend of iterator.
5802 * ParagraphList.C (find): new function
5804 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5806 2003-05-27 André Pönitz <poenitz@gmx.net>
5808 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5810 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5812 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5814 2003-05-26 John Levon <levon@movementarian.org>
5816 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5818 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5820 * remove same_id from function signatures, adjust.
5822 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5826 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5828 * paragraph.C (Paragraph): get rid of same_ids parameter
5830 * ParagraphList.C (insert): adjust
5833 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * paragraph_funcs.C (breakParagraph): adjust
5836 (breakParagraphConservative): adjust
5838 * buffer.C (readParagraph): adjust
5840 * ParagraphList.C (insert): take a reference instead of a pointer
5843 * paragraph.[Ch] (id): new function
5845 * bufferlist.C (newFile): adjust
5847 * ParagraphList.C (ParagraphList): adjust
5849 (push_back): take a reference instead of a pointer.
5851 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5853 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5856 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5857 set else use old code.
5859 * ParagraphList.C: remove all NO_NEXT code and only compile this
5860 code of NO_STD_LIST is set.
5862 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5864 * BufferView_pimpl.C:
5874 * graphics/GraphicsConverter.C:
5875 * graphics/PreviewLoader.C: header adjustment
5877 2003-05-23 Angus Leeming <leeming@lyx.org>
5879 * LaTeXFeatures.[Ch] (useBabel): new method.
5880 * bufferparams.C (writeLaTeX): use it.
5882 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * ParagraphList.h (set): remove unused function.
5886 2003-05-23 André Pönitz <poenitz@gmx.net>
5889 * BufferView_pimpl.C:
5893 * undo_funcs.C: setUndo reworked
5895 * iterators.[Ch]: add access to topmost ParagraphList
5897 * lyxtext.[Ch] (workWidth): add a const
5899 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5901 * texrow.[Ch] (increasePos): remove function
5902 * exporter.C (export): removed unused var and outdated comment
5904 2003-05-23 Angus Leeming <leeming@lyx.org>
5906 * latexrunparams.h: rename fragile as moving_arg.
5907 * paragraph.C (simpleTeXOnePar): ditto.
5908 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5914 (textUndoOrRedo): comment out a currently unused var.
5916 * paragraph.h (NO_NEXT): enable NO_NEXT
5918 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5920 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5922 * exporter.C (Export): adjust for removeAutoInsets removal.
5924 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5926 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5928 * BufferView.[Ch] (removeAutoInsets): delete function
5930 2003-05-22 Angus Leeming <leeming@lyx.org>
5932 * latexrunparams.h: add a free_spacing variable.
5934 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5935 to pass moving_arg, as the data is stored in runparams.fragile.
5937 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5938 to Inset::latexOptional or to simpleTeXOnePar.
5940 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5941 free_spacing arg to Inset::latexOptional.
5943 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5946 2003-05-22 Angus Leeming <leeming@lyx.org>
5948 * latexrunparams.h: add fragile and use_babel variables.
5950 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5951 * buffer.C (makeLaTeXFile): store this returned value in
5952 runparams.use_babel, thus passing it to the inset::latex methods.
5954 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5955 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5957 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5958 longer has a fragile arg, as it is stored in runparams.fragile.
5960 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5961 moving_arg parameter as the data is stored in runparams.fragile.
5963 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5964 a fragile parameter as the data is stored in runparams.fragile.
5966 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5968 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5970 2003-05-22 Angus Leeming <leeming@lyx.org>
5972 * latexrunparams.h: add a 'bool nice' which defaults to false.
5974 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5975 now encapsulated within runparams.
5977 * bufferlist.C (updateIncludedTeXfiles):
5978 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5980 2003-05-22 Angus Leeming <leeming@lyx.org>
5982 * latexrunparams.h: new file containing struct LatexRunParams.
5983 * Makefile.am: add new file.
5985 * LaTeX.[Ch] (c-tor, run):
5986 * buffer.[Ch] (makeLaTeXFile):
5987 * bufferlist.[Ch] (updateIncludedTeXfiles):
5988 * converter.C (convert, scanLog):
5989 * converter.[Ch] (runLaTeX):
5990 * exporter.C (Export):
5991 * paragraph.[Ch] (simpleTeXOnePar):
5992 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5993 * paragraph_funcs.[Ch] (latexParagraphs):
5994 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5995 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5996 pass around a LatexRunParams parameter.
5998 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * paragraph.[Ch]: remove unused constructor
6002 * ParagraphList.C (erase): new function, taking two iterators
6004 2003-05-22 André Pönitz <poenitz@gmx.net>
6006 * undo_funcs.C: remove duplicated code
6008 * iterator.[Ch]: operator=
6010 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * tabular.C (SetMultiColumn): ws changes
6014 * rowpainter.C (paintFirst): get rid of a ->previous
6016 * lyx_cb.C (getPossibleLabel): parlist simplification
6018 * BufferView.C (ChangeInsets): simplify slightly.
6020 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6022 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6023 * lfuns.h: new LFUN_SPACE
6024 * lyxfunc.C: protected space has a new lfun
6025 * paragraph_funcs.C: read new space insets
6027 * factory.C: handle new space insets
6029 2003-05-22 André Pönitz <poenitz@gmx.net>
6032 * BufferView_pimpl.C:
6035 * undo_funcs.C: return a ParIterator from getParFromID.
6037 * iterators.[Ch]: add two const's
6039 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * toc.C (getTocList): adjust
6043 * iterators.[Ch]: rework for parlist
6045 * buffer.C (par_iterator_begin): adjust
6046 (par_iterator_end): adjust
6048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6050 * BufferView.C (removeAutoInsets): adjust
6051 (ChangeInsets): adjust
6053 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6055 * text.C (top_y): fix bug 1110
6057 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6059 * errorlist.[Ch]: added
6062 * BufferView_pimpl.C:
6063 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6066 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6068 * Makefile.am: ensure that lyx is relinked upon changes to the
6069 various "convenience" libs.
6071 2003-05-20 Angus Leeming <leeming@lyx.org>
6073 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6074 files are compiled in alphabetical order again.
6076 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6078 2003-05-19 Angus Leeming <leeming@lyx.org>
6080 * gettext.[Ch]: remove "char const * _(char const *)".
6082 2003-05-19 André Pönitz <poenitz@gmx.net>
6084 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6093 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6095 2003-05-19 André Pönitz <poenitz@gmx.net>
6099 * lyxtextclass.[Ch]:
6101 * paragraph_funcs.[Ch]:
6103 * text3.C: more insetenv work
6105 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6107 * ParagraphParameters.C (params2string): small bug fixed
6109 2003-05-16 André Pönitz <poenitz@gmx.net>
6112 * bufferview_funcs.C: patch from Kornel Benko to prevent
6113 crash when _(...) is called twice in a statement
6115 2003-05-16 André Pönitz <poenitz@gmx.net>
6122 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6124 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6126 * lyx_main.C (init): remove spurious static_cast
6128 2003-05-14 André Pönitz <poenitz@gmx.net>
6130 * BufferView.C: fix format string
6132 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6134 * BufferView.[Ch] (insertErrors): removed
6135 * BufferView.[Ch] (showErrorList): added
6136 * buffer.C (runChkTeX):
6137 * converter.C (scanLog): call showErrorList instead of inserterrors
6139 2003-05-13 André Pönitz <poenitz@gmx.net>
6141 * BufferView_pimpl.C:
6143 * bufferview_func.C:
6150 * tabular_funcs.h: tostr() from its own header
6152 * ParagraphParameters.C:
6157 * text3.C: STRCONV()
6159 2003-05-12 André Pönitz <poenitz@gmx.net>
6162 * BufferView_pimpl.C:
6166 * ParagraphParameters.C:
6170 * bufferview_funcs.C:
6183 * paragraph_funcs.C:
6187 * text3.C: boost::format -> bformat all over the place
6190 2003-05-09 André Pönitz <poenitz@gmx.net>
6192 * LColor.[Ch]: Pimpl the #include <map> away
6194 2003-05-09 John Levon <levon@movementarian.org>
6196 * bufferlist.C: never remove emergency saves
6198 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * Makefile.am: better lib building
6202 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6206 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6207 (simpleTeXSpecialChars): adjust
6208 (simpleTeXSpecialChars): adjust
6209 * paragraph.C (simpleTeXOnePar): adjust
6210 * buffer.C (makeLaTeXFile): adjust
6212 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6214 * text2.C (changeDepth): parlist cleanup
6215 (getColumnNearX): ditto
6217 * rowpainter.C (getLabelFont): parlist cleanup
6219 * bufferlist.C (newFile): parlist cleanup
6221 * CutAndPaste.C (eraseSelection): parlist cleanup
6223 * BufferView_pimpl.C (trackChanges): parlist cleanup
6226 * BufferView.C (lockInset): parlist cleanup.
6227 (ChangeInsets): ditto
6229 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6231 * CutAndPaste.h: Update file header.
6233 * CutAndPaste.C: Update file header.
6234 Store the parts cut out of the Document in a limited_stack.
6235 (copySelection): adjust
6236 (pasteSelection): new function, takes the index in the limited stack.
6237 (nrOfParagraphs): adjust
6238 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6239 simplify error inset insertion.
6240 (checkPastePossible): adjust
6242 2003-05-06 John Levon <levon@movementarian.org>
6244 * text2.C: don't cast wrap inset to float
6246 2003-05-05 André Pönitz <poenitz@gmx.net>
6249 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6251 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6252 few naked Paragraph *.
6254 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6256 * bufferparams.C: Output warning if a document with missing
6257 TeX document class is loaded
6258 * exporter.C: Disable TeX exports if the document class is missing
6261 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6262 isTeXClassAvailable()
6264 2003-05-03 John Levon <levon@movementarian.org>
6267 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6268 explicit cursor show/hide
6270 * BufferView_pimpl.h:
6271 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6272 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6274 * lyxfunc.C: hide cursor before dispatching.
6279 * text3.C: remove explicit cursor hides
6281 2003-05-02 André Pönitz <poenitz@gmx.net>
6283 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6286 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6289 * text2.C: tiny whitespace
6291 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * undo_funcs.C: almost only ws changes.
6295 * ParagraphList.C (splice): just return if pl is empty.
6297 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * ParagraphList.C (splice): new function.
6301 * CutAndPaste.C (pasteSelection): use it
6303 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * CutAndPaste.C (pasteSelection): remove the last next and
6306 previous from this file.
6308 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * CutAndPaste.C (pasteSelection): more clean up, user proper
6311 ParagraphList functions for pasteing.
6313 * ParagraphList.C (insert): new function, three arg insert
6315 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6317 * ParagraphList.C (insert): new function, three arg insert
6319 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6322 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6326 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6328 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6330 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6333 (copySelection): clean up a bit.
6334 (pasteSelection): use make_pair
6336 * ParagraphList.C (ParagraphList): implement copy constructor
6337 (operator=): implement, base on copy constructor.
6340 * paragraph.C (erase): return a bool
6342 * paragraph_pimpl.C (erasePos): remove function, move contents...
6343 (erase): ... here. Return a bool.
6344 (erase): call erase instead of erasePos.
6346 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6348 * ParagraphList.h: define PitPosPair
6349 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6350 ParagraphList, fix a bug on pasting multiple pars
6351 * text2.C: change interface to C&P
6353 2003-04-30 André Pönitz <poenitz@gmx.net>
6355 * undo_func.C: revert part of yesterday's patch 2
6357 2003-04-30 John Levon <levon@movementarian.org>
6359 * LColor.C: s/tabular/table/
6361 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * text3.C (dispatch): do not convert iterator -> pointer
6364 * undo_funcs.C (setCursorParUndo): ditto
6365 * text_funcs.C (transposeChars): ditto
6367 * text2.C (setLayout): ws changes only
6369 * text.C (breakParagraph): do not convert iterator -> pointer
6371 (acceptChange): ditto
6372 (rejectChange): ditto
6377 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6380 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6382 * text3.C (gotoInset): YABG (yet another bad getChar)
6384 2003-04-29 André Pönitz <poenitz@gmx.net>
6386 * paragraph.h: make operator= private unimplemented as long as
6389 * ParagraphList.C: whitespace
6392 * paragraph_pimpl.[Ch]:
6393 * paragraph_funcs.C:
6395 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6398 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6400 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6402 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6403 * paragraph.[Ch] (erase):
6404 * paragraph_pimpl.[Ch] (erase): change return type and value
6405 * text2.C (cutSelection): some rework
6407 2003-04-28 John Levon <levon@movementarian.org>
6409 * bufferlist.C: changes for unsaved changes dialog
6411 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6413 * bufferlist.C (newFile): set language (messages_) for new
6416 * buffer.C (readFile): ws changes only.
6418 2003-04-28 André Pönitz <poenitz@gmx.net>
6423 * BufferView_pimpl.C:
6424 * BufferView.C: getParFromID related ParagraphList::iterator changes
6426 2003-04-28 André Pönitz <poenitz@gmx.net>
6428 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6431 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6433 * messages.C: remove one more localedir class variable.
6435 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6437 * messages.C (getLocaleDir): singleton generation function
6439 (Messages): add a default constructor.
6441 * main.C (main): do not setup localedir here, do not call
6444 * gettext.C (_): use it.
6445 (gettext_init): delete funciton
6447 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6449 * gettext.C (getLyXMessages): new singleton generating function.
6451 * buffer.C (updateDocLang): adjust
6453 * Makefile.am (messages.o): add target
6454 (main.o): remove target
6456 2003-04-27 John Levon <levon@movementarian.org>
6461 * lyxvc.C: specify cancel button in Alert::prompt
6463 2003-04-26 John Levon <levon@movementarian.org>
6468 * LyXAction.C: add LFUN_INSET_SETTINGS
6470 * lyxfunc.C: don't enable tabular-feature when there's
6471 just any locking inset
6473 2003-04-26 John Levon <levon@movementarian.org>
6475 * bufferlist.C: re-add Cancel to buffer close question
6477 * lyxfunc.C: fix import UI a bit
6479 2003-04-25 John Levon <levon@movementarian.org>
6481 * gettext.C: remove the broken asserts for now
6483 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * messages.C: make case where setlocale cannot comply work better.
6487 * buffer.C (updateDocLang): new function
6488 (changeLanguage): use it
6491 * text2.C (setCounter): use B_ a bit.
6493 * lyxlayout.C (Read): be sure to trim the label strings.
6495 * messages.C (Messages): fix typo in comment
6497 * buffer.C (readFile): set message_ after file is loaded.
6498 (makeDocBookFile): remove double return
6499 (changeLanguage): reset message_ upon language change.
6500 (B_): new func, use this to get translated buffer strings.
6502 * main.C: add myself and Jean Marc as authors.
6504 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6506 * messages.[hC]: pimplify Messages, and three different pimpls to be
6507 used in different circumstances.
6509 * gettext.[Ch]: change for use with new message code.
6511 2003-04-24 André Pönitz <poenitz@gmx.net>
6513 * factory.C: support for eqref
6515 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * messages.[Ch]: add missing char
6519 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6521 * messages.[Ch]: New files
6523 2003-04-18 John Levon <levon@movementarian.org>
6527 * BufferView_pimpl.C:
6531 * text2.C: remove layout-copy/paste (bug 778)
6533 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6535 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6537 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6539 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6540 if they succeed. Act accordingly.
6542 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * text2.C (setCharFont): adjust
6545 (setCounter): adjust
6546 (insertStringAsLines): adjust
6548 * text.C (leftMargin): adjust
6549 (setHeightOfRow): adjust
6551 * rowpainter.C (paintFirst): adjust
6554 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6556 (isFirstInSequence): ditto
6557 (getEndLabel): ditto
6560 * paragraph.C (getParLanguage): comment out some hard stuff.
6562 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6564 (simpleDocBookOnePar): ditto
6565 (makeDocBookFile): use ParagraphList::iterator
6567 * CutAndPaste.C (pasteSelection): adjust
6569 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * text2.C (getFont): adjust
6572 (getLayoutFont): adjust
6573 (getLabelFont): adjust
6575 * paragraph_funcs.C (TeXOnePar): adjust
6577 * buffer.C (simpleLinuxDocOnePar): adjust
6578 (simpleDocBookOnePar): adjust
6580 * CutAndPaste.C (pasteSelection): adjust
6582 * BufferView.C (getEncoding): adjust
6584 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6586 2003-04-16 John Levon <levon@movementarian.org>
6588 * lyxfind.C: use parlist stuff for search/changes
6590 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6594 * text2.C (deleteEmptyParagraphMechanism): adjust
6596 * text2.[Ch] (ownerParagraph): delete func (both of them
6598 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6600 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6604 * ParagraphList.C: prepare for NO_NEXT
6606 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6608 * text2.C (getFont): adjust
6609 (getLayoutFont): adjust
6610 (getLabelFont): adjust
6612 * paragraph.C (getFont): adjust
6613 (getLabelFont): adjust
6614 (getLayoutFont): adjust
6616 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6618 2003-04-15 John Levon <levon@movementarian.org>
6622 * lyx_main.C: handle Include in .ui files
6624 2003-04-15 John Levon <levon@movementarian.org>
6626 * MenuBackend.C: make the doc files length shorter
6629 * ToolbarBackend.C: handle toolbar placement flags,
6632 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6637 * paragraph_funcs.C (TeXOnePar): adjust
6639 * paragraph.C (getLabelFont): add outerfont arg, adjust
6640 (getLayoutFont): ditto
6641 (simpleTeXOnePar): adjust
6643 * paragraph_pimpl.C (realizeFont): delete func
6645 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6647 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6648 row argument, constify cur argument.
6650 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6652 * text2.C (getFont): adjust
6653 (getLayoutFont): adjust
6654 (getLabelFont): adjust
6656 * paragraph_funcs.C (TeXOnePar): adjust
6657 (outerFont): new func...
6658 (realizeFont): ...moved out from here, changed this to facilitate
6661 * paragraph.C (getFont): take outerfont as arg, adjust
6662 (simpleTeXOnePar): add outerfont arg, adjust
6664 * buffer.C (simpleLinuxDocOnePar): adjust
6665 (simpleDocBookOnePar): adjust
6667 * CutAndPaste.C (pasteSelection): adjust
6669 * BufferView.C (getEncoding): adjust
6671 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * text2.C (setCharFont): adjust
6674 (setCounter): adjust
6676 * text.C (leftMargin): adjust
6677 (setHeightOfRow): adjust
6679 * rowpainter.C (paintFirst): adjust
6682 * paragraph_pimpl.C (realizeFont): adjust
6684 * paragraph.C (isFirstInSequence): move from here...
6685 * paragraph_funcs.C (isFirstInSequence): ...to here
6687 * paragraph.C (outerHook): move from here...
6688 * paragraph_funcs.C (outerHook): ...to here
6690 * paragraph.C (depthHook): move from here...
6691 * paragraph_funcs.C (depthHook): ...to here
6693 * paragraph.C (getEndLabel): move from here...
6694 * paragraph_funcs.C (getEndLabel): ...to here
6696 * text2.C (realizeFont): move from here...
6697 * paragraph_funcs.C (realizeFont): ...to here
6699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6703 2003-04-14 Angus Leeming <leeming@lyx.org>
6705 * LColor.[Ch]: scrap LColor mathcursor.
6707 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * lyxlex.[Ch] (text): delete function
6710 * trans.C (Load): adjust
6711 * paragraph_funcs.C (readParToken): adjust
6713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6716 vector<char> instead of a char[].
6718 * lyxlex_pimpl.C (getString): adjust
6720 (lex): use getString
6724 * lyxlex.C (text): use pimpl_->getString()
6728 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6731 (makeFontEntriesLayoutSpecific): temp var for par.size()
6732 (setLayout): temp var for ownerParagraphs().end()
6733 (fullRebreak): temp var for rows().end()
6734 (selectionAsString): temp var for boost::next(startpit), realize
6735 that the while really is a regular for loop.
6736 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6737 setCursor in one place.
6738 (setParagraph): temp vr for ownerParagraphs().end()
6739 (updateCounters): make the while loop a for loop
6740 (cutSelection): temp var for ownerParagraphs().end()
6741 (updateInset): make the do {} while() a regular for loop
6742 (getCursorX): use temp vars
6743 (setCurrentFont): use temp vars
6744 (getColumnNearX): use temp vars
6746 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * text.C (transformChar): use temp var for getChar
6749 (computeBidiTables): use temp var for row->par()
6750 (fill): move temp vars for row->par() and pit->layout() earlier in
6752 (labelFill): use temp var for row->par()
6753 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6754 asc and desc, realize that pit never changes and that firstpit is
6755 just a duplicate and not needed. Exchange rit->par() with pit in a
6757 (breakAgain): use a temp var for boost::next(rit)
6758 (breakAgainOneRow): ditto
6759 (breakParagraph): use a temp var for rows().begin()
6760 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6761 (cursorRightOneWord): use temp var for cursor.par() and
6762 cursor.pos(), remove usage of tmpcursor.
6763 (cursorLeftOneWord): use temp var for cursor.par() and
6764 cursor.pos() only set cur at end of function.
6766 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6768 * text.C, text2.C: exchange all usage of Paragraph::next with
6769 boost::next(ParagraphList::iterator)
6771 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6773 * text2.C (cursorTop): simplify implementation
6774 (cursorBottom): ditto
6775 (setParagraph): use ParagraphList::iterator
6776 (setCurrentFont): adjust
6777 (getColumnNearX): adjust
6778 (cursorRight): adjust
6779 (cursorLeft): remove usage of Paragraph::previous
6780 (cursorUpParagraph): ditto
6781 (deleteEmptyParagraphMechanism): slight cleanup
6783 * text.C (isBoundary): take a Paragraph const & instead of a
6785 (addressBreakPoint): ditto
6786 (leftMargin): remove usage of Paragraph::previous.
6787 (setHeightOfRow): ditto
6788 (cursorLeftOneWord): ditto
6789 (selectNextWordToSpellcheck): ditto
6792 (breakParagraph): remove one usage of Paragraph::next
6793 (redoParagraph): ditto
6794 (acceptChange): ditto
6795 (insertChar): adjust
6796 (rowBreakPoint): adjust
6798 * bufferview_funcs.C (toggleAndShow): adjust
6800 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6802 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6803 methods to access it.
6805 * text.C: Added updateRowPositions to compute all row positions.
6806 Make top_y and getRowNearY() to use the cached y position
6808 2003-04-11 John Levon <levon@movementarian.org>
6810 * text.C (rowBreakPoint): reintroduce the labelEnd
6811 checks, code copied from the row fill stuff. Deep voodoo.
6813 * text.C (fill): add a comment and debugging for the
6816 2003-04-11 John Levon <levon@movementarian.org>
6818 * text.C: make sure fullrow insets get wrapped to the next line,
6819 even when they're in a manual label
6821 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6823 * text2.C (insertParagraph): make it take ParagraphList::iterator
6825 (setLayout): make it return ParagraphList::iterator
6826 (redoParagraphs): ditto
6828 (checkParagraph): ditto
6830 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6832 * text2.C: adjust several funcs.
6833 (realizeFont): take a ParagraphList::iterator as arg.
6834 (getLayoutFont): ditto
6835 (getLabelFont): ditto
6836 (setCharFont): ditto
6838 * text.C: adjust several funcs.
6840 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6842 * text.C (selectNextWordToSpellcheck): don't accidentally
6845 2003-04-10 John Levon <levon@movementarian.org>
6847 * ToolbarBackend.C (getIcon): special handling for
6850 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6852 * text2.C (cursorRight): a getChar assert fixed
6854 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * text2.C (getFont): change to take a ParagraphList::iterator
6857 instead of Paragraph*
6858 Adjust several functions.
6860 * text.C (transformChar): change to take a ParagraphList::iterator
6861 instead of Paragraph*
6862 (singleWidth): ditto
6863 Adjust several functions.
6865 * rowpainter.C: adjust several functions
6866 * rowpainter.h:store a ParagraphList::iterator and not a
6870 2003-04-09 John Levon <levon@movementarian.org>
6875 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6876 and the "help" bits as well
6878 2003-04-09 John Levon <levon@movementarian.org>
6881 * ToolbarBackend.C: allow multiple toolbars
6883 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6885 * undo_funcs.C (setCursorParUndo): adjust
6887 * text_funcs.C (transposeChars): adjust
6889 * text3.C (gotoNextInset): adjust
6892 * text2.C (setLayout): adjust
6893 (changeDepth): adjust
6895 (redoParagraphs): adjust
6896 (selectionAsString): adjust
6897 (setParagraph): adjust
6898 (insertInset): adjust
6899 (cutSelection): adjust
6900 (copySelection): adjust
6901 (pasteSelection): adjust
6902 (insertStringAsLines): adjust
6903 (updateInset): adjust
6904 (setCursor): change to take a ParagraphList::iterator parameter
6905 (setCursorIntern): change to take a ParagraphList::iterator parameter
6906 (setCurrentFont): adjust
6907 (cursorLeft): adjust
6908 (cursorRight): adjust
6909 (deleteEmptyParagraphMechanism): adjust
6911 * text.C (breakParagraph): adjust
6912 (insertChar): adjust
6913 (acceptChange): adjust
6914 (rejectChange): adjust
6915 (selectNextWordToSpellcheck): adjust
6916 (changeCase): adjust
6920 * lyxfind.C (SearchForward): adjust
6921 (SearchBackward): adjust
6922 (nextChange): adjust
6924 * lyxcursor.C (par): adjust
6926 * lyxcursor.h: store a ParagraphList::iterator instead of a
6929 * lyx_cb.C (getPossibleLabel): adjust
6931 * bufferview_funcs.C (toggleAndShow): adjust
6933 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6936 * BufferView.C (removeAutoInsets): adjust
6937 (lockedInsetStoreUndo): adjust
6939 2003-04-09 John Levon <levon@movementarian.org>
6941 * ToolbarBackend.C: try icon without argument
6942 if with argument fails
6944 2003-04-08 John Levon <levon@movementarian.org>
6947 * ToolbarBackend.C: add getIcon(), handle tooltip,
6948 and change from "Icon" to "Item".
6950 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6952 * BufferView.C (lockInset): another bad getchar crunched
6954 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6956 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6959 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6961 * lyxfind.C (searchForward, searchBackwards): bug 782
6963 2003-04-07 John Levon <levon@movementarian.org>
6965 * paragraph.C: remove dead comment
6967 * text.C: remove troublesome depth-fiddling code
6968 in leftMargin() and rightMargin() (bug 1017)
6970 * text.C: fix breaking of rows in nested lists
6973 * text2.C (updateCounters): fix up depth values
6976 2003-04-07 John Levon <levon@movementarian.org>
6978 * BufferView_pimpl.C: clear message when doc finishes resizing,
6979 and after a mouse event
6981 * lyxfunc.C: clear message after exiting inset
6983 2003-04-07 John Levon <levon@movementarian.org>
6985 * bufferview_funcs.C: show math status not outside
6986 status in the statusbar
6988 2003-04-07 John Levon <levon@movementarian.org>
6990 * lyxfunc.C: note status changed after a depth change
6992 2003-04-04 Angus Leeming <leeming@lyx.org>
6994 * LaTeX.h: move AuxInfo operator==, != out of line.
6995 Remove LaTeX virtual destructor; nothing derives from it.
6996 Move operator()() out of public area and rename it startscript().
6997 Change protected for private.
6999 2003-04-04 Angus Leeming <leeming@lyx.org>
7002 * text2.C: remove unneeded #includes.
7004 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7006 * text2.C (dEPM): fix the heigth of the next row
7008 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7010 * text.C: squashed an invalid getChar requester + some ws changes
7012 2003-04-03 John Levon <levon@movementarian.org>
7014 * bufferview_funcs.h:
7015 * bufferview_funcs.C:
7018 * text2.C: make getStatus work for the env depth lfuns
7020 2003-04-03 John Levon <levon@movementarian.org>
7022 * bufferview_funcs.h:
7023 * bufferview_funcs.C:
7026 * text2.C: parlistize decDepth(), by merging it with incDepth()
7028 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * lyxrow.h: store a ParagraphList::iterator instead of a
7031 Paragraph* and adjust other class functions to suit.
7033 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7036 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7038 * text2.C (setCursor): do not anchor to cursor row for the time being
7040 2003-04-02 John Levon <levon@movementarian.org>
7047 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7049 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7051 * paragraph.h: make ParagraphList and ParagraphList::iterator
7052 friends of Paragraph.
7054 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7056 * ParagraphList.C: Use the private next_ and previous_ from
7059 2003-04-01 John Levon <levon@movementarian.org>
7063 * Makefile.am: rename, remove defaults gunk
7066 * MenuBackend.C: remove defaults gunk
7069 * Languages.C: remove defaults gunk
7072 * lyx_main.C: error out if files couldn't be found.
7074 2003-04-02 John Levon <levon@movementarian.org>
7076 * text2.C: make incDepth() use parlist
7078 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * undo_funcs.C (firstUndoParagraph): adjust
7082 * text3.C (gotoInset): adjust
7083 (dispatch): adjust, and rewrite loop.
7085 * text2.C (init): adjust, and rewrite loop.
7086 (redoParagraphs): adjust
7087 (updateInset): adjust, and rewrite loop.
7088 (deleteEmptyParagraphMechanism): adjust
7090 * tabular.C (LyXTabular): adjust
7091 (SetMultiColumn): adjust
7094 * lyxtext.[Ch] (ownerParagraph): delete function
7095 (ownerParagraphs): new function returns a ParagraphList.
7097 * BufferView.C (removeAutoInsets): adjust
7098 (insertErrors): adjust
7099 (setCursorFromRow): adjust
7101 2003-04-01 Angus Leeming <leeming@lyx.org>
7103 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7106 2003-04-02 John Levon <levon@movementarian.org>
7112 * text_funcs.C: make transposeChars a free function
7114 * lyxrow_funcs.C: remove wrong comment
7116 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * rowpainter.C: adjust
7124 * lyxrow_funcs. [Ch]: new files
7126 * lyxrow.[Ch]: remove next and previous pointers
7127 (next,previous): remove accessor functions
7128 (isParEnd): move to lyxrow_funcs
7129 (lastPos): move to lyxrow_funcs
7130 (nextRowIsAllInset): move to lyxrow_funcs
7131 (lastPrintablePos): move to lyxrow_funcs
7132 (numberOfSeparators): move to lyxrow_funcs
7133 (numberOfHfills): move to lyxrow_funcs
7134 (numberOfLabelHfills): move to lyxrow_funcs
7135 (hfillExpansion): move to lyxrow_funcs
7139 * bufferview_funcs.C (toggleAndShow): adjust
7141 * RowList.h: Remove class RowList from file leave just a
7144 * RowList.C: delete file
7146 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7149 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7151 * text3.C (cursorPrevious): adjust
7152 (cursorNext): adjust
7155 * text2.C (redoHeightOfParagraph): adjust
7156 (redoDrawingOfParagraph): adjust
7159 * text.C (breakParagraph): adjust
7160 (insertChar): adjust
7163 * rowpainter.C (RowPainter): adjust
7164 (leftMargin): simplify and adjust
7165 (most rowpainter functions): adjust.
7167 * rowpainter.h: store the row as RowList::iterator not as Row*
7169 * lyxcursor.C (row): taka RowList::iterator as arg
7172 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7175 2003-04-01 Angus Leeming <leeming@lyx.org>
7177 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7178 stuff like bool Bool.
7180 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7182 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7185 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7187 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7190 * lyxtext.h (rows): drop one version and leve a const variant that
7191 returns a RowList::iterator.
7193 2003-03-31 Angus Leeming <leeming@lyx.org>
7195 * text.C (fill): ensure that the signature is the same as that in the
7198 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7200 * text2.C (redoParagraphs): adjust
7201 (updateCounters): adjust
7202 (checkParagraph): adjust
7203 (getColumnNearX): adjust and reformat a bit.
7205 * text.C (top_y): adjust
7207 (leftMargin): adjust
7208 (prepareToPrint): adjust
7210 (getRowNearY): adjust
7212 * lyxtext.h: make rowlist_ mutable.
7214 * RowList.h: add const_iterator
7215 * RowList.C: adjust for RowList::const_iterator.
7217 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7220 2003-03-31 John Levon <levon@movementarian.org>
7223 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7225 * lyx_main.C: set default fonts from using lyx_gui funcs
7227 * exporter.C: pdf_mode moved from lyxrc
7230 * lyxfunc.C: changes from above
7232 2003-03-31 John Levon <levon@movementarian.org>
7234 * lyx_main.C: fix to the last fix
7236 2003-03-31 John Levon <levon@movementarian.org>
7238 * bufferlist.C: "Load original" -> "Load Original"
7244 * format.C: more Alert cleanups
7246 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7248 * text2.C (removeParagraph): make it take a RowList::iterator as
7250 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7251 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7253 * text.C (anchor_row): make it take a RowList::iterator as arg,
7255 (computeBidiTables): make it take a const reference to Row instead
7256 of Row pointer, adjust.
7257 (leftMargin): make it take a RowList::iterator as arg, adjust.
7258 (rowBreakPoint): adjust
7259 (breakAgainOneRow): make it take a RowList::iterator as arg,
7261 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7263 * bufferview_funcs.C (toggleAndShow): adjust
7265 2003-03-30 John Levon <levon@movementarian.org>
7269 * boost-inst.C: moved to support
7271 * several files: changes as a result
7273 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text2.C (LyXText): adjust.
7277 (removeRow): make it take a RowList::iterator as arg, adjust.
7278 (fullRebreak): adjust
7279 (deleteEmptyParagraphMechanism): adjust
7280 (clearPaint): adjust
7283 * text.C (top_y): adjust
7284 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7285 (breakAgain): make it take a RowList::iterator as arg, adjust.
7286 (breakParagraph): adjust
7287 (insertChar): adjust
7290 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7291 need_break_row, and refresh_row.
7293 * text3.C (dispatch): adjust
7295 * text2.C (checkParagraph): adjust
7297 (setCursorFromCoordinates): adjust
7299 * text.C (top_y): adjust
7301 (getRow): make it return a RowList::iterator, adjust
7302 (getRowNearY): make it return a RowList::iterator, adjust
7304 * text2.C (init): adjust
7305 (insertRow): remove function
7306 (insertParagraph): adjust
7307 (redoParagraphs): adjust
7308 (fullRebreak): adjust
7309 (updateCounters): adjust
7311 * text.C (top_y): rewrite to use RowList iterators.
7313 (setHeightOfRow): rewrite to sue RowList iterators.
7314 (appendParagraph): adjust
7315 (breakAgain): adjust
7316 (breakAgainOneRow): adjust
7317 (breakParagraph): adjust
7319 (getRowNearY): adjust, and remove commented code.
7321 * lyxtext.h (firstRow): delete function
7322 (lastRow): delete function
7323 (rows): new function (const and non-const versions.)
7324 (insertRow): delete function
7326 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7328 2003-03-29 John Levon <levon@movementarian.org>
7330 * BufferView_pimpl.C: always update scrollbar top
7331 because pasting text when we're anchored could mean we
7332 miss an update altogether
7334 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * text2.C (init): use rowlist_.end() and not 0.
7337 (insertRow): change to take a RowList::iterator as arg, adjust
7339 (insertParagraph): change to take a RowList::iterator as arg,
7341 (redoParagraphs): remove some debug msgs.
7343 * text.C (appendParagraph): change to take a RowList::iterator
7344 arg, adjust for this.
7345 (breakAgain): add an assert
7346 (breakAgainOneRow): ditto
7348 2003-03-29 John Levon <levon@movementarian.org>
7350 * text2.C: do not clear selection after inc/decDepth
7353 2003-03-29 John Levon <levon@movementarian.org>
7356 * buffer.C: fix broken strerrors according to Lars
7358 2003-03-29 John Levon <levon@movementarian.org>
7360 * converters.C: more Alert cleanups
7362 2003-03-29 John Levon <levon@movementarian.org>
7364 * bufferview_funcs.C: remove pointless Alert
7366 * buffer.C: fix confusing error message when
7367 a template is chmoded 000
7369 2003-03-29 John Levon <levon@movementarian.org>
7373 * BufferView_pimpl.C: Alert fixes
7377 * tabular-old.C: remove unused table compat reading
7379 2003-03-29 John Levon <levon@movementarian.org>
7384 * lyx_cb.C: more Alert cleanups
7386 * lyxfunc.C: don't allow chktex if not latex document
7388 2003-03-29 John Levon <levon@movementarian.org>
7392 * buffer.C: warnings pushed down from support/,
7395 2003-03-29 John Levon <levon@movementarian.org>
7397 * lyxfunc.C: safety check for C-r (revert)
7399 2003-03-29 John Levon <levon@movementarian.org>
7402 * bufferlist.C: several UI fixes using Alert::prompt.
7403 Fix the pointless looping quit code. Fix stupid revert
7408 * lyx_cb.C: use Alert::prompt
7410 * lyx_main.C: remove a silly question
7412 * lyxfunc.C: remove a couple of silly questions,
7415 2003-03-28 John Levon <levon@movementarian.org>
7417 * text2.C: fix bug 974 (End on empty par)
7419 2003-03-28 John Levon <levon@movementarian.org>
7421 * BufferView_pimpl.C:
7423 * lfuns.h: remove do-nothing math greek lfuns
7425 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * lyxgluelength.h (isValidGlueLength): add default arg on
7428 parameter 2. Remove default arg from friend in class.
7430 * lyxlength.h (isValidLength): add default arg on parameter 2.
7431 Remove default arg from friend in class.
7433 * text2.C (LyXText): adjust, initialize refresh_row.
7437 (insertParagraph): adjst
7438 (redoParagraphs): adjust
7439 (fullRebreak): adjust
7440 (updateCounters): adjust
7441 (deleteEmptyParagraphMechanism): first attempt at fixing a
7444 * text.C (top_y): adjust
7445 (setHeightOfRow): adjust
7447 (getRowNearY): adjust
7449 * lyxtext.h: include RowList.h
7450 (~LyXText): not needed anymore, deleted.
7451 (firstRow): modify for RowList
7452 (lastRow): new function
7453 Delete firstrow and lastrow class variables, add a Rowlist
7454 rowlist_ class variable.
7456 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7459 * RowList.C (insert): fix case where it == begin().
7461 2003-03-26 Angus Leeming <leeming@lyx.org>
7463 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7464 the thesaurus dialog.
7466 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7468 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7470 * RowList.[Ch]: new files
7472 * ParagraphList.C (erase): handle the case where it == begin
7475 2003-03-25 John Levon <levon@movementarian.org>
7479 * aspell.C: add new aspell support
7482 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7485 2003-03-25 Angus Leeming <leeming@lyx.org>
7488 * LyXAction.C (init): new LFUN_INSET_INSERT.
7490 * BufferView_pimpl.C (dispatch): split out part of the
7491 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7493 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7496 2003-03-25 Angus Leeming <leeming@lyx.org>
7498 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7500 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7503 * text3.C: remove useless row->height(0)
7505 2003-03-25 John Levon <levon@movementarian.org>
7509 * text3.C: rename the refreshing stuff to better names
7511 2003-03-24 John Levon <levon@movementarian.org>
7513 * BufferView_pimpl.h:
7514 * BufferView_pimpl.C: update layout choice on a mouse
7517 2003-03-23 John Levon <levon@movementarian.org>
7519 * Makefile.am: fix commandtags.h reference
7521 2003-03-22 John Levon <levon@movementarian.org>
7523 * BufferView_pimpl.C:
7528 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7530 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7533 * text.C: take the rtl methods out of line
7535 2003-03-21 André Pönitz <poenitz@gmx.net>
7537 * metricsinfo.[Ch]: new files containing structures to be passed around
7538 during the two-phase-drawing...
7540 2003-03-21 André Pönitz <poenitz@gmx.net>
7542 * lyxtextclass.C: read 'environment' tag.
7544 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7546 * text2.C (removeRow): fix bug 964
7548 2003-03-20 John Levon <levon@movementarian.org>
7552 * text2.C: paint cleanups. Inset::update() dropped font
7555 2003-03-19 John Levon <levon@movementarian.org>
7557 * lyxfunc.C: only fitcursor/markDirty if available()
7559 2003-03-19 John Levon <levon@movementarian.org>
7561 * commandtags.h: rename to ...
7563 * lfuns.h: ... this, and renumber / cleanup
7565 2003-03-19 John Levon <levon@movementarian.org>
7567 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7568 fit the cursor after an lfun
7572 * BufferView_pimpl.h:
7573 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7575 * LyXAction.C: layout-character should have ReadOnly
7577 * ParagraphParameters.C:
7579 * bufferview_funcs.C:
7586 * undo_funcs.C: changes from above
7588 2003-03-18 John Levon <levon@movementarian.org>
7590 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7591 remove it from update()
7593 * lyxfunc.C: update layout choice after an lfun
7595 * text3.C: remove extra updateLayoutChoice()s
7597 2003-03-18 John Levon <levon@movementarian.org>
7599 * text.C: top_y change means full repaint, fix
7600 a drawing bug with cursor movement
7602 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7606 * text2.C: anchor row on setCursor
7608 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7610 * lyxtext.h: remove almost all mutable keywords
7613 * text3.C: remove const keywords accordingly
7615 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7617 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7619 (TeXEnvironment): ditto
7622 2003-03-17 John Levon <levon@movementarian.org>
7624 * text.C (rowBreakPoint): remove attempt to fix displayed
7625 math insets inside a manual label
7627 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * lyxtext.h: remove BufferView* as first arg from almost all class
7631 * other files: adjust.
7633 2003-03-17 John Levon <levon@movementarian.org>
7637 * text2.C: more paint cleanups
7639 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7642 * rowpainter.C: remove "smart" background painting code
7644 2003-03-16 John Levon <levon@movementarian.org>
7649 * text3.C: add helper functions for setting refresh_row/y
7651 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7653 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7654 newline inset which *can* get inserted in the pass_thru layouts.
7655 This is primarily for literate documents.
7657 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7659 * buffer.C: increment LYX_FORMAT to 223
7661 2003-03-14 André Pönitz <poenitz@gmx.net>
7663 * textclass.h: prepare for environment handling, ws changes
7664 * lyxlayout.C: read latexheader and latexfooter tags
7666 2003-03-14 John Levon <levon@movementarian.org>
7668 * text2.C: rewrite ::status() a bit
7670 2003-03-13 John Levon <levon@movementarian.org>
7672 * lyxtext.h: add some docs
7674 2003-03-13 John Levon <levon@movementarian.org>
7679 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7681 2003-03-13 John Levon <levon@movementarian.org>
7683 * text3.C: fix appendix redrawing
7685 2003-03-13 John Levon <levon@movementarian.org>
7687 * text.C (setHeightOfRow):
7689 * rowpainter.C: make appendix mark have the text
7690 "Appendix" so the user knows what it is
7693 * LColor.C: s/appendixline/appendix/ from above
7695 2003-03-13 John Levon <levon@movementarian.org>
7697 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7699 * text.C: fix a getChar(pos) bug properly
7701 2003-03-13 Angus Leeming <leeming@lyx.org>
7704 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7705 Probably only temporary. Let's see how things pan out.
7707 * BufferView.C (unlockInset):
7708 * BufferView_pimpl.C (fitCursor):
7709 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7711 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7712 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7714 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7715 new functions that convert ParagraphParameters to and from a string.
7717 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7718 BufferView::Pimpl's dispatch.
7719 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7721 2003-03-13 André Pönitz <poenitz@gmx.net>
7725 * factory.C: make it aware of InsetEnv
7727 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7729 * text2.C (setCursor): never ask for one past last
7730 (setCursor): add some debugging messages.
7732 * text.C (singleWidth): never ask for one past last
7733 (singleWidth): ditto
7735 (rightMargin): ditto
7736 (rowBreakPoint): ditto
7737 (setHeightOfRow): ditto
7738 (prepareToPrint): ditto
7740 * rowpainter.C (paintBackground): never ask for one past last
7741 (paintText): never ask for one past last
7743 * paragraph_pimpl.C (getChar): make the assert stricter, never
7744 allow the one past last pos to be taken
7746 * paragraph.C (getChar): ws changes only
7748 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7749 (numberOfSeparators): ditto
7750 (numberOfHfills): ditto
7752 2003-03-12 John Levon <levon@movementarian.org>
7758 * paragraph_funcs.C: fix per-buffer authorlists
7760 2003-03-12 John Levon <levon@movementarian.org>
7762 * text.C: fix newline in right address
7764 2003-03-12 Angus Leeming <leeming@lyx.org>
7766 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7767 duplicate those in LyXFunc::dispatch.
7771 * ToolbarDefaults.C:
7772 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7773 Add LFUN_FONTFREE_UPDATE.
7775 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7776 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7778 * bufferview_func.[Ch]: several new functions to facilliate
7779 transfer of data to and from the character dialog.
7781 2003-03-12 John Levon <levon@movementarian.org>
7786 * paragraph_funcs.C:
7787 * paragraph_pimpl.C:
7791 * text3.C: remove META_NEWLINE in favour of an inset
7794 * rowpainter.C: remove paintNewline (done by inset)
7796 2003-03-12 John Levon <levon@movementarian.org>
7798 * paragraph_pimpl.C: complain about bad getChar()s
7799 for a while at least
7801 2003-03-12 John Levon <levon@movementarian.org>
7804 * buffer.C: move paragraph read into a separate function,
7805 a little renaming to reflect that.
7808 * bufferparams.C: remove the author_ids map, not necessary now
7811 * factory.C: moved Buffer::readInset to here
7813 * paragraph_funcs.h:
7814 * paragraph_funcs.C: readParagraph free function moved from
7817 * tabular.C: name change
7819 2003-03-12 John Levon <levon@movementarian.org>
7822 * ParagraphParameters.C: move par params input to
7825 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7826 behave like a normal read from the stream wrt reading
7827 a line vs. a \\token
7829 2003-03-12 John Levon <levon@movementarian.org>
7832 * ParagraphParameters.h:
7833 * ParagraphParameters.C: move output code to a
7836 2003-03-12 John Levon <levon@movementarian.org>
7838 * BufferView.C (insertLyXFile):
7841 * tabular.C: use a parlist iterator for creating the
7844 2003-03-12 John Levon <levon@movementarian.org>
7846 * buffer.C: make current_change static local not
7849 2003-03-12 John Levon <levon@movementarian.org>
7851 * buffer.C: fix insertStringAsLines for change tracking
7853 2003-03-12 John Levon <levon@movementarian.org>
7860 * bufferparams.C: move author list into params. Rename some
7861 functions. Move the header reading into a separate token
7862 loop. Move the header token reading into BufferParams.
7864 2003-03-12 John Levon <levon@movementarian.org>
7866 * changes.C: put debug inside lyxerr.debugging() checks
7868 2003-03-11 André Pönitz <poenitz@gmx.net>
7870 * factory.C: make it aware of InsetHFill
7872 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7874 * buffer.C (latexParagraphs): move function from here...
7875 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7878 2003-03-10 Angus Leeming <leeming@lyx.org>
7880 * LyXAction.C (init): fix bug in poplating array with multiple entries
7881 with the same LFUN (spotted by JMarc).
7883 2003-03-10 John Levon <levon@movementarian.org>
7886 * text2.C: move getColumnNearX() near its
7889 2003-03-10 John Levon <levon@movementarian.org>
7891 * text.C: fix break before a minipage
7893 2003-03-10 John Levon <levon@movementarian.org>
7895 * text.C: fix the last commit
7897 2003-03-09 John Levon <levon@movementarian.org>
7901 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7902 bug 365 (don't break before insets unless needed). Don't
7903 return a value > last under any circumstances.
7905 2003-03-09 Angus Leeming <leeming@lyx.org>
7907 * BufferView_pimpl.C (trackChanges, dispatch): call
7908 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7910 2003-03-09 Angus Leeming <leeming@lyx.org>
7912 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7913 than Dialogs::showAboutlyx().
7915 2003-03-09 Angus Leeming <leeming@lyx.org>
7917 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7918 than Dialogs::showTabularCreate().
7920 2003-03-09 John Levon <levon@movementarian.org>
7924 * text2.C: 3rd arg to nextBreakPoint was always the same.
7927 2003-03-08 John Levon <levon@movementarian.org>
7934 * text2.C: Remove the "main" bit from the "main body"
7937 2003-03-08 John Levon <levon@movementarian.org>
7939 * text.C (leftMargin): The left margin of an empty
7940 manual label paragraph should not include the label width
7943 * text.C (prepareToPrint): don't attempt to measure hfills
7944 for empty manual label paragraphs - the answer should be 0
7946 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7948 * CutAndPaste.C: remove commented code and reindent.
7950 2003-03-08 John Levon <levon@movementarian.org>
7953 * lyxfunc.C: move reloadBuffer()
7956 * BufferView.C: to here
7958 * lyxvc.C: add comment
7961 * vc-backend.C: call bv->reload() to avoid
7962 getStatus() check on MENURELOAD
7964 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7966 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7967 to an old format .dep file.
7969 2003-03-07 Angus Leeming <leeming@lyx.org>
7971 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7972 when the LFUN_MOUSE_RELEASE should have been handled by
7973 inset->localDispatch.
7975 2003-03-07 Angus Leeming <leeming@lyx.org>
7977 * BufferView_pimpl.C (dispatch):
7978 * LyXAction.C (init):
7979 * ToolbarDefaults.C (init):
7981 * lyxfunc.C (getStatus):
7982 remove LFUN_INSET_GRAPHICS.
7984 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7986 2003-03-07 Angus Leeming <leeming@lyx.org>
7989 * LyXAction.C (init):
7990 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7992 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7995 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7997 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7998 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8000 2003-03-07 Angus Leeming <leeming@lyx.org>
8002 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8005 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8007 * ParagraphList.C (front): new function
8010 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8012 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8013 and top_row_offset_. removed var first_y.
8015 * text2.C (LyXText, removeRow):
8017 * BufferView_pimpl.C:
8018 use these methods instead of using first_y
8020 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8022 * text2.C (pasteSelection): adjust for checkPastePossible
8024 * CutAndPaste.C: remove Paragraph * buf and replace with
8025 ParagraphList paragraphs.
8026 (DeleteBuffer): delete
8027 (cutSelection): change the tc type to textclass_type
8028 (copySelection): change the tc type to textclass_type
8029 (copySelection): adjust for ParagraphList
8030 (pasteSelection): change the tc type to textclass_type
8031 (pasteSelection): adjust for Paragraphlist
8032 (nrOfParagraphs): simplify for ParagraphList
8033 (checkPastePossible): simplify for ParagraphList
8034 (checkPastePossible): remove unused arg
8036 * ParagraphList.C (insert): handle the case where there are no
8039 * CutAndPaste.h: make CutAndPaste a namespace.
8041 * text3.C (dispatch): adjust
8043 * text.C (breakParagraph): add a ParagraphList as arg
8045 * paragraph_funcs.C (breakParagraph): change to take a
8046 BufferParams and a ParagraphList as args.
8047 (breakParagraphConservative): ditto
8048 (mergeParagraph): ditto
8049 (TeXDeeper): add a ParagraphList arg
8050 (TeXEnvironment): ditto
8053 * buffer.C (readLyXformat2): adjust
8054 (insertStringAsLines): adjust
8055 (latexParagraphs): adjust
8057 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8058 (cutSelection): adjust
8059 (pasteSelection): adjust
8061 * BufferView_pimpl.C (insertInset): adjust
8063 2003-03-05 Angus Leeming <leeming@lyx.org>
8066 * LyXAction.C (init):
8067 * BufferView_pimpl.C (dispatch):
8068 * lyxfunc.C (getStatus):
8069 remove LFUN_CHILD_INSERT.
8071 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8073 2003-03-05 Angus Leeming <leeming@lyx.org>
8076 * LyXAction.C (init):
8077 * src/factory.C (createInset):
8078 * lyxfunc.C (getStatus):
8079 * text3.C (dispatch):
8080 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8082 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8084 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * ParagraphList.C (insert): handle insert right before end()
8087 (erase): fix cases where it can be first or last paragraph.
8089 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8091 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8092 Paragraph::next and Paragraph::previous
8095 * text.C (breakParagraph): adjust
8097 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8098 BufferParams& as arg.
8099 (breakParagraph): use ParagraphList::insert
8100 (breakParagraphConservative): take a Buffer* instead of a
8101 BufferParams& as arg.
8102 (breakParagraphConservative): use ParagraphList::insert.
8104 * buffer.C (insertStringAsLines): un-const it
8105 (insertStringAsLines): adjust
8107 * ParagraphList.C (insert): new function
8109 * CutAndPaste.C (pasteSelection): adjust
8111 * text.C (backspace): adjust
8113 * tabular.C (SetMultiColumn): adjust
8115 * CutAndPaste.C (cutSelection): adjust
8116 (pasteSelection): adjust
8118 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8119 Buffer const * as arg
8121 * ParagraphList.C (erase): new function
8122 * paragraph_funcs.C (mergeParagraph): use it
8123 (mergeParagraph): make it take a Buffer* instead of a
8124 BufferParams* as arg
8126 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8128 (breakParagraphConservative): ditto
8130 * paragraph.h: remove the breakParagraph friend
8132 * paragraph.C (eraseIntern): new function
8133 (setChange): new function
8135 * paragraph_funcs.C (mergeParagraph): make it take a
8136 ParagraphList::iterator instead of a Paragraph *, adjust
8139 * paragraph.h: move an #endif so that the change tracking stuff
8140 also works in the NO_NEXT case.
8142 2003-03-04 Angus Leeming <leeming@lyx.org>
8145 * LyXAction.C: new LFUN_INSET_MODIFY.
8147 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8148 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8150 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * several files: ws changes only
8154 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8155 (TeXEnvironment): ditto
8158 * buffer.C (makeLaTeXFile): adjust
8159 (latexParagraphs): make it take ParagraphList::iterator as args
8161 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8163 * buffer.C (latexParagraphs): adjust
8165 * paragraph.C (TeXOnePar): move function...
8166 (optArgInset): move function...
8167 (TeXEnvironment): move function...
8168 * paragraph_pimpl.C (TeXDeeper): move function...
8169 * paragraph_funcs.C: ...here
8171 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8173 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8175 * buffer.C (readInset): remove compability code for old Figure and
8178 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * buffer.C: ws changes
8183 * BufferView_pimpl.C: ditto
8186 * bufferlist.h: ditto
8190 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8192 * converter.[Ch]: split into itself +
8195 * Makefile.am: += graph.[Ch] + format.[Ch]
8202 * lyxrc.C: added #include "format.h"
8204 2003-02-27 Angus Leeming <leeming@lyx.org>
8206 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8209 * factory.C (createInset): add "label" to the factory.
8211 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8212 string and do no more.
8214 2003-02-27 Angus Leeming <leeming@lyx.org>
8217 * LyXAction.C (init):
8218 * factory.C (createInset):
8219 * BufferView_pimpl.C (dispatch):
8220 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8222 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8224 * lyxfunc.C (dispatch):
8225 * text3.C (dispatch): pass name to params2string.
8227 2003-02-26 Angus Leeming <leeming@lyx.org>
8229 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8231 Rearrange the ~includes. Strip out the unnecessary ones.
8233 * factory.C (createInset): reformat.
8234 create new insets for the various LFUN_XYZ_APPLY lfuns.
8236 2003-02-26 John Levon <levon@movementarian.org>
8239 * lyxrow.C: add isParStart,isParEnd helpers
8241 * paragraph.h: make isInserted/DeletedText take refs
8243 * paragraph_funcs.h:
8244 * paragraph_funcs.C: remove #if 0'd code
8249 * text.C: use lyxrow helpers above.
8250 Move draw and paint routines to RowPainter.
8251 Make several methods use refs not pointers.
8252 Make backgroundColor() const.
8253 Add markChangeInDraw(), isInInset().
8254 Merge changeRegionCase into changeCase.
8255 Make workWidth() shouldn't-happen code into an Assert.
8258 * rowpainter.C: new class for painting a row.
8261 * vspace.C: make inPixels take a ref
8263 2003-02-26 Angus Leeming <leeming@lyx.org>
8265 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8268 2003-02-25 John Levon <levon@movementarian.org>
8270 * ispell.C: give the forked command a more accurate name
8272 2003-02-22 John Levon <levon@movementarian.org>
8275 * toc.C: make TocItem store an id not a Paragraph *
8278 2003-02-21 Angus Leeming <leeming@lyx.org>
8280 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8281 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8282 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8283 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8284 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8285 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8287 * BufferView_pimpl.C (dispatch):
8288 * LyXAction.C (init):
8289 * factory.C (createInset):
8290 * lyxfunc.C (getStatus, dispatch):
8291 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8293 2003-02-21 Angus Leeming <leeming@lyx.org>
8295 * BufferView_pimpl.C (MenuInsertLyXFile):
8296 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8297 * lyxfunc.C (menuNew, open, doImport):
8298 no longer pass a LyXView & to fileDlg.
8300 2003-02-21 Angus Leeming <leeming@lyx.org>
8302 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8303 * LyXAction.C: change, BIBKEY to BIBITEM.
8304 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8305 Change InsetBibKey to InsetBibitem.
8306 Change BIBKEY_CODE to BIBITEM_CODE.
8307 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8308 * factory.C: replace insetbib.h with insetbibitem.h.
8309 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8310 * paragraph.C: replace insetbib.h with insetbibitem.h.
8311 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8312 Change bibkey() to bibitem().
8313 * text.C: remove insetbib.h.
8314 * text2.C: replace insetbib.h with insetbibitem.h.
8315 change bibkey() to bibitem().
8316 * text3.C: remove insetbib.h.
8317 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8319 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8321 * lyxrc.C (output): enclose user email in quotes (in case there are
8324 2003-02-18 John Levon <levon@movementarian.org>
8326 * buffer.h: add std::
8328 2003-02-17 John Levon <levon@movementarian.org>
8334 * pspell.C: reworking. Especially in ispell, a large
8335 number of clean ups and bug fixes.
8337 * lyxfunc.C: fix revert to behave sensibly
8339 2003-02-17 André Pönitz <poenitz@gmx.net>
8342 * commandtags.h: new LFUN_INSERT_BIBKEY
8352 * paragraph_func.C: remove special bibkey handling
8354 2003-02-17 John Levon <levon@movementarian.org>
8356 * text.C (Delete): fix case where delete at the end of
8357 the very first paragraph would not merge the pars
8359 2003-02-17 John Levon <levon@movementarian.org>
8361 * lyxrow.C: fix lastPrintablePos()
8363 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8365 * bufferparams.C (writeLaTeX): add a std:here
8367 * buffer.C: and remove a using directive there
8369 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * buffer.C (makeLaTeXFile): move the code that generates the
8374 * bufferparams.C (writeLaTeX): ... in this new method
8376 * LaTeXFeatures.C (getEncodingSet): make const
8377 (getLanguages): make const
8379 * MenuBackend.C (binding): returns the binding associated to this
8381 (add): sets the status of each item by calling getStatus. Adds
8383 (read): add support for OptSubMenu
8384 (expand): remove extra separator at the end of expanded menu
8386 2003-02-15 John Levon <levon@movementarian.org>
8389 * BufferView_pimpl.C:
8391 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8392 inset code that had no actual effect. Remove unneeded status
8395 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8397 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8400 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8402 * text.C (drawLengthMarker): also draw an arrow marker for
8403 symbolic lengths (medskip...)
8405 2003-02-14 John Levon <levon@movementarian.org>
8408 * tabular.C: better method names
8410 2003-02-14 John Levon <levon@movementarian.org>
8412 * BufferView_pimpl.C:
8417 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8418 it's a more accurate name. Remove some pointless uses.
8420 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8422 * text2.C (LyXText): change order of initilizers to shut off
8425 2003-02-14 John Levon <levon@movementarian.org>
8427 * buffer.C: use ParIterator for getParFromID()
8431 * paragraph_pimpl.h:
8432 * paragraph_pimpl.C: remove unused getParFromID()
8434 2003-02-14 John Levon <levon@movementarian.org>
8436 * buffer.C: remove some very old #if 0'd parse code
8438 2003-02-13 John Levon <levon@movementarian.org>
8442 * text2.C: move hfillExpansion(), numberOfSeparators(),
8443 rowLast(), rowLastPrintable(), numberofHfills(),
8444 numberOfLabelHfills() ...
8447 * lyxrow.C: ... to member functions here.
8452 * text.C: remove LyXText::beginningOfMainBody(), and call
8453 p->beginningOfMainBody() directly. Move the check for
8454 LABEL_MANUAL into the latter.
8461 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8467 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8468 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8470 2003-02-13 John Levon <levon@movementarian.org>
8472 * CutAndPaste.C: remove debug
8474 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8476 * paragraph.C (asString): remove two unused variables
8478 * lyxtextclass.C (readTitleType):
8480 (LyXTextClass): handle new members titletype_ and titlename_
8482 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8484 2003-02-09 John Levon <levon@movementarian.org>
8487 * buffer.C: replace hand-coded list with a map for the dep clean
8489 2003-02-08 John Levon <levon@movementarian.org>
8491 * LaTeX.C: consolidate code into showRunMessage() helper
8493 2003-02-08 John Levon <levon@movementarian.org>
8498 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8499 and pass the size in explicitly
8501 * BufferView_pimpl.h:
8502 * BufferView_pimpl.C:
8504 * BufferView.C: add getCurrentChange()
8506 * BufferView_pimpl.h:
8507 * BufferView_pimpl.C: handle change lfuns
8509 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8510 for changes. Mark pasted paragraphs as new.
8512 * support/lyxtime.h:
8513 * support/lyxtime.C:
8514 * DepTable.C: abstract time_t as lyx::time_type
8517 * LColor.C: add colours for new text, deleted text, changebars
8519 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8520 package use "usenames" option.
8524 * LyXAction.C: add change lfuns
8528 * author.C: author handling
8531 * buffer.C: add a per-buffer author list, with first entry as
8532 current author. Handle new .lyx tokens for change tracking. Output
8533 author list to .lyx file. Output dvipost stuff to .tex preamble.
8534 Bump lyx format to 222.
8537 * bufferlist.C: add setCurrentAuthor() to reset current author details
8541 * bufferparams.C: add param for tracking
8543 * bufferview_funcs.C: output change info in minibuffer
8547 * changes.C: add change-tracking structure
8550 * debug.C: add CHANGES debug flag
8553 * lyxfind.C: add code for finding the next change piece
8556 * lyxrc.C: add user_name and user_email
8559 * lyxrow.C: add a metric for the top of the text line
8562 * text.C: implement accept/rejectChange()
8565 * text.C: paint changebars. Paint new/deleted text in the chosen
8566 colours. Strike through deleted text.
8570 * paragraph_pimpl.h:
8571 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8572 in the current change to the insert functions. Rework erase to
8573 mark text as deleted, adding an eraseIntern() and a range-based
8574 erase(). Implement per-paragraph change lookup and
8577 * paragraph_funcs.C: Fixup paste for change tracking.
8579 * tabular.C: mark added row/columns as new.
8581 * text.C: fix rowLast() to never return -1. Don't allow
8582 spellchecking of deleted text. Track transpose changes. Don't
8583 allow paragraph break or merge where appropriate.
8585 * text2.C: leave cursor at end of selection after a cut.
8587 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * text.C (getLengthMarkerHeight):
8590 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8591 visible on screen too.
8593 2003-02-07 John Levon <levon@movementarian.org>
8595 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8597 2003-02-05 Angus Leeming <leeming@lyx.org>
8599 * lyxserver.C (read_ready): revert my patch of 11 September last year
8600 as it sends PC cpu through the roof. Presumably this means that
8601 the lyxserver will no longer run on an Alpha...
8603 2003-01-30 Angus Leeming <leeming@lyx.org>
8605 * factory.C (createInset): create an InsetCommandParam of type "index"
8606 and use it to 'do the right thing'.
8608 * text2.C (getStringToIndex): ensure that cursor position is always
8609 reset to the reset_cursor position.
8611 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8613 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8616 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8620 * lyxfunc.C: Output messages with identical spelling, punctuation,
8623 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8625 * MenuBackend.C (expandFormats): List only viewable export formats
8628 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8631 * lyxfunc.C (getStatus): Make sure that formats other than
8632 "fax" can also be disabled
8634 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8636 * text3.C (dispatch): put the lfuns that insert insets in 3
8637 groups, and call doInsertInset with appropriate arguments.
8638 (doInsertInset): new function, that creates an inset and inserts
8639 it according to some boolean parameters.
8641 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8643 * buffer.C (readFile): remember to pass on 'par' when calling
8644 readFile recursively.
8646 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8648 * MenuBackend.C (expandFormats): add "..." to import formats.
8650 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8652 * paragraph.C (asString): Remove XForms RTL hacks.
8654 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8655 * buffer.C: fix typo
8657 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8659 * Makefile.am (LIBS): delete var
8660 (lyx_LDADD): add @LIBS@ here instead.
8662 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8664 * Clarify the meaning of "wheel mouse jump"
8666 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8668 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8671 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8673 * importer.C (Loaders): do not preallocate 3 elements in the
8674 vector, since one ends up with 6 elements otherwise
8676 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8678 * DepTable.C (write): write the file name as last element of the
8679 .dep file (because it may contain spaces)
8680 (read): read info in the right order
8682 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8684 * paragraph_pimpl.C (simpleTeXBlanks):
8685 (simpleTeXSpecialChars):
8686 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8688 * tabular.C (latex): add some missing case statements. Reindent.
8690 * MenuBackend.C (expandToc): remove unused variable.
8692 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8701 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8704 2003-01-05 John Levon <levon@movementarian.org>
8707 * BufferView.C: add getEncoding()
8710 * kbsequence.C: do not store last keypress
8713 * lyxfunc.C: store last keypress here instead. Pass encoding
8716 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8718 * lyx_main.C (init): remove annoying error message when following
8719 symbolic links (bug #780)
8721 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8723 * text.C (insertChar):
8724 * lyxrc.C (getDescription): remove extra spaces
8726 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8728 * lyxrc.C (getDescription): remove extra spaces
8730 2002-12-20 John Levon <levon@movementarian.org>
8732 * text3.C: hack fix for page up/down across tall rows
8734 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8739 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8742 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8743 thesaurus is not compiled in
8745 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8747 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8749 2002-12-16 Angus Leeming <leeming@lyx.org>
8752 * lyx_main.C (init): remove override_x_deadkeys stuff.
8754 2002-12-12 John Levon <levon@movementarian.org>
8756 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8757 insert. Only remove shift modifier under strict
8760 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8762 * MenuBackend.C (expandToc): fix crash.
8764 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8766 * MenuBackend.C (expandToc): gettext on float names.
8768 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8770 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8771 implement bool empty() [bug 490]
8773 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8777 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8779 * several files: ws changes
8781 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8783 * text2.C (setCounter): clean up a bit, use boost.format.
8784 (updateCounters): initialize par upon declaration.
8786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8787 if the layout exists. We do not just store the layout any more.
8788 (SwitchLayoutsBetweenClasses): use boost.format
8790 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * converter.C (convert): if from and to files are the same, use a
8793 temporary files as intermediary
8795 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8800 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8802 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8804 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * tabular.C (asciiPrintCell): use string(size, char) instead of
8809 * sgml.C (openTag): fix order of arguments to string constructor
8812 * lyxfunc.C (dispatch): use boost.format
8814 * lots of files: change "c" -> 'c'
8816 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8818 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8820 2002-11-25 Angus Leeming <leeming@lyx.org>
8822 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8824 * lyx_main.C (init): compile fix.
8826 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8828 * lyx_cb.C (start): boost.formatify
8829 do not include <iostream>
8831 * lengthcommon.C: ws only
8833 * boost-inst.C,BoostFormat.h: add more explict instantations
8835 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * lots of files: handle USE_BOOST_FORMAT
8839 2002-11-21 John Levon <levon@movementarian.org>
8841 * pspell.C: fix compile
8843 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8845 * lyxfunc.C (dispatch): use boost::format
8849 * lyxfont.C (stateText): use boost::format
8851 * lyx_main.C (LyX): use boost::format
8853 (queryUserLyXDir): ditto
8856 (typedef boost::function): use the recommened syntax.
8858 * importer.C (Import): use boost::format
8860 * debug.C (showLevel): use boost::format
8862 * converter.C (view): use boost::format
8867 * bufferview_funcs.C (currentState): use boost::format
8869 * bufferlist.C (emergencyWrite): use boost::format
8871 * buffer.C (readLyXformat2): use boost::format
8872 (parseSingleLyXformat2Token): ditto
8874 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8876 * LaTeX.C (run): use boost::format
8878 * Chktex.C (scanLogFile): use boost::format
8880 * BufferView_pimpl.C (savePosition): use boost::format
8881 (restorePosition): ditto
8882 (MenuInsertLyXFile): ditto
8884 * BoostFormat.h: help file for explicit instation.
8886 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8888 * tabular.C (latex): Support for block alignment in fixed width
8891 2002-11-17 John Levon <levon@movementarian.org>
8893 * BufferView_pimpl.C:
8895 * lyxfunc.C: split filedialog into open/save
8897 2002-11-08 Juergen Vigna <jug@sad.it>
8899 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8900 by my last patch (hopefully).
8902 2002-11-08 John Levon <levon@movementarian.org>
8911 * toc.C: ParConstIterator, and use it (from Lars)
8913 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8915 * lyxtextclass.[Ch]: revise and add doxygen comments
8917 2002-11-07 John Levon <levon@movementarian.org>
8919 * text.C: fix progress value for spellchecker
8921 * toc.C: fix navigate menu for insetwrap inside minipage
8923 * paragraph_funcs.C: added FIXME for suspect code
8925 2002-11-07 John Levon <levon@movementarian.org>
8927 * BufferView_pimpl.C: fix redrawing of insets
8930 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8932 * text2.C (updateCounters): fix bug 668
8934 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8936 * text3.C (dispatch): Do not make the buffer dirty when moving the
8939 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * vc-backend.C: STRCONV
8944 * text2.C (setCounter): STRCONV
8946 * paragraph.C (asString): STRCONV
8948 * lyxlength.C (asString): STRCONV
8949 (asLatexString): ditto
8951 * lyxgluelength.C (asString): STRCONV
8952 (asLatexString): ditto
8954 * lyxfunc.C (dispatch): STRCONV
8957 * lyxfont.C (stateText): STRCONV
8959 * importer.C (Import): STRCONV
8961 * counters.C (labelItem): STRCONV
8962 (numberLabel): ditto
8963 (numberLabel): remove unused ostringstream o
8968 * bufferview_funcs.C (currentState): STRCONV
8970 * buffer.C (readFile): STRCONV
8971 (asciiParagraph): ditto
8972 (makeLaTeXFile): ditto
8974 * Spacing.C (writeEnvirBegin): STRCONV
8976 * LaTeXFeatures.C (getLanguages): STRCONV
8977 (getPackages): ditto
8979 (getBabelOptions): ditto
8980 (getTClassPreamble): ditto
8981 (getLyXSGMLEntities): ditto
8982 (getIncludedFiles): ditto
8986 (scanAuxFile): ditto
8989 * LString.h: add the STRCONV macros
8991 * BufferView_pimpl.C (savePosition): STRCONV
8992 (restorePosition): ditto
8993 (MenuInsertLyXFile): ditto
8995 * vc-backend.C (scanMaster): change from submatch[...] to
8998 * funcrequest.C: include config.h
9000 * factory.C: include config.h
9002 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9004 * box.C: include config.h
9006 * LaTeX.C (scanAuxFile): change from submatch[...] to
9010 2002-10-25 Angus Leeming <leeming@lyx.org>
9012 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9014 * ispell.[Ch] (setError): new method.
9015 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9016 Use setError() insetead of goto END.
9018 * lyx_cb.C (AutoSave): move out child process into new class
9021 2002-10-30 John Levon <levon@movementarian.org>
9023 * text3.C: make start appendix undoable
9025 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9027 * lyxlength.C (inPixels): Fix returned value.
9029 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9032 2002-10-24 Angus Leeming <leeming@lyx.org>
9034 * lyxgluelength.h: no need to forward declare BufferParams
9035 or BufferView, so don't.
9037 2002-10-21 John Levon <levon@movementarian.org>
9039 * BufferView.C: menuUndo ->undo, redo
9041 * BufferView.h: document, remove dead, make some methods private
9043 * paragraph_funcs.h:
9044 * paragraph_funcs.C:
9045 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9050 * sgml.C: move sgml open/close tag into sgml.C
9052 * bufferview_funcs.h: unused prototype
9055 * lyxfunc.C: remove unused
9058 * text.C: remove unused
9060 2002-10-21 John Levon <levon@movementarian.org>
9064 * BufferView_pimpl.h:
9065 * BufferView_pimpl.C: fix mouse wheel handling based on
9066 patch from Darren Freeman
9068 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9070 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9072 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9074 * lyxlength.C (inPixels): Fix hanfling of negative length.
9075 Fix LyXLength::MU case.
9077 2002-10-16 John Levon <levon@movementarian.org>
9079 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9081 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9083 * converter.C (view): add support for $$i (file name) and $$p
9084 (file path) for the viewer command. If $$i is not specified, then
9085 it is appended to the command (for compatibility with old syntax)
9087 2002-10-14 Juergen Vigna <jug@sad.it>
9089 * undo_funcs.C (textHandleUndo): alter the order in which the
9090 new undopar is added to the LyXText, as we have to set first
9091 the right prev/next and then add it as otherwise the rebuild of
9092 LyXText is not correct. Also reset the cursor to the right paragraph,
9093 with this IMO we could remove the hack in "redoParagraphs()".
9095 2002-10-09 Angus Leeming <leeming@lyx.org>
9097 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9098 to turn off an optimisation if a new inset is to be inserted.
9100 2002-10-11 André Pönitz <poenitz@gmx.net>
9102 * lyxtext.h: make some functions public to allow access
9103 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9105 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9107 * text3.C (dispatch): when changing layout, avoid an infinite loop
9110 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9112 * lyxrc.C (read): treat a viewer or converter command of "none" as
9115 * MenuBackend.C (expandFormats): for an update, also allow the
9116 formats that are not viewable
9118 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9119 script if it is newer than the lyxrc.defaults in user directory
9121 2002-10-07 André Pönitz <poenitz@gmx.net>
9123 * text.C: Vitaly Lipatov's small i18n fix
9125 2002-09-25 Angus Leeming <leeming@lyx.org>
9127 * ispell.h: doxygen fix.
9129 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9131 * buffer.h (readFile): Add a new argument to the method, to allow
9132 reading of old-format templates.
9134 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9136 * toc.C (getTocList): Get TOC from InsetWrap.
9138 2002-09-16 John Levon <levon@movementarian.org>
9140 * lyxfunc.C: check tabular for cut/copy too
9142 2002-09-12 John Levon <levon@movementarian.org>
9147 * factory.C: add header
9149 * paragraph_funcs.h:
9150 * paragraph_funcs.C: cleanup
9152 2002-09-11 John Levon <levon@movementarian.org>
9154 * PrinterParams.h: odd/even default to true
9156 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9158 * PrinterParams.h: update printer parameters for new xforms dialog
9160 2002-09-11 Angus Leeming <leeming@lyx.org>
9162 * lyxserver.C (read_ready): re-write to make it more transparent
9163 and to make it work in coherent fashion under Tru64 Unix.
9165 2002-09-11 André Pönitz <poenitz@gmx.net>
9169 * text3.C: implement LFUN_WORDSEL
9171 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9173 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9174 make floatlist_ a boost::shared_ptr<FloatList>
9176 * lyxtextclass.C: include FloatList.h
9177 (LyXTextClass): initialize floatlist_
9178 (TextClassTags): add TC_NOFLOAT
9179 (Read): match "nofloat" to TC_NOFLOAT and use it.
9180 (readFloat): modify call to floatlist_
9184 * FloatList.[Ch] (FloatList): remove commented out float
9186 (erase): new function
9188 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9190 * MenuBackend.C (expandToc): fix crash when there is no document
9193 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9195 * many files: Add insetwrap.
9197 2002-09-09 John Levon <levon@movementarian.org>
9199 * text2.C: remove confusing and awkward depth wraparound
9201 2002-09-09 John Levon <levon@movementarian.org>
9203 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9206 * buffer.C: remove getIncludeonlyList()
9209 * lyxfunc.C: remove headers
9211 2002-09-09 Juergen Vigna <jug@sad.it>
9213 * text.C (getColumnNearX): fix form Michael this is most
9214 probably a cut&paste bug.
9216 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9218 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9220 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9221 references, ws changes.
9223 * text2.C (init): update counters after init
9224 (insertParagraph): no need to set counter on idividual paragraphs.
9225 (setCounter): access the counters object in the textclass object
9226 on in the buffer object.
9227 (updateCounters): ditto
9229 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9230 shared_ptr<Counters> to avoid loading counters.h in all
9232 (LyXTextClass): initialize ctrs_
9233 (TextClassTags): add TC_COUNTER, and ...
9234 (Read): use it here.
9235 (CounterTags): new tags
9236 (readCounter): new function
9237 (counters): new funtion
9238 (defaultLayoutName): return a const reference
9240 * counters.C (Counters): remove contructor
9241 (newCounter): remove a couple of unneeded statements.
9242 (newCounter): simplify a bit.
9243 (numberLabel): some small formatting changes.
9245 * buffer.[Ch]: remove all traces of counters, move the Counters
9246 object to the LyXTextClass.
9248 2002-09-06 Alain Castera <castera@in2p3.fr>
9250 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9251 package to set the horizontal alignment on fixed width columns.
9254 * lyx_sty.h: added tabularnewline macro def.
9256 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9258 2002-09-06 John Levon <levon@movementarian.org>
9260 * LyXAction.C: tooltips for sub/superscript
9262 * MenuBackend.C: a bit more verbose
9264 * lyxfunc.C: tiny clean
9266 * undo_funcs.C: document undo_frozen
9268 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9270 * counters.C (Counters): add missing algorithm counter.
9272 * text2.C (setCounter): lookup the counter with layouts latexname
9273 instead of by section number.
9274 (setCounter): use a hackish way to lookup the correct enum
9276 a float name->type change
9277 reset enum couners with counter name directly instead of depth value.
9279 * counters.C (Counters): remove the push_backs, change to use the
9280 float type not the float name.
9281 (labelItem): remove unused string, float name->type change
9283 * counters.h: don't include vector, loose the enums and sects vectors
9285 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9287 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9288 (Read): add float->TC_FLOAT to textclassTags
9289 (Read): and handle it in the switch
9290 (readFloat): new function
9292 * FloatList.C (FloatList): comment out the hardcoded float
9295 * lyxlayout.h: ws change.
9297 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9299 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9301 2002-09-03 Angus Leeming <leeming@lyx.org>
9303 * BufferView_pimpl.h: qualified name is not allowed in member
9304 declaration: WorkArea & Pimpl::workarea() const;
9306 * factory.C: added using std::endl directive.
9308 * text3.C: added using std::find and std::vector directives.
9310 2002-08-29 André Pönitz <poenitz@gmx.net>
9313 * text2.C: remove unused member number_of_rows
9316 * BufferView2.C: remove file, move contents to...
9317 * BufferView.C: ... here
9319 * BufferView_pimpl.C:
9320 * factory.C: move more inset creation to factory
9322 * vspace.C: avoid direct usage of LyXText, ws changes
9325 don't provide direct access to WorkArea, use two simple
9326 acessors haveSelction() and workHeight() instead
9329 2002-08-29 John Levon <levon@movementarian.org>
9331 * BufferView_pimpl.C (dispatch): do not continue when
9334 2002-08-28 André Pönitz <poenitz@gmx.net>
9336 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9339 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9341 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9343 * buffer.C: increment LYX_FORMAT to 221
9345 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9346 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9348 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9350 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9352 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9354 * factory.C (createInset): use LyXTextClass::floats
9356 * MenuBackend.C (expandFloatListInsert):
9357 (expandFloatInsert):
9360 * text2.C (setCounter):
9362 * LaTeXFeatures.C (useFloat):
9363 (getFloatDefinitions):
9365 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9367 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9368 floatlist_, with accessor floats().
9370 * FloatList.h: remove global FloatList
9372 2002-08-26 André Pönitz <poenitz@gmx.net>
9374 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9378 * BufferView_pimpl.C:
9379 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9381 2002-08-25 John Levon <levon@movementarian.org>
9383 * LyXAction.C: fix margin note description
9385 2002-08-24 John Levon <levon@movementarian.org>
9389 * bufferview_funcs.C:
9391 * undo_funcs.C: cleanups
9393 * lyxfunc.C: disable CUT/COPY when no selection
9395 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9397 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9398 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9400 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9401 Add backward compatibility to "mono", "gray" and "no".
9403 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9405 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9406 (and file_format >= 200).
9408 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9410 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9412 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9414 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9416 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9418 * BufferView_pimpl.C:
9425 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9426 inset and code to make it work with the paragraph code. The inset
9427 can be anywhere in the paragraph, but will only do the expected
9428 thing in LaTeX if the layout file contains the parameter line
9430 (or more generally, a nonzero value) for that layout.
9432 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9434 * paragraph.h: remove the declaration of undefined counters class
9437 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9439 * text2.C (setCounter): fixed enumeration mis-count as reported by
9440 Dr. Richard Hawkins.
9442 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9444 * paragraph_funcs.h: remove some unneeded includes
9446 * text.C (backspace): pasteParagraph now in global scipe
9448 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9449 (pasteSelection): ditto
9451 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9452 * paragraph_funcs.C (pasteParagraph): ... here
9454 2002-08-20 André Pönitz <poenitz@gmx.net>
9456 * commandtags.h: new LFUNs for swapping/copying table row/colums
9459 * lyxfunc.C: support for new lfuns
9461 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9464 * buffer.[Ch]: remove NO_COMPABILITY stuff
9466 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9468 * boost.C (throw_exception): new file, with helper function for
9469 boost compiled without exceptions.
9474 * ParameterStruct.h:
9475 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9477 * bufferlist.C (emergencyWriteAll): use boost bind
9479 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9481 * text.C: include paragraph_funcs.h
9482 (breakParagraph): breakParagraph is now in global scope
9484 * paragraph_funcs.[Ch]: new files
9486 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9489 * buffer.C: include paragraph_funcs.h
9490 (insertStringAsLines): breakParagraph is now in global scope
9492 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9495 * CutAndPaste.C: include paragraph_funcs.h
9496 (cutSelection): breakParagraphConservative is now in global scope
9497 (pasteSelection): ditto
9499 * buffer.h: declare oprator== and operator!= for
9500 Buffer::inset_iterator
9502 * bufferlist.C (emergencyWrite): don't use fmt(...)
9504 * text3.C: add using std::endl
9506 * BufferView.C (moveCursorUpdate): remove default arg
9508 2002-08-20 André Pönitz <poenitz@gmx.net>
9510 * buffer.[Ch]: move inline functions to .C
9513 * BufferView_pimpl.C:
9515 * buffer.[Ch]: use improved inset_iterator
9518 * paragraph.[Ch]: write one paragraph at a time
9520 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9522 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9523 style if style is not specified.
9525 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * text2.C (setCounter): when searching for right label for a
9528 caption, make sure to recurse to parent insets (so that a caption
9529 in a minipage in a figure float works) (bug #568)
9531 2002-08-20 André Pönitz <poenitz@gmx.net>
9533 * text3.C: new file for LyXText::dispatch() and helpers
9535 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9537 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9539 2002-08-19 André Pönitz <poenitz@gmx.net>
9542 * text.C: new LyXText::dispatch()
9544 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9546 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9548 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9550 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9553 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * Makefile.am: use $(variables) instead of @substitutions@
9557 2002-08-15 André Pönitz <poenitz@gmx.net>
9560 * BufferView_pimpl.C: streamlining mathed <-> outer world
9564 * LyXAction.C: remove unused LFUN_MATH
9566 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9570 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9572 * paragraph.C (Paragraph): reformat a bit
9573 (cutIntoMinibuffer): use builtin InsetList function instad of
9577 * buffer.C: include boost/bind.hpp, add using std::for_each
9578 (writeFileAscii): use ParagraphList iterators
9579 (validate): use for_each for validate traversal of paragraphs
9580 (getBibkeyList): use ParagraphList iterators
9581 (resizeInsets): use for_each to resizeInsetsLyXText for all
9583 (getParFromID): use ParagraphList iterators
9585 * BufferView2.C (lockInset): use paragraph list and iterators
9587 2002-08-14 John Levon <levon@movementarian.org>
9589 * lyxserver.C: remove spurious xforms include
9591 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9593 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9595 2002-08-13 André Pönitz <poenitz@gmx.net>
9598 * lyxfunc.C: further cleaning
9600 2002-08-13 André Pönitz <poenitz@gmx.net>
9602 * funcrequest.h: new constructor
9604 * funcrequest.C: move stuff here from .h
9607 * BufferView_pimpl.C:
9610 * lyxfunc.C: subsequent changes
9612 * lyxfunc.h: new view() member function
9614 * lyxfunc.C: subsequent changes
9616 2002-08-13 Angus Leeming <leeming@lyx.org>
9619 * BufferView_pimpl.C:
9627 changes due to the changed LyXView interface that now returns references
9628 to member variables not pointers.
9630 2002-08-13 Angus Leeming <leeming@lyx.org>
9632 * WordLangTuple (word, lang_code): return references to strings,
9637 * lyxtext.h: forward-declare WordLangTuple.
9642 * text.C: #include "WordLangTuple.h".
9645 * text.C: (selectNextWordToSpellcheck): constify return type.
9647 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9653 * paragraph_pimpl.h:
9656 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9658 Made updateCounter always count from start of buffer, and removed
9659 second argument (par).
9660 Reverted floats number display to '#'. Perhaps I'll try again when the
9661 code base is sanitized a bit.
9663 2002-08-12 Angus Leeming <leeming@lyx.org>
9665 * buffer.[Ch] (getLabelList): constify.
9667 2002-08-07 André Pönitz <poenitz@gmx.net>
9669 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9671 * funcrequest.h: extension to keep mouse (x,y) position
9673 2002-08-12 Juergen Vigna <jug@sad.it>
9675 * BufferView2.C (insertErrors): forbid undo when inserting error
9678 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9680 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9682 * ParagraphList.[Ch]: new files
9684 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9686 * BufferView2.C (lockInset): ParagraphList changes
9689 * bufferlist.C: ditto
9693 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9695 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9696 unused class variable counter_,
9698 * paragraph.[Ch] (getFirstCounter): delete unused function
9700 * counters.C: include LAssert.h
9701 (reset): add a new function with no arg, change other version to
9702 not have def. arg and to not allow empty arg.
9704 * text2.C (setCounter): remove empty arg from call to Counters::reset
9706 2002-08-11 John Levon <levon@movementarian.org>
9708 * Makefile.am: add WordLangTuple.h
9710 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9712 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9713 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9715 * insets/insettext.C: InsetList changes
9717 * graphics/GraphicsSupport.C (operator()): InsetList changes
9719 * toc.C (getTocList): InsetList changes
9721 * paragraph_pimpl.[Ch]: InsetList changes
9723 * paragraph.[Ch]: InsetList changes
9725 * buffer.C (inset_iterator): InsetList changes
9726 (setParagraph): ditto
9727 * buffer.h (inset_iterator): ditto
9728 * iterators.C (operator++): ditto
9729 * iterators.h: ditto
9731 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9733 * InsetList.[Ch]: new files, most InsetList handling moved out of
9736 * BufferView2.C (removeAutoInsets): InsetList changes
9738 (ChangeInsets): ditto
9740 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9742 * paragraph_pimpl.h (empty): new function
9744 * paragraph.[Ch] (empty): new function
9746 * other files: use the new Paragraph::empty function
9748 2002-08-09 John Levon <levon@movementarian.org>
9750 * lyxtext.h: remove unused refresh_height
9752 2002-08-09 John Levon <levon@movementarian.org>
9759 * paragraph.C: move sgml char escaping out of paragraph
9762 * paragraph.C: remove id setter
9766 * paragraph_pimpl.C: remove dead tex_code_break_column
9768 * bufferview_funcs.C: small cleanup
9770 * lyxfunc.C: remove dead proto
9772 * lyxtext.h: make some stuff private. Remove some dead stuff.
9774 * lyxgluelength.C: make as[LyX]String() readable
9776 2002-08-08 John Levon <levon@movementarian.org>
9781 * ToolbarDefaults.C:
9784 * toc.C: lyxaction cleanup
9786 2002-08-08 John Levon <levon@movementarian.org>
9788 * BufferView2.C: small cleanup
9791 * lyxfind.C: move unnecessary header into the .C
9793 2002-08-08 John Levon <levon@movementarian.org>
9795 * funcrequest.h: just tedious nonsense
9798 * lyx_main.C: cleanups
9801 * vspace.C: remove dead header lyx_main.h
9803 2002-08-07 Angus Leeming <leeming@lyx.org>
9806 * paragraph_pimpl.h:
9807 Forward declare class Counters in paragraph.h by moving the ctrs member
9808 variable into Paragraph::Pimpl.
9809 (counters): new method, returning a reference to pimpl_->ctrs.
9811 * text2.C: ensuing changes.
9813 2002-08-07 John Levon <levon@movementarian.org>
9815 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9817 * BufferView_pimpl.C: announce X selection on double/triple
9820 * lyx_main.C: use correct bool in batch dispatch
9822 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9824 2002-08-07 André Pönitz <poenitz@gmx.net>
9826 * funcrequest.h: new class to wrap a kb_action and its argument
9829 * BufferView_pimpl[Ch]:
9833 * lyxrc.C: subsequent changes
9836 2002-08-07 John Levon <levon@movementarian.org>
9838 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9839 document options change.
9841 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9846 * makefile.am: move counters functionality over from
9847 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9849 2002-08-06 John Levon <levon@movementarian.org>
9851 * WordLangTuple.h: new file for word + language code tuple
9862 * BufferView2.C: use WordLangTuple
9865 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9867 2002-08-06 John Levon <levon@movementarian.org>
9869 * lyx_main.C: fix cmdline batch handling
9871 2002-08-06 André Pönitz <poenitz@gmx.net>
9873 * lyxrc.C: set default for show_banner to true
9875 2002-08-06 John Levon <levon@movementarian.org>
9877 * pspell.C: fix a crash, and allow new aspell to work
9879 2002-08-06 John Levon <levon@movementarian.org>
9882 * kbmap.C: small cleanup
9885 * vspace.C: add const
9887 2002-08-05 John Levon <levon@movementarian.org>
9889 * LyXAction.C: back to tabular-insert
9891 2002-08-04 John Levon <levon@movementarian.org>
9894 * BufferView.C: cosmetic change
9896 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9906 * BufferView2.C: purge all "Lyx" not "LyX" strings
9909 * lyxcursor.C: attempt to add some documentation
9914 * ToolbarDefaults.C:
9915 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9916 merge with LFUN_TABULAR_INSERT
9923 * pspell.C: split up i/pspell implementations into separate
9924 files, many cleanups
9926 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9928 * text2.C: some cleanup
9930 * lyxfunc.C: don't check for isp_command == "none" any more, it
9931 didn't make any sense
9933 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9938 * makefile.am: move counters functionality over
9939 from text2.C/paragraph.[Ch] to counters.[Ch], and
9941 2002-08-02 John Levon <levon@movementarian.org>
9943 * buffer.C: s/lyxconvert/lyx2lyx/
9945 2002-08-02 Angus Leeming <leeming@lyx.org>
9947 * lyxlex.C: revert John's change as it breaks reading of the user
9950 2002-08-02 Angus Leeming <leeming@lyx.org>
9952 * importer.C (Import):
9953 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9954 changes due to LyXView::view() now returning a boost::shared_ptr.
9956 2002-08-02 John Levon <levon@movementarian.org>
9958 * lyxlex.C: small cleanup
9960 2002-08-02 John Levon <levon@movementarian.org>
9962 * text2.C (status): small cleanup, no logic change
9964 2002-08-01 John Levon <levon@movementarian.org>
9967 * buffer.C (writeFile): don't output alerts, caller
9971 * lyx_cb.C: from above
9973 * lyxfunc.C: allow to open non-existent files
9975 2002-07-31 John Levon <levon@movementarian.org>
9977 * lyxserver.C: don't let incidental errors get
9980 2002-07-30 John Levon <levon@movementarian.org>
9982 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9984 2002-07-30 John Levon <levon@movementarian.org>
9987 * lyxserver.C: remove I/O callback too
9989 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9991 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9994 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9996 * many files: strip,frontStrip -> trim,ltrim,rtrim
9998 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10000 * PrinterParams.h: remove extern containsOnly, and include
10001 support/lstrings.h instead.
10003 * LaTeX.C (scanAuxFile): modify because of strip changes
10005 * buffer.C (makeLaTeXFile): ditto
10006 * bufferparams.C (writeFile): ditt
10007 * lyxfont.C (stateText): ditto
10008 * lyxserver.C (read_ready): ditto
10009 * vc-backend.C (scanMaster): ditto
10011 * BufferView_pimpl.h: ws changes
10013 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10015 2002-07-26 André Pönitz <poenitz@gmx.net>
10017 * kb_sequence.C: remove unnedred usings
10019 2002-07-26 Juergen Vigna <jug@sad.it>
10021 * lyxfind.C (LyXReplace): we have to check better if the returned
10022 text is not of theLockingInset()->getLockingInset().
10024 2002-07-25 Juergen Vigna <jug@sad.it>
10026 * lyxfind.C (LyXReplace): don't replace if we don't get the
10029 * undo_funcs.C (createUndo): remove debugging code.
10031 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10033 * buffer.C (parseSingleLyXformat2Token): Use default placement
10034 when reading old floats.
10036 * FloatList.C (FloatList): Change the default placement of figure
10037 and tables to "tbp".
10039 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10041 * MenuBackend.C: using std::max
10043 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * MenuBackend.C (expandToc):
10046 (expandToc2): code moved from xforms menu frontend. It is now
10047 generic and TOCs are transparent to menu frontends.
10049 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * toc.C (getTocList): protect against buf=0
10053 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10054 Menu as first parameter. Now, this calls itself recursively to
10055 expand a whole tree (this will be useful for TOC handling)
10056 (expandFloatInsert): remove 'wide' version of floats
10058 * MenuBackend.h (submenuname): returns the name of the submenu.
10059 (submenu): returns the submenu itself, provided it has been
10060 created by MenuBackend::expand
10062 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10064 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10065 insets which have noFontChange == true. (bug #172)
10067 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10069 * BufferView_pimpl.C: add connection objects and use them...
10072 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10074 * MenuBackend.C (expandLastfiles):
10077 (expandFloatListInsert):
10078 (expandFloatInsert):
10079 (expand): split expand in parts
10081 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10083 * lyx_gui.C: use lyx_gui::exit()
10085 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10087 * LyXAction.C: show the failing pseudo action
10089 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10091 * buffer.C (readFile): Run the lyxconvert script in order to read
10094 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10098 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10104 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10106 2002-07-22 Herbert Voss <voss@lyx.org>
10109 * lyxlength.[Ch]: add support for the vertical lengths
10111 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10113 * toc.[Ch]: std:: fixes
10115 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10117 * lyxrc.C: do not include lyx_main.h
10119 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10125 * BufferView2.C: include "lyxlex.h"
10128 * bufferparams.h: do not #include "lyxlex.h"
10130 * lyxtextclasslist.C (Add): remove method
10131 (classlist): renamed to classlist_
10133 * paragraph_pimpl.C:
10137 * bufferview_funcs.C:
10142 * toc.C (getTocList): use BufferParams::getLyXTextClass
10144 * toc.C (getTocList): use InsetFloat::addToToc
10146 * toc.[Ch]: new files, containing helper functions to handle table
10149 * lyxfunc.C (dispatch): no need to remove spaces around command
10151 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10152 first command of the sequence; it is not very clever, but I do not
10153 have a better idea, actually
10155 * LyXAction.C (LookupFunc): make sure to remove space at the
10156 beginning and end of the command
10158 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10160 * MenuBackend.C (getMenubar): new method: return the menubar of
10162 (read): treat differently reading of menu and menubar (in
10163 particular, the menubar has no name now)
10164 (Menu::menubar): remove
10166 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10169 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10171 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10172 a bibitem inset in a RTL paragraph.
10174 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10176 * paragraph_pimpl.C: constify
10178 * BufferView_pimpl.C:
10180 * lyxfunc.C: fix dispatch in a nicer way
10182 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10184 * lyxfunc.C (dispatch):
10185 * BufferView_pimpl.C:
10186 * BufferView_pimpl.h:
10188 * BufferView.h: rename Dispatch() to dispatch()
10190 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10192 * lyxlayout.C (Read): honor DependsOn tag
10194 * lyxlayout.[Ch] (depends_on): new method
10196 * version.C.in: update lyx_docversion
10198 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10200 * paragraph.C (validate): remove from here...
10201 * paragraph_pimpl.C (validate): ... and move here
10202 (isTextAt): make it const
10204 * buffer.C (getLists): ws cleanup
10206 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10208 * language.C (read): Use iso8859-1 encoding in latex_lang
10209 (this prevents LyX from crashing when using iso10646-1 encoding).
10211 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10213 * text2.C (toggleInset): if cursor is inside an inset, close the
10214 inset and leave cursor _after_ it
10216 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10218 * lyxfunc.C: move minibuffer completion handling out of here
10220 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10222 * BufferView_pimpl.C:
10223 * LaTeX.C: fix dispatch calls
10225 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10227 * text.C (drawChars): Fix Arabic text rendering.
10229 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10233 * lyxfunc.C: remove message-push/pop
10237 * lyxfunc.C: rationalise some code by removing verboseDispatch
10238 in favour of a bool argument to dispatch()
10240 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10242 * lyx_main.C (init): make sure to read symlinks as absolute paths
10244 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10247 * lyxfunc.C: no need for commandshortcut to be a member
10249 2002-07-15 André Pönitz <poenitz@gmx.net>
10251 * converter.C: add support for $$s (scripts from lib/scripts dir)
10252 * lyx_main.C: white space
10254 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10258 * lyxrc.C: remove second exit confirmation
10260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10265 * BufferView_pimpl.h:
10266 * BufferView_pimpl.C:
10267 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10269 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10271 * MenuBackend.C (expand): add numeric shortcuts to document menu
10273 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10275 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * lyxfont.C (setLyXFamily):
10284 * buffer.C (asciiParagraph): use ascii_lowercase
10286 2002-07-15 Mike Fabian <mfabian@suse.de>
10288 * lyxlex_pimpl.C (search_kw):
10289 * lyxlex.C (getLongString):
10290 * converter.h (operator<):
10291 * converter.C (operator<):
10292 * buffer.C (parseSingleLyXformat2Token):
10294 * ToolbarDefaults.C (read):
10295 * MenuBackend.C (checkShortcuts):
10297 * LColor.C (getFromGUIName):
10298 (getFromLyXName): use the compare_ascii_no_case instead of
10299 compare_no_case, because in turkish, 'i' is not the lowercase
10300 version of 'I', and thus turkish locale breaks parsing of tags.
10302 2002-07-16 Angus Leeming <leeming@lyx.org>
10304 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10305 now takes a Buffer const & argument.
10307 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10309 * BufferView.C (resize): check there's a buffer to resize
10311 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10313 * lyxfunc.C: remove dead code
10316 * lyxserver.C: use lyx_guii::set_read_callback
10318 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10320 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10321 an inset in a RTL paragraph.
10323 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10325 * lyxfunc.C: repaint after a font size update
10327 2002-07-15 André Pönitz <poenitz@gmx.net>
10329 * lyxlength.C: inBP should be able to return negative values
10331 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10333 * lyxfunc.C: use lyx_gui::update_fonts()
10335 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10337 * lyxfunc.C: use lyx_gui::update_color()
10339 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10345 * lyxrc.C: remove file->new asks for name option, and let
10346 buffer-new take an argument
10348 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10350 * BufferView_pimpl.C: remove unneeded extra repaint()
10352 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10354 * LyXAction.C: allow command-sequence with NoBuffer
10356 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10358 2002-07-10 Angus Leeming <leeming@lyx.org>
10360 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10362 2002-07-09 Angus Leeming <leeming@lyx.org>
10364 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10366 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10368 * lengthcommon.h: whitespace
10370 * lyxfunc.C: update scrollbar after goto paragraph
10372 * lyxtext.h: factor out page break drawing, and fix it so
10373 page break/added space paints as selected nicely
10375 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10377 * BufferView_pimpl.C: add FIXMEs, clean up a little
10379 2002-07-09 André Pönitz <poenitz@gmx.net>
10381 * lyxfont.[Ch]: support for wasy symbols
10383 2002-07-08 André Pönitz <poenitz@gmx.net>
10385 * BufferView_pimpl.C: apply John's patch for #93.
10387 2002-07-05 Angus Leeming <leeming@lyx.org>
10389 * BufferView_pimpl.C (buffer): generate previews if desired.
10391 * LColor.h: add "preview" to the color enum.
10393 * LColor.C (LColor): add a corresponding entry to the items array.
10395 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10398 2002-07-05 Angus Leeming <leeming@lyx.org>
10400 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10401 The body of the code is now in the method that is passed an ostream &
10402 rather than a file name.
10403 Pass an additional only_preamble parameter, useful for the forthcoming
10406 2002-07-03 André Pönitz <poenitz@gmx.net>
10408 * lyxfunc.C: simplify getStatus() a bit for math stuff
10410 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10412 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10414 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10416 * text.C (changeRegionCase): do not change case of all the
10417 document when region ends at paragraph end (bug #461)
10419 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10421 * paragraph.C (startTeXParParams):
10422 (endTeXParParams): add \protect when necessary
10424 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10426 * BufferView_pimpl.C (workAreaExpose): remove warning
10428 2002-06-27 Angus Leeming <leeming@lyx.org>
10430 * Makefile.am: add lyxlayout_ptr_fwd.h.
10432 2002-06-26 André Pönitz <poenitz@gmx.net>
10434 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10436 2002-06-25 Angus Leeming <leeming@lyx.org>
10438 * lyxfunc.C (dispatch): Comment out the call to
10439 grfx::GCache::changeDisplay. The method no longer exists now that the
10440 pixmap generation part of the graphics loader has been moved into
10443 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * text2.C: layout as layout
10447 * text.C: layout as layout
10449 * tabular.C (OldFormatRead): layout as layout
10451 * paragraph_pimpl.C (TeXDeeper): layout as layout
10452 (realizeFont): layout as layout
10454 * paragraph.C (writeFile): layout as layout
10455 (validate): layout as layout
10456 (getFont): layout as layout
10457 (getLabelFont): layout as layout
10458 (getLayoutFont): layout as layout
10459 (breakParagraph): layout as layout
10460 (stripLeadingSpaces): layout as layout
10461 (getEndLabel): layout as layout
10462 (getMaxDepthAfter): layout as layout
10463 (applyLayout): layout as layout
10464 (TeXOnePar): layout as layout
10465 (simpleTeXOnePar): layout as layout
10466 (TeXEnvironment): layout as layout
10467 (layout): layout as layout
10468 (layout): layout as layout
10470 * lyxtextclass.C (compare_name): new functor to work with
10471 shared_ptr, layout as layout
10472 (Read): layout as layout
10473 (hasLayout): layout as layout
10474 (operator): layout as layout
10475 (delete_layout): layout as layout
10476 (defaultLayout): layout as layout
10478 * lyxlayout_ptr_fwd.h: new file
10480 * lyxlayout.C (Read): layout as layout
10482 * lyx_cb.C (MenuInsertLabel): layout as layout
10484 * bufferlist.C (newFile): layout as layout
10486 * buffer.C (readLyXformat2): layout as layout
10487 (parseSingleLyXformat2Token): layout as layout
10488 (insertStringAsLines): layout as layout
10489 (asciiParagraph): layout as layout
10490 (latexParagraphs): layout as layout
10491 (makeLinuxDocFile): layout as layout
10492 (simpleLinuxDocOnePar): layout as layout
10493 (makeDocBookFile): layout as layout
10494 (simpleDocBookOnePar): layout as layout
10495 (getLists): layout as layout
10497 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10499 * CutAndPaste.C (cutSelection): layout as layout
10500 (pasteSelection): layout as layout
10501 (SwitchLayoutsBetweenClasses): layout as layout
10503 * BufferView_pimpl.C (Dispatch): layout as layout
10504 (smartQuote): layout as layout
10506 * BufferView2.C (unlockInset): layout as layout
10508 2002-06-24 André Pönitz <poenitz@gmx.net>
10510 * lyxfunc.C: fix #487
10512 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10516 * lyxfunc.C: remove display_shortcuts, show_banner
10518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10520 * Buffer_pimpl.C: oops, update on resize
10522 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10529 * BufferView.C: use repaint()
10531 * BufferView_pimpl.h:
10532 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10533 as it's a clearer description. Remove superfluous
10536 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10538 * text.C: fix bug 488. Not ideal, but getting
10539 getWord() to work properly for the insets that
10540 matter is more difficult ...
10542 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10544 * BufferView_pimpl.C:
10547 * lyxfunc.C: remove the six million index lyxfuncs to just
10548 one, and DTRT (bug 458)
10550 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10554 * BufferView_pimpl.h:
10555 * BufferView_pimpl.C: clean up resize() stuff,
10556 and unnecessary updateScreen()s
10558 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10562 * BufferView_pimpl.h:
10563 * BufferView_pimpl.C:
10566 * minibuffer.C: remove focus management of workarea,
10567 not needed. Use screen's greyOut()
10569 2002-06-17 Herbert Voss <voss@lyx.org>
10571 * converter.C: (convert) do not post a message, when converting
10572 fails, let the calling function decide what to do in this case
10574 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10576 * lyxfunc.C: tidy up a little
10578 2002-06-16 <alstrup@diku.dk>
10580 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10581 Got rid of FORMS_H_LOCATION include. Now we are
10584 2002-06-15 LyX Development team <lyx@rilke>
10586 * buffer.[Ch] (sgmlOpenTag):
10587 (sgmlCloseTag): Added support for avoiding pernicious mixed
10588 content. Return number of lines written.
10590 (makeLinuxDocFile):
10591 (makeDocBookFile): Fixed calls to sgml*Tag.
10592 Simple white space clean.
10594 (simpleDocBookOnePar): Simple white space clean.
10596 * tabular.[Ch] (docBook): Renamed to docbook and got another
10597 argument to related with the pernicious mixed content.
10599 (docbookRow): Fixed calls for docbook inset method.
10601 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10603 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10604 so it's X11 independent.
10608 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10610 2002-06-15 Lyx Development team <lyx@electronia>
10612 * intl.h: Renamed getTrans to getTransManager.
10614 2002-06-14 Angus Leeming <leeming@lyx.org>
10616 * Makefile.am: nuke forgotten stl_string_fwd.h.
10618 2002-06-12 Angus Leeming <leeming@lyx.org>
10620 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10622 2002-06-13 Angus Leeming <leeming@lyx.org>
10625 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10627 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10629 * kbmap.C (getiso): add support for cyrillic and greek
10631 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10635 * BufferView_pimpl.h:
10636 * BufferView_pimpl.C: move bogus scrolling logic
10639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10642 * BufferView_pimpl.C: view->resize() change
10644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10646 * BufferView_pimpl.C: topCursorVisible
10649 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10653 * lyx_gui.C: move to frontends/
10657 * lyx_main.C: changes from above
10659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10666 * lyx_main.C: minor tidy
10668 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10670 * BufferView_pimpl.h:
10671 * BufferView_pimpl.C:
10673 * BufferView.C: make painter() const,
10676 * BufferView2.C: use screen() accessor
10679 * lyx_main.C: some minor cleanup
10681 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10683 * BufferView_pimpl.h:
10684 * BufferView_pimpl.C: remove enter/leaveView,
10687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10692 * BufferView_pimpl.h:
10693 * BufferView_pimpl.C: only construct screen once,
10696 * lyxrc.C: remove pointless comment
10698 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10701 * BufferView.C: remove active() and belowMouse()
10703 * BufferView_pimpl.h:
10704 * BufferView_pimpl.C: use workarea() not workarea_,
10705 and make it use a scoped_ptr instead
10707 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10709 * lyx_gui.C: add debug message on BadWindow
10711 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10713 * sp_spell.C: fdopen is not part of the C++ standard.
10715 * paragraph.C (InsetIterator): use >= instead of ==
10717 2002-06-07 Angus Leeming <leeming@lyx.org>
10719 Fixes needed to compile with Compaq cxx 6.5.
10720 * BufferView_pimpl.C:
10727 * lyxtextclasslist.C:
10732 all c-library variables have been moved into namespace std. Wrap
10733 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10738 Add a using std::abs declaration.
10740 * kbmap.h (modifier_pair):
10741 * paragraph.h (InsetTable, InsetList):
10742 * lyxfont.h (FontBits):
10743 type definition made public.
10745 * bufferlist.C (emergencyWriteAll): the compiler complains that
10746 there is more than one possible lyx::class_fun template to choose from.
10747 I re-named the void specialisation as lyx::void_class_fun.
10749 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10751 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10752 the compiler is is unable to find tostr in write_attribute.
10754 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10756 * buffer.C (sgmlError): hide #warning
10758 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10760 * xtl/*: get rid of xtl, which is not in use anyway
10762 * LyXAction.C (init):
10763 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10764 were unimplemented xtl experimentation
10766 2002-06-04 André Pönitz <poenitz@gmx.net>
10768 * lyxfunc.C: disable array operation on simple formulae
10770 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10772 * converter.C: constify a bit
10774 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10776 * lyx_gui.C: check xforms version correctly
10778 2002-04-30 Herbert Voss <voss@lyx.org>
10780 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10783 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10785 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10786 attempt to register it with a VCS)
10788 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10790 * lyx_main.C (init): honor variables LYX_DIR_13x and
10793 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10797 * lyx_main.C: fix a crash on bad command line,
10798 and give a useful exit status on error
10800 * lyxfunc.C (doImport): allow -i lyx to work
10802 2002-03-30 André Pönitz <poenitz@gmx.net>
10804 * lyxfunc.C: mathed font changes
10806 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10821 * trans_mgr.h: srcdocs, and some minor cleanups
10823 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10825 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10826 call getFont all the time)
10828 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * switch from SigC signals to boost::signals
10832 2002-05-29 André Pönitz <poenitz@gmx.net>
10834 * paragraph_pimpl.C (getChar): don't call size() too often...
10836 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * paragraph_pimpl.C (insertChar): do not try to update tables when
10839 appending (pos == size())
10841 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10842 in order to reduce drastically the number of comparisons needed to
10843 parse a large document
10845 2002-05-29 André Pönitz <poenitz@gmx.net>
10851 * textclasslist.[Ch]:
10852 * sp_ispell.h: whitespace change
10854 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10856 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10857 lyxaction directly now.
10859 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10863 * lyxvc.C: remove unused headers
10865 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10872 * undo_funcs.C: some cleanups. Use shared_ptr
10873 and a template for the undo stacks.
10875 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10877 * BufferView_pimpl.h:
10878 * BufferView_pimpl.C:
10885 * text2.C: use key_state/mouse_state
10887 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10892 * chset.C: change include order
10893 (loadFile): use boost regex and get rid of LRegex and LSubstring
10895 * Makefile.am (BOOST_LIBS): new variable
10896 (lyx_LDADD): use it
10898 * LaTeX.C: change include order.
10899 (scanAuxFile): use boost regex and get rid of LRegex and
10903 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10908 * FontInfo.C: moved to frontends/xforms/
10911 * FontLoader.C: moved into frontends for GUIIzation
10916 * lyxfunc.C: changes from above
10918 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10920 * LColor.C: remove spurious X include
10922 * BufferView_pimpl.C:
10927 * text2.C: move font metrics to frontends/
10929 2002-05-24 Juergen Vigna <jug@sad.it>
10931 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10932 setting the undo_cursor.
10934 * ParagraphParameters.h: include local includes first.
10936 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.C:
10939 * BufferView_pimpl.h:
10943 * screen.C: move WorkArea into frontends/
10949 * BufferView2.C: move LyXScreen into frontends/
10953 * lyx_gui.C: move lyxlookup into frontends/xforms/
10955 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10958 * BufferView_pimpl.C:
10968 * bufferview_funcs.C:
10981 * vc-backend.C: move LyX/XFormsView into frontends/
10983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10995 * text2.C: move Painter to frontends/
10997 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10999 * buffer.C: comment out some some code that depend upon lyx_format
11002 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11003 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11005 * buffer.h (NO_COMPABILITY): turn off compability
11007 * ColorHandler.C: include scoped_array.hpp
11009 * font.C: Use more specific smart_ptr header.
11012 * ShareContainer.h: ditto
11013 * lyx_main.h: ditto
11015 * FontInfo.h: ditto
11016 * BufferView_pimpl.h: ditto
11017 * ColorHandler.h: ditto
11019 * kbmap.C (defkey): change call to shared_ptr::reset
11021 2002-05-21 Juergen Vigna <jug@sad.it>
11023 * buffer.C (insertErtContents): fix to insert ert asis if it is
11024 non empty. Skip it completely if it contains only whitespaces.
11026 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11028 * BufferView_pimpl.C:
11029 * BufferView2.C: clear selection on paste (bug 393)
11031 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11033 * DepTable.C: include ctime
11035 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11037 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11039 2002-05-14 Juergen Vigna <jug@sad.it>
11041 * text.C (breakParagraph): fixed function to honor the keepempty
11042 layout in the right maner and also to permit the right breaking
11043 algorithm on empty or non empyt keepempty paragraphs.
11045 * paragraph.C (breakParagraph): we have to check also if the par
11046 is really empty (!size()) for isempty otherwise we do the wrong
11049 2002-05-10 Juergen Vigna <jug@sad.it>
11051 * buffer.[Ch] : The following are only changes to the ert
11052 compatibility read reading old LaTeX layout and font stuff and
11053 convert it to ERTInsets.
11055 * buffer.h: added isErtInset().
11057 * buffer.C (struct ErtComp): add a fromlayout bool to check
11058 if we're inside a LaTeX layout.
11059 (isErtInset): new helper function.
11060 (insertErtContents): look for other ert insets before this one
11061 and insert the contents there, so that we don't have subsequent
11062 ERT insets with nothing between them. This way we create only one
11063 inset with multiple paragraphs. Also check if we don't insert only
11064 spaces ' ' as they are ignored anyway afterwards in the .tex file
11065 so if we have only spaces we will ignore this latex part in the
11067 (parseSingleLyXformat2Token \\layout): better compatibility when
11068 reading layout-latex stuff.
11069 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11071 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11072 stuff after reading the inset only get the information back from
11075 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11077 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11079 * LaTeXFeatures.C (getBabelOptions): New method.
11081 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11083 * BufferView_pimpl.C (Dispatch): work around missing argument for
11086 2002-05-08 Juergen Vigna <jug@sad.it>
11088 * text.C (leftMargin): handle paragraph leftindent.
11090 * paragraph.C (writeFile): write the new \\leftindent tag.
11091 (validate): handle leftindent code.
11092 (TeXEnvironment): handle paragraphleftindent code again.
11094 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11096 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11097 for paragrap_extra indent code and new token \\leftindent.
11098 (latexParagraphs): handle the leftindent as environment.
11100 * ParameterStruct.h: added leftindent support.
11102 * ParagraphParameters.C (leftIndent): added support functions for
11103 the paragraph left indent.
11105 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11108 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11110 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11113 * text.C (computeBidiTables): No bidi in insetERT.
11115 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11118 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11120 * version.C.in: pre 5
11122 2002-05-02 José Matos <jamatos@fep.up.pt>
11123 * buffer.C (makeDocBookFile): white space changes, add newline to
11125 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11127 * tabular.C (docBook): fix typo.
11129 2002-05-03 Juergen Vigna <jug@sad.it>
11131 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11132 change in LyXText as we can not be sure it was not freed.
11133 (drawOneRow): remove unused code.
11135 * text.C (drawInset): redo the calculation of the need_break_row as
11136 it could have a row which was already freed.
11137 (draw): look at the return value of drawInset and return false if
11138 it also returned false.
11139 (paintRowText): look at the return value of draw and return false if
11140 it also returned false.
11142 * lyxtext.h: added bool return type to drawInset() and draw() so that
11143 if we have a change in the row so that the rowbreak has to be redone
11144 we abort drawing as it will be called again.
11146 2002-05-02 Juergen Vigna <jug@sad.it>
11148 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11149 a change in the maintext also if we're inside an inset.
11150 (Dispatch): set the cursor again after a break line and after the
11151 screen has been updated as it could be we're in a different row.
11153 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11154 to set the cursor behind the pargraph with > size().
11155 (setCursor): check also for the same paragraph when checking where
11156 to put the cursor if we have a NFR inset.
11158 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11159 parts of layout read further up as it still was in the wrong
11162 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11164 * screen.C (drawFromTo): change sine fullRebreak always return
11167 * buffer.C (parseSingleLyXformat2Token): reindent some
11169 * BufferView_pimpl.C (update): change since fullRebreak always
11171 (Dispatch): git rid of the last hardcoded "Standard"s.
11173 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11175 * text2.[Ch] (fullRebreak): make it return void now that we always
11178 2002-04-30 Juergen Vigna <jug@sad.it>
11180 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11181 ert compatibility check for "latex" layout.
11183 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11185 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11186 minipages: use col% instead of p%, and also use the current font.
11187 (makeLaTeXFile): Fix use babel condition.
11188 (parseSingleLyXformat2Token): Correct font when reading old floats.
11190 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11192 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11193 inserting list of floats.
11195 2002-04-25 Herbert Voss <voss@lyx.org>
11197 * MenuBackend.C (expand): don't add the graphics extensions to the
11200 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11202 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11203 non-existing layout, do not complain if it was the default layout
11204 of the original class (bug #342)
11206 2002-04-24 Juergen Vigna <jug@sad.it>
11208 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11209 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11211 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11213 * buffer.C (getBibkeyList): If using \bibliography, return the
11214 option field with the reference itself. Enables us to provide natbib
11215 support when using \bibliography.
11217 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11219 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11221 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11222 natbib is provided by the LaTeX class.
11224 2002-04-23 Juergen Vigna <jug@sad.it>
11226 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11229 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11231 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11235 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11236 ensuremath around textordmasculine, textordfeminine and
11239 2002-04-19 Juergen Vigna <jug@sad.it>
11241 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11242 reinitializing the buffer otherwise row-dimensions may be wrong.
11243 (update): reset also the selection cursors if they do exits otherwise
11244 their x/y positions may be wrong.
11246 * text2.C (cursorDown): don't enter the inset if we came from a row
11247 above and are one row over the inset.
11249 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11250 really leaving an inset.
11252 2002-04-18 Juergen Vigna <jug@sad.it>
11254 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11255 of the selected paragraph does not have the selected layout also if
11258 * text2.C (setLayout): fixed bug which did not change last selected
11261 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11262 changed the read and substituted \\end_float with \\end_inset!
11264 * BufferView_pimpl.C (cursorPrevious):
11265 (cursorNext): fixed to make it work with rows heigher than the work
11266 area without moving the cursor only the draw of the row.
11267 (workAreaMotionNotify): fix jumping over high rows.
11269 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11274 2002-04-16 Juergen Vigna <jug@sad.it>
11276 * text2.C (setCursor): set also the irow().
11277 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11279 (cursorDown): support for locking an inset if the x_fix value goes
11280 inside it. That way I can transverse insets too with cursor up/down.
11282 * lyxrow.h: added irow helper function same as other (i) functions.
11284 * BufferView_pimpl.C (cursorPrevious):
11285 (cursorNext): fixed for insets!
11287 2002-04-15 Juergen Vigna <jug@sad.it>
11289 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11290 position otherwise it is wrong in some cases.
11292 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11293 inside the inset before the call.
11295 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11297 * buffer.[Ch] (getBibkeyList): make it const.
11299 2002-04-12 Juergen Vigna <jug@sad.it>
11301 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11303 * text2.C (getCursorX): new helper function
11304 (setCursor): compute also ix_
11305 (setCursorFromCoordinates): set also ix.
11307 * lyxcursor.h: added ix_ and helper functions.
11309 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11311 * buffer.C (insertStringAsLines): dont break paragraph if the this
11312 paragraph is inside an inset which does not permit it!
11314 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11315 also with no chars on this paragraph.
11316 (paintRowText): only paint stuff if it's inside the workarea!
11318 * paragraph.C (breakParagraph): honor keepempty flag and break the
11319 paragraph always below not above.
11321 * BufferView2.C (unlockInset): update the paragraph layout on inset
11322 unlock as we changed paragraph in such a case.
11324 * lyxfind.C (LyXFind): clear the former selection if not found!
11326 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11327 again called in insertChar().
11329 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11330 an inset which uses the whole row!
11331 (rightMargin): ditto.
11332 (insertChar): force a rebreak if we inserted an inset!
11334 2002-03-28 Herbert Voss <voss@lyx.org>
11336 * lyxlength.[Ch]: add inBP() to get the right PS-point
11337 units (BigPoint). With inPixels we have rounding errors
11339 2002-04-11 Juergen Vigna <jug@sad.it>
11341 * text2.C (setCursorFromCoordinates): set iy to the right value.
11342 (setCursor): add check if row->previous exists!
11344 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11345 an old float_type as this was the case in the old code!
11347 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11349 * BufferView2.C (showLockedInsetCursor): use iy
11350 (fitLockedInsetCursor): ditto
11352 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11353 locked insets as there we have the right value now.
11355 * lyxcursor.C: added iy_ variable and iy functions to set to the
11356 baseline of cursor-y of the locked inset.
11358 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11359 (setCursor): fixed for insets which need a full row.
11361 * text.C (rowLastPrintable): don't ignore the last space when before
11362 an inset which needs a full row.
11363 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11364 as last character of a row when before a inset which needs a full row.
11366 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * version.C.in: update date
11370 * text2.C (fullRebreak): try to always return true and see what
11373 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * MenuBackend.C (expand): use Floating::listName
11377 * FloatList.C (FloatList): add listName argument to the built-in
11380 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11381 text associated with the float.
11383 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11385 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11387 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11389 * ShareContainer.h: add a couple of missing typenames.
11391 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11393 * lyxrc.C (getDescription): use _() correctly rather than N_().
11395 2002-03-28 Herbert Voss <voss@lyx.org>
11397 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11398 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11400 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11402 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11403 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11405 2002-03-29 Juergen Vigna <jug@sad.it>
11407 * lyxfunc.C (dispatch): add a missing fitCursor call.
11409 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11410 it was scrolled by a cursor move, so return the bool status.
11412 * BufferView.C (fitCursor): return the bool flag also to the outside
11413 world as this is needed.
11415 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11417 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11418 call the edit() as it is not needed (and wrong) IMO.
11419 (workAreaButtonPress): set the screen_first variable before evt.
11420 unlock the inset as this may change screen_first and then we have
11421 a wrong y position for the click!
11423 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * MenuBackend.C (expand): another translation that I missed
11427 2002-03-28 Juergen Vigna <jug@sad.it>
11429 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11431 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11433 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11435 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11437 * MenuBackend.C (expand): fix export/view/update when there is no
11440 2002-03-27 Herbert Voss <voss@lyx.org>
11442 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11445 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11447 * bufferview_funcs.C (currentState): only show paragraph number
11448 for is DEVEL_VERSION is set.
11450 * lyxfunc.C (dispatch): put warning in INFO channel
11452 * MenuBackend.C (expand): translate the name of floats
11454 * FloatList.C (FloatList): mark the float names for translation
11456 * converter.C (convert): use LibScriptSearch
11458 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11460 * MenuBackend.C (defaults): fix default menu (we might as well get
11463 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11465 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11468 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11470 * lyxvc.C: reorder includes.
11472 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11474 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11477 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11479 * CutAndPaste.C: change layouts earlier on paste
11480 to avoid crashing when calling getFont()
11482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11484 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11487 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11489 * WorkArea.C: remove 'Pending' debug message.
11491 * most files: ws cleanup
11493 * buffer.[Ch]: ws changes
11495 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11497 2002-03-21 Juergen Vigna <jug@sad.it>
11499 * tabular.C (SetMultiColumn): collapse also the contents of the
11500 cells and set the last border right. Added a Buffer const * param.
11502 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11504 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11507 2002-03-19 Juergen Vigna <jug@sad.it>
11509 * text2.C (clearSelection): reset also xsel_cache.
11511 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11512 where it needs to be called (John tells us to do so too :)
11513 (selectionLost): reset sel_cache.
11515 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11517 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * text2.C (setCursorIntern): put debuging code in INSETS channel
11521 2002-03-19 André Pönitz <poenitz@gmx.net>
11523 * lyxfunc.C: tiny whitespace change
11525 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11527 * ToolbarDefaults.C (init):
11528 * LyXAction.C (init):
11530 * BufferView_pimpl.C (Dispatch):
11531 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11533 2002-03-19 Allan Rae <rae@lyx.org>
11535 * exporter.C (Export): removeAutoInsets before doing anything else.
11536 While I've just introduced a dependency on BufferView this really is
11537 the best place to clean the buffer otherwise you need to cleanup in
11538 a dozen places before calling export or cleanup in a dozen functions
11541 * converter.C (runLaTeX):
11542 (scanLog): Better handling of removeAutoInsets and screen updates.
11544 * lyxfunc.C (dispatch): small whitespace changes
11546 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * WorkArea.C (C_WorkAreaEvent): return a value.
11549 (event_cb): return 1 if we handled the event, 0 otherwise.
11551 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11553 2002-03-18 Juergen Vigna <jug@sad.it>
11555 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11556 (GetAdditionalWidth): ditto.
11557 (RightLine): ditto.
11560 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11561 inset if we're there actually (probably not used right now but this
11562 is the direction to go for unifying code).
11563 (paste): disable code to clear the selection.
11565 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11566 inside an InsetText and move the check further up as it is in the
11569 * text2.C (pasteSelection): set a selection over the pasted text.
11571 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11573 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11574 and libgraphics to build on Cygwin.
11576 2002-03-15 Juergen Vigna <jug@sad.it>
11578 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11579 inserting an Inset into the paragraph. I know this is not the best
11580 fix but we already use current_view in CutAndPaste so we will remove
11581 all of it's using at the same time.
11583 * buffer.C (sgmlError): deactivated function till it is rewritten in
11584 the right mode, now it can create problems.
11586 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11587 before accessing it.
11589 2002-03-14 Juergen Vigna <jug@sad.it>
11591 * undo_funcs.C (textHandleUndo): do the right thing when updating
11592 the inset after the undo/redo.
11594 * text2.C (setCursor): just some testcode for #44 not ready yet.
11596 * undo_funcs.C (textHandleUndo): set the next() and previous()
11597 pointers of the paragraph to 0 before deleting otherwise we have
11598 problems with the Paragraph::[destructor].
11600 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11601 on a paragraph insertion.
11603 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11605 * buffer.C (asciiParagraph): use += operator for char append to
11608 * paragraph.C (getFontSettings): compare >= not just >
11609 (highestFontInRange): ditto
11612 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * paragraph.C: change several algorithm to be more appripriate for
11615 the problem domain. This is lookip in FontList and in the InsetList.
11617 2002-03-13 André Pönitz <poenitz@gmx.net>
11620 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11622 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11627 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11629 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11631 * Painter.C (display): anon helper function, adjust code for this
11633 (pixmap): remove function.
11635 * Painter.h: remove private display variable.
11637 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11639 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11641 * WorkArea.[Ch]: remove figinset_canvas cruft.
11643 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * lyxtextclass.C (operator): add one item cache optimization.
11647 * bufferlist.h: doxy changes
11649 * bufferlist.C: ws changes
11651 * DepTable.[Ch] (ext_exist): place const in the right spot.
11653 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11655 (workAreaExpose): call resizeInsets when the with BufferView changes.
11656 (Dispatch): adjust for protectedBlank removal
11657 (specialChar): call updateInset if the insert went ok.
11659 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11660 specialChar instead.
11662 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11664 * BufferView.h: doxy change
11666 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11668 * lyxtextclass.C (operator[]): remove non-const version
11669 (defaultLayout): remove non-const version
11671 2002-03-12 Juergen Vigna <jug@sad.it>
11673 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11674 did resize the LyXText too.
11676 * buffer.C (readLyXformat2): set layout information on newly allocated
11679 * tabular.C (OldFormatRead): set layout information on the paragraph.
11681 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11683 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11685 2002-03-11 Juergen Vigna <jug@sad.it>
11687 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11689 (resizeCurrentBuffer): force also the insets to resize themselfes.
11690 (moveCursorUpdate): fixed up for InsetText.
11692 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11695 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11696 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11697 value of Dialogs::tooltipsEnabled().
11698 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11700 2002-03-08 Juergen Vigna <jug@sad.it>
11702 * BufferView_pimpl.C (updateInset): update inset inside inset also
11703 if it isn't inside theLockingInset().
11705 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11707 * buffer.C (asciiParagraph): redo some of the word and line length
11709 (getLists): look for Caption instead of caption.
11711 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11713 * buffer.C (Buffer): initialize niceFile to true
11715 (makeLinuxDocFile):
11716 (makeDocBookFile): make sure niceFile is true on exit
11718 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11720 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11722 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11724 * LyXSendto.C: remove.
11725 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11726 * lyx_gui.C: remove now-redundant comment.
11727 * ColorHandler.h: remove forward declaration of class WorkArea.
11728 * lyxfunc.C: remove #include "WorkArea.h".
11730 2002-03-07 Juergen Vigna <jug@sad.it>
11732 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11733 got moved away with the DEPM and also set the inset_owner always
11734 right which before could have been omitted.
11736 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11738 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11739 wanted layout is not found.
11741 2002-03-07 Juergen Vigna <jug@sad.it>
11743 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11745 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * paragraph.C (breakParagraph): use default layout not layout of
11749 (Paragraph): clear ParagraphParameters.
11751 2002-03-06 Juergen Vigna <jug@sad.it>
11753 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11754 otherwise it would not be a valid lenght. Fixed a special case in
11755 the minipage compatibility read where we end the document with a
11758 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11759 was set as it could be 0 for InsetTexts first entry.
11761 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11763 * paragraph.C (writeFile): if layout is empty write out
11764 defaultLayoutName().
11766 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11767 file without named layout we set layout to defaultLayoutName().
11769 2002-03-06 Juergen Vigna <jug@sad.it>
11771 * CutAndPaste.C (copySelection): set layout for new paragraph.
11773 * text.C (prepareToPrint): leave ERT inset left aligned
11774 (leftMargin): don't indent paragraphs inside ERT insets
11776 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * paragraph.C (breakParagraph): dont call clear do the work manually
11780 * paragraph.[Ch] (clear): remove function
11782 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * paragraph.C (Paragraph): dont call clear, the work has already
11787 * lyxtextclass.C (operator): assert if n is empty
11789 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11790 work manually instead.
11792 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11794 * BufferView_pimpl.C: protect selectionLost against text == 0
11796 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11798 * text.C (breakParagraph): fix a setting layout to '0' problem.
11800 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11802 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11803 final location of file, for the included files, and graphics.
11805 2002-03-05 Juergen Vigna <jug@sad.it>
11807 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11809 2002-03-04 Juergen Vigna <jug@sad.it>
11811 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11813 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11814 last column of multicolumn cells.
11815 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11817 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11819 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11820 file if it doesn't go to a temporary file.
11822 * buffer.C (sgmlOpenTag):
11823 (sgmlCloseTag): remove extra newline insertion.
11825 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11827 * text.C (getRowNearY): comment out debug msg
11829 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * text2.C: first -> first_y
11833 * text.C (getRowNearY): add some attemts at a possible
11834 optimization, not working.
11836 * tabular.[Ch]: add BufferParams to several function so that newly
11837 created paragraph can be initialized to he default layotu for the
11840 * tabular-old.C (ReadOld): add buf->params to call of Init
11842 * screen.C: rename text->first to text->first_y
11844 * paragraph.C (breakParagraph): always set layout in the broken
11847 * lyxtextclass.C (Read): remove lowercase
11850 (delete_layout): ditto
11852 * lyxtext.h: rename first -> first_y
11854 * lyxlayout.C (Read): remove lowercase
11857 (obsoleted_by): ditto
11859 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11861 * buffer.C (insertErtContents): add params are to InsetERT
11862 (parseSingleLyXformat2Token): add code to check if a paragraphs
11863 layout really exist.
11864 (parseSingleLyXformat2Token): add params to several inset
11866 (asciiParagraph): remove lowercase, do the layout comparisons with
11869 * BufferView_pimpl.C (cursorNext): first -> first_y
11870 (resizeCurrentBuffer): first -> first_y
11871 (updateScrollbar): first -> first_y
11872 (scrollCB): first -> first_y
11873 (workAreaMotionNotify): first -> first_y
11874 (workAreaButtonPress): first -> first_y
11875 (checkInsetHit): first -> first_y
11876 (cursorPrevious): first -> first_y
11877 (cursorNext): first -> first_y
11878 (Dispatch): add buffer_->params to severl inset contructors
11880 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11882 * lyxlayout.C (Read): remove some debug info that I forgot.
11884 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11885 clean up the code slightly.
11886 (makeLinuxDocFile): ditto
11887 (makeDocBookFile): ditto
11889 * text2.C: layout as string
11891 * text.C: layout as string
11893 * paragraph_pimpl.C: layout as string
11895 * paragraph.[Ch]: layout as string
11897 * lyxtextclasslist.[Ch]: layout as string
11899 * lyxtextclass.[Ch]: layout as string
11901 * lyxtext.h: layout as string
11903 * lyxlayout.[Ch]: layout as string
11905 * lyx_cb.C: layout as string
11907 * bufferview_funcs.C: layout as string
11909 * bufferparams.C: layout as string
11911 * buffer.C: layout as string
11913 * LyXView.[Ch]: layout as string
11915 * LaTeXFeatures.[Ch]: layout as string
11917 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11919 * BufferView_pimpl.C: change current_layout to string, remove
11924 (workAreaButtonRelease): layout as string
11926 * BufferView2.C (unlockInset): adjust
11928 * vspace.C (asLatexCommand): use an explict temp variable.
11930 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11932 * Makefile.am: use FRONTEND_*
11934 2002-03-01 Juergen Vigna <jug@sad.it>
11936 * tabular.C (SetWidthOfMulticolCell): changed to something better
11937 I hope but still work in progress.
11938 (recalculateMulticolumnsOfColumn): renamed function from
11939 recalculateMulticolCells as it is more appropriate now.
11940 (SetWidthOfCell): calculate multicols better.
11942 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11946 * lyxfunc.C (processKeySym): print sequence also if it is
11947 `deleted' (complete)
11949 * kbsequence.C (print): print sequence even if it is deleted
11950 (complete would be a better word, actually).
11952 * lyxfunc.C (dispatch): print complete options after a prefix key
11954 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11956 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11958 * text2.C (setCharFont): eliminate setCharFont code duplication.
11960 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11963 LFUN_TABULAR_FEATURE (bug #177)
11965 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11967 * Makefile.am: remove figure.h
11969 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11971 * Bufferview_pimpl.C:
11983 * text2.C: remove #include "lyx_gui_misc.h".
11985 * LaTeX.C: added #include <cstdio>
11987 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11990 that the paragraph following this one can have.
11992 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11994 * vspace.C (asLatexCommand): fix bogus gcc warning
11996 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11998 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12000 * text2.C (setLayout): get rid of redundant code
12002 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12004 * text2.C (incDepth): make sure depth cannot be increased beyond
12007 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12009 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12010 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12012 * PainterBase.h (image):
12013 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12014 a LyXImage const *.
12016 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12020 * BufferView_pimpl.C:
12021 * BufferView_pimpl.h:
12041 * sp_spell.C: remove fig inset, and the crap house of
12042 cards that follows it
12044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12049 * os2_errortable.h:
12050 * nt_defines.h: move .h into support/
12052 * vms_defines.h: remove
12054 * WorkArea.C: add space in debug output
12058 * buffer.C: add WITH_WARNINGS
12062 * bufferlist.C: s/retrive/retrieve/, add docs
12071 * chset.C: add docs
12073 * lyxgui.C: add ID to X error handler
12075 * lyxtestclass.c: fix typo
12077 2002-02-26 Juergen Vigna <jug@sad.it>
12079 * tabular_funcs.C (write_attribute): changed so that some default
12080 attributes are not written at all.
12081 (getTokenValue): set default values before trying to read the
12082 value so we have the return value always set as default if we don't
12083 find the token we search for.
12085 * tabular.C (Write): write bools as bools not as strings!
12087 2002-02-22 Juergen Vigna <jug@sad.it>
12089 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12090 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12092 * text.C (leftMargin): don't add an indent for paragraphs inside
12093 tabular cells (fix #208).
12095 2002-02-21 José Matos <jamatos@fep.up.pt>
12097 * tabular.C (docBook): fixed support for long tables.
12099 2002-02-20 Juergen Vigna <jug@sad.it>
12101 * text2.C (getFont): get the drawing font of the Inset if this
12102 paragraph is inside an inset (only important for InsetERT for now).
12104 * buffer.C (insertErtContents): use new lanugage params in ERT
12107 * CutAndPaste.C: commenting out seemingly uneeded code.
12109 2002-02-19 Allan Rae <rae@lyx.org>
12111 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12112 Iterators might be simple to use but they also get invalidated.
12113 (removeAutoInsets): renamed saved cursor tracking variables and added
12114 some comments to clarify what everything does.
12116 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12123 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12124 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12127 * vc-backend.h: remove #include "support/syscall.h"
12131 * converter.C: rearrange #includes in Lars' approved fashion.
12133 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12134 forward declare class Timeout in the header file.
12136 * XFormsView.C: changes due to the above.
12138 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12139 similar to LyXView.
12141 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12142 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12144 2002-02-18 José Matos <jamatos@fep.up.pt>
12146 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12149 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12151 * a lot of small ws changes
12152 * add a lot of using std::XXX
12153 * use std construcs some places where approp.
12154 * use some exisint stuff from lyxfunctional where approp.
12155 * Make file changes to use partial linking (lets test this now...)
12157 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12161 remove #include "support/syscontr.h" as it's redundant. Always has been.
12169 change Systemcalls::System to Systemcalls::Wait and
12170 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12171 No change of functionality, just reflects the stripped down Systemcalls
12174 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12176 * debug.[Ch]: add a GRAPHICS type to the enum.
12178 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12182 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12185 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12188 match the changes below.
12190 * text2.C (toggleInset): if there is not editable inset at cursor
12191 position, try to see if cursor is _inside_ a collapsable inset
12194 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12196 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12197 document menu has a nice checkbox
12199 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12201 * lyxlength.C (asLatexString): change PW to output as percent of
12204 * lengthcommon.C: change '%' to 't%'
12206 * lyxfunc.C (dispatch): a few comments from Martin
12208 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12212 * BufferView_pimpl.h:
12213 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12216 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * vspace.C (inPixels): fix compiler warning
12220 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12222 * lyxfunc.C (getStatus): fix status message for disabled commands.
12224 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12226 * BufferView_pimpl.C: fix crash on close buffer
12227 during selection (#227)
12229 2002-01-27 Herbert Voss <voss@lyx.org>
12231 * buffer.C: link old Figure to new graphic inset
12233 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12235 * FontLoader.C (getFontinfo): Change the latex font names in order
12236 to match the names of type1inst.
12238 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12242 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12243 (extchanged): ditto
12245 (remove_files_with_extension): ditto
12246 (remove_file): ditto
12249 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12250 document is smaller than the work area height. Do not initialize
12251 static variables to 0.
12253 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12257 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12258 LFUN_LAYOUT_PARAGRAPHS.
12260 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12261 tabular. It is possible to provide a possible cell, which will
12262 typically be the actcell from the corresponding insettabular
12264 * lyxfunc.C (getStatus): small cleanup; disable
12265 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12268 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12270 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12272 * paragraph.C (startTeXParParams):
12273 (endTeXParParams): new methods. The LaTeX code to
12274 start/end paragraph formatting
12275 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12276 empty (fixes bug #200)
12278 * vspace.C (inPixels): adapt to the change below
12279 (inPixels): [later] more cleanups (remove unused variables)
12281 * lyxlength.C (inPixels): change to use a width and a height as
12284 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12286 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12287 Replaced with \paperwidth
12289 * DepTable.C (insert): add std:: qualifier
12291 2002-01-18 Allan Rae <rae@lyx.org>
12293 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12296 * text.C (drawInset): Turned out I didn't know enough about how
12297 rebreaking worked. This fixes most of the redraw problems. I see
12298 an occasional cursor trail when a line is broken now and the cursor
12299 placement can seem out by a few pixels also after a rebreak.
12301 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12303 * buffer.C (parseSingleLyXformat2Token): update because minipage
12304 width is now a LyXLength
12306 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12308 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12311 2002-01-17 Juergen Vigna <jug@sad.it>
12313 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12315 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12316 is set correctly and the inset is updated correctly.
12318 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12320 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12321 the beginning of the loop.
12323 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12325 * lyxrc.C: improve help for use_scalable_fonts
12327 2002-01-17 Allan Rae <rae@lyx.org>
12329 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12331 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12333 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12334 make sure to set their inset_owner to the right value (bug #171)
12336 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12339 * DepTable.C: Implement mtime checking to reduce time spent doing
12342 2002-01-16 Juergen Vigna <jug@sad.it>
12344 * tabular.C (GetAdditionalHeight): one of error fixed.
12346 * lyxrc.C (output): small fix in writing use_pspell.
12348 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12350 * sp_base.h: #include LString.h
12352 2002-01-16 Allan Rae <rae@lyx.org>
12354 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12355 Can someone check this please?
12357 * text.C (drawInset): It was possible that p.row would be removed by
12358 breakAgainOneRow upsetting a few other settings. There may be another
12359 small tweak possible by setting need_break_row = 0 when p.row has been
12360 removed but I don't know enough about the logic here.
12362 2002-01-15 Allan Rae <rae@lyx.org>
12364 * text.C (insertChar): removed conditional truism.
12366 * BufferView2.C (removeAutoInsets): More tweaks.
12367 cur_par_prev could be a stray pointer. Check for trailing empty line
12368 in case last line was cur_par and only had an error inset on it.
12370 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12375 * vc-backend.C (most methods):
12376 * exporter.C (Export):
12377 * converter.C (convert):
12379 * LyXSendto.C (SendtoApplyCB):
12380 * lyxfunc.C (dispatch):
12384 * lyx_cb.C (AutoSave):
12386 * BufferView_pimpl.C (MenuInsertLyXFile):
12387 * buffer.C (runChktex): use Buffer::filePath().
12389 * buffer.h: rename filename to filename_; rename filepath to
12390 filepath_ and make it private
12391 (filePath): new method
12393 * buffer.C (writeFile): use fileName()
12396 * lyx_main.C (init): fix starting of LyX when the binary is a
12397 link from so,ewhere else.
12399 * minibuffer.C: include <cctype> for isprint
12401 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12403 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12404 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12405 name clash with InsetCollapsable's width function.
12407 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12409 * lastfiles.C: include <iterator>
12411 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12413 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12416 * buffer.C (makeLaTeXFile): ditto.
12417 Also make loop operation more transparent.
12419 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12421 * ToolbarDefaults.C: remove trailing comma closing namespace.
12423 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12425 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12428 * trans.C (Load): comment out unused variable, allowed.
12430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12432 * minibuffer.[Ch] (append_char): new method to recieve input from the
12433 drop-down completion browser. If a key was pressed, then recieve this
12434 char and append it to the existing string.
12435 (peek_event): modify the positioning data passed to the completion
12436 browser so that it can be placed above the minibuffer rather than below.
12437 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12439 * LyXAction.C (init): alloe error-next for readonly documents.
12441 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12444 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * bufferlist.C (readFile): create the buffer _after_ checking that
12449 * lyxfunc.C (verboseDispatch): fix handling of arguments
12451 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12453 * lyxrc.C: use string::erase() instead of initializing to "".
12456 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12458 * BufferView_pimpl.h:
12459 * BufferView_pimpl.C:
12462 * text2.C: tell X when we have made a selection for copying
12464 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12466 * BufferView_pimpl.C (MenuInsertLyXFile):
12467 * lyxfunc.C (menuNew):
12469 (doImport): add shortcuts to directory buttons
12471 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12474 * lyxfunc.C (setStatusMessage):
12475 (getStatusMessage): new methods
12476 (getStatus):use setStatusMessage instead of setErrorMessage
12477 (dispatch): when function is disabled, set error message here
12478 [instead of in getStatus previously]
12480 * BufferView_pimpl.C (workAreaButtonRelease): update
12481 toolbar/menubar here too.
12483 2002-01-13 Allan Rae <rae@lyx.org>
12485 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12486 Now seems indestructible. Remaining task is to audit all other
12487 code affected by deleteEmptyParagraphMechanism. One small quirk
12488 left is that an empty document with an error in the preamble can
12489 be made to report an error but no error box appears. I don't know
12491 (removeAutoInsets): Improved comments.
12493 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12496 * Thesaurus.C: update for Aiksaurus 0.14
12498 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12500 * text2.C (firstParagraph): removed member function, all uses
12501 replaces with ownerParagraph
12502 (redoParagraphs): here
12503 (updateInset): here
12504 (toggleAppendix): here
12505 * BufferView2.C (insertErrors): here
12506 (setCursorFromRow): here
12508 2002-01-13 Allan Rae <rae@lyx.org>
12510 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12511 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12512 There is still a way to segfault this although you may have to do this
12513 multiple times: Have an InsetERT with an unknown command in it.
12514 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12515 <down-arrow>, <Enter> again, View->DVI, BANG!
12517 * text2.C (setCursor):
12518 (deleteEmptyParagraphMechanism):
12519 * lyxtext.h (setCursor):
12520 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12521 Making use of the return value may help fix other bugs.
12523 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12525 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12527 * LyXView.C (updateMenubar): call MenuBar::update here
12528 (updateToolbar): but not here
12529 (showState): do not update toolbar/menubar
12531 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12532 should need to care about that.
12534 * lyxfunc.C (verboseDispatch): simplify a bit
12535 (getStatus): have a version which takes a pseudoaction, and
12536 another which requires a (kb_action,string).
12538 * LyXAction.C (retrieveActionArg): make it work also when action
12539 is not a pseudo-action.
12540 (getActionName): simplify a bit
12543 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * lyxfunc.C (verboseDispatch): new families of methods with
12546 several ways to specify a command and a bool to indicate whether
12547 the command name and shortcut should be displayed in minibuffer
12548 (eventually, we could extend that to a finer bitmask like
12549 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12550 (dispatch): the pristine dispatch command which just, well,
12551 dispatchs! Note it still sets its result to minibuffer; I'm not
12554 * lyxfunc.h: remove setHintMessage
12556 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12558 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12560 * BufferView_pimpl.C (specialChar): delete new inset if we have
12561 not been able to insert it.
12563 * kbmap.C: revert to using int instead of kb_action, since all we
12564 are dealing with is pseudo-actions.
12566 * LyXAction.C (searchActionArg): change to return int instead of
12567 kb_action, since the result is a pseudoaction.
12569 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12571 * buffer.C (insertErtContents): Fix (partially) the font bug.
12573 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12575 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12576 as the other one is broken on my machine!
12578 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12581 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12583 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12585 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12586 reflect their actual use. Provide compatibility code for older lyxrc
12589 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12591 change names of popup font variables in line with the changes to lyxrc.C
12593 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12595 * buffer.C (asciiParagraph): avoid outputing a word twice after
12598 * lyxrc.C (getDescription): document that document_path and
12599 template_path can be empty.
12601 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12603 * LaTeXFeatures.C (getMacros):
12604 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12606 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12608 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12610 (getPackages): rename feature "floats" to "float". Use an array to
12611 iterate over 'simple' features (i.e. just a \usepackage). Add
12612 handling of "amsmath" (renamed from "amsstyle").
12614 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12616 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12619 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12621 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12622 FuncStaus::FuncStatus & FuncStaus::some_method().
12624 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12626 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12627 of the func_satus stuff. Edited and massaged in various ways by
12630 * lyxfunc.C (getStatus): use FuncStatus
12632 2002-01-08 Juergen Vigna <jug@sad.it>
12634 * text.C (nextBreakPoint): use function Inset::isChar().
12636 * paragraph.C (TeXOnePar): use function
12637 Inset::forceDefaultParagraphs.
12639 * buffer.C (latexParagraphs): use function
12640 Inset::forceDefaultParagraphs.
12642 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12644 * lyx_gui.C (init): set the style of the menu popups to
12645 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12647 2002-01-07 Juergen Vigna <jug@sad.it>
12649 * text.C (setHeightOfRow): small fix
12650 (prepareToPrint): don't look at alignment if we don't have the place
12653 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12655 * box.C: New file. Move the Box methods and functions out of box.h,
12656 following Lars' suggestion.
12658 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12660 * box.h: #include "support/LOstream.h", needed for inlined function.
12663 * lyxtextclasslist.C: added some using std declarations.
12665 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12667 * box.h: make signed dimensions to allow insets wider than
12668 the screen (bug #162)
12670 * BufferView_pimpl.C: add some insetHit debug
12672 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12674 * vc-backend.C: add FIXME
12676 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12678 * lyxfunc.C (getStatus): enable code for showing math font status
12681 2002-01-07 Juergen Vigna <jug@sad.it>
12683 * text.C (nextBreakPoint): removed debug output not needed anymore.
12685 2002-01-06 Juergen Vigna <jug@sad.it>
12687 * text.C (nextBreakPoint): fixed up this function we had this bug
12688 since ever but now hopefully we break row better.
12689 (insertChar): we have to check if an inset is the next char as it
12690 could now happen that a large inset is causing a break.
12692 2002-01-05 Juergen Vigna <jug@sad.it>
12694 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12695 if it doesn't like to be drawed.
12697 2002-01-04 Juergen Vigna <jug@sad.it>
12699 * BufferView2.C (lockInset): forgot to set a cursor.
12701 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12703 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12705 * FormMathsPanel.C:
12708 * form_maths_panel.C:
12709 * form_maths_panel.h:
12710 * form_maths_panel.fd: implemented sub- and super- buttons in math
12713 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12714 (or ^ space) to be used as in TeX (req'd by André).
12716 * lyxfunc.C: Allow ^ and _ again to be used both as
12717 super/subscript (mathed) and as themselves (in text).
12719 2002-01-03 Allan Rae <rae@lyx.org>
12721 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12722 "LyX" or the filename of the current buffer if it has one. This is a
12723 modified form of John Levon's patch.
12725 * XFormsView.C (setWindowTitle): also set icon title.
12727 * LyXView.h (setWindowTitle): signature changed.
12728 * XFormsView.h (setWindowTitle): ditto.
12730 2002-01-02 Juergen Vigna <jug@sad.it>
12732 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12734 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12736 * screen.C (topCursorVisible): introduce a temp var for
12737 text->cursor.row(), handle the case where this row is null. (kindo
12740 * text2.C (setCursor): add a couple of asserts.
12742 * paragraph.h (inset_iterator): add -> operator
12744 * paragraph.[Ch] (autoDeleteInsets): remove member function
12746 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12747 cursor pos correctly and handle inset deletion by itself.
12748 (insertErrors): move iterator declaration out of for expression
12750 * lyxtextclass.C: add <algorithm>
12752 * Makefile.am: added the new files to sources, removed layout.C
12754 * layout.C: removed file
12756 * layout.h: remove LYX_DUMMY_LAYOUT
12758 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12762 * lyxtextclass.[Ch]:
12763 * lyxtextclasslist.[Ch]: new files
12765 * include order changes to a lot of files, also changes because of
12768 2001-12-27 Juergen Vigna <jug@sad.it>
12770 * buffer.C (asciiParagraph): more fixes.
12772 * tabular.C (ascii): make ascii export support export of only the
12773 data separated by a column-delimiter.
12774 (ascii): better support for ascii export.
12776 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12778 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12780 * tabular_funcs.C: use a "using std::getline" instead of the
12781 previous fix from Angus (necessary for cxx + lyxstring)
12783 2001-12-24 Juergen Vigna <jug@sad.it>
12785 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12787 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12788 problems. First check a minipage also if we have some ert-contents
12789 (not only on par->size(), second set the right depth of the paragraph
12790 on the relink to the root-paragraph-list!
12792 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12793 which then did not anymore update the main paragraphs on undo/redo!
12795 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12798 code. Support all font-changing funcs (even those which are not in
12799 menu currently). Support for reporting font settings in
12800 mathed (disabled until Andre provides a function on mathed's side).
12802 * func_status.h (toggle): small helper function to set toggle
12805 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12807 * tabular_funcs.C: getline -> std::getline
12809 2001-12-21 Juergen Vigna <jug@sad.it>
12811 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12812 accessed and could be 0 (I couldn't generate this but it seems
12815 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12817 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12818 * tabular_funcs.h: here and include iosfwd
12820 2001-12-20 Juergen Vigna <jug@sad.it>
12822 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12823 inside inset but undo_par was.
12825 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * Thesaurus.C: always include <config.h> in sources.
12831 * box.h: do not include <config.h> in header files
12833 * text.C (paintLastRow): remove unused variable
12835 * text.C (transformChar):
12837 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12839 * Painter.C (text):
12840 * font.C (width): rewrite to use uppercase() instead of
12843 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12845 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12847 * lyxfind.C: clean up of find failure position change
12849 2001-12-20 Juergen Vigna <jug@sad.it>
12851 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12853 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12854 (TeXRow): added to LaTeX a single tabular row.
12855 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12856 (Latex): simplified and finally good LT-h/f support.
12857 (various_functions): just small adaptions for LT-h/f support.
12859 * tabular_funcs.[hC]: added and moved here all not classfunctions
12862 2001-12-19 Juergen Vigna <jug@sad.it>
12864 * tabular.[Ch]: better support for longtabular options (not finished
12867 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12869 * text.C (paintLastRow): use the label font instead of the font of
12870 the last character to compute the size of *_BOX. This makes more
12871 sense and avoids a crash with empty paragraphs.
12872 Use Painter::rectangle to draw EMPTY_BOX.
12874 2001-12-19 Juergen Vigna <jug@sad.it>
12876 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12877 the paragraphs if the replaced paragraph is not the first one!
12878 Tried to delete not used paragraphs but does not work yet so for
12879 now it's inside #ifdef's and by default off!
12881 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12883 * MenuBackend.C: include "lyx_main.h" instead of declaring
12884 lastfiles (actually was declared as LastFiles* instead of a
12887 2001-12-17 Juergen Vigna <jug@sad.it>
12889 * tabular.C (AppendColumn): applied John's fix
12891 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12895 * BufferView_pimpl.h:
12896 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12899 * box.h: new start of class for above
12901 * lyxfunc.C: ignore space-only minibuffer dispatches.
12902 Show the command name when it doesn't exist
12904 * minibuffer.C: don't add empty lines to the history
12906 * minibuffer.C: add a space on dropdown completion
12908 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12910 * text.C: fix line above/below drawing in insets
12912 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12914 * lyxlength.C (LyXLength): Initialize private variables.
12916 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12919 when inserting error insets.
12921 2001-12-13 Juergen Vigna <jug@sad.it>
12923 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12924 actually sometimes the before-paragraph.
12925 (setUndo): don't clear the redostack if we're not actually undoing!
12927 2001-12-06 Juergen Vigna <jug@sad.it>
12929 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12930 and fixed redoing of main paragraph, so we can use it now ;)
12932 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12934 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12936 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12939 2001-12-13 André Pönitz <poenitz@gmx.net>
12942 * undo_func.C: minor cleanup
12944 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12946 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12947 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12948 font in urw-fonts package which is marked as -urw-fontspecific and
12949 does not work (incidentally, changing the encoding in the
12950 fonts.dir of this package to -adobe-fontspecific fixes the
12953 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12954 is a crash when undoing first paragraph (Juergen, please take a
12955 look). THis does not mean the undo fix is wrong, just that it
12958 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12959 the (Paragraph*) version when needed instead of duplicating the
12962 * text.C (workWidth): use Inset::parOwner to find out where the
12963 inset has been inserted. This is a huge performance gain for large
12964 documents with lots of insets. If Inset::parOwner is not set, fall
12965 back on the brute force method
12967 * paragraph_pimpl.C (insertInset):
12968 * paragraph.C (Paragraph):
12969 (cutIntoMinibuffer): set parOwner of insets when
12970 inserting/removing them
12972 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12974 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12980 * mathed/formulabase.C:
12981 * mathed/math_cursor.[Ch]:
12982 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12985 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12987 * lyxlength.[Ch] (operator!=): new function
12989 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12991 * text.C (workWidth): use Inset::parOwner to find out where the
12992 inset has been inserted. This is a huge performance gain for large
12993 documents with lots of insets. If Inset::parOwner is not set, fall
12994 back on the brute force method
12996 * paragraph_pimpl.C (insertInset):
12997 * paragraph.C (Paragraph):
12998 (cutIntoMinibuffer): set parOwner of insets when
12999 inserting/removing them
13001 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13003 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13005 * tabular-old.C (getTokenValue):
13006 * tabular.C (getTokenValue):
13007 (write_attribute): new versions for LyXLength
13008 (everywhere): adjust the use of widths
13010 * tabular.h: change the type of widths from string to LyXLength
13012 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13014 * paragraph.C: fixed missing line number count when exporting
13015 Environments to LaTeX file
13017 * buffer.C: added informational message for checking line numbers.
13019 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13021 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13022 paragraph, do the 'double space' part, but not the 'empty
13025 * text.C (workWidth): small optimization
13026 (getLengthMarkerHeight): use minimal size for negative lengths.
13028 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13030 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13032 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13034 2001-12-11 André Pönitz <poenitz@gmx.net>
13037 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13039 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13041 * text2.C: keep selection on a setFont()
13043 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13045 * lyx_cb.C: another bv->text misuse, from insert label
13047 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13050 * kbsequence.C: re-instate nmodifier mask
13052 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13054 * lyx_main.h: make lyxGUI private.
13056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13058 * lyxfind.C: place the cursor correctly on failed search
13060 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13062 * text.C (getLengthMarkerHeight): for small heights, the arrows
13063 are not always on top/bottom of the text
13064 (drawLengthMarker): smaller arrows; take the left margin in
13065 account; draw also vfills.
13067 (paintLastRow): remove special code for vfill and standard spaces,
13068 since everything is handled in drawLengthMarker now.
13070 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * buffer.C (insertErtContents): try to handle font and language
13073 interaction a bit better.g
13075 * ColorHandler.C (updateColor): change the hash to cover the whole
13076 LColor enum, ws cleanup
13077 (getGCLinepars): ditto
13078 (getGCLinepars): only lookup in the linecache once.
13080 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13082 * iterators.C (operator++): Make the iterator more robust
13084 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13088 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13091 * text.C: better added space drawing
13093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13096 * BufferView2.C: fix layout combo update on inset unlock
13098 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13100 * Makefile.am: don't compile unused files
13102 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13106 * LyXAction.C: remove old LFUN_LAYOUTNO
13108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13110 * paragraph_pimpl.h:
13111 * paragraph_pimpl.C: isTextAt() doesn't need font param
13113 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13116 * lyxlex.C: little cleanup
13118 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13120 * BufferView_pimpl.C: fix insertAscii for insets
13122 2001-12-05 Juergen Vigna <jug@sad.it>
13124 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13125 set the right font on the "multi" paragraph paste!
13127 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13133 * lyxlength.C: remove out-commented code.
13135 * BufferView_pimpl:
13149 * vc-backend.C: change "while(" to "while ("
13151 * lyxlength.[Ch]: add zero function to check if length is zero or
13153 * lyxgluelength.C: use it
13155 2001-12-05 Allan Rae <rae@lyx.org>
13157 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13158 Works for 2.95.3, from what I understand of Garst's reports this should
13159 work for other g++ versions. We're screwed if the abs(int) definition
13160 changed between bugfix releases of gcc.
13162 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13164 * text.C: fix chapter label offset !
13166 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13169 * text.C: fix hfill at end of line, clean up
13171 2001-12-04 Juergen Vigna <jug@sad.it>
13173 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13174 that we force an update of the inset and it's owners if neccessary.
13176 2001-12-03 Juergen Vigna <jug@sad.it>
13178 * text.C (rowLast): simplified code
13180 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13182 * lyxfunc.C: fix show options on timeout
13184 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13186 * screen.C (topCursorVisible): scroll half a page when the cursor
13187 reached top of bottom of screen
13189 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13191 * minibuffer.C: deactivate on loss of focus
13193 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13195 * vspace.[Ch] (operator!=): add operator.
13197 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13199 * BufferView_pimpl.C: refuse to open an inset when
13200 there's a selection.
13202 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13204 * BufferView_pimpl.C: allow to click on RHS of full row insets
13206 2001-11-30 Juergen Vigna <jug@sad.it>
13208 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13209 insets for undo reasons.
13211 2001-11-28 André Pönitz <poenitz@gmx.net>
13213 * vspace.[Ch]: cosmetical changes
13215 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13225 * kbsequence.C: part re-write of old kb code
13228 * WorkArea.C: remove Lgb_bug_find_hack
13230 2001-11-30 José Matos <jamatos@fep.up.pt>
13232 * buffer.C (makeDocBookFile): add a comment to point a hack.
13233 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13234 Fixed a double write of labels.
13236 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13239 * LaTeX.h Fixed bug in LaTeX class where it would not
13240 re-run latex if no depfiles were changed, but the .dvi was removed.
13242 2001-11-28 André Pönitz <poenitz@gmx.net>
13244 * all the files from the change on 2001/11/26:
13245 use lyx::layout_type instead of LyXTextClass::size_type
13246 use lyx::textclass_type instead of LyXTextClassList::size_type
13248 2001-11-29 Juergen Vigna <jug@sad.it>
13250 * text.C: added support for paragraph::isFreeSpacing()
13252 * buffer.C: same as above
13254 * paragraph.h: inserted isFreeSpacing() function to enable
13255 FreeSpacing inside InsetERT.
13257 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13258 of the paragraph's in the cut/copy buffer to 0!
13260 * text2.C (removeRow): remove the assert as it can!
13262 * lyxtext.h: added helper function firstRow returning firstrow and
13263 made firstrow private again.
13265 * BufferView2.C (lockInset): don't relock if we're already locked!
13267 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13268 the only paragraph.
13269 (removeRow): added Assert::(firstrow)
13271 * debug.C: forgot to add INSETTEXT here.
13273 2001-11-28 Juergen Vigna <jug@sad.it>
13275 * sp_spell.C (initialize): changed error text to more general
13276 spellchecker command use (not only ispell!)
13278 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13280 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13282 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13284 * vspace.C: initialise lyxgluelength on failure
13286 2001-11-28 Allan Rae <rae@lyx.org>
13288 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13289 declaration & definition that looks like a function declaration.
13291 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13293 * BufferView2.C (copy):
13294 (copyEnvironment): do not clear the selection when doing a copy.
13296 * text.C (paintFirstRow): compilation fix
13298 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13300 * tabular.C (Latex): correct line count when writing latex.
13302 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13304 * paragraph_pimpl.h:
13305 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13308 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13312 * LColor.C: change vfillline->added_space
13314 * text.C: add markers and text for added space
13316 * vspace.C: fix comment
13318 2001-11-28 André Pönitz <poenitz@gmx.net>
13320 * paragraph.C: whitespace changes
13321 * all the other files from the change on 2001/11/26:
13322 change *::pos_type into lyx::pos_type
13324 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13326 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13327 language of the document when inserting error insets.
13329 2001-11-26 André Pönitz <poenitz@gmx.net>
13331 * BufferView_pimpl.[Ch]:
13339 * paragraph_pimpl.[Ch]:
13342 * text2.C: reduce header dependencies, introduce type for positions
13344 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13346 * <various>: change to use Alert.h
13348 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13350 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13351 when encountering an unknown token.
13352 (readLyXformat2): Show an error message if there were unknown tokens.
13354 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13357 * BufferView_pimpl.C:
13361 * text2.C: use par->isInset()
13363 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13365 * paragraph_pimpl.h:
13366 * paragraph_pimpl.C: cleanup
13368 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13370 * text2.C (removeRow):
13371 * text.C (setHeightOfRow): remove useless (and costly) call to
13374 2001-11-20 Allan Rae <rae@lyx.org>
13376 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13377 Now need Inset*::checkInsertChar() to return true for appropriate
13378 cases so that the characters in the minibuffer will actually be
13381 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13383 * text.C: change the order of the includes.
13384 (workWidth): initialize it at once.
13385 (workWidth): make maxw unsigned
13386 (setHeightOfRow): remove unused variable (inset)
13387 (selectSelectedWord): remove unused variable (inset)
13388 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13390 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13392 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13393 server is not running.
13395 (closeConnection): add debug info when server is disabled.
13397 * ColorHandler.C (getGCForeground): send debug message to GUI
13400 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13402 * kbmap.C (bind): modify because return conventions of
13403 kb_sequence::parse have changed.
13405 * kbsequence.C (parse): only ignore spaces and not any stupid
13406 control character. This avoids tests like s[i] <= ' ', which are
13407 guaranteed to fail with 8bit characters and signed chars.
13408 Change return code to string::npos when there have been no error
13409 (0 was a bad idea when error is at first character)
13411 2001-11-14 José Matos <jamatos@fep.up.pt>
13414 * buffer.C (simpleDocBookOnePar): removed unused argument.
13416 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13419 insets which are part of a word. Paragraph::isLetter takes care of
13420 that now. Use Paragraph::isInset to identify insets.
13421 (selectSelectedWord): do not test for hyphenation break.
13423 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13424 that protected spaces are considered as spaces.
13426 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13429 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13432 * lyxserver.C: fix it. and small cleanup.
13434 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13436 * BufferView_pimpl.C: use inline helpers
13439 * LaTeXFeatures.C: fix typos
13442 * Spacing.C: move spacing_string into class
13444 * ToolbarDefaults.C: move stuff into namespace anon
13446 * layout.h: update enum
13448 * lyxfunc.C: use better debug
13450 * minibuffer.h: fix typo
13454 * WorkArea.C: add and use Debug::WORKAREA
13458 * text2.C: code re-organisation, inline helpers
13460 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13462 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13463 std::vector.empty().
13465 2001-11-09 Allan Rae <rae@lyx.org>
13467 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13468 '\n's after tables. Tabular and ERT inset work now makes this no
13471 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13474 * minibuffer.C: fix crash, improve drop-down completion
13476 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13479 * lyxserver.C: invalidate fd's when doing endPipe()
13481 2001-11-08 José Matos <jamatos@fep.up.pt>
13483 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13484 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13487 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13489 2001-11-07 José Matos <jamatos@fep.up.pt>
13492 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13495 * buffer.C (sgmlOpenTag):
13496 * buffer.C (sgmlCloseTag): removed debug info.
13498 * buffer.h (sgmlOpenTag):
13499 * buffer.h (sgmlCloseTag): made public.
13501 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13503 * buffer.C (saveParamsAsDefaults):
13504 * lyx_cb.C (MenuLayoutSave): remove
13506 * LyXAction.C (init):
13508 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13510 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13512 * buffer.C (setPaperStuff): removed from here...
13514 * bufferparams.C (setPaperStuff): ... and moved there.
13516 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13520 * XFormsView.C: add support for drop-down completion
13522 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13524 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13527 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13529 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13532 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13534 * lyx_main.C: change ref to known bugs
13536 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13538 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13539 to work around older babel problems.
13541 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13543 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13545 2001-10-24 Juergen Vigna <jug@sad.it>
13547 * tabular-old.C (ReadOld): below variable changes reflected.
13549 * tabular.[Ch]: added ltType struct for longtable header/footer
13550 defines and changed all instances where they are used. Added
13551 future support for double top/bottom rows.
13553 2001-10-24 José Matos <jamatos@fep.up.pt>
13555 * buffer.h (docbookHandleCaption):
13556 * buffer.C (docbookHandleCaption): removed unused function.
13557 (makeDocBookFile): moved docbook supported version to v4.1.
13559 2001-10-24 José Matos <jamatos@fep.up.pt>
13562 * tabular.C (docbookRow): new function to export docbook code of a row.
13563 (DocBook): now honors the longtable flags.
13565 2001-10-23 José Matos <jamatos@fep.up.pt>
13568 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13569 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13571 * buffer.C (makeLinuxDocFile):
13572 (makeDocBookFile): reworked the preamble, more clean, and with
13573 support for lyx defined entities. Changed the document declaration
13574 to be more XML friendly.
13576 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13577 if we need to output XML that should be done with a filter.
13579 2001-10-22 Juergen Vigna <jug@sad.it>
13581 * sp_pspell.h (class PSpell): add alive function needed in the
13582 controller to see if the spellchecker could be started.
13584 2001-10-22 Juergen Vigna <jug@sad.it>
13586 * buffer.C (insertStringAsLines): modify the font for inserting
13587 chars in certain conditions by calling checkInsertChar(font).
13589 2001-10-19 Juergen Vigna <jug@sad.it>
13591 * text.C (workWidth): use getRow instead of wrong algorithm.
13592 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13594 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13599 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13601 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * text.C (workWidth): do not search for the exact row when
13604 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13605 optimization for big documents.
13607 2001-10-18 Juergen Vigna <jug@sad.it>
13609 * text.C (workWidth): new function with added Inset * parameter.
13611 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13613 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13615 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13616 change return type of getColumnNearX.
13619 * text.C (changeRegionCase): use uppercase/lowercase instead of
13622 (rightMargin): simplify code by factoring out the uses of
13627 (appendParagraph): use Paragraph::size_type
13629 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * vspace.C (asLatexString): add a missing break
13633 2001-10-15 Herbert Voss <voss@perce.de>
13635 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13637 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13639 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13642 2001-10-10 André Pönitz <poenitz@gmx.net>
13644 * lyxfunc.C: removed greek_kb_flag.
13646 2001-10-10 Herbert Voss <voss@perce.de>
13648 * lyx_main.C: delete global string help_lyxdir.
13650 2001-10-09 Herbert Voss <voss@perce.de>
13652 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13654 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13656 * lyx_main.C: added global string help_lyxdir.
13658 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13660 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13662 * lyxrc.C (set_font_norm_type): support iso8859-4
13664 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13666 * LaTeX.C (deplog): add another regex for MikTeX
13668 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13670 * lyxrc.C (set_font_norm_type): support iso8859-3
13672 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13676 * LaTeXFeatures.C: remove special case of french and index
13678 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13679 before \begin{document}). This solves several incompatibilities.
13681 2001-10-03 Garst Reese <reese@isn.net>
13683 * lyx_cb.C: change CheckTex error msg.
13685 2001-10-03 José Matos <jamatos@fep.up.pt>
13687 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13689 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * .cvsignore: update
13693 * lyx_main.C (commandLineVersionInfo): use new style version info.
13695 * buffer.C (writeFile):
13697 (makeLinuxDocFile):
13698 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13700 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13702 * version.h: update to use stuff in version.C
13704 * version.C.in: new file. Contains version information determined
13705 at compile time. This is a merging of version.h and
13708 2001-10-03 Juergen Vigna <jug@sad.it>
13710 * BufferView_pimpl.C (update): don't change "dirty" status in
13713 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13715 * WorkArea.C (c-tor): re-position version string slightly.
13717 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13719 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13720 revert to previous code.
13722 WorkArea.[Ch]: (show, destroySplash): methods removed.
13724 WorkArea.C: rework code so that it's an amalgam of the codes before and
13725 after the splash screen was moved to WorkArea.
13727 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13730 * vspace.C (inPixels):
13733 * buffer.C (insertStringAsLines):
13734 (asciiParagraph): fix types to be large enough
13736 * lyxlex_pimpl.h: change member status from short to int
13738 * layout.h: fix type of endlabeltype
13741 * kbsequence.C (parse): change return type to string::size_type
13743 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13746 * Bullet.C (bulletSize):
13747 (bulletEntry): do not use short ints as parameters
13749 * BufferView2.C (insertLyXFile): change a char to an int.
13751 * WorkArea.C (WorkArea): remove unneeded floats in computation
13753 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13755 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13757 * paragraph.C (asString): Do not ignore newline/hfill chars when
13758 copying to the clipboard.
13760 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13762 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13763 after a multi-line inset.
13765 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13767 * paragraph.C (validate): Set NeedLyXFootnoteCode
13769 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13771 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13772 and decrease-error to decrease.
13774 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13777 it more readable (should be equivalent)
13779 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13781 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13783 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13786 of a cursor (row, etc.) after a character has been deleted
13787 (deleteEmptyParagraphMechanism): call the method above on _all_
13788 cursors held by the LyXText when a double space has been
13791 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13793 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13795 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13797 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13798 background. Use greyOut() and the new show() methods to toggle between
13799 the foreground and background. Add code to remove the splash after
13800 its initial showing.
13802 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13803 (create_forms): no longer call Dialogs::showSplash.
13805 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13807 * .cvsignore: add version_info.h
13809 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * version_info.h.in: new file
13813 * Makefile.am: add version_info.h.in
13815 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13816 version_info.h instead of VERSION_INFO
13818 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13820 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13821 The ERT inset now returns string().
13823 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13825 * lyxtext.h, text.C (selectNextWord): renamed as
13826 selectNextWordToSpellcheck.
13828 * text.C (selectNextWordToSpellcheck): Modified to not select
13829 words inside an ERT inset.
13831 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13833 * lyx_cb.C (MenuLayoutSave): change a bit the question
13835 * sp_base.h: include <sys/types.h>
13837 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13839 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13841 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13843 * several files: fix typos in user-visible strings
13845 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * text2.C (pasteSelection): do not set the selection, since it
13848 will be cleared later. Actually, the intent was to fix the way the
13849 selection was set, but I figured rmoving the code was just as good.
13851 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13853 * FontLoader.C (available): Check if font is available without
13856 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13858 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13860 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13862 * lyxrc.[Ch]: added display_graphics variable and associated code.
13864 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13866 * bufferparams.C (hasClassDefaults): new method. Returns true if
13867 the buffer parameters correspond to known class defaults
13869 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13871 * XFormsView.C (show): set minimum size to the main window.
13873 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * text2.C (copySelection):
13877 * lyxfind.C (LyXReplace):
13878 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13879 LyXText::selectionAsString.
13881 * paragraph.C (asString): add "label" argument to the second form
13883 * text2.C (selectionAsString): add "label" argument and pass it to
13884 Paragraph::asString.
13886 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13888 * lyx_main.C (commandLineHelp): remove version information
13890 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13892 * lyx_main.C: add -version commandline option
13894 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13896 * paragraph.h: make the optional constructor arg required instead.
13897 some modifications to other files because of this.
13899 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13901 * lyxserver.C (C_LyXComm_callback): make it static
13903 * lyx_main.C (error_handler): make it static
13905 * lyx_gui.C (LyX_XErrHandler): make it static
13907 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13909 * WorkArea.C: make the extern "C" methods static.
13911 * Makefile.am (lyx_LDADD): simplify
13913 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13915 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13916 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13918 * LyXAction.C (init):
13919 * lyxfunc.C (dispatch): associated code removal.
13921 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13923 * lyxfont.h (isSymbolFont): shut off warning
13925 * text.C (setHeightOfRow):
13926 (getVisibleRow): fix crash with empty paragraphs which have a
13929 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13931 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13934 2001-09-04 José Matos <jamatos@fep.up.pt>
13937 * tabular.C (docbook): rename docBook method to docbook.
13939 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13941 * Makefile.am: add dependencies to main.o.
13943 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13945 * FontLoader.C (available): Return false if !lyxrc.use_gui
13947 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13949 * FontInfo.C (query):
13950 * converter.C (view):
13951 * importer.C (Import):
13952 * exporter.C (Export): Can not -> cannot.
13954 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13956 * BufferView_pimpl.C: allow to create index inset even if
13959 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13961 * buffer.C (getLists): replace boost::tie code with an explicit pair
13962 as boost::tie can break some compilers.
13964 * iterators.h: Added a std:: declaration to the return type of
13967 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13969 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13972 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13974 * iterators.[Ch]: New files. Provide paragraph iterators.
13976 * buffer.C (changeLanguage): Use paragraph iterators.
13977 (isMultiLingual): ditto
13979 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13981 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13983 * FontLoader.C: Support for cmr font.
13985 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13987 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13988 (available): New method.
13990 * FontInfo.C (getFontname): Use scalable fonts even when
13991 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13994 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13996 * converter.C (Formats::view): reverted! Incorrect fix.
13998 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14000 * converter.C (Formats::view): only output the -paper option
14001 if the dvi viewer is xdvi, thereby fixing bug #233429.
14003 2001-08-23 Herbert Voss <voss@perce>
14005 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14007 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14009 * Spacing.h (Spacing): Set space to Default on in the default
14012 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14014 * vc-backend.h (RCS::versionString): add RCS to version
14015 (CVS::versionString): add CVS to version
14017 * vc-backend.C (scanMaster): do not add CVS to version.
14018 (scanMaster): do not add RCS to version
14020 * lyxvc.C (versionString): new method
14022 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14024 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * Spacing.C (set): initialize fval
14028 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14030 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14033 2001-08-16 Juergen Vigna <jug@sad.it>
14035 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14037 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14039 * BufferView_pimpl.C:
14042 * text2.C: setParagraph takes linespacing now
14044 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14046 * LyxAction.C: add internal LFUN_CITATION_INSERT
14048 * LyXView.C: actually apply fix
14050 * bufferlist.C: fix open non-existent file
14052 * lyxfind.C: fix indentation
14054 * lyxfunc.C: remove unneeded assert, fix typo
14056 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14058 * MenuBackend.C: use "Floatname List"
14060 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14062 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14063 when converting LaTeX layout to insetERT.
14064 Generate a non-collapsed float when reading old float
14066 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14068 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14071 2001-08-13 Juergen Vigna <jug@sad.it>
14073 * text.C (fill): return 0 instead of 20 as this seems to be the more
14076 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14078 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14081 2001-08-13 Juergen Vigna <jug@sad.it>
14083 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14085 (SearchBackward): comment out the unlocking of the inset_owner this
14086 should not be needed!
14088 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14090 * Many files: Remove inherit_language, and add latex_language
14092 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14093 collapsible insets.
14095 2001-08-10 Juergen Vigna <jug@sad.it>
14097 * text.C (prepareToPrint): fixed hfill-width in draw!
14099 * BufferView2.C (selectLastWord): save the selection cursor as this
14100 now is cleared in the function LyXText::clearSelection!
14102 2001-08-08 Juergen Vigna <jug@sad.it>
14104 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14105 BACKSPACE type functions.
14107 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14108 is only cutted from the document but not put in the cut-buffer, where
14109 still the old stuff should be.
14111 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14113 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14115 * tabular.C (SetWidthOfCell): fixed special case where the width
14117 (LeftLine): handle '|' in align_special.
14119 (LeftAlreadyDrawed): ditto
14120 (SetWidthOfCell): ditto
14122 2001-08-07 Juergen Vigna <jug@sad.it>
14124 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14126 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14128 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14129 * lyxlex.[hC]: ditto
14131 2001-08-06 Juergen Vigna <jug@sad.it>
14133 * text.C (getVisibleRow): fix up row clearing a bit.
14135 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14137 * minibuffer.C: make sure the X server sees the changes in the input.
14139 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14141 * paragraph.C (getFont): split into...
14142 (getLabelFont): this
14143 (getLayoutFont): and this
14144 * paragraph_pimpl.C (realizeFont): calling this
14146 * text2.C (getFont): split into...
14147 (getLayoutFont): this
14148 (getLabelFont): and this
14149 (realizeFont): all three calling this
14151 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14154 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14156 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14158 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14160 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14161 layouts from the Quote inset insertion.
14163 2001-08-03 Juergen Vigna <jug@sad.it>
14165 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14167 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14168 only if status not is already CHANGED_IN_DRAW (second level).
14170 * text.C (draw): don't set the need_break_row when inside an
14173 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * buffer.C (parseSingleLyXformat2Token): handle more latex
14178 * bufferview_funcs.[hC]: change function names to
14179 begin with small char, adjust other files.
14181 2001-08-02 André Pönitz <poenitz@gmx.net>
14184 BufferView_pimpl.C: remove broken special code for math-greek
14186 2001-08-02 Juergen Vigna <jug@sad.it>
14188 * BufferView_pimpl.C (update): redone this function so that we
14189 update the text again if there was a CHANGE_IN_DRAW.
14191 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14192 (drawFromTo): added a new internal bool which is used by draw() and
14194 (general): some cursor drawing problems fixed.
14196 2001-08-01 Juergen Vigna <jug@sad.it>
14198 * lyxfind.C (LyXFind): fixed
14199 (SearchForward): ditto
14200 (SearchBackward): ditto
14202 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14203 spurius drawing of the cursor in the main area.
14205 * text2.C (status): small fix which could lead to a segfault!
14206 (clearSelection): remove unneeded BufferView param.
14208 2001-08-01 André Pönitz <poenitz@gmx.net>
14210 * lyxfunc.C: small change due to changed mathed interface
14212 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14214 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14216 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14218 * lyxfunc.c: fail gracefully if file doesn't exist
14223 * BufferView_pimpl.C: IsDirWriteable() proto changed
14225 * LyXView.C: fix updateWindowTitle() to store the last title
14227 2001-07-31 Juergen Vigna <jug@sad.it>
14229 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14230 the font (wrong since using of Paragraph::highestFontInRange).
14232 * paragraph.C (highestFontInRange): added a default_size parameter.
14234 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14235 (setHeightOfRow): reformat
14237 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14239 * converter.[hC] + affected files: move to (inital-char)lowercase
14242 * ParagraphParameters.C (ParagraphParameters): remove commented code
14244 * PainterBase.[Ch]: remove commented code
14246 * LaTeXFeatures.h: add "bool floats" for float.sty
14248 * LaTeXFeatures.C (LaTeXFeatures): init floats
14249 (require): handle float
14250 (getPackages): do it with floats
14252 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14254 * BufferView_pimpl.C (Dispatch): improve handling of
14255 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14257 * commandtags.h: #include lyxfont.h here temporarily to avoid
14260 * bufferlist.h: include LString.h here.
14262 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14264 * text2.C (getStringToIndex): new method.
14266 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14268 * *: Reduced header file dependencies all over.
14270 2001-07-30 Baruch Even <baruch@lyx.org>
14272 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14274 2001-07-29 Baruch Even <baruch@lyx.org>
14276 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14278 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14280 * ParameterStruct.h (endif): add a default constructor to make
14281 sure that all variables is initialized.
14283 * ParagraphParameters.C (ParagraphParameters): adjust
14285 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14287 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14288 index; also, check that there is something to index, and that it
14289 does not span over several paragraphs.
14290 (doubleClick): use WHOLE_WORD_STRICT for double click.
14292 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14294 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14297 2001-07-26 Baruch Even <baruch@lyx.org>
14299 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14300 an InsetFig figure, backwards compatible reading of old figure code.
14302 2001-07-27 Juergen Vigna <jug@sad.it>
14304 * text2.C: font.realize function adaption.
14306 * text.C (draw): add a warnings lyxerr text if needed.
14308 * layout.C: font.realize function adaption.
14310 * language.C: add inherit_language and implement it's handlings
14312 * bufferview_funcs.C (StyleReset): remove language parameter from
14313 font creation (should be language_inherit now).
14315 * bufferparams.C (writeFile): handle ignore_language.
14317 * paragraph.C (getFontSettings): the language has to be resolved
14318 otherwise we have problems in LyXFont!
14320 * lyxfont.C (lyxWriteChanges): added document_language parameter
14321 (update): removed unneeded language parameter
14323 * paragraph.C (validate): fixed wrong output of color-package when
14324 using interface colors for certain fonts in certain environments,
14325 which should not seen as that on the final output.
14327 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14329 * BufferView_pimpl.C:
14334 * LyXAction.C: add thesaurus support
14337 * lyxfind.C: add "once" parameter, for thesaurus, to not
14338 move to the next match
14340 2001-07-26 Juergen Vigna <jug@sad.it>
14342 * lyxfont.C (realize): honor ignore_language too!
14345 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14347 * text.C (draw): one place more for ignore_language to not draw
14350 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14352 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14354 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14357 the minipage conversion problem.
14359 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14364 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14366 * BufferView.h: don't forward declare WorkArea
14368 * BufferView.C: don't include WorkArea.h
14370 2001-07-25 André Pönitz <poenitz@gmx.net>
14374 * lyxfunc.C: new LFUN 'math-space'
14376 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14378 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14380 * text2.C (toggleInset): call open/close
14382 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * lyxfunc.C (dispatch): add debug for the disabled case
14386 * font.C (buttonText): make similar to rectText
14388 * buffer.C (readInset): comment out parsing of insetlist and
14391 * PainterBase.C (rectText): small correction
14393 * BufferView_pimpl.C: comment out insettheorem and insetlist
14394 * LyXAction.C: ditto
14395 * commandtags.h: ditto
14397 2001-07-24 Juergen Vigna <jug@sad.it>
14399 * text.C (draw): honor the ignore_language.
14401 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14403 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14405 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14408 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14410 * lyxtext.h: remove unused (and unimplemented) methods
14412 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14414 * text.C (getVisibleRow): honor background color
14417 * Painter.h: remove default color argument for fillRectangle
14419 * text.C (backgroundColor): new method
14421 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * text.C (getVisibleRow): adjust
14425 * font.[Ch] (rectText): new method, metrics
14426 (buttonText): new method, metrics
14428 * PainterBase.[hC]: make rectText and buttonText always draw and take
14431 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14433 * ToolbarDefaults.C (read):
14434 * MenuBackend.C (read): allow escaping in all strings
14436 * BufferView_pimpl.C (insertAndEditInset): new method.
14437 (Dispatch): use insertAndEditInset whenever appropriate.
14439 * BufferView_pimpl.C (insertNote): removed
14441 * BufferView_pimpl.C (smartQuote): new method, moved from
14442 BufferView; if an insetquote cannot be inserted, insert a '"'
14445 * BufferView2.C: remove insertCorrectQuote();
14447 * lyxfunc.C (getStatus): Add support for all remaingin
14448 inset-insert lfuns.
14450 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14452 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14453 command (necessary to pass " as parameter of self-insert.
14455 * text.C (selectWordWhenUnderCursor):
14456 (selectWord): add word_location parameter
14457 (selectWordWhenUnderCursor): same + remove special code for word
14459 (selectNextWord): use kind() to guess type of insetspecialchar,
14462 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14463 (insertErtContents): create ert insets as collapsed.
14464 (readInset): better compatibility code for Info inset.
14466 2001-07-20 Juergen Vigna <jug@sad.it>
14468 * lyxfunc.C (dispatch): use always LyXFind now!
14470 * text2.C (init): add a reinit flag so that the LyXText can be
14471 reinited instead of deleted and reallocated (used in InsetText).
14473 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14479 2001-07-18 Juergen Vigna <jug@sad.it>
14481 * text.C (selectNextWord): handle insets inside inset by calling
14482 always the bv->text functions so that we can go up the_locking_inset!
14484 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14485 in strange locations when inside an inset!
14487 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14488 handling to include insets.
14490 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14492 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14494 * LyXAction.C (init):
14496 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14497 LIGATURE_BREAK, since the name is so stupid.
14499 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14501 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14504 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14506 * sp_form.[Ch]: remove.
14508 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14510 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14513 * src/buffer.C (readInset): ditto.
14515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14517 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14518 menuSeparator(), endOfSentenceDot(), ldots() and
14519 hyphenationPoint(), which are therefore removed.
14520 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14522 * LyXAction.C (init):
14523 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14525 * paragraph.C (getWord): removed.
14527 * BufferView_pimpl.C (Dispatch): use last word or selection for
14528 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14530 * lyx_main.C (queryUserLyXDir): do not ask before creating
14531 user_dir, except if it has been named explicitely.
14533 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14535 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14536 a document of zero size.
14538 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14540 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14541 approriately in the c-tor and in require().
14542 (getPackages): output the appropriate LaTeX for natbib support.
14544 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14545 variables "use_natbib" and "use_numerical_citations" when reading the
14547 (readInset): read the various natbib cite commands.
14548 (validate): white-space change.
14550 * bufferparams.[Ch]: new variables "bool use_natbib" and
14551 "bool use_numerical_citations".
14552 (writeFile): output them in the LyX file.
14554 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14556 * lyxfunc.C (getStatus): add support for all the inset insertion
14559 * text2.C (insertInset):
14560 * paragraph.C (insetAllowed):
14561 * BufferView_pimpl.C (insertInset): update to take in account the
14562 renaming of insertInsetAllowed
14564 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14566 * text2.C (getInset): new method. returns inset at cursor position.
14568 * BufferView_pimpl.C (Dispatch): changes because of this.
14570 * LyXAction.C (init): rename open-stuff to inset-toggle.
14572 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14574 * text2.C (toggleInset): renamed from openStuff; use
14577 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14579 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14581 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14583 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14585 * buffer.C (readLyXformat2): Add filename to the error dialog
14587 2001-07-18 Juergen Vigna <jug@sad.it>
14589 * tabular.C (GetCellNumber): put an assert here instead of the check!
14591 2001-07-17 Juergen Vigna <jug@sad.it>
14593 * BufferView_pimpl.C (toggleSelection): adapted too.
14595 * text.C (selectNextWord): adapted for use with insets.
14596 (selectSelectedWord): ditto
14598 2001-07-17 Juergen Vigna <jug@sad.it>
14600 * sp_spell.C (PSpell): fix initialitation order.
14602 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * paragraph.C: spacing
14606 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14608 * sp_spell.C: repair language selection for pspell
14610 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14612 * lyxfunc.h: change more methods to begin with lower char.
14614 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14616 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14617 for unknown layouts.
14619 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14621 * buffer.C (readLyXformat2): Generate an error dialog if there are
14624 2001-07-16 Juergen Vigna <jug@sad.it>
14626 * sp_spell.C: always compile ISpell part.
14628 * lyxrc.C: added use_pspell entry and it's handling.
14630 2001-07-13 Juergen Vigna <jug@sad.it>
14632 * sp_spell.C: removed double includes.
14634 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14636 Consistent use of Lsstream.h:
14637 * Lsstream.h: added using std::stringstream for consistencies sake.
14639 * buffer.C: removed using std::stringstream
14641 * lyxfont.C (stateText):
14642 * paragraph.C (asString):
14643 * text.C (selectNextWord, selectSelectedWord):
14644 * text2.C (setCounter):
14645 * vspace.C (asString, asLatexString):
14646 std::ostringstream -> ostringstream.
14648 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14650 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14651 * commandtags.h: add LFUN_HELP_ABOUTLYX
14652 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14656 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14658 * lyx_gui_misc.C: remove spellchecker
14659 * lyxfunc.C: showSpellchecker
14661 * sp_ispell.h: added
14662 * sp_pspell.h: added
14663 * sp_spell.C: added
14664 * sp_form.[Ch]: removed
14665 * spellchecker.[Ch]: removed
14667 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14669 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14671 (simpleTeXSpecialChars): Simply print the input character without
14672 any special translation if pass_thru is set.
14674 * layout.h: Added bool pass_thru to layout class for being able to
14675 implement pass through of a paragraph for Literate Programming.
14677 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14678 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14679 * layout.C (Read): add "passthru" to list of layout tags and add
14680 code to set the pass_thru boolean when it is read.
14682 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14684 * trans_decl.h: remove allowed from KmodInfo
14686 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14687 remove allowed code
14690 * paragraph_pimpl.C (erase): use boost::prior
14692 * Painter.C (text): use data() instead of c_str() when length is
14694 * WorkArea.C (putClipboard): ditto
14695 * font.h (width): ditto
14697 * BufferView2.C: use it-> instead of (*it). for iterators
14699 * paragraph_pimpl.C: ditto
14700 * paragraph.C: ditto
14701 * minibuffer.C: ditto
14702 * language.C: ditto
14704 * encoding.C: ditto
14705 * counters.C: ditto
14706 * converter.C: ditto
14708 * Variables.C: ditto
14709 * TextCache.C: ditto
14710 * MenuBackend.C: ditto
14711 * LyXAction.C: ditto
14713 * FloatList.C: ditto
14714 * DepTable.C: ditto
14715 * ColorHandler.C (LyXColorHandler): ditto
14717 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14721 * text2.C (openStuff): reintroduce this method (which had been
14722 nuked in NEW_INSETS frenzy).
14724 * lyxfunc.C (Dispatch): when an action has not been handled, use
14725 its name in the error message, not its number.
14727 * paragraph.C (inInset): change method name to begin with lowercase.
14730 * text2.C: updates because of this.
14732 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14734 * ToolbarDefaults.C (add): add spaces in error message
14736 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14739 (readLyXformat2): rename return_par to first_par, use lyxlex's
14740 pushToken and remove the manual push handling.
14741 (parseSingleLyXformat2Token): add another ert comp. variable:
14742 in_tabular, rename return_par to first_par. handle newlines better
14744 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14748 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14750 * text2.C (getParFromID): removed
14752 * buffer.C (getParFromID): new method moved form lyxtext.
14753 * BufferView2.C (insertErrors): adjust
14754 (setCursorFromRow): adjust
14755 * BufferView_pimpl.C (restorePosition): adjust
14756 * lyxfunc.C (Dispatch): adjust
14757 * undo_funcs.C (textUndo): adjust
14759 (textHandleUndo): adjust
14760 (textHandleUndo): adjust
14762 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14764 * buffer.C: up' the LYX_FORMAT
14766 * lyxfont.h: turn NO_LATEX on as default
14768 * buffer.C (insertErtContents): new methods of tex style compability.
14769 (parseSingleLyXformat2Token): use it several places.
14770 * tabular.C (OldFormatRead): and here
14772 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * text2.C: remove some commented code.
14777 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14778 * trans.C: changes because of the above.
14780 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14782 * text2.C (setCounter): Fix counters bug with bibliography layout.
14784 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14786 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14787 own member functions
14788 (simpleTeXSpecialChars): ditto
14790 2001-07-06 Juergen Vigna <jug@sad.it>
14792 * a lot of files: changed the access to LyXText::status and the
14793 call of undo-functions.
14795 * undo.[Ch]: added a inset_id to the undo informations.
14797 * undo_funcs.[Ch]: added and moved here all undo functions.
14799 * lyxtext.h: give the status enum a weight, made status_ a private
14800 variable and made accessor functions for it, removed the whole bunch
14801 of undo-functions as they are now in their own file, make some
14802 functions publically available. Added function ownerParagraph with
14805 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14806 made InInset() a const function, added getParFromID() function.
14808 * buffer.[Ch]: added const version for inset_iterator functions,
14809 added getInsetFromID() function.
14811 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14812 changed undo functions for new version.
14814 2001-07-05 Juergen Vigna <jug@sad.it>
14816 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14817 unknow mechanism does not call the proper constructor but only this
14818 one also if I request the other!?
14820 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14822 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14824 * text2.C (LyXText): use initialization lists.
14826 * lyxtext.h (Selection): initialize set_ and mark_
14827 (init): remove method
14829 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14831 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14835 * screen.[Ch]: change method names to begin with lowercase
14837 * BufferView_pimpl.C (updateScrollbar): simplify further and
14838 hopefully make it a bit faster.
14840 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14842 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14843 calling directly xforms functions.
14845 * Painter.C (Painter):
14846 * lyx_cb.C (MenuWrite):
14847 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14850 * lyx_gui.C: remove bogus guiruntime extern declaration.
14852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14854 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14856 (redoDrawingOfParagraph): ditto
14857 (redoParagraphs): ditto
14858 (cutSelection): don't create a object for CutAndPaste use the
14859 static method directly
14860 (pasteSelection): ditto
14862 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14865 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14867 * modifications to some other files because of this.
14869 * Makefile.am (lyx_SOURCES): add XFormsView
14871 * XFormsView.[Ch]: new files
14873 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14874 the main window. Move the gui dependent stuff to XFormsView
14876 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14878 * tabular.C (GetCellInset): update cur_cell also in the row/col
14879 version of this function.
14881 * lyxfunc.C: no need to include figure_form.h here.
14887 * lyxvc.C: no need to include forms.h here.
14889 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14891 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14893 * lyxfunc.C (Dispatch):
14895 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14896 constructor argument.
14898 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * paragraph.C (Paragraph): dont't clear, and just set layout.
14901 (makeSameLayout): use params's copy contructor.
14903 * ParagraphParameters.[Ch] (makeSame): delete method
14905 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14907 * Variables.[Ch]: fix indentation, rename set to isSet
14909 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * lyxfunc.C (Dispatch): fix typo
14913 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14915 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14918 * bufferlist.C: include assert.h for emergencyWrite().
14920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14922 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14923 give up at last (bug #425202) !
14925 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14931 * spellchecker.C: strip spellchecker options and bring up
14932 preferences tab instead
14934 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14936 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14937 the istringstream constructor
14939 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14941 * paragraph.C (getLayout): fix return value
14943 * paragraph.h: do not declare getLayout as inline.
14945 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14947 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * lyxcursor.h (operator<): new func
14950 (operator>): new func
14951 (operator>=): new func
14952 (operator<=): new func
14954 * text.C (changeCase): use selection.start and selection.end
14955 (changeRegionCase): require from to be <= to. Require par to be a
14958 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14960 2001-06-27 Juergen Vigna <jug@sad.it>
14962 * text.C (cursorLeftOneWord): changed to return the cursor and added
14963 overlay with BufferView * parameter which calls this one.
14965 (selectWord): use new getWord function.
14966 (changeCase): renamed from changeWordCase as and extended to work
14967 also on selections.
14969 * lyxtext.h: added enum word_location
14971 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14972 changeCase as this operates now also on selections.
14974 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14976 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14978 * many files: send debug output to Debug::INFO instead of
14981 * converter.C (View):
14983 (Move): send debug output to Debug::FILES instead of console.
14985 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14987 * lyxfunc.C (getStatus): use func_status
14989 * func_status.h: new header, describing the results of
14990 LyXFunc::getStatus;
14992 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14995 2001-06-25 The LyX Project <jug@sad.it>
14997 * buffer.C (sgmlOpenTag):
14999 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15001 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * text2.C: remove some dead code
15005 * tabular.C (GetCellInset): store the last cell checked (gotten)
15007 * tabular.h: add the helper for the speedup
15009 * lyxtext.h: remove some dead code
15011 2001-06-26 The LyX Project <Asger>
15013 * paragraph.C: Change export to LaTeX of alignment to
15014 \begin{center} and family for better roundtrip work with reLyX.
15016 * Tune the math drawing a bit.
15018 2001-06-25 The LyX Project <Asger>
15020 * LColor.C (LColor): New color for math background. New color
15023 2001-06-25 The LyX Project <jug@sad.it>
15025 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15027 * lyxfunc.C (Open):
15028 * bufferlist.C (newFile): do not restrict to files ending with
15031 * BufferView_pimpl.C (MenuInsertLyXFile):
15033 2001-06-24 The LyX Project <jug@sad.it>
15035 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15038 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15040 * lyxtext.h: rename most methods to begin with a small char.
15041 Lots of changes because of this.
15043 * paragraph.C (Paragraph): do not call fitToSize
15044 (erase): call Pimpl::erase
15045 (insertChar): call Pimpl::insertChar
15046 (insertInset): call Pipl::insertInset
15047 (breakParagraph): do not call fitToSize
15048 (breakParagraphConservative): do not call fitToSize
15049 (fitToSize): remove method
15051 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15053 2001-06-24 The LyX Project <Asger>
15055 * Fix Qt compilation^2
15057 2001-06-24 The LyX Project <jug@sad.it>
15059 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15060 depthHook(getDepth()-1).
15063 * ParagraphParameters.h:
15064 * ParameterStruct.h: change type of depth to unsigned int ==
15065 depth_type. Many adaptations to other files before of that.
15067 2001-06-24 The LyX Project <Asger>
15069 * Fix Qt compilation.
15071 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * paragraph.h: renamed several methods to begin with small letter.
15074 several changes to many parts of the code because of this.
15076 2001-06-23 The LyX Project <jug@sad.it>
15078 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15079 rewritten to discard all double spaces when KeepEmpty is off
15080 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15081 to only handle newlines but not fiddle with spaces and friends.
15083 * lyxfunc.C (MenuNew): when doing 'new from template', use
15084 template_path as default directory
15086 2001-06-23 The LyX Project <Asger>
15088 * Clean-up of header file includes all over
15089 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15091 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15093 * paragraph.h: renamed from lyxparagraph.h
15095 2001-06-23 Asger <lyx@violet.home.sad.it>
15097 * Buffer.h: Removed Buffer::resize
15098 * BufferList.h: Removed BufferList::resize
15099 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15100 the document lazily when we change the width, or the font settings.
15102 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15104 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15106 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15108 * buffer.h: remove out of date comment
15110 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15113 * screen.C: fix "theoretical" GC leak
15115 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * LaTeX.C (scanAuxFile):
15118 (deplog): remove trailing \r when reading stream (useful under
15121 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15123 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15124 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15125 and BufferView::theLockingInset(Inset*), so should use them and not
15126 access bv_->text->the_locking_inset directly.
15128 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15130 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15133 * tex-defs.h: remove old unused file
15135 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15137 * BufferView_pimpl.C: fix typo, remove minibuffer message
15138 when buffer has loaded
15140 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * lyxfunc.C (Dispatch): use stringstream
15143 (MenuNew): use stringstream
15144 (Open): use stringstream
15146 * importer.C (Import): use stringstream
15148 * bufferview_funcs.C (CurrentState): use stringstream
15150 * LaTeX.C (run): use stringstream
15152 * BufferView_pimpl.C (savePosition): use stringstream
15153 (restorePosition): use stringstream
15154 (MenuInsertLyXFile): use stringstream
15156 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15169 * vspace.C: removed // -*- C++ -*- as first line.
15172 * version.h: added // -*- C++ -*- as first line.
15174 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15176 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15178 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15181 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15183 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15186 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * gettext.C: include LString.h even when --disable-nls is on.
15190 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15192 * converter.h (Get): changed argument type from int to
15193 FormatList::size_type to avoid unnecessary conversion.
15195 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15198 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15200 * gettext.h: include LString.h even when --disable-nls is on.
15202 2001-06-07 Juergen Vigna <jug@sad.it>
15204 * text.C (BreakAgain): subst spaces with tabs.
15206 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15207 (resizeInsetsLyXText): set force on resizeLyXText.
15209 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * gettext.h (gettext_init):
15212 (locale_init): use a real definition instead of a macro
15214 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15216 * Bufferview_pimpl.C:
15218 * LColor.C: further lcolor tidies
15220 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15222 * BufferView_pimpl.C (updateScrollbar): simplify.
15224 * BufferView2.C: don't include insets/insetinfo.h, change
15225 prototype for insertInset and call the Pimpl version. let
15226 updateInset call Pimpl version.
15228 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15229 gotoInset to BufferView::Pimpl
15231 2001-06-01 Juergen Vigna <jug@sad.it>
15233 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15234 inside a LockingInset (is the update needed at all?).
15236 2001-05-31 Juergen Vigna <jug@sad.it>
15238 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15239 here not the old one otherwise how should we compare it afterwards
15242 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * FontInfo.C: bring C functions into global namespace when
15250 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15252 * LString.h: make sure config.h has been loaded before LString.h.
15254 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15255 (one for each char read by EatLine!).
15257 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15260 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15263 to the same as the par we break from
15265 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15267 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15269 * MenuBackend.C (expand): also create menu entries for wide
15270 versions of the floats.
15272 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15274 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15276 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15277 frontends/Makefile.am
15283 * tabular.C (getTokenValue): add std::
15285 * tabular-old.C (getTokenValue): add std::
15286 (getTokenValue): ditto
15287 (getTokenValue): ditto
15289 * screen.C (ToggleSelection): adjust
15291 * lyxtext.h: put selection cursors inside a Selection struct.
15293 * lyxfunc.C (moveCursorUpdate): adjust
15295 * lyxfont.C (latexWriteStartChanges): add std::
15297 * lyxfind.C: adjust
15299 * font.h: delete with(char const *, LyXFont const &)
15301 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15303 * FontInfo.C (getFontname): add std::
15305 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15306 (workAreaButtonPress): adjust
15307 (tripleClick): adjust
15309 (moveCursorUpdate): adjust
15312 * BufferView2.C (gotoInset): adjust
15314 2001-05-30 Juergen Vigna <jug@sad.it>
15316 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15317 to check pspell I add this as default as I now have new pspell
15318 libraries and they seem to use this.
15320 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * text2.C (CutSelection): make the cursor valid before the call to
15325 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15327 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15328 relied on 0 terminated strings and other horrors. Bug found due to
15329 the new assert in lyxstring!
15331 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15334 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15339 * lyxfunc.C (processKeySym): change method of getting to the
15342 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15343 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15344 * BufferView_pimpl.[Ch]: here as private methods.
15346 2001-05-28 Juergen Vigna <jug@sad.it>
15348 * text.C (SetHeightOfRow): added the update() call again as it is
15349 needed to initialize inset dimensions!
15351 2001-05-16 Juergen Vigna <jug@sad.it>
15353 * text2.C (SetCharFont): Add new function with BufferView * and
15354 bool toggleall parameters for setting insets internal fonts.
15355 (SetFont): Freeze the undo as we may change fonts in Insets and
15356 all this change should be inside only one Undo!
15358 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15359 setting font's in insets as for them we have the SetFont function!
15361 2001-05-15 Juergen Vigna <jug@sad.it>
15363 * text2.C (ClearSelection): to be sure we REALLY don't have any
15366 * tabular.C (TeXCellPreamble): fixed the left border problem for
15369 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15371 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15374 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15377 LFUN_BREAKPARAGRAPH.
15379 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15380 help test to "internal only", similar for LFUN_INSERT_URL
15382 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15383 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15384 auto_region_delete and deadkeys.
15386 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15389 * LColor.C: remove some dead entries, tidy a little
15391 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15393 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15395 (Dispatch): implement LFUN_ESCAPE
15397 * commandtags.h: add LFUN_ESCAPE
15399 * LyXAction.C (init): add entry for LFUN_ESCAPE
15401 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15402 Remove commented code.
15403 (insertNote): moved here
15404 (open_new_inset): moved here
15406 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15409 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15411 * kbmap.C (findbinding): clean it up and make it work correctly.
15413 * lyx_main.C (init): do not pass argc and argv as parameters
15415 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15417 * buffer.C: fix path for OS/2 & Win32
15421 * lyx_main.C: Added os:: class.
15423 * os2_defines.h: update
15425 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15427 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15428 better by trying again with reduced state.
15430 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15432 * lyxrc.C (read): print error about invalid key sequence only when
15433 debugging (because not all latinX keysyms are known to some X
15436 * kbsequence.C (getiso): add a few std:: qualifiers
15437 (getiso): comment out extra return statement.
15439 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15441 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15443 (Dispatch): enhance the accent inset a bit. (not perfect)
15445 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15449 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15451 * bufferlist.C (emergencyWrite): fix assert() call
15453 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15455 * text.C (InsertChar): Added trivial patch to only send the "you
15456 can not do multiple spaces this way" message once during a
15459 2001-05-08 Baruch Even <baruch@lyx.org>
15461 * Makefile.am: Changed order of libraries to get LyX to link properly
15462 with the gnome frontend.
15464 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15466 * LaTeXFeatures.h: add a std:: qualifier
15468 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15470 * paragraph.C (String): use stringstream
15472 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15474 * paragraph.C (writeFile): remove footflag arg
15476 * buffer.C (makeLaTeXFile): use stringstream
15477 (latexParagraphs): remove footnot gurba
15479 * LaTeXFeatures.C (getPackages): use stringstream
15480 (getMacros): likewise
15481 (getTClassPreamble): likewise
15482 (getFloatDefinitions): new method
15484 * paragraph.C (writeFile): reindent
15487 * WorkArea.h: revert the xpos + etc changes.
15489 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15491 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15493 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15494 (pasteSelection): likewise
15495 * text2.C (CreateUndo): likewise
15497 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15499 * minibuffer.C (peek_event): temporarily reduce the functionality
15500 of the minibuffer (to allow args on lfuns)
15502 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15503 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15505 * buffer.C (readInset): add compability reading of old float
15506 lists, add reading of new style float list.
15507 (readInset): avoid reevaluation of inscmd.getCmdName()
15508 (getLists): reindent
15510 * MenuBackend.C (MenuItem): implement parsing of
15511 md_floatlistinsert and md_floatinsert.
15512 (expand::LastFiles): move initalizaton of iterators out of loop,
15513 avoid reevaluation.
15514 (expand::Documents): introduce typdedef vector<string> Strings,
15516 (expand::ExportFormats): introduce typedef vector<Format const *>
15517 Formats, and use it.
15518 (expand): implement FloatListInsert and FloatInsert.
15520 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15521 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15522 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15524 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15526 (Dispatch::LFUN_FLOAT_LIST): implement
15528 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15530 * LaTeX.C (run): Fix problem with --export code.
15532 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15534 * BufferView.[Ch] (workarea): removed.
15535 (getClipboard) new method; wrapper for workarea()->getClipboard()
15537 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15540 * WorkArea.h (width, height, xpos, ypos): These methods all
15541 returned the dimensions of the work_area sub-area of WorkArea,
15542 resulting in a position error if the WorkArea were resized. Now
15543 return the dimensions of the entire WorkArea.
15545 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15547 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15549 * LaTeX.C (deplog): correct the syntax of regex reg1
15551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * undo.C: remove !NEW_INSETS cruft
15555 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * text2.C: remove !NEW_INSETS cruft
15559 * text.C: remove !NEW_INSETS cruft
15561 * tabular.C: remove !NEW_INSETS cruft
15563 * spellchecker.C: remove !NEW_INSETS cruft
15565 * lyxtext.h: remove !NEW_INSETS cruft
15567 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15569 * lyxfunc.C: remove !NEW_INSETS cruft
15571 * lyxfind.C: remove !NEW_INSETS cruft
15573 * lyx_cb.C: remove !NEW_INSETS cruft
15575 * figureForm.C: remove !NEW_INSETS cruft
15577 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15579 * buffer.[Ch]: remove !NEW_INSETS cruft
15581 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15583 * CutAndPaste.C: remove !NEW_INSETS cruft
15585 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15587 * BufferView2.C: remove !NEW_INSETS cruft
15589 * BufferView.h: remove !NEW_INSETS cruft
15591 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15593 * Lsstream.h: include LString.h before the sstream headers to
15594 fix problem with gcc 2.95.3 and lyxstring
15596 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15598 * lyx_main.C: add using directives when needed for C functions
15599 declared in std:: namespace.
15601 2001-04-27 Juergen Vigna <jug@sad.it>
15603 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15604 (SetHeightOfRow): comment out the update call should not be needed!
15606 2001-04-13 Juergen Vigna <jug@sad.it>
15608 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15609 (LyXTabular): tried to minimize operator= operations (and realized
15610 hopfully Lars wish).
15612 2001-04-27 Juergen Vigna <jug@sad.it>
15614 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15616 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15620 * buffer.C (readInset): hack to make listof algorithm work
15622 * BufferView_pimpl.C: hack to make listof algorithm work
15624 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15626 * LyXAction.C: removed all !NEW_INSETS cruft
15627 (init): moved lfun_item in method
15629 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15631 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15633 * BufferView2.C (theLockingInset): white space.
15635 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15637 * minibuffer.C: include <iostream>
15639 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15641 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15643 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15645 * text.[Ch] (TransposeChars): new method
15647 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15649 * call message directly through LyXView instead of through LyXFunc
15650 * BufferView2.C: adjust
15651 * BufferView_pimpl.C: adjust
15652 * FontLoader.C: adjust
15654 * bufferview_funcs.C: adjust
15655 * converter.C: adjust
15656 * figureForm.C: adjust
15657 * importer.C: adjust
15659 * lyx_gui_misc.C: adjust
15660 * lyxfunc.C: adjust
15663 + more files in subdirs
15665 * lyxparagraph.h (size): move up int file
15668 * adjust all uses of Assert to lyx::Assert.
15670 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15671 lyxfunctional in namespace lyx
15672 * layout.C (hasLayout): ditto
15675 (delete_layout): ditto
15676 (NumberOfClass): ditto
15677 * converter.C (GetFormat): ditto
15682 * bufferlist.C (getFileNames): ditto
15683 (emergencyWriteAll): ditto
15686 * MenuBackend.C (hasSubmenu): ditto
15689 * BufferView_pimpl.C (getInsetByCode): ditto
15691 2001-04-18 Juergen Vigna <jug@sad.it>
15693 * vspace.C (asLatexString): fixed the 100% problem.
15695 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15697 * lyxfunc.C (Dispatch):
15699 * minibuffer.h: add a few std:: qualifiers
15701 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * minibuffer.[Ch]: reimplement so that commands is initiated and
15704 run from lyxfunc, simplified som handling, and made the completion
15705 and history code for complete. wip.
15707 * lyxfunc.C (processKeySym): call message
15708 (miniDispatch): new temporary method
15709 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15710 (LFUN_MESSAGE): implement
15711 (LFUN_MESSAGE_PUSH): implement
15712 (LFUN_MESSAGE_POP): implement
15713 (initMiniBuffer): the initial/defualt minibuffer message.
15715 * lyxfont.[Ch]: inline some more getters
15717 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15719 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15721 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15722 (AutoSave): use LFUN_MESSAGE
15723 (Reconfigure): ditto
15725 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15727 * figureForm.C: use LFUN_MESSAGE
15729 * converter.C (runLaTeX): use LFUN_MESSAGE
15731 * bufferview_funcs.C: use LFUN_MESSAGE
15733 (changeDepth): ditto
15735 * bufferparams.h: use boost::
15737 * bufferlist.h: inherit privately from noncopyable
15739 * bufferlist.C (loadLyXFile): remove some commented code.
15741 * buffer.C (runChktex): use LFUN_MESSAGE
15743 * ShareContainer.h: inherit privately from noncopyable
15745 * ParagraphParameters.[hC] (depth): inline it.
15747 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15749 (message): new method
15750 (messagePush): ditto
15751 (messagePop): ditto
15752 (show): init minibuffer
15753 (showState): direct call
15755 * LaTeX.[Ch]: inherit privately from noncopyable
15756 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15757 instead of WriteStatus.
15759 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15761 * BufferView_pimpl.C (buffer): don't init minibuffer
15762 (workAreaButtonPress): use LFUN_MESSAGE
15763 (workAreaButtonRelease): ditto
15764 (savePosition): ditto
15765 (restorePosition): ditto
15766 (MenuInsertLyXFile): ditto
15767 (workAreaExpose): don't init minibuffer
15768 (update): remove commented code, simplify
15770 * BufferView2.C (openStuff): use LFUN_MESSAGE
15771 (toggleFloat): ditto
15774 (copyEnvironment): ditto
15775 (pasteEnvironment): ditto
15780 (updateInset): remove some commented code
15782 * lastfiles.h: inherit privately from noncopyable
15785 * lyx_main.h: ditto
15787 * lyxlex_pimpl.h: ditto
15789 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15790 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15791 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15793 * LyXAction.h: inherit privately from noncopyable, add methods
15794 func_begin, func_end, returning iterators to the func map.
15796 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15797 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15798 (func_begin): new method
15799 (func_end): new method
15801 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15803 (copySelection): ditto
15804 (pasteSelection): ditto
15806 * BufferView.C: whitespace change
15807 * BufferView.h: inherit privately from noncopyable
15809 2001-04-16 Allan Rae <rae@lyx.org>
15811 * tabular-old.C (l_getline):
15812 * spellchecker.C (sc_check_word):
15813 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15814 an unrecognised preprocessor directive. So ensure they're wrapped.
15816 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15818 * src/exporter.C (Export): Give an error message when path to file
15821 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15823 * LaTeX.C (deplog): Always check that foundfile exists.
15825 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15828 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15830 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15832 * tabular.[Ch] (getLabelList): implement new method
15834 * minibuffer.h: comment ouf setTiimer
15836 * minibuffer.C (ExecutingCB): constify res
15837 (peek_event): constify s
15838 (Set): constify ntext
15839 (Init): constify nicename
15841 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15843 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15844 (savePosition): use two params to Minibuffer::Set
15845 (restorePosition): ditto
15847 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15849 * lyx_main.C: include language.h
15851 * Makefile.am (lyx_main.o): add language.h
15853 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * CutAndPaste.C: include gettext.h
15861 * lyxfont.h: remove old hack with ON and OFF.
15864 * lyxfont.h: do not include language.h...
15869 * bufferview_funcs.C:
15875 * paragraph.C: ... but do it here instead
15877 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15879 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15881 * tabular.C: small reformat
15883 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15886 (BreakParagraph): ditto
15887 (SetOnlyLayout): ditto
15890 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15893 * lastfiles.C: removed most using decl, add std:: where needed
15895 * buffer.C: ws changes
15897 * MenuBackend.C (class compare_format): put into anon namespace
15898 (expand): constify label, names, action, action2
15901 * text.C (SingleWidth): constify font
15902 (IsBoundary): constify rtl2
15903 (GetVisibleRow): constify ww
15905 * LaTeX.C (deplog): constify logfile
15907 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15909 (workAreaExpose): constify widthChange, heightChange
15911 * lyxrow.C (par): moved
15914 * lyxrow.h: as inlines here
15916 * lyxfont.h (shape): moved from lyxfont.C
15917 (emph): moved from lyxfont.C
15919 * lyxfont.C (LyXFont): use initialization list for all
15921 (shape): move to lyxfont.h as inline
15922 (emph): move to lyxfont.h as inline
15925 2001-04-04 Juergen Vigna <jug@sad.it>
15927 * vspace.C: had to include stdio.h for use of sscanf
15929 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15932 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15933 independent of xforms.
15935 2001-04-02 Juergen Vigna <jug@sad.it>
15937 * spellchecker.C: fixed namespace placing!
15939 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15941 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15942 the LyXParagraph * is 0.
15944 2001-03-29 Juergen Vigna <jug@sad.it>
15946 * vspace.C: added support for %, c%, p%, l%.
15947 (stringFromUnit): added helper function.
15948 (asLatexString): changed to give right results for the %-values.
15950 * buffer.C: convert the widthp in a width%.
15952 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15954 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15957 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15958 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15960 * lyx_cb.[Ch]: see above.
15962 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15966 * lyx.[Ch]: replaced by figure_form.[Ch].
15970 * lyxfunc.C: changed headers associated with above changes.
15972 2001-03-27 Juergen Vigna <jug@sad.it>
15974 * BufferView_pimpl.C: set the temporary cursor right!
15976 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15978 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15980 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15982 * LString.h: removed "using std::getline"!
15984 * BufferView_pimpl.C (Dispatch): changes due to changes in
15985 InsetInclude::Params.
15987 * buffer.C (tag_name): removed redundant break statements as they were
15988 producing lots of warnings with my compiler.
15990 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15992 * LString.h: add "using std::getline" when using the real <string>.
15994 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15996 * buffer.C: removed bitset usage.
15997 PAR_TAG moved to an anonymous name space.
15998 (tag_name): new funtion, also in the anonymous namespace.
15999 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16000 (makeDocBookFile): clean code. Completed transition from string arrays
16002 (SimpleDocBookOnePar): code clean.
16004 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16006 * tabular.C: add some comments.
16008 2001-03-22 Juergen Vigna <jug@sad.it>
16010 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16011 compatibility read a bit and fixed bug with minipage in different
16014 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16016 * buffer.C (pop_tag): removed.
16017 (push_tag): removed.
16018 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16019 array replaced with vector. Added support for CDATA sections.
16020 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16022 (makeDocBookFile): XML conformant declaration of CDATA section,
16023 fixed bug related to <emphasis> in the first paragraph char.
16024 (sgmlOpenTag): exclude empty tags.
16025 (sgmlCloseTag): ditto.
16027 * buffer.h (pop_tag): removed.
16028 (push_tag): removed.
16030 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16032 * language.h (Languages): added size_type and size().
16034 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16036 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16037 response on compability reading of minipages. One probliem is that
16038 the old usage of minipages was «flertydig»
16040 * several files here and in subdirs: don't use static at file
16041 scope use anon namespaces instead.
16043 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16045 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16046 LaTeX output. This is necessary for Literate document
16049 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16051 * buffer.C: insert hfill when needed.
16053 * tabular.C (l_getline): use string::erase, small whitespace change.
16055 * BufferView_pimpl.C: try the anon namespace.
16056 * WorkArea.C: ditto
16058 2001-03-16 Juergen Vigna <jug@sad.it>
16060 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16061 otherwise it won't open options-dialogs.
16063 * buffer.C: honor pextraWidth(p) on converting minipages.
16065 * tabular.C (l_getline): changed the functions to strip trailing \r.
16067 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16069 * BufferView_pimpl.C:
16070 * minibuffer..C: added "using SigC::slot" declaration.
16072 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16074 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16080 * paragraph.C: ditto
16082 * lyxtext.h: NO_PEXTRA
16084 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16086 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16087 * ParameterStruct.h: ditto
16088 * ParagraphParameters.h: ditto
16089 * lyxparagraph.h: ditto
16091 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16093 * buffer.C: add compability for minipage alignment.
16094 (latexParagraphs): remove unwanted pextra check.
16096 * several files: remove CXX_WORKING_NAMESPACES
16098 * buffer.C (pop_tag): tie is in namespace boost
16100 * BufferView.h: noncopyable is in namespace boost
16102 * lyx_main.h: ditto
16105 * lastfiles.h: ditto
16106 * bufferlist.h: ditto
16107 * ShareContainer.h: ditto
16109 * LyXAction.h: ditto
16112 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16114 * Merging changes from BRANCH_MVC back into HEAD.
16116 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16118 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16120 * BufferView_pimpl.C: change from intl.C
16124 * Makefile.am: move combox.*
16130 * intl.C: remove dialog (covered by prefs)
16132 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16134 * lyxfunc.C (Dispatch): removed redundant break statement.
16136 2001-03-14 Juergen Vigna <jug@sad.it>
16138 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16140 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16142 * buffer.C: add hack to fix compability reading of minipages.
16144 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16146 * buffer.C (getLists): Cleanup.
16148 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16150 * lyxfont.C (update): don't honor toggleall on font size.
16152 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16156 * Makefile.am: moved to frontends/xforms/
16160 * BufferView_pimpl.C: changes for moved mathpanel
16162 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16164 * gettext.h: fix gettext_init() in --disable-nls
16166 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16168 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16170 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16173 * lyx.h: strip external form
16175 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16177 * BufferView_pimpl.C: add comment, destroySplash()
16179 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16181 * BufferView_pimpl.C:
16185 * lyxfunc.C: use re-worked insetinclude
16187 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16189 * buffer.C: add using std::stringstream.
16191 * lyx_cb.C: readd using std::ios.
16193 * buffer.C: add using std::map.
16195 * BufferView_pimpl.C: add using std::vector.
16197 * ShareContainer.h: add std:: to swap.
16199 * buffer.h: add some typedefs
16200 * buffer.C (getLists): use them
16201 (getLists): renamed from getTocList.
16202 add a counter for the different float types and use it in the
16204 (getLists): use the same counter for the NEW_INSETS and the "non"
16207 * lyx_cb.h: remove unused items, includes, using etc.
16209 * ShareContainer.h: remove some commented code, add more comments
16210 and "documentation".
16212 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16214 * buffer.C (getTocList): make the list also when NEW_INSETS is
16217 * buffer.h: remove TocType
16219 * buffer.C (getTocList): change to return a map<string,
16220 vector<TocItem> >, implement for dynamic number of list.
16222 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16223 * text2.C (PasteSelection): adjust
16224 * CutAndPaste.C (pasteSelection): adjust
16226 * FloatList.C (FloatList): update from the new_insets branch.
16227 * Floating.[Ch]: ditto
16228 * LaTeXFeatures.C: ditto
16230 * lyxlex_pimpl.C: ditto
16232 * paragraph.C (Last): remove when NEW_INSETS is defined.
16234 * other file: changes because of the above.
16236 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16238 * lyxparagraph.h: rename next to next_, previous to previous_,
16239 make them private for NEW_INSETS. Rename Next() to next(),
16240 Previous() to previous().
16242 * other files: changes because of the above.
16244 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16247 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16250 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * main.C (main): pass lyx_localedir to gettext_init().
16254 * gettext.h: remove locale_init and gettext_init macros
16256 * gettext.C (locale_init): new function
16257 (gettext_init): new function
16259 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16262 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16264 * Moved credits to frontends:
16265 * credits.[Ch]: removed
16266 * credits_form.[Ch]: removed
16267 * lyx_gui_misc.C: remove credits stuff
16270 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16272 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16274 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16275 unneeded destructor.
16277 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16278 a standalone pointer again.
16280 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16282 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16288 * ToolbarDefaults.C:
16297 * BufferView_pimpl.C: use new file dialog in GUII
16300 * lyx_cb.C: remove LayoutsCB to Toolbar
16302 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16304 * ShareContainer.h (get): add std:: qualifier
16306 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16308 * ShareContainer.h: define a proper ShareContainer::value_type
16309 type (and use typename to please compaq cxx)
16311 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16313 * lyxparagraph.h: move serveral local vars to
16314 ParameterStruct/ParagraphParameters., use ShareContainer in
16315 FontTable., make vars in FontTable private and add getter and
16318 * paragraph.C: changes because of the above.
16320 * lyxfont.h: remove copy constructor and copy assignment. (the
16321 default ones is ok), move number inside FontBits. move inlines to
16324 * lyxfont.C: add number to initializaton of statics, move several
16325 inlines here. constify several local vars. some whitespace
16326 cleanup. Dont hide outerscope variables.
16328 * Spacing.h: add two new constructors to match the set methods.
16330 * ShareContainer.h: new file, will perhaps be moved to support
16332 * ParameterStruct.h: new file
16334 * ParagraphParameters.h: new file
16336 * ParagraphParameters.C: new file
16338 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16339 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16341 * BufferView_pimpl.C: ParagraphParameter changes.
16342 * buffer.C: Likewise.
16343 * bufferview_funcs.C: Likewise.
16344 * text.C: Likewise.
16345 * text2.C: Likewise.
16347 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * lyxfind.C (LyXReplace): do not redefine default argument in
16351 (IsStringInText): ditto
16352 (SearchForward): ditto
16353 (SearchBackward): ditto
16355 2001-03-06 Juergen Vigna <jug@sad.it>
16357 * lyxfind.C (IsStringInText): put parentes around expressions.
16359 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16361 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16363 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16365 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16367 * stl_string_fwd.h: add comment
16369 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16372 * tabular.C: remove unused DocBook methods
16378 killed DO_USE_DEFAULT_LANGUAGE
16380 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16382 * lyx_gui.C: do not include language.h.
16384 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16385 arguments in function implementation.
16387 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16389 * BufferView_pimpl.C: add <ctime>
16391 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16393 * BufferView_pimpl.C: add using std::find_if
16395 2001-02-27 José Matos <jamatos@fep.up.pt>
16397 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16400 2001-02-11 José Matos <jamatos@fep.up.pt>
16402 * buffer.C (makeDocBookFile): command styles now have a parameter as
16403 "title" by default.
16405 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16407 * layout_forms.[Ch]: removed
16408 * lyx_cb.[Ch]: out character
16409 * lyx_gui.C: out character
16410 * lyx_gui_misc.C: out character
16411 * bufferview_funcs.C: : out character,
16412 added toggleall as parameter in ToggleAndShow
16414 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16416 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16418 * text2.C (SetCurrentFont): Disable number property at boundary.
16420 2001-02-26 Juergen Vigna <jug@sad.it>
16422 * lyxfunc.C (getStatus): added a string argument override function so
16423 that this is correctly called from LyXFunc::Dispatch if it contains a
16424 do_not_use_argument which is used!
16425 (Dispatch): added check for "custom" export and call appropriate func.
16427 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16429 * lyxrc.C: Add language_command_local, language_use_babel and
16430 language_global_options.
16432 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16434 * buffer.C (makeLaTeXFile): Use language_use_babel and
16435 language_global_options.
16437 2001-02-23 Juergen Vigna <jug@sad.it>
16439 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16440 which works with LyXText and putted it inside BufferView. Here now we
16441 only call for that part the BufferView::Dispatch() function.
16443 * BufferView.C (Dispatch): added.
16445 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16446 functions which needs to use a LyXText over from LyXFunc.
16447 (MenuInsertLyXFile): added
16448 (getInsetByCode): added
16449 (moveCursorUpdate): added
16450 (static TEXT): added
16452 2001-02-22 Juergen Vigna <jug@sad.it>
16454 * BufferView_pimpl.C (update): call a status update to see if LyXText
16457 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16459 * vc-backend.C (revert): implement for CVS
16460 (getLog): implement for CVS
16462 2001-02-20 Juergen Vigna <jug@sad.it>
16464 * text2.C (ClearSelection): added BufferView param for inset_owner call
16466 * lyxfunc.C (TEXT): added this function and use it instead of
16467 directly owner->view()-text of getLyXText().
16469 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16471 * src/layout_forms.C: out preamble
16472 * src/layout_forms.h: out preamble
16473 * src/lyx_cb.C: out preamble
16474 * src/lyx_cb.h: out preamble
16475 * src/lyx_gui.C: out preamble
16476 * src/lyx_gui_misc.C: out preamble
16477 * src/lyxfunc.C: connect with guii preamble
16479 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16481 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16483 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16485 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16486 whether to run bibtex.
16488 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16490 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16492 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16494 * Makefile.am (lyx_SOURCES): removed bibforms.h
16496 * vspace.h: doxygen
16498 * text.C (GetVisibleRow): make several local vars const
16500 * tabular.C: small cleanup.
16502 * lyxserver.C (callback): use compare instead of strncmp
16504 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16505 inlines to after class or to paragraph.C
16507 * lyxfont.h: remove friend operator!=
16509 * converter.h: move friend bool operator< to non friend and after
16512 * combox.h: small cleanup
16514 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16515 to inlines after class def.
16517 * buffer.C (pop_tag): use string operations instead of strcmp
16519 * bmtable.c: doxygen, small cleanup
16521 * LaTeX.h: remove friend operator==
16523 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16535 * BufferView_pimpl.C:
16536 * BufferView.[Ch]: remove cruft
16538 2001-02-14 Juergen Vigna <jug@sad.it>
16540 * lyxfunc.C: removed #if 0 unused code
16542 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16544 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16546 * text2.C (SetSelection): added a BufferView * parameter
16548 2001-02-13 Juergen Vigna <jug@sad.it>
16550 * lyxfunc.C (Dispatch): fixed protected blank problem.
16551 * BufferView2.C (protectedBlank): added LyxText * parameter.
16553 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16554 (AppendColumn): same as above for column_info.
16556 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16557 (moveCursorUpdate): use a LyXText param for support of InsetText.
16559 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16560 (tripleClick): ditto
16562 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16564 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16566 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16568 * text2.C (SetSelection): set correct update status if inset_owner
16569 (ToggleFree): ditto
16571 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16573 * tabular.C: remove some commented code.
16575 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16577 * BufferView_pimpl.C: call hideSplash()
16579 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16582 * bibforms.h: remove
16585 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16586 add LFUN_CHILD_CREATE
16588 * counters.h: fix tiny typo
16593 * lyx.C: move splash to frontends/xforms/
16595 * lyx_gui_misc.C: move Include and Bibform to frontends
16597 * lyxvc.h: clarify comment
16599 * vspace.C: tiny housekeeping
16601 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16603 * text.C (PrepareToPrint): RTL Fix.
16605 * paragraph.C (GetUChar): New method.
16606 (String): Use GetUChar.
16608 * buffer.C (asciiParagraph): Use GetUChar.
16610 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16612 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16614 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16617 * buffer.C: rename to getLogName(), handle
16618 build log / latex log nicely
16620 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16623 * MenuBackend.h: remove support for reference menuitem type.
16625 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16627 * BufferView_pimpl.C: housekeeping
16628 * BufferView_pimpl.h:
16633 * minibuffer.h: move Timeout GUI-I
16635 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16637 * lyxrc.C (read): Update converters data-structures.
16639 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16641 * LaTeX.h (operator!=): add operator != for Aux_Info
16643 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16645 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16647 * LaTeXLog.C: deleted, useful code moved to Buffer
16650 * buffer.C: new function getLatexLogName()
16656 * lyxfunc.C: use frontends for LaTeX and VC logs
16658 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16660 * LaTeX.h: yet another std:: that Allan forgot.
16662 * Variables.C (set): renamed from isset(), because this clashes
16663 with some HP-UX macros (grr).
16665 2001-02-06 Allan Rae <rae@lyx.org>
16667 * LaTeX.h: Another bug fix. Missing std:: this time.
16669 2001-02-04 Allan Rae <rae@lyx.org>
16671 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16672 floats problem. I've left it commented out because it's not quite
16673 correct. It should also test that the current object is a table or
16674 figure inset. But I haven't gotten around to figuring out how to do
16675 that. I *think* it'll be something like: "table" == inset.type()
16677 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16680 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16682 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16683 all the citation/databases/styles in the auxilary file.
16684 (run): Rerun latex if there was a babel language error.
16686 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16688 * text.C (Backspace): Preserve the font when changing newline char
16690 (BreakParagraph): If the cursor is before a space, delete the space.
16692 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16694 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16696 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16697 new argument (code).
16698 (ChangeCitationsIfUnique): New method.
16700 * paragraph.C (GetPositionOfInset): Handle bibkey.
16702 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16704 * BufferView_pimpl.h: change type of Position::par_pos to
16705 LyXParagraph::size_type.
16707 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16709 * BufferView_pimpl.C (savePosition, restorePosition): Write
16710 messages to minibuffer.
16712 2001-01-28 José Matos <jamatos@fep.up.pt>
16714 * buffer.C (makeDocBookFile): adds support for document language.
16715 A silly restriction on the name of LatexCommand types where removed.
16716 Added support for CDATA sections, allows to chars unescaped, used
16717 among others in code, to avoid escape < and >.
16719 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16721 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16722 saved positions instrad of a stack. Furthermore, a position is
16723 stored using paragraph id/paragraph position.
16725 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16726 Remove LFUN_REF_BACK.
16728 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16730 * converter.C (dvipdfm_options): New method.
16732 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16734 * vspace.C (isValidLength): Fix for empty input string.
16736 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16738 * LyXAction.C (init): change description of LFUN_FIGURE to
16741 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16743 * LaTeX.C: add using directive
16745 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16747 * MenuBackend.C (expand): Fix the sorting of the formats.
16749 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16751 * lyx_main.C: tiny error message fix
16753 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16755 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16756 calling fl_initialize(). This fixes the problem with ',' as
16757 decimal separator in text files.
16759 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16761 * trans.C (process): Fix the keymap bug.
16763 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16765 * LaTeX.C (scanAuxFiles): New method. Provides support for
16766 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16767 (scanLogFile) Scan for "run BibTeX" messages.
16769 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16770 OT1 font encoding. Also, load the aecompl package if the ae
16773 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16775 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16777 * texrow.C (increasePos): turn two error messages into debug
16780 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16782 * LaTeX.C (scanAux): Handle the \@input macro.
16783 (runBibTeX): Use scanAux().
16785 * language.C (latex_options_): New field.
16787 * LaTeXFeatures.C (getMacros): Add language macros.
16789 * buffer.C (makeLaTeXFile): Small fix.
16791 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16793 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16795 * text2.C: add a using directive.
16797 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16802 * lyxfunc.C: kill LyXBell.
16804 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16806 * text.C (IsBoundary): Remove the error message
16808 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16810 * lyxrc.C (setDefaults): Correct initialization value for
16813 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16815 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16818 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16819 and GotoNextNote().
16821 * src/LyXAction.C: Added reference-next.
16823 * text.C (InsertChar): Use contains instead of strchr.
16825 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16827 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16829 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16830 alignment commands (when needed).
16832 * text.C (InsertChar): Add ':' to number separator chars.