1 2005-01-12 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (init): set the PATH variable to include the
4 directory containing the LyX binary when running on Mac or Windows.
6 2005-01-12 Angus Leeming <leeming@lyx.org>
8 * lyx_main.C (init): remove cruft that purports to set the locale
9 dir. It doesn't and is not needed anyway.
11 2005-01-10 Angus Leeming <leeming@lyx.org>
13 * Makefile.am: remove the lyx_main.C special casing.
21 * messages.C: use support/package.h to provide the paths to the
22 various directories used by LyX.
24 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
27 layout if pasting into an empty paragraph)
29 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
31 * tex-accent.C: add <string>
33 2005-01-06 José Matos <jamatos@lyx.org>
35 * ParagraphParameters.C (write): put every parameter in its own line.
36 * paragraph.C (write): reduce number of consecutive empty lines exported.
37 * buffer.C (LYX_FORMAT): increase file format to 239.
39 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
41 * everywhere: change support/tostr.h -> support/convert.h
43 * tabular.C: make all write_attributes templates, tostr -> convert
45 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
46 (emptyTag): and -> &&, and fix type for ret from getChar
47 (getFirstWord): fix type for ret from getChar
49 (simpleDocBookOnePar): and not -> && !, fix type for ret from
52 * toc.C (goTo, action):
54 * text.C (currentState):
55 * tex-accent.C (DoAccent):
58 * lyxfunc.C (menuNew):
59 * lyxfinc.C (replace):
60 * counters.C (laberItem):
61 * bufferview_funcs.C (font2string):
62 * bufferparams.C (writeFile):
63 * buffer.C (readFile):
65 * MenuBackend.C: tostr -> convert
67 * LaTeX.C (runMessage): fix format
68 (scanAuxFiles): tostr -> convert
70 * BufferView_pimpl.C (savePosition): fix format
71 (restorePosition): ditto
74 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
76 * Spacing.[Ch]: New method getValueAsString().
80 * ParagraphParameters.C:
83 * text3.C: store/read spacing value as string.
85 * rowpainter.C: change float value (spacing_val) to double.
87 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
88 broken custom document spacing).
90 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
92 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
93 namespace, also more use of temp references and const
95 * cursor.[Ch] (getStatus): move to lyxfunc.C
97 * bufferparams.C: reformat slightly
99 * bufferview_funcs.C (font2string): constify arg
105 * buffer_funcs.C: (many funcs): constify arg on function
106 definitions, also make more local vars const, also add ASSERTS on
109 * buffer.C (LYX_FORMAT): put const in correct place
110 (many funcs): constify arg on function definitions, also make
111 more local vars const
113 * aspell_local.h: remove "struct" from typdef setup
115 * aspell.C (check): make word_ok const
116 (nextMiss): simplify slightly
119 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * lyxrc.[Ch]: store all float values as strings.
122 use int (not float) for lyxrc.dpi.
124 2005-01-04 Angus Leeming <leeming@lyx.org>
126 * lyx_cb.C (Reconfigure):
127 * lyx_main.C (queryUserLyXDir):
128 to run the <system_lyxdir>/configure correctly on Windows, prefix
129 the path to the script with "sh " when generating the string that
130 is passed to system().
132 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
136 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * lyxlength.C (asLatexString): get rid of setprecision
140 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
142 * text2.C (setLayout): remove unused variable endpit.
143 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
145 * paragraph.C (onlyText): remove unused variable style.
147 * cursor.C (bruteFind): remove unused variables beg and end.
149 * Makefile.am (dist_noinset_DATA): not needed anymore
151 * cheaders/*: remove.
153 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * text3.C: fix LFUN_MATH_MODE.
157 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * buffer_funcs.C (countWords): new function. Counts words between
162 * BufferView_pimpl.C (getStatus, dispatch): handle
165 * LyXAction.C (init):
166 * lfuns.h: add LFUN_WORDS_COUNT.
168 2004-12-19 Angus Leeming <leeming@lyx.org>
170 * buffer.C (save): s/slashify_path/internal_path/.
172 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
174 * lyxfind.C (findChange): do not search for end of pars, because
175 the change tracker cannot handle this (fixes bug 1719).
177 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
179 * paragraph.[Ch] (autoBreakRows): remove
181 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
183 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
184 avoid using the paragraph one
186 * text2.C (LyXText, insertStringAsLines): adjust
188 2004-12-16 Angus Leeming <leeming@lyx.org>
192 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
194 2004-12-14 Angus Leeming <leeming@lyx.org>
196 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
198 * bufferlist.C (emergencyWrite):
199 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
202 2004-12-14 Angus Leeming <leeming@lyx.org>
204 * main.C: (main): no longer pass pointers to os::init.
206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
208 * undo.C (textUndoOrRedo): simplify logic, fix a crash
209 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
211 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
214 * text3.C: remove selection_possible global flag
216 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
218 * text2.C (getSelectionSpan): remove
219 (changeDepth, changeDepthAllowed): adjust
221 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
223 * Makefile.am (BOOST_LIBS): use boost variables
225 2004-12-03 José Matos <jamatos@lyx.org>
227 * buffer.C: format up to 238.
229 2004-12-03 José Matos <jamatos@lyx.org>
231 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
233 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
235 * cursor.C (goUpDown): remove call to idxUpDown2
237 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
239 * tabular.[Ch]: use size_t-like types for cell, row and column
242 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * lyxfunc.C (getStatus): do not lose previous information when
245 calling BufferView::getStatus; do not set a default "Command
246 disabled" message at the beginning, but just before returning.
248 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * cursor.h (getStatus): add better comment from src/cursor.C
252 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
254 * text3.C (getStatus): return false when the lfun is not handled
256 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * broken_headers.h: remove
260 * Makefile.am (lyx_SOURCES): remove broken_headers.h
262 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
264 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
267 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
268 top_y_, merge fitcursor with update
269 (updateScrollbar, scrollDocView, fitCursor, center, update): new
272 (workAreaDispatch): adapt to new coord scheme
273 (redoCurrentBuffer): remove
275 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
277 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
280 * coordcache.[Ch]: add paragraph cache and helpers
282 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
285 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
286 (targetX, setTargetX): introduce
288 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
289 baseline -> ascent, as the rest of lyx
291 * lyxtext.h: remove redoParagraphs, updateParPositions,
292 fullRebreak, redoParagraphInternal. move dist to anon namespace in
293 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
294 have ascent/descent (ascent is ascent of first par)
296 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
299 * paragraph.[Ch]: unify dimension handling with the rest of lyx
301 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
303 * pariterator.C: fix infinite loop introduced in par->pit renaming
305 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
306 in insets and LyXText, draw two off-screen paragraphs using
307 NullPainter, and adapt to new coord scheme
311 * text3.C: adapt lfun handlers to the new coord scheme, which
312 means: there's only guaranteed coord information for onscreen pars
313 plus one above and one below. This implies that one can do search
314 from y coordinates in the range [-1,workHeight]
316 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
318 * rename a lot of InsetOld to InsetBase
320 2004-11-25 Angus Leeming <leeming@lyx.org>
322 * BufferView_pimpl.C:
324 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
326 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
329 call BufferView::getStatus if LCursor::getStatus did nothing
330 (setStatusMessage, getStatusMessage): removed.
332 * FuncStatus.C (message): new methods. Used to provide an error
333 message indicating why a command is disabled.
334 (clear, |=, FuncStatus): update for message.
336 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
338 * lyxfunc.C (dispatch): always call sendDispatchMessage
340 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
343 * BufferView_pimpl.C:
357 * undo.C: par->pit renaming
359 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
361 * tabular.C (cellstruct): use initialization, store a shared_ptr
362 to insettext instead of the insettext directly, adjust to fit.
363 (operator=): new function
365 (rowstruct): use initialization
366 (columnstruct): use initialization
367 (ltType): use initialization
370 * lyxlength.h (swap): new function
372 * LColor.[Ch] (operator=): use the common semantics
374 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * lyxfind.C (findNextChange): update the bufferview after setting
379 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
381 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
382 number of InsetOptArgs has already been inserted.
384 * output_latex.C (latexOptArgInsets): new method. This outputs all
385 the optarg insets, up to the limit defined in the layout file.
386 (optArgInset): removed
387 (TeXOnePar): call latexOptArgInsets; correctly update texrow
389 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
391 * paragraph.C (isLetter): remove special spellchecker-related
392 code; return true also for digits
393 (isWord, isKomma): remove
395 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
396 * lyxfind.C (MatchString()): use isLetter instead of isWord
398 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
400 * pariterator.h (operatir=): comment out un-implemented member
403 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
406 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
408 * lyxfont.h: include LColor.h to satisfy concept checks.
410 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
412 * pariterator.h: add typdefs for value_type, difference_type,
413 pointer and reference to satisfy concept checks. Also add default
414 constructor for same reason.
416 * pariterator.C (operator++): add post-increment operator to
417 satisfy concept checks.
419 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
422 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
424 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
425 checks. Also rename base_type to BaseType to follow naming
428 * FloatList.h: include Floating.h to satisfy concept checks.
430 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
432 * lyxfunc.C (getStatus): when the origin of the request is menu or
433 toolbar, and the LyXView does not have focus, do as if there was
436 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
437 FuncRequest to individual entries of LFUN_SEQUENCE
439 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * output_latex.C (TeXOnePar): override runparams.moving_arg
442 according to the needprotect value of the current paragraph (bug
445 * paragraph.C (simpleTeXOnePar): no need to override
446 runparams.moving_args here
448 2004-11-14 John Spray <spray_john@users.sourceforge.net>
450 * vspace.C: fix off-by-one-error, related to fix #1682
452 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
454 * lengthcommon.C: a more general fix for bug 1682
456 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
458 * text.C (backspace): fix crash
460 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
462 * format.[Ch] (getFormatFromFile): new method
463 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
465 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
467 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
469 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxfunc.C (dispatch): remove the verbose argument
472 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
475 * kbmap.C (defkey): set the origin of func to KEYBOARD
477 * MenuBackend.C (MenuItem):
478 * ToolbarBackend.C (add): set the origin of func to UI
480 * funcrequest.[Ch]: add origin member, which indicates which part
481 of LyX requests an action
483 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
485 * converter.C (move): don't lie in the error message
486 * converter.h (isReachable, move): document
488 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
490 * buffer.C: remove unused using lyx::support::atoi
491 * paragraph_funcs.C: ditto
493 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
495 * bufferlist.C (exists): use bind and equal_to instead of
498 * lyxtextclasslist.C (NumberOfClass): ditto
500 * cursor.C (insert): use for_each instead of explicit for loop
502 * bufferlist.C (getFileNames): use std::transform and
503 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
505 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
508 * buffer.C (changeLanguage): use for_each instead of explicit for
510 (hasParWithID): implement using getParFromID
512 * LaTeXFeatures.C: ws change only
514 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
517 * BufferView_pimpl.C (trackChanges): use for_each instead of
520 2004-11-04 André Pönitz <poenitz@gmx.net>
523 * undo.C (textUndoOrRedo): fix crash when creating undo information.
525 * dociterator.C (asDocIterator): use hard assert again.
527 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
529 * lyxlength.C (asLatexString): rewrite so that it does not use
532 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * text3.C (specialChar, dispatch): make sure cursor moves to the
535 right after inserting an inset
537 2004-11-02 José Matos <jamatos@lyx.org>
539 * output_docbook.C (docbook):
540 * paragraph.C (getID):
541 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
542 garantee that the output is always legal.
544 * tabular.C (docbook):
545 * outputprams.[Ch]: remove mixed contents.
547 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
549 * text2.C (setCounter): prevent endless loop
551 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
553 * exporter.C (copyFile): use the mover instead of support::copy()
554 * exporter.C (Export): pass format and latex name to copyFile()
555 * exporter.h (addExternalFile): document
556 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
558 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
560 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
562 2004-10-30 José Matos <jamatos@lyx.org>
564 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
565 text and no inset or font change. This allows to use CDATA
566 sections just for the whole paragraph.
568 2004-10-30 José Matos <jamatos@lyx.org>
570 * paragraph.C (getFirstWord): remove unused variable.
572 2004-10-30 José Matos <jamatos@lyx.org>
574 * paragraph.C (getFirstWord): the content should always be escaped
576 (simpleDocBookOnePar):
577 * output_docbook.C (makeEnvironment): replace reference to CDATA
580 2004-10-30 José Matos <jamatos@lyx.org>
582 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
584 2004-10-30 José Matos <jamatos@lyx.org>
586 * output_docbook.C (makeParagraphs):
587 * paragraph.[Ch] (emptyTag): for docbook and company, if the
588 standard paragraph has only a given type of content drop the wrapper.
590 2004-10-29 José Matos <jamatos@lyx.org>
592 * output_docbook.C (makeEnvironment):
594 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
596 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
598 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
599 (cleanID): sanitize any id.
601 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * buffer.C, lyxlex_pimpl.C:
604 * lyxlex_pimpl.C (setFile):
605 s/getExtFromContents/getFormatFromContents/
607 2004-10-28 José Matos <jamatos@lyx.org>
609 * output_docbook.C (makeEnvironment): move id to broadest possible
612 * sgml.C (openTag): apply substitution of <> for all attributes.
614 2004-10-28 José Matos <jamatos@lyx.org>
616 * buffer.C (makeLinuxDocFile, makeDocBookFile):
617 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
618 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
620 * sgml.[Ch]: new version for open and closeTag for paragraph and
621 for strings. Now they handle the ids of paragraphs.
623 2004-10-26 Angus Leeming <leeming@lyx.org>
625 * Makefile.am: add mover.[Ch].
627 * converter.C (convert, move): use the new Movers to move external
628 files to the temp directory.
630 * lyx_main.C (init): ensure that the global system_movers data
633 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
636 * mover.[Ch]: new files, defining a Mover as a utility to move an
637 external file between directories and, if necessary, manipulate this
638 file using a helper script.
640 2004-10-25 José Matos <jamatos@lyx.org>
642 * output_docbook.C (makeCommand): merge two if's that tested the
645 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
647 * sgml.C (escapeString): fix warning in a better way
649 2004-10-25 José Matos <jamatos@lyx.org>
651 * sgml.C (escapeString): import the require boosts header file for
652 tie, and avoid a signed unsigned comparison.
654 2004-10-25 José Matos <jamatos@lyx.org>
656 * sgml.h: add #include <string>
658 2004-10-25 José Matos <jamatos@lyx.org>
660 * sgml.[Ch] (escapeString): new function to escape all the string.
662 2004-10-24 José Matos <jamatos@lyx.org>
664 * paragraph.[Ch] (getFirstWord): new function to get the first
665 word. Useful for description.
666 (simpleDocBookOnePar): remove depth argument, add another that
667 says where to start the paragraph.
669 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
670 use the new functions to fix cleanly the support for descriptions.
672 2004-10-24 José Matos <jamatos@lyx.org>
674 * buffer.C (makeLinuxDocFile, makeDocBookFile):
675 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
676 * output_linuxdoc.C (linuxdocParagraphs):
677 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
678 add buffer as argument.
680 2004-10-24 José Matos <jamatos@lyx.org>
682 * output_docbook.C (makeEnvironment, searchEnvironment): place
683 CDATA inside paragraphs and fix scope for listitems.
685 2004-10-24 José Matos <jamatos@lyx.org>
687 * output_docbook.C: remove using statement for stack.
689 2004-10-23 José Matos <jamatos@lyx.org>
691 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
692 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
693 docbook. The new scheme is recursive and makes use of iterators, the
694 same as latex export works.
695 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
696 directly with the paragraph contents. This code was moved up to
697 output_docbook.C (docbookParagraphs).
698 * sgml.C (openTag, closeTag): removed unneeded newlines.
699 (closeEnvTags) removed.
701 2004-10-23 André Pönitz <poenitz@gmx.net>
703 * undo.C (textUndoOrRedo):
704 * dociterator.C (asDocIterator): work around crash
706 * cursor.C (getStatus): replace ASSERT by more verbose error message
707 and manual correction of the problem. Should increase stability
708 while providing more sensible information.
710 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
712 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
714 * bufferlist.C (previous, next): new methods
717 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
719 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
721 * buffer.C (makeDocBookFile): add dsssl stylesheet control
722 entities to preamble.
724 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
726 * messages.C (Pimpl): strip off translation context information
728 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
730 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
731 the cursor is correct (bug 1694)
733 2004-10-13 José Matos <jamatos@lyx.org>
735 * output_docbook.C (docbookParagraphs): fix closing tags in the
738 2004-10-09 José Matos <jamatos@lyx.org>
740 * buffer.C: format up to 237.
741 * bufferparams.C (write): use tostr to convert booleans to strings.
743 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
745 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
747 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
749 * LaTeX.C: implement use of babel language in xindy.
751 2004-10-05 José Matos <jamatos@lyx.org>
753 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
754 Add new translators to help reading and writing the lyx file.
756 2004-10-05 José Matos <jamatos@lyx.org>
758 * ParagraphParameters.C (read):
759 * text.C (readParToken): replace nexToken by more appropriate lex
762 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
764 * LaTeX.C (runMakeIndex):
765 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
766 (usually 'makeindex') configurable.
768 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
769 with a variable rather than with a number.
771 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * output_latex.C (TeXOnePar): make sure font setting is the first
774 thing that gets output (and the last at the end). Should fix bug
777 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
779 * pch.h: use proper signal include
781 * LaTeX.h: Use preferred calling of Boost.Signal
784 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
786 * pch.h: dont include <boost/function/function0.hpp>
788 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
790 * paragraph_pimpl.h: remove usage of ShareContainer
792 * paragraph_pimpl.C: remove initialization of ShareContainer.
794 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * BufferView.C (putSelectionAt): change the semantics when
799 backwards == true: now, this just swaps cursor and anchor wrt the
802 * BufferView.h (putSelectionAt): add some documentation
804 * lyxfind.C (findBackwards): rewrite using while(). In particular,
805 make sure backwardChar is done at least once (to avoid getting
807 (findNextChange): use putSelectionAt in the forward direction
808 (operator()): use Paragraph::isWord
810 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
812 * Spacing.C (set): c_str fix
814 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
816 * lyx_cb.C (Reconfigure): quote the name of configure script in
817 case it contains spaces
819 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
823 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
824 (BOOST_LIBS): use top_buildir when looking for the file
826 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
828 * pch.h: do not use include boost/format.hpp, multiple symbols
829 will result (gcc bug)
832 2004-08-23 José Matos <jamatos@lyx.org>
834 * bufferparams.C (readToken): fix reading of the author field.
836 2004-08-20 José Matos <jamatos@lyx.org>
838 * lyxrc.C: remove support/translator.h inclusion since it is not used.
840 2004-08-20 José Matos <jamatos@lyx.org>
842 * lyxlex.[Ch] (findToken): remove function.
844 * ParagraphParameters.C (findToken):
845 * bufferparams.C (findToken): replace call for previous function
846 with local copy. This local function has one more argument, the
847 read string argument.
849 2004-08-16 José Matos <jamatos@lyx.org>
851 * ParagraphParameters.C (write):
852 * Spacing.C (writeFile):
853 * bufferparams.C (writeLaTeX):
854 * lyx_cb.C (Reconfigure):
855 * paragraph.C (write):
856 * tabular.C (write): remove unnecessary space at end of line.
859 2004-08-16 José Matos <jamatos@lyx.org>
861 * text.C (readParagraph): remove debug message.
863 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
868 * output_plaintext.C (asciiParagraph): set depth correctly
870 * outputparams.h: add member depth
872 * paragraph_funcs.C (ownerPar): remove.
874 * text2.C (setCounter): remove first_pit; comment out some
875 non-working code that uses ownerPar
877 * BufferView.C (getParentLanguage): remove. Not used anymore, and
880 2004-08-16 José Matos <jamatos@lyx.org>
882 * text.C (readParToken, readParagraph, read): report all unknown tokens.
883 For the same level of importance use the same chanel to report problems.
884 (read): add code to deal with \begin_body and \end_body.
887 2004-08-15 José Matos <jamatos@lyx.org>
889 * lyxlex.C (getString): fix comment, buffer::readBody is now
892 * tex-strings.C (string_papersize): Default -> default,
893 Custom -> custom, for consistency with other options.
895 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
899 * Makefile.am: support pch
901 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * text.C (readParToken): remove the static LyXFont variable and
904 pass it as a parameter instead. This fixes a nasty bug where an
905 inset will be inserted with a bad font in some situations
906 (readParagraph): adapt
908 * text2.C (setCounter): reduce number of calls to pars_[pit]
910 * text.C (singleWidth): add an assert, fix a test
912 * rowpainter.C (paintText): reduce number of calls to singleWidth
914 * paragraph.C (isHfill):
917 2004-08-14 André Pönitz <poenitz@gmx.net>
922 * lyxtext.h (several functions): use a Paragraph & argument
925 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * metricsinfo.h: add a new field ltr_pos to PainterInfo
929 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
931 * text.C (singleWidth): remove useless test
933 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * tabular.h: remove bogus comments
937 * tabular.C (getDescentOfRow):
938 (isPartOfMultiColumn): add assertions
940 * lyxlength.C (inPixels): remove #warning
942 2004-08-14 André Pönitz <poenitz@gmx.net>
944 * paragraph.h: inline getChar()
946 * BufferView.h: remove unused declarations
948 2004-08-14 José Matos <jamatos@lyx.org>
950 * Buffer.[Ch] (readDocument): new name for old readBody.
951 * Buffer.C: new file format, new keywords: \begin_document,
952 \begin_header, \begin_body, \end_body.
954 * bufferparams.C (readToken): replace all calls to lex.nextToken
955 by lex.next(). Do the same to eatLine except where really needed.
957 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
958 line when writing to the lyx file.
960 * output_plaintext.C (asciiParagraph): fix Bibliography style
963 * text.C (read): fix end of file handling.
965 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * MenuBackend.C (Menu::operator[]): new method to access
968 individual menu items
969 (Menu::hasFunc): new method. search for an item that corresponds
971 (MenuBackend::specialMenu): new method
972 (MenuBackend::expand): if a special menu has been set, skip
973 entries whose func() appears in this menu
975 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
977 * text3.C: use Debug::DEBUG a bit more
979 * text.C (leftMargin): try to simplify a tiny bit change var x to
980 l_margin. Dont output the wide margins always.
981 (rightMargin): no margin in inner texts
983 * rowpainter.h (nestMargin): new func
984 (changebarMargin): new func
985 (rightMargin): new func
987 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
991 * factory.C (createInset): modify setDrawFrame
993 * cursor.C: use Debug::DEBUG a bit more
995 2004-08-14 André Pönitz <poenitz@gmx.net>
998 * Makefile.am: new files to accomodate an 'external' (x,y)-position
999 cache for all insets in (at least partially) visible (top-level)
1002 * BufferView_pimpl.C: reset external coord cache before every update.
1003 This means the coord cache only contains valid entries.
1005 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1008 * BufferView_pimpl.C (getInsetByCode): move function out of class
1009 and change in to a template in anon namespace. Also fix to do what
1012 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1015 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1017 (breakParagraph): rename par to par_offset and use a local
1018 reference. Add code to keep the language over a rebreak.
1019 (breakParagraphConservative): rename par to par_offset, use a
1021 (mergeParagraph): ditto
1023 (isFirstInSequence): ditto
1024 (outerFont): rename pit to par_offset
1026 * paragraph.C: ws change
1027 * paragraph.h: ditto
1031 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1033 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1036 * paragraph.C (simpleTeXOnePar): when we have a \item with
1037 optional argument, enclose the argument with curly brackets (in
1038 case it contains a closing square bracket)
1042 * text3.C (checkInsetHit): constify
1044 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1046 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1047 documents (bug 1629)
1049 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 Fix toggling of collapsable insets with the mouse (bug 1558)
1053 * lyxfunc.C (dispatch): adapt to LCursor changes
1055 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1056 make sure that dispatch is not invoked twice
1058 * cursor.C (needsUpdate): new method
1059 (dispatch): return void
1060 (result): new method, to access the DispatchResult of the cursor.
1062 2004-08-13 José Matos <jamatos@lyx.org>
1064 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1066 2004-08-13 André Pönitz <poenitz@gmx.net>
1068 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1070 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1073 2004-08-12 André Pönitz <poenitz@gmx.net>
1075 * text3.C: take out the 'cursor right' form insertInset and only
1076 do it in those places when it is really needed. Fixes crash on
1079 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1081 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1083 * BufferView_pimpl.C (setBuffer): initialize the current font of
1084 the underlying LyXText
1086 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1088 * kbsequence.C (print): use UI native formatting for menu
1091 * text.C (insertChar): call Paragraph::insertChar with a font
1094 * paragraph.C (insertInset, insertChar): the version that takes a
1095 LyXFont argument is now a wrapper around the other one (the
1096 opposite used to be true).
1098 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1099 argument. Font setting is done in Paragraph now.
1101 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1103 * outputparams.h: add new members intitle and lang.
1105 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1106 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1108 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1110 * text3.C (dispatch): remove special handling of button 4 and 5,
1111 it is now taken care of in the frontend code.
1113 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1115 * Spacing.h: add <string> (STLPort compile fix)
1117 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1119 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1121 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1123 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1126 * converter.C (showMessage): inherit from unary_function, make
1129 * buffer.C (writeFile): initialize retval
1131 * InsetList.h: rename private variable list to list_
1132 * InsetList.[Ch]: adjust accordingly.
1134 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1136 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1137 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1138 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1139 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1140 * ParagraphParameters.C, LaTeXFeatures.C: replace
1141 "support/std_sstream.h" with <sstream>
1143 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1145 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1146 * lyxsocket.C (LyXServerSocket): ditto
1147 (serverCallback): ditto
1149 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1151 * LaTeXFeatures.C: check release date when loading jurabib.
1153 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1155 * lyxserver.C (startPipe): call register_socket_callback
1156 (endPipe): call unregister_socket_callback
1158 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1161 (LyXServerSocket): register the callback
1162 (LyXServerSocket): unregister the callback
1163 (fd): delete function
1164 (serverCallback): improve error checking and setup the callbacks.
1165 (dataCallback): change arg to fd.
1166 (writeln): new func (copied fro the client socket) used for server
1168 (LyXDataSocket): simplify
1169 (~LyXDataSocket): close ann unregiser callback
1170 (server): delete function
1171 (fd): delete function
1172 (readln): small changes, improve some std::string usage
1173 (writeln): constify a bit
1175 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1180 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1182 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1183 after it has been populated
1185 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1187 * text2.C (insertInset): move cursor when inserting inset.
1189 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1191 * kbmap.C (findbindings): a couple of new methods. returns a
1192 container of kb_sequence objects. The real work is done by the
1193 private recursive version
1194 (printbindings): uses findbindings to print out a bracketed list
1195 of bindings (renamed from findbinding).
1197 * MenuBackend.C (binding): use kb_keymap::findbindings
1199 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1201 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1203 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1205 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * paragraph.C (isWord): return true on insets that report
1210 * text.C (getWord): use Paragraph::isWord to decide what is in a
1211 word and what is not; fix bug 1609.
1213 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1215 * tex-strings.C: add "none" to string_paperpackages[], fixes
1216 off-by-one-error in the paperpackage selection.
1219 * tex-strings.[Ch]: char const * string[n]
1220 -> char const * const string[]
1222 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1224 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1225 command, return early.
1227 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1229 * debug.h: add DEBUG to enum and fix size of ANY.
1231 * debug.C: add support for Debug::DEBUG
1232 (showTags): cast errorTags.level to unsigned int
1234 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1235 (redoCurrentBuffer): ditto
1236 (updateScrollbar): ditto
1237 * cursor.C (dispatch): ditto
1238 * text2.C (setLayout): ditto
1240 (updateCounters): ditto
1242 (deleteEmptyParagraphMechanism): ditto
1244 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1246 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1247 annotations to cleanup the Makefile slightly.
1249 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1251 * lyxrc.C: do not set user_email to a default value but use empty
1252 instead. The entry used to be translated, which does not work
1253 since at the point where lyxrc is constructed there is no
1254 translation service available
1256 * messages.C (getLocaleDir): remove and use directly
1257 lyx_localedir() instead
1259 2004-06-02 Angus Leeming <leeming@lyx.org>
1261 Fix crash caused by dereferencing null pointer 'exportdata' in
1262 OutputParams by creating a new ExportData variable on the heap,
1263 storing it in a boost::shared_ptr.
1264 The crash was triggered when generating an Instant Preview
1265 of an external inset.
1267 * Makefile.am: add outputparams.C
1269 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1270 (c-tor): allocate memory to it.
1272 * exporter.C (c-tor): associated changes.
1274 2004-06-01 Angus Leeming <leeming@lyx.org>
1276 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1277 contains data before calling isInset(0). (Bug 1513.)
1279 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1281 * exporter.C (checkOverwrite): new method
1282 * exporter.C (copyFile): new method
1283 * exporter.C (Export): copy referenced files to the document dir
1284 * exporter.[Ch]: new class ExportedFile
1285 * exporter.[Ch]: new class ExportData. Contains currently the
1286 names of referenced external files
1287 * outputparams.h: add exportdata member.
1289 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1291 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1294 2004-05-19 Angus Leeming <leeming@lyx.org>
1299 * lyxfunc.C: small changes due to the introduction of namespace
1300 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1302 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1304 * text3.C (dispatch): supress update when only moving the cursor
1305 * cursor.C (selHandle): remove commented code
1307 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1309 * paragraph.C (startTeXParParams): correct column count
1310 * CutAndPaste.C (pasteSelection): remove const_cast
1311 * output_docbook.C (docbookParagraphs): remove const_cast
1312 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1313 const_cast and return ParagraphList::const_iterator
1314 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1315 * output_plaintext.C (writeFileAscii): remove const_cast
1316 * paragraph.[Ch] (simpleTeXOnePar): make const
1317 * paragraph_funcs.C (outerPar): use const iterators
1318 * paragraph_pimpl.C (validate): use const iterators
1319 * text.C (setHeightOfRow): use const iterators
1321 2004-05-17 Angus Leeming <leeming@lyx.org>
1324 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1326 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1327 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1328 if the citation engine has changed.
1330 2004-05-14 José Matos <jamatos@lyx.org>
1332 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1333 if the textclass does not provide it. Have it different for sgml and
1335 support the language of document.
1336 * output_docbook.C (docbookParagraphs):
1337 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1338 first anchor as the id of the paragraph, remove special case code.
1339 * sgml.C (escapeChar): escape only < & >.
1341 2004-05-14 Angus Leeming <leeming@lyx.org>
1343 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1344 dependencies on src/frontends/controllers/biblio.h. Define a
1345 CiteEngine_enum wrapper class to enable the enum to be forward
1348 2004-05-12 Angus Leeming <leeming@lyx.org>
1350 * buffer.C: up LYX_FORMAT to 234.
1351 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1352 use_numerical_citations with a single biblio::CiteEngine cite_engine
1354 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1356 2004-05-13 José Matos <jamatos@lyx.org>
1359 * converter.C (Converter, readFlags): add xml member.
1360 * outputparams.h: add XML flavor.
1361 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1363 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1365 * lyxfunc.C (dispatch):
1366 (getStatus): fix handling of LFUN_SEQUENCE
1368 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * debug.C (showLevel): do not forget the end-of-line marker
1372 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * kbmap.C (read): do not stop parsing a bind file when an error
1377 2004-04-29 Angus Leeming <leeming@lyx.org>
1382 * text2.C: wrap a bunch of #warning statements
1383 inside #ifdef WITH_WARNINGS blocks.
1385 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * buffer.C: increment format to 233.
1389 2004-04-28 Angus Leeming <leeming@lyx.org>
1391 * BufferView_pimpl.C:
1394 s/updateToolbar()/updateToolbars()/
1395 s/Toolbar.h/Toolbars.h/
1397 2004-04-28 Angus Leeming <leeming@lyx.org>
1399 * BufferView.[Ch] (c-tor):
1400 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1401 No longer passes these data to the WorkArea generator.
1403 2004-04-28 Angus Leeming <leeming@lyx.org>
1405 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1407 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1409 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1411 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1413 * output_latex.C (TeXEnvironment): make sure that there is a line
1414 break before \end{foo} for the last paragraph of a document
1415 (TeXOnePar): if the paragraph is at the end of the document (or
1416 inset) and the language has to be reset, then make sure that the
1417 line break is _before_ the language command, not after (fixes bug
1418 1225); also make sure that the language reset command is the first
1419 thing after the paragraph (to ensure proper nesting of
1420 environments and thus fix bug 1404)
1422 2004-04-21 John Levon <levon@movementarian.org>
1425 * ToolbarBackend.C: make "name" be a programmatic name
1426 and a gui_name field.
1428 * lyxfunc.C: display the minibuffer on M-x
1430 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1432 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1435 2004-04-19 Angus Leeming <leeming@lyx.org>
1437 * BufferView_pimpl.C (setBuffer): changed preview interface.
1439 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1442 2004-04-19 John Levon <levon@movementarian.org>
1444 * BufferView_pimpl.C:
1445 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1447 2004-04-05 Angus Leeming <leeming@lyx.org>
1449 * text.C (redoParagraphs): add call to updateCounters(), thereby
1450 fixing the missing "Figure #:" label from the caption of a
1453 2004-04-13 Angus Leeming <leeming@lyx.org>
1455 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1456 cursor is clicked out of an inset.
1458 2004-04-13 Angus Leeming <leeming@lyx.org>
1460 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1461 than an InsetOld one.
1463 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1465 * format.[Ch]: add editor to Format
1466 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1467 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1469 2004-04-08 André Pönitz <poenitz@gmx.net>
1471 * metricsinfo.h: remove PainterInfo::width member
1473 2004-04-08 Angus Leeming <leeming@lyx.org>
1475 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1476 "\providecommand" rather than "\newcommand", thereby preventing
1477 clashes with packages that define "\boldsymbol" themselves.
1480 2004-04-08 Angus Leeming <leeming@lyx.org>
1482 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1483 thereby squashing an unnecessary warning.
1485 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1487 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1490 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1492 * BufferView.C (setCursor): call redoParagraph (some insets could
1494 (putSelectionAt): remove the 'double update' trick
1496 * BufferView_pimpl.C (fitCursor): call refreshPar
1497 (workAreaDispatch): remove an uneeded update call
1498 (dispatch): remove some manual update calls
1500 * cursor.[Ch]: remove cached_y_, updatePos
1501 (selHandle): set noUpdate when appropriate
1503 * lyxfunc.C (dispatch): track if we need an update
1505 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1507 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1508 (paintSelection): cheap optimization, do not call cursorX when not
1510 (paintPars): change signature
1513 (paintTextInset): adjust
1517 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * lengthcommon.C: compilation fix: remove explicit array size from
1520 unit_name[] and friends
1522 2004-04-05 Angus Leeming <leeming@lyx.org>
1524 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1526 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1527 present only for the preferences dialog.
1528 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1530 2004-04-05 Angus Leeming <leeming@lyx.org>
1532 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1533 to enable the frontends to export changes to lyxrc correctly.
1535 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1537 2004-04-07 André Pönitz <poenitz@gmx.net>
1539 * cursor.[Ch] (selClear, adjust): remove math
1541 * cursor_slice.C: more agressive assert
1544 * BufferView_pimpl.C: rework mouse event dispatch
1551 2004-04-05 André Pönitz <poenitz@gmx.net>
1553 * cursor.[Ch] (valign, halign...): remove unneeded functions
1555 2004-04-05 Angus Leeming <leeming@lyx.org>
1557 * lyxlength.[Ch] (unit_name et al.): const-correct.
1559 2004-04-05 Angus Leeming <leeming@lyx.org>
1561 * BufferView_pimpl.C:
1570 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1572 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1574 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1576 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1578 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1579 * BufferView_pimpl.[Ch] (getStatus)
1580 * BufferView.[Ch] (getStatus): add
1581 * lyxfunc.C (getStatus): move lfuns handled in
1582 BufferView::dispatch to te function above
1583 * Cursor.C (setSelection): set selection() = true
1585 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1587 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1589 2004-03-31 Angus Leeming <leeming@lyx.org>
1591 * lyxfunc.C (dispatch): Fall through to the generic
1592 Dialogs::show("preamble").
1594 2004-03-31 Angus Leeming <leeming@lyx.org>
1596 * lyxfunc.C (dispatch): Fall through to the generic
1597 Dialogs::show("spellchecker").
1599 2004-03-31 Angus Leeming <leeming@lyx.org>
1601 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1604 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1609 * insetiterator.[Ch]:
1614 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1616 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1618 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1619 insets where we are putting the cursor.
1621 2004-03-31 Angus Leeming <leeming@lyx.org>
1624 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1626 * lyxrc.[Ch] (read, write): overloaded member functions taking
1627 a std::[io]stream arguments.
1629 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1631 2004-03-31 Angus Leeming <leeming@lyx.org>
1633 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1634 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1636 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1637 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1639 2004-03-31 Angus Leeming <leeming@lyx.org>
1641 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1642 the LFUN_ALL_INSETS_TOGGLE code.
1644 2004-03-30 Angus Leeming <leeming@lyx.org>
1646 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1647 has died. Fall through to the generic Dialogs::show("document").
1649 2004-03-30 Angus Leeming <leeming@lyx.org>
1652 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1653 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1655 * lyxfunc.C (getStatus, dispatch): define the actions for these
1656 lfuns. Little more than a cut and pste job from ControlDocument.C
1658 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1660 2004-03-30 Angus Leeming <leeming@lyx.org>
1663 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1664 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1666 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1667 open/closed state of ollapsable insets. Usage:
1669 all-inset-toggle <state> <name>, where
1670 <state> == "open" || "closed" || "toggle" and
1671 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1673 * lyxtext.h, text2.C (toggleInset): removed.
1675 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1676 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1677 now passes LFUN_INSET_TOGGLE to the found inset.
1679 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1680 is now invoked as "all-insets-toggle toggle branch".
1682 2004-03-30 Angus Leeming <leeming@lyx.org>
1686 * pariterator.[Ch]: added/corrected header blurb.
1688 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1690 * dociterator.[Ch]: add an inset_ member
1691 (backwardPos): implemented
1692 (backwardPos, forwardPos): use inset_ when the stack is empty.
1693 (doc_iterator_begin, doc_iterator_end): implemented
1694 * pariterator.[Ch]: adjust, add begin, end
1695 * insetiterator.[Ch]: adjust, add begin, end
1699 * BufferView_pimpl.C:
1700 * CutAndPaste.C: adjust
1702 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1704 * buffer.C: increment file format to 232.
1705 * LaTeXFeatures.C: add bibtopic package.
1706 * bufferparams.[Ch]: param \use_bibtopic.
1708 * lyxrc.[Ch]: add lyxrc bibtex_command
1709 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1711 * buffer.C: increment file format to 231.
1713 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1715 * dociterator.C: implement forwardPar
1716 * iterators.[Ch]: remove, replaced by
1717 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1719 * BufferView_pimpl.C:
1722 * bufferview_funcs.C:
1728 * Makefile.am: adjust
1730 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1732 * CutAndPaste.C (pasteSelection): fix 2 crashes
1733 (eraseSelection): fix a crash
1734 * paragraph_funcs.C: remove a warning
1736 2004-03-28 Angus Leeming <leeming@lyx.org>
1739 * LyXAction.C (init): new LFUN_PRINT.
1741 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1743 2004-03-27 Angus Leeming <leeming@lyx.org>
1746 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1748 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1750 2004-03-27 Angus Leeming <leeming@lyx.org>
1752 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1753 insetlist always contains non-null pointers to insets.
1755 2004-03-26 Angus Leeming <leeming@lyx.org>
1757 * src/BufferView_pimpl.C:
1758 * src/CutAndPaste.C:
1761 * src/output_plaintext.C:
1762 * src/outputparams.h:
1763 * src/paragraph_funcs.C:
1767 * src/frontends/controllers/ControlErrorList.C:
1768 * src/frontends/gtk/FileDialogPrivate.C:
1769 * src/frontends/gtk/GPainter.C:
1770 * src/frontends/gtk/GToolbar.C:
1771 * src/frontends/qt2/QRef.C:
1772 * src/mathed/math_scriptinset.C: squash compiler warnings.
1774 2004-03-26 Angus Leeming <leeming@lyx.org>
1776 * ispell.C (LaunchIspell::start):
1777 * lyx_cb.C (AutoSaveBuffer::start):
1778 invoke run(DontWait) rather than runNonBlocking().
1780 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1782 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1784 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1786 * kbsequence.C (print): adjust
1788 * kbmap.C (printKeySym): rename and change signature
1789 (printKey): use LyXKeySym::print()
1791 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1793 * undo.C: add using std::advance to compile for stlport
1795 2004-03-24 Angus Leeming <leeming@lyx.org>
1797 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1798 it leads to a crash when no buffer is present.
1800 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 Martin Vermeer <martin.vermeer@hut.fi>
1803 * lyxfunc.C (dispatch):
1804 * bufferparams.C (readToken): use the new LColor::setColor
1806 * LColor.[Ch] (setColor): new version that takes two strings as
1807 argument and creates a new color entry if necessary
1809 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1811 * buffer.C (makeLaTeXFile): if the main latex file that is
1812 processed is usually a subdocument of some master, then pretend
1813 for a while that it is actually the master
1815 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1817 * buffer.C (getLabelList):
1818 (getBibkeyList): use getMasterBuffer()
1819 (getMasterBuffer): new method. Returns the main document in the
1820 case where one is using included documents.
1822 2004-03-25 André Pönitz <poenitz@gmx.net>
1826 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1828 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1830 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1831 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1833 * ParameterStruct.h: merge with ParagraphParameters
1835 * lyxtext.h: remove LyXText::parOffset() and getPar()
1837 * text3.C: Remove all 'manual' update calls. We do now one per user
1838 interaction which is completely sufficient.
1842 * BufferView_pimpl.C:
1843 * FontIterator.[Ch]:
1845 * ParagraphParameters.[Ch]:
1850 * cursor_slice.[Ch]:
1857 * output_docbook.[Ch]:
1858 * output_latex.[Ch]:
1859 * output_linuxdoc.[Ch]:
1860 * output_plaintext.[Ch]:
1862 * paragraph_funcs.[Ch]:
1863 * paragraph_pimpl.[Ch]:
1871 * frontends/controllers/ControlDocument.C:
1872 * frontends/controllers/ControlErrorList.C:
1873 * frontends/controllers/ControlSpellchecker.C:
1876 * insets/insetbase.h:
1877 * insets/insetbibitem.C:
1878 * insets/insetbox.C:
1879 * insets/insetbranch.C:
1880 * insets/insetcaption.C:
1881 * insets/insetcharstyle.C:
1882 * insets/insetcharstyle.h:
1883 * insets/insetcollapsable.C:
1884 * insets/insetcollapsable.h:
1885 * insets/insetert.C:
1886 * insets/insetfloat.C:
1887 * insets/insetfoot.C:
1888 * insets/insetmarginal.C:
1889 * insets/insetnote.C:
1890 * insets/insetoptarg.C:
1891 * insets/insettabular.C:
1892 * insets/insettext.C:
1893 * insets/insettext.h:
1894 * insets/insetwrap.C:
1895 * mathed/math_mboxinset.C:
1896 * mathed/math_nestinset.C:
1897 * mathed/math_scriptinset.C:
1898 * mathed/math_scriptinset.h:
1901 2004-03-24 Angus Leeming <leeming@lyx.org>
1903 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1904 deal with any child processes that have finished but are waiting to
1905 communicate this fact to the rest of LyX.
1907 2004-03-24 Angus Leeming <leeming@lyx.org>
1909 64-bit compile fixes.
1911 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1912 (c-tor): pass lyx::pos_types rather than ints.
1914 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1917 * text.C (Delete): compile fix.
1918 (getPar): ensure that function declaration is the same as that in
1921 2004-03-23 Angus Leeming <leeming@lyx.org>
1923 * ispell.C (LaunchIspell):
1924 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1925 a boost::shred_ptr rather than a std::auto_ptr.
1927 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1930 handle LFUN_FILE_INSERT_*
1932 * lyxrc.C (setDefaults, getDescription, output, read):
1933 * lyxrc.h: remove ps_command
1935 2004-03-22 Angus Leeming <leeming@lyx.org>
1937 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1938 Ensure that error_handler is processed once only and that all data
1939 is saved before attempting to output any warning messages.
1941 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1943 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1945 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1947 2004-03-19 André Pönitz <poenitz@gmx.net>
1949 * cursor.[Ch] (reset): take main text inset as argument
1951 * BufferView: adjust
1952 * BufferView_pimpl.C: adjust
1954 * paragraph.[Ch]: fix completely broken operator=()
1956 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * LColor.C (getFromLyXName): make sure that the color name is used
1961 2004-03-17 Angus Leeming <leeming@lyx.org>
1964 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1966 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1967 dialog and to kill a forked process.
1969 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1971 * text2.C (setCursorFromCoordinates): fix font problem
1973 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1975 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1976 bogus "rebuild cursor" code
1978 2004-03-11 André Pönitz <poenitz@gmx.net>
1980 * buffer.[Ch]: use InsetText instead of LyXText as container for
1983 * dociterator.[Ch]: drop the BufferView * member which is not needed
1984 anymore after the change to buffer.C
1986 * paragraph_funcs.C:
1990 * BufferView_pimpl.[Ch]:
1992 * cursor_slice.[Ch]: adjust
1994 * text3.C: fix bug in mathDispatch
1996 2004-03-08 André Pönitz <poenitz@gmx.net>
1998 * undo.[Ch]: use 'StableDocumentIterator' as base for
2001 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2004 * bufferparams.[Ch]: add jurabib support and param.
2006 * LaTeX.C: add FIXME/comment.
2008 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2010 * buffer.C: increment file format to 230.
2012 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2014 * cursor.C (dispatch): avoid infinite loops
2016 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2018 * rowpainter.C (paintSelection): fix x coordinates
2020 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2022 * text.C (rowBreakPoint): fix breaking before displayed insets
2024 2004-03-01 André Pönitz <poenitz@gmx.net>
2026 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2028 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2032 * BufferView_pimpl.C:
2040 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2046 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2047 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2049 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2051 * Bidi.[Ch] (computeTables): const correctness
2052 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2053 fill_hfill, fill_label_hfill and x from Row
2054 * lyxtext.h: prepareToPrint returns a RowMetrics
2055 * rowPainter.C: adjust
2056 * text.C (prepareToPrint): use width, not textWidth. adjust
2057 (redoParagraphInternal, cursorX): adjust
2058 * text2.C (getColumnNearX): adjust
2059 (init): put a default value to the top LyXText::width
2061 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2063 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2065 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2067 * lyxtext.h: add FontIterator class
2069 * text.C (FontIterator, operator*, operator->, operator++): add
2070 (rowBreakPoint, setRowWidth): adjust (fixing a
2073 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2075 * BufferView_pimpl.C (workAreaDispatch): allow also
2076 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2078 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2080 * text.C (rowBreakPoint): fix a bug showing with very large insets
2082 2004-02-25 André Pönitz <poenitz@gmx.net>
2085 * cursor.[Ch]: move some mathed specific code to mathed
2087 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2089 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2090 use_tempdir in preferences
2091 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2093 * lyx_main.C: ensure that tempdir is valid
2094 * lyxlex.h: correct typo
2095 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2096 * paragraph.[Ch] (isMultiLingual): make const
2097 * cursor.[Ch] (openable): make const
2099 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2101 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2103 2004-02-20 André Pönitz <poenitz@gmx.net>
2105 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2107 * cursor.[Ch]: prepare for localized getStatus()
2113 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2115 2004-02-20 André Pönitz <poenitz@gmx.net>
2117 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2119 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2121 * text2.C (setCursorFromCoordinates): switch to absolute coords
2123 (cursorDown): adjust
2124 * text3.C (dispatch): adjust
2126 2004-02-16 André Pönitz <poenitz@gmx.net>
2128 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2131 * cursor_slice.[Ch]: remove unneeded acessor function
2133 * lyxtext.h: rename rtl() to isRTL()
2141 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2143 * rowpainter.C (paintSelection): coord fix
2145 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2147 * Spacing.C: compile fix
2149 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2151 * cursor.C (dispatch): restore current_ before returning
2153 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2155 * text2.C (cursorUp, cursorDown): fix coords
2158 2004-02-12 André Pönitz <poenitz@gmx.net>
2163 * text3.C: add LCursor & parameter to most cursor movement functions
2164 remove usage of LyXText::cursorRow() and cursorPar()
2166 * cursor.[Ch]: add textRow() needed members
2169 * BufferView_pimpl.C:
2172 * BufferView_pimpl.C: adjust
2174 2004-02-11 André Pönitz <poenitz@gmx.net>
2178 * BufferView_pimpl.C: shift undo/redo handling
2180 * cursor.[Ch]: fix mathed crash
2183 * lyxtext.h: move selectionAsText to LCursor
2191 * rowpainter.C: fix excessive drawing
2193 2004-02-06 André Pönitz <poenitz@gmx.net>
2196 * BufferView_pimpl.[Ch]:
2197 * text3.C: move some text specific LFUN handling
2199 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2201 * text3.C (checkInsetHit): adjust coords
2202 * text2.C (getColumnNearX): adjust coords
2203 (edit): adjust coords
2204 * text.C (getRowNearY): add two asserts
2206 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2209 * format.C: add using std::distance to compile on gcc 2.95/stlport
2211 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2213 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2215 2004-02-04 André Pönitz <poenitz@gmx.net>
2217 * BufferView.[Ch] (insertInset):
2218 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2223 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2225 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2226 on the default clause of the switch
2227 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2228 wasn't catched by LCursor::dispatch
2230 2004-02-03 André Pönitz <poenitz@gmx.net>
2233 * cursor.[Ch]: some additional asserts
2235 * undo.[Ch]: remove LyXText dependency in interface
2239 * lyxtext.h (firstPar, lastPar): remove dead functions
2244 * paragraph.[Ch]: adjust
2246 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2248 * lyxfind.C (find): fix argument order in call to ::find
2250 2004-02-02 André Pönitz <poenitz@gmx.net>
2252 * cursor.[Ch]: remove direct access to anchor
2254 * text.C: remove findText() hack
2256 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2258 * iterators.[Ch] (lockPath): remove in favour of...
2259 * BufferView.[Ch] (setCursor): this addition
2260 * BufferView.C (putSelectionAt): adjust
2261 * undo.C (performUndoOrRedo): adjust
2262 * lyxfunc.C (dispatch): adjust
2264 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2266 * iterators.C (lockPath): add a missing slice
2267 * undo.C (performUndoOrRedo): remove redundant positioning code
2269 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2271 * vc-backend.C (scanMaster): ";" -> ';'
2273 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2275 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2276 std::binary_function
2278 * lyxtextclass.C (compare_name): rename to...
2279 (LayoutNamesEqual): ...this
2281 * lyxlex_pimpl.C (compare_tags): inherit from
2282 std::binary_function, put back into anon namespace
2284 * lyxfind.C (MatchString): inherig from std::binary_function
2285 (findChange): use empty() istead of !size()
2287 * format.C (FormatNamesEqual): new functor
2294 * converter.C (compare_Converter): rename to...
2295 (ConverterEqual): ...this, and fixup a bit.
2296 (getConverter): use it, and make function const
2297 (getNumber): use it, and make function const
2301 * bufferlist.C: add using boost::bind
2303 * MenuBackend.C (MenuNamesEqual): new functor
2304 (hasMenu): use it, and make function const
2305 (hasSubmenu): use nested bind to get rid of compare_memfun.
2307 2004-01-30 André Pönitz <poenitz@gmx.net>
2309 * BufferView_pimpl.C:
2312 * cursor_slice.[Ch]:
2315 * paragraph_funcs.C:
2316 * paragraph_funcs.h:
2320 * text3.C: move some of the edit(x,y) handling to the insets
2321 some coordinate changes.
2323 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2325 * text.C: add using statements for std::advance and std::distance
2327 * paragraph.C: add using statement for std::distance
2329 * lyxfind.C: add using statement for std::advance
2331 * cursor.C (region): remove std:: from swap
2332 (openable): use nucleus in stead of operator->
2334 * BufferView.C: add using statements for std::distance and std::swap
2336 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2338 * iterators.C: Remove the pimple, move the needed structures to
2339 the header file. Create accessor for the positions stack.
2340 (asPosIterator): remove function
2342 * PosIterator.C (PosIterator): move constructors to top of file
2343 (PosIterator): reimplement the constructor taking a ParIterator in
2345 (setFrom): new function
2346 (operator!=): inline it
2348 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2350 * lyxfind.C (replaceAll): use std::advance
2352 * iterators.h: inherit from std::iterator.
2354 * PosIterator.C (advance, distance): remove
2355 * PosIterator.h: interit from std::iterator.
2357 2004-01-26 André Pönitz <poenitz@gmx.net>
2360 * BufferView_pimpl.[Ch]:
2364 * bufferview_funcs.C:
2374 * output_linuxdoc.C:
2375 * output_plaintext.C:
2377 * paragraph_funcs.[Ch]:
2378 * paragraph_pimpl.[Ch]:
2384 * text3.C: more IU: dumps most of the rest of the mathcursor
2385 implementation into cursor.[Ch]; "globalize" a bit of it.
2387 2004-01-25 Angus Leeming <leeming@lyx.org>
2389 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2391 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2393 * LaTeXFeatures.h: add nice_ and nice() const
2394 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2396 2004-01-20 André Pönitz <poenitz@gmx.net>
2399 * BufferView_pimpl.C:
2401 * bufferview_funcs.C:
2403 * cursor_slice.[Ch]:
2414 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2415 LCursor and mathcursor parts to LCursor and InsetBase.
2417 2004-01-15 André Pönitz <poenitz@gmx.net>
2419 * cursor_slice.[Ch]: add a few covienience functions
2421 * funcrequest.[Ch]: remove BufferView * member
2423 * BufferView_pimpl.C:
2430 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2432 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2434 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2435 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2437 2004-01-13 André Pönitz <poenitz@gmx.net>
2440 * lyxtext.h: hide cursor and selection anchor behind accessor function
2443 * BufferView_pimpl.[Ch]:
2445 * bufferview_funcs.C:
2455 * cursor_slice.[Ch]: some integer type changes for inset unification
2457 * lyxcursor.[hC]: remove, it's CursorSlice now.
2460 * BufferView_pimpl.[Ch]:
2461 * bufferview_funcs.C:
2467 * textcursor.[Ch]: adjust
2469 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2471 * text2.C (undoSpan): add and use
2472 * text.C (breakParagraph): use undoSpan (fix bug 578)
2475 2004-01-08 Angus Leeming <leeming@lyx.org>
2477 * BufferView_pimpl.C (MenuInsertLyXFile):
2478 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2479 * lyxfunc.C (menuNew, open, doImport):
2480 FileFilterList change to the FileDialog open and save functions.
2482 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2484 * ShareContainer.h: make isEqual and isUnique adaptable
2486 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2488 2004-01-07 Angus Leeming <leeming@lyx.org>
2491 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2493 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2495 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2496 functions replacing find, replace and replaceAll.
2498 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2499 LFUN_WORDFIND(FORWARD|BACKWARD).
2501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2503 * text.C (breakParagraph): remove an outdated #warning
2505 2004-01-07 André Pönitz <poenitz@gmx.net>
2507 * lyxfind.C: somewhat clearer logic
2509 * text.C: prevent crash in cursorX on unitialized row cache
2511 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2513 * lyxcursor.[Ch] (operator>): add
2514 * textcursor.C (selStart, selEnd): use std::min and std::max
2516 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2518 * Chktex.C: include boost/format.hpp
2520 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2522 * InsetList.C: replace functor MathcIt with adaptable functor
2524 (insetIterator): modify accordingly
2526 * BranchList.h: move the BranchNamesEqual functor here from...
2527 * BranchList.C: ... to here
2529 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2531 (add): replace a finding loop with std::find_if.
2533 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2535 * output_docbook.C: moving LatexParam functionality into
2538 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2540 * buffer.C: increment format to 229.
2542 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2545 * lyx_sty.[Ch]: remove minipageindent_def
2551 * text3.C: remove LFUN_INSET_MINIPAGE
2553 2003-12-28 Angus Leeming <leeming@lyx.org>
2555 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2557 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2559 * text2.C (setParagraph): fix off-by-one crash
2561 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2563 * output_docbook.C: header stuff for AGU
2565 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2567 * text2.C (redoCursor): remove
2570 * BufferView_pimpl.C: remove calls to redoCursor and
2571 setCursor(cursor.par(), cursor.pos()) all around
2573 2003-12-15 Angus Leeming <leeming@lyx.org>
2575 * buffer.C: up the format to 228.
2577 2003-12-15 André Pönitz <poenitz@gmx.net>
2579 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2584 * BufferView_pimpl.C:
2593 2003-12-15 Angus Leeming <leeming@lyx.org>
2595 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2596 than getFromGUIName to manipulate the color.
2598 2003-12-14 Angus Leeming <leeming@lyx.org>
2600 * BranchList.[Ch]: minimize the API.
2601 (Branch::getBranch, getColor): now return a 'const &'.
2602 (Branch::setSelected) now returns a bool set to true if the
2603 selection status changes.
2604 (BranchList::clear, size, getColor, setColor, setSelected,
2605 allBranches, allSelected, separator): removed.
2606 (BranchList::find): new functions, returning the Branch with
2608 (BranchList::add, remove): return a bool indicating that
2609 the operation was successful.
2611 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2612 new InsetBranch::isBranchSlected member function.
2614 * LColor.[Ch]: mimimize the API.
2615 (fill): renamed as addColor and made private.
2616 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2617 versions of these functions taking a string arg have been removed.
2619 * bufferparams.C (readToken):
2620 * lyxfunc.C (dispatch):
2621 * lyxrc.C (read): changes due to the altered BranchList and
2624 * factory.C (createInset, readInset): changes due to altered
2627 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2630 * lyxfunc.C: remove insetminipage. "minipage-insert"
2631 now produces a frameless minipage box inset.
2633 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2635 * textcursor.[Ch] (selStart,selEnd): add new methods
2636 remove selection::start, end, use LyXCursor::operator<
2637 * lyxcursor.[Ch] (operator<): add
2638 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2639 * BufferView.[Ch] (unsetXSel): add
2640 * text2.C (clearSelection): use unsetXSel,adjust
2643 * rowpainter.C: adjust
2644 * bufferview_funcs.C (put_selection_at): adjust
2646 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2648 * BufferView_pimpl.C: small coord. correction
2650 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2652 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2653 dragging over the splash screen.
2655 2003-12-11 Angus Leeming <leeming@lyx.org>
2657 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2658 as it is now handled in LyXText::dispatch.
2660 * text3.C (doInsertInset): remove a level of nesting.
2662 2003-12-11 Angus Leeming <leeming@lyx.org>
2664 * factory.C (createInset): changes due to the changed interface to
2665 InsetCommandMailer::string2params.
2667 2003-12-10 Angus Leeming <leeming@lyx.org>
2669 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2670 'dialog-show-new-inset <inset name>'
2672 2003-12-10 Angus Leeming <leeming@lyx.org>
2674 * buffer.C: up the format to 227.
2676 * factory.C: the box inset is now identified simply by 'Box'.
2678 2003-12-10 Angus Leeming <leeming@lyx.org>
2680 * buffer.C: up the format to 226.
2682 * factory.C: the note inset is now identified simply by 'Note'.
2684 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2686 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2687 when a pit is enough. Standarize a couple of loops.
2689 2003-12-05 Angus Leeming <leeming@lyx.org>
2691 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2692 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2693 data to the re-worked "log" dialog.
2695 2003-12-03 André Pönitz <poenitz@gmx.net>
2701 * paragraph_funcs.C:
2703 * text2.C: use Inset::getText instead of Inset::getParagraph
2705 2003-12-03 André Pönitz <poenitz@gmx.net>
2709 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2710 InsetText::read() as LyXText::read()
2712 2003-12-02 Angus Leeming <leeming@lyx.org>
2714 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2715 type. Add a comment in the implementation that the function uses
2716 the stream's bad() function rather than fail() as the std::streams
2719 2003-12-02 André Pönitz <poenitz@gmx.net>
2721 * lyxlex.[Ch]: make interface more similar to std::stream
2723 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2725 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2727 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2729 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2731 * vspace.[Ch]: remove VSpace::NONE
2733 2003-12-01 André Pönitz <poenitz@gmx.net>
2736 * lyxtext.h: move ParagraphList member to LyXText
2737 rename LyXText::ownerParagraphs to LyXText::paragraph
2740 * bufferview_funcs.C:
2750 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2752 * undo.C: fix cursor positioning
2754 2003-12-01 John Levon <levon@movementarian.org>
2756 * BufferView_pimpl.C: fix a crash on exit with
2759 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2761 * BranchList.C: fix setSelected() method.
2763 2003-11-28 André Pönitz <poenitz@gmx.net>
2765 * ParagraphParameters.[Ch]:
2766 * ParameterStruct.h: remove space above/below from Paragraph to
2769 * BufferView_pimpl.C:
2775 * paragraph_funcs.C:
2781 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2783 * factory.C: Syntax change for CharStyles
2785 2003-11-28 André Pönitz <poenitz@gmx.net>
2790 * buffer.[Ch]: move LyXText member
2792 2003-11-28 André Pönitz <poenitz@gmx.net>
2794 * BufferView.[Ch]: make LyXText * text a private member
2796 * BufferView_pimpl.C:
2807 * output_plaintext.C: cleanup
2809 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2812 * lyxtextclass.[Ch]: parametrize SGML document header
2814 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2817 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2820 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2822 * text2.C (setFont): rework using PosIterator (no more recursive)
2823 (setCharFont): no more needed
2824 (setLayout): no more selection cursors fiddling (done by redoCursor)
2825 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2826 destroy remaining ones)
2828 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2830 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2832 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2835 * text3.C: adjust + re-allow multi par depth changes
2836 * textcursor.C: simplify a bit
2838 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2844 * src/output_docbook.C:
2845 * src/output_latex.C:
2850 * src/text2.C: Introducing a number of tags parametrizing various
2851 XML formats that we may want to support
2853 2003-11-25 André Pönitz <poenitz@gmx.net>
2855 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2857 * lyxtext.h (leftMargin/rightMargin): simplify interface
2864 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2866 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2867 master file to any child files. Fixes bug 546.
2869 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2871 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2873 2003-11-24 André Pönitz <poenitz@gmx.net>
2875 * rowpainter.C: simplification
2877 * text2.C (updateCounters): remove call to redoParagraph on
2878 changed labels as this is far too expensive.
2880 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2882 * converter.C (convert): fix a crash: this function gets
2883 called with buffer == 0 from importer code.
2885 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2887 * text3.C (cursorPrevious): make sure that we do not compare
2888 iterators form different containers.
2891 * rowpainter.C (paintSelection): make sure that we do not compare
2892 iterators from different containers.
2894 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2895 iterators from different ParagraphList containers.
2898 * text2.C (LyXText): change order of initialization slightly
2899 (operator=): new function. copy all variables except cache_par_
2900 (moveUp): make sure that we do not compare iterators from
2901 different ParagraphList constainers.
2904 * text.C (firstPar): new function
2905 (lastPar): new function
2906 (endPar): new function
2908 * lyxtext.h: move things around and group public functions, public
2909 variables, private functions, private variables
2911 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2913 * factory.C: change call to InsetERT constructor to avoid
2914 additional invocation of method status
2915 * text2.C (toggleInset): remove redundant update() call
2916 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2917 instead of a Bufferview pointer
2919 2003-11-21 André Pönitz <poenitz@gmx.net>
2921 * rowpainter.C: simplification
2923 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2925 * text3.C (dispatch): make possible to extend a word/row selection
2928 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2930 * lyxtext.h: x0_,y0_ -> xo_,yo_
2931 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2932 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2933 * rowpainter.C (paintRows): paint full paragraphs
2935 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2937 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2940 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2942 * lyxtext.h: add x0_, y0_
2943 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2944 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2946 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2948 * text2.C (setCursorIntern): move the x_target update here *
2949 * text3.C: change some bv() to true/false in calls to
2950 cursorUp/Down/Right/Left
2951 * cursor.C: use helper function.
2953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2955 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2956 * paragraph_funcs.[Ch]: correct comment
2957 * rowpainter.C: do not paint selections away from bv->cursor()
2958 Fix a long standing selection painting bug.
2959 * text3.C: generalize mouse-selection code to LyXTexts other that
2961 * textcursor.C: do not use y coords if we can use par offsets
2963 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2965 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2966 cursor position after e.g. inset insert)
2968 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2970 * lyxfind.C (replace): adjust to locking removal + some
2973 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2975 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2978 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2981 * output_docbook.C: XML sanitation: new layout
2982 parameters InnerTag and CommandDepth
2984 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2986 * BufferView_pimpl.C:
2988 * text3.C: Fix the insertion and modification of button-style
2991 2003-11-13 André Pönitz <poenitz@gmx.net>
2993 * InsetList.[Ch]: remove deleteLyXText
2995 * paragraph.[Ch]: cache beginOfBody position
3000 * text3.C: remove superfluous update() calls
3004 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3006 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3007 * BufferView.C (fitLockedInsetCursor): remove
3008 * cursor.[Ch] (getDim): add
3009 * text.C (getRowNearY): add faster version
3010 * text3.C: remove some update calls
3012 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3024 * text3.C: The Character Style /XML short element patch.
3026 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3029 * factory.C: Small step to solving 'unable to insert some insets'
3032 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3034 * cursor.[Ch] (updatePos): new function for updating the y
3035 position of the tip inset
3036 * bufferview_funcs.C (put_selection_at):
3037 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3039 2003-11-11 André Pönitz <poenitz@gmx.net>
3041 * text.C: remove big comment on invalid Paragraph pointers as it is
3044 2003-11-11 André Pönitz <poenitz@gmx.net>
3046 * text_funcs.[Ch]: merge with ...
3054 * Makefile.am: remove text_funcs.[Ch]
3056 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3058 * cursor.C (getPos): return absolute cached y coord
3060 * BufferView_pimpl.C (fitCursor): new simplistic code
3061 (workAreaDispatch): add a fitCursor call
3063 2003-11-10 André Pönitz <poenitz@gmx.net>
3066 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3068 2003-11-10 André Pönitz <poenitz@gmx.net>
3070 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3071 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3072 indicate that the cursor needs to leave an inset
3074 * lyxtext.h: remove inset locking
3076 * cursor.[Ch]: re-implement functionality provided by inset locking
3079 * BufferView_pimpl.[Ch]:
3081 * bufferview_funcs.[Ch]:
3093 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3095 * PosIterator.[Ch]: replace the stack with a vector, add inset
3097 * iterators.[C]: adjust
3099 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3101 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3103 * paragraph_funcs.C (readParToken): put the correct id in the
3104 error item, not the id of the top paragraph
3106 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3108 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3109 * bufferview_funcs.C (put_selection_at): use the above
3111 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3113 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3115 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3117 * output_linuxdoc.h:
3118 * output_plaintext.h:
3120 * output_docbook.h: add #include statements
3122 2003-11-05 José Matos <jamatos@lyx.org>
3124 * output_docbook.[Ch]:
3125 * output_latex.[Ch]:
3126 * output_linuxdoc.[Ch]:
3127 * output_plaintext.[Ch]: New files for output formats.
3128 * output.[Ch]: New file for helper functions.
3131 * paragraph_funcs.[Ch]: output functions moved to new files.
3133 * outputparams.h: rename of latexrunparams.h
3141 * paragraph_funcs.[Ch]:
3142 * paragraph_pimpl.[Ch]:
3143 * tabular.[Ch]: rename ascii to plaintext
3144 and LatexRunParams to OutputParams.
3146 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3148 * iterators.[Ch] (text): require bv argument
3149 * undo.C (recordUndo):
3150 * lyxfunc.C (dispatch):
3151 * bufferview_funcs.C (put_selection_at): adjust
3153 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3155 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3157 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3159 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3162 2003-11-04 André Pönitz <poenitz@gmx.net>
3164 * cursor.[Ch]: restructure
3167 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3169 * iterators.[Ch] (asCursor): remove
3171 * lfuns.h: remove LFUN_INSET_EDIT
3177 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3179 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3181 * lyxfind.[Ch]: complete overhaul
3182 * BufferView_pimpl.C:
3184 * paragraph.[Ch] (insert): add
3186 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3190 * text.C: remove dead spellcheck code
3192 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * dispatchresult.h: add a val setter
3196 * cursor.C (dispatch): use a tempvar for data_[i]
3198 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3200 * PosIterator.[Ch]: compile fix
3202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3204 * text.C (cursorPar): deactivate the cursor cache
3206 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3208 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3210 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3212 * text3.C (dispatch): adjust for new DisptchResult semantics.
3214 * lyxfunc.C (dispatch): handle update when return from
3215 Cursor::dispatch, adjust for new DispatchResult semantics.
3217 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3218 DispatchResult(true) mean to not update. Add class functions for
3219 setting dispatched and update, as well as reading.
3221 * cursor.C (dispatch): don't handle update here
3223 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3225 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3226 * trans_mgr.C: adjust
3228 * paragraph_funcs.C (readParToken): exception safety
3230 * lyxvc.h: store the vcs pointer in a scoped_ptr
3233 * lyxsocket.C (serverCallback): exception safety
3235 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3237 * ispell.C (clone): make it return a auto_ptr
3239 * factory.C (createInset): exception safety
3240 (readInset): exception safety
3242 * bufferlist.C (newBuffer): exception safety
3244 * Thesaurus.C (Thesaurus): use initialization for aik_
3246 * MenuBackend.C (expandToc): exception safety.
3248 2003-11-03 André Pönitz <poenitz@gmx.net>
3252 * bufferview_funcs.C: remove getInsetFromId()
3255 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3261 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3263 * PosIterator.C (distance, advance): new
3264 * bufferview_funcs.[Ch] (put_selection_at): new
3265 * iterators.[Ch] (lockPath): new
3267 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3269 * iterators.[Ch] (asPosIterator): added
3270 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3271 * PosIterator.[Ch]: added
3273 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * cursor.C (dispatch):
3278 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3280 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3281 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3282 contructor, add a class function dispatched. Remove operator>=
3284 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * debug.C: only use the default constructor for debugstream
3289 * main.C (main): include debug.h and setup the lyxerr streambuf
3292 2003-10-31 José Matos <jamatos@lyx.org>
3294 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3296 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3297 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3298 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3299 * paragraph_pimpl.C (simpleTeXSpecialC):
3300 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3301 add LatexRunParams argument.
3303 * exporter.C (Export): change call accordingly.
3305 * latexrunparams.h: add new member to take care of the other backends.
3306 2003-10-30 José Matos <jamatos@lyx.org>
3308 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3309 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3310 factorise code for paragraph output.
3312 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3315 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * text3.C (dispatch):
3318 * lyxfunc.C (dispatch):
3319 * cursor.C (dispatch):
3320 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3322 * dispatchresult.h: make the dispatch_result_t ctor explicit
3324 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3327 * buffer.C: small refactoring of docbook stuff
3329 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3337 operator dispatch_result_t, and operators for == != and >=
3339 * cursor.C (dispatch): adjust for operator dispatch_result_t
3340 removal. comment out call to update
3342 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3344 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3352 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3355 * dispatchresult.h: new file, DispatchResult broken out of
3358 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3360 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3362 * text.C (rowBreakPoint): put a hack inside #if 0
3364 2003-10-28 André Pönitz <poenitz@gmx.net>
3368 * paragraph_funcs.C:
3371 * text2.C: general cleanup (lots of small stuff)
3373 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3375 * text2.C (cursorEnd): simple fix to the "end key goes to one
3376 before the end on last row" bug
3378 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3380 * text.C (backspace): fix the "zombie characters"
3382 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3384 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3386 2003-10-27 André Pönitz <poenitz@gmx.net>
3388 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3390 * factory.C: handle new InsetPagebreak, InsetLine
3392 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3393 and move handling into new InsetPagebreak, InsetLine
3395 * BufferView_pimpl.C:
3397 * ParagraphParameters.C:
3398 * ParameterStruct.h:
3403 * paragraph_funcs.C:
3404 * paragraph_pimpl.C:
3410 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3413 * lyxrow_funcs.[Ch]:
3419 * text3.C: remove lastPos uses in favour of Row::endpos
3421 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3423 * undo.C (performUndoOrRedo): fix two crashes by setting a
3424 cursor by hand and reordering some calls. Use bv->lockInset instead
3425 of inset->edit because the latter loses cursor information
3427 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3429 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3431 (rowBreakPoint): fix width. change point to point + 1.
3432 Add a missing check.
3434 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3437 * lyxfunc.C: fix (at least partly) the problems
3438 with the Nav menu and headers inside branch insets
3441 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3443 * paragraph.C (getChar): add strong asserts
3445 * lyxrow_funcs.C (lastPos): remove hideous hack
3447 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3448 (fill): adjust to that (avoid an infinite loop)
3450 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3452 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3454 2003-10-23 André Pönitz <poenitz@gmx.net>
3456 * RowList_fwd.h: change list<> to vector<> to gain speed
3457 after suggestion from Alfredo
3459 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3461 * lyxtext.h: move the bidi stuff from here...
3464 * Bidi.[Ch]: ... to here
3466 2003-10-23 André Pönitz <poenitz@gmx.net>
3469 * text.C (isLastRow, isFirstRow): new functions
3471 * paragraph.h: new width cache member
3473 * rowpainter.C: replace RowList::iterator with Row & where possible
3475 * lyxfunc.C: replace several view()->text with a single call
3477 * toc.C: fix 'unused' warning
3479 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3482 when woring with stream::pos_type
3483 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3485 2003-10-22 André Pönitz <poenitz@gmx.net>
3488 * text.C: use Row & instead of RowList::iterator
3490 * lyxrow.h: rename end() to endpos()
3496 2003-10-22 Angus Leeming <leeming@lyx.org>
3498 * buffer.[Ch] (fully_loaded): new member function, returning true
3499 only when the file has been loaded fully.
3500 Used to prevent the premature generation of previews and by the
3501 citation inset to prevent computation of the natbib-style label.
3503 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3504 templates are all set up.
3506 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3508 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3510 * text.C: fixed an "oops" in the "is a bit silly"
3513 2003-10-21 André Pönitz <poenitz@gmx.net>
3515 * FuncStatus.[Ch]: small stuff, whitespace
3517 * lyxfont.[Ch]: operator<<() for debug reasons
3521 * lyxtext.h: whitespace, spelling
3523 * paragraph.C: naming of variables
3526 * text2.C: small stuff
3529 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3531 * text.C: (1) finish off the inset display() work;
3532 (2) fix the "is a bit silly" bug (accessing char
3535 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3537 * text.C: re-introduce display() for insets, fixing the
3538 various bugs (stretch of line above, math inset
3541 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3543 * text.C (rightMargin): remove spurious semicolon
3545 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3548 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3550 * text3.C: fix one crash due to wrong cursor def
3552 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3554 * vc-backend.C (scanMaster): make the regex static
3556 * LaTeX.C (scanAuxFile): make the regexs static
3558 * text3.C (doInsertInset, dispatch, dispatch):
3559 * text2.C (cursorUp, cursorDown):
3560 * text.C (selectNextWordToSpellcheck):
3561 * BufferView_pimpl.C (dispatch):
3562 * lyxfunc.C (dispatch): localDispatch -> dispatch
3564 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3566 * lyxsocket.C: include <cerrno>
3568 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * lyxfunc.C (dispatch): remove textcache stuff
3572 * bufferlist.C (release): remove textcache stuff
3575 * TextCache.C: delete file
3576 * TextCache.h: delete file
3578 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3580 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3581 delete of the bv_->text.
3582 (resizeCurrentBuffer): remove texcache stuff
3583 (workAreaResize): ditto
3585 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3587 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3590 2003-10-16 André Pönitz <poenitz@gmx.net>
3597 * text3.C: speed up by storing y positions per paragraph plus per-row
3598 offset instead of having a 'full' y position in the row.
3600 2003-10-15 André Pönitz <poenitz@gmx.net>
3604 * undo.[Ch]: make undo aware of inner insets
3606 2003-10-14 Angus Leeming <leeming@lyx.org>
3608 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3609 static member functions LyX::ref() and LyX::cref.
3610 (lastfiles): new accessor functions for the new lastfiles_ member var.
3611 (addLyXView, views_): add a new LyXView to the list of views_.
3612 (updateInset): loop over all LyXViews to call their own updateInset
3613 member function, returning a pointer to the Buffer owning the inset.
3615 * BufferView_pimpl.C (loadLyXFile):
3616 * MenuBackend.C (expandLastfiles):
3617 * bufferlist.C (MenuWrite, QuitLyX):
3618 lastfiles is no longer a global variable.
3619 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3621 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3622 static function. Access through LyX::cref().emergencyCleanup().
3624 2003-10-14 André Pönitz <poenitz@gmx.net>
3626 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3628 * undo.[Ch]: restoring part of 'undo in insets'
3631 * undo_funcs.[Ch]: merge with undo.[Ch]
3633 * tabular.C: small cleansing stuff
3635 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3637 * paragraph_funcs.C (readParToken): report unknown insets as error
3638 boxes. Use the outer paragraph as location (also for unknown
3641 * factory.C (readInset): do not abort on reading an unknown inset.
3642 Eat it and return 0.
3644 2003-10-13 Angus Leeming <leeming@lyx.org>
3646 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3648 * lyxrc.C: displayTranslator is now a function,
3649 declared in GraphicsTypes.h.
3651 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3653 * format.C: new placeholder $$a to pass the socket address.
3655 * bufferlist.[Ch]: new function getBufferFromTmp.
3657 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3658 files in the temporary dir.
3660 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3662 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3664 * Makefile.am: add lyxsocket.[Ch].
3666 * lyx_main.C (error_handler): handle SIGPIPE.
3668 2003-10-13 André Pönitz <poenitz@gmx.net>
3670 * BufferView_pimpl.C:
3675 * undo_funcs.[Ch]: use paroffset_type instead of
3676 ParagraphList::iterators to prevent multiple conversion
3677 (and get a more robust interface)
3679 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3681 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3683 * text3.C (dispatch): ditto
3685 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3688 move the onlyfile, use onlyfile instead of foundfile in a couple
3691 * DepTable.C (update): flush the error stream a bit more
3693 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * lyxserver.C (callback): adjust
3697 * lyxfunc.C (getStatus): add a missing brace in commented code
3698 (ensureBufferClean): reindent
3699 (dispatch): delete version taking a string
3701 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * LaTeX.C (deplog): move found file handlig from here...
3704 (handleFoundFile): .. to new function here.
3705 (deplog): make sure to discover several files mentioned on the
3708 2003-10-10 André Pönitz <poenitz@gmx.net>
3715 * text3.C: fix some of the tabular crashes
3717 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3719 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3721 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3723 2003-10-09 André Pönitz <poenitz@gmx.net>
3725 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3728 * BufferView_pimpl.C:
3729 * bufferview_funcs.C:
3740 * undo_funcs.C: adjust
3742 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3744 * text2.C (incrementItemDepth): new function, use a backtracking
3745 algorithm to discover the correct item depth.
3746 (resetEnumCounterIfNeeded): new function, use a backtracking
3747 algorithm to discover if counter reset is needed.
3748 (setCounter): use them. Simplify a bit. Add different labels for
3749 different item depths for itemize.
3751 * paragraph.C (Paragraph): remove initialization of enumdepth
3754 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3755 enumerate and itemize. Change the type of itemdepth to signed char.
3757 2003-10-08 André Pönitz <poenitz@gmx.net>
3759 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3764 * tabular.[Ch]: fix crash after 'row-insert'
3766 2003-10-08 Angus Leeming <leeming@lyx.org>
3768 Fix doxygen warnings.
3770 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3771 Remove CutAndPaste:: prefix from header file declaration.
3773 * LColor.h (fill): remove LColor:: prefix from declaration.
3775 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3776 use lyx::depth_type rather than Paragraph::depth_type so that
3777 header file and .C file match.
3779 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3781 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3782 * aspell.C: \file aspell_local.C -> \file aspell.C
3783 * gettext.C: \file gettext.C -> \file src/gettext.C
3784 * gettext.h: \file gettext.h -> \file src/gettext.h
3785 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3786 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3787 * text.C: \file text.C -> \file src/text.C
3789 * toc.C: move comment so that doxygen is not confused.
3791 2003-10-07 Angus Leeming <leeming@lyx.org>
3793 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3795 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3798 * aspell_local.h: add forgotten std::string's.
3800 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3807 * text3.C: The Box patch. Fancybox support, minipage, parbox
3809 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3815 * ParagraphParameters.h:
3825 * lyxtextclasslist.h:
3828 * paragraph_pimpl.C:
3829 * textcursor.h: add <string> and other small fixes to make Lars'
3830 std::string patch compile with STLport.
3832 2003-10-06 Angus Leeming <leeming@lyx.org>
3834 * LColor.h: Add missing #include <string>.
3836 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * All most all file in all subdirs: Make <string> be the prefered
3839 way of getting to std::string, add using declarations.
3841 2003-10-06 André Pönitz <poenitz@gmx.net>
3843 * metricsinfo.C: initialize LyXFont before changing attribute.
3844 (fixes the 'math in \emph is upright' bug)
3846 2003-10-06 André Pönitz <poenitz@gmx.net>
3848 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3850 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3853 * paragraph_pimpl.C: Small fixes to build using STLport
3855 2003-10-02 André Pönitz <poenitz@gmx.net>
3858 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3860 2003-10-01 André Pönitz <poenitz@gmx.net>
3862 * factory.C: assert early
3864 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * lyx_main.C: remove the global debug object
3868 * debug.h: adjust for new debugstream
3870 * debug.C: adjust for new debugstream and keep the global debug
3873 2003-09-22 Angus Leeming <leeming@lyx.org>
3875 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3876 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3877 an incomplete class LyXFont.
3879 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3881 * factory.C: bug fix in branches
3883 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * lyxfunc.C (processKeySym): adjust
3887 (dispatch): change arg name from ev to func, adjust
3888 (sendDispatchMessage): ditto
3890 * lyx_main.C (defaultKeyBindings): adjust keybindings
3891 (deadKeyBindings): ditto
3893 * kbsequence.C (addkey): return a FuncRequest
3895 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3897 * kbmap.C (bind): take a FuncRequest as arg, adjust
3900 (defkey): change to take a FuncRequest as arg, adjust
3901 (findbinding): take a FuncRequest as arg, adjust.
3903 * funcrequest.h (operator=): added
3905 * funcrequest.C (FuncRequest): default kb_action changed from
3906 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3908 * buffer.C (dispatch): simplify
3909 (dispatch): adjust to take a FuncRequest as arg, adjust
3911 * boost.C (assertion_failed): change assertion message slightly
3913 * ToolbarBackend.C (read): simplify
3915 * MenuBackend.C (binding): adjust call to findbinding, add a
3916 message if no binding is found.
3918 (expandToc): correct by adding a empty FuncRequest
3920 * LyXAction.C: include <boost/assert.hpp>
3921 (isPseudoAction): delete function
3922 (LookupFunc): change name to...
3923 (lookupFunc): this. change return type to FuncRequest.
3924 (getActionName): take kb_action as arg, simplify
3925 (funcHasFlag): add an assert, simplify.
3927 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3929 * toc.C (action): return a FuncRequest, simplify
3931 * lyxfunc.C (processKeySym): adjust
3932 (getStatus): delete version that takes an int.
3934 (dispatch): delete version that takes action as int
3936 (sendDispatchMessage): simplify and adjust
3938 * funcrequest.C (getArg): take unsigned int as arg
3940 * ToolbarBackend.C (read): adjust
3941 (add): delete version that takes func as a string.
3942 (getIton): take a FuncRequest as arg
3944 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3947 * MenuBackend.C (MenuItem): add a new construct that only takes a
3948 Kind, simplify the constructor use for submenus.
3950 (expandLastfiles): adjust
3951 (expandDocuments): adjust
3952 (expandFormats): adjust
3953 (expandFloatListInsert): adjust
3954 (expandFloatInsert): adjust
3955 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3957 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3958 Remove class variables lyx_pseudo_map and lyx_arg_map
3960 * LyXAction.C (searchActionArg): delete function
3961 (getPseudoAction): delete function
3962 (retrieveActionArg): delete function
3963 (LookupFunc): make it return kb_action, simplify.
3964 (getActionName): simplify
3966 * factory.C (createInset): fix new bug
3968 2003-09-19 Angus Leeming <leeming@lyx.org>
3970 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3971 masterFilename_ parameter in the include inset.
3973 * factory.C (createInset): changes due to the changes to InsetInclude.
3975 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3977 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3979 2003-09-18 Angus Leeming <leeming@lyx.org>
3982 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3983 Inset::fillWithBibKeys.
3984 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3986 2003-09-18 Angus Leeming <leeming@lyx.org>
3988 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3990 (ctor): pass and store a 'Buffer const &'
3991 (buffer): new member function.
3993 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3994 '*this' to the LaTeXFeatures ctor.
3996 2003-09-18 Angus Leeming <leeming@lyx.org>
4002 * text.C: rename EnumLColor as LColor_color.
4004 2003-09-18 Angus Leeming <leeming@lyx.org>
4006 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4007 remove #include "insets/insetbase.h" from cursor.h.
4009 2003-09-18 Angus Leeming <leeming@lyx.org>
4011 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4012 InsetOld_code to remove #include "inset.h".
4014 * iterators.C: add #include "insets/inset.h"
4016 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4018 * BufferView.C: remove more locking stuff that apparently doesn't
4019 do anything sensible.
4021 2003-09-16 André Pönitz <poenitz@gmx.net>
4024 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4027 2003-09-16 Angus Leeming <leeming@lyx.org>
4029 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4031 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4034 * paragraph.h: remove #include "lyxfont.h". Forward declare
4037 2003-09-16 Angus Leeming <leeming@lyx.org>
4039 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4040 of support/textutils.h.
4041 (isWord): move the contents of support/textutils.h's IsWordChar here.
4047 * text2.C: add #include "paragraph.h".
4050 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4052 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4058 * LaTeX.C: use namespace alias for lyx::support::os
4060 2003-09-16 Angus Leeming <leeming@lyx.org>
4063 * bufferview_funcs.C:
4066 * paragraph_pimpl.C:
4068 * text.C: add #include "LColor.h".
4070 2003-09-16 Angus Leeming <leeming@lyx.org>
4072 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4073 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4075 Store the FontBits::color variable as an int rather than as an
4076 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4079 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4080 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4081 string calls together.
4083 * lyxrc.C: add #include "LColor.h".
4085 2003-09-15 Angus Leeming <leeming@lyx.org>
4087 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4090 2003-09-15 Angus Leeming <leeming@lyx.org>
4092 * LColor.h: add an EnumLColor wrapper for LColor::color.
4094 * lyxfont.[Ch] (color, setColor, realColor):
4095 * lyxtext.h, text.C (backgroundColor):
4096 pass EnumLColor args to/from the functions, rather than LColor::color
4100 * lyxtext.h: forward declare EnumLColor.
4102 * lyx_main.C: add #include "LColor.h".
4104 2003-09-15 Angus Leeming <leeming@lyx.org>
4106 * .cvsignore: add lyx-gtk.
4108 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4113 * ParagraphParameters.C
4117 * bufferview_funcs.C
4127 * vc-backend.C: remove usage of STRCONV
4129 2003-09-15 Angus Leeming <leeming@lyx.org>
4131 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4132 explicitly define the color passed to the painter.
4134 2003-09-15 Angus Leeming <leeming@lyx.org>
4136 * bufferparams.C (BufferParams): reorder member initializers to avoid
4139 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4141 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4142 * text.C (updateRowPositions): remove an unusual nop
4144 2003-09-12 André Pönitz <poenitz@gmx.net>
4146 * BufferView_pimpl.C:
4155 * Counters.[Ch]: finish the 'automatic counters' job
4157 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4159 * aspell.C: include <boost/assert.cpp> (compile fix)
4161 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4163 * boost.C (assertion_failed): use lyx::support::abort instead of
4166 2003-09-10 Angus Leeming <leeming@lyx.org>
4168 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4169 with their _fwd progeny.
4171 2003-09-09 Angus Leeming <leeming@lyx.org>
4173 134 files throughtout the source tree: replace 'using namespace abc;'
4174 directives with the appropriate 'using abc::xyz;' declarations.
4176 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4178 * boost.C (emergencyCleanup): moved here from LAssert.c
4179 (assertion_failed): new function, called by BOOST_ASSERT
4181 * several files: change Assert to BOOST_ASSERT
4183 2003-09-09 Angus Leeming <leeming@lyx.org>
4185 * buffer.[Ch]: Add an Impl class and move Buffer's member
4186 variables into it. As a result move several header files out of
4189 Add header files to lots of .C files all over the tree as a result.
4191 2003-09-09 Angus Leeming <leeming@lyx.org>
4193 * buffer.[Ch]: make Buffer's member variables private. Add
4196 Lots of changes all over the tree as a result.
4198 2003-09-08 Angus Leeming <leeming@lyx.org>
4200 * graph.C: #include <config.h>.
4202 2003-09-08 Angus Leeming <leeming@lyx.org>
4206 * BufferView_pimpl.C:
4235 * toc.C: remove redundant using directives.
4237 2003-09-07 Angus Leeming <leeming@lyx.org>
4239 * LaTeXFeatures.h: remove #include "support/types.h".
4240 * ToolbarBackend.h: remove #include <algorithm>.
4241 * changes.h: remove #include <ctime>.
4242 * debug.h: remove #include <iosfwd>.
4243 * graph.h: remove #include "support/std_string.h".
4244 * lyx_main.h: remove #include <csignal>.
4245 * lyxlex_pimpl.h: remove #include <fstream>.
4246 * sgml.h: remove #include <algorithm>, <utility>.
4247 * toc.h: remove #include "support/std_ostream.h".
4248 Add #include <iosfwd>.
4250 2003-09-07 Angus Leeming <leeming@lyx.org>
4252 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4254 * converter.h: forward declare LatexRunParams.
4255 * encoding.h: remove #include "lyxrc.h".
4256 * lyxtext.h: remove #include "LColor.h".
4257 * lyxtextclass.h: remove #include "support/types.h".
4258 * trans.h: remove #include "tex-accent.h".
4259 * trans_mgr.h: remove #include "tex-accent.h".
4260 * insets/inset.h: remove #include "support/types.h", <vector>.
4261 * insets/insetcollapsable.h: remove #include "LColor.h".
4262 * insets/insetinclude.h: remove #include "dimension.h".
4263 * insets/insetlatexaccent.h: remove #include "dimension.h".
4264 * insets/insetoptarg.h:: remove #include "insettext.h".
4265 * insets/insettext.h: remove #include "dimension.h",
4266 <boost/shared_ptr.hpp>
4268 * insets/renderers.h: add #include "dimension.h".
4269 * insets/updatableinset.h: add #include "support/types.h".
4271 * many .C files: Associated changes.
4273 2003-09-06 Angus Leeming <leeming@lyx.org>
4275 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4276 one, inside testInvariant.
4278 * PrinterParams.C: new file.
4279 * PrinterParams.[Ch]: move the function bodies out of line.
4281 2003-09-06 Angus Leeming <leeming@lyx.org>
4283 * ParagraphParameters.h: forward declare ParameterStruct rather than
4284 including its header file.
4285 (depth): moved out-of-line.
4287 2003-09-06 Angus Leeming <leeming@lyx.org>
4289 * BufferView_pimpl.h:
4292 * lyxfunc.h: forward declare LyXKeySym rather than
4293 #include "frontends/LyXKeySym.h".
4295 * BufferView_pimpl.C:
4298 * lyxfunc.C: associated changes.
4300 2003-09-06 Angus Leeming <leeming@lyx.org>
4302 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4303 As a result, can remove the #include "insets/inset.h" from BufferView.h
4305 2003-09-06 Angus Leeming <leeming@lyx.org>
4307 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4308 As a result, can remove the #include "insets/inset.h" from BufferView.h
4310 2003-09-06 Angus Leeming <leeming@lyx.org>
4316 * bufferview_funcs.C:
4317 * BufferView_pimpl.C:
4322 * ParagraphParameters.C:
4327 * frontends/controllers/ControlDocument.C:
4328 * insets/insetcaption.C: rearrange the #includes into some sort of
4331 * buffer.h: remove #includes ErrorList.h, undo.h
4333 2003-09-06 Angus Leeming <leeming@lyx.org>
4335 * support/types.h: add a 'depth_type' typedef, used to store the
4336 nesting depth of a paragraph.
4339 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4340 defining explicitly.
4343 * paragraph_funcs.h:
4344 * ParagraphParameters.h:
4345 * sgml.h: use lyx::depth_type rather than Paragraph or
4346 ParameterStruct's depth_type.
4349 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4352 * BufferView_pimpl.C:
4354 * ParagraphParameters.C:
4357 * bufferview_funcs.C:
4364 * frontends/LyXView.C:
4365 * frontends/controllers/ControlDocument.C:
4366 * frontends/controllers/ControlErrorList.C:
4367 * insets/insetbibitem.C:
4368 * insets/insetbranch.C:
4369 * insets/insetcaption.C:
4370 * insets/insetcollapsable.C:
4371 * insets/insetenv.C:
4372 * insets/insetert.C:
4373 * insets/insetfloat.C:
4374 * insets/insetfoot.C:
4375 * insets/insetfootlike.C:
4376 * insets/insetnewline.C:
4377 * insets/insetquotes.C:
4378 * insets/insettabular.C:
4379 * insets/insettext.C:
4380 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4382 * frontends/controllers/ControlChanges.C: #include "changes.h".
4384 2003-09-06 Angus Leeming <leeming@lyx.org>
4386 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4387 than #including paragraph.h.
4390 * RowList.h: deleted. Superfluous.
4400 * insets/insettext.h: use ParagraphList_fwd.h rather than
4403 * paragraph.h: don't forward declare ParagraphList.
4406 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4407 rather than ParagraphList.h. paragraph.h is still needed for the
4408 Paragraph::depth_type parameters.
4410 * textcursor.h: enable it to compile stand-alone in light of the
4413 * bufferview_funcs.C:
4425 * frontends/controllers/ControlParagraph.C:
4426 * frontends/controllers/ControlTabular.C:
4427 * insets/insetmarginal.C:
4428 * insets/insetminipage.C:
4429 * insets/insetnote.C:
4430 * insets/insetoptarg.C: add header files needed to compile again.
4432 2003-09-06 Angus Leeming <leeming@lyx.org>
4434 * RowList_fwd.h: new file, forward-declaring Row rather than
4435 #including lyxrow.h.
4440 * insets/insettext.h: use it instead of RowList.h
4442 * bufferview_funcs.C:
4449 * text3.C: #include "RowList.h".
4451 2003-09-05 Angus Leeming <leeming@lyx.org>
4453 * factory.C (createInset):
4454 * vspace.C (c-tor): replace sscanf call with an istringstream.
4455 * ispell.C: re-add missing HP/UX headers.
4456 * lyxserver.C: re-add missing os2 headers.
4458 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4467 * text3.C: re-add missing system headers, needed for 2.95.2.
4469 2003-09-05 Angus Leeming <leeming@lyx.org>
4471 Changes most place everywhere due to the removal of using directives
4472 from support/std_sstream.h.
4474 2003-09-05 Angus Leeming <leeming@lyx.org>
4476 Replace LString.h with support/std_string.h,
4477 Lsstream.h with support/std_sstream.h,
4478 support/LIstream.h with support/std_istream.h,
4479 support/LOstream.h with support/std_ostream.h.
4481 Changes resulting throughout the tree.
4483 2003-09-05 Angus Leeming <leeming@lyx.org>
4485 * sgml.h: ensure that the header file can be compiled stand-alone.
4486 * *.C: strip out redundant #includes. (320 in total.)
4488 2003-09-04 Angus Leeming <leeming@lyx.org>
4490 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4491 here (from getPackages).
4493 * debug.[Ch]: add a new EXTERNAL tag.
4495 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4497 * text2.C (cursorEnd): simplify
4499 (getColumnNearX): adjust
4501 * text.C (computeBidiTables): adjust
4504 * rowpainter.C (paintChars): adjust
4505 (paintSelection): adjust
4506 (paintChangeBar): adjust
4509 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4511 (numberOfSeparators): adjust
4513 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4519 * text3.C: Restricts the mouse click functionality
4520 of insets like bibtex, include, toc and floatlist to the visible
4521 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4522 up the dialogs. Cursor has to be in front of the inset (i.e.
4523 start of row) for this to function.
4525 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4527 * bufferview_funcs.C (currentState): output row information
4529 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4531 * bufferview_funcs.C (currentState): output paragraph position
4533 2003-09-04 Angus Leeming <leeming@lyx.org>
4535 * FloatList.h: move out #include "Floating.h".
4536 * LaTeX.h: move out #include "DepTable.h".
4537 * LyXAction.h: move out #include "funcrequest.h".
4538 * buffer.h: move out #include "author.h", "iterators.h".
4539 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4540 * lyx_main.h: move out #include "errorlist.h".
4541 * lyxfunc.h: move out #include "FuncStatus.h".
4542 * lyxtext: move out #include "lyxcursor.h".
4543 * paragraph_pimpl.h: move out #include "counters.h".
4545 2003-09-03 Angus Leeming <leeming@lyx.org>
4547 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4548 preamble_snippets list, enabling us to add snippets to the preamble
4549 only if the snippet was not there already.
4551 2003-09-04 Angus Leeming <leeming@lyx.org>
4553 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4555 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4557 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4560 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4562 * BranchList.C: point fix, earlier forgotten
4564 2003-09-02 Angus Leeming <leeming@lyx.org>
4566 * box.C (contains): renamed from 'contained' after a fantastic
4569 2003-09-02 John Levon <levon@movementarian.org>
4575 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4577 2003-09-02 John Levon <levon@movementarian.org>
4579 * text2.C: simplification of cursorEnd(), including partial
4582 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4584 * buffer.C (readFile): add a space
4586 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4588 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4590 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * buffer.C (readFile): new function, take a filename and a
4593 ParagraphList::iterator
4595 (readFile): adjust, make it private. don't use setStream, make
4596 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4597 always contain the filename.
4599 * BufferView.C (insertLyXFile): simplify and make it work for
4602 2003-08-30 John Levon <levon@movementarian.org>
4604 * Makefile.am: fix dist (from Kayvan)
4606 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * most files: change to use const Buffer refs
4610 2003-08-27 André Pönitz <poenitz@gmx.net>
4612 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4613 on top of ownerPar().
4615 2003-08-27 John Levon <levon@movementarian.org>
4617 * funcrequest.C: properly initialise POD members
4619 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4621 * lyxtext.h (top_y): move top_y from here
4626 * BufferView_pimpl.[Ch]: to here
4627 * frontends/screen.C:
4628 * insets/insettabular.C:
4629 * insets/insettext.C: adjust
4630 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4632 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4635 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4637 2003-08-26 André Pönitz <poenitz@gmx.net>
4639 * paragraph_func.[Ch] (outerPar): new function
4642 * paragraph_funcs.C:
4643 * paragraph_funcs.h:
4644 * paragraph_pimpl.C:
4645 * text2.C: remove Inset::par_owner
4647 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4652 * text2.C: eliminates the needFullRow/display() stuff
4653 altogether, putting the logic in metrics/draw in the insets.
4655 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4657 * text2.C (redoParagraphInternal, redoParagraphs):
4658 * text.C (redoParagraph): add a call to updateRowPositions at the
4659 end of each 'metrics-like' call. Remove all others.
4660 (getRow): remove the 'y-computing' version.
4661 (getRowNearY): do not compute nor return the real y. Solve the
4662 'y < 0' problem and simplify.
4664 2003-08-22 Angus Leeming <leeming@lyx.org>
4666 * *.[Ch]: clean-up of licence and author blurbs.
4667 Also move config.h out of a few .h files and into a few .C files.
4669 2003-08-22 André Pönitz <poenitz@gmx.net>
4671 * lyxrow.[Ch]: add x_ and *fill_ members
4676 * text2.C: adjust/remove prepareToPrint() calls
4678 2003-08-22 André Pönitz <poenitz@gmx.net>
4680 * lyxrow.[Ch]: add end_ member
4682 * lyxrow_funcs.C: use LyXRow::end_
4684 * lyxtext.h (singleWidth): add LyXFont parameter
4687 * text2.C: adjust LyXText::singleWidth() calls
4689 * text.C (redoParagraph): simplify row breaking logic
4692 2003-08-19 André Pönitz <poenitz@gmx.net>
4694 * funcrequest.C: initialize button_ member
4697 * rowpainter.[Ch]: interface consolidation
4699 2003-08-18 André Pönitz <poenitz@gmx.net>
4702 * BufferView_pimpl.C:
4704 * paragraph_funcs.C:
4706 * text3.C: remove LyXScreen::draw() and fitCursor calls
4708 * BranchList.h: remove spurious semicolons
4710 * MenuBackend.C: fix branchlist related crash
4712 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4720 * bufferparams.[Ch]:
4724 * text3.C: implements the 'branch inset'
4725 idea. This allows the output of various versions of a document
4726 from a single source version, selectively outputing or suppressing
4727 output of parts of the text.
4728 This implementation contains a 'branch list editor' in a separate
4729 tab of the document settings dialog. Branches are user definable
4730 and have a "display colour" to distinguish them on-screen.
4732 ColorHandler was somewhat cleaned up.
4733 (1) make possible a dynamically growing LColor list by allowing
4734 the graphic context cache to grow along (vector);
4735 (2) eliminate an IMHO unnecessary step in colour allocation.
4737 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4739 * BufferView_pimpl.C: compile fix
4741 2003-08-15 André Pönitz <poenitz@gmx.net>
4743 * rowpainter.C: remove extra metrics calls
4745 * lyxtext.h: merge the two constructors into a single one,
4746 pass reference to owner's par list
4748 * BufferView_pimpl.C:
4752 2003-08-15 André Pönitz <poenitz@gmx.net>
4754 * lyxrow_funcs.[Ch]:
4757 * paragraph_funcs.C:
4762 * text_funcs.C: split LyXText::rowlist_ into individual
4763 Paragraph::rows_ chunks
4766 * BufferView_pimpl.[Ch]:
4769 * text3.C: remove toggleSelection()
4771 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4773 * bufferlist.C: beautify two alerts (shorter text of buttons)
4774 * buffer.C: Remove redundant ' ' from message
4776 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4777 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4778 rename VALIGN_CENTER to VALIGN_MIDDLE
4780 2003-08-11 André Pönitz <poenitz@gmx.net>
4782 * lyxtext.h (getPar):
4783 * text.C: new function
4785 2003-08-11 André Pönitz <poenitz@gmx.net>
4788 * tracer.[Ch]: remove unneeded files
4790 * InsetList.[Ch]: remove resizeInsetsLyXText()
4795 * text3.C: merge insertParagraphs() and appendParagraph()
4796 remove breakAgain(), update()
4798 * BufferView_pimpl.[Ch]:
4799 * bufferview_funcs.[Ch]:
4803 * tabular.C: adjust after text & InsetList changes.
4805 2003-08-08 André Pönitz <poenitz@gmx.net>
4807 * text.C (insertChar, backspace): replace rowlist fiddling
4808 with rebreak of full par
4811 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4812 checkParagraph, updateInset): removed
4814 2003-08-07 André Pönitz <poenitz@gmx.net>
4817 * text3.C: merge some LFUN handlers, remove dead code
4819 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4821 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4823 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4825 * text2.C (DEPM): fix part of bug 1255 and 1256
4827 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4829 * BufferView_pimpl.C (workAreaDispatch): change to use
4830 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4831 that are no mouse related.
4833 2003-08-05 André Pönitz <poenitz@gmx.net>
4836 * BufferView_pimpl.[Ch]:
4837 * bufferview_funcs.C:
4839 * text3.C: rip out "deep update"
4841 * textcursor.[Ch] (last_sel_cursor): remove unused member
4843 2003-08-04 André Pönitz <poenitz@gmx.net>
4846 * BufferView_pimpl.[Ch]:
4847 * ParagraphParameters.C:
4848 * bufferview_funcs.C:
4854 * text3.C: replace "complicated" BufferView::update(...) calls with
4857 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4859 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4861 * Makefile.am (lyx_SOURCES): add paper.h
4863 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4865 * Makefile.am: move things around so that both lyx-qt and
4866 lyx-xforms can be built (according to --with-frontend). Then lyx
4867 is a symbolic link to lyx-[firstfrontend]
4869 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4871 * Always use std::endl with lyxerr
4873 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4875 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4877 2003-08-01 André Pönitz <poenitz@gmx.net>
4880 * BufferView_pimpl.[Ch]:
4882 * text3.C: merge BufferView::repaint() and BufferView::update()
4884 2003-08-01 José Matos <jamatos@lyx.org>
4886 * buffer.[Ch]: file_format is no longer a buffer data element.
4888 2003-08-01 André Pönitz <poenitz@gmx.net>
4893 * text2.C: make redoParagraph more independent of current cursor
4895 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4897 * text2.C: remove unneeded members
4899 2003-07-30 André Pönitz <poenitz@gmx.net>
4901 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4903 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4904 create a single function...
4906 * paragraph_funcs.C (moveItem): ... here.
4909 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4911 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4913 * LColor.[Ch]: Add comment and greyedout logical colors.
4915 2003-07-30 André Pönitz <poenitz@gmx.net>
4917 * tabular.C: don't use Assert too heavily. This crashes where it
4920 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4922 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4923 is disabled (bug 1232)
4925 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4927 * factory.C: limited 'arg' scope
4929 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4931 * factory.C: fixed Note submenu issues
4933 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4935 * factory.C: submenu for Note/Comment/Greyedout
4937 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4940 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4942 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4945 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4946 greyedout. Patch provided by Jürgen Spitzmüller.
4948 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4950 * kbmap.C (read): fix error message when reading bind files
4952 2003-07-29 Angus Leeming <leeming@lyx.org>
4954 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4955 certainly does not do what it purports to do. I am doing it, and
4956 us, a favour by killing it.
4958 2003-07-28 José Matos <jamatos@lyx.org>
4960 * buffer.C (readBody, do_writeFile):
4961 * paragraph.C(readParagraph): \end_document replaces \the_end.
4963 2003-07-29 André Pönitz <poenitz@gmx.net>
4966 * BufferView_pimpl.[Ch]:
4970 * textcursor.[Ch]: remove toggleToggle & Co
4972 2003-07-28 José Matos <jamatos@fep.up.pt>
4974 * buffer.C (readParagraph):
4975 * params_func (readParToken, readParagraph):
4976 * paragraph.C (write): \layout -> \begin_layout.
4978 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4980 * lyxlex_pimpl.C (setFile): clean up slightly.
4982 * bufferparams.h: add compressed var
4984 * buffer_funcs.C (readFile): adjust for LyXLex change
4985 (newFile): ditto + simplify
4987 * buffer.C (writeFile): handle writing of compressed files
4989 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4990 Check if the file is compressed and set a bufferparm if so.
4992 * Makefile.am (lyx_LDADD): remove explicit -lz
4994 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4996 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4997 makeDocBookFile): put the real LyX version in the first line of
5001 * version.C.in: remove lyx_docversion
5003 * tabular.C (write_attribute): add a template-based version to
5004 write enums properly
5006 2003-07-28 André Pönitz <poenitz@gmx.net>
5011 * text3.C: use doubles again for x-coordinates. They are needed.
5013 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5015 * messages.C (getLocaleDir): use lyx_localedir()
5017 * lyxlex_pimpl.C (setFile): compress stuff
5019 * buffer.C (writeFile): add some compression stuff
5020 (do_writeFile): new func, dont call expliti close... will this
5023 * Makefile.am (lyx_LDADD): add -lz
5025 2003-07-28 José Matos <jamatos@fep.up.pt>
5027 * buffer.C: increment file format.
5028 * paragraph_funcs (readParagraph, readParToken):
5029 * paragraph.C (readParagraph): add \end_layout.
5031 2003-07-27 Angus Leeming <leeming@lyx.org>
5033 * Makefile.am: remove special casing for configure-time setting of
5034 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5036 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5037 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5039 2003-07-26 André Pönitz <poenitz@gmx.net>
5041 * paragraph_func.[Ch]:
5042 * paragraph.C (realizeFont): inline it whereever it is used
5047 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5050 2003-07-26 André Pönitz <poenitz@gmx.net>
5054 * text2.C: get rid of LyXText::need_break_row
5056 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5058 * toc.[Ch]: put namespace toc inside namespace lyx
5060 * MenuBackend.C (expandToc2): adjust for lyx::toc
5063 * lyxfunc.C (dispatch): adjust for lyx::find
5065 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5066 lyx::find instead. Reorganize a bit.
5067 (LyXReplace): rename to replace
5068 (LyXFind): rename to find
5070 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5073 2003-07-26 André Pönitz <poenitz@gmx.net>
5075 * text.C (setHeightOfRow): restrict scope of temporary variable
5077 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5078 code (never has been used?)
5080 2003-07-27 Asger Alstrup <alstrup@local>
5082 * text.C (fill): Optimise algorithm to exploit that we can reuse
5083 the LyXFont for many characters.
5084 (setHeightOfRow): Same thing.
5085 (rowBreakPoint): Same thing.
5087 2003-07-26 Asger Alstrup <alstrup@local>
5089 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5091 * text.C (singleWidth): Spurious font copying in hot-spot
5092 singleWidth avoided. Reorder tests for arabic for efficiency.
5094 * text.C (fill): handle empty paragraphs better.
5096 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5099 * encoding.h: add includes
5101 * lyxrc.C: remove reading of bind files
5103 * lyx_main.C (init): setup bindings and menus only if we have a
5106 * kbmap.C (read): new method. Do the actual reading of bind
5109 * converter.C (dvipdfm_options):
5112 (output): adapt PAPER_* enums.
5114 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5116 * bufferparams.h: remove paper-related enums from there
5118 * paper.h: New file. A trivial header file to hold paper-related
5119 enums. It should later expand to contain many paper-related
5122 * lyxrc.C: declare extern displayTranslator
5124 2003-07-27 José Matos <jamatos@fep.up.pt>
5126 * tabular.[Ch] (linuxdoc): add support for tables and figures
5129 2003-07-27 José Matos <jamatos@fep.up.pt>
5131 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5132 consistency in both functions.
5133 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5135 2003-07-26 Asger Alstrup <alstrup@local>
5137 * rowpainter.C (paintRows): Change algorithm to work directly on
5138 the insets rather than asking every character in the document
5139 whether its an inset.
5141 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5143 * buffer.C (openFileWrite): factorize some code
5145 2003-07-26 Angus Leeming <leeming@lyx.org>
5148 * lyx_main.[Ch]: replace occurances of system_tempdir with
5151 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5153 * rename Inset to InsetOld
5155 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5157 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5158 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5159 which I think is a bit clearer. EDIT is gone, since it was
5160 premature optimisation, and broken for mathed anyway.
5161 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5162 with cursor positioning in insets as well (math insets still do not
5163 work, but that's a different story anyway.) It mysteriously
5164 crashes sometimes with undo in the first paragraph, but I'm fairly
5165 confident that this is a compiler bug.
5167 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * paragraph.C (Paragraph): adjust for new clone return type
5171 (copyIntoMinibuffer): ditto
5173 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5175 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5176 by not having a special case, and always doing a full rebreak of
5177 the document after undo.
5179 2003-07-23 Angus Leeming <leeming@lyx.org>
5181 * factory.C (createInset): InsetExternal::setParams now takes a
5184 2003-07-23 Angus Leeming <leeming@lyx.org>
5186 * factory.C (createInset): changed interface to the external and
5187 graphics mailers' string2params functions.
5189 2003-07-23 Angus Leeming <leeming@lyx.org>
5191 * factory.C (createInset): pass a
5192 Buffer const * parameter to InsetExternalMailer's string2params.
5194 2003-07-22 John Levon <levon@movementarian.org>
5196 * Thesaurus.h: include the right aiksaurus header
5198 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5200 * MenuBackend.C (expand): check menu shortcuts unconditionally
5202 2003-07-21 Angus Leeming <leeming@lyx.org>
5204 * factory.C (createInset): pass a
5205 buffer_path parameter to InsetGraphicsMailer's string2params.
5207 2003-07-21 Angus Leeming <leeming@lyx.org>
5209 * BufferView_pimpl.C (buffer):
5212 * lyxfunc.C (dispatch):
5213 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5214 rather than the grfx shortcut.
5216 2003-07-21 André Pönitz <poenitz@gmx.net>
5218 * rowpainter.C: remove unused variables
5221 * tabular_funcs.h: move to tabular.C
5222 * Makefile.am: adjust
5224 * tabular.[Ch]: basic optical cleaning
5226 * author.h: pass references, not values
5228 2003-07-18 André Pönitz <poenitz@gmx.net>
5236 * text3.C: two-phase drawing for InsetText and InsetTabular
5237 some float -> int changes.
5239 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5241 * lyx_main.C: fix the fix
5243 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5245 * lyx_main.C: fix a crash in batch mode if no files specified
5248 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5250 * format.[Ch] (papersize): moved to BufferParams
5251 * converter.[Ch] (dvips_options): moved to BufferParams
5252 (dvipdfm_options): moved to anon namespace
5253 * bufferparams.[Ch]: added above functions.
5255 2003-07-17 André Pönitz <poenitz@gmx.net>
5259 * text2.C: don't call inset->update() anymore
5261 * metricsinfo.[Ch]: add convenience constructor
5263 2003-07-16 André Pönitz <poenitz@gmx.net>
5268 * text2.C: replace the LyXCursor::irow_ member with
5269 on-demand computation of the value
5271 2003-07-16 John Levon <levon@movementarian.org>
5273 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5275 2003-07-15 André Pönitz <poenitz@gmx.net>
5278 * text2.C: remove no more needed refresh_row
5280 2003-07-15 André Pönitz <poenitz@gmx.net>
5285 * text3.C: refresh_status tristate -> need_update bool
5287 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5289 * lyxtext.h (init): remove reinit argument (act as if always true)
5290 * text2.C: adjust to that
5292 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5294 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5295 * text3.C: use it to delete selections in some cases
5296 (bugs 441, 673, 702, 954).
5298 2003-07-14 André Pönitz <poenitz@gmx.net>
5300 * rowpainter.[Ch]: reduce interface
5302 2003-07-14 André Pönitz <poenitz@gmx.net>
5304 * BufferView_pimpl.C:
5305 * text2.C: adjust after removing unused BufferView * argument
5307 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5309 * text2.C (init): fix a crash fired on resize
5311 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5313 * buffer.[Ch]: added new closing signal
5314 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5315 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5316 BufferView::Pimpl via the closing the signal
5318 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5320 * buffer.[Ch]: take out all bv-related from buffer
5322 * BufferView_pimpl.[Ch]: connect to new signals
5323 * CutAndPaste.C: removed useless asserts
5324 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5327 * lyxfunc.C: moved view-related funciontality from vc here
5328 * paragraph.C: removed outdated comments
5331 2003-07-10 André Pönitz <poenitz@gmx.net>
5333 * BufferView_pimpl.C:
5337 * text2.C: remove InsetText::InnerCache, clean up consequences
5339 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5341 * ispell.C: fix two typos in error messages
5343 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5345 * Extend Note inset to other forms of annotation like Comment
5346 and Greyedout. Right button click gives dialog.
5348 Files modified or added (+):
5352 * ControlNote.[Ch] +
5354 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5355 frontends/controllers
5359 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5361 * aspell.C: add missing namespace lyx::support
5363 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5365 * BufferView.[Ch] (newFile): Add
5366 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5367 * LaTeX.[Ch] (message): added this signal and use it
5368 * buffer.[Ch] (busy, message): added these signals and use them
5369 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5373 * importer.C: use buffer signals instead of direct bv calling
5374 * lyx_cb.[Ch] (ShowMessage): removed
5377 * paragraph_funcs.C:
5378 * text2.C: use buffer signals
5380 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5382 * introduce namespace lyx::graphics
5384 2003-07-02 André Pönitz <poenitz@gmx.net>
5386 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5388 2003-07-01 André Pönitz <poenitz@gmx.net>
5395 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5396 text*.C to text_func.C
5398 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5400 * introduce namespace lyx::support
5402 2003-06-30 André Pönitz <poenitz@gmx.net>
5407 * text.C: re-enable --with-included-string
5409 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5411 * textcursor.C: add <config.h>
5413 * text.C (getWord): remove const from word_location arg
5415 * lyxvc.C (getLogFile): fix const type order
5417 * lyxtext.h: remove const from word_location arg, add arg name
5419 * lyxlayout.h: currect type on labeltype.
5421 * importer.C: correct \file
5423 * converter.C (intToFormat): use std:: on ret val, ws changes
5425 * bufferlist.h: correct \file
5427 * buffer.C (makeLinuxDocFile): fix const type order
5428 (makeDocBookFile): ditto
5429 (fillWithBibKeys): use std:: on stdlib args.
5431 * CutAndPaste.C: fix authors.
5432 (availableSelections): use std:: on return vector
5434 2003-06-27 André Pönitz <poenitz@gmx.net>
5436 * BufferView_pimpl.C:
5437 * bufferview_funcs.C:
5445 * text3.C: remove LyXCursor::row_ member
5448 * text.C: rename fullRebreak() to partialRebreak() and implement
5449 a fullRebreak() that really bereks fully
5451 * textcursor.h: new struct for cursor-related data
5453 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5455 * lyx_main.C (LyX): get full path of document loaded on the
5458 2003-06-26 André Pönitz <poenitz@gmx.net>
5460 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5461 remove unused/broken operator>,<,>=.
5463 * text.C: remove only use of broken operator<= in an Assert().
5465 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5467 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5468 moved errorlist_.clear to showErrorList
5470 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5472 * converter.C (scanLog, runLaTeX):
5473 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5474 move the bv->showErrorList call to the callers
5475 * lyxfunc.C: i.e. here...
5477 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5478 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5479 namespace, the second to...
5480 * buffer_funcs (BufferFormat, parseErrors): added
5481 * errorlist.C (ErrorList(TeXErrors const &)): removed
5483 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5485 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5487 2003-06-24 "Garst R. Reese" <reese@isn.net>
5491 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5493 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5495 * version.C.in: change docversion to 1.4
5497 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5499 * buffer.C: fix a bug just introduced
5501 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5503 * buffer.[Ch]: added the parseError signal and use it, removed
5505 * BufferView.[Ch] (addError): moved to ...
5506 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5507 to the Buffer::parseError signal to catch (guess what) parse errors
5508 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5510 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5512 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5513 ability to create a buffer and to return an existing one from
5514 the list. Moved these functions to...
5515 * buffer_funcs.[Ch]: added
5516 * BufferView.[Ch] (loadLyXFile): added
5517 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5518 job removed from bufferlist::loadLyXFile.
5519 * buffer.C (setReadOnly): make it work without view
5520 (i.e added an if (users))
5522 2003-06-19 Angus Leeming <leeming@lyx.org>
5525 * LyXAction.C (init):
5526 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5527 with LFUN_DIALOG_SHOW <name> <data>.
5529 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5531 * CutAndPaste.C (availableSelections): small compilation fix for
5532 ancient (gcc 2.9x) compilers
5534 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5536 * text3.C (cursorNext): add tmp var
5538 * text2.C (updateCounters): for function calling out of for clause
5539 (replaceSelectionWithString): ditto
5540 (insertStringAsParagraphs): ditto
5541 (getColumnNearX): add tmp var
5542 (setCursorFromCoordinates): add tmp var
5543 (cursorDownParagraph): add tmp var
5544 (deleteEmptyParagraphMechanism): add tmp var
5546 * text.C (insertChar): add tmp var
5548 * rowpainter.C (paintDepthBar): add tmp var
5550 * CutAndPaste.C (availableSelections): potentially check all
5551 paragraphs in a cut to fill the shown strings.
5553 2003-06-18 André Pönitz <poenitz@gmx.net>
5555 * kbmap.[Ch]: use vector<> instead of list<>
5557 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5559 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5560 pasteSelection with index
5562 * text2.C (pasteSelection): modify, call pasteSelection with index
5564 * paragraph.C (asString): reimplement version with no interval to
5565 call the one with interval.
5567 * lyxtext.h: add index arg to pasteSelection
5569 * MenuBackend.C (MenuItem): handle PasteRecent
5570 (Menu::read::Menutags): add md_pasterecent
5572 (expandPasteRecent): new function
5575 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5577 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5579 (availableSelections): new function
5581 2003-06-17 Angus Leeming <leeming@lyx.org>
5583 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5585 2003-06-17 Angus Leeming <leeming@lyx.org>
5588 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5590 * lyxfunc.C (dispatch): invoke it.
5592 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5594 * iterators.C (operator++, ParPosition): reintroduce some
5595 const_cast for the benefit of older compilers.
5597 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5599 * text3.C (dispatch): do not modify clipboard when doing
5600 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5601 LFUN_DELETE_SKIP on a selection selection
5603 2003-06-16 André Pönitz <poenitz@gmx.net>
5609 * tabular.[Ch]: IU of clone() and getLabelList();
5611 2003-06-13 André Pönitz <poenitz@gmx.net>
5613 * tabular.h: compactification
5615 2003-06-12 André Pönitz <poenitz@gmx.net>
5619 * tabular_funcs.h: some renaming plus whitespace
5621 2003-06-12 André Pönitz <poenitz@gmx.net>
5624 * BufferView_pimpl.C:
5630 * toc.C: Return a Paragraph & for ParIterator::operator*()
5632 2003-06-11 John Levon <levon@movementarian.org>
5636 * ToolbarBackend.C: add "Toolbars" section and
5639 2003-06-10 Angus Leeming <leeming@lyx.org>
5642 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5644 * lyxfunc.C (dispatch): invoke it.
5646 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5648 * main.C: protect <ios> with HAVE_IOS
5649 (main): protect sync_with_stdio with HAVE_IOS
5651 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5653 * text2.C (cutSelection): adjust
5654 (pasteSelection): adjust
5656 * messages.C: handle get of empty string
5658 * main.C (main): use sync_with_stdio(false)
5660 * lyxfunc.C (dispatch): adjust
5662 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5663 (WriteAs): remove unneeded BufferView arg.
5665 * bufferparams.h: use correct types on papersize, papersize2 and
5668 * bufferparams.C (readToken): adjust for type
5669 (writeLaTeX): add missing cases to switch.
5671 * bufferlist.C (quitWriteBuffer): adjust
5674 * buffer.C (asciiParagraph): remove some commented code.
5676 * CutAndPaste.C: remove current_view extern variable.
5677 (cutSelection): add BufferParams arg.
5678 (eraseSelection): add BufferParams arg.
5679 (pasteSelection): add Buffer const & arg
5681 2003-06-07 John Levon <levon@movementarian.org>
5684 * paragraph_funcs.C:
5685 * paragraph_pimpl.C:
5689 * paragraph.C: allow InsetERT to freely space lines,
5690 and some consolidation of code
5692 2003-06-06 José Matos <jamatos@fep.up.pt>
5694 * buffer.C (makeDocBookFile): fix bug #821
5696 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5698 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5700 2003-06-04 Angus Leeming <leeming@lyx.org>
5702 * buffer.C: bump format to 224.
5704 2003-06-05 André Pönitz <poenitz@gmx.net>
5706 * text2.C (redoParagraphs): remove two const_cast<>
5708 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5710 * ParagraphList.h: remove last remnants of NO_STD_LIST
5712 2003-06-03 Angus Leeming <leeming@lyx.org>
5714 * factory.C (createInset): small change to the way InsetExternal's params
5717 2003-06-04 André Pönitz <poenitz@gmx.net>
5719 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5721 * paragraph_pimpl.h:
5722 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5724 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5726 * undo_funcs.C: make some simple cases of undo work again
5728 2003-06-03 John Levon <levon@movementarian.org>
5730 * ispell.C: HPUX doesn't have sys/select.h
5733 2003-06-03 John Levon <levon@movementarian.org>
5735 * CutAndPaste.C: update tabular and include inset
5740 * paragraph.C: remove owningBuffer(), don't pass Buffer
5743 * factory.C: insetGraphicsParams changed
5745 2003-06-02 John Levon <levon@movementarian.org>
5751 * text3.C: remove insetparent
5753 2003-06-02 John Levon <levon@movementarian.org>
5756 * buffer.C: fix inset_iterator.end(), move out of line
5759 2003-06-01 John Levon <levon@movementarian.org>
5761 * text3.C: use a proper cut/paste when doing inset
5762 insert (from Jürgen Spitzmüller)
5764 2003-06-01 John Levon <levon@movementarian.org>
5766 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5768 2003-05-30 André Pönitz <poenitz@gmx.net>
5770 * rowpainter.C: unify second drawing phase
5772 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * trans_mgr.C: remove one case of current_view
5776 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5778 * paragraph_funcs.h: remove paragraph.h include
5780 * paragraph.h: delete NO_STD_LIST stuff
5782 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5784 * buffer.h: remove paragraph.h include
5786 * ParagraphList.C: delete file
5788 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5790 * toc.C (getTocList): adjust
5792 * paragraph_pimpl.C (validate): adjust
5794 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5796 * paragraph.C (Paragraph): adjust
5797 (getPositionOfInset): use const_iterator, adjust
5798 (bibitem): use const_iterator, adjust
5799 (setInsetOwner): adjust
5801 * iterators.C (operator++): adjust
5803 * InsetList.[Ch]: Replace selfmade iterator with standard
5804 vector::iterator also introduce const_iterator. Remove getPos,
5805 getInset and setInset from InsetTable. Adjust accordingly.
5807 * BufferView.C (lockInset): adjust
5808 (ChangeInsets): adjust
5810 * tabular.[Ch]: delete commented same_id functions
5812 2003-05-28 John Levon <levon@movementarian.org>
5814 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5816 2003-05-28 André Pönitz <poenitz@gmx.net>
5818 * metricsinfo.[Ch]: remove 'fullredraw' member
5820 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5822 * lyxtextclass.C (operator): remove caching.
5824 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * text2.C (cursorBottom): adjust
5829 (setCounter): use ParagraphList::find, adjust
5831 * text.C (workWidth): use ParagraphList::find, adjust
5833 * lyxcursor.C (LyXCursor): adjust
5835 * buffer.C (inset_iterator): adjust
5837 * ParagraphList.h: make iterator(value_type) private, make
5838 ParagraphList a friend of iterator.
5840 * ParagraphList.C (find): new function
5842 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5844 2003-05-27 André Pönitz <poenitz@gmx.net>
5846 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5848 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5850 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5852 2003-05-26 John Levon <levon@movementarian.org>
5854 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5856 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5858 * remove same_id from function signatures, adjust.
5860 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5862 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5864 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5866 * paragraph.C (Paragraph): get rid of same_ids parameter
5868 * ParagraphList.C (insert): adjust
5871 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * paragraph_funcs.C (breakParagraph): adjust
5874 (breakParagraphConservative): adjust
5876 * buffer.C (readParagraph): adjust
5878 * ParagraphList.C (insert): take a reference instead of a pointer
5881 * paragraph.[Ch] (id): new function
5883 * bufferlist.C (newFile): adjust
5885 * ParagraphList.C (ParagraphList): adjust
5887 (push_back): take a reference instead of a pointer.
5889 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5891 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5894 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5895 set else use old code.
5897 * ParagraphList.C: remove all NO_NEXT code and only compile this
5898 code of NO_STD_LIST is set.
5900 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5902 * BufferView_pimpl.C:
5912 * graphics/GraphicsConverter.C:
5913 * graphics/PreviewLoader.C: header adjustment
5915 2003-05-23 Angus Leeming <leeming@lyx.org>
5917 * LaTeXFeatures.[Ch] (useBabel): new method.
5918 * bufferparams.C (writeLaTeX): use it.
5920 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5922 * ParagraphList.h (set): remove unused function.
5924 2003-05-23 André Pönitz <poenitz@gmx.net>
5927 * BufferView_pimpl.C:
5931 * undo_funcs.C: setUndo reworked
5933 * iterators.[Ch]: add access to topmost ParagraphList
5935 * lyxtext.[Ch] (workWidth): add a const
5937 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5939 * texrow.[Ch] (increasePos): remove function
5940 * exporter.C (export): removed unused var and outdated comment
5942 2003-05-23 Angus Leeming <leeming@lyx.org>
5944 * latexrunparams.h: rename fragile as moving_arg.
5945 * paragraph.C (simpleTeXOnePar): ditto.
5946 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5948 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5952 (textUndoOrRedo): comment out a currently unused var.
5954 * paragraph.h (NO_NEXT): enable NO_NEXT
5956 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5958 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5960 * exporter.C (Export): adjust for removeAutoInsets removal.
5962 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5964 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5966 * BufferView.[Ch] (removeAutoInsets): delete function
5968 2003-05-22 Angus Leeming <leeming@lyx.org>
5970 * latexrunparams.h: add a free_spacing variable.
5972 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5973 to pass moving_arg, as the data is stored in runparams.fragile.
5975 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5976 to Inset::latexOptional or to simpleTeXOnePar.
5978 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5979 free_spacing arg to Inset::latexOptional.
5981 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5984 2003-05-22 Angus Leeming <leeming@lyx.org>
5986 * latexrunparams.h: add fragile and use_babel variables.
5988 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5989 * buffer.C (makeLaTeXFile): store this returned value in
5990 runparams.use_babel, thus passing it to the inset::latex methods.
5992 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5993 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5995 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5996 longer has a fragile arg, as it is stored in runparams.fragile.
5998 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5999 moving_arg parameter as the data is stored in runparams.fragile.
6001 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6002 a fragile parameter as the data is stored in runparams.fragile.
6004 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6008 2003-05-22 Angus Leeming <leeming@lyx.org>
6010 * latexrunparams.h: add a 'bool nice' which defaults to false.
6012 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6013 now encapsulated within runparams.
6015 * bufferlist.C (updateIncludedTeXfiles):
6016 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6018 2003-05-22 Angus Leeming <leeming@lyx.org>
6020 * latexrunparams.h: new file containing struct LatexRunParams.
6021 * Makefile.am: add new file.
6023 * LaTeX.[Ch] (c-tor, run):
6024 * buffer.[Ch] (makeLaTeXFile):
6025 * bufferlist.[Ch] (updateIncludedTeXfiles):
6026 * converter.C (convert, scanLog):
6027 * converter.[Ch] (runLaTeX):
6028 * exporter.C (Export):
6029 * paragraph.[Ch] (simpleTeXOnePar):
6030 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6031 * paragraph_funcs.[Ch] (latexParagraphs):
6032 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6033 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6034 pass around a LatexRunParams parameter.
6036 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6038 * paragraph.[Ch]: remove unused constructor
6040 * ParagraphList.C (erase): new function, taking two iterators
6042 2003-05-22 André Pönitz <poenitz@gmx.net>
6044 * undo_funcs.C: remove duplicated code
6046 * iterator.[Ch]: operator=
6048 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6050 * tabular.C (SetMultiColumn): ws changes
6052 * rowpainter.C (paintFirst): get rid of a ->previous
6054 * lyx_cb.C (getPossibleLabel): parlist simplification
6056 * BufferView.C (ChangeInsets): simplify slightly.
6058 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6060 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6061 * lfuns.h: new LFUN_SPACE
6062 * lyxfunc.C: protected space has a new lfun
6063 * paragraph_funcs.C: read new space insets
6065 * factory.C: handle new space insets
6067 2003-05-22 André Pönitz <poenitz@gmx.net>
6070 * BufferView_pimpl.C:
6073 * undo_funcs.C: return a ParIterator from getParFromID.
6075 * iterators.[Ch]: add two const's
6077 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * toc.C (getTocList): adjust
6081 * iterators.[Ch]: rework for parlist
6083 * buffer.C (par_iterator_begin): adjust
6084 (par_iterator_end): adjust
6086 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6088 * BufferView.C (removeAutoInsets): adjust
6089 (ChangeInsets): adjust
6091 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6093 * text.C (top_y): fix bug 1110
6095 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6097 * errorlist.[Ch]: added
6100 * BufferView_pimpl.C:
6101 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6104 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * Makefile.am: ensure that lyx is relinked upon changes to the
6107 various "convenience" libs.
6109 2003-05-20 Angus Leeming <leeming@lyx.org>
6111 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6112 files are compiled in alphabetical order again.
6114 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6116 2003-05-19 Angus Leeming <leeming@lyx.org>
6118 * gettext.[Ch]: remove "char const * _(char const *)".
6120 2003-05-19 André Pönitz <poenitz@gmx.net>
6122 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6131 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6133 2003-05-19 André Pönitz <poenitz@gmx.net>
6137 * lyxtextclass.[Ch]:
6139 * paragraph_funcs.[Ch]:
6141 * text3.C: more insetenv work
6143 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6145 * ParagraphParameters.C (params2string): small bug fixed
6147 2003-05-16 André Pönitz <poenitz@gmx.net>
6150 * bufferview_funcs.C: patch from Kornel Benko to prevent
6151 crash when _(...) is called twice in a statement
6153 2003-05-16 André Pönitz <poenitz@gmx.net>
6160 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6162 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6164 * lyx_main.C (init): remove spurious static_cast
6166 2003-05-14 André Pönitz <poenitz@gmx.net>
6168 * BufferView.C: fix format string
6170 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6172 * BufferView.[Ch] (insertErrors): removed
6173 * BufferView.[Ch] (showErrorList): added
6174 * buffer.C (runChkTeX):
6175 * converter.C (scanLog): call showErrorList instead of inserterrors
6177 2003-05-13 André Pönitz <poenitz@gmx.net>
6179 * BufferView_pimpl.C:
6181 * bufferview_func.C:
6188 * tabular_funcs.h: tostr() from its own header
6190 * ParagraphParameters.C:
6195 * text3.C: STRCONV()
6197 2003-05-12 André Pönitz <poenitz@gmx.net>
6200 * BufferView_pimpl.C:
6204 * ParagraphParameters.C:
6208 * bufferview_funcs.C:
6221 * paragraph_funcs.C:
6225 * text3.C: boost::format -> bformat all over the place
6228 2003-05-09 André Pönitz <poenitz@gmx.net>
6230 * LColor.[Ch]: Pimpl the #include <map> away
6232 2003-05-09 John Levon <levon@movementarian.org>
6234 * bufferlist.C: never remove emergency saves
6236 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6238 * Makefile.am: better lib building
6240 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6244 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6245 (simpleTeXSpecialChars): adjust
6246 (simpleTeXSpecialChars): adjust
6247 * paragraph.C (simpleTeXOnePar): adjust
6248 * buffer.C (makeLaTeXFile): adjust
6250 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6252 * text2.C (changeDepth): parlist cleanup
6253 (getColumnNearX): ditto
6255 * rowpainter.C (getLabelFont): parlist cleanup
6257 * bufferlist.C (newFile): parlist cleanup
6259 * CutAndPaste.C (eraseSelection): parlist cleanup
6261 * BufferView_pimpl.C (trackChanges): parlist cleanup
6264 * BufferView.C (lockInset): parlist cleanup.
6265 (ChangeInsets): ditto
6267 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6269 * CutAndPaste.h: Update file header.
6271 * CutAndPaste.C: Update file header.
6272 Store the parts cut out of the Document in a limited_stack.
6273 (copySelection): adjust
6274 (pasteSelection): new function, takes the index in the limited stack.
6275 (nrOfParagraphs): adjust
6276 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6277 simplify error inset insertion.
6278 (checkPastePossible): adjust
6280 2003-05-06 John Levon <levon@movementarian.org>
6282 * text2.C: don't cast wrap inset to float
6284 2003-05-05 André Pönitz <poenitz@gmx.net>
6287 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6289 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6290 few naked Paragraph *.
6292 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6294 * bufferparams.C: Output warning if a document with missing
6295 TeX document class is loaded
6296 * exporter.C: Disable TeX exports if the document class is missing
6299 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6300 isTeXClassAvailable()
6302 2003-05-03 John Levon <levon@movementarian.org>
6305 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6306 explicit cursor show/hide
6308 * BufferView_pimpl.h:
6309 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6310 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6312 * lyxfunc.C: hide cursor before dispatching.
6317 * text3.C: remove explicit cursor hides
6319 2003-05-02 André Pönitz <poenitz@gmx.net>
6321 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6324 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6327 * text2.C: tiny whitespace
6329 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * undo_funcs.C: almost only ws changes.
6333 * ParagraphList.C (splice): just return if pl is empty.
6335 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6337 * ParagraphList.C (splice): new function.
6339 * CutAndPaste.C (pasteSelection): use it
6341 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6343 * CutAndPaste.C (pasteSelection): remove the last next and
6344 previous from this file.
6346 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * CutAndPaste.C (pasteSelection): more clean up, user proper
6349 ParagraphList functions for pasteing.
6351 * ParagraphList.C (insert): new function, three arg insert
6353 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6355 * ParagraphList.C (insert): new function, three arg insert
6357 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6360 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6364 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6366 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6368 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6370 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6371 (copySelection): clean up a bit.
6372 (pasteSelection): use make_pair
6374 * ParagraphList.C (ParagraphList): implement copy constructor
6375 (operator=): implement, base on copy constructor.
6378 * paragraph.C (erase): return a bool
6380 * paragraph_pimpl.C (erasePos): remove function, move contents...
6381 (erase): ... here. Return a bool.
6382 (erase): call erase instead of erasePos.
6384 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6386 * ParagraphList.h: define PitPosPair
6387 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6388 ParagraphList, fix a bug on pasting multiple pars
6389 * text2.C: change interface to C&P
6391 2003-04-30 André Pönitz <poenitz@gmx.net>
6393 * undo_func.C: revert part of yesterday's patch 2
6395 2003-04-30 John Levon <levon@movementarian.org>
6397 * LColor.C: s/tabular/table/
6399 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * text3.C (dispatch): do not convert iterator -> pointer
6402 * undo_funcs.C (setCursorParUndo): ditto
6403 * text_funcs.C (transposeChars): ditto
6405 * text2.C (setLayout): ws changes only
6407 * text.C (breakParagraph): do not convert iterator -> pointer
6409 (acceptChange): ditto
6410 (rejectChange): ditto
6415 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6418 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6420 * text3.C (gotoInset): YABG (yet another bad getChar)
6422 2003-04-29 André Pönitz <poenitz@gmx.net>
6424 * paragraph.h: make operator= private unimplemented as long as
6427 * ParagraphList.C: whitespace
6430 * paragraph_pimpl.[Ch]:
6431 * paragraph_funcs.C:
6433 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6436 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6438 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6440 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6441 * paragraph.[Ch] (erase):
6442 * paragraph_pimpl.[Ch] (erase): change return type and value
6443 * text2.C (cutSelection): some rework
6445 2003-04-28 John Levon <levon@movementarian.org>
6447 * bufferlist.C: changes for unsaved changes dialog
6449 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * bufferlist.C (newFile): set language (messages_) for new
6454 * buffer.C (readFile): ws changes only.
6456 2003-04-28 André Pönitz <poenitz@gmx.net>
6461 * BufferView_pimpl.C:
6462 * BufferView.C: getParFromID related ParagraphList::iterator changes
6464 2003-04-28 André Pönitz <poenitz@gmx.net>
6466 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6469 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6471 * messages.C: remove one more localedir class variable.
6473 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * messages.C (getLocaleDir): singleton generation function
6477 (Messages): add a default constructor.
6479 * main.C (main): do not setup localedir here, do not call
6482 * gettext.C (_): use it.
6483 (gettext_init): delete funciton
6485 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * gettext.C (getLyXMessages): new singleton generating function.
6489 * buffer.C (updateDocLang): adjust
6491 * Makefile.am (messages.o): add target
6492 (main.o): remove target
6494 2003-04-27 John Levon <levon@movementarian.org>
6499 * lyxvc.C: specify cancel button in Alert::prompt
6501 2003-04-26 John Levon <levon@movementarian.org>
6506 * LyXAction.C: add LFUN_INSET_SETTINGS
6508 * lyxfunc.C: don't enable tabular-feature when there's
6509 just any locking inset
6511 2003-04-26 John Levon <levon@movementarian.org>
6513 * bufferlist.C: re-add Cancel to buffer close question
6515 * lyxfunc.C: fix import UI a bit
6517 2003-04-25 John Levon <levon@movementarian.org>
6519 * gettext.C: remove the broken asserts for now
6521 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * messages.C: make case where setlocale cannot comply work better.
6525 * buffer.C (updateDocLang): new function
6526 (changeLanguage): use it
6529 * text2.C (setCounter): use B_ a bit.
6531 * lyxlayout.C (Read): be sure to trim the label strings.
6533 * messages.C (Messages): fix typo in comment
6535 * buffer.C (readFile): set message_ after file is loaded.
6536 (makeDocBookFile): remove double return
6537 (changeLanguage): reset message_ upon language change.
6538 (B_): new func, use this to get translated buffer strings.
6540 * main.C: add myself and Jean Marc as authors.
6542 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * messages.[hC]: pimplify Messages, and three different pimpls to be
6545 used in different circumstances.
6547 * gettext.[Ch]: change for use with new message code.
6549 2003-04-24 André Pönitz <poenitz@gmx.net>
6551 * factory.C: support for eqref
6553 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * messages.[Ch]: add missing char
6557 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6559 * messages.[Ch]: New files
6561 2003-04-18 John Levon <levon@movementarian.org>
6565 * BufferView_pimpl.C:
6569 * text2.C: remove layout-copy/paste (bug 778)
6571 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6573 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6575 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6577 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6578 if they succeed. Act accordingly.
6580 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * text2.C (setCharFont): adjust
6583 (setCounter): adjust
6584 (insertStringAsLines): adjust
6586 * text.C (leftMargin): adjust
6587 (setHeightOfRow): adjust
6589 * rowpainter.C (paintFirst): adjust
6592 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6594 (isFirstInSequence): ditto
6595 (getEndLabel): ditto
6598 * paragraph.C (getParLanguage): comment out some hard stuff.
6600 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6602 (simpleDocBookOnePar): ditto
6603 (makeDocBookFile): use ParagraphList::iterator
6605 * CutAndPaste.C (pasteSelection): adjust
6607 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * text2.C (getFont): adjust
6610 (getLayoutFont): adjust
6611 (getLabelFont): adjust
6613 * paragraph_funcs.C (TeXOnePar): adjust
6615 * buffer.C (simpleLinuxDocOnePar): adjust
6616 (simpleDocBookOnePar): adjust
6618 * CutAndPaste.C (pasteSelection): adjust
6620 * BufferView.C (getEncoding): adjust
6622 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6624 2003-04-16 John Levon <levon@movementarian.org>
6626 * lyxfind.C: use parlist stuff for search/changes
6628 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6632 * text2.C (deleteEmptyParagraphMechanism): adjust
6634 * text2.[Ch] (ownerParagraph): delete func (both of them
6636 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6640 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * ParagraphList.C: prepare for NO_NEXT
6644 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6646 * text2.C (getFont): adjust
6647 (getLayoutFont): adjust
6648 (getLabelFont): adjust
6650 * paragraph.C (getFont): adjust
6651 (getLabelFont): adjust
6652 (getLayoutFont): adjust
6654 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6656 2003-04-15 John Levon <levon@movementarian.org>
6660 * lyx_main.C: handle Include in .ui files
6662 2003-04-15 John Levon <levon@movementarian.org>
6664 * MenuBackend.C: make the doc files length shorter
6667 * ToolbarBackend.C: handle toolbar placement flags,
6670 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6672 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6675 * paragraph_funcs.C (TeXOnePar): adjust
6677 * paragraph.C (getLabelFont): add outerfont arg, adjust
6678 (getLayoutFont): ditto
6679 (simpleTeXOnePar): adjust
6681 * paragraph_pimpl.C (realizeFont): delete func
6683 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6685 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6686 row argument, constify cur argument.
6688 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * text2.C (getFont): adjust
6691 (getLayoutFont): adjust
6692 (getLabelFont): adjust
6694 * paragraph_funcs.C (TeXOnePar): adjust
6695 (outerFont): new func...
6696 (realizeFont): ...moved out from here, changed this to facilitate
6699 * paragraph.C (getFont): take outerfont as arg, adjust
6700 (simpleTeXOnePar): add outerfont arg, adjust
6702 * buffer.C (simpleLinuxDocOnePar): adjust
6703 (simpleDocBookOnePar): adjust
6705 * CutAndPaste.C (pasteSelection): adjust
6707 * BufferView.C (getEncoding): adjust
6709 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * text2.C (setCharFont): adjust
6712 (setCounter): adjust
6714 * text.C (leftMargin): adjust
6715 (setHeightOfRow): adjust
6717 * rowpainter.C (paintFirst): adjust
6720 * paragraph_pimpl.C (realizeFont): adjust
6722 * paragraph.C (isFirstInSequence): move from here...
6723 * paragraph_funcs.C (isFirstInSequence): ...to here
6725 * paragraph.C (outerHook): move from here...
6726 * paragraph_funcs.C (outerHook): ...to here
6728 * paragraph.C (depthHook): move from here...
6729 * paragraph_funcs.C (depthHook): ...to here
6731 * paragraph.C (getEndLabel): move from here...
6732 * paragraph_funcs.C (getEndLabel): ...to here
6734 * text2.C (realizeFont): move from here...
6735 * paragraph_funcs.C (realizeFont): ...to here
6737 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6739 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6741 2003-04-14 Angus Leeming <leeming@lyx.org>
6743 * LColor.[Ch]: scrap LColor mathcursor.
6745 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * lyxlex.[Ch] (text): delete function
6748 * trans.C (Load): adjust
6749 * paragraph_funcs.C (readParToken): adjust
6751 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6753 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6754 vector<char> instead of a char[].
6756 * lyxlex_pimpl.C (getString): adjust
6758 (lex): use getString
6762 * lyxlex.C (text): use pimpl_->getString()
6766 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6768 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6769 (makeFontEntriesLayoutSpecific): temp var for par.size()
6770 (setLayout): temp var for ownerParagraphs().end()
6771 (fullRebreak): temp var for rows().end()
6772 (selectionAsString): temp var for boost::next(startpit), realize
6773 that the while really is a regular for loop.
6774 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6775 setCursor in one place.
6776 (setParagraph): temp vr for ownerParagraphs().end()
6777 (updateCounters): make the while loop a for loop
6778 (cutSelection): temp var for ownerParagraphs().end()
6779 (updateInset): make the do {} while() a regular for loop
6780 (getCursorX): use temp vars
6781 (setCurrentFont): use temp vars
6782 (getColumnNearX): use temp vars
6784 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * text.C (transformChar): use temp var for getChar
6787 (computeBidiTables): use temp var for row->par()
6788 (fill): move temp vars for row->par() and pit->layout() earlier in
6790 (labelFill): use temp var for row->par()
6791 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6792 asc and desc, realize that pit never changes and that firstpit is
6793 just a duplicate and not needed. Exchange rit->par() with pit in a
6795 (breakAgain): use a temp var for boost::next(rit)
6796 (breakAgainOneRow): ditto
6797 (breakParagraph): use a temp var for rows().begin()
6798 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6799 (cursorRightOneWord): use temp var for cursor.par() and
6800 cursor.pos(), remove usage of tmpcursor.
6801 (cursorLeftOneWord): use temp var for cursor.par() and
6802 cursor.pos() only set cur at end of function.
6804 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6806 * text.C, text2.C: exchange all usage of Paragraph::next with
6807 boost::next(ParagraphList::iterator)
6809 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6811 * text2.C (cursorTop): simplify implementation
6812 (cursorBottom): ditto
6813 (setParagraph): use ParagraphList::iterator
6814 (setCurrentFont): adjust
6815 (getColumnNearX): adjust
6816 (cursorRight): adjust
6817 (cursorLeft): remove usage of Paragraph::previous
6818 (cursorUpParagraph): ditto
6819 (deleteEmptyParagraphMechanism): slight cleanup
6821 * text.C (isBoundary): take a Paragraph const & instead of a
6823 (addressBreakPoint): ditto
6824 (leftMargin): remove usage of Paragraph::previous.
6825 (setHeightOfRow): ditto
6826 (cursorLeftOneWord): ditto
6827 (selectNextWordToSpellcheck): ditto
6830 (breakParagraph): remove one usage of Paragraph::next
6831 (redoParagraph): ditto
6832 (acceptChange): ditto
6833 (insertChar): adjust
6834 (rowBreakPoint): adjust
6836 * bufferview_funcs.C (toggleAndShow): adjust
6838 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6840 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6841 methods to access it.
6843 * text.C: Added updateRowPositions to compute all row positions.
6844 Make top_y and getRowNearY() to use the cached y position
6846 2003-04-11 John Levon <levon@movementarian.org>
6848 * text.C (rowBreakPoint): reintroduce the labelEnd
6849 checks, code copied from the row fill stuff. Deep voodoo.
6851 * text.C (fill): add a comment and debugging for the
6854 2003-04-11 John Levon <levon@movementarian.org>
6856 * text.C: make sure fullrow insets get wrapped to the next line,
6857 even when they're in a manual label
6859 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * text2.C (insertParagraph): make it take ParagraphList::iterator
6863 (setLayout): make it return ParagraphList::iterator
6864 (redoParagraphs): ditto
6866 (checkParagraph): ditto
6868 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6870 * text2.C: adjust several funcs.
6871 (realizeFont): take a ParagraphList::iterator as arg.
6872 (getLayoutFont): ditto
6873 (getLabelFont): ditto
6874 (setCharFont): ditto
6876 * text.C: adjust several funcs.
6878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6880 * text.C (selectNextWordToSpellcheck): don't accidentally
6883 2003-04-10 John Levon <levon@movementarian.org>
6885 * ToolbarBackend.C (getIcon): special handling for
6888 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6890 * text2.C (cursorRight): a getChar assert fixed
6892 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * text2.C (getFont): change to take a ParagraphList::iterator
6895 instead of Paragraph*
6896 Adjust several functions.
6898 * text.C (transformChar): change to take a ParagraphList::iterator
6899 instead of Paragraph*
6900 (singleWidth): ditto
6901 Adjust several functions.
6903 * rowpainter.C: adjust several functions
6904 * rowpainter.h:store a ParagraphList::iterator and not a
6908 2003-04-09 John Levon <levon@movementarian.org>
6913 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6914 and the "help" bits as well
6916 2003-04-09 John Levon <levon@movementarian.org>
6919 * ToolbarBackend.C: allow multiple toolbars
6921 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6923 * undo_funcs.C (setCursorParUndo): adjust
6925 * text_funcs.C (transposeChars): adjust
6927 * text3.C (gotoNextInset): adjust
6930 * text2.C (setLayout): adjust
6931 (changeDepth): adjust
6933 (redoParagraphs): adjust
6934 (selectionAsString): adjust
6935 (setParagraph): adjust
6936 (insertInset): adjust
6937 (cutSelection): adjust
6938 (copySelection): adjust
6939 (pasteSelection): adjust
6940 (insertStringAsLines): adjust
6941 (updateInset): adjust
6942 (setCursor): change to take a ParagraphList::iterator parameter
6943 (setCursorIntern): change to take a ParagraphList::iterator parameter
6944 (setCurrentFont): adjust
6945 (cursorLeft): adjust
6946 (cursorRight): adjust
6947 (deleteEmptyParagraphMechanism): adjust
6949 * text.C (breakParagraph): adjust
6950 (insertChar): adjust
6951 (acceptChange): adjust
6952 (rejectChange): adjust
6953 (selectNextWordToSpellcheck): adjust
6954 (changeCase): adjust
6958 * lyxfind.C (SearchForward): adjust
6959 (SearchBackward): adjust
6960 (nextChange): adjust
6962 * lyxcursor.C (par): adjust
6964 * lyxcursor.h: store a ParagraphList::iterator instead of a
6967 * lyx_cb.C (getPossibleLabel): adjust
6969 * bufferview_funcs.C (toggleAndShow): adjust
6971 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6974 * BufferView.C (removeAutoInsets): adjust
6975 (lockedInsetStoreUndo): adjust
6977 2003-04-09 John Levon <levon@movementarian.org>
6979 * ToolbarBackend.C: try icon without argument
6980 if with argument fails
6982 2003-04-08 John Levon <levon@movementarian.org>
6985 * ToolbarBackend.C: add getIcon(), handle tooltip,
6986 and change from "Icon" to "Item".
6988 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6990 * BufferView.C (lockInset): another bad getchar crunched
6992 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6994 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6997 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6999 * lyxfind.C (searchForward, searchBackwards): bug 782
7001 2003-04-07 John Levon <levon@movementarian.org>
7003 * paragraph.C: remove dead comment
7005 * text.C: remove troublesome depth-fiddling code
7006 in leftMargin() and rightMargin() (bug 1017)
7008 * text.C: fix breaking of rows in nested lists
7011 * text2.C (updateCounters): fix up depth values
7014 2003-04-07 John Levon <levon@movementarian.org>
7016 * BufferView_pimpl.C: clear message when doc finishes resizing,
7017 and after a mouse event
7019 * lyxfunc.C: clear message after exiting inset
7021 2003-04-07 John Levon <levon@movementarian.org>
7023 * bufferview_funcs.C: show math status not outside
7024 status in the statusbar
7026 2003-04-07 John Levon <levon@movementarian.org>
7028 * lyxfunc.C: note status changed after a depth change
7030 2003-04-04 Angus Leeming <leeming@lyx.org>
7032 * LaTeX.h: move AuxInfo operator==, != out of line.
7033 Remove LaTeX virtual destructor; nothing derives from it.
7034 Move operator()() out of public area and rename it startscript().
7035 Change protected for private.
7037 2003-04-04 Angus Leeming <leeming@lyx.org>
7040 * text2.C: remove unneeded #includes.
7042 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7044 * text2.C (dEPM): fix the heigth of the next row
7046 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7048 * text.C: squashed an invalid getChar requester + some ws changes
7050 2003-04-03 John Levon <levon@movementarian.org>
7052 * bufferview_funcs.h:
7053 * bufferview_funcs.C:
7056 * text2.C: make getStatus work for the env depth lfuns
7058 2003-04-03 John Levon <levon@movementarian.org>
7060 * bufferview_funcs.h:
7061 * bufferview_funcs.C:
7064 * text2.C: parlistize decDepth(), by merging it with incDepth()
7066 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * lyxrow.h: store a ParagraphList::iterator instead of a
7069 Paragraph* and adjust other class functions to suit.
7071 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7074 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7076 * text2.C (setCursor): do not anchor to cursor row for the time being
7078 2003-04-02 John Levon <levon@movementarian.org>
7085 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7087 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * paragraph.h: make ParagraphList and ParagraphList::iterator
7090 friends of Paragraph.
7092 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7094 * ParagraphList.C: Use the private next_ and previous_ from
7097 2003-04-01 John Levon <levon@movementarian.org>
7101 * Makefile.am: rename, remove defaults gunk
7104 * MenuBackend.C: remove defaults gunk
7107 * Languages.C: remove defaults gunk
7110 * lyx_main.C: error out if files couldn't be found.
7112 2003-04-02 John Levon <levon@movementarian.org>
7114 * text2.C: make incDepth() use parlist
7116 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * undo_funcs.C (firstUndoParagraph): adjust
7120 * text3.C (gotoInset): adjust
7121 (dispatch): adjust, and rewrite loop.
7123 * text2.C (init): adjust, and rewrite loop.
7124 (redoParagraphs): adjust
7125 (updateInset): adjust, and rewrite loop.
7126 (deleteEmptyParagraphMechanism): adjust
7128 * tabular.C (LyXTabular): adjust
7129 (SetMultiColumn): adjust
7132 * lyxtext.[Ch] (ownerParagraph): delete function
7133 (ownerParagraphs): new function returns a ParagraphList.
7135 * BufferView.C (removeAutoInsets): adjust
7136 (insertErrors): adjust
7137 (setCursorFromRow): adjust
7139 2003-04-01 Angus Leeming <leeming@lyx.org>
7141 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7144 2003-04-02 John Levon <levon@movementarian.org>
7150 * text_funcs.C: make transposeChars a free function
7152 * lyxrow_funcs.C: remove wrong comment
7154 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * rowpainter.C: adjust
7162 * lyxrow_funcs. [Ch]: new files
7164 * lyxrow.[Ch]: remove next and previous pointers
7165 (next,previous): remove accessor functions
7166 (isParEnd): move to lyxrow_funcs
7167 (lastPos): move to lyxrow_funcs
7168 (nextRowIsAllInset): move to lyxrow_funcs
7169 (lastPrintablePos): move to lyxrow_funcs
7170 (numberOfSeparators): move to lyxrow_funcs
7171 (numberOfHfills): move to lyxrow_funcs
7172 (numberOfLabelHfills): move to lyxrow_funcs
7173 (hfillExpansion): move to lyxrow_funcs
7177 * bufferview_funcs.C (toggleAndShow): adjust
7179 * RowList.h: Remove class RowList from file leave just a
7182 * RowList.C: delete file
7184 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7187 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7189 * text3.C (cursorPrevious): adjust
7190 (cursorNext): adjust
7193 * text2.C (redoHeightOfParagraph): adjust
7194 (redoDrawingOfParagraph): adjust
7197 * text.C (breakParagraph): adjust
7198 (insertChar): adjust
7201 * rowpainter.C (RowPainter): adjust
7202 (leftMargin): simplify and adjust
7203 (most rowpainter functions): adjust.
7205 * rowpainter.h: store the row as RowList::iterator not as Row*
7207 * lyxcursor.C (row): taka RowList::iterator as arg
7210 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7213 2003-04-01 Angus Leeming <leeming@lyx.org>
7215 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7216 stuff like bool Bool.
7218 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7220 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7223 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7228 * lyxtext.h (rows): drop one version and leve a const variant that
7229 returns a RowList::iterator.
7231 2003-03-31 Angus Leeming <leeming@lyx.org>
7233 * text.C (fill): ensure that the signature is the same as that in the
7236 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7238 * text2.C (redoParagraphs): adjust
7239 (updateCounters): adjust
7240 (checkParagraph): adjust
7241 (getColumnNearX): adjust and reformat a bit.
7243 * text.C (top_y): adjust
7245 (leftMargin): adjust
7246 (prepareToPrint): adjust
7248 (getRowNearY): adjust
7250 * lyxtext.h: make rowlist_ mutable.
7252 * RowList.h: add const_iterator
7253 * RowList.C: adjust for RowList::const_iterator.
7255 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7258 2003-03-31 John Levon <levon@movementarian.org>
7261 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7263 * lyx_main.C: set default fonts from using lyx_gui funcs
7265 * exporter.C: pdf_mode moved from lyxrc
7268 * lyxfunc.C: changes from above
7270 2003-03-31 John Levon <levon@movementarian.org>
7272 * lyx_main.C: fix to the last fix
7274 2003-03-31 John Levon <levon@movementarian.org>
7276 * bufferlist.C: "Load original" -> "Load Original"
7282 * format.C: more Alert cleanups
7284 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7286 * text2.C (removeParagraph): make it take a RowList::iterator as
7288 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7289 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7291 * text.C (anchor_row): make it take a RowList::iterator as arg,
7293 (computeBidiTables): make it take a const reference to Row instead
7294 of Row pointer, adjust.
7295 (leftMargin): make it take a RowList::iterator as arg, adjust.
7296 (rowBreakPoint): adjust
7297 (breakAgainOneRow): make it take a RowList::iterator as arg,
7299 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7301 * bufferview_funcs.C (toggleAndShow): adjust
7303 2003-03-30 John Levon <levon@movementarian.org>
7307 * boost-inst.C: moved to support
7309 * several files: changes as a result
7311 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * text2.C (LyXText): adjust.
7315 (removeRow): make it take a RowList::iterator as arg, adjust.
7316 (fullRebreak): adjust
7317 (deleteEmptyParagraphMechanism): adjust
7318 (clearPaint): adjust
7321 * text.C (top_y): adjust
7322 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7323 (breakAgain): make it take a RowList::iterator as arg, adjust.
7324 (breakParagraph): adjust
7325 (insertChar): adjust
7328 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7329 need_break_row, and refresh_row.
7331 * text3.C (dispatch): adjust
7333 * text2.C (checkParagraph): adjust
7335 (setCursorFromCoordinates): adjust
7337 * text.C (top_y): adjust
7339 (getRow): make it return a RowList::iterator, adjust
7340 (getRowNearY): make it return a RowList::iterator, adjust
7342 * text2.C (init): adjust
7343 (insertRow): remove function
7344 (insertParagraph): adjust
7345 (redoParagraphs): adjust
7346 (fullRebreak): adjust
7347 (updateCounters): adjust
7349 * text.C (top_y): rewrite to use RowList iterators.
7351 (setHeightOfRow): rewrite to sue RowList iterators.
7352 (appendParagraph): adjust
7353 (breakAgain): adjust
7354 (breakAgainOneRow): adjust
7355 (breakParagraph): adjust
7357 (getRowNearY): adjust, and remove commented code.
7359 * lyxtext.h (firstRow): delete function
7360 (lastRow): delete function
7361 (rows): new function (const and non-const versions.)
7362 (insertRow): delete function
7364 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7366 2003-03-29 John Levon <levon@movementarian.org>
7368 * BufferView_pimpl.C: always update scrollbar top
7369 because pasting text when we're anchored could mean we
7370 miss an update altogether
7372 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7374 * text2.C (init): use rowlist_.end() and not 0.
7375 (insertRow): change to take a RowList::iterator as arg, adjust
7377 (insertParagraph): change to take a RowList::iterator as arg,
7379 (redoParagraphs): remove some debug msgs.
7381 * text.C (appendParagraph): change to take a RowList::iterator
7382 arg, adjust for this.
7383 (breakAgain): add an assert
7384 (breakAgainOneRow): ditto
7386 2003-03-29 John Levon <levon@movementarian.org>
7388 * text2.C: do not clear selection after inc/decDepth
7391 2003-03-29 John Levon <levon@movementarian.org>
7394 * buffer.C: fix broken strerrors according to Lars
7396 2003-03-29 John Levon <levon@movementarian.org>
7398 * converters.C: more Alert cleanups
7400 2003-03-29 John Levon <levon@movementarian.org>
7402 * bufferview_funcs.C: remove pointless Alert
7404 * buffer.C: fix confusing error message when
7405 a template is chmoded 000
7407 2003-03-29 John Levon <levon@movementarian.org>
7411 * BufferView_pimpl.C: Alert fixes
7415 * tabular-old.C: remove unused table compat reading
7417 2003-03-29 John Levon <levon@movementarian.org>
7422 * lyx_cb.C: more Alert cleanups
7424 * lyxfunc.C: don't allow chktex if not latex document
7426 2003-03-29 John Levon <levon@movementarian.org>
7430 * buffer.C: warnings pushed down from support/,
7433 2003-03-29 John Levon <levon@movementarian.org>
7435 * lyxfunc.C: safety check for C-r (revert)
7437 2003-03-29 John Levon <levon@movementarian.org>
7440 * bufferlist.C: several UI fixes using Alert::prompt.
7441 Fix the pointless looping quit code. Fix stupid revert
7446 * lyx_cb.C: use Alert::prompt
7448 * lyx_main.C: remove a silly question
7450 * lyxfunc.C: remove a couple of silly questions,
7453 2003-03-28 John Levon <levon@movementarian.org>
7455 * text2.C: fix bug 974 (End on empty par)
7457 2003-03-28 John Levon <levon@movementarian.org>
7459 * BufferView_pimpl.C:
7461 * lfuns.h: remove do-nothing math greek lfuns
7463 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7465 * lyxgluelength.h (isValidGlueLength): add default arg on
7466 parameter 2. Remove default arg from friend in class.
7468 * lyxlength.h (isValidLength): add default arg on parameter 2.
7469 Remove default arg from friend in class.
7471 * text2.C (LyXText): adjust, initialize refresh_row.
7475 (insertParagraph): adjst
7476 (redoParagraphs): adjust
7477 (fullRebreak): adjust
7478 (updateCounters): adjust
7479 (deleteEmptyParagraphMechanism): first attempt at fixing a
7482 * text.C (top_y): adjust
7483 (setHeightOfRow): adjust
7485 (getRowNearY): adjust
7487 * lyxtext.h: include RowList.h
7488 (~LyXText): not needed anymore, deleted.
7489 (firstRow): modify for RowList
7490 (lastRow): new function
7491 Delete firstrow and lastrow class variables, add a Rowlist
7492 rowlist_ class variable.
7494 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7497 * RowList.C (insert): fix case where it == begin().
7499 2003-03-26 Angus Leeming <leeming@lyx.org>
7501 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7502 the thesaurus dialog.
7504 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7506 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7508 * RowList.[Ch]: new files
7510 * ParagraphList.C (erase): handle the case where it == begin
7513 2003-03-25 John Levon <levon@movementarian.org>
7517 * aspell.C: add new aspell support
7520 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7523 2003-03-25 Angus Leeming <leeming@lyx.org>
7526 * LyXAction.C (init): new LFUN_INSET_INSERT.
7528 * BufferView_pimpl.C (dispatch): split out part of the
7529 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7531 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7534 2003-03-25 Angus Leeming <leeming@lyx.org>
7536 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7538 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7541 * text3.C: remove useless row->height(0)
7543 2003-03-25 John Levon <levon@movementarian.org>
7547 * text3.C: rename the refreshing stuff to better names
7549 2003-03-24 John Levon <levon@movementarian.org>
7551 * BufferView_pimpl.h:
7552 * BufferView_pimpl.C: update layout choice on a mouse
7555 2003-03-23 John Levon <levon@movementarian.org>
7557 * Makefile.am: fix commandtags.h reference
7559 2003-03-22 John Levon <levon@movementarian.org>
7561 * BufferView_pimpl.C:
7566 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7568 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7571 * text.C: take the rtl methods out of line
7573 2003-03-21 André Pönitz <poenitz@gmx.net>
7575 * metricsinfo.[Ch]: new files containing structures to be passed around
7576 during the two-phase-drawing...
7578 2003-03-21 André Pönitz <poenitz@gmx.net>
7580 * lyxtextclass.C: read 'environment' tag.
7582 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7584 * text2.C (removeRow): fix bug 964
7586 2003-03-20 John Levon <levon@movementarian.org>
7590 * text2.C: paint cleanups. Inset::update() dropped font
7593 2003-03-19 John Levon <levon@movementarian.org>
7595 * lyxfunc.C: only fitcursor/markDirty if available()
7597 2003-03-19 John Levon <levon@movementarian.org>
7599 * commandtags.h: rename to ...
7601 * lfuns.h: ... this, and renumber / cleanup
7603 2003-03-19 John Levon <levon@movementarian.org>
7605 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7606 fit the cursor after an lfun
7610 * BufferView_pimpl.h:
7611 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7613 * LyXAction.C: layout-character should have ReadOnly
7615 * ParagraphParameters.C:
7617 * bufferview_funcs.C:
7624 * undo_funcs.C: changes from above
7626 2003-03-18 John Levon <levon@movementarian.org>
7628 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7629 remove it from update()
7631 * lyxfunc.C: update layout choice after an lfun
7633 * text3.C: remove extra updateLayoutChoice()s
7635 2003-03-18 John Levon <levon@movementarian.org>
7637 * text.C: top_y change means full repaint, fix
7638 a drawing bug with cursor movement
7640 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7644 * text2.C: anchor row on setCursor
7646 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7648 * lyxtext.h: remove almost all mutable keywords
7651 * text3.C: remove const keywords accordingly
7653 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7657 (TeXEnvironment): ditto
7660 2003-03-17 John Levon <levon@movementarian.org>
7662 * text.C (rowBreakPoint): remove attempt to fix displayed
7663 math insets inside a manual label
7665 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7667 * lyxtext.h: remove BufferView* as first arg from almost all class
7669 * other files: adjust.
7671 2003-03-17 John Levon <levon@movementarian.org>
7675 * text2.C: more paint cleanups
7677 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7680 * rowpainter.C: remove "smart" background painting code
7682 2003-03-16 John Levon <levon@movementarian.org>
7687 * text3.C: add helper functions for setting refresh_row/y
7689 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7691 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7692 newline inset which *can* get inserted in the pass_thru layouts.
7693 This is primarily for literate documents.
7695 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7697 * buffer.C: increment LYX_FORMAT to 223
7699 2003-03-14 André Pönitz <poenitz@gmx.net>
7701 * textclass.h: prepare for environment handling, ws changes
7702 * lyxlayout.C: read latexheader and latexfooter tags
7704 2003-03-14 John Levon <levon@movementarian.org>
7706 * text2.C: rewrite ::status() a bit
7708 2003-03-13 John Levon <levon@movementarian.org>
7710 * lyxtext.h: add some docs
7712 2003-03-13 John Levon <levon@movementarian.org>
7717 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7719 2003-03-13 John Levon <levon@movementarian.org>
7721 * text3.C: fix appendix redrawing
7723 2003-03-13 John Levon <levon@movementarian.org>
7725 * text.C (setHeightOfRow):
7727 * rowpainter.C: make appendix mark have the text
7728 "Appendix" so the user knows what it is
7731 * LColor.C: s/appendixline/appendix/ from above
7733 2003-03-13 John Levon <levon@movementarian.org>
7735 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7737 * text.C: fix a getChar(pos) bug properly
7739 2003-03-13 Angus Leeming <leeming@lyx.org>
7742 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7743 Probably only temporary. Let's see how things pan out.
7745 * BufferView.C (unlockInset):
7746 * BufferView_pimpl.C (fitCursor):
7747 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7749 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7750 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7752 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7753 new functions that convert ParagraphParameters to and from a string.
7755 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7756 BufferView::Pimpl's dispatch.
7757 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7759 2003-03-13 André Pönitz <poenitz@gmx.net>
7763 * factory.C: make it aware of InsetEnv
7765 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7767 * text2.C (setCursor): never ask for one past last
7768 (setCursor): add some debugging messages.
7770 * text.C (singleWidth): never ask for one past last
7771 (singleWidth): ditto
7773 (rightMargin): ditto
7774 (rowBreakPoint): ditto
7775 (setHeightOfRow): ditto
7776 (prepareToPrint): ditto
7778 * rowpainter.C (paintBackground): never ask for one past last
7779 (paintText): never ask for one past last
7781 * paragraph_pimpl.C (getChar): make the assert stricter, never
7782 allow the one past last pos to be taken
7784 * paragraph.C (getChar): ws changes only
7786 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7787 (numberOfSeparators): ditto
7788 (numberOfHfills): ditto
7790 2003-03-12 John Levon <levon@movementarian.org>
7796 * paragraph_funcs.C: fix per-buffer authorlists
7798 2003-03-12 John Levon <levon@movementarian.org>
7800 * text.C: fix newline in right address
7802 2003-03-12 Angus Leeming <leeming@lyx.org>
7804 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7805 duplicate those in LyXFunc::dispatch.
7809 * ToolbarDefaults.C:
7810 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7811 Add LFUN_FONTFREE_UPDATE.
7813 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7814 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7816 * bufferview_func.[Ch]: several new functions to facilliate
7817 transfer of data to and from the character dialog.
7819 2003-03-12 John Levon <levon@movementarian.org>
7824 * paragraph_funcs.C:
7825 * paragraph_pimpl.C:
7829 * text3.C: remove META_NEWLINE in favour of an inset
7832 * rowpainter.C: remove paintNewline (done by inset)
7834 2003-03-12 John Levon <levon@movementarian.org>
7836 * paragraph_pimpl.C: complain about bad getChar()s
7837 for a while at least
7839 2003-03-12 John Levon <levon@movementarian.org>
7842 * buffer.C: move paragraph read into a separate function,
7843 a little renaming to reflect that.
7846 * bufferparams.C: remove the author_ids map, not necessary now
7849 * factory.C: moved Buffer::readInset to here
7851 * paragraph_funcs.h:
7852 * paragraph_funcs.C: readParagraph free function moved from
7855 * tabular.C: name change
7857 2003-03-12 John Levon <levon@movementarian.org>
7860 * ParagraphParameters.C: move par params input to
7863 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7864 behave like a normal read from the stream wrt reading
7865 a line vs. a \\token
7867 2003-03-12 John Levon <levon@movementarian.org>
7870 * ParagraphParameters.h:
7871 * ParagraphParameters.C: move output code to a
7874 2003-03-12 John Levon <levon@movementarian.org>
7876 * BufferView.C (insertLyXFile):
7879 * tabular.C: use a parlist iterator for creating the
7882 2003-03-12 John Levon <levon@movementarian.org>
7884 * buffer.C: make current_change static local not
7887 2003-03-12 John Levon <levon@movementarian.org>
7889 * buffer.C: fix insertStringAsLines for change tracking
7891 2003-03-12 John Levon <levon@movementarian.org>
7898 * bufferparams.C: move author list into params. Rename some
7899 functions. Move the header reading into a separate token
7900 loop. Move the header token reading into BufferParams.
7902 2003-03-12 John Levon <levon@movementarian.org>
7904 * changes.C: put debug inside lyxerr.debugging() checks
7906 2003-03-11 André Pönitz <poenitz@gmx.net>
7908 * factory.C: make it aware of InsetHFill
7910 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7912 * buffer.C (latexParagraphs): move function from here...
7913 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7916 2003-03-10 Angus Leeming <leeming@lyx.org>
7918 * LyXAction.C (init): fix bug in poplating array with multiple entries
7919 with the same LFUN (spotted by JMarc).
7921 2003-03-10 John Levon <levon@movementarian.org>
7924 * text2.C: move getColumnNearX() near its
7927 2003-03-10 John Levon <levon@movementarian.org>
7929 * text.C: fix break before a minipage
7931 2003-03-10 John Levon <levon@movementarian.org>
7933 * text.C: fix the last commit
7935 2003-03-09 John Levon <levon@movementarian.org>
7939 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7940 bug 365 (don't break before insets unless needed). Don't
7941 return a value > last under any circumstances.
7943 2003-03-09 Angus Leeming <leeming@lyx.org>
7945 * BufferView_pimpl.C (trackChanges, dispatch): call
7946 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7948 2003-03-09 Angus Leeming <leeming@lyx.org>
7950 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7951 than Dialogs::showAboutlyx().
7953 2003-03-09 Angus Leeming <leeming@lyx.org>
7955 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7956 than Dialogs::showTabularCreate().
7958 2003-03-09 John Levon <levon@movementarian.org>
7962 * text2.C: 3rd arg to nextBreakPoint was always the same.
7965 2003-03-08 John Levon <levon@movementarian.org>
7972 * text2.C: Remove the "main" bit from the "main body"
7975 2003-03-08 John Levon <levon@movementarian.org>
7977 * text.C (leftMargin): The left margin of an empty
7978 manual label paragraph should not include the label width
7981 * text.C (prepareToPrint): don't attempt to measure hfills
7982 for empty manual label paragraphs - the answer should be 0
7984 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * CutAndPaste.C: remove commented code and reindent.
7988 2003-03-08 John Levon <levon@movementarian.org>
7991 * lyxfunc.C: move reloadBuffer()
7994 * BufferView.C: to here
7996 * lyxvc.C: add comment
7999 * vc-backend.C: call bv->reload() to avoid
8000 getStatus() check on MENURELOAD
8002 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8004 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8005 to an old format .dep file.
8007 2003-03-07 Angus Leeming <leeming@lyx.org>
8009 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8010 when the LFUN_MOUSE_RELEASE should have been handled by
8011 inset->localDispatch.
8013 2003-03-07 Angus Leeming <leeming@lyx.org>
8015 * BufferView_pimpl.C (dispatch):
8016 * LyXAction.C (init):
8017 * ToolbarDefaults.C (init):
8019 * lyxfunc.C (getStatus):
8020 remove LFUN_INSET_GRAPHICS.
8022 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8024 2003-03-07 Angus Leeming <leeming@lyx.org>
8027 * LyXAction.C (init):
8028 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8030 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8033 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8035 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8036 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8038 2003-03-07 Angus Leeming <leeming@lyx.org>
8040 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8043 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8045 * ParagraphList.C (front): new function
8048 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8050 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8051 and top_row_offset_. removed var first_y.
8053 * text2.C (LyXText, removeRow):
8055 * BufferView_pimpl.C:
8056 use these methods instead of using first_y
8058 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8060 * text2.C (pasteSelection): adjust for checkPastePossible
8062 * CutAndPaste.C: remove Paragraph * buf and replace with
8063 ParagraphList paragraphs.
8064 (DeleteBuffer): delete
8065 (cutSelection): change the tc type to textclass_type
8066 (copySelection): change the tc type to textclass_type
8067 (copySelection): adjust for ParagraphList
8068 (pasteSelection): change the tc type to textclass_type
8069 (pasteSelection): adjust for Paragraphlist
8070 (nrOfParagraphs): simplify for ParagraphList
8071 (checkPastePossible): simplify for ParagraphList
8072 (checkPastePossible): remove unused arg
8074 * ParagraphList.C (insert): handle the case where there are no
8077 * CutAndPaste.h: make CutAndPaste a namespace.
8079 * text3.C (dispatch): adjust
8081 * text.C (breakParagraph): add a ParagraphList as arg
8083 * paragraph_funcs.C (breakParagraph): change to take a
8084 BufferParams and a ParagraphList as args.
8085 (breakParagraphConservative): ditto
8086 (mergeParagraph): ditto
8087 (TeXDeeper): add a ParagraphList arg
8088 (TeXEnvironment): ditto
8091 * buffer.C (readLyXformat2): adjust
8092 (insertStringAsLines): adjust
8093 (latexParagraphs): adjust
8095 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8096 (cutSelection): adjust
8097 (pasteSelection): adjust
8099 * BufferView_pimpl.C (insertInset): adjust
8101 2003-03-05 Angus Leeming <leeming@lyx.org>
8104 * LyXAction.C (init):
8105 * BufferView_pimpl.C (dispatch):
8106 * lyxfunc.C (getStatus):
8107 remove LFUN_CHILD_INSERT.
8109 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8111 2003-03-05 Angus Leeming <leeming@lyx.org>
8114 * LyXAction.C (init):
8115 * src/factory.C (createInset):
8116 * lyxfunc.C (getStatus):
8117 * text3.C (dispatch):
8118 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8120 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8122 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * ParagraphList.C (insert): handle insert right before end()
8125 (erase): fix cases where it can be first or last paragraph.
8127 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8130 Paragraph::next and Paragraph::previous
8133 * text.C (breakParagraph): adjust
8135 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8136 BufferParams& as arg.
8137 (breakParagraph): use ParagraphList::insert
8138 (breakParagraphConservative): take a Buffer* instead of a
8139 BufferParams& as arg.
8140 (breakParagraphConservative): use ParagraphList::insert.
8142 * buffer.C (insertStringAsLines): un-const it
8143 (insertStringAsLines): adjust
8145 * ParagraphList.C (insert): new function
8147 * CutAndPaste.C (pasteSelection): adjust
8149 * text.C (backspace): adjust
8151 * tabular.C (SetMultiColumn): adjust
8153 * CutAndPaste.C (cutSelection): adjust
8154 (pasteSelection): adjust
8156 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8157 Buffer const * as arg
8159 * ParagraphList.C (erase): new function
8160 * paragraph_funcs.C (mergeParagraph): use it
8161 (mergeParagraph): make it take a Buffer* instead of a
8162 BufferParams* as arg
8164 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8166 (breakParagraphConservative): ditto
8168 * paragraph.h: remove the breakParagraph friend
8170 * paragraph.C (eraseIntern): new function
8171 (setChange): new function
8173 * paragraph_funcs.C (mergeParagraph): make it take a
8174 ParagraphList::iterator instead of a Paragraph *, adjust
8177 * paragraph.h: move an #endif so that the change tracking stuff
8178 also works in the NO_NEXT case.
8180 2003-03-04 Angus Leeming <leeming@lyx.org>
8183 * LyXAction.C: new LFUN_INSET_MODIFY.
8185 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8186 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8188 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8190 * several files: ws changes only
8192 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8193 (TeXEnvironment): ditto
8196 * buffer.C (makeLaTeXFile): adjust
8197 (latexParagraphs): make it take ParagraphList::iterator as args
8199 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8201 * buffer.C (latexParagraphs): adjust
8203 * paragraph.C (TeXOnePar): move function...
8204 (optArgInset): move function...
8205 (TeXEnvironment): move function...
8206 * paragraph_pimpl.C (TeXDeeper): move function...
8207 * paragraph_funcs.C: ...here
8209 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8211 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8213 * buffer.C (readInset): remove compability code for old Figure and
8216 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8218 * buffer.C: ws changes
8221 * BufferView_pimpl.C: ditto
8224 * bufferlist.h: ditto
8228 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8230 * converter.[Ch]: split into itself +
8233 * Makefile.am: += graph.[Ch] + format.[Ch]
8240 * lyxrc.C: added #include "format.h"
8242 2003-02-27 Angus Leeming <leeming@lyx.org>
8244 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8247 * factory.C (createInset): add "label" to the factory.
8249 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8250 string and do no more.
8252 2003-02-27 Angus Leeming <leeming@lyx.org>
8255 * LyXAction.C (init):
8256 * factory.C (createInset):
8257 * BufferView_pimpl.C (dispatch):
8258 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8260 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8262 * lyxfunc.C (dispatch):
8263 * text3.C (dispatch): pass name to params2string.
8265 2003-02-26 Angus Leeming <leeming@lyx.org>
8267 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8269 Rearrange the ~includes. Strip out the unnecessary ones.
8271 * factory.C (createInset): reformat.
8272 create new insets for the various LFUN_XYZ_APPLY lfuns.
8274 2003-02-26 John Levon <levon@movementarian.org>
8277 * lyxrow.C: add isParStart,isParEnd helpers
8279 * paragraph.h: make isInserted/DeletedText take refs
8281 * paragraph_funcs.h:
8282 * paragraph_funcs.C: remove #if 0'd code
8287 * text.C: use lyxrow helpers above.
8288 Move draw and paint routines to RowPainter.
8289 Make several methods use refs not pointers.
8290 Make backgroundColor() const.
8291 Add markChangeInDraw(), isInInset().
8292 Merge changeRegionCase into changeCase.
8293 Make workWidth() shouldn't-happen code into an Assert.
8296 * rowpainter.C: new class for painting a row.
8299 * vspace.C: make inPixels take a ref
8301 2003-02-26 Angus Leeming <leeming@lyx.org>
8303 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8306 2003-02-25 John Levon <levon@movementarian.org>
8308 * ispell.C: give the forked command a more accurate name
8310 2003-02-22 John Levon <levon@movementarian.org>
8313 * toc.C: make TocItem store an id not a Paragraph *
8316 2003-02-21 Angus Leeming <leeming@lyx.org>
8318 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8319 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8320 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8321 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8322 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8323 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8325 * BufferView_pimpl.C (dispatch):
8326 * LyXAction.C (init):
8327 * factory.C (createInset):
8328 * lyxfunc.C (getStatus, dispatch):
8329 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8331 2003-02-21 Angus Leeming <leeming@lyx.org>
8333 * BufferView_pimpl.C (MenuInsertLyXFile):
8334 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8335 * lyxfunc.C (menuNew, open, doImport):
8336 no longer pass a LyXView & to fileDlg.
8338 2003-02-21 Angus Leeming <leeming@lyx.org>
8340 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8341 * LyXAction.C: change, BIBKEY to BIBITEM.
8342 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8343 Change InsetBibKey to InsetBibitem.
8344 Change BIBKEY_CODE to BIBITEM_CODE.
8345 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8346 * factory.C: replace insetbib.h with insetbibitem.h.
8347 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8348 * paragraph.C: replace insetbib.h with insetbibitem.h.
8349 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8350 Change bibkey() to bibitem().
8351 * text.C: remove insetbib.h.
8352 * text2.C: replace insetbib.h with insetbibitem.h.
8353 change bibkey() to bibitem().
8354 * text3.C: remove insetbib.h.
8355 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8357 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8359 * lyxrc.C (output): enclose user email in quotes (in case there are
8362 2003-02-18 John Levon <levon@movementarian.org>
8364 * buffer.h: add std::
8366 2003-02-17 John Levon <levon@movementarian.org>
8372 * pspell.C: reworking. Especially in ispell, a large
8373 number of clean ups and bug fixes.
8375 * lyxfunc.C: fix revert to behave sensibly
8377 2003-02-17 André Pönitz <poenitz@gmx.net>
8380 * commandtags.h: new LFUN_INSERT_BIBKEY
8390 * paragraph_func.C: remove special bibkey handling
8392 2003-02-17 John Levon <levon@movementarian.org>
8394 * text.C (Delete): fix case where delete at the end of
8395 the very first paragraph would not merge the pars
8397 2003-02-17 John Levon <levon@movementarian.org>
8399 * lyxrow.C: fix lastPrintablePos()
8401 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * bufferparams.C (writeLaTeX): add a std:here
8405 * buffer.C: and remove a using directive there
8407 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8409 * buffer.C (makeLaTeXFile): move the code that generates the
8412 * bufferparams.C (writeLaTeX): ... in this new method
8414 * LaTeXFeatures.C (getEncodingSet): make const
8415 (getLanguages): make const
8417 * MenuBackend.C (binding): returns the binding associated to this
8419 (add): sets the status of each item by calling getStatus. Adds
8421 (read): add support for OptSubMenu
8422 (expand): remove extra separator at the end of expanded menu
8424 2003-02-15 John Levon <levon@movementarian.org>
8427 * BufferView_pimpl.C:
8429 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8430 inset code that had no actual effect. Remove unneeded status
8433 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8435 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8438 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8440 * text.C (drawLengthMarker): also draw an arrow marker for
8441 symbolic lengths (medskip...)
8443 2003-02-14 John Levon <levon@movementarian.org>
8446 * tabular.C: better method names
8448 2003-02-14 John Levon <levon@movementarian.org>
8450 * BufferView_pimpl.C:
8455 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8456 it's a more accurate name. Remove some pointless uses.
8458 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8460 * text2.C (LyXText): change order of initilizers to shut off
8463 2003-02-14 John Levon <levon@movementarian.org>
8465 * buffer.C: use ParIterator for getParFromID()
8469 * paragraph_pimpl.h:
8470 * paragraph_pimpl.C: remove unused getParFromID()
8472 2003-02-14 John Levon <levon@movementarian.org>
8474 * buffer.C: remove some very old #if 0'd parse code
8476 2003-02-13 John Levon <levon@movementarian.org>
8480 * text2.C: move hfillExpansion(), numberOfSeparators(),
8481 rowLast(), rowLastPrintable(), numberofHfills(),
8482 numberOfLabelHfills() ...
8485 * lyxrow.C: ... to member functions here.
8490 * text.C: remove LyXText::beginningOfMainBody(), and call
8491 p->beginningOfMainBody() directly. Move the check for
8492 LABEL_MANUAL into the latter.
8499 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8505 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8506 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8508 2003-02-13 John Levon <levon@movementarian.org>
8510 * CutAndPaste.C: remove debug
8512 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8514 * paragraph.C (asString): remove two unused variables
8516 * lyxtextclass.C (readTitleType):
8518 (LyXTextClass): handle new members titletype_ and titlename_
8520 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8522 2003-02-09 John Levon <levon@movementarian.org>
8525 * buffer.C: replace hand-coded list with a map for the dep clean
8527 2003-02-08 John Levon <levon@movementarian.org>
8529 * LaTeX.C: consolidate code into showRunMessage() helper
8531 2003-02-08 John Levon <levon@movementarian.org>
8536 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8537 and pass the size in explicitly
8539 * BufferView_pimpl.h:
8540 * BufferView_pimpl.C:
8542 * BufferView.C: add getCurrentChange()
8544 * BufferView_pimpl.h:
8545 * BufferView_pimpl.C: handle change lfuns
8547 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8548 for changes. Mark pasted paragraphs as new.
8550 * support/lyxtime.h:
8551 * support/lyxtime.C:
8552 * DepTable.C: abstract time_t as lyx::time_type
8555 * LColor.C: add colours for new text, deleted text, changebars
8557 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8558 package use "usenames" option.
8562 * LyXAction.C: add change lfuns
8566 * author.C: author handling
8569 * buffer.C: add a per-buffer author list, with first entry as
8570 current author. Handle new .lyx tokens for change tracking. Output
8571 author list to .lyx file. Output dvipost stuff to .tex preamble.
8572 Bump lyx format to 222.
8575 * bufferlist.C: add setCurrentAuthor() to reset current author details
8579 * bufferparams.C: add param for tracking
8581 * bufferview_funcs.C: output change info in minibuffer
8585 * changes.C: add change-tracking structure
8588 * debug.C: add CHANGES debug flag
8591 * lyxfind.C: add code for finding the next change piece
8594 * lyxrc.C: add user_name and user_email
8597 * lyxrow.C: add a metric for the top of the text line
8600 * text.C: implement accept/rejectChange()
8603 * text.C: paint changebars. Paint new/deleted text in the chosen
8604 colours. Strike through deleted text.
8608 * paragraph_pimpl.h:
8609 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8610 in the current change to the insert functions. Rework erase to
8611 mark text as deleted, adding an eraseIntern() and a range-based
8612 erase(). Implement per-paragraph change lookup and
8615 * paragraph_funcs.C: Fixup paste for change tracking.
8617 * tabular.C: mark added row/columns as new.
8619 * text.C: fix rowLast() to never return -1. Don't allow
8620 spellchecking of deleted text. Track transpose changes. Don't
8621 allow paragraph break or merge where appropriate.
8623 * text2.C: leave cursor at end of selection after a cut.
8625 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8627 * text.C (getLengthMarkerHeight):
8628 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8629 visible on screen too.
8631 2003-02-07 John Levon <levon@movementarian.org>
8633 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8635 2003-02-05 Angus Leeming <leeming@lyx.org>
8637 * lyxserver.C (read_ready): revert my patch of 11 September last year
8638 as it sends PC cpu through the roof. Presumably this means that
8639 the lyxserver will no longer run on an Alpha...
8641 2003-01-30 Angus Leeming <leeming@lyx.org>
8643 * factory.C (createInset): create an InsetCommandParam of type "index"
8644 and use it to 'do the right thing'.
8646 * text2.C (getStringToIndex): ensure that cursor position is always
8647 reset to the reset_cursor position.
8649 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8651 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8654 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8658 * lyxfunc.C: Output messages with identical spelling, punctuation,
8661 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8663 * MenuBackend.C (expandFormats): List only viewable export formats
8666 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8669 * lyxfunc.C (getStatus): Make sure that formats other than
8670 "fax" can also be disabled
8672 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * text3.C (dispatch): put the lfuns that insert insets in 3
8675 groups, and call doInsertInset with appropriate arguments.
8676 (doInsertInset): new function, that creates an inset and inserts
8677 it according to some boolean parameters.
8679 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8681 * buffer.C (readFile): remember to pass on 'par' when calling
8682 readFile recursively.
8684 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8686 * MenuBackend.C (expandFormats): add "..." to import formats.
8688 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8690 * paragraph.C (asString): Remove XForms RTL hacks.
8692 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8693 * buffer.C: fix typo
8695 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8697 * Makefile.am (LIBS): delete var
8698 (lyx_LDADD): add @LIBS@ here instead.
8700 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8702 * Clarify the meaning of "wheel mouse jump"
8704 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8709 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8711 * importer.C (Loaders): do not preallocate 3 elements in the
8712 vector, since one ends up with 6 elements otherwise
8714 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * DepTable.C (write): write the file name as last element of the
8717 .dep file (because it may contain spaces)
8718 (read): read info in the right order
8720 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * paragraph_pimpl.C (simpleTeXBlanks):
8723 (simpleTeXSpecialChars):
8724 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8726 * tabular.C (latex): add some missing case statements. Reindent.
8728 * MenuBackend.C (expandToc): remove unused variable.
8730 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8739 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8742 2003-01-05 John Levon <levon@movementarian.org>
8745 * BufferView.C: add getEncoding()
8748 * kbsequence.C: do not store last keypress
8751 * lyxfunc.C: store last keypress here instead. Pass encoding
8754 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8756 * lyx_main.C (init): remove annoying error message when following
8757 symbolic links (bug #780)
8759 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8761 * text.C (insertChar):
8762 * lyxrc.C (getDescription): remove extra spaces
8764 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8766 * lyxrc.C (getDescription): remove extra spaces
8768 2002-12-20 John Levon <levon@movementarian.org>
8770 * text3.C: hack fix for page up/down across tall rows
8772 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8777 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8779 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8780 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8781 thesaurus is not compiled in
8783 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8785 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8787 2002-12-16 Angus Leeming <leeming@lyx.org>
8790 * lyx_main.C (init): remove override_x_deadkeys stuff.
8792 2002-12-12 John Levon <levon@movementarian.org>
8794 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8795 insert. Only remove shift modifier under strict
8798 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8800 * MenuBackend.C (expandToc): fix crash.
8802 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8804 * MenuBackend.C (expandToc): gettext on float names.
8806 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8808 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8809 implement bool empty() [bug 490]
8811 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8813 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8815 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * several files: ws changes
8819 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8821 * text2.C (setCounter): clean up a bit, use boost.format.
8822 (updateCounters): initialize par upon declaration.
8824 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8825 if the layout exists. We do not just store the layout any more.
8826 (SwitchLayoutsBetweenClasses): use boost.format
8828 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8830 * converter.C (convert): if from and to files are the same, use a
8831 temporary files as intermediary
8833 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8836 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8838 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8840 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8842 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8844 * tabular.C (asciiPrintCell): use string(size, char) instead of
8847 * sgml.C (openTag): fix order of arguments to string constructor
8850 * lyxfunc.C (dispatch): use boost.format
8852 * lots of files: change "c" -> 'c'
8854 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8856 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8858 2002-11-25 Angus Leeming <leeming@lyx.org>
8860 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8862 * lyx_main.C (init): compile fix.
8864 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8866 * lyx_cb.C (start): boost.formatify
8867 do not include <iostream>
8869 * lengthcommon.C: ws only
8871 * boost-inst.C,BoostFormat.h: add more explict instantations
8873 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8875 * lots of files: handle USE_BOOST_FORMAT
8877 2002-11-21 John Levon <levon@movementarian.org>
8879 * pspell.C: fix compile
8881 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8883 * lyxfunc.C (dispatch): use boost::format
8887 * lyxfont.C (stateText): use boost::format
8889 * lyx_main.C (LyX): use boost::format
8891 (queryUserLyXDir): ditto
8894 (typedef boost::function): use the recommened syntax.
8896 * importer.C (Import): use boost::format
8898 * debug.C (showLevel): use boost::format
8900 * converter.C (view): use boost::format
8905 * bufferview_funcs.C (currentState): use boost::format
8907 * bufferlist.C (emergencyWrite): use boost::format
8909 * buffer.C (readLyXformat2): use boost::format
8910 (parseSingleLyXformat2Token): ditto
8912 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8914 * LaTeX.C (run): use boost::format
8916 * Chktex.C (scanLogFile): use boost::format
8918 * BufferView_pimpl.C (savePosition): use boost::format
8919 (restorePosition): ditto
8920 (MenuInsertLyXFile): ditto
8922 * BoostFormat.h: help file for explicit instation.
8924 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8926 * tabular.C (latex): Support for block alignment in fixed width
8929 2002-11-17 John Levon <levon@movementarian.org>
8931 * BufferView_pimpl.C:
8933 * lyxfunc.C: split filedialog into open/save
8935 2002-11-08 Juergen Vigna <jug@sad.it>
8937 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8938 by my last patch (hopefully).
8940 2002-11-08 John Levon <levon@movementarian.org>
8949 * toc.C: ParConstIterator, and use it (from Lars)
8951 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8953 * lyxtextclass.[Ch]: revise and add doxygen comments
8955 2002-11-07 John Levon <levon@movementarian.org>
8957 * text.C: fix progress value for spellchecker
8959 * toc.C: fix navigate menu for insetwrap inside minipage
8961 * paragraph_funcs.C: added FIXME for suspect code
8963 2002-11-07 John Levon <levon@movementarian.org>
8965 * BufferView_pimpl.C: fix redrawing of insets
8968 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8970 * text2.C (updateCounters): fix bug 668
8972 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8974 * text3.C (dispatch): Do not make the buffer dirty when moving the
8977 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8979 * vc-backend.C: STRCONV
8982 * text2.C (setCounter): STRCONV
8984 * paragraph.C (asString): STRCONV
8986 * lyxlength.C (asString): STRCONV
8987 (asLatexString): ditto
8989 * lyxgluelength.C (asString): STRCONV
8990 (asLatexString): ditto
8992 * lyxfunc.C (dispatch): STRCONV
8995 * lyxfont.C (stateText): STRCONV
8997 * importer.C (Import): STRCONV
8999 * counters.C (labelItem): STRCONV
9000 (numberLabel): ditto
9001 (numberLabel): remove unused ostringstream o
9006 * bufferview_funcs.C (currentState): STRCONV
9008 * buffer.C (readFile): STRCONV
9009 (asciiParagraph): ditto
9010 (makeLaTeXFile): ditto
9012 * Spacing.C (writeEnvirBegin): STRCONV
9014 * LaTeXFeatures.C (getLanguages): STRCONV
9015 (getPackages): ditto
9017 (getBabelOptions): ditto
9018 (getTClassPreamble): ditto
9019 (getLyXSGMLEntities): ditto
9020 (getIncludedFiles): ditto
9024 (scanAuxFile): ditto
9027 * LString.h: add the STRCONV macros
9029 * BufferView_pimpl.C (savePosition): STRCONV
9030 (restorePosition): ditto
9031 (MenuInsertLyXFile): ditto
9033 * vc-backend.C (scanMaster): change from submatch[...] to
9036 * funcrequest.C: include config.h
9038 * factory.C: include config.h
9040 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9042 * box.C: include config.h
9044 * LaTeX.C (scanAuxFile): change from submatch[...] to
9048 2002-10-25 Angus Leeming <leeming@lyx.org>
9050 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9052 * ispell.[Ch] (setError): new method.
9053 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9054 Use setError() insetead of goto END.
9056 * lyx_cb.C (AutoSave): move out child process into new class
9059 2002-10-30 John Levon <levon@movementarian.org>
9061 * text3.C: make start appendix undoable
9063 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9065 * lyxlength.C (inPixels): Fix returned value.
9067 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9070 2002-10-24 Angus Leeming <leeming@lyx.org>
9072 * lyxgluelength.h: no need to forward declare BufferParams
9073 or BufferView, so don't.
9075 2002-10-21 John Levon <levon@movementarian.org>
9077 * BufferView.C: menuUndo ->undo, redo
9079 * BufferView.h: document, remove dead, make some methods private
9081 * paragraph_funcs.h:
9082 * paragraph_funcs.C:
9083 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9088 * sgml.C: move sgml open/close tag into sgml.C
9090 * bufferview_funcs.h: unused prototype
9093 * lyxfunc.C: remove unused
9096 * text.C: remove unused
9098 2002-10-21 John Levon <levon@movementarian.org>
9102 * BufferView_pimpl.h:
9103 * BufferView_pimpl.C: fix mouse wheel handling based on
9104 patch from Darren Freeman
9106 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9108 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9110 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9112 * lyxlength.C (inPixels): Fix hanfling of negative length.
9113 Fix LyXLength::MU case.
9115 2002-10-16 John Levon <levon@movementarian.org>
9117 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9119 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9121 * converter.C (view): add support for $$i (file name) and $$p
9122 (file path) for the viewer command. If $$i is not specified, then
9123 it is appended to the command (for compatibility with old syntax)
9125 2002-10-14 Juergen Vigna <jug@sad.it>
9127 * undo_funcs.C (textHandleUndo): alter the order in which the
9128 new undopar is added to the LyXText, as we have to set first
9129 the right prev/next and then add it as otherwise the rebuild of
9130 LyXText is not correct. Also reset the cursor to the right paragraph,
9131 with this IMO we could remove the hack in "redoParagraphs()".
9133 2002-10-09 Angus Leeming <leeming@lyx.org>
9135 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9136 to turn off an optimisation if a new inset is to be inserted.
9138 2002-10-11 André Pönitz <poenitz@gmx.net>
9140 * lyxtext.h: make some functions public to allow access
9141 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9143 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9145 * text3.C (dispatch): when changing layout, avoid an infinite loop
9148 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9150 * lyxrc.C (read): treat a viewer or converter command of "none" as
9153 * MenuBackend.C (expandFormats): for an update, also allow the
9154 formats that are not viewable
9156 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9157 script if it is newer than the lyxrc.defaults in user directory
9159 2002-10-07 André Pönitz <poenitz@gmx.net>
9161 * text.C: Vitaly Lipatov's small i18n fix
9163 2002-09-25 Angus Leeming <leeming@lyx.org>
9165 * ispell.h: doxygen fix.
9167 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9169 * buffer.h (readFile): Add a new argument to the method, to allow
9170 reading of old-format templates.
9172 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9174 * toc.C (getTocList): Get TOC from InsetWrap.
9176 2002-09-16 John Levon <levon@movementarian.org>
9178 * lyxfunc.C: check tabular for cut/copy too
9180 2002-09-12 John Levon <levon@movementarian.org>
9185 * factory.C: add header
9187 * paragraph_funcs.h:
9188 * paragraph_funcs.C: cleanup
9190 2002-09-11 John Levon <levon@movementarian.org>
9192 * PrinterParams.h: odd/even default to true
9194 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9196 * PrinterParams.h: update printer parameters for new xforms dialog
9198 2002-09-11 Angus Leeming <leeming@lyx.org>
9200 * lyxserver.C (read_ready): re-write to make it more transparent
9201 and to make it work in coherent fashion under Tru64 Unix.
9203 2002-09-11 André Pönitz <poenitz@gmx.net>
9207 * text3.C: implement LFUN_WORDSEL
9209 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9211 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9212 make floatlist_ a boost::shared_ptr<FloatList>
9214 * lyxtextclass.C: include FloatList.h
9215 (LyXTextClass): initialize floatlist_
9216 (TextClassTags): add TC_NOFLOAT
9217 (Read): match "nofloat" to TC_NOFLOAT and use it.
9218 (readFloat): modify call to floatlist_
9222 * FloatList.[Ch] (FloatList): remove commented out float
9224 (erase): new function
9226 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9228 * MenuBackend.C (expandToc): fix crash when there is no document
9231 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9233 * many files: Add insetwrap.
9235 2002-09-09 John Levon <levon@movementarian.org>
9237 * text2.C: remove confusing and awkward depth wraparound
9239 2002-09-09 John Levon <levon@movementarian.org>
9241 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9244 * buffer.C: remove getIncludeonlyList()
9247 * lyxfunc.C: remove headers
9249 2002-09-09 Juergen Vigna <jug@sad.it>
9251 * text.C (getColumnNearX): fix form Michael this is most
9252 probably a cut&paste bug.
9254 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9258 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9259 references, ws changes.
9261 * text2.C (init): update counters after init
9262 (insertParagraph): no need to set counter on idividual paragraphs.
9263 (setCounter): access the counters object in the textclass object
9264 on in the buffer object.
9265 (updateCounters): ditto
9267 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9268 shared_ptr<Counters> to avoid loading counters.h in all
9270 (LyXTextClass): initialize ctrs_
9271 (TextClassTags): add TC_COUNTER, and ...
9272 (Read): use it here.
9273 (CounterTags): new tags
9274 (readCounter): new function
9275 (counters): new funtion
9276 (defaultLayoutName): return a const reference
9278 * counters.C (Counters): remove contructor
9279 (newCounter): remove a couple of unneeded statements.
9280 (newCounter): simplify a bit.
9281 (numberLabel): some small formatting changes.
9283 * buffer.[Ch]: remove all traces of counters, move the Counters
9284 object to the LyXTextClass.
9286 2002-09-06 Alain Castera <castera@in2p3.fr>
9288 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9289 package to set the horizontal alignment on fixed width columns.
9292 * lyx_sty.h: added tabularnewline macro def.
9294 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9296 2002-09-06 John Levon <levon@movementarian.org>
9298 * LyXAction.C: tooltips for sub/superscript
9300 * MenuBackend.C: a bit more verbose
9302 * lyxfunc.C: tiny clean
9304 * undo_funcs.C: document undo_frozen
9306 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9308 * counters.C (Counters): add missing algorithm counter.
9310 * text2.C (setCounter): lookup the counter with layouts latexname
9311 instead of by section number.
9312 (setCounter): use a hackish way to lookup the correct enum
9314 a float name->type change
9315 reset enum couners with counter name directly instead of depth value.
9317 * counters.C (Counters): remove the push_backs, change to use the
9318 float type not the float name.
9319 (labelItem): remove unused string, float name->type change
9321 * counters.h: don't include vector, loose the enums and sects vectors
9323 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9325 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9326 (Read): add float->TC_FLOAT to textclassTags
9327 (Read): and handle it in the switch
9328 (readFloat): new function
9330 * FloatList.C (FloatList): comment out the hardcoded float
9333 * lyxlayout.h: ws change.
9335 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9337 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9339 2002-09-03 Angus Leeming <leeming@lyx.org>
9341 * BufferView_pimpl.h: qualified name is not allowed in member
9342 declaration: WorkArea & Pimpl::workarea() const;
9344 * factory.C: added using std::endl directive.
9346 * text3.C: added using std::find and std::vector directives.
9348 2002-08-29 André Pönitz <poenitz@gmx.net>
9351 * text2.C: remove unused member number_of_rows
9354 * BufferView2.C: remove file, move contents to...
9355 * BufferView.C: ... here
9357 * BufferView_pimpl.C:
9358 * factory.C: move more inset creation to factory
9360 * vspace.C: avoid direct usage of LyXText, ws changes
9363 don't provide direct access to WorkArea, use two simple
9364 acessors haveSelction() and workHeight() instead
9367 2002-08-29 John Levon <levon@movementarian.org>
9369 * BufferView_pimpl.C (dispatch): do not continue when
9372 2002-08-28 André Pönitz <poenitz@gmx.net>
9374 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9377 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9379 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9381 * buffer.C: increment LYX_FORMAT to 221
9383 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9384 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9386 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9388 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9390 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9392 * factory.C (createInset): use LyXTextClass::floats
9394 * MenuBackend.C (expandFloatListInsert):
9395 (expandFloatInsert):
9398 * text2.C (setCounter):
9400 * LaTeXFeatures.C (useFloat):
9401 (getFloatDefinitions):
9403 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9405 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9406 floatlist_, with accessor floats().
9408 * FloatList.h: remove global FloatList
9410 2002-08-26 André Pönitz <poenitz@gmx.net>
9412 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9416 * BufferView_pimpl.C:
9417 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9419 2002-08-25 John Levon <levon@movementarian.org>
9421 * LyXAction.C: fix margin note description
9423 2002-08-24 John Levon <levon@movementarian.org>
9427 * bufferview_funcs.C:
9429 * undo_funcs.C: cleanups
9431 * lyxfunc.C: disable CUT/COPY when no selection
9433 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9435 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9436 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9438 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9439 Add backward compatibility to "mono", "gray" and "no".
9441 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9443 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9444 (and file_format >= 200).
9446 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9448 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9450 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9452 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9454 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9456 * BufferView_pimpl.C:
9463 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9464 inset and code to make it work with the paragraph code. The inset
9465 can be anywhere in the paragraph, but will only do the expected
9466 thing in LaTeX if the layout file contains the parameter line
9468 (or more generally, a nonzero value) for that layout.
9470 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9472 * paragraph.h: remove the declaration of undefined counters class
9475 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9477 * text2.C (setCounter): fixed enumeration mis-count as reported by
9478 Dr. Richard Hawkins.
9480 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9482 * paragraph_funcs.h: remove some unneeded includes
9484 * text.C (backspace): pasteParagraph now in global scipe
9486 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9487 (pasteSelection): ditto
9489 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9490 * paragraph_funcs.C (pasteParagraph): ... here
9492 2002-08-20 André Pönitz <poenitz@gmx.net>
9494 * commandtags.h: new LFUNs for swapping/copying table row/colums
9497 * lyxfunc.C: support for new lfuns
9499 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9502 * buffer.[Ch]: remove NO_COMPABILITY stuff
9504 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9506 * boost.C (throw_exception): new file, with helper function for
9507 boost compiled without exceptions.
9512 * ParameterStruct.h:
9513 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9515 * bufferlist.C (emergencyWriteAll): use boost bind
9517 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9519 * text.C: include paragraph_funcs.h
9520 (breakParagraph): breakParagraph is now in global scope
9522 * paragraph_funcs.[Ch]: new files
9524 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9527 * buffer.C: include paragraph_funcs.h
9528 (insertStringAsLines): breakParagraph is now in global scope
9530 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9533 * CutAndPaste.C: include paragraph_funcs.h
9534 (cutSelection): breakParagraphConservative is now in global scope
9535 (pasteSelection): ditto
9537 * buffer.h: declare oprator== and operator!= for
9538 Buffer::inset_iterator
9540 * bufferlist.C (emergencyWrite): don't use fmt(...)
9542 * text3.C: add using std::endl
9544 * BufferView.C (moveCursorUpdate): remove default arg
9546 2002-08-20 André Pönitz <poenitz@gmx.net>
9548 * buffer.[Ch]: move inline functions to .C
9551 * BufferView_pimpl.C:
9553 * buffer.[Ch]: use improved inset_iterator
9556 * paragraph.[Ch]: write one paragraph at a time
9558 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9560 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9561 style if style is not specified.
9563 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9565 * text2.C (setCounter): when searching for right label for a
9566 caption, make sure to recurse to parent insets (so that a caption
9567 in a minipage in a figure float works) (bug #568)
9569 2002-08-20 André Pönitz <poenitz@gmx.net>
9571 * text3.C: new file for LyXText::dispatch() and helpers
9573 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9575 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9577 2002-08-19 André Pönitz <poenitz@gmx.net>
9580 * text.C: new LyXText::dispatch()
9582 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9584 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9586 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9588 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9591 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9593 * Makefile.am: use $(variables) instead of @substitutions@
9595 2002-08-15 André Pönitz <poenitz@gmx.net>
9598 * BufferView_pimpl.C: streamlining mathed <-> outer world
9602 * LyXAction.C: remove unused LFUN_MATH
9604 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9606 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9608 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9610 * paragraph.C (Paragraph): reformat a bit
9611 (cutIntoMinibuffer): use builtin InsetList function instad of
9615 * buffer.C: include boost/bind.hpp, add using std::for_each
9616 (writeFileAscii): use ParagraphList iterators
9617 (validate): use for_each for validate traversal of paragraphs
9618 (getBibkeyList): use ParagraphList iterators
9619 (resizeInsets): use for_each to resizeInsetsLyXText for all
9621 (getParFromID): use ParagraphList iterators
9623 * BufferView2.C (lockInset): use paragraph list and iterators
9625 2002-08-14 John Levon <levon@movementarian.org>
9627 * lyxserver.C: remove spurious xforms include
9629 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9631 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9633 2002-08-13 André Pönitz <poenitz@gmx.net>
9636 * lyxfunc.C: further cleaning
9638 2002-08-13 André Pönitz <poenitz@gmx.net>
9640 * funcrequest.h: new constructor
9642 * funcrequest.C: move stuff here from .h
9645 * BufferView_pimpl.C:
9648 * lyxfunc.C: subsequent changes
9650 * lyxfunc.h: new view() member function
9652 * lyxfunc.C: subsequent changes
9654 2002-08-13 Angus Leeming <leeming@lyx.org>
9657 * BufferView_pimpl.C:
9665 changes due to the changed LyXView interface that now returns references
9666 to member variables not pointers.
9668 2002-08-13 Angus Leeming <leeming@lyx.org>
9670 * WordLangTuple (word, lang_code): return references to strings,
9675 * lyxtext.h: forward-declare WordLangTuple.
9680 * text.C: #include "WordLangTuple.h".
9683 * text.C: (selectNextWordToSpellcheck): constify return type.
9685 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9691 * paragraph_pimpl.h:
9694 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9696 Made updateCounter always count from start of buffer, and removed
9697 second argument (par).
9698 Reverted floats number display to '#'. Perhaps I'll try again when the
9699 code base is sanitized a bit.
9701 2002-08-12 Angus Leeming <leeming@lyx.org>
9703 * buffer.[Ch] (getLabelList): constify.
9705 2002-08-07 André Pönitz <poenitz@gmx.net>
9707 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9709 * funcrequest.h: extension to keep mouse (x,y) position
9711 2002-08-12 Juergen Vigna <jug@sad.it>
9713 * BufferView2.C (insertErrors): forbid undo when inserting error
9716 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9718 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9720 * ParagraphList.[Ch]: new files
9722 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9724 * BufferView2.C (lockInset): ParagraphList changes
9727 * bufferlist.C: ditto
9731 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9733 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9734 unused class variable counter_,
9736 * paragraph.[Ch] (getFirstCounter): delete unused function
9738 * counters.C: include LAssert.h
9739 (reset): add a new function with no arg, change other version to
9740 not have def. arg and to not allow empty arg.
9742 * text2.C (setCounter): remove empty arg from call to Counters::reset
9744 2002-08-11 John Levon <levon@movementarian.org>
9746 * Makefile.am: add WordLangTuple.h
9748 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9750 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9751 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9753 * insets/insettext.C: InsetList changes
9755 * graphics/GraphicsSupport.C (operator()): InsetList changes
9757 * toc.C (getTocList): InsetList changes
9759 * paragraph_pimpl.[Ch]: InsetList changes
9761 * paragraph.[Ch]: InsetList changes
9763 * buffer.C (inset_iterator): InsetList changes
9764 (setParagraph): ditto
9765 * buffer.h (inset_iterator): ditto
9766 * iterators.C (operator++): ditto
9767 * iterators.h: ditto
9769 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9771 * InsetList.[Ch]: new files, most InsetList handling moved out of
9774 * BufferView2.C (removeAutoInsets): InsetList changes
9776 (ChangeInsets): ditto
9778 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9780 * paragraph_pimpl.h (empty): new function
9782 * paragraph.[Ch] (empty): new function
9784 * other files: use the new Paragraph::empty function
9786 2002-08-09 John Levon <levon@movementarian.org>
9788 * lyxtext.h: remove unused refresh_height
9790 2002-08-09 John Levon <levon@movementarian.org>
9797 * paragraph.C: move sgml char escaping out of paragraph
9800 * paragraph.C: remove id setter
9804 * paragraph_pimpl.C: remove dead tex_code_break_column
9806 * bufferview_funcs.C: small cleanup
9808 * lyxfunc.C: remove dead proto
9810 * lyxtext.h: make some stuff private. Remove some dead stuff.
9812 * lyxgluelength.C: make as[LyX]String() readable
9814 2002-08-08 John Levon <levon@movementarian.org>
9819 * ToolbarDefaults.C:
9822 * toc.C: lyxaction cleanup
9824 2002-08-08 John Levon <levon@movementarian.org>
9826 * BufferView2.C: small cleanup
9829 * lyxfind.C: move unnecessary header into the .C
9831 2002-08-08 John Levon <levon@movementarian.org>
9833 * funcrequest.h: just tedious nonsense
9836 * lyx_main.C: cleanups
9839 * vspace.C: remove dead header lyx_main.h
9841 2002-08-07 Angus Leeming <leeming@lyx.org>
9844 * paragraph_pimpl.h:
9845 Forward declare class Counters in paragraph.h by moving the ctrs member
9846 variable into Paragraph::Pimpl.
9847 (counters): new method, returning a reference to pimpl_->ctrs.
9849 * text2.C: ensuing changes.
9851 2002-08-07 John Levon <levon@movementarian.org>
9853 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9855 * BufferView_pimpl.C: announce X selection on double/triple
9858 * lyx_main.C: use correct bool in batch dispatch
9860 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9862 2002-08-07 André Pönitz <poenitz@gmx.net>
9864 * funcrequest.h: new class to wrap a kb_action and its argument
9867 * BufferView_pimpl[Ch]:
9871 * lyxrc.C: subsequent changes
9874 2002-08-07 John Levon <levon@movementarian.org>
9876 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9877 document options change.
9879 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9884 * makefile.am: move counters functionality over from
9885 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9887 2002-08-06 John Levon <levon@movementarian.org>
9889 * WordLangTuple.h: new file for word + language code tuple
9900 * BufferView2.C: use WordLangTuple
9903 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9905 2002-08-06 John Levon <levon@movementarian.org>
9907 * lyx_main.C: fix cmdline batch handling
9909 2002-08-06 André Pönitz <poenitz@gmx.net>
9911 * lyxrc.C: set default for show_banner to true
9913 2002-08-06 John Levon <levon@movementarian.org>
9915 * pspell.C: fix a crash, and allow new aspell to work
9917 2002-08-06 John Levon <levon@movementarian.org>
9920 * kbmap.C: small cleanup
9923 * vspace.C: add const
9925 2002-08-05 John Levon <levon@movementarian.org>
9927 * LyXAction.C: back to tabular-insert
9929 2002-08-04 John Levon <levon@movementarian.org>
9932 * BufferView.C: cosmetic change
9934 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9944 * BufferView2.C: purge all "Lyx" not "LyX" strings
9947 * lyxcursor.C: attempt to add some documentation
9952 * ToolbarDefaults.C:
9953 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9954 merge with LFUN_TABULAR_INSERT
9961 * pspell.C: split up i/pspell implementations into separate
9962 files, many cleanups
9964 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9966 * text2.C: some cleanup
9968 * lyxfunc.C: don't check for isp_command == "none" any more, it
9969 didn't make any sense
9971 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9976 * makefile.am: move counters functionality over
9977 from text2.C/paragraph.[Ch] to counters.[Ch], and
9979 2002-08-02 John Levon <levon@movementarian.org>
9981 * buffer.C: s/lyxconvert/lyx2lyx/
9983 2002-08-02 Angus Leeming <leeming@lyx.org>
9985 * lyxlex.C: revert John's change as it breaks reading of the user
9988 2002-08-02 Angus Leeming <leeming@lyx.org>
9990 * importer.C (Import):
9991 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9992 changes due to LyXView::view() now returning a boost::shared_ptr.
9994 2002-08-02 John Levon <levon@movementarian.org>
9996 * lyxlex.C: small cleanup
9998 2002-08-02 John Levon <levon@movementarian.org>
10000 * text2.C (status): small cleanup, no logic change
10002 2002-08-01 John Levon <levon@movementarian.org>
10005 * buffer.C (writeFile): don't output alerts, caller
10009 * lyx_cb.C: from above
10011 * lyxfunc.C: allow to open non-existent files
10013 2002-07-31 John Levon <levon@movementarian.org>
10015 * lyxserver.C: don't let incidental errors get
10018 2002-07-30 John Levon <levon@movementarian.org>
10020 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10022 2002-07-30 John Levon <levon@movementarian.org>
10025 * lyxserver.C: remove I/O callback too
10027 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10029 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10032 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10034 * many files: strip,frontStrip -> trim,ltrim,rtrim
10036 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10038 * PrinterParams.h: remove extern containsOnly, and include
10039 support/lstrings.h instead.
10041 * LaTeX.C (scanAuxFile): modify because of strip changes
10043 * buffer.C (makeLaTeXFile): ditto
10044 * bufferparams.C (writeFile): ditt
10045 * lyxfont.C (stateText): ditto
10046 * lyxserver.C (read_ready): ditto
10047 * vc-backend.C (scanMaster): ditto
10049 * BufferView_pimpl.h: ws changes
10051 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10053 2002-07-26 André Pönitz <poenitz@gmx.net>
10055 * kb_sequence.C: remove unnedred usings
10057 2002-07-26 Juergen Vigna <jug@sad.it>
10059 * lyxfind.C (LyXReplace): we have to check better if the returned
10060 text is not of theLockingInset()->getLockingInset().
10062 2002-07-25 Juergen Vigna <jug@sad.it>
10064 * lyxfind.C (LyXReplace): don't replace if we don't get the
10067 * undo_funcs.C (createUndo): remove debugging code.
10069 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10071 * buffer.C (parseSingleLyXformat2Token): Use default placement
10072 when reading old floats.
10074 * FloatList.C (FloatList): Change the default placement of figure
10075 and tables to "tbp".
10077 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10079 * MenuBackend.C: using std::max
10081 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * MenuBackend.C (expandToc):
10084 (expandToc2): code moved from xforms menu frontend. It is now
10085 generic and TOCs are transparent to menu frontends.
10087 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10089 * toc.C (getTocList): protect against buf=0
10091 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10092 Menu as first parameter. Now, this calls itself recursively to
10093 expand a whole tree (this will be useful for TOC handling)
10094 (expandFloatInsert): remove 'wide' version of floats
10096 * MenuBackend.h (submenuname): returns the name of the submenu.
10097 (submenu): returns the submenu itself, provided it has been
10098 created by MenuBackend::expand
10100 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10102 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10103 insets which have noFontChange == true. (bug #172)
10105 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10107 * BufferView_pimpl.C: add connection objects and use them...
10110 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10112 * MenuBackend.C (expandLastfiles):
10115 (expandFloatListInsert):
10116 (expandFloatInsert):
10117 (expand): split expand in parts
10119 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10121 * lyx_gui.C: use lyx_gui::exit()
10123 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10125 * LyXAction.C: show the failing pseudo action
10127 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10129 * buffer.C (readFile): Run the lyxconvert script in order to read
10132 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10136 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10138 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10142 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10144 2002-07-22 Herbert Voss <voss@lyx.org>
10147 * lyxlength.[Ch]: add support for the vertical lengths
10149 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10151 * toc.[Ch]: std:: fixes
10153 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10155 * lyxrc.C: do not include lyx_main.h
10157 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10163 * BufferView2.C: include "lyxlex.h"
10166 * bufferparams.h: do not #include "lyxlex.h"
10168 * lyxtextclasslist.C (Add): remove method
10169 (classlist): renamed to classlist_
10171 * paragraph_pimpl.C:
10175 * bufferview_funcs.C:
10180 * toc.C (getTocList): use BufferParams::getLyXTextClass
10182 * toc.C (getTocList): use InsetFloat::addToToc
10184 * toc.[Ch]: new files, containing helper functions to handle table
10187 * lyxfunc.C (dispatch): no need to remove spaces around command
10189 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10190 first command of the sequence; it is not very clever, but I do not
10191 have a better idea, actually
10193 * LyXAction.C (LookupFunc): make sure to remove space at the
10194 beginning and end of the command
10196 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10198 * MenuBackend.C (getMenubar): new method: return the menubar of
10200 (read): treat differently reading of menu and menubar (in
10201 particular, the menubar has no name now)
10202 (Menu::menubar): remove
10204 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10207 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10209 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10210 a bibitem inset in a RTL paragraph.
10212 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10214 * paragraph_pimpl.C: constify
10216 * BufferView_pimpl.C:
10218 * lyxfunc.C: fix dispatch in a nicer way
10220 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10222 * lyxfunc.C (dispatch):
10223 * BufferView_pimpl.C:
10224 * BufferView_pimpl.h:
10226 * BufferView.h: rename Dispatch() to dispatch()
10228 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10230 * lyxlayout.C (Read): honor DependsOn tag
10232 * lyxlayout.[Ch] (depends_on): new method
10234 * version.C.in: update lyx_docversion
10236 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10238 * paragraph.C (validate): remove from here...
10239 * paragraph_pimpl.C (validate): ... and move here
10240 (isTextAt): make it const
10242 * buffer.C (getLists): ws cleanup
10244 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10246 * language.C (read): Use iso8859-1 encoding in latex_lang
10247 (this prevents LyX from crashing when using iso10646-1 encoding).
10249 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10251 * text2.C (toggleInset): if cursor is inside an inset, close the
10252 inset and leave cursor _after_ it
10254 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10256 * lyxfunc.C: move minibuffer completion handling out of here
10258 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10260 * BufferView_pimpl.C:
10261 * LaTeX.C: fix dispatch calls
10263 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10265 * text.C (drawChars): Fix Arabic text rendering.
10267 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10271 * lyxfunc.C: remove message-push/pop
10275 * lyxfunc.C: rationalise some code by removing verboseDispatch
10276 in favour of a bool argument to dispatch()
10278 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10280 * lyx_main.C (init): make sure to read symlinks as absolute paths
10282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10285 * lyxfunc.C: no need for commandshortcut to be a member
10287 2002-07-15 André Pönitz <poenitz@gmx.net>
10289 * converter.C: add support for $$s (scripts from lib/scripts dir)
10290 * lyx_main.C: white space
10292 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10296 * lyxrc.C: remove second exit confirmation
10298 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10303 * BufferView_pimpl.h:
10304 * BufferView_pimpl.C:
10305 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10307 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10309 * MenuBackend.C (expand): add numeric shortcuts to document menu
10311 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10313 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10315 * lyxfont.C (setLyXFamily):
10322 * buffer.C (asciiParagraph): use ascii_lowercase
10324 2002-07-15 Mike Fabian <mfabian@suse.de>
10326 * lyxlex_pimpl.C (search_kw):
10327 * lyxlex.C (getLongString):
10328 * converter.h (operator<):
10329 * converter.C (operator<):
10330 * buffer.C (parseSingleLyXformat2Token):
10332 * ToolbarDefaults.C (read):
10333 * MenuBackend.C (checkShortcuts):
10335 * LColor.C (getFromGUIName):
10336 (getFromLyXName): use the compare_ascii_no_case instead of
10337 compare_no_case, because in turkish, 'i' is not the lowercase
10338 version of 'I', and thus turkish locale breaks parsing of tags.
10340 2002-07-16 Angus Leeming <leeming@lyx.org>
10342 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10343 now takes a Buffer const & argument.
10345 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10347 * BufferView.C (resize): check there's a buffer to resize
10349 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10351 * lyxfunc.C: remove dead code
10354 * lyxserver.C: use lyx_guii::set_read_callback
10356 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10358 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10359 an inset in a RTL paragraph.
10361 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10363 * lyxfunc.C: repaint after a font size update
10365 2002-07-15 André Pönitz <poenitz@gmx.net>
10367 * lyxlength.C: inBP should be able to return negative values
10369 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10371 * lyxfunc.C: use lyx_gui::update_fonts()
10373 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10375 * lyxfunc.C: use lyx_gui::update_color()
10377 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10383 * lyxrc.C: remove file->new asks for name option, and let
10384 buffer-new take an argument
10386 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10388 * BufferView_pimpl.C: remove unneeded extra repaint()
10390 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10392 * LyXAction.C: allow command-sequence with NoBuffer
10394 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10396 2002-07-10 Angus Leeming <leeming@lyx.org>
10398 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10400 2002-07-09 Angus Leeming <leeming@lyx.org>
10402 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10404 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10406 * lengthcommon.h: whitespace
10408 * lyxfunc.C: update scrollbar after goto paragraph
10410 * lyxtext.h: factor out page break drawing, and fix it so
10411 page break/added space paints as selected nicely
10413 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView_pimpl.C: add FIXMEs, clean up a little
10417 2002-07-09 André Pönitz <poenitz@gmx.net>
10419 * lyxfont.[Ch]: support for wasy symbols
10421 2002-07-08 André Pönitz <poenitz@gmx.net>
10423 * BufferView_pimpl.C: apply John's patch for #93.
10425 2002-07-05 Angus Leeming <leeming@lyx.org>
10427 * BufferView_pimpl.C (buffer): generate previews if desired.
10429 * LColor.h: add "preview" to the color enum.
10431 * LColor.C (LColor): add a corresponding entry to the items array.
10433 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10436 2002-07-05 Angus Leeming <leeming@lyx.org>
10438 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10439 The body of the code is now in the method that is passed an ostream &
10440 rather than a file name.
10441 Pass an additional only_preamble parameter, useful for the forthcoming
10444 2002-07-03 André Pönitz <poenitz@gmx.net>
10446 * lyxfunc.C: simplify getStatus() a bit for math stuff
10448 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10450 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10452 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * text.C (changeRegionCase): do not change case of all the
10455 document when region ends at paragraph end (bug #461)
10457 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10459 * paragraph.C (startTeXParParams):
10460 (endTeXParParams): add \protect when necessary
10462 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10464 * BufferView_pimpl.C (workAreaExpose): remove warning
10466 2002-06-27 Angus Leeming <leeming@lyx.org>
10468 * Makefile.am: add lyxlayout_ptr_fwd.h.
10470 2002-06-26 André Pönitz <poenitz@gmx.net>
10472 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10474 2002-06-25 Angus Leeming <leeming@lyx.org>
10476 * lyxfunc.C (dispatch): Comment out the call to
10477 grfx::GCache::changeDisplay. The method no longer exists now that the
10478 pixmap generation part of the graphics loader has been moved into
10481 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10483 * text2.C: layout as layout
10485 * text.C: layout as layout
10487 * tabular.C (OldFormatRead): layout as layout
10489 * paragraph_pimpl.C (TeXDeeper): layout as layout
10490 (realizeFont): layout as layout
10492 * paragraph.C (writeFile): layout as layout
10493 (validate): layout as layout
10494 (getFont): layout as layout
10495 (getLabelFont): layout as layout
10496 (getLayoutFont): layout as layout
10497 (breakParagraph): layout as layout
10498 (stripLeadingSpaces): layout as layout
10499 (getEndLabel): layout as layout
10500 (getMaxDepthAfter): layout as layout
10501 (applyLayout): layout as layout
10502 (TeXOnePar): layout as layout
10503 (simpleTeXOnePar): layout as layout
10504 (TeXEnvironment): layout as layout
10505 (layout): layout as layout
10506 (layout): layout as layout
10508 * lyxtextclass.C (compare_name): new functor to work with
10509 shared_ptr, layout as layout
10510 (Read): layout as layout
10511 (hasLayout): layout as layout
10512 (operator): layout as layout
10513 (delete_layout): layout as layout
10514 (defaultLayout): layout as layout
10516 * lyxlayout_ptr_fwd.h: new file
10518 * lyxlayout.C (Read): layout as layout
10520 * lyx_cb.C (MenuInsertLabel): layout as layout
10522 * bufferlist.C (newFile): layout as layout
10524 * buffer.C (readLyXformat2): layout as layout
10525 (parseSingleLyXformat2Token): layout as layout
10526 (insertStringAsLines): layout as layout
10527 (asciiParagraph): layout as layout
10528 (latexParagraphs): layout as layout
10529 (makeLinuxDocFile): layout as layout
10530 (simpleLinuxDocOnePar): layout as layout
10531 (makeDocBookFile): layout as layout
10532 (simpleDocBookOnePar): layout as layout
10533 (getLists): layout as layout
10535 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10537 * CutAndPaste.C (cutSelection): layout as layout
10538 (pasteSelection): layout as layout
10539 (SwitchLayoutsBetweenClasses): layout as layout
10541 * BufferView_pimpl.C (Dispatch): layout as layout
10542 (smartQuote): layout as layout
10544 * BufferView2.C (unlockInset): layout as layout
10546 2002-06-24 André Pönitz <poenitz@gmx.net>
10548 * lyxfunc.C: fix #487
10550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10554 * lyxfunc.C: remove display_shortcuts, show_banner
10556 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10558 * Buffer_pimpl.C: oops, update on resize
10560 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView.C: use repaint()
10569 * BufferView_pimpl.h:
10570 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10571 as it's a clearer description. Remove superfluous
10574 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10576 * text.C: fix bug 488. Not ideal, but getting
10577 getWord() to work properly for the insets that
10578 matter is more difficult ...
10580 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10582 * BufferView_pimpl.C:
10585 * lyxfunc.C: remove the six million index lyxfuncs to just
10586 one, and DTRT (bug 458)
10588 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10592 * BufferView_pimpl.h:
10593 * BufferView_pimpl.C: clean up resize() stuff,
10594 and unnecessary updateScreen()s
10596 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10600 * BufferView_pimpl.h:
10601 * BufferView_pimpl.C:
10604 * minibuffer.C: remove focus management of workarea,
10605 not needed. Use screen's greyOut()
10607 2002-06-17 Herbert Voss <voss@lyx.org>
10609 * converter.C: (convert) do not post a message, when converting
10610 fails, let the calling function decide what to do in this case
10612 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10614 * lyxfunc.C: tidy up a little
10616 2002-06-16 <alstrup@diku.dk>
10618 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10619 Got rid of FORMS_H_LOCATION include. Now we are
10622 2002-06-15 LyX Development team <lyx@rilke>
10624 * buffer.[Ch] (sgmlOpenTag):
10625 (sgmlCloseTag): Added support for avoiding pernicious mixed
10626 content. Return number of lines written.
10628 (makeLinuxDocFile):
10629 (makeDocBookFile): Fixed calls to sgml*Tag.
10630 Simple white space clean.
10632 (simpleDocBookOnePar): Simple white space clean.
10634 * tabular.[Ch] (docBook): Renamed to docbook and got another
10635 argument to related with the pernicious mixed content.
10637 (docbookRow): Fixed calls for docbook inset method.
10639 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10641 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10642 so it's X11 independent.
10646 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10648 2002-06-15 Lyx Development team <lyx@electronia>
10650 * intl.h: Renamed getTrans to getTransManager.
10652 2002-06-14 Angus Leeming <leeming@lyx.org>
10654 * Makefile.am: nuke forgotten stl_string_fwd.h.
10656 2002-06-12 Angus Leeming <leeming@lyx.org>
10658 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10660 2002-06-13 Angus Leeming <leeming@lyx.org>
10663 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10665 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10667 * kbmap.C (getiso): add support for cyrillic and greek
10669 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10673 * BufferView_pimpl.h:
10674 * BufferView_pimpl.C: move bogus scrolling logic
10677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10680 * BufferView_pimpl.C: view->resize() change
10682 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView_pimpl.C: topCursorVisible
10687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10691 * lyx_gui.C: move to frontends/
10695 * lyx_main.C: changes from above
10697 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10704 * lyx_main.C: minor tidy
10706 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10708 * BufferView_pimpl.h:
10709 * BufferView_pimpl.C:
10711 * BufferView.C: make painter() const,
10714 * BufferView2.C: use screen() accessor
10717 * lyx_main.C: some minor cleanup
10719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.h:
10722 * BufferView_pimpl.C: remove enter/leaveView,
10725 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10730 * BufferView_pimpl.h:
10731 * BufferView_pimpl.C: only construct screen once,
10734 * lyxrc.C: remove pointless comment
10736 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10739 * BufferView.C: remove active() and belowMouse()
10741 * BufferView_pimpl.h:
10742 * BufferView_pimpl.C: use workarea() not workarea_,
10743 and make it use a scoped_ptr instead
10745 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10747 * lyx_gui.C: add debug message on BadWindow
10749 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * sp_spell.C: fdopen is not part of the C++ standard.
10753 * paragraph.C (InsetIterator): use >= instead of ==
10755 2002-06-07 Angus Leeming <leeming@lyx.org>
10757 Fixes needed to compile with Compaq cxx 6.5.
10758 * BufferView_pimpl.C:
10765 * lyxtextclasslist.C:
10770 all c-library variables have been moved into namespace std. Wrap
10771 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10776 Add a using std::abs declaration.
10778 * kbmap.h (modifier_pair):
10779 * paragraph.h (InsetTable, InsetList):
10780 * lyxfont.h (FontBits):
10781 type definition made public.
10783 * bufferlist.C (emergencyWriteAll): the compiler complains that
10784 there is more than one possible lyx::class_fun template to choose from.
10785 I re-named the void specialisation as lyx::void_class_fun.
10787 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10789 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10790 the compiler is is unable to find tostr in write_attribute.
10792 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10794 * buffer.C (sgmlError): hide #warning
10796 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10798 * xtl/*: get rid of xtl, which is not in use anyway
10800 * LyXAction.C (init):
10801 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10802 were unimplemented xtl experimentation
10804 2002-06-04 André Pönitz <poenitz@gmx.net>
10806 * lyxfunc.C: disable array operation on simple formulae
10808 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10810 * converter.C: constify a bit
10812 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10814 * lyx_gui.C: check xforms version correctly
10816 2002-04-30 Herbert Voss <voss@lyx.org>
10818 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10821 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10823 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10824 attempt to register it with a VCS)
10826 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10828 * lyx_main.C (init): honor variables LYX_DIR_13x and
10831 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10835 * lyx_main.C: fix a crash on bad command line,
10836 and give a useful exit status on error
10838 * lyxfunc.C (doImport): allow -i lyx to work
10840 2002-03-30 André Pönitz <poenitz@gmx.net>
10842 * lyxfunc.C: mathed font changes
10844 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10859 * trans_mgr.h: srcdocs, and some minor cleanups
10861 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10863 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10864 call getFont all the time)
10866 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10868 * switch from SigC signals to boost::signals
10870 2002-05-29 André Pönitz <poenitz@gmx.net>
10872 * paragraph_pimpl.C (getChar): don't call size() too often...
10874 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10876 * paragraph_pimpl.C (insertChar): do not try to update tables when
10877 appending (pos == size())
10879 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10880 in order to reduce drastically the number of comparisons needed to
10881 parse a large document
10883 2002-05-29 André Pönitz <poenitz@gmx.net>
10889 * textclasslist.[Ch]:
10890 * sp_ispell.h: whitespace change
10892 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10894 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10895 lyxaction directly now.
10897 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10901 * lyxvc.C: remove unused headers
10903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10910 * undo_funcs.C: some cleanups. Use shared_ptr
10911 and a template for the undo stacks.
10913 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10915 * BufferView_pimpl.h:
10916 * BufferView_pimpl.C:
10923 * text2.C: use key_state/mouse_state
10925 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10927 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10930 * chset.C: change include order
10931 (loadFile): use boost regex and get rid of LRegex and LSubstring
10933 * Makefile.am (BOOST_LIBS): new variable
10934 (lyx_LDADD): use it
10936 * LaTeX.C: change include order.
10937 (scanAuxFile): use boost regex and get rid of LRegex and
10941 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10946 * FontInfo.C: moved to frontends/xforms/
10949 * FontLoader.C: moved into frontends for GUIIzation
10954 * lyxfunc.C: changes from above
10956 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10958 * LColor.C: remove spurious X include
10960 * BufferView_pimpl.C:
10965 * text2.C: move font metrics to frontends/
10967 2002-05-24 Juergen Vigna <jug@sad.it>
10969 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10970 setting the undo_cursor.
10972 * ParagraphParameters.h: include local includes first.
10974 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10976 * BufferView_pimpl.C:
10977 * BufferView_pimpl.h:
10981 * screen.C: move WorkArea into frontends/
10987 * BufferView2.C: move LyXScreen into frontends/
10991 * lyx_gui.C: move lyxlookup into frontends/xforms/
10993 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10996 * BufferView_pimpl.C:
11006 * bufferview_funcs.C:
11019 * vc-backend.C: move LyX/XFormsView into frontends/
11021 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11033 * text2.C: move Painter to frontends/
11035 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11037 * buffer.C: comment out some some code that depend upon lyx_format
11040 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11041 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11043 * buffer.h (NO_COMPABILITY): turn off compability
11045 * ColorHandler.C: include scoped_array.hpp
11047 * font.C: Use more specific smart_ptr header.
11050 * ShareContainer.h: ditto
11051 * lyx_main.h: ditto
11053 * FontInfo.h: ditto
11054 * BufferView_pimpl.h: ditto
11055 * ColorHandler.h: ditto
11057 * kbmap.C (defkey): change call to shared_ptr::reset
11059 2002-05-21 Juergen Vigna <jug@sad.it>
11061 * buffer.C (insertErtContents): fix to insert ert asis if it is
11062 non empty. Skip it completely if it contains only whitespaces.
11064 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11066 * BufferView_pimpl.C:
11067 * BufferView2.C: clear selection on paste (bug 393)
11069 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11071 * DepTable.C: include ctime
11073 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11075 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11077 2002-05-14 Juergen Vigna <jug@sad.it>
11079 * text.C (breakParagraph): fixed function to honor the keepempty
11080 layout in the right maner and also to permit the right breaking
11081 algorithm on empty or non empyt keepempty paragraphs.
11083 * paragraph.C (breakParagraph): we have to check also if the par
11084 is really empty (!size()) for isempty otherwise we do the wrong
11087 2002-05-10 Juergen Vigna <jug@sad.it>
11089 * buffer.[Ch] : The following are only changes to the ert
11090 compatibility read reading old LaTeX layout and font stuff and
11091 convert it to ERTInsets.
11093 * buffer.h: added isErtInset().
11095 * buffer.C (struct ErtComp): add a fromlayout bool to check
11096 if we're inside a LaTeX layout.
11097 (isErtInset): new helper function.
11098 (insertErtContents): look for other ert insets before this one
11099 and insert the contents there, so that we don't have subsequent
11100 ERT insets with nothing between them. This way we create only one
11101 inset with multiple paragraphs. Also check if we don't insert only
11102 spaces ' ' as they are ignored anyway afterwards in the .tex file
11103 so if we have only spaces we will ignore this latex part in the
11105 (parseSingleLyXformat2Token \\layout): better compatibility when
11106 reading layout-latex stuff.
11107 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11109 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11110 stuff after reading the inset only get the information back from
11113 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11115 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11117 * LaTeXFeatures.C (getBabelOptions): New method.
11119 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * BufferView_pimpl.C (Dispatch): work around missing argument for
11124 2002-05-08 Juergen Vigna <jug@sad.it>
11126 * text.C (leftMargin): handle paragraph leftindent.
11128 * paragraph.C (writeFile): write the new \\leftindent tag.
11129 (validate): handle leftindent code.
11130 (TeXEnvironment): handle paragraphleftindent code again.
11132 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11134 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11135 for paragrap_extra indent code and new token \\leftindent.
11136 (latexParagraphs): handle the leftindent as environment.
11138 * ParameterStruct.h: added leftindent support.
11140 * ParagraphParameters.C (leftIndent): added support functions for
11141 the paragraph left indent.
11143 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11146 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11148 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11151 * text.C (computeBidiTables): No bidi in insetERT.
11153 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11156 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11158 * version.C.in: pre 5
11160 2002-05-02 José Matos <jamatos@fep.up.pt>
11161 * buffer.C (makeDocBookFile): white space changes, add newline to
11163 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11165 * tabular.C (docBook): fix typo.
11167 2002-05-03 Juergen Vigna <jug@sad.it>
11169 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11170 change in LyXText as we can not be sure it was not freed.
11171 (drawOneRow): remove unused code.
11173 * text.C (drawInset): redo the calculation of the need_break_row as
11174 it could have a row which was already freed.
11175 (draw): look at the return value of drawInset and return false if
11176 it also returned false.
11177 (paintRowText): look at the return value of draw and return false if
11178 it also returned false.
11180 * lyxtext.h: added bool return type to drawInset() and draw() so that
11181 if we have a change in the row so that the rowbreak has to be redone
11182 we abort drawing as it will be called again.
11184 2002-05-02 Juergen Vigna <jug@sad.it>
11186 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11187 a change in the maintext also if we're inside an inset.
11188 (Dispatch): set the cursor again after a break line and after the
11189 screen has been updated as it could be we're in a different row.
11191 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11192 to set the cursor behind the pargraph with > size().
11193 (setCursor): check also for the same paragraph when checking where
11194 to put the cursor if we have a NFR inset.
11196 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11197 parts of layout read further up as it still was in the wrong
11200 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11202 * screen.C (drawFromTo): change sine fullRebreak always return
11205 * buffer.C (parseSingleLyXformat2Token): reindent some
11207 * BufferView_pimpl.C (update): change since fullRebreak always
11209 (Dispatch): git rid of the last hardcoded "Standard"s.
11211 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * text2.[Ch] (fullRebreak): make it return void now that we always
11216 2002-04-30 Juergen Vigna <jug@sad.it>
11218 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11219 ert compatibility check for "latex" layout.
11221 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11223 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11224 minipages: use col% instead of p%, and also use the current font.
11225 (makeLaTeXFile): Fix use babel condition.
11226 (parseSingleLyXformat2Token): Correct font when reading old floats.
11228 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11230 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11231 inserting list of floats.
11233 2002-04-25 Herbert Voss <voss@lyx.org>
11235 * MenuBackend.C (expand): don't add the graphics extensions to the
11238 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11240 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11241 non-existing layout, do not complain if it was the default layout
11242 of the original class (bug #342)
11244 2002-04-24 Juergen Vigna <jug@sad.it>
11246 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11247 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11249 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11251 * buffer.C (getBibkeyList): If using \bibliography, return the
11252 option field with the reference itself. Enables us to provide natbib
11253 support when using \bibliography.
11255 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11257 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11259 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11260 natbib is provided by the LaTeX class.
11262 2002-04-23 Juergen Vigna <jug@sad.it>
11264 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11267 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11269 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11273 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11274 ensuremath around textordmasculine, textordfeminine and
11277 2002-04-19 Juergen Vigna <jug@sad.it>
11279 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11280 reinitializing the buffer otherwise row-dimensions may be wrong.
11281 (update): reset also the selection cursors if they do exits otherwise
11282 their x/y positions may be wrong.
11284 * text2.C (cursorDown): don't enter the inset if we came from a row
11285 above and are one row over the inset.
11287 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11288 really leaving an inset.
11290 2002-04-18 Juergen Vigna <jug@sad.it>
11292 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11293 of the selected paragraph does not have the selected layout also if
11296 * text2.C (setLayout): fixed bug which did not change last selected
11299 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11300 changed the read and substituted \\end_float with \\end_inset!
11302 * BufferView_pimpl.C (cursorPrevious):
11303 (cursorNext): fixed to make it work with rows heigher than the work
11304 area without moving the cursor only the draw of the row.
11305 (workAreaMotionNotify): fix jumping over high rows.
11307 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11312 2002-04-16 Juergen Vigna <jug@sad.it>
11314 * text2.C (setCursor): set also the irow().
11315 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11317 (cursorDown): support for locking an inset if the x_fix value goes
11318 inside it. That way I can transverse insets too with cursor up/down.
11320 * lyxrow.h: added irow helper function same as other (i) functions.
11322 * BufferView_pimpl.C (cursorPrevious):
11323 (cursorNext): fixed for insets!
11325 2002-04-15 Juergen Vigna <jug@sad.it>
11327 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11328 position otherwise it is wrong in some cases.
11330 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11331 inside the inset before the call.
11333 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11335 * buffer.[Ch] (getBibkeyList): make it const.
11337 2002-04-12 Juergen Vigna <jug@sad.it>
11339 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11341 * text2.C (getCursorX): new helper function
11342 (setCursor): compute also ix_
11343 (setCursorFromCoordinates): set also ix.
11345 * lyxcursor.h: added ix_ and helper functions.
11347 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11349 * buffer.C (insertStringAsLines): dont break paragraph if the this
11350 paragraph is inside an inset which does not permit it!
11352 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11353 also with no chars on this paragraph.
11354 (paintRowText): only paint stuff if it's inside the workarea!
11356 * paragraph.C (breakParagraph): honor keepempty flag and break the
11357 paragraph always below not above.
11359 * BufferView2.C (unlockInset): update the paragraph layout on inset
11360 unlock as we changed paragraph in such a case.
11362 * lyxfind.C (LyXFind): clear the former selection if not found!
11364 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11365 again called in insertChar().
11367 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11368 an inset which uses the whole row!
11369 (rightMargin): ditto.
11370 (insertChar): force a rebreak if we inserted an inset!
11372 2002-03-28 Herbert Voss <voss@lyx.org>
11374 * lyxlength.[Ch]: add inBP() to get the right PS-point
11375 units (BigPoint). With inPixels we have rounding errors
11377 2002-04-11 Juergen Vigna <jug@sad.it>
11379 * text2.C (setCursorFromCoordinates): set iy to the right value.
11380 (setCursor): add check if row->previous exists!
11382 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11383 an old float_type as this was the case in the old code!
11385 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11387 * BufferView2.C (showLockedInsetCursor): use iy
11388 (fitLockedInsetCursor): ditto
11390 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11391 locked insets as there we have the right value now.
11393 * lyxcursor.C: added iy_ variable and iy functions to set to the
11394 baseline of cursor-y of the locked inset.
11396 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11397 (setCursor): fixed for insets which need a full row.
11399 * text.C (rowLastPrintable): don't ignore the last space when before
11400 an inset which needs a full row.
11401 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11402 as last character of a row when before a inset which needs a full row.
11404 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11406 * version.C.in: update date
11408 * text2.C (fullRebreak): try to always return true and see what
11411 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * MenuBackend.C (expand): use Floating::listName
11415 * FloatList.C (FloatList): add listName argument to the built-in
11418 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11419 text associated with the float.
11421 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11423 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11425 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * ShareContainer.h: add a couple of missing typenames.
11429 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11431 * lyxrc.C (getDescription): use _() correctly rather than N_().
11433 2002-03-28 Herbert Voss <voss@lyx.org>
11435 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11436 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11438 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11440 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11441 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11443 2002-03-29 Juergen Vigna <jug@sad.it>
11445 * lyxfunc.C (dispatch): add a missing fitCursor call.
11447 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11448 it was scrolled by a cursor move, so return the bool status.
11450 * BufferView.C (fitCursor): return the bool flag also to the outside
11451 world as this is needed.
11453 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11455 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11456 call the edit() as it is not needed (and wrong) IMO.
11457 (workAreaButtonPress): set the screen_first variable before evt.
11458 unlock the inset as this may change screen_first and then we have
11459 a wrong y position for the click!
11461 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * MenuBackend.C (expand): another translation that I missed
11465 2002-03-28 Juergen Vigna <jug@sad.it>
11467 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11469 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11471 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11475 * MenuBackend.C (expand): fix export/view/update when there is no
11478 2002-03-27 Herbert Voss <voss@lyx.org>
11480 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11483 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11485 * bufferview_funcs.C (currentState): only show paragraph number
11486 for is DEVEL_VERSION is set.
11488 * lyxfunc.C (dispatch): put warning in INFO channel
11490 * MenuBackend.C (expand): translate the name of floats
11492 * FloatList.C (FloatList): mark the float names for translation
11494 * converter.C (convert): use LibScriptSearch
11496 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * MenuBackend.C (defaults): fix default menu (we might as well get
11501 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11503 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11506 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11508 * lyxvc.C: reorder includes.
11510 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11512 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11515 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11517 * CutAndPaste.C: change layouts earlier on paste
11518 to avoid crashing when calling getFont()
11520 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11522 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11525 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11527 * WorkArea.C: remove 'Pending' debug message.
11529 * most files: ws cleanup
11531 * buffer.[Ch]: ws changes
11533 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11535 2002-03-21 Juergen Vigna <jug@sad.it>
11537 * tabular.C (SetMultiColumn): collapse also the contents of the
11538 cells and set the last border right. Added a Buffer const * param.
11540 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11542 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11545 2002-03-19 Juergen Vigna <jug@sad.it>
11547 * text2.C (clearSelection): reset also xsel_cache.
11549 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11550 where it needs to be called (John tells us to do so too :)
11551 (selectionLost): reset sel_cache.
11553 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11555 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11557 * text2.C (setCursorIntern): put debuging code in INSETS channel
11559 2002-03-19 André Pönitz <poenitz@gmx.net>
11561 * lyxfunc.C: tiny whitespace change
11563 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * ToolbarDefaults.C (init):
11566 * LyXAction.C (init):
11568 * BufferView_pimpl.C (Dispatch):
11569 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11571 2002-03-19 Allan Rae <rae@lyx.org>
11573 * exporter.C (Export): removeAutoInsets before doing anything else.
11574 While I've just introduced a dependency on BufferView this really is
11575 the best place to clean the buffer otherwise you need to cleanup in
11576 a dozen places before calling export or cleanup in a dozen functions
11579 * converter.C (runLaTeX):
11580 (scanLog): Better handling of removeAutoInsets and screen updates.
11582 * lyxfunc.C (dispatch): small whitespace changes
11584 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11586 * WorkArea.C (C_WorkAreaEvent): return a value.
11587 (event_cb): return 1 if we handled the event, 0 otherwise.
11589 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11591 2002-03-18 Juergen Vigna <jug@sad.it>
11593 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11594 (GetAdditionalWidth): ditto.
11595 (RightLine): ditto.
11598 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11599 inset if we're there actually (probably not used right now but this
11600 is the direction to go for unifying code).
11601 (paste): disable code to clear the selection.
11603 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11604 inside an InsetText and move the check further up as it is in the
11607 * text2.C (pasteSelection): set a selection over the pasted text.
11609 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11611 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11612 and libgraphics to build on Cygwin.
11614 2002-03-15 Juergen Vigna <jug@sad.it>
11616 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11617 inserting an Inset into the paragraph. I know this is not the best
11618 fix but we already use current_view in CutAndPaste so we will remove
11619 all of it's using at the same time.
11621 * buffer.C (sgmlError): deactivated function till it is rewritten in
11622 the right mode, now it can create problems.
11624 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11625 before accessing it.
11627 2002-03-14 Juergen Vigna <jug@sad.it>
11629 * undo_funcs.C (textHandleUndo): do the right thing when updating
11630 the inset after the undo/redo.
11632 * text2.C (setCursor): just some testcode for #44 not ready yet.
11634 * undo_funcs.C (textHandleUndo): set the next() and previous()
11635 pointers of the paragraph to 0 before deleting otherwise we have
11636 problems with the Paragraph::[destructor].
11638 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11639 on a paragraph insertion.
11641 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * buffer.C (asciiParagraph): use += operator for char append to
11646 * paragraph.C (getFontSettings): compare >= not just >
11647 (highestFontInRange): ditto
11650 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * paragraph.C: change several algorithm to be more appripriate for
11653 the problem domain. This is lookip in FontList and in the InsetList.
11655 2002-03-13 André Pönitz <poenitz@gmx.net>
11658 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11660 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11665 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11667 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11669 * Painter.C (display): anon helper function, adjust code for this
11671 (pixmap): remove function.
11673 * Painter.h: remove private display variable.
11675 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11677 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11679 * WorkArea.[Ch]: remove figinset_canvas cruft.
11681 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11683 * lyxtextclass.C (operator): add one item cache optimization.
11685 * bufferlist.h: doxy changes
11687 * bufferlist.C: ws changes
11689 * DepTable.[Ch] (ext_exist): place const in the right spot.
11691 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11693 (workAreaExpose): call resizeInsets when the with BufferView changes.
11694 (Dispatch): adjust for protectedBlank removal
11695 (specialChar): call updateInset if the insert went ok.
11697 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11698 specialChar instead.
11700 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11702 * BufferView.h: doxy change
11704 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11706 * lyxtextclass.C (operator[]): remove non-const version
11707 (defaultLayout): remove non-const version
11709 2002-03-12 Juergen Vigna <jug@sad.it>
11711 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11712 did resize the LyXText too.
11714 * buffer.C (readLyXformat2): set layout information on newly allocated
11717 * tabular.C (OldFormatRead): set layout information on the paragraph.
11719 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11721 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11723 2002-03-11 Juergen Vigna <jug@sad.it>
11725 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11727 (resizeCurrentBuffer): force also the insets to resize themselfes.
11728 (moveCursorUpdate): fixed up for InsetText.
11730 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11733 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11734 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11735 value of Dialogs::tooltipsEnabled().
11736 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11738 2002-03-08 Juergen Vigna <jug@sad.it>
11740 * BufferView_pimpl.C (updateInset): update inset inside inset also
11741 if it isn't inside theLockingInset().
11743 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11745 * buffer.C (asciiParagraph): redo some of the word and line length
11747 (getLists): look for Caption instead of caption.
11749 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11751 * buffer.C (Buffer): initialize niceFile to true
11753 (makeLinuxDocFile):
11754 (makeDocBookFile): make sure niceFile is true on exit
11756 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11760 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11762 * LyXSendto.C: remove.
11763 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11764 * lyx_gui.C: remove now-redundant comment.
11765 * ColorHandler.h: remove forward declaration of class WorkArea.
11766 * lyxfunc.C: remove #include "WorkArea.h".
11768 2002-03-07 Juergen Vigna <jug@sad.it>
11770 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11771 got moved away with the DEPM and also set the inset_owner always
11772 right which before could have been omitted.
11774 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11777 wanted layout is not found.
11779 2002-03-07 Juergen Vigna <jug@sad.it>
11781 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11783 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11785 * paragraph.C (breakParagraph): use default layout not layout of
11787 (Paragraph): clear ParagraphParameters.
11789 2002-03-06 Juergen Vigna <jug@sad.it>
11791 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11792 otherwise it would not be a valid lenght. Fixed a special case in
11793 the minipage compatibility read where we end the document with a
11796 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11797 was set as it could be 0 for InsetTexts first entry.
11799 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * paragraph.C (writeFile): if layout is empty write out
11802 defaultLayoutName().
11804 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11805 file without named layout we set layout to defaultLayoutName().
11807 2002-03-06 Juergen Vigna <jug@sad.it>
11809 * CutAndPaste.C (copySelection): set layout for new paragraph.
11811 * text.C (prepareToPrint): leave ERT inset left aligned
11812 (leftMargin): don't indent paragraphs inside ERT insets
11814 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11816 * paragraph.C (breakParagraph): dont call clear do the work manually
11818 * paragraph.[Ch] (clear): remove function
11820 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11822 * paragraph.C (Paragraph): dont call clear, the work has already
11825 * lyxtextclass.C (operator): assert if n is empty
11827 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11828 work manually instead.
11830 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11832 * BufferView_pimpl.C: protect selectionLost against text == 0
11834 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11836 * text.C (breakParagraph): fix a setting layout to '0' problem.
11838 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11840 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11841 final location of file, for the included files, and graphics.
11843 2002-03-05 Juergen Vigna <jug@sad.it>
11845 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11847 2002-03-04 Juergen Vigna <jug@sad.it>
11849 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11851 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11852 last column of multicolumn cells.
11853 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11855 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11857 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11858 file if it doesn't go to a temporary file.
11860 * buffer.C (sgmlOpenTag):
11861 (sgmlCloseTag): remove extra newline insertion.
11863 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11865 * text.C (getRowNearY): comment out debug msg
11867 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * text2.C: first -> first_y
11871 * text.C (getRowNearY): add some attemts at a possible
11872 optimization, not working.
11874 * tabular.[Ch]: add BufferParams to several function so that newly
11875 created paragraph can be initialized to he default layotu for the
11878 * tabular-old.C (ReadOld): add buf->params to call of Init
11880 * screen.C: rename text->first to text->first_y
11882 * paragraph.C (breakParagraph): always set layout in the broken
11885 * lyxtextclass.C (Read): remove lowercase
11888 (delete_layout): ditto
11890 * lyxtext.h: rename first -> first_y
11892 * lyxlayout.C (Read): remove lowercase
11895 (obsoleted_by): ditto
11897 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11899 * buffer.C (insertErtContents): add params are to InsetERT
11900 (parseSingleLyXformat2Token): add code to check if a paragraphs
11901 layout really exist.
11902 (parseSingleLyXformat2Token): add params to several inset
11904 (asciiParagraph): remove lowercase, do the layout comparisons with
11907 * BufferView_pimpl.C (cursorNext): first -> first_y
11908 (resizeCurrentBuffer): first -> first_y
11909 (updateScrollbar): first -> first_y
11910 (scrollCB): first -> first_y
11911 (workAreaMotionNotify): first -> first_y
11912 (workAreaButtonPress): first -> first_y
11913 (checkInsetHit): first -> first_y
11914 (cursorPrevious): first -> first_y
11915 (cursorNext): first -> first_y
11916 (Dispatch): add buffer_->params to severl inset contructors
11918 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * lyxlayout.C (Read): remove some debug info that I forgot.
11922 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11923 clean up the code slightly.
11924 (makeLinuxDocFile): ditto
11925 (makeDocBookFile): ditto
11927 * text2.C: layout as string
11929 * text.C: layout as string
11931 * paragraph_pimpl.C: layout as string
11933 * paragraph.[Ch]: layout as string
11935 * lyxtextclasslist.[Ch]: layout as string
11937 * lyxtextclass.[Ch]: layout as string
11939 * lyxtext.h: layout as string
11941 * lyxlayout.[Ch]: layout as string
11943 * lyx_cb.C: layout as string
11945 * bufferview_funcs.C: layout as string
11947 * bufferparams.C: layout as string
11949 * buffer.C: layout as string
11951 * LyXView.[Ch]: layout as string
11953 * LaTeXFeatures.[Ch]: layout as string
11955 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11957 * BufferView_pimpl.C: change current_layout to string, remove
11962 (workAreaButtonRelease): layout as string
11964 * BufferView2.C (unlockInset): adjust
11966 * vspace.C (asLatexCommand): use an explict temp variable.
11968 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11970 * Makefile.am: use FRONTEND_*
11972 2002-03-01 Juergen Vigna <jug@sad.it>
11974 * tabular.C (SetWidthOfMulticolCell): changed to something better
11975 I hope but still work in progress.
11976 (recalculateMulticolumnsOfColumn): renamed function from
11977 recalculateMulticolCells as it is more appropriate now.
11978 (SetWidthOfCell): calculate multicols better.
11980 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11982 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11984 * lyxfunc.C (processKeySym): print sequence also if it is
11985 `deleted' (complete)
11987 * kbsequence.C (print): print sequence even if it is deleted
11988 (complete would be a better word, actually).
11990 * lyxfunc.C (dispatch): print complete options after a prefix key
11992 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11994 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11996 * text2.C (setCharFont): eliminate setCharFont code duplication.
11998 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12000 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12001 LFUN_TABULAR_FEATURE (bug #177)
12003 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12005 * Makefile.am: remove figure.h
12007 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12009 * Bufferview_pimpl.C:
12021 * text2.C: remove #include "lyx_gui_misc.h".
12023 * LaTeX.C: added #include <cstdio>
12025 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12027 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12028 that the paragraph following this one can have.
12030 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12032 * vspace.C (asLatexCommand): fix bogus gcc warning
12034 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12036 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12038 * text2.C (setLayout): get rid of redundant code
12040 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12042 * text2.C (incDepth): make sure depth cannot be increased beyond
12045 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12047 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12048 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12050 * PainterBase.h (image):
12051 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12052 a LyXImage const *.
12054 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12058 * BufferView_pimpl.C:
12059 * BufferView_pimpl.h:
12079 * sp_spell.C: remove fig inset, and the crap house of
12080 cards that follows it
12082 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12087 * os2_errortable.h:
12088 * nt_defines.h: move .h into support/
12090 * vms_defines.h: remove
12092 * WorkArea.C: add space in debug output
12096 * buffer.C: add WITH_WARNINGS
12100 * bufferlist.C: s/retrive/retrieve/, add docs
12109 * chset.C: add docs
12111 * lyxgui.C: add ID to X error handler
12113 * lyxtestclass.c: fix typo
12115 2002-02-26 Juergen Vigna <jug@sad.it>
12117 * tabular_funcs.C (write_attribute): changed so that some default
12118 attributes are not written at all.
12119 (getTokenValue): set default values before trying to read the
12120 value so we have the return value always set as default if we don't
12121 find the token we search for.
12123 * tabular.C (Write): write bools as bools not as strings!
12125 2002-02-22 Juergen Vigna <jug@sad.it>
12127 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12128 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12130 * text.C (leftMargin): don't add an indent for paragraphs inside
12131 tabular cells (fix #208).
12133 2002-02-21 José Matos <jamatos@fep.up.pt>
12135 * tabular.C (docBook): fixed support for long tables.
12137 2002-02-20 Juergen Vigna <jug@sad.it>
12139 * text2.C (getFont): get the drawing font of the Inset if this
12140 paragraph is inside an inset (only important for InsetERT for now).
12142 * buffer.C (insertErtContents): use new lanugage params in ERT
12145 * CutAndPaste.C: commenting out seemingly uneeded code.
12147 2002-02-19 Allan Rae <rae@lyx.org>
12149 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12150 Iterators might be simple to use but they also get invalidated.
12151 (removeAutoInsets): renamed saved cursor tracking variables and added
12152 some comments to clarify what everything does.
12154 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12161 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12162 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12165 * vc-backend.h: remove #include "support/syscall.h"
12169 * converter.C: rearrange #includes in Lars' approved fashion.
12171 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12172 forward declare class Timeout in the header file.
12174 * XFormsView.C: changes due to the above.
12176 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12177 similar to LyXView.
12179 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12180 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12182 2002-02-18 José Matos <jamatos@fep.up.pt>
12184 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12187 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12189 * a lot of small ws changes
12190 * add a lot of using std::XXX
12191 * use std construcs some places where approp.
12192 * use some exisint stuff from lyxfunctional where approp.
12193 * Make file changes to use partial linking (lets test this now...)
12195 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12199 remove #include "support/syscontr.h" as it's redundant. Always has been.
12207 change Systemcalls::System to Systemcalls::Wait and
12208 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12209 No change of functionality, just reflects the stripped down Systemcalls
12212 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12214 * debug.[Ch]: add a GRAPHICS type to the enum.
12216 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12218 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12220 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12223 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12225 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12226 match the changes below.
12228 * text2.C (toggleInset): if there is not editable inset at cursor
12229 position, try to see if cursor is _inside_ a collapsable inset
12232 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12234 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12235 document menu has a nice checkbox
12237 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12239 * lyxlength.C (asLatexString): change PW to output as percent of
12242 * lengthcommon.C: change '%' to 't%'
12244 * lyxfunc.C (dispatch): a few comments from Martin
12246 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12250 * BufferView_pimpl.h:
12251 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12254 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12256 * vspace.C (inPixels): fix compiler warning
12258 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * lyxfunc.C (getStatus): fix status message for disabled commands.
12262 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12264 * BufferView_pimpl.C: fix crash on close buffer
12265 during selection (#227)
12267 2002-01-27 Herbert Voss <voss@lyx.org>
12269 * buffer.C: link old Figure to new graphic inset
12271 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12273 * FontLoader.C (getFontinfo): Change the latex font names in order
12274 to match the names of type1inst.
12276 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12278 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12280 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12281 (extchanged): ditto
12283 (remove_files_with_extension): ditto
12284 (remove_file): ditto
12287 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12288 document is smaller than the work area height. Do not initialize
12289 static variables to 0.
12291 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12293 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12295 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12296 LFUN_LAYOUT_PARAGRAPHS.
12298 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12299 tabular. It is possible to provide a possible cell, which will
12300 typically be the actcell from the corresponding insettabular
12302 * lyxfunc.C (getStatus): small cleanup; disable
12303 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12306 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12310 * paragraph.C (startTeXParParams):
12311 (endTeXParParams): new methods. The LaTeX code to
12312 start/end paragraph formatting
12313 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12314 empty (fixes bug #200)
12316 * vspace.C (inPixels): adapt to the change below
12317 (inPixels): [later] more cleanups (remove unused variables)
12319 * lyxlength.C (inPixels): change to use a width and a height as
12322 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12325 Replaced with \paperwidth
12327 * DepTable.C (insert): add std:: qualifier
12329 2002-01-18 Allan Rae <rae@lyx.org>
12331 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12334 * text.C (drawInset): Turned out I didn't know enough about how
12335 rebreaking worked. This fixes most of the redraw problems. I see
12336 an occasional cursor trail when a line is broken now and the cursor
12337 placement can seem out by a few pixels also after a rebreak.
12339 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12341 * buffer.C (parseSingleLyXformat2Token): update because minipage
12342 width is now a LyXLength
12344 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12346 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12349 2002-01-17 Juergen Vigna <jug@sad.it>
12351 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12353 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12354 is set correctly and the inset is updated correctly.
12356 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12358 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12359 the beginning of the loop.
12361 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12363 * lyxrc.C: improve help for use_scalable_fonts
12365 2002-01-17 Allan Rae <rae@lyx.org>
12367 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12369 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12371 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12372 make sure to set their inset_owner to the right value (bug #171)
12374 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12377 * DepTable.C: Implement mtime checking to reduce time spent doing
12380 2002-01-16 Juergen Vigna <jug@sad.it>
12382 * tabular.C (GetAdditionalHeight): one of error fixed.
12384 * lyxrc.C (output): small fix in writing use_pspell.
12386 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12388 * sp_base.h: #include LString.h
12390 2002-01-16 Allan Rae <rae@lyx.org>
12392 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12393 Can someone check this please?
12395 * text.C (drawInset): It was possible that p.row would be removed by
12396 breakAgainOneRow upsetting a few other settings. There may be another
12397 small tweak possible by setting need_break_row = 0 when p.row has been
12398 removed but I don't know enough about the logic here.
12400 2002-01-15 Allan Rae <rae@lyx.org>
12402 * text.C (insertChar): removed conditional truism.
12404 * BufferView2.C (removeAutoInsets): More tweaks.
12405 cur_par_prev could be a stray pointer. Check for trailing empty line
12406 in case last line was cur_par and only had an error inset on it.
12408 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12410 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12413 * vc-backend.C (most methods):
12414 * exporter.C (Export):
12415 * converter.C (convert):
12417 * LyXSendto.C (SendtoApplyCB):
12418 * lyxfunc.C (dispatch):
12422 * lyx_cb.C (AutoSave):
12424 * BufferView_pimpl.C (MenuInsertLyXFile):
12425 * buffer.C (runChktex): use Buffer::filePath().
12427 * buffer.h: rename filename to filename_; rename filepath to
12428 filepath_ and make it private
12429 (filePath): new method
12431 * buffer.C (writeFile): use fileName()
12434 * lyx_main.C (init): fix starting of LyX when the binary is a
12435 link from so,ewhere else.
12437 * minibuffer.C: include <cctype> for isprint
12439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12441 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12442 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12443 name clash with InsetCollapsable's width function.
12445 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12447 * lastfiles.C: include <iterator>
12449 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12451 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12454 * buffer.C (makeLaTeXFile): ditto.
12455 Also make loop operation more transparent.
12457 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12459 * ToolbarDefaults.C: remove trailing comma closing namespace.
12461 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12463 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12466 * trans.C (Load): comment out unused variable, allowed.
12468 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12470 * minibuffer.[Ch] (append_char): new method to recieve input from the
12471 drop-down completion browser. If a key was pressed, then recieve this
12472 char and append it to the existing string.
12473 (peek_event): modify the positioning data passed to the completion
12474 browser so that it can be placed above the minibuffer rather than below.
12475 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12477 * LyXAction.C (init): alloe error-next for readonly documents.
12479 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12482 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * bufferlist.C (readFile): create the buffer _after_ checking that
12487 * lyxfunc.C (verboseDispatch): fix handling of arguments
12489 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12491 * lyxrc.C: use string::erase() instead of initializing to "".
12494 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12496 * BufferView_pimpl.h:
12497 * BufferView_pimpl.C:
12500 * text2.C: tell X when we have made a selection for copying
12502 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * BufferView_pimpl.C (MenuInsertLyXFile):
12505 * lyxfunc.C (menuNew):
12507 (doImport): add shortcuts to directory buttons
12509 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12512 * lyxfunc.C (setStatusMessage):
12513 (getStatusMessage): new methods
12514 (getStatus):use setStatusMessage instead of setErrorMessage
12515 (dispatch): when function is disabled, set error message here
12516 [instead of in getStatus previously]
12518 * BufferView_pimpl.C (workAreaButtonRelease): update
12519 toolbar/menubar here too.
12521 2002-01-13 Allan Rae <rae@lyx.org>
12523 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12524 Now seems indestructible. Remaining task is to audit all other
12525 code affected by deleteEmptyParagraphMechanism. One small quirk
12526 left is that an empty document with an error in the preamble can
12527 be made to report an error but no error box appears. I don't know
12529 (removeAutoInsets): Improved comments.
12531 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12534 * Thesaurus.C: update for Aiksaurus 0.14
12536 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * text2.C (firstParagraph): removed member function, all uses
12539 replaces with ownerParagraph
12540 (redoParagraphs): here
12541 (updateInset): here
12542 (toggleAppendix): here
12543 * BufferView2.C (insertErrors): here
12544 (setCursorFromRow): here
12546 2002-01-13 Allan Rae <rae@lyx.org>
12548 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12549 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12550 There is still a way to segfault this although you may have to do this
12551 multiple times: Have an InsetERT with an unknown command in it.
12552 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12553 <down-arrow>, <Enter> again, View->DVI, BANG!
12555 * text2.C (setCursor):
12556 (deleteEmptyParagraphMechanism):
12557 * lyxtext.h (setCursor):
12558 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12559 Making use of the return value may help fix other bugs.
12561 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12563 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12565 * LyXView.C (updateMenubar): call MenuBar::update here
12566 (updateToolbar): but not here
12567 (showState): do not update toolbar/menubar
12569 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12570 should need to care about that.
12572 * lyxfunc.C (verboseDispatch): simplify a bit
12573 (getStatus): have a version which takes a pseudoaction, and
12574 another which requires a (kb_action,string).
12576 * LyXAction.C (retrieveActionArg): make it work also when action
12577 is not a pseudo-action.
12578 (getActionName): simplify a bit
12581 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12583 * lyxfunc.C (verboseDispatch): new families of methods with
12584 several ways to specify a command and a bool to indicate whether
12585 the command name and shortcut should be displayed in minibuffer
12586 (eventually, we could extend that to a finer bitmask like
12587 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12588 (dispatch): the pristine dispatch command which just, well,
12589 dispatchs! Note it still sets its result to minibuffer; I'm not
12592 * lyxfunc.h: remove setHintMessage
12594 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12596 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12598 * BufferView_pimpl.C (specialChar): delete new inset if we have
12599 not been able to insert it.
12601 * kbmap.C: revert to using int instead of kb_action, since all we
12602 are dealing with is pseudo-actions.
12604 * LyXAction.C (searchActionArg): change to return int instead of
12605 kb_action, since the result is a pseudoaction.
12607 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12609 * buffer.C (insertErtContents): Fix (partially) the font bug.
12611 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12613 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12614 as the other one is broken on my machine!
12616 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12619 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12621 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12623 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12624 reflect their actual use. Provide compatibility code for older lyxrc
12627 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12629 change names of popup font variables in line with the changes to lyxrc.C
12631 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * buffer.C (asciiParagraph): avoid outputing a word twice after
12636 * lyxrc.C (getDescription): document that document_path and
12637 template_path can be empty.
12639 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12641 * LaTeXFeatures.C (getMacros):
12642 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12644 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12646 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12648 (getPackages): rename feature "floats" to "float". Use an array to
12649 iterate over 'simple' features (i.e. just a \usepackage). Add
12650 handling of "amsmath" (renamed from "amsstyle").
12652 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12654 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12657 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12659 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12660 FuncStaus::FuncStatus & FuncStaus::some_method().
12662 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12664 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12665 of the func_satus stuff. Edited and massaged in various ways by
12668 * lyxfunc.C (getStatus): use FuncStatus
12670 2002-01-08 Juergen Vigna <jug@sad.it>
12672 * text.C (nextBreakPoint): use function Inset::isChar().
12674 * paragraph.C (TeXOnePar): use function
12675 Inset::forceDefaultParagraphs.
12677 * buffer.C (latexParagraphs): use function
12678 Inset::forceDefaultParagraphs.
12680 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12682 * lyx_gui.C (init): set the style of the menu popups to
12683 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12685 2002-01-07 Juergen Vigna <jug@sad.it>
12687 * text.C (setHeightOfRow): small fix
12688 (prepareToPrint): don't look at alignment if we don't have the place
12691 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12693 * box.C: New file. Move the Box methods and functions out of box.h,
12694 following Lars' suggestion.
12696 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12698 * box.h: #include "support/LOstream.h", needed for inlined function.
12701 * lyxtextclasslist.C: added some using std declarations.
12703 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12705 * box.h: make signed dimensions to allow insets wider than
12706 the screen (bug #162)
12708 * BufferView_pimpl.C: add some insetHit debug
12710 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12712 * vc-backend.C: add FIXME
12714 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12716 * lyxfunc.C (getStatus): enable code for showing math font status
12719 2002-01-07 Juergen Vigna <jug@sad.it>
12721 * text.C (nextBreakPoint): removed debug output not needed anymore.
12723 2002-01-06 Juergen Vigna <jug@sad.it>
12725 * text.C (nextBreakPoint): fixed up this function we had this bug
12726 since ever but now hopefully we break row better.
12727 (insertChar): we have to check if an inset is the next char as it
12728 could now happen that a large inset is causing a break.
12730 2002-01-05 Juergen Vigna <jug@sad.it>
12732 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12733 if it doesn't like to be drawed.
12735 2002-01-04 Juergen Vigna <jug@sad.it>
12737 * BufferView2.C (lockInset): forgot to set a cursor.
12739 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12741 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12743 * FormMathsPanel.C:
12746 * form_maths_panel.C:
12747 * form_maths_panel.h:
12748 * form_maths_panel.fd: implemented sub- and super- buttons in math
12751 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12752 (or ^ space) to be used as in TeX (req'd by André).
12754 * lyxfunc.C: Allow ^ and _ again to be used both as
12755 super/subscript (mathed) and as themselves (in text).
12757 2002-01-03 Allan Rae <rae@lyx.org>
12759 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12760 "LyX" or the filename of the current buffer if it has one. This is a
12761 modified form of John Levon's patch.
12763 * XFormsView.C (setWindowTitle): also set icon title.
12765 * LyXView.h (setWindowTitle): signature changed.
12766 * XFormsView.h (setWindowTitle): ditto.
12768 2002-01-02 Juergen Vigna <jug@sad.it>
12770 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12772 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12774 * screen.C (topCursorVisible): introduce a temp var for
12775 text->cursor.row(), handle the case where this row is null. (kindo
12778 * text2.C (setCursor): add a couple of asserts.
12780 * paragraph.h (inset_iterator): add -> operator
12782 * paragraph.[Ch] (autoDeleteInsets): remove member function
12784 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12785 cursor pos correctly and handle inset deletion by itself.
12786 (insertErrors): move iterator declaration out of for expression
12788 * lyxtextclass.C: add <algorithm>
12790 * Makefile.am: added the new files to sources, removed layout.C
12792 * layout.C: removed file
12794 * layout.h: remove LYX_DUMMY_LAYOUT
12796 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12800 * lyxtextclass.[Ch]:
12801 * lyxtextclasslist.[Ch]: new files
12803 * include order changes to a lot of files, also changes because of
12806 2001-12-27 Juergen Vigna <jug@sad.it>
12808 * buffer.C (asciiParagraph): more fixes.
12810 * tabular.C (ascii): make ascii export support export of only the
12811 data separated by a column-delimiter.
12812 (ascii): better support for ascii export.
12814 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12816 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12818 * tabular_funcs.C: use a "using std::getline" instead of the
12819 previous fix from Angus (necessary for cxx + lyxstring)
12821 2001-12-24 Juergen Vigna <jug@sad.it>
12823 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12825 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12826 problems. First check a minipage also if we have some ert-contents
12827 (not only on par->size(), second set the right depth of the paragraph
12828 on the relink to the root-paragraph-list!
12830 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12831 which then did not anymore update the main paragraphs on undo/redo!
12833 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12836 code. Support all font-changing funcs (even those which are not in
12837 menu currently). Support for reporting font settings in
12838 mathed (disabled until Andre provides a function on mathed's side).
12840 * func_status.h (toggle): small helper function to set toggle
12843 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12845 * tabular_funcs.C: getline -> std::getline
12847 2001-12-21 Juergen Vigna <jug@sad.it>
12849 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12850 accessed and could be 0 (I couldn't generate this but it seems
12853 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12856 * tabular_funcs.h: here and include iosfwd
12858 2001-12-20 Juergen Vigna <jug@sad.it>
12860 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12861 inside inset but undo_par was.
12863 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12865 * Thesaurus.C: always include <config.h> in sources.
12869 * box.h: do not include <config.h> in header files
12871 * text.C (paintLastRow): remove unused variable
12873 * text.C (transformChar):
12875 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12877 * Painter.C (text):
12878 * font.C (width): rewrite to use uppercase() instead of
12881 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12883 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12885 * lyxfind.C: clean up of find failure position change
12887 2001-12-20 Juergen Vigna <jug@sad.it>
12889 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12891 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12892 (TeXRow): added to LaTeX a single tabular row.
12893 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12894 (Latex): simplified and finally good LT-h/f support.
12895 (various_functions): just small adaptions for LT-h/f support.
12897 * tabular_funcs.[hC]: added and moved here all not classfunctions
12900 2001-12-19 Juergen Vigna <jug@sad.it>
12902 * tabular.[Ch]: better support for longtabular options (not finished
12905 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * text.C (paintLastRow): use the label font instead of the font of
12908 the last character to compute the size of *_BOX. This makes more
12909 sense and avoids a crash with empty paragraphs.
12910 Use Painter::rectangle to draw EMPTY_BOX.
12912 2001-12-19 Juergen Vigna <jug@sad.it>
12914 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12915 the paragraphs if the replaced paragraph is not the first one!
12916 Tried to delete not used paragraphs but does not work yet so for
12917 now it's inside #ifdef's and by default off!
12919 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12921 * MenuBackend.C: include "lyx_main.h" instead of declaring
12922 lastfiles (actually was declared as LastFiles* instead of a
12925 2001-12-17 Juergen Vigna <jug@sad.it>
12927 * tabular.C (AppendColumn): applied John's fix
12929 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12933 * BufferView_pimpl.h:
12934 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12937 * box.h: new start of class for above
12939 * lyxfunc.C: ignore space-only minibuffer dispatches.
12940 Show the command name when it doesn't exist
12942 * minibuffer.C: don't add empty lines to the history
12944 * minibuffer.C: add a space on dropdown completion
12946 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12948 * text.C: fix line above/below drawing in insets
12950 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12952 * lyxlength.C (LyXLength): Initialize private variables.
12954 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12957 when inserting error insets.
12959 2001-12-13 Juergen Vigna <jug@sad.it>
12961 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12962 actually sometimes the before-paragraph.
12963 (setUndo): don't clear the redostack if we're not actually undoing!
12965 2001-12-06 Juergen Vigna <jug@sad.it>
12967 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12968 and fixed redoing of main paragraph, so we can use it now ;)
12970 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12972 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12974 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12977 2001-12-13 André Pönitz <poenitz@gmx.net>
12980 * undo_func.C: minor cleanup
12982 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12984 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12985 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12986 font in urw-fonts package which is marked as -urw-fontspecific and
12987 does not work (incidentally, changing the encoding in the
12988 fonts.dir of this package to -adobe-fontspecific fixes the
12991 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12992 is a crash when undoing first paragraph (Juergen, please take a
12993 look). THis does not mean the undo fix is wrong, just that it
12996 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12997 the (Paragraph*) version when needed instead of duplicating the
13000 * text.C (workWidth): use Inset::parOwner to find out where the
13001 inset has been inserted. This is a huge performance gain for large
13002 documents with lots of insets. If Inset::parOwner is not set, fall
13003 back on the brute force method
13005 * paragraph_pimpl.C (insertInset):
13006 * paragraph.C (Paragraph):
13007 (cutIntoMinibuffer): set parOwner of insets when
13008 inserting/removing them
13010 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13012 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13018 * mathed/formulabase.C:
13019 * mathed/math_cursor.[Ch]:
13020 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13023 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13025 * lyxlength.[Ch] (operator!=): new function
13027 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13029 * text.C (workWidth): use Inset::parOwner to find out where the
13030 inset has been inserted. This is a huge performance gain for large
13031 documents with lots of insets. If Inset::parOwner is not set, fall
13032 back on the brute force method
13034 * paragraph_pimpl.C (insertInset):
13035 * paragraph.C (Paragraph):
13036 (cutIntoMinibuffer): set parOwner of insets when
13037 inserting/removing them
13039 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13041 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13043 * tabular-old.C (getTokenValue):
13044 * tabular.C (getTokenValue):
13045 (write_attribute): new versions for LyXLength
13046 (everywhere): adjust the use of widths
13048 * tabular.h: change the type of widths from string to LyXLength
13050 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13052 * paragraph.C: fixed missing line number count when exporting
13053 Environments to LaTeX file
13055 * buffer.C: added informational message for checking line numbers.
13057 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13059 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13060 paragraph, do the 'double space' part, but not the 'empty
13063 * text.C (workWidth): small optimization
13064 (getLengthMarkerHeight): use minimal size for negative lengths.
13066 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13068 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13070 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13072 2001-12-11 André Pönitz <poenitz@gmx.net>
13075 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13077 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13079 * text2.C: keep selection on a setFont()
13081 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13083 * lyx_cb.C: another bv->text misuse, from insert label
13085 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13088 * kbsequence.C: re-instate nmodifier mask
13090 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13092 * lyx_main.h: make lyxGUI private.
13094 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13096 * lyxfind.C: place the cursor correctly on failed search
13098 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13100 * text.C (getLengthMarkerHeight): for small heights, the arrows
13101 are not always on top/bottom of the text
13102 (drawLengthMarker): smaller arrows; take the left margin in
13103 account; draw also vfills.
13105 (paintLastRow): remove special code for vfill and standard spaces,
13106 since everything is handled in drawLengthMarker now.
13108 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13110 * buffer.C (insertErtContents): try to handle font and language
13111 interaction a bit better.g
13113 * ColorHandler.C (updateColor): change the hash to cover the whole
13114 LColor enum, ws cleanup
13115 (getGCLinepars): ditto
13116 (getGCLinepars): only lookup in the linecache once.
13118 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13120 * iterators.C (operator++): Make the iterator more robust
13122 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13124 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13129 * text.C: better added space drawing
13131 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13134 * BufferView2.C: fix layout combo update on inset unlock
13136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13138 * Makefile.am: don't compile unused files
13140 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13144 * LyXAction.C: remove old LFUN_LAYOUTNO
13146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13148 * paragraph_pimpl.h:
13149 * paragraph_pimpl.C: isTextAt() doesn't need font param
13151 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13154 * lyxlex.C: little cleanup
13156 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13158 * BufferView_pimpl.C: fix insertAscii for insets
13160 2001-12-05 Juergen Vigna <jug@sad.it>
13162 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13163 set the right font on the "multi" paragraph paste!
13165 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13171 * lyxlength.C: remove out-commented code.
13173 * BufferView_pimpl:
13187 * vc-backend.C: change "while(" to "while ("
13189 * lyxlength.[Ch]: add zero function to check if length is zero or
13191 * lyxgluelength.C: use it
13193 2001-12-05 Allan Rae <rae@lyx.org>
13195 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13196 Works for 2.95.3, from what I understand of Garst's reports this should
13197 work for other g++ versions. We're screwed if the abs(int) definition
13198 changed between bugfix releases of gcc.
13200 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13202 * text.C: fix chapter label offset !
13204 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13207 * text.C: fix hfill at end of line, clean up
13209 2001-12-04 Juergen Vigna <jug@sad.it>
13211 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13212 that we force an update of the inset and it's owners if neccessary.
13214 2001-12-03 Juergen Vigna <jug@sad.it>
13216 * text.C (rowLast): simplified code
13218 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13220 * lyxfunc.C: fix show options on timeout
13222 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * screen.C (topCursorVisible): scroll half a page when the cursor
13225 reached top of bottom of screen
13227 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13229 * minibuffer.C: deactivate on loss of focus
13231 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13233 * vspace.[Ch] (operator!=): add operator.
13235 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13237 * BufferView_pimpl.C: refuse to open an inset when
13238 there's a selection.
13240 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13242 * BufferView_pimpl.C: allow to click on RHS of full row insets
13244 2001-11-30 Juergen Vigna <jug@sad.it>
13246 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13247 insets for undo reasons.
13249 2001-11-28 André Pönitz <poenitz@gmx.net>
13251 * vspace.[Ch]: cosmetical changes
13253 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13263 * kbsequence.C: part re-write of old kb code
13266 * WorkArea.C: remove Lgb_bug_find_hack
13268 2001-11-30 José Matos <jamatos@fep.up.pt>
13270 * buffer.C (makeDocBookFile): add a comment to point a hack.
13271 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13272 Fixed a double write of labels.
13274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13277 * LaTeX.h Fixed bug in LaTeX class where it would not
13278 re-run latex if no depfiles were changed, but the .dvi was removed.
13280 2001-11-28 André Pönitz <poenitz@gmx.net>
13282 * all the files from the change on 2001/11/26:
13283 use lyx::layout_type instead of LyXTextClass::size_type
13284 use lyx::textclass_type instead of LyXTextClassList::size_type
13286 2001-11-29 Juergen Vigna <jug@sad.it>
13288 * text.C: added support for paragraph::isFreeSpacing()
13290 * buffer.C: same as above
13292 * paragraph.h: inserted isFreeSpacing() function to enable
13293 FreeSpacing inside InsetERT.
13295 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13296 of the paragraph's in the cut/copy buffer to 0!
13298 * text2.C (removeRow): remove the assert as it can!
13300 * lyxtext.h: added helper function firstRow returning firstrow and
13301 made firstrow private again.
13303 * BufferView2.C (lockInset): don't relock if we're already locked!
13305 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13306 the only paragraph.
13307 (removeRow): added Assert::(firstrow)
13309 * debug.C: forgot to add INSETTEXT here.
13311 2001-11-28 Juergen Vigna <jug@sad.it>
13313 * sp_spell.C (initialize): changed error text to more general
13314 spellchecker command use (not only ispell!)
13316 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13318 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13320 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13322 * vspace.C: initialise lyxgluelength on failure
13324 2001-11-28 Allan Rae <rae@lyx.org>
13326 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13327 declaration & definition that looks like a function declaration.
13329 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * BufferView2.C (copy):
13332 (copyEnvironment): do not clear the selection when doing a copy.
13334 * text.C (paintFirstRow): compilation fix
13336 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13338 * tabular.C (Latex): correct line count when writing latex.
13340 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13342 * paragraph_pimpl.h:
13343 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13346 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13350 * LColor.C: change vfillline->added_space
13352 * text.C: add markers and text for added space
13354 * vspace.C: fix comment
13356 2001-11-28 André Pönitz <poenitz@gmx.net>
13358 * paragraph.C: whitespace changes
13359 * all the other files from the change on 2001/11/26:
13360 change *::pos_type into lyx::pos_type
13362 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13364 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13365 language of the document when inserting error insets.
13367 2001-11-26 André Pönitz <poenitz@gmx.net>
13369 * BufferView_pimpl.[Ch]:
13377 * paragraph_pimpl.[Ch]:
13380 * text2.C: reduce header dependencies, introduce type for positions
13382 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13384 * <various>: change to use Alert.h
13386 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13388 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13389 when encountering an unknown token.
13390 (readLyXformat2): Show an error message if there were unknown tokens.
13392 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13395 * BufferView_pimpl.C:
13399 * text2.C: use par->isInset()
13401 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13403 * paragraph_pimpl.h:
13404 * paragraph_pimpl.C: cleanup
13406 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13408 * text2.C (removeRow):
13409 * text.C (setHeightOfRow): remove useless (and costly) call to
13412 2001-11-20 Allan Rae <rae@lyx.org>
13414 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13415 Now need Inset*::checkInsertChar() to return true for appropriate
13416 cases so that the characters in the minibuffer will actually be
13419 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13421 * text.C: change the order of the includes.
13422 (workWidth): initialize it at once.
13423 (workWidth): make maxw unsigned
13424 (setHeightOfRow): remove unused variable (inset)
13425 (selectSelectedWord): remove unused variable (inset)
13426 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13428 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13431 server is not running.
13433 (closeConnection): add debug info when server is disabled.
13435 * ColorHandler.C (getGCForeground): send debug message to GUI
13438 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13440 * kbmap.C (bind): modify because return conventions of
13441 kb_sequence::parse have changed.
13443 * kbsequence.C (parse): only ignore spaces and not any stupid
13444 control character. This avoids tests like s[i] <= ' ', which are
13445 guaranteed to fail with 8bit characters and signed chars.
13446 Change return code to string::npos when there have been no error
13447 (0 was a bad idea when error is at first character)
13449 2001-11-14 José Matos <jamatos@fep.up.pt>
13452 * buffer.C (simpleDocBookOnePar): removed unused argument.
13454 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13456 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13457 insets which are part of a word. Paragraph::isLetter takes care of
13458 that now. Use Paragraph::isInset to identify insets.
13459 (selectSelectedWord): do not test for hyphenation break.
13461 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13462 that protected spaces are considered as spaces.
13464 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13467 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13470 * lyxserver.C: fix it. and small cleanup.
13472 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13474 * BufferView_pimpl.C: use inline helpers
13477 * LaTeXFeatures.C: fix typos
13480 * Spacing.C: move spacing_string into class
13482 * ToolbarDefaults.C: move stuff into namespace anon
13484 * layout.h: update enum
13486 * lyxfunc.C: use better debug
13488 * minibuffer.h: fix typo
13492 * WorkArea.C: add and use Debug::WORKAREA
13496 * text2.C: code re-organisation, inline helpers
13498 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13500 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13501 std::vector.empty().
13503 2001-11-09 Allan Rae <rae@lyx.org>
13505 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13506 '\n's after tables. Tabular and ERT inset work now makes this no
13509 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13512 * minibuffer.C: fix crash, improve drop-down completion
13514 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13517 * lyxserver.C: invalidate fd's when doing endPipe()
13519 2001-11-08 José Matos <jamatos@fep.up.pt>
13521 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13522 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13525 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13527 2001-11-07 José Matos <jamatos@fep.up.pt>
13530 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13533 * buffer.C (sgmlOpenTag):
13534 * buffer.C (sgmlCloseTag): removed debug info.
13536 * buffer.h (sgmlOpenTag):
13537 * buffer.h (sgmlCloseTag): made public.
13539 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13541 * buffer.C (saveParamsAsDefaults):
13542 * lyx_cb.C (MenuLayoutSave): remove
13544 * LyXAction.C (init):
13546 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13548 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13550 * buffer.C (setPaperStuff): removed from here...
13552 * bufferparams.C (setPaperStuff): ... and moved there.
13554 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13558 * XFormsView.C: add support for drop-down completion
13560 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13562 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13565 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13567 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13570 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13572 * lyx_main.C: change ref to known bugs
13574 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13576 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13577 to work around older babel problems.
13579 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13581 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13583 2001-10-24 Juergen Vigna <jug@sad.it>
13585 * tabular-old.C (ReadOld): below variable changes reflected.
13587 * tabular.[Ch]: added ltType struct for longtable header/footer
13588 defines and changed all instances where they are used. Added
13589 future support for double top/bottom rows.
13591 2001-10-24 José Matos <jamatos@fep.up.pt>
13593 * buffer.h (docbookHandleCaption):
13594 * buffer.C (docbookHandleCaption): removed unused function.
13595 (makeDocBookFile): moved docbook supported version to v4.1.
13597 2001-10-24 José Matos <jamatos@fep.up.pt>
13600 * tabular.C (docbookRow): new function to export docbook code of a row.
13601 (DocBook): now honors the longtable flags.
13603 2001-10-23 José Matos <jamatos@fep.up.pt>
13606 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13607 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13609 * buffer.C (makeLinuxDocFile):
13610 (makeDocBookFile): reworked the preamble, more clean, and with
13611 support for lyx defined entities. Changed the document declaration
13612 to be more XML friendly.
13614 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13615 if we need to output XML that should be done with a filter.
13617 2001-10-22 Juergen Vigna <jug@sad.it>
13619 * sp_pspell.h (class PSpell): add alive function needed in the
13620 controller to see if the spellchecker could be started.
13622 2001-10-22 Juergen Vigna <jug@sad.it>
13624 * buffer.C (insertStringAsLines): modify the font for inserting
13625 chars in certain conditions by calling checkInsertChar(font).
13627 2001-10-19 Juergen Vigna <jug@sad.it>
13629 * text.C (workWidth): use getRow instead of wrong algorithm.
13630 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13632 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13637 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13639 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * text.C (workWidth): do not search for the exact row when
13642 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13643 optimization for big documents.
13645 2001-10-18 Juergen Vigna <jug@sad.it>
13647 * text.C (workWidth): new function with added Inset * parameter.
13649 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13651 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13653 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13654 change return type of getColumnNearX.
13657 * text.C (changeRegionCase): use uppercase/lowercase instead of
13660 (rightMargin): simplify code by factoring out the uses of
13665 (appendParagraph): use Paragraph::size_type
13667 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13669 * vspace.C (asLatexString): add a missing break
13671 2001-10-15 Herbert Voss <voss@perce.de>
13673 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13675 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13680 2001-10-10 André Pönitz <poenitz@gmx.net>
13682 * lyxfunc.C: removed greek_kb_flag.
13684 2001-10-10 Herbert Voss <voss@perce.de>
13686 * lyx_main.C: delete global string help_lyxdir.
13688 2001-10-09 Herbert Voss <voss@perce.de>
13690 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13692 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13694 * lyx_main.C: added global string help_lyxdir.
13696 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13698 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13700 * lyxrc.C (set_font_norm_type): support iso8859-4
13702 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13704 * LaTeX.C (deplog): add another regex for MikTeX
13706 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13708 * lyxrc.C (set_font_norm_type): support iso8859-3
13710 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13714 * LaTeXFeatures.C: remove special case of french and index
13716 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13717 before \begin{document}). This solves several incompatibilities.
13719 2001-10-03 Garst Reese <reese@isn.net>
13721 * lyx_cb.C: change CheckTex error msg.
13723 2001-10-03 José Matos <jamatos@fep.up.pt>
13725 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13727 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13729 * .cvsignore: update
13731 * lyx_main.C (commandLineVersionInfo): use new style version info.
13733 * buffer.C (writeFile):
13735 (makeLinuxDocFile):
13736 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13738 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13740 * version.h: update to use stuff in version.C
13742 * version.C.in: new file. Contains version information determined
13743 at compile time. This is a merging of version.h and
13746 2001-10-03 Juergen Vigna <jug@sad.it>
13748 * BufferView_pimpl.C (update): don't change "dirty" status in
13751 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13753 * WorkArea.C (c-tor): re-position version string slightly.
13755 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13757 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13758 revert to previous code.
13760 WorkArea.[Ch]: (show, destroySplash): methods removed.
13762 WorkArea.C: rework code so that it's an amalgam of the codes before and
13763 after the splash screen was moved to WorkArea.
13765 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13768 * vspace.C (inPixels):
13771 * buffer.C (insertStringAsLines):
13772 (asciiParagraph): fix types to be large enough
13774 * lyxlex_pimpl.h: change member status from short to int
13776 * layout.h: fix type of endlabeltype
13779 * kbsequence.C (parse): change return type to string::size_type
13781 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13784 * Bullet.C (bulletSize):
13785 (bulletEntry): do not use short ints as parameters
13787 * BufferView2.C (insertLyXFile): change a char to an int.
13789 * WorkArea.C (WorkArea): remove unneeded floats in computation
13791 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13793 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13795 * paragraph.C (asString): Do not ignore newline/hfill chars when
13796 copying to the clipboard.
13798 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13800 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13801 after a multi-line inset.
13803 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13805 * paragraph.C (validate): Set NeedLyXFootnoteCode
13807 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13809 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13810 and decrease-error to decrease.
13812 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13814 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13815 it more readable (should be equivalent)
13817 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13819 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13821 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13823 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13824 of a cursor (row, etc.) after a character has been deleted
13825 (deleteEmptyParagraphMechanism): call the method above on _all_
13826 cursors held by the LyXText when a double space has been
13829 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13831 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13833 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13835 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13836 background. Use greyOut() and the new show() methods to toggle between
13837 the foreground and background. Add code to remove the splash after
13838 its initial showing.
13840 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13841 (create_forms): no longer call Dialogs::showSplash.
13843 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13845 * .cvsignore: add version_info.h
13847 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13849 * version_info.h.in: new file
13851 * Makefile.am: add version_info.h.in
13853 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13854 version_info.h instead of VERSION_INFO
13856 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13858 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13859 The ERT inset now returns string().
13861 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13863 * lyxtext.h, text.C (selectNextWord): renamed as
13864 selectNextWordToSpellcheck.
13866 * text.C (selectNextWordToSpellcheck): Modified to not select
13867 words inside an ERT inset.
13869 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * lyx_cb.C (MenuLayoutSave): change a bit the question
13873 * sp_base.h: include <sys/types.h>
13875 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13877 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13879 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13881 * several files: fix typos in user-visible strings
13883 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * text2.C (pasteSelection): do not set the selection, since it
13886 will be cleared later. Actually, the intent was to fix the way the
13887 selection was set, but I figured rmoving the code was just as good.
13889 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13891 * FontLoader.C (available): Check if font is available without
13894 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13896 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13898 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13900 * lyxrc.[Ch]: added display_graphics variable and associated code.
13902 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13904 * bufferparams.C (hasClassDefaults): new method. Returns true if
13905 the buffer parameters correspond to known class defaults
13907 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13909 * XFormsView.C (show): set minimum size to the main window.
13911 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * text2.C (copySelection):
13915 * lyxfind.C (LyXReplace):
13916 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13917 LyXText::selectionAsString.
13919 * paragraph.C (asString): add "label" argument to the second form
13921 * text2.C (selectionAsString): add "label" argument and pass it to
13922 Paragraph::asString.
13924 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13926 * lyx_main.C (commandLineHelp): remove version information
13928 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13930 * lyx_main.C: add -version commandline option
13932 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * paragraph.h: make the optional constructor arg required instead.
13935 some modifications to other files because of this.
13937 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13939 * lyxserver.C (C_LyXComm_callback): make it static
13941 * lyx_main.C (error_handler): make it static
13943 * lyx_gui.C (LyX_XErrHandler): make it static
13945 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13947 * WorkArea.C: make the extern "C" methods static.
13949 * Makefile.am (lyx_LDADD): simplify
13951 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13953 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13954 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13956 * LyXAction.C (init):
13957 * lyxfunc.C (dispatch): associated code removal.
13959 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * lyxfont.h (isSymbolFont): shut off warning
13963 * text.C (setHeightOfRow):
13964 (getVisibleRow): fix crash with empty paragraphs which have a
13967 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13969 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13972 2001-09-04 José Matos <jamatos@fep.up.pt>
13975 * tabular.C (docbook): rename docBook method to docbook.
13977 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13979 * Makefile.am: add dependencies to main.o.
13981 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13983 * FontLoader.C (available): Return false if !lyxrc.use_gui
13985 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13987 * FontInfo.C (query):
13988 * converter.C (view):
13989 * importer.C (Import):
13990 * exporter.C (Export): Can not -> cannot.
13992 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13994 * BufferView_pimpl.C: allow to create index inset even if
13997 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13999 * buffer.C (getLists): replace boost::tie code with an explicit pair
14000 as boost::tie can break some compilers.
14002 * iterators.h: Added a std:: declaration to the return type of
14005 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14007 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14010 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14012 * iterators.[Ch]: New files. Provide paragraph iterators.
14014 * buffer.C (changeLanguage): Use paragraph iterators.
14015 (isMultiLingual): ditto
14017 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14019 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14021 * FontLoader.C: Support for cmr font.
14023 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14025 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14026 (available): New method.
14028 * FontInfo.C (getFontname): Use scalable fonts even when
14029 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14032 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14034 * converter.C (Formats::view): reverted! Incorrect fix.
14036 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14038 * converter.C (Formats::view): only output the -paper option
14039 if the dvi viewer is xdvi, thereby fixing bug #233429.
14041 2001-08-23 Herbert Voss <voss@perce>
14043 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14045 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14047 * Spacing.h (Spacing): Set space to Default on in the default
14050 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * vc-backend.h (RCS::versionString): add RCS to version
14053 (CVS::versionString): add CVS to version
14055 * vc-backend.C (scanMaster): do not add CVS to version.
14056 (scanMaster): do not add RCS to version
14058 * lyxvc.C (versionString): new method
14060 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14062 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14064 * Spacing.C (set): initialize fval
14066 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14068 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14071 2001-08-16 Juergen Vigna <jug@sad.it>
14073 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14075 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14077 * BufferView_pimpl.C:
14080 * text2.C: setParagraph takes linespacing now
14082 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14084 * LyxAction.C: add internal LFUN_CITATION_INSERT
14086 * LyXView.C: actually apply fix
14088 * bufferlist.C: fix open non-existent file
14090 * lyxfind.C: fix indentation
14092 * lyxfunc.C: remove unneeded assert, fix typo
14094 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14096 * MenuBackend.C: use "Floatname List"
14098 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14100 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14101 when converting LaTeX layout to insetERT.
14102 Generate a non-collapsed float when reading old float
14104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14106 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14109 2001-08-13 Juergen Vigna <jug@sad.it>
14111 * text.C (fill): return 0 instead of 20 as this seems to be the more
14114 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14116 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14119 2001-08-13 Juergen Vigna <jug@sad.it>
14121 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14123 (SearchBackward): comment out the unlocking of the inset_owner this
14124 should not be needed!
14126 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14128 * Many files: Remove inherit_language, and add latex_language
14130 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14131 collapsible insets.
14133 2001-08-10 Juergen Vigna <jug@sad.it>
14135 * text.C (prepareToPrint): fixed hfill-width in draw!
14137 * BufferView2.C (selectLastWord): save the selection cursor as this
14138 now is cleared in the function LyXText::clearSelection!
14140 2001-08-08 Juergen Vigna <jug@sad.it>
14142 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14143 BACKSPACE type functions.
14145 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14146 is only cutted from the document but not put in the cut-buffer, where
14147 still the old stuff should be.
14149 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14151 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14153 * tabular.C (SetWidthOfCell): fixed special case where the width
14155 (LeftLine): handle '|' in align_special.
14157 (LeftAlreadyDrawed): ditto
14158 (SetWidthOfCell): ditto
14160 2001-08-07 Juergen Vigna <jug@sad.it>
14162 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14164 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14167 * lyxlex.[hC]: ditto
14169 2001-08-06 Juergen Vigna <jug@sad.it>
14171 * text.C (getVisibleRow): fix up row clearing a bit.
14173 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * minibuffer.C: make sure the X server sees the changes in the input.
14177 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14179 * paragraph.C (getFont): split into...
14180 (getLabelFont): this
14181 (getLayoutFont): and this
14182 * paragraph_pimpl.C (realizeFont): calling this
14184 * text2.C (getFont): split into...
14185 (getLayoutFont): this
14186 (getLabelFont): and this
14187 (realizeFont): all three calling this
14189 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14192 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14194 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14196 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14198 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14199 layouts from the Quote inset insertion.
14201 2001-08-03 Juergen Vigna <jug@sad.it>
14203 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14205 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14206 only if status not is already CHANGED_IN_DRAW (second level).
14208 * text.C (draw): don't set the need_break_row when inside an
14211 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14213 * buffer.C (parseSingleLyXformat2Token): handle more latex
14216 * bufferview_funcs.[hC]: change function names to
14217 begin with small char, adjust other files.
14219 2001-08-02 André Pönitz <poenitz@gmx.net>
14222 BufferView_pimpl.C: remove broken special code for math-greek
14224 2001-08-02 Juergen Vigna <jug@sad.it>
14226 * BufferView_pimpl.C (update): redone this function so that we
14227 update the text again if there was a CHANGE_IN_DRAW.
14229 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14230 (drawFromTo): added a new internal bool which is used by draw() and
14232 (general): some cursor drawing problems fixed.
14234 2001-08-01 Juergen Vigna <jug@sad.it>
14236 * lyxfind.C (LyXFind): fixed
14237 (SearchForward): ditto
14238 (SearchBackward): ditto
14240 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14241 spurius drawing of the cursor in the main area.
14243 * text2.C (status): small fix which could lead to a segfault!
14244 (clearSelection): remove unneeded BufferView param.
14246 2001-08-01 André Pönitz <poenitz@gmx.net>
14248 * lyxfunc.C: small change due to changed mathed interface
14250 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14254 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14256 * lyxfunc.c: fail gracefully if file doesn't exist
14261 * BufferView_pimpl.C: IsDirWriteable() proto changed
14263 * LyXView.C: fix updateWindowTitle() to store the last title
14265 2001-07-31 Juergen Vigna <jug@sad.it>
14267 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14268 the font (wrong since using of Paragraph::highestFontInRange).
14270 * paragraph.C (highestFontInRange): added a default_size parameter.
14272 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14273 (setHeightOfRow): reformat
14275 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14277 * converter.[hC] + affected files: move to (inital-char)lowercase
14280 * ParagraphParameters.C (ParagraphParameters): remove commented code
14282 * PainterBase.[Ch]: remove commented code
14284 * LaTeXFeatures.h: add "bool floats" for float.sty
14286 * LaTeXFeatures.C (LaTeXFeatures): init floats
14287 (require): handle float
14288 (getPackages): do it with floats
14290 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * BufferView_pimpl.C (Dispatch): improve handling of
14293 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14295 * commandtags.h: #include lyxfont.h here temporarily to avoid
14298 * bufferlist.h: include LString.h here.
14300 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14302 * text2.C (getStringToIndex): new method.
14304 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14306 * *: Reduced header file dependencies all over.
14308 2001-07-30 Baruch Even <baruch@lyx.org>
14310 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14312 2001-07-29 Baruch Even <baruch@lyx.org>
14314 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14316 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * ParameterStruct.h (endif): add a default constructor to make
14319 sure that all variables is initialized.
14321 * ParagraphParameters.C (ParagraphParameters): adjust
14323 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14325 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14326 index; also, check that there is something to index, and that it
14327 does not span over several paragraphs.
14328 (doubleClick): use WHOLE_WORD_STRICT for double click.
14330 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14332 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14335 2001-07-26 Baruch Even <baruch@lyx.org>
14337 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14338 an InsetFig figure, backwards compatible reading of old figure code.
14340 2001-07-27 Juergen Vigna <jug@sad.it>
14342 * text2.C: font.realize function adaption.
14344 * text.C (draw): add a warnings lyxerr text if needed.
14346 * layout.C: font.realize function adaption.
14348 * language.C: add inherit_language and implement it's handlings
14350 * bufferview_funcs.C (StyleReset): remove language parameter from
14351 font creation (should be language_inherit now).
14353 * bufferparams.C (writeFile): handle ignore_language.
14355 * paragraph.C (getFontSettings): the language has to be resolved
14356 otherwise we have problems in LyXFont!
14358 * lyxfont.C (lyxWriteChanges): added document_language parameter
14359 (update): removed unneeded language parameter
14361 * paragraph.C (validate): fixed wrong output of color-package when
14362 using interface colors for certain fonts in certain environments,
14363 which should not seen as that on the final output.
14365 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14367 * BufferView_pimpl.C:
14372 * LyXAction.C: add thesaurus support
14375 * lyxfind.C: add "once" parameter, for thesaurus, to not
14376 move to the next match
14378 2001-07-26 Juergen Vigna <jug@sad.it>
14380 * lyxfont.C (realize): honor ignore_language too!
14383 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14385 * text.C (draw): one place more for ignore_language to not draw
14388 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14390 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14392 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14395 the minipage conversion problem.
14397 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14399 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14402 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14404 * BufferView.h: don't forward declare WorkArea
14406 * BufferView.C: don't include WorkArea.h
14408 2001-07-25 André Pönitz <poenitz@gmx.net>
14412 * lyxfunc.C: new LFUN 'math-space'
14414 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14416 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * text2.C (toggleInset): call open/close
14420 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * lyxfunc.C (dispatch): add debug for the disabled case
14424 * font.C (buttonText): make similar to rectText
14426 * buffer.C (readInset): comment out parsing of insetlist and
14429 * PainterBase.C (rectText): small correction
14431 * BufferView_pimpl.C: comment out insettheorem and insetlist
14432 * LyXAction.C: ditto
14433 * commandtags.h: ditto
14435 2001-07-24 Juergen Vigna <jug@sad.it>
14437 * text.C (draw): honor the ignore_language.
14439 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14441 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14446 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14448 * lyxtext.h: remove unused (and unimplemented) methods
14450 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14452 * text.C (getVisibleRow): honor background color
14455 * Painter.h: remove default color argument for fillRectangle
14457 * text.C (backgroundColor): new method
14459 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14461 * text.C (getVisibleRow): adjust
14463 * font.[Ch] (rectText): new method, metrics
14464 (buttonText): new method, metrics
14466 * PainterBase.[hC]: make rectText and buttonText always draw and take
14469 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14471 * ToolbarDefaults.C (read):
14472 * MenuBackend.C (read): allow escaping in all strings
14474 * BufferView_pimpl.C (insertAndEditInset): new method.
14475 (Dispatch): use insertAndEditInset whenever appropriate.
14477 * BufferView_pimpl.C (insertNote): removed
14479 * BufferView_pimpl.C (smartQuote): new method, moved from
14480 BufferView; if an insetquote cannot be inserted, insert a '"'
14483 * BufferView2.C: remove insertCorrectQuote();
14485 * lyxfunc.C (getStatus): Add support for all remaingin
14486 inset-insert lfuns.
14488 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14490 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14491 command (necessary to pass " as parameter of self-insert.
14493 * text.C (selectWordWhenUnderCursor):
14494 (selectWord): add word_location parameter
14495 (selectWordWhenUnderCursor): same + remove special code for word
14497 (selectNextWord): use kind() to guess type of insetspecialchar,
14500 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14501 (insertErtContents): create ert insets as collapsed.
14502 (readInset): better compatibility code for Info inset.
14504 2001-07-20 Juergen Vigna <jug@sad.it>
14506 * lyxfunc.C (dispatch): use always LyXFind now!
14508 * text2.C (init): add a reinit flag so that the LyXText can be
14509 reinited instead of deleted and reallocated (used in InsetText).
14511 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14517 2001-07-18 Juergen Vigna <jug@sad.it>
14519 * text.C (selectNextWord): handle insets inside inset by calling
14520 always the bv->text functions so that we can go up the_locking_inset!
14522 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14523 in strange locations when inside an inset!
14525 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14526 handling to include insets.
14528 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14530 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14532 * LyXAction.C (init):
14534 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14535 LIGATURE_BREAK, since the name is so stupid.
14537 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14539 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14542 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14544 * sp_form.[Ch]: remove.
14546 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14548 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14551 * src/buffer.C (readInset): ditto.
14553 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14555 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14556 menuSeparator(), endOfSentenceDot(), ldots() and
14557 hyphenationPoint(), which are therefore removed.
14558 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14560 * LyXAction.C (init):
14561 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14563 * paragraph.C (getWord): removed.
14565 * BufferView_pimpl.C (Dispatch): use last word or selection for
14566 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14568 * lyx_main.C (queryUserLyXDir): do not ask before creating
14569 user_dir, except if it has been named explicitely.
14571 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14573 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14574 a document of zero size.
14576 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14578 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14579 approriately in the c-tor and in require().
14580 (getPackages): output the appropriate LaTeX for natbib support.
14582 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14583 variables "use_natbib" and "use_numerical_citations" when reading the
14585 (readInset): read the various natbib cite commands.
14586 (validate): white-space change.
14588 * bufferparams.[Ch]: new variables "bool use_natbib" and
14589 "bool use_numerical_citations".
14590 (writeFile): output them in the LyX file.
14592 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14594 * lyxfunc.C (getStatus): add support for all the inset insertion
14597 * text2.C (insertInset):
14598 * paragraph.C (insetAllowed):
14599 * BufferView_pimpl.C (insertInset): update to take in account the
14600 renaming of insertInsetAllowed
14602 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14604 * text2.C (getInset): new method. returns inset at cursor position.
14606 * BufferView_pimpl.C (Dispatch): changes because of this.
14608 * LyXAction.C (init): rename open-stuff to inset-toggle.
14610 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14612 * text2.C (toggleInset): renamed from openStuff; use
14615 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14617 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14619 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14621 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14623 * buffer.C (readLyXformat2): Add filename to the error dialog
14625 2001-07-18 Juergen Vigna <jug@sad.it>
14627 * tabular.C (GetCellNumber): put an assert here instead of the check!
14629 2001-07-17 Juergen Vigna <jug@sad.it>
14631 * BufferView_pimpl.C (toggleSelection): adapted too.
14633 * text.C (selectNextWord): adapted for use with insets.
14634 (selectSelectedWord): ditto
14636 2001-07-17 Juergen Vigna <jug@sad.it>
14638 * sp_spell.C (PSpell): fix initialitation order.
14640 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14642 * paragraph.C: spacing
14644 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14646 * sp_spell.C: repair language selection for pspell
14648 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14650 * lyxfunc.h: change more methods to begin with lower char.
14652 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14654 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14655 for unknown layouts.
14657 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14659 * buffer.C (readLyXformat2): Generate an error dialog if there are
14662 2001-07-16 Juergen Vigna <jug@sad.it>
14664 * sp_spell.C: always compile ISpell part.
14666 * lyxrc.C: added use_pspell entry and it's handling.
14668 2001-07-13 Juergen Vigna <jug@sad.it>
14670 * sp_spell.C: removed double includes.
14672 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14674 Consistent use of Lsstream.h:
14675 * Lsstream.h: added using std::stringstream for consistencies sake.
14677 * buffer.C: removed using std::stringstream
14679 * lyxfont.C (stateText):
14680 * paragraph.C (asString):
14681 * text.C (selectNextWord, selectSelectedWord):
14682 * text2.C (setCounter):
14683 * vspace.C (asString, asLatexString):
14684 std::ostringstream -> ostringstream.
14686 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14688 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14689 * commandtags.h: add LFUN_HELP_ABOUTLYX
14690 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14692 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14694 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14696 * lyx_gui_misc.C: remove spellchecker
14697 * lyxfunc.C: showSpellchecker
14699 * sp_ispell.h: added
14700 * sp_pspell.h: added
14701 * sp_spell.C: added
14702 * sp_form.[Ch]: removed
14703 * spellchecker.[Ch]: removed
14705 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14707 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14709 (simpleTeXSpecialChars): Simply print the input character without
14710 any special translation if pass_thru is set.
14712 * layout.h: Added bool pass_thru to layout class for being able to
14713 implement pass through of a paragraph for Literate Programming.
14715 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14716 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14717 * layout.C (Read): add "passthru" to list of layout tags and add
14718 code to set the pass_thru boolean when it is read.
14720 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14722 * trans_decl.h: remove allowed from KmodInfo
14724 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14725 remove allowed code
14728 * paragraph_pimpl.C (erase): use boost::prior
14730 * Painter.C (text): use data() instead of c_str() when length is
14732 * WorkArea.C (putClipboard): ditto
14733 * font.h (width): ditto
14735 * BufferView2.C: use it-> instead of (*it). for iterators
14737 * paragraph_pimpl.C: ditto
14738 * paragraph.C: ditto
14739 * minibuffer.C: ditto
14740 * language.C: ditto
14742 * encoding.C: ditto
14743 * counters.C: ditto
14744 * converter.C: ditto
14746 * Variables.C: ditto
14747 * TextCache.C: ditto
14748 * MenuBackend.C: ditto
14749 * LyXAction.C: ditto
14751 * FloatList.C: ditto
14752 * DepTable.C: ditto
14753 * ColorHandler.C (LyXColorHandler): ditto
14755 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14757 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14759 * text2.C (openStuff): reintroduce this method (which had been
14760 nuked in NEW_INSETS frenzy).
14762 * lyxfunc.C (Dispatch): when an action has not been handled, use
14763 its name in the error message, not its number.
14765 * paragraph.C (inInset): change method name to begin with lowercase.
14768 * text2.C: updates because of this.
14770 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * ToolbarDefaults.C (add): add spaces in error message
14774 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14776 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14777 (readLyXformat2): rename return_par to first_par, use lyxlex's
14778 pushToken and remove the manual push handling.
14779 (parseSingleLyXformat2Token): add another ert comp. variable:
14780 in_tabular, rename return_par to first_par. handle newlines better
14782 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14784 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14786 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14788 * text2.C (getParFromID): removed
14790 * buffer.C (getParFromID): new method moved form lyxtext.
14791 * BufferView2.C (insertErrors): adjust
14792 (setCursorFromRow): adjust
14793 * BufferView_pimpl.C (restorePosition): adjust
14794 * lyxfunc.C (Dispatch): adjust
14795 * undo_funcs.C (textUndo): adjust
14797 (textHandleUndo): adjust
14798 (textHandleUndo): adjust
14800 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * buffer.C: up' the LYX_FORMAT
14804 * lyxfont.h: turn NO_LATEX on as default
14806 * buffer.C (insertErtContents): new methods of tex style compability.
14807 (parseSingleLyXformat2Token): use it several places.
14808 * tabular.C (OldFormatRead): and here
14810 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14812 * text2.C: remove some commented code.
14815 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14816 * trans.C: changes because of the above.
14818 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14820 * text2.C (setCounter): Fix counters bug with bibliography layout.
14822 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14824 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14825 own member functions
14826 (simpleTeXSpecialChars): ditto
14828 2001-07-06 Juergen Vigna <jug@sad.it>
14830 * a lot of files: changed the access to LyXText::status and the
14831 call of undo-functions.
14833 * undo.[Ch]: added a inset_id to the undo informations.
14835 * undo_funcs.[Ch]: added and moved here all undo functions.
14837 * lyxtext.h: give the status enum a weight, made status_ a private
14838 variable and made accessor functions for it, removed the whole bunch
14839 of undo-functions as they are now in their own file, make some
14840 functions publically available. Added function ownerParagraph with
14843 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14844 made InInset() a const function, added getParFromID() function.
14846 * buffer.[Ch]: added const version for inset_iterator functions,
14847 added getInsetFromID() function.
14849 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14850 changed undo functions for new version.
14852 2001-07-05 Juergen Vigna <jug@sad.it>
14854 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14855 unknow mechanism does not call the proper constructor but only this
14856 one also if I request the other!?
14858 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14862 * text2.C (LyXText): use initialization lists.
14864 * lyxtext.h (Selection): initialize set_ and mark_
14865 (init): remove method
14867 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14869 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14871 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14873 * screen.[Ch]: change method names to begin with lowercase
14875 * BufferView_pimpl.C (updateScrollbar): simplify further and
14876 hopefully make it a bit faster.
14878 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14881 calling directly xforms functions.
14883 * Painter.C (Painter):
14884 * lyx_cb.C (MenuWrite):
14885 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14888 * lyx_gui.C: remove bogus guiruntime extern declaration.
14890 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14894 (redoDrawingOfParagraph): ditto
14895 (redoParagraphs): ditto
14896 (cutSelection): don't create a object for CutAndPaste use the
14897 static method directly
14898 (pasteSelection): ditto
14900 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14903 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14905 * modifications to some other files because of this.
14907 * Makefile.am (lyx_SOURCES): add XFormsView
14909 * XFormsView.[Ch]: new files
14911 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14912 the main window. Move the gui dependent stuff to XFormsView
14914 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14916 * tabular.C (GetCellInset): update cur_cell also in the row/col
14917 version of this function.
14919 * lyxfunc.C: no need to include figure_form.h here.
14925 * lyxvc.C: no need to include forms.h here.
14927 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14929 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14931 * lyxfunc.C (Dispatch):
14933 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14934 constructor argument.
14936 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14938 * paragraph.C (Paragraph): dont't clear, and just set layout.
14939 (makeSameLayout): use params's copy contructor.
14941 * ParagraphParameters.[Ch] (makeSame): delete method
14943 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14945 * Variables.[Ch]: fix indentation, rename set to isSet
14947 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * lyxfunc.C (Dispatch): fix typo
14951 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14953 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14956 * bufferlist.C: include assert.h for emergencyWrite().
14958 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14960 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14961 give up at last (bug #425202) !
14963 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14969 * spellchecker.C: strip spellchecker options and bring up
14970 preferences tab instead
14972 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14974 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14975 the istringstream constructor
14977 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * paragraph.C (getLayout): fix return value
14981 * paragraph.h: do not declare getLayout as inline.
14983 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14985 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14987 * lyxcursor.h (operator<): new func
14988 (operator>): new func
14989 (operator>=): new func
14990 (operator<=): new func
14992 * text.C (changeCase): use selection.start and selection.end
14993 (changeRegionCase): require from to be <= to. Require par to be a
14996 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14998 2001-06-27 Juergen Vigna <jug@sad.it>
15000 * text.C (cursorLeftOneWord): changed to return the cursor and added
15001 overlay with BufferView * parameter which calls this one.
15003 (selectWord): use new getWord function.
15004 (changeCase): renamed from changeWordCase as and extended to work
15005 also on selections.
15007 * lyxtext.h: added enum word_location
15009 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15010 changeCase as this operates now also on selections.
15012 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15014 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15016 * many files: send debug output to Debug::INFO instead of
15019 * converter.C (View):
15021 (Move): send debug output to Debug::FILES instead of console.
15023 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15025 * lyxfunc.C (getStatus): use func_status
15027 * func_status.h: new header, describing the results of
15028 LyXFunc::getStatus;
15030 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15033 2001-06-25 The LyX Project <jug@sad.it>
15035 * buffer.C (sgmlOpenTag):
15037 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15039 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * text2.C: remove some dead code
15043 * tabular.C (GetCellInset): store the last cell checked (gotten)
15045 * tabular.h: add the helper for the speedup
15047 * lyxtext.h: remove some dead code
15049 2001-06-26 The LyX Project <Asger>
15051 * paragraph.C: Change export to LaTeX of alignment to
15052 \begin{center} and family for better roundtrip work with reLyX.
15054 * Tune the math drawing a bit.
15056 2001-06-25 The LyX Project <Asger>
15058 * LColor.C (LColor): New color for math background. New color
15061 2001-06-25 The LyX Project <jug@sad.it>
15063 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15065 * lyxfunc.C (Open):
15066 * bufferlist.C (newFile): do not restrict to files ending with
15069 * BufferView_pimpl.C (MenuInsertLyXFile):
15071 2001-06-24 The LyX Project <jug@sad.it>
15073 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15076 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15078 * lyxtext.h: rename most methods to begin with a small char.
15079 Lots of changes because of this.
15081 * paragraph.C (Paragraph): do not call fitToSize
15082 (erase): call Pimpl::erase
15083 (insertChar): call Pimpl::insertChar
15084 (insertInset): call Pipl::insertInset
15085 (breakParagraph): do not call fitToSize
15086 (breakParagraphConservative): do not call fitToSize
15087 (fitToSize): remove method
15089 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15091 2001-06-24 The LyX Project <Asger>
15093 * Fix Qt compilation^2
15095 2001-06-24 The LyX Project <jug@sad.it>
15097 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15098 depthHook(getDepth()-1).
15101 * ParagraphParameters.h:
15102 * ParameterStruct.h: change type of depth to unsigned int ==
15103 depth_type. Many adaptations to other files before of that.
15105 2001-06-24 The LyX Project <Asger>
15107 * Fix Qt compilation.
15109 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15111 * paragraph.h: renamed several methods to begin with small letter.
15112 several changes to many parts of the code because of this.
15114 2001-06-23 The LyX Project <jug@sad.it>
15116 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15117 rewritten to discard all double spaces when KeepEmpty is off
15118 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15119 to only handle newlines but not fiddle with spaces and friends.
15121 * lyxfunc.C (MenuNew): when doing 'new from template', use
15122 template_path as default directory
15124 2001-06-23 The LyX Project <Asger>
15126 * Clean-up of header file includes all over
15127 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15129 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15131 * paragraph.h: renamed from lyxparagraph.h
15133 2001-06-23 Asger <lyx@violet.home.sad.it>
15135 * Buffer.h: Removed Buffer::resize
15136 * BufferList.h: Removed BufferList::resize
15137 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15138 the document lazily when we change the width, or the font settings.
15140 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15142 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15146 * buffer.h: remove out of date comment
15148 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15151 * screen.C: fix "theoretical" GC leak
15153 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15155 * LaTeX.C (scanAuxFile):
15156 (deplog): remove trailing \r when reading stream (useful under
15159 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15161 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15162 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15163 and BufferView::theLockingInset(Inset*), so should use them and not
15164 access bv_->text->the_locking_inset directly.
15166 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15168 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15171 * tex-defs.h: remove old unused file
15173 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15175 * BufferView_pimpl.C: fix typo, remove minibuffer message
15176 when buffer has loaded
15178 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15180 * lyxfunc.C (Dispatch): use stringstream
15181 (MenuNew): use stringstream
15182 (Open): use stringstream
15184 * importer.C (Import): use stringstream
15186 * bufferview_funcs.C (CurrentState): use stringstream
15188 * LaTeX.C (run): use stringstream
15190 * BufferView_pimpl.C (savePosition): use stringstream
15191 (restorePosition): use stringstream
15192 (MenuInsertLyXFile): use stringstream
15194 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15207 * vspace.C: removed // -*- C++ -*- as first line.
15210 * version.h: added // -*- C++ -*- as first line.
15212 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15214 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15216 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15219 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15224 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * gettext.C: include LString.h even when --disable-nls is on.
15228 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15230 * converter.h (Get): changed argument type from int to
15231 FormatList::size_type to avoid unnecessary conversion.
15233 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15236 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * gettext.h: include LString.h even when --disable-nls is on.
15240 2001-06-07 Juergen Vigna <jug@sad.it>
15242 * text.C (BreakAgain): subst spaces with tabs.
15244 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15245 (resizeInsetsLyXText): set force on resizeLyXText.
15247 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * gettext.h (gettext_init):
15250 (locale_init): use a real definition instead of a macro
15252 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15254 * Bufferview_pimpl.C:
15256 * LColor.C: further lcolor tidies
15258 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15260 * BufferView_pimpl.C (updateScrollbar): simplify.
15262 * BufferView2.C: don't include insets/insetinfo.h, change
15263 prototype for insertInset and call the Pimpl version. let
15264 updateInset call Pimpl version.
15266 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15267 gotoInset to BufferView::Pimpl
15269 2001-06-01 Juergen Vigna <jug@sad.it>
15271 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15272 inside a LockingInset (is the update needed at all?).
15274 2001-05-31 Juergen Vigna <jug@sad.it>
15276 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15277 here not the old one otherwise how should we compare it afterwards
15280 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * FontInfo.C: bring C functions into global namespace when
15288 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * LString.h: make sure config.h has been loaded before LString.h.
15292 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15293 (one for each char read by EatLine!).
15295 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15298 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15300 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15301 to the same as the par we break from
15303 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15305 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15307 * MenuBackend.C (expand): also create menu entries for wide
15308 versions of the floats.
15310 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15312 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15314 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15315 frontends/Makefile.am
15321 * tabular.C (getTokenValue): add std::
15323 * tabular-old.C (getTokenValue): add std::
15324 (getTokenValue): ditto
15325 (getTokenValue): ditto
15327 * screen.C (ToggleSelection): adjust
15329 * lyxtext.h: put selection cursors inside a Selection struct.
15331 * lyxfunc.C (moveCursorUpdate): adjust
15333 * lyxfont.C (latexWriteStartChanges): add std::
15335 * lyxfind.C: adjust
15337 * font.h: delete with(char const *, LyXFont const &)
15339 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15341 * FontInfo.C (getFontname): add std::
15343 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15344 (workAreaButtonPress): adjust
15345 (tripleClick): adjust
15347 (moveCursorUpdate): adjust
15350 * BufferView2.C (gotoInset): adjust
15352 2001-05-30 Juergen Vigna <jug@sad.it>
15354 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15355 to check pspell I add this as default as I now have new pspell
15356 libraries and they seem to use this.
15358 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15360 * text2.C (CutSelection): make the cursor valid before the call to
15363 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15365 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15366 relied on 0 terminated strings and other horrors. Bug found due to
15367 the new assert in lyxstring!
15369 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15372 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15374 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15377 * lyxfunc.C (processKeySym): change method of getting to the
15380 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15381 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15382 * BufferView_pimpl.[Ch]: here as private methods.
15384 2001-05-28 Juergen Vigna <jug@sad.it>
15386 * text.C (SetHeightOfRow): added the update() call again as it is
15387 needed to initialize inset dimensions!
15389 2001-05-16 Juergen Vigna <jug@sad.it>
15391 * text2.C (SetCharFont): Add new function with BufferView * and
15392 bool toggleall parameters for setting insets internal fonts.
15393 (SetFont): Freeze the undo as we may change fonts in Insets and
15394 all this change should be inside only one Undo!
15396 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15397 setting font's in insets as for them we have the SetFont function!
15399 2001-05-15 Juergen Vigna <jug@sad.it>
15401 * text2.C (ClearSelection): to be sure we REALLY don't have any
15404 * tabular.C (TeXCellPreamble): fixed the left border problem for
15407 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15409 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15412 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15414 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15415 LFUN_BREAKPARAGRAPH.
15417 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15418 help test to "internal only", similar for LFUN_INSERT_URL
15420 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15421 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15422 auto_region_delete and deadkeys.
15424 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15427 * LColor.C: remove some dead entries, tidy a little
15429 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15433 (Dispatch): implement LFUN_ESCAPE
15435 * commandtags.h: add LFUN_ESCAPE
15437 * LyXAction.C (init): add entry for LFUN_ESCAPE
15439 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15440 Remove commented code.
15441 (insertNote): moved here
15442 (open_new_inset): moved here
15444 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15447 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15449 * kbmap.C (findbinding): clean it up and make it work correctly.
15451 * lyx_main.C (init): do not pass argc and argv as parameters
15453 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15455 * buffer.C: fix path for OS/2 & Win32
15459 * lyx_main.C: Added os:: class.
15461 * os2_defines.h: update
15463 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15466 better by trying again with reduced state.
15468 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15470 * lyxrc.C (read): print error about invalid key sequence only when
15471 debugging (because not all latinX keysyms are known to some X
15474 * kbsequence.C (getiso): add a few std:: qualifiers
15475 (getiso): comment out extra return statement.
15477 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15479 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15481 (Dispatch): enhance the accent inset a bit. (not perfect)
15483 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15485 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15487 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15489 * bufferlist.C (emergencyWrite): fix assert() call
15491 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15493 * text.C (InsertChar): Added trivial patch to only send the "you
15494 can not do multiple spaces this way" message once during a
15497 2001-05-08 Baruch Even <baruch@lyx.org>
15499 * Makefile.am: Changed order of libraries to get LyX to link properly
15500 with the gnome frontend.
15502 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15504 * LaTeXFeatures.h: add a std:: qualifier
15506 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * paragraph.C (String): use stringstream
15510 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * paragraph.C (writeFile): remove footflag arg
15514 * buffer.C (makeLaTeXFile): use stringstream
15515 (latexParagraphs): remove footnot gurba
15517 * LaTeXFeatures.C (getPackages): use stringstream
15518 (getMacros): likewise
15519 (getTClassPreamble): likewise
15520 (getFloatDefinitions): new method
15522 * paragraph.C (writeFile): reindent
15525 * WorkArea.h: revert the xpos + etc changes.
15527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15529 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15531 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15532 (pasteSelection): likewise
15533 * text2.C (CreateUndo): likewise
15535 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15537 * minibuffer.C (peek_event): temporarily reduce the functionality
15538 of the minibuffer (to allow args on lfuns)
15540 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15541 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15543 * buffer.C (readInset): add compability reading of old float
15544 lists, add reading of new style float list.
15545 (readInset): avoid reevaluation of inscmd.getCmdName()
15546 (getLists): reindent
15548 * MenuBackend.C (MenuItem): implement parsing of
15549 md_floatlistinsert and md_floatinsert.
15550 (expand::LastFiles): move initalizaton of iterators out of loop,
15551 avoid reevaluation.
15552 (expand::Documents): introduce typdedef vector<string> Strings,
15554 (expand::ExportFormats): introduce typedef vector<Format const *>
15555 Formats, and use it.
15556 (expand): implement FloatListInsert and FloatInsert.
15558 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15559 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15560 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15562 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15564 (Dispatch::LFUN_FLOAT_LIST): implement
15566 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15568 * LaTeX.C (run): Fix problem with --export code.
15570 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15572 * BufferView.[Ch] (workarea): removed.
15573 (getClipboard) new method; wrapper for workarea()->getClipboard()
15575 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15578 * WorkArea.h (width, height, xpos, ypos): These methods all
15579 returned the dimensions of the work_area sub-area of WorkArea,
15580 resulting in a position error if the WorkArea were resized. Now
15581 return the dimensions of the entire WorkArea.
15583 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15585 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15587 * LaTeX.C (deplog): correct the syntax of regex reg1
15589 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15591 * undo.C: remove !NEW_INSETS cruft
15593 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15595 * text2.C: remove !NEW_INSETS cruft
15597 * text.C: remove !NEW_INSETS cruft
15599 * tabular.C: remove !NEW_INSETS cruft
15601 * spellchecker.C: remove !NEW_INSETS cruft
15603 * lyxtext.h: remove !NEW_INSETS cruft
15605 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15607 * lyxfunc.C: remove !NEW_INSETS cruft
15609 * lyxfind.C: remove !NEW_INSETS cruft
15611 * lyx_cb.C: remove !NEW_INSETS cruft
15613 * figureForm.C: remove !NEW_INSETS cruft
15615 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15617 * buffer.[Ch]: remove !NEW_INSETS cruft
15619 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15621 * CutAndPaste.C: remove !NEW_INSETS cruft
15623 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15625 * BufferView2.C: remove !NEW_INSETS cruft
15627 * BufferView.h: remove !NEW_INSETS cruft
15629 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15631 * Lsstream.h: include LString.h before the sstream headers to
15632 fix problem with gcc 2.95.3 and lyxstring
15634 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15636 * lyx_main.C: add using directives when needed for C functions
15637 declared in std:: namespace.
15639 2001-04-27 Juergen Vigna <jug@sad.it>
15641 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15642 (SetHeightOfRow): comment out the update call should not be needed!
15644 2001-04-13 Juergen Vigna <jug@sad.it>
15646 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15647 (LyXTabular): tried to minimize operator= operations (and realized
15648 hopfully Lars wish).
15650 2001-04-27 Juergen Vigna <jug@sad.it>
15652 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15654 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15656 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15658 * buffer.C (readInset): hack to make listof algorithm work
15660 * BufferView_pimpl.C: hack to make listof algorithm work
15662 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15664 * LyXAction.C: removed all !NEW_INSETS cruft
15665 (init): moved lfun_item in method
15667 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15669 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15671 * BufferView2.C (theLockingInset): white space.
15673 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * minibuffer.C: include <iostream>
15677 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15679 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15681 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15683 * text.[Ch] (TransposeChars): new method
15685 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15687 * call message directly through LyXView instead of through LyXFunc
15688 * BufferView2.C: adjust
15689 * BufferView_pimpl.C: adjust
15690 * FontLoader.C: adjust
15692 * bufferview_funcs.C: adjust
15693 * converter.C: adjust
15694 * figureForm.C: adjust
15695 * importer.C: adjust
15697 * lyx_gui_misc.C: adjust
15698 * lyxfunc.C: adjust
15701 + more files in subdirs
15703 * lyxparagraph.h (size): move up int file
15706 * adjust all uses of Assert to lyx::Assert.
15708 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15709 lyxfunctional in namespace lyx
15710 * layout.C (hasLayout): ditto
15713 (delete_layout): ditto
15714 (NumberOfClass): ditto
15715 * converter.C (GetFormat): ditto
15720 * bufferlist.C (getFileNames): ditto
15721 (emergencyWriteAll): ditto
15724 * MenuBackend.C (hasSubmenu): ditto
15727 * BufferView_pimpl.C (getInsetByCode): ditto
15729 2001-04-18 Juergen Vigna <jug@sad.it>
15731 * vspace.C (asLatexString): fixed the 100% problem.
15733 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15735 * lyxfunc.C (Dispatch):
15737 * minibuffer.h: add a few std:: qualifiers
15739 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15741 * minibuffer.[Ch]: reimplement so that commands is initiated and
15742 run from lyxfunc, simplified som handling, and made the completion
15743 and history code for complete. wip.
15745 * lyxfunc.C (processKeySym): call message
15746 (miniDispatch): new temporary method
15747 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15748 (LFUN_MESSAGE): implement
15749 (LFUN_MESSAGE_PUSH): implement
15750 (LFUN_MESSAGE_POP): implement
15751 (initMiniBuffer): the initial/defualt minibuffer message.
15753 * lyxfont.[Ch]: inline some more getters
15755 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15757 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15759 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15760 (AutoSave): use LFUN_MESSAGE
15761 (Reconfigure): ditto
15763 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15765 * figureForm.C: use LFUN_MESSAGE
15767 * converter.C (runLaTeX): use LFUN_MESSAGE
15769 * bufferview_funcs.C: use LFUN_MESSAGE
15771 (changeDepth): ditto
15773 * bufferparams.h: use boost::
15775 * bufferlist.h: inherit privately from noncopyable
15777 * bufferlist.C (loadLyXFile): remove some commented code.
15779 * buffer.C (runChktex): use LFUN_MESSAGE
15781 * ShareContainer.h: inherit privately from noncopyable
15783 * ParagraphParameters.[hC] (depth): inline it.
15785 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15787 (message): new method
15788 (messagePush): ditto
15789 (messagePop): ditto
15790 (show): init minibuffer
15791 (showState): direct call
15793 * LaTeX.[Ch]: inherit privately from noncopyable
15794 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15795 instead of WriteStatus.
15797 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15799 * BufferView_pimpl.C (buffer): don't init minibuffer
15800 (workAreaButtonPress): use LFUN_MESSAGE
15801 (workAreaButtonRelease): ditto
15802 (savePosition): ditto
15803 (restorePosition): ditto
15804 (MenuInsertLyXFile): ditto
15805 (workAreaExpose): don't init minibuffer
15806 (update): remove commented code, simplify
15808 * BufferView2.C (openStuff): use LFUN_MESSAGE
15809 (toggleFloat): ditto
15812 (copyEnvironment): ditto
15813 (pasteEnvironment): ditto
15818 (updateInset): remove some commented code
15820 * lastfiles.h: inherit privately from noncopyable
15823 * lyx_main.h: ditto
15825 * lyxlex_pimpl.h: ditto
15827 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15828 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15829 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15831 * LyXAction.h: inherit privately from noncopyable, add methods
15832 func_begin, func_end, returning iterators to the func map.
15834 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15835 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15836 (func_begin): new method
15837 (func_end): new method
15839 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15841 (copySelection): ditto
15842 (pasteSelection): ditto
15844 * BufferView.C: whitespace change
15845 * BufferView.h: inherit privately from noncopyable
15847 2001-04-16 Allan Rae <rae@lyx.org>
15849 * tabular-old.C (l_getline):
15850 * spellchecker.C (sc_check_word):
15851 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15852 an unrecognised preprocessor directive. So ensure they're wrapped.
15854 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15856 * src/exporter.C (Export): Give an error message when path to file
15859 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15861 * LaTeX.C (deplog): Always check that foundfile exists.
15863 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15866 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15868 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * tabular.[Ch] (getLabelList): implement new method
15872 * minibuffer.h: comment ouf setTiimer
15874 * minibuffer.C (ExecutingCB): constify res
15875 (peek_event): constify s
15876 (Set): constify ntext
15877 (Init): constify nicename
15879 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15881 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15882 (savePosition): use two params to Minibuffer::Set
15883 (restorePosition): ditto
15885 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15887 * lyx_main.C: include language.h
15889 * Makefile.am (lyx_main.o): add language.h
15891 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15897 * CutAndPaste.C: include gettext.h
15899 * lyxfont.h: remove old hack with ON and OFF.
15902 * lyxfont.h: do not include language.h...
15907 * bufferview_funcs.C:
15913 * paragraph.C: ... but do it here instead
15915 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15917 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15919 * tabular.C: small reformat
15921 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15924 (BreakParagraph): ditto
15925 (SetOnlyLayout): ditto
15928 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15931 * lastfiles.C: removed most using decl, add std:: where needed
15933 * buffer.C: ws changes
15935 * MenuBackend.C (class compare_format): put into anon namespace
15936 (expand): constify label, names, action, action2
15939 * text.C (SingleWidth): constify font
15940 (IsBoundary): constify rtl2
15941 (GetVisibleRow): constify ww
15943 * LaTeX.C (deplog): constify logfile
15945 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15947 (workAreaExpose): constify widthChange, heightChange
15949 * lyxrow.C (par): moved
15952 * lyxrow.h: as inlines here
15954 * lyxfont.h (shape): moved from lyxfont.C
15955 (emph): moved from lyxfont.C
15957 * lyxfont.C (LyXFont): use initialization list for all
15959 (shape): move to lyxfont.h as inline
15960 (emph): move to lyxfont.h as inline
15963 2001-04-04 Juergen Vigna <jug@sad.it>
15965 * vspace.C: had to include stdio.h for use of sscanf
15967 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15970 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15971 independent of xforms.
15973 2001-04-02 Juergen Vigna <jug@sad.it>
15975 * spellchecker.C: fixed namespace placing!
15977 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15979 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15980 the LyXParagraph * is 0.
15982 2001-03-29 Juergen Vigna <jug@sad.it>
15984 * vspace.C: added support for %, c%, p%, l%.
15985 (stringFromUnit): added helper function.
15986 (asLatexString): changed to give right results for the %-values.
15988 * buffer.C: convert the widthp in a width%.
15990 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15992 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15995 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15996 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15998 * lyx_cb.[Ch]: see above.
16000 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16004 * lyx.[Ch]: replaced by figure_form.[Ch].
16008 * lyxfunc.C: changed headers associated with above changes.
16010 2001-03-27 Juergen Vigna <jug@sad.it>
16012 * BufferView_pimpl.C: set the temporary cursor right!
16014 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16016 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16018 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16020 * LString.h: removed "using std::getline"!
16022 * BufferView_pimpl.C (Dispatch): changes due to changes in
16023 InsetInclude::Params.
16025 * buffer.C (tag_name): removed redundant break statements as they were
16026 producing lots of warnings with my compiler.
16028 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * LString.h: add "using std::getline" when using the real <string>.
16032 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16034 * buffer.C: removed bitset usage.
16035 PAR_TAG moved to an anonymous name space.
16036 (tag_name): new funtion, also in the anonymous namespace.
16037 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16038 (makeDocBookFile): clean code. Completed transition from string arrays
16040 (SimpleDocBookOnePar): code clean.
16042 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16044 * tabular.C: add some comments.
16046 2001-03-22 Juergen Vigna <jug@sad.it>
16048 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16049 compatibility read a bit and fixed bug with minipage in different
16052 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16054 * buffer.C (pop_tag): removed.
16055 (push_tag): removed.
16056 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16057 array replaced with vector. Added support for CDATA sections.
16058 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16060 (makeDocBookFile): XML conformant declaration of CDATA section,
16061 fixed bug related to <emphasis> in the first paragraph char.
16062 (sgmlOpenTag): exclude empty tags.
16063 (sgmlCloseTag): ditto.
16065 * buffer.h (pop_tag): removed.
16066 (push_tag): removed.
16068 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16070 * language.h (Languages): added size_type and size().
16072 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16074 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16075 response on compability reading of minipages. One probliem is that
16076 the old usage of minipages was «flertydig»
16078 * several files here and in subdirs: don't use static at file
16079 scope use anon namespaces instead.
16081 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16083 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16084 LaTeX output. This is necessary for Literate document
16087 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16089 * buffer.C: insert hfill when needed.
16091 * tabular.C (l_getline): use string::erase, small whitespace change.
16093 * BufferView_pimpl.C: try the anon namespace.
16094 * WorkArea.C: ditto
16096 2001-03-16 Juergen Vigna <jug@sad.it>
16098 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16099 otherwise it won't open options-dialogs.
16101 * buffer.C: honor pextraWidth(p) on converting minipages.
16103 * tabular.C (l_getline): changed the functions to strip trailing \r.
16105 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16107 * BufferView_pimpl.C:
16108 * minibuffer..C: added "using SigC::slot" declaration.
16110 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16112 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16118 * paragraph.C: ditto
16120 * lyxtext.h: NO_PEXTRA
16122 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16124 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16125 * ParameterStruct.h: ditto
16126 * ParagraphParameters.h: ditto
16127 * lyxparagraph.h: ditto
16129 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16131 * buffer.C: add compability for minipage alignment.
16132 (latexParagraphs): remove unwanted pextra check.
16134 * several files: remove CXX_WORKING_NAMESPACES
16136 * buffer.C (pop_tag): tie is in namespace boost
16138 * BufferView.h: noncopyable is in namespace boost
16140 * lyx_main.h: ditto
16143 * lastfiles.h: ditto
16144 * bufferlist.h: ditto
16145 * ShareContainer.h: ditto
16147 * LyXAction.h: ditto
16150 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16152 * Merging changes from BRANCH_MVC back into HEAD.
16154 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16156 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16158 * BufferView_pimpl.C: change from intl.C
16162 * Makefile.am: move combox.*
16168 * intl.C: remove dialog (covered by prefs)
16170 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16172 * lyxfunc.C (Dispatch): removed redundant break statement.
16174 2001-03-14 Juergen Vigna <jug@sad.it>
16176 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16178 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16180 * buffer.C: add hack to fix compability reading of minipages.
16182 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16184 * buffer.C (getLists): Cleanup.
16186 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * lyxfont.C (update): don't honor toggleall on font size.
16190 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16194 * Makefile.am: moved to frontends/xforms/
16198 * BufferView_pimpl.C: changes for moved mathpanel
16200 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16202 * gettext.h: fix gettext_init() in --disable-nls
16204 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16206 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16208 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16211 * lyx.h: strip external form
16213 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16215 * BufferView_pimpl.C: add comment, destroySplash()
16217 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16219 * BufferView_pimpl.C:
16223 * lyxfunc.C: use re-worked insetinclude
16225 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16227 * buffer.C: add using std::stringstream.
16229 * lyx_cb.C: readd using std::ios.
16231 * buffer.C: add using std::map.
16233 * BufferView_pimpl.C: add using std::vector.
16235 * ShareContainer.h: add std:: to swap.
16237 * buffer.h: add some typedefs
16238 * buffer.C (getLists): use them
16239 (getLists): renamed from getTocList.
16240 add a counter for the different float types and use it in the
16242 (getLists): use the same counter for the NEW_INSETS and the "non"
16245 * lyx_cb.h: remove unused items, includes, using etc.
16247 * ShareContainer.h: remove some commented code, add more comments
16248 and "documentation".
16250 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16252 * buffer.C (getTocList): make the list also when NEW_INSETS is
16255 * buffer.h: remove TocType
16257 * buffer.C (getTocList): change to return a map<string,
16258 vector<TocItem> >, implement for dynamic number of list.
16260 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16261 * text2.C (PasteSelection): adjust
16262 * CutAndPaste.C (pasteSelection): adjust
16264 * FloatList.C (FloatList): update from the new_insets branch.
16265 * Floating.[Ch]: ditto
16266 * LaTeXFeatures.C: ditto
16268 * lyxlex_pimpl.C: ditto
16270 * paragraph.C (Last): remove when NEW_INSETS is defined.
16272 * other file: changes because of the above.
16274 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16276 * lyxparagraph.h: rename next to next_, previous to previous_,
16277 make them private for NEW_INSETS. Rename Next() to next(),
16278 Previous() to previous().
16280 * other files: changes because of the above.
16282 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16285 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16288 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16290 * main.C (main): pass lyx_localedir to gettext_init().
16292 * gettext.h: remove locale_init and gettext_init macros
16294 * gettext.C (locale_init): new function
16295 (gettext_init): new function
16297 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16300 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16302 * Moved credits to frontends:
16303 * credits.[Ch]: removed
16304 * credits_form.[Ch]: removed
16305 * lyx_gui_misc.C: remove credits stuff
16308 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16310 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16312 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16313 unneeded destructor.
16315 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16316 a standalone pointer again.
16318 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16320 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16326 * ToolbarDefaults.C:
16335 * BufferView_pimpl.C: use new file dialog in GUII
16338 * lyx_cb.C: remove LayoutsCB to Toolbar
16340 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * ShareContainer.h (get): add std:: qualifier
16344 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16346 * ShareContainer.h: define a proper ShareContainer::value_type
16347 type (and use typename to please compaq cxx)
16349 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16351 * lyxparagraph.h: move serveral local vars to
16352 ParameterStruct/ParagraphParameters., use ShareContainer in
16353 FontTable., make vars in FontTable private and add getter and
16356 * paragraph.C: changes because of the above.
16358 * lyxfont.h: remove copy constructor and copy assignment. (the
16359 default ones is ok), move number inside FontBits. move inlines to
16362 * lyxfont.C: add number to initializaton of statics, move several
16363 inlines here. constify several local vars. some whitespace
16364 cleanup. Dont hide outerscope variables.
16366 * Spacing.h: add two new constructors to match the set methods.
16368 * ShareContainer.h: new file, will perhaps be moved to support
16370 * ParameterStruct.h: new file
16372 * ParagraphParameters.h: new file
16374 * ParagraphParameters.C: new file
16376 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16377 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16379 * BufferView_pimpl.C: ParagraphParameter changes.
16380 * buffer.C: Likewise.
16381 * bufferview_funcs.C: Likewise.
16382 * text.C: Likewise.
16383 * text2.C: Likewise.
16385 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16387 * lyxfind.C (LyXReplace): do not redefine default argument in
16389 (IsStringInText): ditto
16390 (SearchForward): ditto
16391 (SearchBackward): ditto
16393 2001-03-06 Juergen Vigna <jug@sad.it>
16395 * lyxfind.C (IsStringInText): put parentes around expressions.
16397 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16399 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16401 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16403 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16405 * stl_string_fwd.h: add comment
16407 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16410 * tabular.C: remove unused DocBook methods
16416 killed DO_USE_DEFAULT_LANGUAGE
16418 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16420 * lyx_gui.C: do not include language.h.
16422 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16423 arguments in function implementation.
16425 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16427 * BufferView_pimpl.C: add <ctime>
16429 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16431 * BufferView_pimpl.C: add using std::find_if
16433 2001-02-27 José Matos <jamatos@fep.up.pt>
16435 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16438 2001-02-11 José Matos <jamatos@fep.up.pt>
16440 * buffer.C (makeDocBookFile): command styles now have a parameter as
16441 "title" by default.
16443 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16445 * layout_forms.[Ch]: removed
16446 * lyx_cb.[Ch]: out character
16447 * lyx_gui.C: out character
16448 * lyx_gui_misc.C: out character
16449 * bufferview_funcs.C: : out character,
16450 added toggleall as parameter in ToggleAndShow
16452 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16454 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16456 * text2.C (SetCurrentFont): Disable number property at boundary.
16458 2001-02-26 Juergen Vigna <jug@sad.it>
16460 * lyxfunc.C (getStatus): added a string argument override function so
16461 that this is correctly called from LyXFunc::Dispatch if it contains a
16462 do_not_use_argument which is used!
16463 (Dispatch): added check for "custom" export and call appropriate func.
16465 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16467 * lyxrc.C: Add language_command_local, language_use_babel and
16468 language_global_options.
16470 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16472 * buffer.C (makeLaTeXFile): Use language_use_babel and
16473 language_global_options.
16475 2001-02-23 Juergen Vigna <jug@sad.it>
16477 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16478 which works with LyXText and putted it inside BufferView. Here now we
16479 only call for that part the BufferView::Dispatch() function.
16481 * BufferView.C (Dispatch): added.
16483 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16484 functions which needs to use a LyXText over from LyXFunc.
16485 (MenuInsertLyXFile): added
16486 (getInsetByCode): added
16487 (moveCursorUpdate): added
16488 (static TEXT): added
16490 2001-02-22 Juergen Vigna <jug@sad.it>
16492 * BufferView_pimpl.C (update): call a status update to see if LyXText
16495 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16497 * vc-backend.C (revert): implement for CVS
16498 (getLog): implement for CVS
16500 2001-02-20 Juergen Vigna <jug@sad.it>
16502 * text2.C (ClearSelection): added BufferView param for inset_owner call
16504 * lyxfunc.C (TEXT): added this function and use it instead of
16505 directly owner->view()-text of getLyXText().
16507 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16509 * src/layout_forms.C: out preamble
16510 * src/layout_forms.h: out preamble
16511 * src/lyx_cb.C: out preamble
16512 * src/lyx_cb.h: out preamble
16513 * src/lyx_gui.C: out preamble
16514 * src/lyx_gui_misc.C: out preamble
16515 * src/lyxfunc.C: connect with guii preamble
16517 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16519 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16521 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16523 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16524 whether to run bibtex.
16526 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16528 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16530 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16532 * Makefile.am (lyx_SOURCES): removed bibforms.h
16534 * vspace.h: doxygen
16536 * text.C (GetVisibleRow): make several local vars const
16538 * tabular.C: small cleanup.
16540 * lyxserver.C (callback): use compare instead of strncmp
16542 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16543 inlines to after class or to paragraph.C
16545 * lyxfont.h: remove friend operator!=
16547 * converter.h: move friend bool operator< to non friend and after
16550 * combox.h: small cleanup
16552 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16553 to inlines after class def.
16555 * buffer.C (pop_tag): use string operations instead of strcmp
16557 * bmtable.c: doxygen, small cleanup
16559 * LaTeX.h: remove friend operator==
16561 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16573 * BufferView_pimpl.C:
16574 * BufferView.[Ch]: remove cruft
16576 2001-02-14 Juergen Vigna <jug@sad.it>
16578 * lyxfunc.C: removed #if 0 unused code
16580 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16582 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16584 * text2.C (SetSelection): added a BufferView * parameter
16586 2001-02-13 Juergen Vigna <jug@sad.it>
16588 * lyxfunc.C (Dispatch): fixed protected blank problem.
16589 * BufferView2.C (protectedBlank): added LyxText * parameter.
16591 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16592 (AppendColumn): same as above for column_info.
16594 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16595 (moveCursorUpdate): use a LyXText param for support of InsetText.
16597 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16598 (tripleClick): ditto
16600 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16602 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16604 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16606 * text2.C (SetSelection): set correct update status if inset_owner
16607 (ToggleFree): ditto
16609 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16611 * tabular.C: remove some commented code.
16613 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16615 * BufferView_pimpl.C: call hideSplash()
16617 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16620 * bibforms.h: remove
16623 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16624 add LFUN_CHILD_CREATE
16626 * counters.h: fix tiny typo
16631 * lyx.C: move splash to frontends/xforms/
16633 * lyx_gui_misc.C: move Include and Bibform to frontends
16635 * lyxvc.h: clarify comment
16637 * vspace.C: tiny housekeeping
16639 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16641 * text.C (PrepareToPrint): RTL Fix.
16643 * paragraph.C (GetUChar): New method.
16644 (String): Use GetUChar.
16646 * buffer.C (asciiParagraph): Use GetUChar.
16648 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16650 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16652 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16655 * buffer.C: rename to getLogName(), handle
16656 build log / latex log nicely
16658 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16661 * MenuBackend.h: remove support for reference menuitem type.
16663 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16665 * BufferView_pimpl.C: housekeeping
16666 * BufferView_pimpl.h:
16671 * minibuffer.h: move Timeout GUI-I
16673 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16675 * lyxrc.C (read): Update converters data-structures.
16677 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16679 * LaTeX.h (operator!=): add operator != for Aux_Info
16681 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16683 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16685 * LaTeXLog.C: deleted, useful code moved to Buffer
16688 * buffer.C: new function getLatexLogName()
16694 * lyxfunc.C: use frontends for LaTeX and VC logs
16696 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16698 * LaTeX.h: yet another std:: that Allan forgot.
16700 * Variables.C (set): renamed from isset(), because this clashes
16701 with some HP-UX macros (grr).
16703 2001-02-06 Allan Rae <rae@lyx.org>
16705 * LaTeX.h: Another bug fix. Missing std:: this time.
16707 2001-02-04 Allan Rae <rae@lyx.org>
16709 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16710 floats problem. I've left it commented out because it's not quite
16711 correct. It should also test that the current object is a table or
16712 figure inset. But I haven't gotten around to figuring out how to do
16713 that. I *think* it'll be something like: "table" == inset.type()
16715 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16718 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16720 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16721 all the citation/databases/styles in the auxilary file.
16722 (run): Rerun latex if there was a babel language error.
16724 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16726 * text.C (Backspace): Preserve the font when changing newline char
16728 (BreakParagraph): If the cursor is before a space, delete the space.
16730 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16732 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16734 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16735 new argument (code).
16736 (ChangeCitationsIfUnique): New method.
16738 * paragraph.C (GetPositionOfInset): Handle bibkey.
16740 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * BufferView_pimpl.h: change type of Position::par_pos to
16743 LyXParagraph::size_type.
16745 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16747 * BufferView_pimpl.C (savePosition, restorePosition): Write
16748 messages to minibuffer.
16750 2001-01-28 José Matos <jamatos@fep.up.pt>
16752 * buffer.C (makeDocBookFile): adds support for document language.
16753 A silly restriction on the name of LatexCommand types where removed.
16754 Added support for CDATA sections, allows to chars unescaped, used
16755 among others in code, to avoid escape < and >.
16757 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16759 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16760 saved positions instrad of a stack. Furthermore, a position is
16761 stored using paragraph id/paragraph position.
16763 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16764 Remove LFUN_REF_BACK.
16766 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16768 * converter.C (dvipdfm_options): New method.
16770 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16772 * vspace.C (isValidLength): Fix for empty input string.
16774 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16776 * LyXAction.C (init): change description of LFUN_FIGURE to
16779 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * LaTeX.C: add using directive
16783 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16785 * MenuBackend.C (expand): Fix the sorting of the formats.
16787 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16789 * lyx_main.C: tiny error message fix
16791 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16793 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16794 calling fl_initialize(). This fixes the problem with ',' as
16795 decimal separator in text files.
16797 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16799 * trans.C (process): Fix the keymap bug.
16801 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16803 * LaTeX.C (scanAuxFiles): New method. Provides support for
16804 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16805 (scanLogFile) Scan for "run BibTeX" messages.
16807 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16808 OT1 font encoding. Also, load the aecompl package if the ae
16811 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16813 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16815 * texrow.C (increasePos): turn two error messages into debug
16818 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16820 * LaTeX.C (scanAux): Handle the \@input macro.
16821 (runBibTeX): Use scanAux().
16823 * language.C (latex_options_): New field.
16825 * LaTeXFeatures.C (getMacros): Add language macros.
16827 * buffer.C (makeLaTeXFile): Small fix.
16829 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16833 * text2.C: add a using directive.
16835 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16840 * lyxfunc.C: kill LyXBell.
16842 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16844 * text.C (IsBoundary): Remove the error message
16846 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16848 * lyxrc.C (setDefaults): Correct initialization value for
16851 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16853 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16856 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16857 and GotoNextNote().
16859 * src/LyXAction.C: Added reference-next.
16861 * text.C (InsertChar): Use contains instead of strchr.
16863 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16865 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16867 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16868 alignment commands (when needed).
16870 * text.C (InsertChar): Add ':' to number separator chars.