1 2005-01-19 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (error_handler, init): protect SIGHUP with
6 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
10 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * text.C (setHeightOfRow): add a margin at the top and bottom of
13 the document (bug 1761)
15 2005-01-17 Angus Leeming <leeming@lyx.org>
17 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
18 with "python ". Workaround for a brain-dead Windows.
20 2005-01-16 Angus Leeming <leeming@lyx.org>
22 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
23 for MacOSX and Windows to use prependEnvPath.
24 Strip out the hard-coded block to add elements to the PATH for
25 MacOSX and replace it with a call to prependEnvPath using the
26 contents of LyXRC::path_prefix.
27 (queryUserLyXDir): strip out the code to run reconfigure, instead
28 returning a boolean indicating the necessity to do so.
29 (reconfigureUserLyXDir): contains the code to reconfigure the
30 user support directory. Is now called after the various LyXRC data
33 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
35 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
37 * converter.[Ch] (convert): take a new parameter try_default. Use
38 a default converter (imagemagick) if try_default is true.
40 2005-01-13 Angus Leeming <leeming@lyx.org>
42 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
44 (write): output LyXRC::cygwin_path_fix as necessary.
46 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
49 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
51 2005-01-12 Angus Leeming <leeming@lyx.org>
53 * lyx_main.C (init): set the PATH variable to include the
54 directory containing the LyX binary when running on Mac or Windows.
56 2005-01-12 Angus Leeming <leeming@lyx.org>
58 * lyx_main.C (init): remove cruft that purports to set the locale
59 dir. It doesn't and is not needed anyway.
61 2005-01-10 Angus Leeming <leeming@lyx.org>
63 * Makefile.am: remove the lyx_main.C special casing.
71 * messages.C: use support/package.h to provide the paths to the
72 various directories used by LyX.
74 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
76 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
77 layout if pasting into an empty paragraph)
79 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
81 * tex-accent.C: add <string>
83 2005-01-06 José Matos <jamatos@lyx.org>
85 * ParagraphParameters.C (write): put every parameter in its own line.
86 * paragraph.C (write): reduce number of consecutive empty lines exported.
87 * buffer.C (LYX_FORMAT): increase file format to 239.
89 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * everywhere: change support/tostr.h -> support/convert.h
93 * tabular.C: make all write_attributes templates, tostr -> convert
95 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
96 (emptyTag): and -> &&, and fix type for ret from getChar
97 (getFirstWord): fix type for ret from getChar
99 (simpleDocBookOnePar): and not -> && !, fix type for ret from
102 * toc.C (goTo, action):
103 * text3.C (dispatch):
104 * text.C (currentState):
105 * tex-accent.C (DoAccent):
108 * lyxfunc.C (menuNew):
109 * lyxfinc.C (replace):
110 * counters.C (laberItem):
111 * bufferview_funcs.C (font2string):
112 * bufferparams.C (writeFile):
113 * buffer.C (readFile):
115 * MenuBackend.C: tostr -> convert
117 * LaTeX.C (runMessage): fix format
118 (scanAuxFiles): tostr -> convert
120 * BufferView_pimpl.C (savePosition): fix format
121 (restorePosition): ditto
124 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * Spacing.[Ch]: New method getValueAsString().
130 * ParagraphParameters.C:
133 * text3.C: store/read spacing value as string.
135 * rowpainter.C: change float value (spacing_val) to double.
137 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
138 broken custom document spacing).
140 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
142 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
143 namespace, also more use of temp references and const
145 * cursor.[Ch] (getStatus): move to lyxfunc.C
147 * bufferparams.C: reformat slightly
149 * bufferview_funcs.C (font2string): constify arg
155 * buffer_funcs.C: (many funcs): constify arg on function
156 definitions, also make more local vars const, also add ASSERTS on
159 * buffer.C (LYX_FORMAT): put const in correct place
160 (many funcs): constify arg on function definitions, also make
161 more local vars const
163 * aspell_local.h: remove "struct" from typdef setup
165 * aspell.C (check): make word_ok const
166 (nextMiss): simplify slightly
169 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
171 * lyxrc.[Ch]: store all float values as strings.
172 use int (not float) for lyxrc.dpi.
174 2005-01-04 Angus Leeming <leeming@lyx.org>
176 * lyx_cb.C (Reconfigure):
177 * lyx_main.C (queryUserLyXDir):
178 to run the <system_lyxdir>/configure correctly on Windows, prefix
179 the path to the script with "sh " when generating the string that
180 is passed to system().
182 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
186 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
188 * lyxlength.C (asLatexString): get rid of setprecision
190 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
192 * text2.C (setLayout): remove unused variable endpit.
193 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
195 * paragraph.C (onlyText): remove unused variable style.
197 * cursor.C (bruteFind): remove unused variables beg and end.
199 * Makefile.am (dist_noinset_DATA): not needed anymore
201 * cheaders/*: remove.
203 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
205 * text3.C: fix LFUN_MATH_MODE.
207 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * buffer_funcs.C (countWords): new function. Counts words between
212 * BufferView_pimpl.C (getStatus, dispatch): handle
215 * LyXAction.C (init):
216 * lfuns.h: add LFUN_WORDS_COUNT.
218 2004-12-19 Angus Leeming <leeming@lyx.org>
220 * buffer.C (save): s/slashify_path/internal_path/.
222 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * lyxfind.C (findChange): do not search for end of pars, because
225 the change tracker cannot handle this (fixes bug 1719).
227 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
229 * paragraph.[Ch] (autoBreakRows): remove
231 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
233 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
234 avoid using the paragraph one
236 * text2.C (LyXText, insertStringAsLines): adjust
238 2004-12-16 Angus Leeming <leeming@lyx.org>
242 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
244 2004-12-14 Angus Leeming <leeming@lyx.org>
246 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
248 * bufferlist.C (emergencyWrite):
249 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
252 2004-12-14 Angus Leeming <leeming@lyx.org>
254 * main.C: (main): no longer pass pointers to os::init.
256 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
258 * undo.C (textUndoOrRedo): simplify logic, fix a crash
259 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
261 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
264 * text3.C: remove selection_possible global flag
266 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
268 * text2.C (getSelectionSpan): remove
269 (changeDepth, changeDepthAllowed): adjust
271 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
273 * Makefile.am (BOOST_LIBS): use boost variables
275 2004-12-03 José Matos <jamatos@lyx.org>
277 * buffer.C: format up to 238.
279 2004-12-03 José Matos <jamatos@lyx.org>
281 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
283 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
285 * cursor.C (goUpDown): remove call to idxUpDown2
287 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
289 * tabular.[Ch]: use size_t-like types for cell, row and column
292 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * lyxfunc.C (getStatus): do not lose previous information when
295 calling BufferView::getStatus; do not set a default "Command
296 disabled" message at the beginning, but just before returning.
298 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
300 * cursor.h (getStatus): add better comment from src/cursor.C
302 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * text3.C (getStatus): return false when the lfun is not handled
306 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
308 * broken_headers.h: remove
310 * Makefile.am (lyx_SOURCES): remove broken_headers.h
312 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
314 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
317 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
318 top_y_, merge fitcursor with update
319 (updateScrollbar, scrollDocView, fitCursor, center, update): new
322 (workAreaDispatch): adapt to new coord scheme
323 (redoCurrentBuffer): remove
325 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
327 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
330 * coordcache.[Ch]: add paragraph cache and helpers
332 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
335 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
336 (targetX, setTargetX): introduce
338 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
339 baseline -> ascent, as the rest of lyx
341 * lyxtext.h: remove redoParagraphs, updateParPositions,
342 fullRebreak, redoParagraphInternal. move dist to anon namespace in
343 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
344 have ascent/descent (ascent is ascent of first par)
346 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
349 * paragraph.[Ch]: unify dimension handling with the rest of lyx
351 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
353 * pariterator.C: fix infinite loop introduced in par->pit renaming
355 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
356 in insets and LyXText, draw two off-screen paragraphs using
357 NullPainter, and adapt to new coord scheme
361 * text3.C: adapt lfun handlers to the new coord scheme, which
362 means: there's only guaranteed coord information for onscreen pars
363 plus one above and one below. This implies that one can do search
364 from y coordinates in the range [-1,workHeight]
366 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * rename a lot of InsetOld to InsetBase
370 2004-11-25 Angus Leeming <leeming@lyx.org>
372 * BufferView_pimpl.C:
374 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
376 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
379 call BufferView::getStatus if LCursor::getStatus did nothing
380 (setStatusMessage, getStatusMessage): removed.
382 * FuncStatus.C (message): new methods. Used to provide an error
383 message indicating why a command is disabled.
384 (clear, |=, FuncStatus): update for message.
386 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * lyxfunc.C (dispatch): always call sendDispatchMessage
390 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
393 * BufferView_pimpl.C:
407 * undo.C: par->pit renaming
409 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * tabular.C (cellstruct): use initialization, store a shared_ptr
412 to insettext instead of the insettext directly, adjust to fit.
413 (operator=): new function
415 (rowstruct): use initialization
416 (columnstruct): use initialization
417 (ltType): use initialization
420 * lyxlength.h (swap): new function
422 * LColor.[Ch] (operator=): use the common semantics
424 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * lyxfind.C (findNextChange): update the bufferview after setting
429 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
432 number of InsetOptArgs has already been inserted.
434 * output_latex.C (latexOptArgInsets): new method. This outputs all
435 the optarg insets, up to the limit defined in the layout file.
436 (optArgInset): removed
437 (TeXOnePar): call latexOptArgInsets; correctly update texrow
439 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
441 * paragraph.C (isLetter): remove special spellchecker-related
442 code; return true also for digits
443 (isWord, isKomma): remove
445 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
446 * lyxfind.C (MatchString()): use isLetter instead of isWord
448 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
450 * pariterator.h (operatir=): comment out un-implemented member
453 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
456 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
458 * lyxfont.h: include LColor.h to satisfy concept checks.
460 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
462 * pariterator.h: add typdefs for value_type, difference_type,
463 pointer and reference to satisfy concept checks. Also add default
464 constructor for same reason.
466 * pariterator.C (operator++): add post-increment operator to
467 satisfy concept checks.
469 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
472 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
474 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
475 checks. Also rename base_type to BaseType to follow naming
478 * FloatList.h: include Floating.h to satisfy concept checks.
480 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
482 * lyxfunc.C (getStatus): when the origin of the request is menu or
483 toolbar, and the LyXView does not have focus, do as if there was
486 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
487 FuncRequest to individual entries of LFUN_SEQUENCE
489 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
491 * output_latex.C (TeXOnePar): override runparams.moving_arg
492 according to the needprotect value of the current paragraph (bug
495 * paragraph.C (simpleTeXOnePar): no need to override
496 runparams.moving_args here
498 2004-11-14 John Spray <spray_john@users.sourceforge.net>
500 * vspace.C: fix off-by-one-error, related to fix #1682
502 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * lengthcommon.C: a more general fix for bug 1682
506 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
508 * text.C (backspace): fix crash
510 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
512 * format.[Ch] (getFormatFromFile): new method
513 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
515 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
517 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
519 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
521 * lyxfunc.C (dispatch): remove the verbose argument
522 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
525 * kbmap.C (defkey): set the origin of func to KEYBOARD
527 * MenuBackend.C (MenuItem):
528 * ToolbarBackend.C (add): set the origin of func to UI
530 * funcrequest.[Ch]: add origin member, which indicates which part
531 of LyX requests an action
533 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
535 * converter.C (move): don't lie in the error message
536 * converter.h (isReachable, move): document
538 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
540 * buffer.C: remove unused using lyx::support::atoi
541 * paragraph_funcs.C: ditto
543 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
545 * bufferlist.C (exists): use bind and equal_to instead of
548 * lyxtextclasslist.C (NumberOfClass): ditto
550 * cursor.C (insert): use for_each instead of explicit for loop
552 * bufferlist.C (getFileNames): use std::transform and
553 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
555 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
558 * buffer.C (changeLanguage): use for_each instead of explicit for
560 (hasParWithID): implement using getParFromID
562 * LaTeXFeatures.C: ws change only
564 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
567 * BufferView_pimpl.C (trackChanges): use for_each instead of
570 2004-11-04 André Pönitz <poenitz@gmx.net>
573 * undo.C (textUndoOrRedo): fix crash when creating undo information.
575 * dociterator.C (asDocIterator): use hard assert again.
577 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * lyxlength.C (asLatexString): rewrite so that it does not use
582 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * text3.C (specialChar, dispatch): make sure cursor moves to the
585 right after inserting an inset
587 2004-11-02 José Matos <jamatos@lyx.org>
589 * output_docbook.C (docbook):
590 * paragraph.C (getID):
591 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
592 garantee that the output is always legal.
594 * tabular.C (docbook):
595 * outputprams.[Ch]: remove mixed contents.
597 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
599 * text2.C (setCounter): prevent endless loop
601 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
603 * exporter.C (copyFile): use the mover instead of support::copy()
604 * exporter.C (Export): pass format and latex name to copyFile()
605 * exporter.h (addExternalFile): document
606 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
608 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
610 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
612 2004-10-30 José Matos <jamatos@lyx.org>
614 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
615 text and no inset or font change. This allows to use CDATA
616 sections just for the whole paragraph.
618 2004-10-30 José Matos <jamatos@lyx.org>
620 * paragraph.C (getFirstWord): remove unused variable.
622 2004-10-30 José Matos <jamatos@lyx.org>
624 * paragraph.C (getFirstWord): the content should always be escaped
626 (simpleDocBookOnePar):
627 * output_docbook.C (makeEnvironment): replace reference to CDATA
630 2004-10-30 José Matos <jamatos@lyx.org>
632 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
634 2004-10-30 José Matos <jamatos@lyx.org>
636 * output_docbook.C (makeParagraphs):
637 * paragraph.[Ch] (emptyTag): for docbook and company, if the
638 standard paragraph has only a given type of content drop the wrapper.
640 2004-10-29 José Matos <jamatos@lyx.org>
642 * output_docbook.C (makeEnvironment):
644 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
646 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
648 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
649 (cleanID): sanitize any id.
651 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
653 * buffer.C, lyxlex_pimpl.C:
654 * lyxlex_pimpl.C (setFile):
655 s/getExtFromContents/getFormatFromContents/
657 2004-10-28 José Matos <jamatos@lyx.org>
659 * output_docbook.C (makeEnvironment): move id to broadest possible
662 * sgml.C (openTag): apply substitution of <> for all attributes.
664 2004-10-28 José Matos <jamatos@lyx.org>
666 * buffer.C (makeLinuxDocFile, makeDocBookFile):
667 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
668 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
670 * sgml.[Ch]: new version for open and closeTag for paragraph and
671 for strings. Now they handle the ids of paragraphs.
673 2004-10-26 Angus Leeming <leeming@lyx.org>
675 * Makefile.am: add mover.[Ch].
677 * converter.C (convert, move): use the new Movers to move external
678 files to the temp directory.
680 * lyx_main.C (init): ensure that the global system_movers data
683 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
686 * mover.[Ch]: new files, defining a Mover as a utility to move an
687 external file between directories and, if necessary, manipulate this
688 file using a helper script.
690 2004-10-25 José Matos <jamatos@lyx.org>
692 * output_docbook.C (makeCommand): merge two if's that tested the
695 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * sgml.C (escapeString): fix warning in a better way
699 2004-10-25 José Matos <jamatos@lyx.org>
701 * sgml.C (escapeString): import the require boosts header file for
702 tie, and avoid a signed unsigned comparison.
704 2004-10-25 José Matos <jamatos@lyx.org>
706 * sgml.h: add #include <string>
708 2004-10-25 José Matos <jamatos@lyx.org>
710 * sgml.[Ch] (escapeString): new function to escape all the string.
712 2004-10-24 José Matos <jamatos@lyx.org>
714 * paragraph.[Ch] (getFirstWord): new function to get the first
715 word. Useful for description.
716 (simpleDocBookOnePar): remove depth argument, add another that
717 says where to start the paragraph.
719 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
720 use the new functions to fix cleanly the support for descriptions.
722 2004-10-24 José Matos <jamatos@lyx.org>
724 * buffer.C (makeLinuxDocFile, makeDocBookFile):
725 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
726 * output_linuxdoc.C (linuxdocParagraphs):
727 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
728 add buffer as argument.
730 2004-10-24 José Matos <jamatos@lyx.org>
732 * output_docbook.C (makeEnvironment, searchEnvironment): place
733 CDATA inside paragraphs and fix scope for listitems.
735 2004-10-24 José Matos <jamatos@lyx.org>
737 * output_docbook.C: remove using statement for stack.
739 2004-10-23 José Matos <jamatos@lyx.org>
741 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
742 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
743 docbook. The new scheme is recursive and makes use of iterators, the
744 same as latex export works.
745 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
746 directly with the paragraph contents. This code was moved up to
747 output_docbook.C (docbookParagraphs).
748 * sgml.C (openTag, closeTag): removed unneeded newlines.
749 (closeEnvTags) removed.
751 2004-10-23 André Pönitz <poenitz@gmx.net>
753 * undo.C (textUndoOrRedo):
754 * dociterator.C (asDocIterator): work around crash
756 * cursor.C (getStatus): replace ASSERT by more verbose error message
757 and manual correction of the problem. Should increase stability
758 while providing more sensible information.
760 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
762 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
764 * bufferlist.C (previous, next): new methods
767 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
769 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
771 * buffer.C (makeDocBookFile): add dsssl stylesheet control
772 entities to preamble.
774 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
776 * messages.C (Pimpl): strip off translation context information
778 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
780 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
781 the cursor is correct (bug 1694)
783 2004-10-13 José Matos <jamatos@lyx.org>
785 * output_docbook.C (docbookParagraphs): fix closing tags in the
788 2004-10-09 José Matos <jamatos@lyx.org>
790 * buffer.C: format up to 237.
791 * bufferparams.C (write): use tostr to convert booleans to strings.
793 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
795 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
797 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
799 * LaTeX.C: implement use of babel language in xindy.
801 2004-10-05 José Matos <jamatos@lyx.org>
803 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
804 Add new translators to help reading and writing the lyx file.
806 2004-10-05 José Matos <jamatos@lyx.org>
808 * ParagraphParameters.C (read):
809 * text.C (readParToken): replace nexToken by more appropriate lex
812 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
814 * LaTeX.C (runMakeIndex):
815 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
816 (usually 'makeindex') configurable.
818 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
819 with a variable rather than with a number.
821 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
823 * output_latex.C (TeXOnePar): make sure font setting is the first
824 thing that gets output (and the last at the end). Should fix bug
827 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
829 * pch.h: use proper signal include
831 * LaTeX.h: Use preferred calling of Boost.Signal
834 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
836 * pch.h: dont include <boost/function/function0.hpp>
838 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
840 * paragraph_pimpl.h: remove usage of ShareContainer
842 * paragraph_pimpl.C: remove initialization of ShareContainer.
844 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
848 * BufferView.C (putSelectionAt): change the semantics when
849 backwards == true: now, this just swaps cursor and anchor wrt the
852 * BufferView.h (putSelectionAt): add some documentation
854 * lyxfind.C (findBackwards): rewrite using while(). In particular,
855 make sure backwardChar is done at least once (to avoid getting
857 (findNextChange): use putSelectionAt in the forward direction
858 (operator()): use Paragraph::isWord
860 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
862 * Spacing.C (set): c_str fix
864 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
866 * lyx_cb.C (Reconfigure): quote the name of configure script in
867 case it contains spaces
869 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
873 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
874 (BOOST_LIBS): use top_buildir when looking for the file
876 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
878 * pch.h: do not use include boost/format.hpp, multiple symbols
879 will result (gcc bug)
882 2004-08-23 José Matos <jamatos@lyx.org>
884 * bufferparams.C (readToken): fix reading of the author field.
886 2004-08-20 José Matos <jamatos@lyx.org>
888 * lyxrc.C: remove support/translator.h inclusion since it is not used.
890 2004-08-20 José Matos <jamatos@lyx.org>
892 * lyxlex.[Ch] (findToken): remove function.
894 * ParagraphParameters.C (findToken):
895 * bufferparams.C (findToken): replace call for previous function
896 with local copy. This local function has one more argument, the
897 read string argument.
899 2004-08-16 José Matos <jamatos@lyx.org>
901 * ParagraphParameters.C (write):
902 * Spacing.C (writeFile):
903 * bufferparams.C (writeLaTeX):
904 * lyx_cb.C (Reconfigure):
905 * paragraph.C (write):
906 * tabular.C (write): remove unnecessary space at end of line.
909 2004-08-16 José Matos <jamatos@lyx.org>
911 * text.C (readParagraph): remove debug message.
913 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
918 * output_plaintext.C (asciiParagraph): set depth correctly
920 * outputparams.h: add member depth
922 * paragraph_funcs.C (ownerPar): remove.
924 * text2.C (setCounter): remove first_pit; comment out some
925 non-working code that uses ownerPar
927 * BufferView.C (getParentLanguage): remove. Not used anymore, and
930 2004-08-16 José Matos <jamatos@lyx.org>
932 * text.C (readParToken, readParagraph, read): report all unknown tokens.
933 For the same level of importance use the same chanel to report problems.
934 (read): add code to deal with \begin_body and \end_body.
937 2004-08-15 José Matos <jamatos@lyx.org>
939 * lyxlex.C (getString): fix comment, buffer::readBody is now
942 * tex-strings.C (string_papersize): Default -> default,
943 Custom -> custom, for consistency with other options.
945 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
949 * Makefile.am: support pch
951 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * text.C (readParToken): remove the static LyXFont variable and
954 pass it as a parameter instead. This fixes a nasty bug where an
955 inset will be inserted with a bad font in some situations
956 (readParagraph): adapt
958 * text2.C (setCounter): reduce number of calls to pars_[pit]
960 * text.C (singleWidth): add an assert, fix a test
962 * rowpainter.C (paintText): reduce number of calls to singleWidth
964 * paragraph.C (isHfill):
967 2004-08-14 André Pönitz <poenitz@gmx.net>
972 * lyxtext.h (several functions): use a Paragraph & argument
975 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
977 * metricsinfo.h: add a new field ltr_pos to PainterInfo
979 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
981 * text.C (singleWidth): remove useless test
983 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * tabular.h: remove bogus comments
987 * tabular.C (getDescentOfRow):
988 (isPartOfMultiColumn): add assertions
990 * lyxlength.C (inPixels): remove #warning
992 2004-08-14 André Pönitz <poenitz@gmx.net>
994 * paragraph.h: inline getChar()
996 * BufferView.h: remove unused declarations
998 2004-08-14 José Matos <jamatos@lyx.org>
1000 * Buffer.[Ch] (readDocument): new name for old readBody.
1001 * Buffer.C: new file format, new keywords: \begin_document,
1002 \begin_header, \begin_body, \end_body.
1004 * bufferparams.C (readToken): replace all calls to lex.nextToken
1005 by lex.next(). Do the same to eatLine except where really needed.
1007 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1008 line when writing to the lyx file.
1010 * output_plaintext.C (asciiParagraph): fix Bibliography style
1013 * text.C (read): fix end of file handling.
1015 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * MenuBackend.C (Menu::operator[]): new method to access
1018 individual menu items
1019 (Menu::hasFunc): new method. search for an item that corresponds
1021 (MenuBackend::specialMenu): new method
1022 (MenuBackend::expand): if a special menu has been set, skip
1023 entries whose func() appears in this menu
1025 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1027 * text3.C: use Debug::DEBUG a bit more
1029 * text.C (leftMargin): try to simplify a tiny bit change var x to
1030 l_margin. Dont output the wide margins always.
1031 (rightMargin): no margin in inner texts
1033 * rowpainter.h (nestMargin): new func
1034 (changebarMargin): new func
1035 (rightMargin): new func
1037 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1041 * factory.C (createInset): modify setDrawFrame
1043 * cursor.C: use Debug::DEBUG a bit more
1045 2004-08-14 André Pönitz <poenitz@gmx.net>
1048 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1049 cache for all insets in (at least partially) visible (top-level)
1052 * BufferView_pimpl.C: reset external coord cache before every update.
1053 This means the coord cache only contains valid entries.
1055 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1058 * BufferView_pimpl.C (getInsetByCode): move function out of class
1059 and change in to a template in anon namespace. Also fix to do what
1062 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1065 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1067 (breakParagraph): rename par to par_offset and use a local
1068 reference. Add code to keep the language over a rebreak.
1069 (breakParagraphConservative): rename par to par_offset, use a
1071 (mergeParagraph): ditto
1073 (isFirstInSequence): ditto
1074 (outerFont): rename pit to par_offset
1076 * paragraph.C: ws change
1077 * paragraph.h: ditto
1081 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1083 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1086 * paragraph.C (simpleTeXOnePar): when we have a \item with
1087 optional argument, enclose the argument with curly brackets (in
1088 case it contains a closing square bracket)
1092 * text3.C (checkInsetHit): constify
1094 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1096 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1097 documents (bug 1629)
1099 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1101 Fix toggling of collapsable insets with the mouse (bug 1558)
1103 * lyxfunc.C (dispatch): adapt to LCursor changes
1105 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1106 make sure that dispatch is not invoked twice
1108 * cursor.C (needsUpdate): new method
1109 (dispatch): return void
1110 (result): new method, to access the DispatchResult of the cursor.
1112 2004-08-13 José Matos <jamatos@lyx.org>
1114 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1116 2004-08-13 André Pönitz <poenitz@gmx.net>
1118 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1120 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1123 2004-08-12 André Pönitz <poenitz@gmx.net>
1125 * text3.C: take out the 'cursor right' form insertInset and only
1126 do it in those places when it is really needed. Fixes crash on
1129 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1131 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1133 * BufferView_pimpl.C (setBuffer): initialize the current font of
1134 the underlying LyXText
1136 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * kbsequence.C (print): use UI native formatting for menu
1141 * text.C (insertChar): call Paragraph::insertChar with a font
1144 * paragraph.C (insertInset, insertChar): the version that takes a
1145 LyXFont argument is now a wrapper around the other one (the
1146 opposite used to be true).
1148 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1149 argument. Font setting is done in Paragraph now.
1151 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * outputparams.h: add new members intitle and lang.
1155 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1156 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1158 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1160 * text3.C (dispatch): remove special handling of button 4 and 5,
1161 it is now taken care of in the frontend code.
1163 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * Spacing.h: add <string> (STLPort compile fix)
1167 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1169 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1171 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1173 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1176 * converter.C (showMessage): inherit from unary_function, make
1179 * buffer.C (writeFile): initialize retval
1181 * InsetList.h: rename private variable list to list_
1182 * InsetList.[Ch]: adjust accordingly.
1184 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1186 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1187 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1188 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1189 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1190 * ParagraphParameters.C, LaTeXFeatures.C: replace
1191 "support/std_sstream.h" with <sstream>
1193 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1195 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1196 * lyxsocket.C (LyXServerSocket): ditto
1197 (serverCallback): ditto
1199 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1201 * LaTeXFeatures.C: check release date when loading jurabib.
1203 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1205 * lyxserver.C (startPipe): call register_socket_callback
1206 (endPipe): call unregister_socket_callback
1208 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1210 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1211 (LyXServerSocket): register the callback
1212 (LyXServerSocket): unregister the callback
1213 (fd): delete function
1214 (serverCallback): improve error checking and setup the callbacks.
1215 (dataCallback): change arg to fd.
1216 (writeln): new func (copied fro the client socket) used for server
1218 (LyXDataSocket): simplify
1219 (~LyXDataSocket): close ann unregiser callback
1220 (server): delete function
1221 (fd): delete function
1222 (readln): small changes, improve some std::string usage
1223 (writeln): constify a bit
1225 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1227 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1230 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1233 after it has been populated
1235 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * text2.C (insertInset): move cursor when inserting inset.
1239 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * kbmap.C (findbindings): a couple of new methods. returns a
1242 container of kb_sequence objects. The real work is done by the
1243 private recursive version
1244 (printbindings): uses findbindings to print out a bracketed list
1245 of bindings (renamed from findbinding).
1247 * MenuBackend.C (binding): use kb_keymap::findbindings
1249 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1251 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1253 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1255 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1257 * paragraph.C (isWord): return true on insets that report
1260 * text.C (getWord): use Paragraph::isWord to decide what is in a
1261 word and what is not; fix bug 1609.
1263 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1265 * tex-strings.C: add "none" to string_paperpackages[], fixes
1266 off-by-one-error in the paperpackage selection.
1269 * tex-strings.[Ch]: char const * string[n]
1270 -> char const * const string[]
1272 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1275 command, return early.
1277 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1279 * debug.h: add DEBUG to enum and fix size of ANY.
1281 * debug.C: add support for Debug::DEBUG
1282 (showTags): cast errorTags.level to unsigned int
1284 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1285 (redoCurrentBuffer): ditto
1286 (updateScrollbar): ditto
1287 * cursor.C (dispatch): ditto
1288 * text2.C (setLayout): ditto
1290 (updateCounters): ditto
1292 (deleteEmptyParagraphMechanism): ditto
1294 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1296 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1297 annotations to cleanup the Makefile slightly.
1299 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1301 * lyxrc.C: do not set user_email to a default value but use empty
1302 instead. The entry used to be translated, which does not work
1303 since at the point where lyxrc is constructed there is no
1304 translation service available
1306 * messages.C (getLocaleDir): remove and use directly
1307 lyx_localedir() instead
1309 2004-06-02 Angus Leeming <leeming@lyx.org>
1311 Fix crash caused by dereferencing null pointer 'exportdata' in
1312 OutputParams by creating a new ExportData variable on the heap,
1313 storing it in a boost::shared_ptr.
1314 The crash was triggered when generating an Instant Preview
1315 of an external inset.
1317 * Makefile.am: add outputparams.C
1319 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1320 (c-tor): allocate memory to it.
1322 * exporter.C (c-tor): associated changes.
1324 2004-06-01 Angus Leeming <leeming@lyx.org>
1326 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1327 contains data before calling isInset(0). (Bug 1513.)
1329 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1331 * exporter.C (checkOverwrite): new method
1332 * exporter.C (copyFile): new method
1333 * exporter.C (Export): copy referenced files to the document dir
1334 * exporter.[Ch]: new class ExportedFile
1335 * exporter.[Ch]: new class ExportData. Contains currently the
1336 names of referenced external files
1337 * outputparams.h: add exportdata member.
1339 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1341 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1344 2004-05-19 Angus Leeming <leeming@lyx.org>
1349 * lyxfunc.C: small changes due to the introduction of namespace
1350 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1352 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1354 * text3.C (dispatch): supress update when only moving the cursor
1355 * cursor.C (selHandle): remove commented code
1357 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1359 * paragraph.C (startTeXParParams): correct column count
1360 * CutAndPaste.C (pasteSelection): remove const_cast
1361 * output_docbook.C (docbookParagraphs): remove const_cast
1362 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1363 const_cast and return ParagraphList::const_iterator
1364 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1365 * output_plaintext.C (writeFileAscii): remove const_cast
1366 * paragraph.[Ch] (simpleTeXOnePar): make const
1367 * paragraph_funcs.C (outerPar): use const iterators
1368 * paragraph_pimpl.C (validate): use const iterators
1369 * text.C (setHeightOfRow): use const iterators
1371 2004-05-17 Angus Leeming <leeming@lyx.org>
1374 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1376 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1377 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1378 if the citation engine has changed.
1380 2004-05-14 José Matos <jamatos@lyx.org>
1382 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1383 if the textclass does not provide it. Have it different for sgml and
1385 support the language of document.
1386 * output_docbook.C (docbookParagraphs):
1387 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1388 first anchor as the id of the paragraph, remove special case code.
1389 * sgml.C (escapeChar): escape only < & >.
1391 2004-05-14 Angus Leeming <leeming@lyx.org>
1393 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1394 dependencies on src/frontends/controllers/biblio.h. Define a
1395 CiteEngine_enum wrapper class to enable the enum to be forward
1398 2004-05-12 Angus Leeming <leeming@lyx.org>
1400 * buffer.C: up LYX_FORMAT to 234.
1401 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1402 use_numerical_citations with a single biblio::CiteEngine cite_engine
1404 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1406 2004-05-13 José Matos <jamatos@lyx.org>
1409 * converter.C (Converter, readFlags): add xml member.
1410 * outputparams.h: add XML flavor.
1411 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1413 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1415 * lyxfunc.C (dispatch):
1416 (getStatus): fix handling of LFUN_SEQUENCE
1418 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1420 * debug.C (showLevel): do not forget the end-of-line marker
1422 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1424 * kbmap.C (read): do not stop parsing a bind file when an error
1427 2004-04-29 Angus Leeming <leeming@lyx.org>
1432 * text2.C: wrap a bunch of #warning statements
1433 inside #ifdef WITH_WARNINGS blocks.
1435 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1437 * buffer.C: increment format to 233.
1439 2004-04-28 Angus Leeming <leeming@lyx.org>
1441 * BufferView_pimpl.C:
1444 s/updateToolbar()/updateToolbars()/
1445 s/Toolbar.h/Toolbars.h/
1447 2004-04-28 Angus Leeming <leeming@lyx.org>
1449 * BufferView.[Ch] (c-tor):
1450 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1451 No longer passes these data to the WorkArea generator.
1453 2004-04-28 Angus Leeming <leeming@lyx.org>
1455 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1457 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1459 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1461 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * output_latex.C (TeXEnvironment): make sure that there is a line
1464 break before \end{foo} for the last paragraph of a document
1465 (TeXOnePar): if the paragraph is at the end of the document (or
1466 inset) and the language has to be reset, then make sure that the
1467 line break is _before_ the language command, not after (fixes bug
1468 1225); also make sure that the language reset command is the first
1469 thing after the paragraph (to ensure proper nesting of
1470 environments and thus fix bug 1404)
1472 2004-04-21 John Levon <levon@movementarian.org>
1475 * ToolbarBackend.C: make "name" be a programmatic name
1476 and a gui_name field.
1478 * lyxfunc.C: display the minibuffer on M-x
1480 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1482 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1485 2004-04-19 Angus Leeming <leeming@lyx.org>
1487 * BufferView_pimpl.C (setBuffer): changed preview interface.
1489 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1492 2004-04-19 John Levon <levon@movementarian.org>
1494 * BufferView_pimpl.C:
1495 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1497 2004-04-05 Angus Leeming <leeming@lyx.org>
1499 * text.C (redoParagraphs): add call to updateCounters(), thereby
1500 fixing the missing "Figure #:" label from the caption of a
1503 2004-04-13 Angus Leeming <leeming@lyx.org>
1505 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1506 cursor is clicked out of an inset.
1508 2004-04-13 Angus Leeming <leeming@lyx.org>
1510 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1511 than an InsetOld one.
1513 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1515 * format.[Ch]: add editor to Format
1516 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1517 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1519 2004-04-08 André Pönitz <poenitz@gmx.net>
1521 * metricsinfo.h: remove PainterInfo::width member
1523 2004-04-08 Angus Leeming <leeming@lyx.org>
1525 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1526 "\providecommand" rather than "\newcommand", thereby preventing
1527 clashes with packages that define "\boldsymbol" themselves.
1530 2004-04-08 Angus Leeming <leeming@lyx.org>
1532 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1533 thereby squashing an unnecessary warning.
1535 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1537 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1540 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1542 * BufferView.C (setCursor): call redoParagraph (some insets could
1544 (putSelectionAt): remove the 'double update' trick
1546 * BufferView_pimpl.C (fitCursor): call refreshPar
1547 (workAreaDispatch): remove an uneeded update call
1548 (dispatch): remove some manual update calls
1550 * cursor.[Ch]: remove cached_y_, updatePos
1551 (selHandle): set noUpdate when appropriate
1553 * lyxfunc.C (dispatch): track if we need an update
1555 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1557 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1558 (paintSelection): cheap optimization, do not call cursorX when not
1560 (paintPars): change signature
1563 (paintTextInset): adjust
1567 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1569 * lengthcommon.C: compilation fix: remove explicit array size from
1570 unit_name[] and friends
1572 2004-04-05 Angus Leeming <leeming@lyx.org>
1574 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1576 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1577 present only for the preferences dialog.
1578 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1580 2004-04-05 Angus Leeming <leeming@lyx.org>
1582 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1583 to enable the frontends to export changes to lyxrc correctly.
1585 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1587 2004-04-07 André Pönitz <poenitz@gmx.net>
1589 * cursor.[Ch] (selClear, adjust): remove math
1591 * cursor_slice.C: more agressive assert
1594 * BufferView_pimpl.C: rework mouse event dispatch
1601 2004-04-05 André Pönitz <poenitz@gmx.net>
1603 * cursor.[Ch] (valign, halign...): remove unneeded functions
1605 2004-04-05 Angus Leeming <leeming@lyx.org>
1607 * lyxlength.[Ch] (unit_name et al.): const-correct.
1609 2004-04-05 Angus Leeming <leeming@lyx.org>
1611 * BufferView_pimpl.C:
1620 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1622 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1624 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1626 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1628 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1629 * BufferView_pimpl.[Ch] (getStatus)
1630 * BufferView.[Ch] (getStatus): add
1631 * lyxfunc.C (getStatus): move lfuns handled in
1632 BufferView::dispatch to te function above
1633 * Cursor.C (setSelection): set selection() = true
1635 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1637 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1639 2004-03-31 Angus Leeming <leeming@lyx.org>
1641 * lyxfunc.C (dispatch): Fall through to the generic
1642 Dialogs::show("preamble").
1644 2004-03-31 Angus Leeming <leeming@lyx.org>
1646 * lyxfunc.C (dispatch): Fall through to the generic
1647 Dialogs::show("spellchecker").
1649 2004-03-31 Angus Leeming <leeming@lyx.org>
1651 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1654 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1659 * insetiterator.[Ch]:
1664 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1666 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1668 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1669 insets where we are putting the cursor.
1671 2004-03-31 Angus Leeming <leeming@lyx.org>
1674 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1676 * lyxrc.[Ch] (read, write): overloaded member functions taking
1677 a std::[io]stream arguments.
1679 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1681 2004-03-31 Angus Leeming <leeming@lyx.org>
1683 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1684 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1686 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1687 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1689 2004-03-31 Angus Leeming <leeming@lyx.org>
1691 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1692 the LFUN_ALL_INSETS_TOGGLE code.
1694 2004-03-30 Angus Leeming <leeming@lyx.org>
1696 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1697 has died. Fall through to the generic Dialogs::show("document").
1699 2004-03-30 Angus Leeming <leeming@lyx.org>
1702 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1703 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1705 * lyxfunc.C (getStatus, dispatch): define the actions for these
1706 lfuns. Little more than a cut and pste job from ControlDocument.C
1708 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1710 2004-03-30 Angus Leeming <leeming@lyx.org>
1713 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1714 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1716 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1717 open/closed state of ollapsable insets. Usage:
1719 all-inset-toggle <state> <name>, where
1720 <state> == "open" || "closed" || "toggle" and
1721 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1723 * lyxtext.h, text2.C (toggleInset): removed.
1725 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1726 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1727 now passes LFUN_INSET_TOGGLE to the found inset.
1729 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1730 is now invoked as "all-insets-toggle toggle branch".
1732 2004-03-30 Angus Leeming <leeming@lyx.org>
1736 * pariterator.[Ch]: added/corrected header blurb.
1738 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1740 * dociterator.[Ch]: add an inset_ member
1741 (backwardPos): implemented
1742 (backwardPos, forwardPos): use inset_ when the stack is empty.
1743 (doc_iterator_begin, doc_iterator_end): implemented
1744 * pariterator.[Ch]: adjust, add begin, end
1745 * insetiterator.[Ch]: adjust, add begin, end
1749 * BufferView_pimpl.C:
1750 * CutAndPaste.C: adjust
1752 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1754 * buffer.C: increment file format to 232.
1755 * LaTeXFeatures.C: add bibtopic package.
1756 * bufferparams.[Ch]: param \use_bibtopic.
1758 * lyxrc.[Ch]: add lyxrc bibtex_command
1759 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1761 * buffer.C: increment file format to 231.
1763 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1765 * dociterator.C: implement forwardPar
1766 * iterators.[Ch]: remove, replaced by
1767 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1769 * BufferView_pimpl.C:
1772 * bufferview_funcs.C:
1778 * Makefile.am: adjust
1780 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1782 * CutAndPaste.C (pasteSelection): fix 2 crashes
1783 (eraseSelection): fix a crash
1784 * paragraph_funcs.C: remove a warning
1786 2004-03-28 Angus Leeming <leeming@lyx.org>
1789 * LyXAction.C (init): new LFUN_PRINT.
1791 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1793 2004-03-27 Angus Leeming <leeming@lyx.org>
1796 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1798 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1800 2004-03-27 Angus Leeming <leeming@lyx.org>
1802 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1803 insetlist always contains non-null pointers to insets.
1805 2004-03-26 Angus Leeming <leeming@lyx.org>
1807 * src/BufferView_pimpl.C:
1808 * src/CutAndPaste.C:
1811 * src/output_plaintext.C:
1812 * src/outputparams.h:
1813 * src/paragraph_funcs.C:
1817 * src/frontends/controllers/ControlErrorList.C:
1818 * src/frontends/gtk/FileDialogPrivate.C:
1819 * src/frontends/gtk/GPainter.C:
1820 * src/frontends/gtk/GToolbar.C:
1821 * src/frontends/qt2/QRef.C:
1822 * src/mathed/math_scriptinset.C: squash compiler warnings.
1824 2004-03-26 Angus Leeming <leeming@lyx.org>
1826 * ispell.C (LaunchIspell::start):
1827 * lyx_cb.C (AutoSaveBuffer::start):
1828 invoke run(DontWait) rather than runNonBlocking().
1830 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1832 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1834 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1836 * kbsequence.C (print): adjust
1838 * kbmap.C (printKeySym): rename and change signature
1839 (printKey): use LyXKeySym::print()
1841 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1843 * undo.C: add using std::advance to compile for stlport
1845 2004-03-24 Angus Leeming <leeming@lyx.org>
1847 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1848 it leads to a crash when no buffer is present.
1850 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 Martin Vermeer <martin.vermeer@hut.fi>
1853 * lyxfunc.C (dispatch):
1854 * bufferparams.C (readToken): use the new LColor::setColor
1856 * LColor.[Ch] (setColor): new version that takes two strings as
1857 argument and creates a new color entry if necessary
1859 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1861 * buffer.C (makeLaTeXFile): if the main latex file that is
1862 processed is usually a subdocument of some master, then pretend
1863 for a while that it is actually the master
1865 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1867 * buffer.C (getLabelList):
1868 (getBibkeyList): use getMasterBuffer()
1869 (getMasterBuffer): new method. Returns the main document in the
1870 case where one is using included documents.
1872 2004-03-25 André Pönitz <poenitz@gmx.net>
1876 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1878 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1880 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1881 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1883 * ParameterStruct.h: merge with ParagraphParameters
1885 * lyxtext.h: remove LyXText::parOffset() and getPar()
1887 * text3.C: Remove all 'manual' update calls. We do now one per user
1888 interaction which is completely sufficient.
1892 * BufferView_pimpl.C:
1893 * FontIterator.[Ch]:
1895 * ParagraphParameters.[Ch]:
1900 * cursor_slice.[Ch]:
1907 * output_docbook.[Ch]:
1908 * output_latex.[Ch]:
1909 * output_linuxdoc.[Ch]:
1910 * output_plaintext.[Ch]:
1912 * paragraph_funcs.[Ch]:
1913 * paragraph_pimpl.[Ch]:
1921 * frontends/controllers/ControlDocument.C:
1922 * frontends/controllers/ControlErrorList.C:
1923 * frontends/controllers/ControlSpellchecker.C:
1926 * insets/insetbase.h:
1927 * insets/insetbibitem.C:
1928 * insets/insetbox.C:
1929 * insets/insetbranch.C:
1930 * insets/insetcaption.C:
1931 * insets/insetcharstyle.C:
1932 * insets/insetcharstyle.h:
1933 * insets/insetcollapsable.C:
1934 * insets/insetcollapsable.h:
1935 * insets/insetert.C:
1936 * insets/insetfloat.C:
1937 * insets/insetfoot.C:
1938 * insets/insetmarginal.C:
1939 * insets/insetnote.C:
1940 * insets/insetoptarg.C:
1941 * insets/insettabular.C:
1942 * insets/insettext.C:
1943 * insets/insettext.h:
1944 * insets/insetwrap.C:
1945 * mathed/math_mboxinset.C:
1946 * mathed/math_nestinset.C:
1947 * mathed/math_scriptinset.C:
1948 * mathed/math_scriptinset.h:
1951 2004-03-24 Angus Leeming <leeming@lyx.org>
1953 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1954 deal with any child processes that have finished but are waiting to
1955 communicate this fact to the rest of LyX.
1957 2004-03-24 Angus Leeming <leeming@lyx.org>
1959 64-bit compile fixes.
1961 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1962 (c-tor): pass lyx::pos_types rather than ints.
1964 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1967 * text.C (Delete): compile fix.
1968 (getPar): ensure that function declaration is the same as that in
1971 2004-03-23 Angus Leeming <leeming@lyx.org>
1973 * ispell.C (LaunchIspell):
1974 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1975 a boost::shred_ptr rather than a std::auto_ptr.
1977 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1979 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1980 handle LFUN_FILE_INSERT_*
1982 * lyxrc.C (setDefaults, getDescription, output, read):
1983 * lyxrc.h: remove ps_command
1985 2004-03-22 Angus Leeming <leeming@lyx.org>
1987 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1988 Ensure that error_handler is processed once only and that all data
1989 is saved before attempting to output any warning messages.
1991 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1993 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1995 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1997 2004-03-19 André Pönitz <poenitz@gmx.net>
1999 * cursor.[Ch] (reset): take main text inset as argument
2001 * BufferView: adjust
2002 * BufferView_pimpl.C: adjust
2004 * paragraph.[Ch]: fix completely broken operator=()
2006 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2008 * LColor.C (getFromLyXName): make sure that the color name is used
2011 2004-03-17 Angus Leeming <leeming@lyx.org>
2014 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2016 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2017 dialog and to kill a forked process.
2019 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2021 * text2.C (setCursorFromCoordinates): fix font problem
2023 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2025 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2026 bogus "rebuild cursor" code
2028 2004-03-11 André Pönitz <poenitz@gmx.net>
2030 * buffer.[Ch]: use InsetText instead of LyXText as container for
2033 * dociterator.[Ch]: drop the BufferView * member which is not needed
2034 anymore after the change to buffer.C
2036 * paragraph_funcs.C:
2040 * BufferView_pimpl.[Ch]:
2042 * cursor_slice.[Ch]: adjust
2044 * text3.C: fix bug in mathDispatch
2046 2004-03-08 André Pönitz <poenitz@gmx.net>
2048 * undo.[Ch]: use 'StableDocumentIterator' as base for
2051 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2054 * bufferparams.[Ch]: add jurabib support and param.
2056 * LaTeX.C: add FIXME/comment.
2058 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2060 * buffer.C: increment file format to 230.
2062 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2064 * cursor.C (dispatch): avoid infinite loops
2066 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2068 * rowpainter.C (paintSelection): fix x coordinates
2070 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2072 * text.C (rowBreakPoint): fix breaking before displayed insets
2074 2004-03-01 André Pönitz <poenitz@gmx.net>
2076 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2078 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2082 * BufferView_pimpl.C:
2090 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2096 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2097 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2099 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2101 * Bidi.[Ch] (computeTables): const correctness
2102 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2103 fill_hfill, fill_label_hfill and x from Row
2104 * lyxtext.h: prepareToPrint returns a RowMetrics
2105 * rowPainter.C: adjust
2106 * text.C (prepareToPrint): use width, not textWidth. adjust
2107 (redoParagraphInternal, cursorX): adjust
2108 * text2.C (getColumnNearX): adjust
2109 (init): put a default value to the top LyXText::width
2111 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2113 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2115 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2117 * lyxtext.h: add FontIterator class
2119 * text.C (FontIterator, operator*, operator->, operator++): add
2120 (rowBreakPoint, setRowWidth): adjust (fixing a
2123 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2125 * BufferView_pimpl.C (workAreaDispatch): allow also
2126 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2128 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2130 * text.C (rowBreakPoint): fix a bug showing with very large insets
2132 2004-02-25 André Pönitz <poenitz@gmx.net>
2135 * cursor.[Ch]: move some mathed specific code to mathed
2137 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2139 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2140 use_tempdir in preferences
2141 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2143 * lyx_main.C: ensure that tempdir is valid
2144 * lyxlex.h: correct typo
2145 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2146 * paragraph.[Ch] (isMultiLingual): make const
2147 * cursor.[Ch] (openable): make const
2149 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2151 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2153 2004-02-20 André Pönitz <poenitz@gmx.net>
2155 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2157 * cursor.[Ch]: prepare for localized getStatus()
2163 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2165 2004-02-20 André Pönitz <poenitz@gmx.net>
2167 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2169 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2171 * text2.C (setCursorFromCoordinates): switch to absolute coords
2173 (cursorDown): adjust
2174 * text3.C (dispatch): adjust
2176 2004-02-16 André Pönitz <poenitz@gmx.net>
2178 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2181 * cursor_slice.[Ch]: remove unneeded acessor function
2183 * lyxtext.h: rename rtl() to isRTL()
2191 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2193 * rowpainter.C (paintSelection): coord fix
2195 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2197 * Spacing.C: compile fix
2199 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2201 * cursor.C (dispatch): restore current_ before returning
2203 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2205 * text2.C (cursorUp, cursorDown): fix coords
2208 2004-02-12 André Pönitz <poenitz@gmx.net>
2213 * text3.C: add LCursor & parameter to most cursor movement functions
2214 remove usage of LyXText::cursorRow() and cursorPar()
2216 * cursor.[Ch]: add textRow() needed members
2219 * BufferView_pimpl.C:
2222 * BufferView_pimpl.C: adjust
2224 2004-02-11 André Pönitz <poenitz@gmx.net>
2228 * BufferView_pimpl.C: shift undo/redo handling
2230 * cursor.[Ch]: fix mathed crash
2233 * lyxtext.h: move selectionAsText to LCursor
2241 * rowpainter.C: fix excessive drawing
2243 2004-02-06 André Pönitz <poenitz@gmx.net>
2246 * BufferView_pimpl.[Ch]:
2247 * text3.C: move some text specific LFUN handling
2249 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2251 * text3.C (checkInsetHit): adjust coords
2252 * text2.C (getColumnNearX): adjust coords
2253 (edit): adjust coords
2254 * text.C (getRowNearY): add two asserts
2256 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2259 * format.C: add using std::distance to compile on gcc 2.95/stlport
2261 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2263 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2265 2004-02-04 André Pönitz <poenitz@gmx.net>
2267 * BufferView.[Ch] (insertInset):
2268 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2273 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2275 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2276 on the default clause of the switch
2277 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2278 wasn't catched by LCursor::dispatch
2280 2004-02-03 André Pönitz <poenitz@gmx.net>
2283 * cursor.[Ch]: some additional asserts
2285 * undo.[Ch]: remove LyXText dependency in interface
2289 * lyxtext.h (firstPar, lastPar): remove dead functions
2294 * paragraph.[Ch]: adjust
2296 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2298 * lyxfind.C (find): fix argument order in call to ::find
2300 2004-02-02 André Pönitz <poenitz@gmx.net>
2302 * cursor.[Ch]: remove direct access to anchor
2304 * text.C: remove findText() hack
2306 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2308 * iterators.[Ch] (lockPath): remove in favour of...
2309 * BufferView.[Ch] (setCursor): this addition
2310 * BufferView.C (putSelectionAt): adjust
2311 * undo.C (performUndoOrRedo): adjust
2312 * lyxfunc.C (dispatch): adjust
2314 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2316 * iterators.C (lockPath): add a missing slice
2317 * undo.C (performUndoOrRedo): remove redundant positioning code
2319 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2321 * vc-backend.C (scanMaster): ";" -> ';'
2323 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2325 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2326 std::binary_function
2328 * lyxtextclass.C (compare_name): rename to...
2329 (LayoutNamesEqual): ...this
2331 * lyxlex_pimpl.C (compare_tags): inherit from
2332 std::binary_function, put back into anon namespace
2334 * lyxfind.C (MatchString): inherig from std::binary_function
2335 (findChange): use empty() istead of !size()
2337 * format.C (FormatNamesEqual): new functor
2344 * converter.C (compare_Converter): rename to...
2345 (ConverterEqual): ...this, and fixup a bit.
2346 (getConverter): use it, and make function const
2347 (getNumber): use it, and make function const
2351 * bufferlist.C: add using boost::bind
2353 * MenuBackend.C (MenuNamesEqual): new functor
2354 (hasMenu): use it, and make function const
2355 (hasSubmenu): use nested bind to get rid of compare_memfun.
2357 2004-01-30 André Pönitz <poenitz@gmx.net>
2359 * BufferView_pimpl.C:
2362 * cursor_slice.[Ch]:
2365 * paragraph_funcs.C:
2366 * paragraph_funcs.h:
2370 * text3.C: move some of the edit(x,y) handling to the insets
2371 some coordinate changes.
2373 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2375 * text.C: add using statements for std::advance and std::distance
2377 * paragraph.C: add using statement for std::distance
2379 * lyxfind.C: add using statement for std::advance
2381 * cursor.C (region): remove std:: from swap
2382 (openable): use nucleus in stead of operator->
2384 * BufferView.C: add using statements for std::distance and std::swap
2386 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2388 * iterators.C: Remove the pimple, move the needed structures to
2389 the header file. Create accessor for the positions stack.
2390 (asPosIterator): remove function
2392 * PosIterator.C (PosIterator): move constructors to top of file
2393 (PosIterator): reimplement the constructor taking a ParIterator in
2395 (setFrom): new function
2396 (operator!=): inline it
2398 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2400 * lyxfind.C (replaceAll): use std::advance
2402 * iterators.h: inherit from std::iterator.
2404 * PosIterator.C (advance, distance): remove
2405 * PosIterator.h: interit from std::iterator.
2407 2004-01-26 André Pönitz <poenitz@gmx.net>
2410 * BufferView_pimpl.[Ch]:
2414 * bufferview_funcs.C:
2424 * output_linuxdoc.C:
2425 * output_plaintext.C:
2427 * paragraph_funcs.[Ch]:
2428 * paragraph_pimpl.[Ch]:
2434 * text3.C: more IU: dumps most of the rest of the mathcursor
2435 implementation into cursor.[Ch]; "globalize" a bit of it.
2437 2004-01-25 Angus Leeming <leeming@lyx.org>
2439 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2441 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2443 * LaTeXFeatures.h: add nice_ and nice() const
2444 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2446 2004-01-20 André Pönitz <poenitz@gmx.net>
2449 * BufferView_pimpl.C:
2451 * bufferview_funcs.C:
2453 * cursor_slice.[Ch]:
2464 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2465 LCursor and mathcursor parts to LCursor and InsetBase.
2467 2004-01-15 André Pönitz <poenitz@gmx.net>
2469 * cursor_slice.[Ch]: add a few covienience functions
2471 * funcrequest.[Ch]: remove BufferView * member
2473 * BufferView_pimpl.C:
2480 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2482 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2484 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2485 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2487 2004-01-13 André Pönitz <poenitz@gmx.net>
2490 * lyxtext.h: hide cursor and selection anchor behind accessor function
2493 * BufferView_pimpl.[Ch]:
2495 * bufferview_funcs.C:
2505 * cursor_slice.[Ch]: some integer type changes for inset unification
2507 * lyxcursor.[hC]: remove, it's CursorSlice now.
2510 * BufferView_pimpl.[Ch]:
2511 * bufferview_funcs.C:
2517 * textcursor.[Ch]: adjust
2519 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2521 * text2.C (undoSpan): add and use
2522 * text.C (breakParagraph): use undoSpan (fix bug 578)
2525 2004-01-08 Angus Leeming <leeming@lyx.org>
2527 * BufferView_pimpl.C (MenuInsertLyXFile):
2528 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2529 * lyxfunc.C (menuNew, open, doImport):
2530 FileFilterList change to the FileDialog open and save functions.
2532 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2534 * ShareContainer.h: make isEqual and isUnique adaptable
2536 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2538 2004-01-07 Angus Leeming <leeming@lyx.org>
2541 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2543 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2545 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2546 functions replacing find, replace and replaceAll.
2548 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2549 LFUN_WORDFIND(FORWARD|BACKWARD).
2551 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2553 * text.C (breakParagraph): remove an outdated #warning
2555 2004-01-07 André Pönitz <poenitz@gmx.net>
2557 * lyxfind.C: somewhat clearer logic
2559 * text.C: prevent crash in cursorX on unitialized row cache
2561 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2563 * lyxcursor.[Ch] (operator>): add
2564 * textcursor.C (selStart, selEnd): use std::min and std::max
2566 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2568 * Chktex.C: include boost/format.hpp
2570 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2572 * InsetList.C: replace functor MathcIt with adaptable functor
2574 (insetIterator): modify accordingly
2576 * BranchList.h: move the BranchNamesEqual functor here from...
2577 * BranchList.C: ... to here
2579 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2581 (add): replace a finding loop with std::find_if.
2583 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2585 * output_docbook.C: moving LatexParam functionality into
2588 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2590 * buffer.C: increment format to 229.
2592 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2595 * lyx_sty.[Ch]: remove minipageindent_def
2601 * text3.C: remove LFUN_INSET_MINIPAGE
2603 2003-12-28 Angus Leeming <leeming@lyx.org>
2605 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2607 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2609 * text2.C (setParagraph): fix off-by-one crash
2611 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2613 * output_docbook.C: header stuff for AGU
2615 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2617 * text2.C (redoCursor): remove
2620 * BufferView_pimpl.C: remove calls to redoCursor and
2621 setCursor(cursor.par(), cursor.pos()) all around
2623 2003-12-15 Angus Leeming <leeming@lyx.org>
2625 * buffer.C: up the format to 228.
2627 2003-12-15 André Pönitz <poenitz@gmx.net>
2629 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2634 * BufferView_pimpl.C:
2643 2003-12-15 Angus Leeming <leeming@lyx.org>
2645 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2646 than getFromGUIName to manipulate the color.
2648 2003-12-14 Angus Leeming <leeming@lyx.org>
2650 * BranchList.[Ch]: minimize the API.
2651 (Branch::getBranch, getColor): now return a 'const &'.
2652 (Branch::setSelected) now returns a bool set to true if the
2653 selection status changes.
2654 (BranchList::clear, size, getColor, setColor, setSelected,
2655 allBranches, allSelected, separator): removed.
2656 (BranchList::find): new functions, returning the Branch with
2658 (BranchList::add, remove): return a bool indicating that
2659 the operation was successful.
2661 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2662 new InsetBranch::isBranchSlected member function.
2664 * LColor.[Ch]: mimimize the API.
2665 (fill): renamed as addColor and made private.
2666 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2667 versions of these functions taking a string arg have been removed.
2669 * bufferparams.C (readToken):
2670 * lyxfunc.C (dispatch):
2671 * lyxrc.C (read): changes due to the altered BranchList and
2674 * factory.C (createInset, readInset): changes due to altered
2677 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2680 * lyxfunc.C: remove insetminipage. "minipage-insert"
2681 now produces a frameless minipage box inset.
2683 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2685 * textcursor.[Ch] (selStart,selEnd): add new methods
2686 remove selection::start, end, use LyXCursor::operator<
2687 * lyxcursor.[Ch] (operator<): add
2688 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2689 * BufferView.[Ch] (unsetXSel): add
2690 * text2.C (clearSelection): use unsetXSel,adjust
2693 * rowpainter.C: adjust
2694 * bufferview_funcs.C (put_selection_at): adjust
2696 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2698 * BufferView_pimpl.C: small coord. correction
2700 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2702 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2703 dragging over the splash screen.
2705 2003-12-11 Angus Leeming <leeming@lyx.org>
2707 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2708 as it is now handled in LyXText::dispatch.
2710 * text3.C (doInsertInset): remove a level of nesting.
2712 2003-12-11 Angus Leeming <leeming@lyx.org>
2714 * factory.C (createInset): changes due to the changed interface to
2715 InsetCommandMailer::string2params.
2717 2003-12-10 Angus Leeming <leeming@lyx.org>
2719 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2720 'dialog-show-new-inset <inset name>'
2722 2003-12-10 Angus Leeming <leeming@lyx.org>
2724 * buffer.C: up the format to 227.
2726 * factory.C: the box inset is now identified simply by 'Box'.
2728 2003-12-10 Angus Leeming <leeming@lyx.org>
2730 * buffer.C: up the format to 226.
2732 * factory.C: the note inset is now identified simply by 'Note'.
2734 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2736 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2737 when a pit is enough. Standarize a couple of loops.
2739 2003-12-05 Angus Leeming <leeming@lyx.org>
2741 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2742 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2743 data to the re-worked "log" dialog.
2745 2003-12-03 André Pönitz <poenitz@gmx.net>
2751 * paragraph_funcs.C:
2753 * text2.C: use Inset::getText instead of Inset::getParagraph
2755 2003-12-03 André Pönitz <poenitz@gmx.net>
2759 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2760 InsetText::read() as LyXText::read()
2762 2003-12-02 Angus Leeming <leeming@lyx.org>
2764 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2765 type. Add a comment in the implementation that the function uses
2766 the stream's bad() function rather than fail() as the std::streams
2769 2003-12-02 André Pönitz <poenitz@gmx.net>
2771 * lyxlex.[Ch]: make interface more similar to std::stream
2773 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2775 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2777 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2779 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2781 * vspace.[Ch]: remove VSpace::NONE
2783 2003-12-01 André Pönitz <poenitz@gmx.net>
2786 * lyxtext.h: move ParagraphList member to LyXText
2787 rename LyXText::ownerParagraphs to LyXText::paragraph
2790 * bufferview_funcs.C:
2800 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2802 * undo.C: fix cursor positioning
2804 2003-12-01 John Levon <levon@movementarian.org>
2806 * BufferView_pimpl.C: fix a crash on exit with
2809 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2811 * BranchList.C: fix setSelected() method.
2813 2003-11-28 André Pönitz <poenitz@gmx.net>
2815 * ParagraphParameters.[Ch]:
2816 * ParameterStruct.h: remove space above/below from Paragraph to
2819 * BufferView_pimpl.C:
2825 * paragraph_funcs.C:
2831 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2833 * factory.C: Syntax change for CharStyles
2835 2003-11-28 André Pönitz <poenitz@gmx.net>
2840 * buffer.[Ch]: move LyXText member
2842 2003-11-28 André Pönitz <poenitz@gmx.net>
2844 * BufferView.[Ch]: make LyXText * text a private member
2846 * BufferView_pimpl.C:
2857 * output_plaintext.C: cleanup
2859 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2862 * lyxtextclass.[Ch]: parametrize SGML document header
2864 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2867 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2870 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2872 * text2.C (setFont): rework using PosIterator (no more recursive)
2873 (setCharFont): no more needed
2874 (setLayout): no more selection cursors fiddling (done by redoCursor)
2875 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2876 destroy remaining ones)
2878 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2880 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2882 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2885 * text3.C: adjust + re-allow multi par depth changes
2886 * textcursor.C: simplify a bit
2888 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2894 * src/output_docbook.C:
2895 * src/output_latex.C:
2900 * src/text2.C: Introducing a number of tags parametrizing various
2901 XML formats that we may want to support
2903 2003-11-25 André Pönitz <poenitz@gmx.net>
2905 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2907 * lyxtext.h (leftMargin/rightMargin): simplify interface
2914 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2916 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2917 master file to any child files. Fixes bug 546.
2919 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2921 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2923 2003-11-24 André Pönitz <poenitz@gmx.net>
2925 * rowpainter.C: simplification
2927 * text2.C (updateCounters): remove call to redoParagraph on
2928 changed labels as this is far too expensive.
2930 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2932 * converter.C (convert): fix a crash: this function gets
2933 called with buffer == 0 from importer code.
2935 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2937 * text3.C (cursorPrevious): make sure that we do not compare
2938 iterators form different containers.
2941 * rowpainter.C (paintSelection): make sure that we do not compare
2942 iterators from different containers.
2944 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2945 iterators from different ParagraphList containers.
2948 * text2.C (LyXText): change order of initialization slightly
2949 (operator=): new function. copy all variables except cache_par_
2950 (moveUp): make sure that we do not compare iterators from
2951 different ParagraphList constainers.
2954 * text.C (firstPar): new function
2955 (lastPar): new function
2956 (endPar): new function
2958 * lyxtext.h: move things around and group public functions, public
2959 variables, private functions, private variables
2961 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2963 * factory.C: change call to InsetERT constructor to avoid
2964 additional invocation of method status
2965 * text2.C (toggleInset): remove redundant update() call
2966 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2967 instead of a Bufferview pointer
2969 2003-11-21 André Pönitz <poenitz@gmx.net>
2971 * rowpainter.C: simplification
2973 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2975 * text3.C (dispatch): make possible to extend a word/row selection
2978 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2980 * lyxtext.h: x0_,y0_ -> xo_,yo_
2981 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2982 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2983 * rowpainter.C (paintRows): paint full paragraphs
2985 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2987 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2990 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2992 * lyxtext.h: add x0_, y0_
2993 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2994 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2996 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2998 * text2.C (setCursorIntern): move the x_target update here *
2999 * text3.C: change some bv() to true/false in calls to
3000 cursorUp/Down/Right/Left
3001 * cursor.C: use helper function.
3003 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3005 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3006 * paragraph_funcs.[Ch]: correct comment
3007 * rowpainter.C: do not paint selections away from bv->cursor()
3008 Fix a long standing selection painting bug.
3009 * text3.C: generalize mouse-selection code to LyXTexts other that
3011 * textcursor.C: do not use y coords if we can use par offsets
3013 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3015 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3016 cursor position after e.g. inset insert)
3018 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3020 * lyxfind.C (replace): adjust to locking removal + some
3023 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3025 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3028 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3031 * output_docbook.C: XML sanitation: new layout
3032 parameters InnerTag and CommandDepth
3034 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3036 * BufferView_pimpl.C:
3038 * text3.C: Fix the insertion and modification of button-style
3041 2003-11-13 André Pönitz <poenitz@gmx.net>
3043 * InsetList.[Ch]: remove deleteLyXText
3045 * paragraph.[Ch]: cache beginOfBody position
3050 * text3.C: remove superfluous update() calls
3054 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3056 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3057 * BufferView.C (fitLockedInsetCursor): remove
3058 * cursor.[Ch] (getDim): add
3059 * text.C (getRowNearY): add faster version
3060 * text3.C: remove some update calls
3062 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3074 * text3.C: The Character Style /XML short element patch.
3076 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3079 * factory.C: Small step to solving 'unable to insert some insets'
3082 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3084 * cursor.[Ch] (updatePos): new function for updating the y
3085 position of the tip inset
3086 * bufferview_funcs.C (put_selection_at):
3087 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3089 2003-11-11 André Pönitz <poenitz@gmx.net>
3091 * text.C: remove big comment on invalid Paragraph pointers as it is
3094 2003-11-11 André Pönitz <poenitz@gmx.net>
3096 * text_funcs.[Ch]: merge with ...
3104 * Makefile.am: remove text_funcs.[Ch]
3106 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3108 * cursor.C (getPos): return absolute cached y coord
3110 * BufferView_pimpl.C (fitCursor): new simplistic code
3111 (workAreaDispatch): add a fitCursor call
3113 2003-11-10 André Pönitz <poenitz@gmx.net>
3116 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3118 2003-11-10 André Pönitz <poenitz@gmx.net>
3120 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3121 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3122 indicate that the cursor needs to leave an inset
3124 * lyxtext.h: remove inset locking
3126 * cursor.[Ch]: re-implement functionality provided by inset locking
3129 * BufferView_pimpl.[Ch]:
3131 * bufferview_funcs.[Ch]:
3143 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3145 * PosIterator.[Ch]: replace the stack with a vector, add inset
3147 * iterators.[C]: adjust
3149 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3151 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3153 * paragraph_funcs.C (readParToken): put the correct id in the
3154 error item, not the id of the top paragraph
3156 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3158 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3159 * bufferview_funcs.C (put_selection_at): use the above
3161 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3163 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3165 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3167 * output_linuxdoc.h:
3168 * output_plaintext.h:
3170 * output_docbook.h: add #include statements
3172 2003-11-05 José Matos <jamatos@lyx.org>
3174 * output_docbook.[Ch]:
3175 * output_latex.[Ch]:
3176 * output_linuxdoc.[Ch]:
3177 * output_plaintext.[Ch]: New files for output formats.
3178 * output.[Ch]: New file for helper functions.
3181 * paragraph_funcs.[Ch]: output functions moved to new files.
3183 * outputparams.h: rename of latexrunparams.h
3191 * paragraph_funcs.[Ch]:
3192 * paragraph_pimpl.[Ch]:
3193 * tabular.[Ch]: rename ascii to plaintext
3194 and LatexRunParams to OutputParams.
3196 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3198 * iterators.[Ch] (text): require bv argument
3199 * undo.C (recordUndo):
3200 * lyxfunc.C (dispatch):
3201 * bufferview_funcs.C (put_selection_at): adjust
3203 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3205 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3207 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3209 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3212 2003-11-04 André Pönitz <poenitz@gmx.net>
3214 * cursor.[Ch]: restructure
3217 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3219 * iterators.[Ch] (asCursor): remove
3221 * lfuns.h: remove LFUN_INSET_EDIT
3227 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3229 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3231 * lyxfind.[Ch]: complete overhaul
3232 * BufferView_pimpl.C:
3234 * paragraph.[Ch] (insert): add
3236 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3240 * text.C: remove dead spellcheck code
3242 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * dispatchresult.h: add a val setter
3246 * cursor.C (dispatch): use a tempvar for data_[i]
3248 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3250 * PosIterator.[Ch]: compile fix
3252 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3254 * text.C (cursorPar): deactivate the cursor cache
3256 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3258 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3260 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * text3.C (dispatch): adjust for new DisptchResult semantics.
3264 * lyxfunc.C (dispatch): handle update when return from
3265 Cursor::dispatch, adjust for new DispatchResult semantics.
3267 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3268 DispatchResult(true) mean to not update. Add class functions for
3269 setting dispatched and update, as well as reading.
3271 * cursor.C (dispatch): don't handle update here
3273 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3276 * trans_mgr.C: adjust
3278 * paragraph_funcs.C (readParToken): exception safety
3280 * lyxvc.h: store the vcs pointer in a scoped_ptr
3283 * lyxsocket.C (serverCallback): exception safety
3285 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3287 * ispell.C (clone): make it return a auto_ptr
3289 * factory.C (createInset): exception safety
3290 (readInset): exception safety
3292 * bufferlist.C (newBuffer): exception safety
3294 * Thesaurus.C (Thesaurus): use initialization for aik_
3296 * MenuBackend.C (expandToc): exception safety.
3298 2003-11-03 André Pönitz <poenitz@gmx.net>
3302 * bufferview_funcs.C: remove getInsetFromId()
3305 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3311 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3313 * PosIterator.C (distance, advance): new
3314 * bufferview_funcs.[Ch] (put_selection_at): new
3315 * iterators.[Ch] (lockPath): new
3317 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3319 * iterators.[Ch] (asPosIterator): added
3320 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3321 * PosIterator.[Ch]: added
3323 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * cursor.C (dispatch):
3328 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3330 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3331 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3332 contructor, add a class function dispatched. Remove operator>=
3334 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * debug.C: only use the default constructor for debugstream
3339 * main.C (main): include debug.h and setup the lyxerr streambuf
3342 2003-10-31 José Matos <jamatos@lyx.org>
3344 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3346 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3347 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3348 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3349 * paragraph_pimpl.C (simpleTeXSpecialC):
3350 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3351 add LatexRunParams argument.
3353 * exporter.C (Export): change call accordingly.
3355 * latexrunparams.h: add new member to take care of the other backends.
3356 2003-10-30 José Matos <jamatos@lyx.org>
3358 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3359 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3360 factorise code for paragraph output.
3362 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3365 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3367 * text3.C (dispatch):
3368 * lyxfunc.C (dispatch):
3369 * cursor.C (dispatch):
3370 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3372 * dispatchresult.h: make the dispatch_result_t ctor explicit
3374 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3377 * buffer.C: small refactoring of docbook stuff
3379 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3381 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3384 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3387 operator dispatch_result_t, and operators for == != and >=
3389 * cursor.C (dispatch): adjust for operator dispatch_result_t
3390 removal. comment out call to update
3392 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3394 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3405 * dispatchresult.h: new file, DispatchResult broken out of
3408 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3410 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3412 * text.C (rowBreakPoint): put a hack inside #if 0
3414 2003-10-28 André Pönitz <poenitz@gmx.net>
3418 * paragraph_funcs.C:
3421 * text2.C: general cleanup (lots of small stuff)
3423 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3425 * text2.C (cursorEnd): simple fix to the "end key goes to one
3426 before the end on last row" bug
3428 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3430 * text.C (backspace): fix the "zombie characters"
3432 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3434 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3436 2003-10-27 André Pönitz <poenitz@gmx.net>
3438 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3440 * factory.C: handle new InsetPagebreak, InsetLine
3442 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3443 and move handling into new InsetPagebreak, InsetLine
3445 * BufferView_pimpl.C:
3447 * ParagraphParameters.C:
3448 * ParameterStruct.h:
3453 * paragraph_funcs.C:
3454 * paragraph_pimpl.C:
3460 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3463 * lyxrow_funcs.[Ch]:
3469 * text3.C: remove lastPos uses in favour of Row::endpos
3471 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3473 * undo.C (performUndoOrRedo): fix two crashes by setting a
3474 cursor by hand and reordering some calls. Use bv->lockInset instead
3475 of inset->edit because the latter loses cursor information
3477 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3479 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3481 (rowBreakPoint): fix width. change point to point + 1.
3482 Add a missing check.
3484 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3487 * lyxfunc.C: fix (at least partly) the problems
3488 with the Nav menu and headers inside branch insets
3491 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3493 * paragraph.C (getChar): add strong asserts
3495 * lyxrow_funcs.C (lastPos): remove hideous hack
3497 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3498 (fill): adjust to that (avoid an infinite loop)
3500 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3502 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3504 2003-10-23 André Pönitz <poenitz@gmx.net>
3506 * RowList_fwd.h: change list<> to vector<> to gain speed
3507 after suggestion from Alfredo
3509 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3511 * lyxtext.h: move the bidi stuff from here...
3514 * Bidi.[Ch]: ... to here
3516 2003-10-23 André Pönitz <poenitz@gmx.net>
3519 * text.C (isLastRow, isFirstRow): new functions
3521 * paragraph.h: new width cache member
3523 * rowpainter.C: replace RowList::iterator with Row & where possible
3525 * lyxfunc.C: replace several view()->text with a single call
3527 * toc.C: fix 'unused' warning
3529 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3532 when woring with stream::pos_type
3533 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3535 2003-10-22 André Pönitz <poenitz@gmx.net>
3538 * text.C: use Row & instead of RowList::iterator
3540 * lyxrow.h: rename end() to endpos()
3546 2003-10-22 Angus Leeming <leeming@lyx.org>
3548 * buffer.[Ch] (fully_loaded): new member function, returning true
3549 only when the file has been loaded fully.
3550 Used to prevent the premature generation of previews and by the
3551 citation inset to prevent computation of the natbib-style label.
3553 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3554 templates are all set up.
3556 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3558 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3560 * text.C: fixed an "oops" in the "is a bit silly"
3563 2003-10-21 André Pönitz <poenitz@gmx.net>
3565 * FuncStatus.[Ch]: small stuff, whitespace
3567 * lyxfont.[Ch]: operator<<() for debug reasons
3571 * lyxtext.h: whitespace, spelling
3573 * paragraph.C: naming of variables
3576 * text2.C: small stuff
3579 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3581 * text.C: (1) finish off the inset display() work;
3582 (2) fix the "is a bit silly" bug (accessing char
3585 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3587 * text.C: re-introduce display() for insets, fixing the
3588 various bugs (stretch of line above, math inset
3591 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3593 * text.C (rightMargin): remove spurious semicolon
3595 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3598 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3600 * text3.C: fix one crash due to wrong cursor def
3602 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * vc-backend.C (scanMaster): make the regex static
3606 * LaTeX.C (scanAuxFile): make the regexs static
3608 * text3.C (doInsertInset, dispatch, dispatch):
3609 * text2.C (cursorUp, cursorDown):
3610 * text.C (selectNextWordToSpellcheck):
3611 * BufferView_pimpl.C (dispatch):
3612 * lyxfunc.C (dispatch): localDispatch -> dispatch
3614 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3616 * lyxsocket.C: include <cerrno>
3618 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * lyxfunc.C (dispatch): remove textcache stuff
3622 * bufferlist.C (release): remove textcache stuff
3625 * TextCache.C: delete file
3626 * TextCache.h: delete file
3628 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3630 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3631 delete of the bv_->text.
3632 (resizeCurrentBuffer): remove texcache stuff
3633 (workAreaResize): ditto
3635 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3637 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3640 2003-10-16 André Pönitz <poenitz@gmx.net>
3647 * text3.C: speed up by storing y positions per paragraph plus per-row
3648 offset instead of having a 'full' y position in the row.
3650 2003-10-15 André Pönitz <poenitz@gmx.net>
3654 * undo.[Ch]: make undo aware of inner insets
3656 2003-10-14 Angus Leeming <leeming@lyx.org>
3658 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3659 static member functions LyX::ref() and LyX::cref.
3660 (lastfiles): new accessor functions for the new lastfiles_ member var.
3661 (addLyXView, views_): add a new LyXView to the list of views_.
3662 (updateInset): loop over all LyXViews to call their own updateInset
3663 member function, returning a pointer to the Buffer owning the inset.
3665 * BufferView_pimpl.C (loadLyXFile):
3666 * MenuBackend.C (expandLastfiles):
3667 * bufferlist.C (MenuWrite, QuitLyX):
3668 lastfiles is no longer a global variable.
3669 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3671 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3672 static function. Access through LyX::cref().emergencyCleanup().
3674 2003-10-14 André Pönitz <poenitz@gmx.net>
3676 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3678 * undo.[Ch]: restoring part of 'undo in insets'
3681 * undo_funcs.[Ch]: merge with undo.[Ch]
3683 * tabular.C: small cleansing stuff
3685 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3687 * paragraph_funcs.C (readParToken): report unknown insets as error
3688 boxes. Use the outer paragraph as location (also for unknown
3691 * factory.C (readInset): do not abort on reading an unknown inset.
3692 Eat it and return 0.
3694 2003-10-13 Angus Leeming <leeming@lyx.org>
3696 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3698 * lyxrc.C: displayTranslator is now a function,
3699 declared in GraphicsTypes.h.
3701 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3703 * format.C: new placeholder $$a to pass the socket address.
3705 * bufferlist.[Ch]: new function getBufferFromTmp.
3707 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3708 files in the temporary dir.
3710 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3712 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3714 * Makefile.am: add lyxsocket.[Ch].
3716 * lyx_main.C (error_handler): handle SIGPIPE.
3718 2003-10-13 André Pönitz <poenitz@gmx.net>
3720 * BufferView_pimpl.C:
3725 * undo_funcs.[Ch]: use paroffset_type instead of
3726 ParagraphList::iterators to prevent multiple conversion
3727 (and get a more robust interface)
3729 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3731 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3733 * text3.C (dispatch): ditto
3735 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3737 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3738 move the onlyfile, use onlyfile instead of foundfile in a couple
3741 * DepTable.C (update): flush the error stream a bit more
3743 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3745 * lyxserver.C (callback): adjust
3747 * lyxfunc.C (getStatus): add a missing brace in commented code
3748 (ensureBufferClean): reindent
3749 (dispatch): delete version taking a string
3751 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3753 * LaTeX.C (deplog): move found file handlig from here...
3754 (handleFoundFile): .. to new function here.
3755 (deplog): make sure to discover several files mentioned on the
3758 2003-10-10 André Pönitz <poenitz@gmx.net>
3765 * text3.C: fix some of the tabular crashes
3767 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3769 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3771 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3773 2003-10-09 André Pönitz <poenitz@gmx.net>
3775 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3778 * BufferView_pimpl.C:
3779 * bufferview_funcs.C:
3790 * undo_funcs.C: adjust
3792 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3794 * text2.C (incrementItemDepth): new function, use a backtracking
3795 algorithm to discover the correct item depth.
3796 (resetEnumCounterIfNeeded): new function, use a backtracking
3797 algorithm to discover if counter reset is needed.
3798 (setCounter): use them. Simplify a bit. Add different labels for
3799 different item depths for itemize.
3801 * paragraph.C (Paragraph): remove initialization of enumdepth
3804 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3805 enumerate and itemize. Change the type of itemdepth to signed char.
3807 2003-10-08 André Pönitz <poenitz@gmx.net>
3809 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3814 * tabular.[Ch]: fix crash after 'row-insert'
3816 2003-10-08 Angus Leeming <leeming@lyx.org>
3818 Fix doxygen warnings.
3820 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3821 Remove CutAndPaste:: prefix from header file declaration.
3823 * LColor.h (fill): remove LColor:: prefix from declaration.
3825 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3826 use lyx::depth_type rather than Paragraph::depth_type so that
3827 header file and .C file match.
3829 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3831 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3832 * aspell.C: \file aspell_local.C -> \file aspell.C
3833 * gettext.C: \file gettext.C -> \file src/gettext.C
3834 * gettext.h: \file gettext.h -> \file src/gettext.h
3835 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3836 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3837 * text.C: \file text.C -> \file src/text.C
3839 * toc.C: move comment so that doxygen is not confused.
3841 2003-10-07 Angus Leeming <leeming@lyx.org>
3843 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3845 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3848 * aspell_local.h: add forgotten std::string's.
3850 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3857 * text3.C: The Box patch. Fancybox support, minipage, parbox
3859 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3865 * ParagraphParameters.h:
3875 * lyxtextclasslist.h:
3878 * paragraph_pimpl.C:
3879 * textcursor.h: add <string> and other small fixes to make Lars'
3880 std::string patch compile with STLport.
3882 2003-10-06 Angus Leeming <leeming@lyx.org>
3884 * LColor.h: Add missing #include <string>.
3886 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3888 * All most all file in all subdirs: Make <string> be the prefered
3889 way of getting to std::string, add using declarations.
3891 2003-10-06 André Pönitz <poenitz@gmx.net>
3893 * metricsinfo.C: initialize LyXFont before changing attribute.
3894 (fixes the 'math in \emph is upright' bug)
3896 2003-10-06 André Pönitz <poenitz@gmx.net>
3898 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3900 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3903 * paragraph_pimpl.C: Small fixes to build using STLport
3905 2003-10-02 André Pönitz <poenitz@gmx.net>
3908 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3910 2003-10-01 André Pönitz <poenitz@gmx.net>
3912 * factory.C: assert early
3914 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * lyx_main.C: remove the global debug object
3918 * debug.h: adjust for new debugstream
3920 * debug.C: adjust for new debugstream and keep the global debug
3923 2003-09-22 Angus Leeming <leeming@lyx.org>
3925 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3926 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3927 an incomplete class LyXFont.
3929 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3931 * factory.C: bug fix in branches
3933 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3935 * lyxfunc.C (processKeySym): adjust
3937 (dispatch): change arg name from ev to func, adjust
3938 (sendDispatchMessage): ditto
3940 * lyx_main.C (defaultKeyBindings): adjust keybindings
3941 (deadKeyBindings): ditto
3943 * kbsequence.C (addkey): return a FuncRequest
3945 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3947 * kbmap.C (bind): take a FuncRequest as arg, adjust
3950 (defkey): change to take a FuncRequest as arg, adjust
3951 (findbinding): take a FuncRequest as arg, adjust.
3953 * funcrequest.h (operator=): added
3955 * funcrequest.C (FuncRequest): default kb_action changed from
3956 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3958 * buffer.C (dispatch): simplify
3959 (dispatch): adjust to take a FuncRequest as arg, adjust
3961 * boost.C (assertion_failed): change assertion message slightly
3963 * ToolbarBackend.C (read): simplify
3965 * MenuBackend.C (binding): adjust call to findbinding, add a
3966 message if no binding is found.
3968 (expandToc): correct by adding a empty FuncRequest
3970 * LyXAction.C: include <boost/assert.hpp>
3971 (isPseudoAction): delete function
3972 (LookupFunc): change name to...
3973 (lookupFunc): this. change return type to FuncRequest.
3974 (getActionName): take kb_action as arg, simplify
3975 (funcHasFlag): add an assert, simplify.
3977 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3979 * toc.C (action): return a FuncRequest, simplify
3981 * lyxfunc.C (processKeySym): adjust
3982 (getStatus): delete version that takes an int.
3984 (dispatch): delete version that takes action as int
3986 (sendDispatchMessage): simplify and adjust
3988 * funcrequest.C (getArg): take unsigned int as arg
3990 * ToolbarBackend.C (read): adjust
3991 (add): delete version that takes func as a string.
3992 (getIton): take a FuncRequest as arg
3994 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3997 * MenuBackend.C (MenuItem): add a new construct that only takes a
3998 Kind, simplify the constructor use for submenus.
4000 (expandLastfiles): adjust
4001 (expandDocuments): adjust
4002 (expandFormats): adjust
4003 (expandFloatListInsert): adjust
4004 (expandFloatInsert): adjust
4005 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4007 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4008 Remove class variables lyx_pseudo_map and lyx_arg_map
4010 * LyXAction.C (searchActionArg): delete function
4011 (getPseudoAction): delete function
4012 (retrieveActionArg): delete function
4013 (LookupFunc): make it return kb_action, simplify.
4014 (getActionName): simplify
4016 * factory.C (createInset): fix new bug
4018 2003-09-19 Angus Leeming <leeming@lyx.org>
4020 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4021 masterFilename_ parameter in the include inset.
4023 * factory.C (createInset): changes due to the changes to InsetInclude.
4025 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4027 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4029 2003-09-18 Angus Leeming <leeming@lyx.org>
4032 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4033 Inset::fillWithBibKeys.
4034 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4036 2003-09-18 Angus Leeming <leeming@lyx.org>
4038 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4040 (ctor): pass and store a 'Buffer const &'
4041 (buffer): new member function.
4043 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4044 '*this' to the LaTeXFeatures ctor.
4046 2003-09-18 Angus Leeming <leeming@lyx.org>
4052 * text.C: rename EnumLColor as LColor_color.
4054 2003-09-18 Angus Leeming <leeming@lyx.org>
4056 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4057 remove #include "insets/insetbase.h" from cursor.h.
4059 2003-09-18 Angus Leeming <leeming@lyx.org>
4061 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4062 InsetOld_code to remove #include "inset.h".
4064 * iterators.C: add #include "insets/inset.h"
4066 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4068 * BufferView.C: remove more locking stuff that apparently doesn't
4069 do anything sensible.
4071 2003-09-16 André Pönitz <poenitz@gmx.net>
4074 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4077 2003-09-16 Angus Leeming <leeming@lyx.org>
4079 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4081 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4084 * paragraph.h: remove #include "lyxfont.h". Forward declare
4087 2003-09-16 Angus Leeming <leeming@lyx.org>
4089 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4090 of support/textutils.h.
4091 (isWord): move the contents of support/textutils.h's IsWordChar here.
4097 * text2.C: add #include "paragraph.h".
4100 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4102 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4108 * LaTeX.C: use namespace alias for lyx::support::os
4110 2003-09-16 Angus Leeming <leeming@lyx.org>
4113 * bufferview_funcs.C:
4116 * paragraph_pimpl.C:
4118 * text.C: add #include "LColor.h".
4120 2003-09-16 Angus Leeming <leeming@lyx.org>
4122 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4123 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4125 Store the FontBits::color variable as an int rather than as an
4126 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4129 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4130 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4131 string calls together.
4133 * lyxrc.C: add #include "LColor.h".
4135 2003-09-15 Angus Leeming <leeming@lyx.org>
4137 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4140 2003-09-15 Angus Leeming <leeming@lyx.org>
4142 * LColor.h: add an EnumLColor wrapper for LColor::color.
4144 * lyxfont.[Ch] (color, setColor, realColor):
4145 * lyxtext.h, text.C (backgroundColor):
4146 pass EnumLColor args to/from the functions, rather than LColor::color
4150 * lyxtext.h: forward declare EnumLColor.
4152 * lyx_main.C: add #include "LColor.h".
4154 2003-09-15 Angus Leeming <leeming@lyx.org>
4156 * .cvsignore: add lyx-gtk.
4158 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4163 * ParagraphParameters.C
4167 * bufferview_funcs.C
4177 * vc-backend.C: remove usage of STRCONV
4179 2003-09-15 Angus Leeming <leeming@lyx.org>
4181 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4182 explicitly define the color passed to the painter.
4184 2003-09-15 Angus Leeming <leeming@lyx.org>
4186 * bufferparams.C (BufferParams): reorder member initializers to avoid
4189 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4191 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4192 * text.C (updateRowPositions): remove an unusual nop
4194 2003-09-12 André Pönitz <poenitz@gmx.net>
4196 * BufferView_pimpl.C:
4205 * Counters.[Ch]: finish the 'automatic counters' job
4207 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4209 * aspell.C: include <boost/assert.cpp> (compile fix)
4211 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4213 * boost.C (assertion_failed): use lyx::support::abort instead of
4216 2003-09-10 Angus Leeming <leeming@lyx.org>
4218 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4219 with their _fwd progeny.
4221 2003-09-09 Angus Leeming <leeming@lyx.org>
4223 134 files throughtout the source tree: replace 'using namespace abc;'
4224 directives with the appropriate 'using abc::xyz;' declarations.
4226 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4228 * boost.C (emergencyCleanup): moved here from LAssert.c
4229 (assertion_failed): new function, called by BOOST_ASSERT
4231 * several files: change Assert to BOOST_ASSERT
4233 2003-09-09 Angus Leeming <leeming@lyx.org>
4235 * buffer.[Ch]: Add an Impl class and move Buffer's member
4236 variables into it. As a result move several header files out of
4239 Add header files to lots of .C files all over the tree as a result.
4241 2003-09-09 Angus Leeming <leeming@lyx.org>
4243 * buffer.[Ch]: make Buffer's member variables private. Add
4246 Lots of changes all over the tree as a result.
4248 2003-09-08 Angus Leeming <leeming@lyx.org>
4250 * graph.C: #include <config.h>.
4252 2003-09-08 Angus Leeming <leeming@lyx.org>
4256 * BufferView_pimpl.C:
4285 * toc.C: remove redundant using directives.
4287 2003-09-07 Angus Leeming <leeming@lyx.org>
4289 * LaTeXFeatures.h: remove #include "support/types.h".
4290 * ToolbarBackend.h: remove #include <algorithm>.
4291 * changes.h: remove #include <ctime>.
4292 * debug.h: remove #include <iosfwd>.
4293 * graph.h: remove #include "support/std_string.h".
4294 * lyx_main.h: remove #include <csignal>.
4295 * lyxlex_pimpl.h: remove #include <fstream>.
4296 * sgml.h: remove #include <algorithm>, <utility>.
4297 * toc.h: remove #include "support/std_ostream.h".
4298 Add #include <iosfwd>.
4300 2003-09-07 Angus Leeming <leeming@lyx.org>
4302 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4304 * converter.h: forward declare LatexRunParams.
4305 * encoding.h: remove #include "lyxrc.h".
4306 * lyxtext.h: remove #include "LColor.h".
4307 * lyxtextclass.h: remove #include "support/types.h".
4308 * trans.h: remove #include "tex-accent.h".
4309 * trans_mgr.h: remove #include "tex-accent.h".
4310 * insets/inset.h: remove #include "support/types.h", <vector>.
4311 * insets/insetcollapsable.h: remove #include "LColor.h".
4312 * insets/insetinclude.h: remove #include "dimension.h".
4313 * insets/insetlatexaccent.h: remove #include "dimension.h".
4314 * insets/insetoptarg.h:: remove #include "insettext.h".
4315 * insets/insettext.h: remove #include "dimension.h",
4316 <boost/shared_ptr.hpp>
4318 * insets/renderers.h: add #include "dimension.h".
4319 * insets/updatableinset.h: add #include "support/types.h".
4321 * many .C files: Associated changes.
4323 2003-09-06 Angus Leeming <leeming@lyx.org>
4325 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4326 one, inside testInvariant.
4328 * PrinterParams.C: new file.
4329 * PrinterParams.[Ch]: move the function bodies out of line.
4331 2003-09-06 Angus Leeming <leeming@lyx.org>
4333 * ParagraphParameters.h: forward declare ParameterStruct rather than
4334 including its header file.
4335 (depth): moved out-of-line.
4337 2003-09-06 Angus Leeming <leeming@lyx.org>
4339 * BufferView_pimpl.h:
4342 * lyxfunc.h: forward declare LyXKeySym rather than
4343 #include "frontends/LyXKeySym.h".
4345 * BufferView_pimpl.C:
4348 * lyxfunc.C: associated changes.
4350 2003-09-06 Angus Leeming <leeming@lyx.org>
4352 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4353 As a result, can remove the #include "insets/inset.h" from BufferView.h
4355 2003-09-06 Angus Leeming <leeming@lyx.org>
4357 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4358 As a result, can remove the #include "insets/inset.h" from BufferView.h
4360 2003-09-06 Angus Leeming <leeming@lyx.org>
4366 * bufferview_funcs.C:
4367 * BufferView_pimpl.C:
4372 * ParagraphParameters.C:
4377 * frontends/controllers/ControlDocument.C:
4378 * insets/insetcaption.C: rearrange the #includes into some sort of
4381 * buffer.h: remove #includes ErrorList.h, undo.h
4383 2003-09-06 Angus Leeming <leeming@lyx.org>
4385 * support/types.h: add a 'depth_type' typedef, used to store the
4386 nesting depth of a paragraph.
4389 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4390 defining explicitly.
4393 * paragraph_funcs.h:
4394 * ParagraphParameters.h:
4395 * sgml.h: use lyx::depth_type rather than Paragraph or
4396 ParameterStruct's depth_type.
4399 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4402 * BufferView_pimpl.C:
4404 * ParagraphParameters.C:
4407 * bufferview_funcs.C:
4414 * frontends/LyXView.C:
4415 * frontends/controllers/ControlDocument.C:
4416 * frontends/controllers/ControlErrorList.C:
4417 * insets/insetbibitem.C:
4418 * insets/insetbranch.C:
4419 * insets/insetcaption.C:
4420 * insets/insetcollapsable.C:
4421 * insets/insetenv.C:
4422 * insets/insetert.C:
4423 * insets/insetfloat.C:
4424 * insets/insetfoot.C:
4425 * insets/insetfootlike.C:
4426 * insets/insetnewline.C:
4427 * insets/insetquotes.C:
4428 * insets/insettabular.C:
4429 * insets/insettext.C:
4430 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4432 * frontends/controllers/ControlChanges.C: #include "changes.h".
4434 2003-09-06 Angus Leeming <leeming@lyx.org>
4436 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4437 than #including paragraph.h.
4440 * RowList.h: deleted. Superfluous.
4450 * insets/insettext.h: use ParagraphList_fwd.h rather than
4453 * paragraph.h: don't forward declare ParagraphList.
4456 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4457 rather than ParagraphList.h. paragraph.h is still needed for the
4458 Paragraph::depth_type parameters.
4460 * textcursor.h: enable it to compile stand-alone in light of the
4463 * bufferview_funcs.C:
4475 * frontends/controllers/ControlParagraph.C:
4476 * frontends/controllers/ControlTabular.C:
4477 * insets/insetmarginal.C:
4478 * insets/insetminipage.C:
4479 * insets/insetnote.C:
4480 * insets/insetoptarg.C: add header files needed to compile again.
4482 2003-09-06 Angus Leeming <leeming@lyx.org>
4484 * RowList_fwd.h: new file, forward-declaring Row rather than
4485 #including lyxrow.h.
4490 * insets/insettext.h: use it instead of RowList.h
4492 * bufferview_funcs.C:
4499 * text3.C: #include "RowList.h".
4501 2003-09-05 Angus Leeming <leeming@lyx.org>
4503 * factory.C (createInset):
4504 * vspace.C (c-tor): replace sscanf call with an istringstream.
4505 * ispell.C: re-add missing HP/UX headers.
4506 * lyxserver.C: re-add missing os2 headers.
4508 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4517 * text3.C: re-add missing system headers, needed for 2.95.2.
4519 2003-09-05 Angus Leeming <leeming@lyx.org>
4521 Changes most place everywhere due to the removal of using directives
4522 from support/std_sstream.h.
4524 2003-09-05 Angus Leeming <leeming@lyx.org>
4526 Replace LString.h with support/std_string.h,
4527 Lsstream.h with support/std_sstream.h,
4528 support/LIstream.h with support/std_istream.h,
4529 support/LOstream.h with support/std_ostream.h.
4531 Changes resulting throughout the tree.
4533 2003-09-05 Angus Leeming <leeming@lyx.org>
4535 * sgml.h: ensure that the header file can be compiled stand-alone.
4536 * *.C: strip out redundant #includes. (320 in total.)
4538 2003-09-04 Angus Leeming <leeming@lyx.org>
4540 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4541 here (from getPackages).
4543 * debug.[Ch]: add a new EXTERNAL tag.
4545 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4547 * text2.C (cursorEnd): simplify
4549 (getColumnNearX): adjust
4551 * text.C (computeBidiTables): adjust
4554 * rowpainter.C (paintChars): adjust
4555 (paintSelection): adjust
4556 (paintChangeBar): adjust
4559 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4561 (numberOfSeparators): adjust
4563 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4569 * text3.C: Restricts the mouse click functionality
4570 of insets like bibtex, include, toc and floatlist to the visible
4571 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4572 up the dialogs. Cursor has to be in front of the inset (i.e.
4573 start of row) for this to function.
4575 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4577 * bufferview_funcs.C (currentState): output row information
4579 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4581 * bufferview_funcs.C (currentState): output paragraph position
4583 2003-09-04 Angus Leeming <leeming@lyx.org>
4585 * FloatList.h: move out #include "Floating.h".
4586 * LaTeX.h: move out #include "DepTable.h".
4587 * LyXAction.h: move out #include "funcrequest.h".
4588 * buffer.h: move out #include "author.h", "iterators.h".
4589 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4590 * lyx_main.h: move out #include "errorlist.h".
4591 * lyxfunc.h: move out #include "FuncStatus.h".
4592 * lyxtext: move out #include "lyxcursor.h".
4593 * paragraph_pimpl.h: move out #include "counters.h".
4595 2003-09-03 Angus Leeming <leeming@lyx.org>
4597 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4598 preamble_snippets list, enabling us to add snippets to the preamble
4599 only if the snippet was not there already.
4601 2003-09-04 Angus Leeming <leeming@lyx.org>
4603 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4605 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4607 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4610 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4612 * BranchList.C: point fix, earlier forgotten
4614 2003-09-02 Angus Leeming <leeming@lyx.org>
4616 * box.C (contains): renamed from 'contained' after a fantastic
4619 2003-09-02 John Levon <levon@movementarian.org>
4625 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4627 2003-09-02 John Levon <levon@movementarian.org>
4629 * text2.C: simplification of cursorEnd(), including partial
4632 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4634 * buffer.C (readFile): add a space
4636 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4638 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4640 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4642 * buffer.C (readFile): new function, take a filename and a
4643 ParagraphList::iterator
4645 (readFile): adjust, make it private. don't use setStream, make
4646 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4647 always contain the filename.
4649 * BufferView.C (insertLyXFile): simplify and make it work for
4652 2003-08-30 John Levon <levon@movementarian.org>
4654 * Makefile.am: fix dist (from Kayvan)
4656 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4658 * most files: change to use const Buffer refs
4660 2003-08-27 André Pönitz <poenitz@gmx.net>
4662 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4663 on top of ownerPar().
4665 2003-08-27 John Levon <levon@movementarian.org>
4667 * funcrequest.C: properly initialise POD members
4669 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4671 * lyxtext.h (top_y): move top_y from here
4676 * BufferView_pimpl.[Ch]: to here
4677 * frontends/screen.C:
4678 * insets/insettabular.C:
4679 * insets/insettext.C: adjust
4680 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4682 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4685 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4687 2003-08-26 André Pönitz <poenitz@gmx.net>
4689 * paragraph_func.[Ch] (outerPar): new function
4692 * paragraph_funcs.C:
4693 * paragraph_funcs.h:
4694 * paragraph_pimpl.C:
4695 * text2.C: remove Inset::par_owner
4697 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4702 * text2.C: eliminates the needFullRow/display() stuff
4703 altogether, putting the logic in metrics/draw in the insets.
4705 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4707 * text2.C (redoParagraphInternal, redoParagraphs):
4708 * text.C (redoParagraph): add a call to updateRowPositions at the
4709 end of each 'metrics-like' call. Remove all others.
4710 (getRow): remove the 'y-computing' version.
4711 (getRowNearY): do not compute nor return the real y. Solve the
4712 'y < 0' problem and simplify.
4714 2003-08-22 Angus Leeming <leeming@lyx.org>
4716 * *.[Ch]: clean-up of licence and author blurbs.
4717 Also move config.h out of a few .h files and into a few .C files.
4719 2003-08-22 André Pönitz <poenitz@gmx.net>
4721 * lyxrow.[Ch]: add x_ and *fill_ members
4726 * text2.C: adjust/remove prepareToPrint() calls
4728 2003-08-22 André Pönitz <poenitz@gmx.net>
4730 * lyxrow.[Ch]: add end_ member
4732 * lyxrow_funcs.C: use LyXRow::end_
4734 * lyxtext.h (singleWidth): add LyXFont parameter
4737 * text2.C: adjust LyXText::singleWidth() calls
4739 * text.C (redoParagraph): simplify row breaking logic
4742 2003-08-19 André Pönitz <poenitz@gmx.net>
4744 * funcrequest.C: initialize button_ member
4747 * rowpainter.[Ch]: interface consolidation
4749 2003-08-18 André Pönitz <poenitz@gmx.net>
4752 * BufferView_pimpl.C:
4754 * paragraph_funcs.C:
4756 * text3.C: remove LyXScreen::draw() and fitCursor calls
4758 * BranchList.h: remove spurious semicolons
4760 * MenuBackend.C: fix branchlist related crash
4762 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4770 * bufferparams.[Ch]:
4774 * text3.C: implements the 'branch inset'
4775 idea. This allows the output of various versions of a document
4776 from a single source version, selectively outputing or suppressing
4777 output of parts of the text.
4778 This implementation contains a 'branch list editor' in a separate
4779 tab of the document settings dialog. Branches are user definable
4780 and have a "display colour" to distinguish them on-screen.
4782 ColorHandler was somewhat cleaned up.
4783 (1) make possible a dynamically growing LColor list by allowing
4784 the graphic context cache to grow along (vector);
4785 (2) eliminate an IMHO unnecessary step in colour allocation.
4787 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4789 * BufferView_pimpl.C: compile fix
4791 2003-08-15 André Pönitz <poenitz@gmx.net>
4793 * rowpainter.C: remove extra metrics calls
4795 * lyxtext.h: merge the two constructors into a single one,
4796 pass reference to owner's par list
4798 * BufferView_pimpl.C:
4802 2003-08-15 André Pönitz <poenitz@gmx.net>
4804 * lyxrow_funcs.[Ch]:
4807 * paragraph_funcs.C:
4812 * text_funcs.C: split LyXText::rowlist_ into individual
4813 Paragraph::rows_ chunks
4816 * BufferView_pimpl.[Ch]:
4819 * text3.C: remove toggleSelection()
4821 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4823 * bufferlist.C: beautify two alerts (shorter text of buttons)
4824 * buffer.C: Remove redundant ' ' from message
4826 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4827 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4828 rename VALIGN_CENTER to VALIGN_MIDDLE
4830 2003-08-11 André Pönitz <poenitz@gmx.net>
4832 * lyxtext.h (getPar):
4833 * text.C: new function
4835 2003-08-11 André Pönitz <poenitz@gmx.net>
4838 * tracer.[Ch]: remove unneeded files
4840 * InsetList.[Ch]: remove resizeInsetsLyXText()
4845 * text3.C: merge insertParagraphs() and appendParagraph()
4846 remove breakAgain(), update()
4848 * BufferView_pimpl.[Ch]:
4849 * bufferview_funcs.[Ch]:
4853 * tabular.C: adjust after text & InsetList changes.
4855 2003-08-08 André Pönitz <poenitz@gmx.net>
4857 * text.C (insertChar, backspace): replace rowlist fiddling
4858 with rebreak of full par
4861 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4862 checkParagraph, updateInset): removed
4864 2003-08-07 André Pönitz <poenitz@gmx.net>
4867 * text3.C: merge some LFUN handlers, remove dead code
4869 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4871 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4873 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4875 * text2.C (DEPM): fix part of bug 1255 and 1256
4877 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4879 * BufferView_pimpl.C (workAreaDispatch): change to use
4880 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4881 that are no mouse related.
4883 2003-08-05 André Pönitz <poenitz@gmx.net>
4886 * BufferView_pimpl.[Ch]:
4887 * bufferview_funcs.C:
4889 * text3.C: rip out "deep update"
4891 * textcursor.[Ch] (last_sel_cursor): remove unused member
4893 2003-08-04 André Pönitz <poenitz@gmx.net>
4896 * BufferView_pimpl.[Ch]:
4897 * ParagraphParameters.C:
4898 * bufferview_funcs.C:
4904 * text3.C: replace "complicated" BufferView::update(...) calls with
4907 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4909 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4911 * Makefile.am (lyx_SOURCES): add paper.h
4913 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4915 * Makefile.am: move things around so that both lyx-qt and
4916 lyx-xforms can be built (according to --with-frontend). Then lyx
4917 is a symbolic link to lyx-[firstfrontend]
4919 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4921 * Always use std::endl with lyxerr
4923 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4925 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4927 2003-08-01 André Pönitz <poenitz@gmx.net>
4930 * BufferView_pimpl.[Ch]:
4932 * text3.C: merge BufferView::repaint() and BufferView::update()
4934 2003-08-01 José Matos <jamatos@lyx.org>
4936 * buffer.[Ch]: file_format is no longer a buffer data element.
4938 2003-08-01 André Pönitz <poenitz@gmx.net>
4943 * text2.C: make redoParagraph more independent of current cursor
4945 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4947 * text2.C: remove unneeded members
4949 2003-07-30 André Pönitz <poenitz@gmx.net>
4951 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4953 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4954 create a single function...
4956 * paragraph_funcs.C (moveItem): ... here.
4959 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4961 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4963 * LColor.[Ch]: Add comment and greyedout logical colors.
4965 2003-07-30 André Pönitz <poenitz@gmx.net>
4967 * tabular.C: don't use Assert too heavily. This crashes where it
4970 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4972 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4973 is disabled (bug 1232)
4975 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4977 * factory.C: limited 'arg' scope
4979 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4981 * factory.C: fixed Note submenu issues
4983 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4985 * factory.C: submenu for Note/Comment/Greyedout
4987 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4990 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4992 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4995 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4996 greyedout. Patch provided by Jürgen Spitzmüller.
4998 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5000 * kbmap.C (read): fix error message when reading bind files
5002 2003-07-29 Angus Leeming <leeming@lyx.org>
5004 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5005 certainly does not do what it purports to do. I am doing it, and
5006 us, a favour by killing it.
5008 2003-07-28 José Matos <jamatos@lyx.org>
5010 * buffer.C (readBody, do_writeFile):
5011 * paragraph.C(readParagraph): \end_document replaces \the_end.
5013 2003-07-29 André Pönitz <poenitz@gmx.net>
5016 * BufferView_pimpl.[Ch]:
5020 * textcursor.[Ch]: remove toggleToggle & Co
5022 2003-07-28 José Matos <jamatos@fep.up.pt>
5024 * buffer.C (readParagraph):
5025 * params_func (readParToken, readParagraph):
5026 * paragraph.C (write): \layout -> \begin_layout.
5028 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5030 * lyxlex_pimpl.C (setFile): clean up slightly.
5032 * bufferparams.h: add compressed var
5034 * buffer_funcs.C (readFile): adjust for LyXLex change
5035 (newFile): ditto + simplify
5037 * buffer.C (writeFile): handle writing of compressed files
5039 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5040 Check if the file is compressed and set a bufferparm if so.
5042 * Makefile.am (lyx_LDADD): remove explicit -lz
5044 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5046 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5047 makeDocBookFile): put the real LyX version in the first line of
5051 * version.C.in: remove lyx_docversion
5053 * tabular.C (write_attribute): add a template-based version to
5054 write enums properly
5056 2003-07-28 André Pönitz <poenitz@gmx.net>
5061 * text3.C: use doubles again for x-coordinates. They are needed.
5063 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5065 * messages.C (getLocaleDir): use lyx_localedir()
5067 * lyxlex_pimpl.C (setFile): compress stuff
5069 * buffer.C (writeFile): add some compression stuff
5070 (do_writeFile): new func, dont call expliti close... will this
5073 * Makefile.am (lyx_LDADD): add -lz
5075 2003-07-28 José Matos <jamatos@fep.up.pt>
5077 * buffer.C: increment file format.
5078 * paragraph_funcs (readParagraph, readParToken):
5079 * paragraph.C (readParagraph): add \end_layout.
5081 2003-07-27 Angus Leeming <leeming@lyx.org>
5083 * Makefile.am: remove special casing for configure-time setting of
5084 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5086 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5087 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5089 2003-07-26 André Pönitz <poenitz@gmx.net>
5091 * paragraph_func.[Ch]:
5092 * paragraph.C (realizeFont): inline it whereever it is used
5097 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5100 2003-07-26 André Pönitz <poenitz@gmx.net>
5104 * text2.C: get rid of LyXText::need_break_row
5106 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5108 * toc.[Ch]: put namespace toc inside namespace lyx
5110 * MenuBackend.C (expandToc2): adjust for lyx::toc
5113 * lyxfunc.C (dispatch): adjust for lyx::find
5115 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5116 lyx::find instead. Reorganize a bit.
5117 (LyXReplace): rename to replace
5118 (LyXFind): rename to find
5120 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5123 2003-07-26 André Pönitz <poenitz@gmx.net>
5125 * text.C (setHeightOfRow): restrict scope of temporary variable
5127 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5128 code (never has been used?)
5130 2003-07-27 Asger Alstrup <alstrup@local>
5132 * text.C (fill): Optimise algorithm to exploit that we can reuse
5133 the LyXFont for many characters.
5134 (setHeightOfRow): Same thing.
5135 (rowBreakPoint): Same thing.
5137 2003-07-26 Asger Alstrup <alstrup@local>
5139 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5141 * text.C (singleWidth): Spurious font copying in hot-spot
5142 singleWidth avoided. Reorder tests for arabic for efficiency.
5144 * text.C (fill): handle empty paragraphs better.
5146 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5149 * encoding.h: add includes
5151 * lyxrc.C: remove reading of bind files
5153 * lyx_main.C (init): setup bindings and menus only if we have a
5156 * kbmap.C (read): new method. Do the actual reading of bind
5159 * converter.C (dvipdfm_options):
5162 (output): adapt PAPER_* enums.
5164 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5166 * bufferparams.h: remove paper-related enums from there
5168 * paper.h: New file. A trivial header file to hold paper-related
5169 enums. It should later expand to contain many paper-related
5172 * lyxrc.C: declare extern displayTranslator
5174 2003-07-27 José Matos <jamatos@fep.up.pt>
5176 * tabular.[Ch] (linuxdoc): add support for tables and figures
5179 2003-07-27 José Matos <jamatos@fep.up.pt>
5181 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5182 consistency in both functions.
5183 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5185 2003-07-26 Asger Alstrup <alstrup@local>
5187 * rowpainter.C (paintRows): Change algorithm to work directly on
5188 the insets rather than asking every character in the document
5189 whether its an inset.
5191 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5193 * buffer.C (openFileWrite): factorize some code
5195 2003-07-26 Angus Leeming <leeming@lyx.org>
5198 * lyx_main.[Ch]: replace occurances of system_tempdir with
5201 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5203 * rename Inset to InsetOld
5205 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5207 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5208 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5209 which I think is a bit clearer. EDIT is gone, since it was
5210 premature optimisation, and broken for mathed anyway.
5211 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5212 with cursor positioning in insets as well (math insets still do not
5213 work, but that's a different story anyway.) It mysteriously
5214 crashes sometimes with undo in the first paragraph, but I'm fairly
5215 confident that this is a compiler bug.
5217 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5219 * paragraph.C (Paragraph): adjust for new clone return type
5221 (copyIntoMinibuffer): ditto
5223 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5225 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5226 by not having a special case, and always doing a full rebreak of
5227 the document after undo.
5229 2003-07-23 Angus Leeming <leeming@lyx.org>
5231 * factory.C (createInset): InsetExternal::setParams now takes a
5234 2003-07-23 Angus Leeming <leeming@lyx.org>
5236 * factory.C (createInset): changed interface to the external and
5237 graphics mailers' string2params functions.
5239 2003-07-23 Angus Leeming <leeming@lyx.org>
5241 * factory.C (createInset): pass a
5242 Buffer const * parameter to InsetExternalMailer's string2params.
5244 2003-07-22 John Levon <levon@movementarian.org>
5246 * Thesaurus.h: include the right aiksaurus header
5248 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5250 * MenuBackend.C (expand): check menu shortcuts unconditionally
5252 2003-07-21 Angus Leeming <leeming@lyx.org>
5254 * factory.C (createInset): pass a
5255 buffer_path parameter to InsetGraphicsMailer's string2params.
5257 2003-07-21 Angus Leeming <leeming@lyx.org>
5259 * BufferView_pimpl.C (buffer):
5262 * lyxfunc.C (dispatch):
5263 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5264 rather than the grfx shortcut.
5266 2003-07-21 André Pönitz <poenitz@gmx.net>
5268 * rowpainter.C: remove unused variables
5271 * tabular_funcs.h: move to tabular.C
5272 * Makefile.am: adjust
5274 * tabular.[Ch]: basic optical cleaning
5276 * author.h: pass references, not values
5278 2003-07-18 André Pönitz <poenitz@gmx.net>
5286 * text3.C: two-phase drawing for InsetText and InsetTabular
5287 some float -> int changes.
5289 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5291 * lyx_main.C: fix the fix
5293 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5295 * lyx_main.C: fix a crash in batch mode if no files specified
5298 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5300 * format.[Ch] (papersize): moved to BufferParams
5301 * converter.[Ch] (dvips_options): moved to BufferParams
5302 (dvipdfm_options): moved to anon namespace
5303 * bufferparams.[Ch]: added above functions.
5305 2003-07-17 André Pönitz <poenitz@gmx.net>
5309 * text2.C: don't call inset->update() anymore
5311 * metricsinfo.[Ch]: add convenience constructor
5313 2003-07-16 André Pönitz <poenitz@gmx.net>
5318 * text2.C: replace the LyXCursor::irow_ member with
5319 on-demand computation of the value
5321 2003-07-16 John Levon <levon@movementarian.org>
5323 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5325 2003-07-15 André Pönitz <poenitz@gmx.net>
5328 * text2.C: remove no more needed refresh_row
5330 2003-07-15 André Pönitz <poenitz@gmx.net>
5335 * text3.C: refresh_status tristate -> need_update bool
5337 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5339 * lyxtext.h (init): remove reinit argument (act as if always true)
5340 * text2.C: adjust to that
5342 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5344 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5345 * text3.C: use it to delete selections in some cases
5346 (bugs 441, 673, 702, 954).
5348 2003-07-14 André Pönitz <poenitz@gmx.net>
5350 * rowpainter.[Ch]: reduce interface
5352 2003-07-14 André Pönitz <poenitz@gmx.net>
5354 * BufferView_pimpl.C:
5355 * text2.C: adjust after removing unused BufferView * argument
5357 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5359 * text2.C (init): fix a crash fired on resize
5361 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5363 * buffer.[Ch]: added new closing signal
5364 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5365 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5366 BufferView::Pimpl via the closing the signal
5368 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5370 * buffer.[Ch]: take out all bv-related from buffer
5372 * BufferView_pimpl.[Ch]: connect to new signals
5373 * CutAndPaste.C: removed useless asserts
5374 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5377 * lyxfunc.C: moved view-related funciontality from vc here
5378 * paragraph.C: removed outdated comments
5381 2003-07-10 André Pönitz <poenitz@gmx.net>
5383 * BufferView_pimpl.C:
5387 * text2.C: remove InsetText::InnerCache, clean up consequences
5389 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5391 * ispell.C: fix two typos in error messages
5393 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5395 * Extend Note inset to other forms of annotation like Comment
5396 and Greyedout. Right button click gives dialog.
5398 Files modified or added (+):
5402 * ControlNote.[Ch] +
5404 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5405 frontends/controllers
5409 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5411 * aspell.C: add missing namespace lyx::support
5413 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5415 * BufferView.[Ch] (newFile): Add
5416 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5417 * LaTeX.[Ch] (message): added this signal and use it
5418 * buffer.[Ch] (busy, message): added these signals and use them
5419 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5423 * importer.C: use buffer signals instead of direct bv calling
5424 * lyx_cb.[Ch] (ShowMessage): removed
5427 * paragraph_funcs.C:
5428 * text2.C: use buffer signals
5430 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5432 * introduce namespace lyx::graphics
5434 2003-07-02 André Pönitz <poenitz@gmx.net>
5436 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5438 2003-07-01 André Pönitz <poenitz@gmx.net>
5445 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5446 text*.C to text_func.C
5448 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5450 * introduce namespace lyx::support
5452 2003-06-30 André Pönitz <poenitz@gmx.net>
5457 * text.C: re-enable --with-included-string
5459 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5461 * textcursor.C: add <config.h>
5463 * text.C (getWord): remove const from word_location arg
5465 * lyxvc.C (getLogFile): fix const type order
5467 * lyxtext.h: remove const from word_location arg, add arg name
5469 * lyxlayout.h: currect type on labeltype.
5471 * importer.C: correct \file
5473 * converter.C (intToFormat): use std:: on ret val, ws changes
5475 * bufferlist.h: correct \file
5477 * buffer.C (makeLinuxDocFile): fix const type order
5478 (makeDocBookFile): ditto
5479 (fillWithBibKeys): use std:: on stdlib args.
5481 * CutAndPaste.C: fix authors.
5482 (availableSelections): use std:: on return vector
5484 2003-06-27 André Pönitz <poenitz@gmx.net>
5486 * BufferView_pimpl.C:
5487 * bufferview_funcs.C:
5495 * text3.C: remove LyXCursor::row_ member
5498 * text.C: rename fullRebreak() to partialRebreak() and implement
5499 a fullRebreak() that really bereks fully
5501 * textcursor.h: new struct for cursor-related data
5503 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5505 * lyx_main.C (LyX): get full path of document loaded on the
5508 2003-06-26 André Pönitz <poenitz@gmx.net>
5510 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5511 remove unused/broken operator>,<,>=.
5513 * text.C: remove only use of broken operator<= in an Assert().
5515 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5517 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5518 moved errorlist_.clear to showErrorList
5520 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5522 * converter.C (scanLog, runLaTeX):
5523 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5524 move the bv->showErrorList call to the callers
5525 * lyxfunc.C: i.e. here...
5527 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5528 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5529 namespace, the second to...
5530 * buffer_funcs (BufferFormat, parseErrors): added
5531 * errorlist.C (ErrorList(TeXErrors const &)): removed
5533 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5535 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5537 2003-06-24 "Garst R. Reese" <reese@isn.net>
5541 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5543 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5545 * version.C.in: change docversion to 1.4
5547 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5549 * buffer.C: fix a bug just introduced
5551 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5553 * buffer.[Ch]: added the parseError signal and use it, removed
5555 * BufferView.[Ch] (addError): moved to ...
5556 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5557 to the Buffer::parseError signal to catch (guess what) parse errors
5558 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5560 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5562 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5563 ability to create a buffer and to return an existing one from
5564 the list. Moved these functions to...
5565 * buffer_funcs.[Ch]: added
5566 * BufferView.[Ch] (loadLyXFile): added
5567 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5568 job removed from bufferlist::loadLyXFile.
5569 * buffer.C (setReadOnly): make it work without view
5570 (i.e added an if (users))
5572 2003-06-19 Angus Leeming <leeming@lyx.org>
5575 * LyXAction.C (init):
5576 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5577 with LFUN_DIALOG_SHOW <name> <data>.
5579 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5581 * CutAndPaste.C (availableSelections): small compilation fix for
5582 ancient (gcc 2.9x) compilers
5584 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * text3.C (cursorNext): add tmp var
5588 * text2.C (updateCounters): for function calling out of for clause
5589 (replaceSelectionWithString): ditto
5590 (insertStringAsParagraphs): ditto
5591 (getColumnNearX): add tmp var
5592 (setCursorFromCoordinates): add tmp var
5593 (cursorDownParagraph): add tmp var
5594 (deleteEmptyParagraphMechanism): add tmp var
5596 * text.C (insertChar): add tmp var
5598 * rowpainter.C (paintDepthBar): add tmp var
5600 * CutAndPaste.C (availableSelections): potentially check all
5601 paragraphs in a cut to fill the shown strings.
5603 2003-06-18 André Pönitz <poenitz@gmx.net>
5605 * kbmap.[Ch]: use vector<> instead of list<>
5607 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5609 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5610 pasteSelection with index
5612 * text2.C (pasteSelection): modify, call pasteSelection with index
5614 * paragraph.C (asString): reimplement version with no interval to
5615 call the one with interval.
5617 * lyxtext.h: add index arg to pasteSelection
5619 * MenuBackend.C (MenuItem): handle PasteRecent
5620 (Menu::read::Menutags): add md_pasterecent
5622 (expandPasteRecent): new function
5625 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5627 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5629 (availableSelections): new function
5631 2003-06-17 Angus Leeming <leeming@lyx.org>
5633 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5635 2003-06-17 Angus Leeming <leeming@lyx.org>
5638 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5640 * lyxfunc.C (dispatch): invoke it.
5642 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5644 * iterators.C (operator++, ParPosition): reintroduce some
5645 const_cast for the benefit of older compilers.
5647 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5649 * text3.C (dispatch): do not modify clipboard when doing
5650 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5651 LFUN_DELETE_SKIP on a selection selection
5653 2003-06-16 André Pönitz <poenitz@gmx.net>
5659 * tabular.[Ch]: IU of clone() and getLabelList();
5661 2003-06-13 André Pönitz <poenitz@gmx.net>
5663 * tabular.h: compactification
5665 2003-06-12 André Pönitz <poenitz@gmx.net>
5669 * tabular_funcs.h: some renaming plus whitespace
5671 2003-06-12 André Pönitz <poenitz@gmx.net>
5674 * BufferView_pimpl.C:
5680 * toc.C: Return a Paragraph & for ParIterator::operator*()
5682 2003-06-11 John Levon <levon@movementarian.org>
5686 * ToolbarBackend.C: add "Toolbars" section and
5689 2003-06-10 Angus Leeming <leeming@lyx.org>
5692 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5694 * lyxfunc.C (dispatch): invoke it.
5696 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * main.C: protect <ios> with HAVE_IOS
5699 (main): protect sync_with_stdio with HAVE_IOS
5701 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5703 * text2.C (cutSelection): adjust
5704 (pasteSelection): adjust
5706 * messages.C: handle get of empty string
5708 * main.C (main): use sync_with_stdio(false)
5710 * lyxfunc.C (dispatch): adjust
5712 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5713 (WriteAs): remove unneeded BufferView arg.
5715 * bufferparams.h: use correct types on papersize, papersize2 and
5718 * bufferparams.C (readToken): adjust for type
5719 (writeLaTeX): add missing cases to switch.
5721 * bufferlist.C (quitWriteBuffer): adjust
5724 * buffer.C (asciiParagraph): remove some commented code.
5726 * CutAndPaste.C: remove current_view extern variable.
5727 (cutSelection): add BufferParams arg.
5728 (eraseSelection): add BufferParams arg.
5729 (pasteSelection): add Buffer const & arg
5731 2003-06-07 John Levon <levon@movementarian.org>
5734 * paragraph_funcs.C:
5735 * paragraph_pimpl.C:
5739 * paragraph.C: allow InsetERT to freely space lines,
5740 and some consolidation of code
5742 2003-06-06 José Matos <jamatos@fep.up.pt>
5744 * buffer.C (makeDocBookFile): fix bug #821
5746 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5748 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5750 2003-06-04 Angus Leeming <leeming@lyx.org>
5752 * buffer.C: bump format to 224.
5754 2003-06-05 André Pönitz <poenitz@gmx.net>
5756 * text2.C (redoParagraphs): remove two const_cast<>
5758 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5760 * ParagraphList.h: remove last remnants of NO_STD_LIST
5762 2003-06-03 Angus Leeming <leeming@lyx.org>
5764 * factory.C (createInset): small change to the way InsetExternal's params
5767 2003-06-04 André Pönitz <poenitz@gmx.net>
5769 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5771 * paragraph_pimpl.h:
5772 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5774 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5776 * undo_funcs.C: make some simple cases of undo work again
5778 2003-06-03 John Levon <levon@movementarian.org>
5780 * ispell.C: HPUX doesn't have sys/select.h
5783 2003-06-03 John Levon <levon@movementarian.org>
5785 * CutAndPaste.C: update tabular and include inset
5790 * paragraph.C: remove owningBuffer(), don't pass Buffer
5793 * factory.C: insetGraphicsParams changed
5795 2003-06-02 John Levon <levon@movementarian.org>
5801 * text3.C: remove insetparent
5803 2003-06-02 John Levon <levon@movementarian.org>
5806 * buffer.C: fix inset_iterator.end(), move out of line
5809 2003-06-01 John Levon <levon@movementarian.org>
5811 * text3.C: use a proper cut/paste when doing inset
5812 insert (from Jürgen Spitzmüller)
5814 2003-06-01 John Levon <levon@movementarian.org>
5816 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5818 2003-05-30 André Pönitz <poenitz@gmx.net>
5820 * rowpainter.C: unify second drawing phase
5822 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * trans_mgr.C: remove one case of current_view
5826 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5828 * paragraph_funcs.h: remove paragraph.h include
5830 * paragraph.h: delete NO_STD_LIST stuff
5832 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5834 * buffer.h: remove paragraph.h include
5836 * ParagraphList.C: delete file
5838 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5840 * toc.C (getTocList): adjust
5842 * paragraph_pimpl.C (validate): adjust
5844 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5846 * paragraph.C (Paragraph): adjust
5847 (getPositionOfInset): use const_iterator, adjust
5848 (bibitem): use const_iterator, adjust
5849 (setInsetOwner): adjust
5851 * iterators.C (operator++): adjust
5853 * InsetList.[Ch]: Replace selfmade iterator with standard
5854 vector::iterator also introduce const_iterator. Remove getPos,
5855 getInset and setInset from InsetTable. Adjust accordingly.
5857 * BufferView.C (lockInset): adjust
5858 (ChangeInsets): adjust
5860 * tabular.[Ch]: delete commented same_id functions
5862 2003-05-28 John Levon <levon@movementarian.org>
5864 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5866 2003-05-28 André Pönitz <poenitz@gmx.net>
5868 * metricsinfo.[Ch]: remove 'fullredraw' member
5870 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5872 * lyxtextclass.C (operator): remove caching.
5874 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * text2.C (cursorBottom): adjust
5879 (setCounter): use ParagraphList::find, adjust
5881 * text.C (workWidth): use ParagraphList::find, adjust
5883 * lyxcursor.C (LyXCursor): adjust
5885 * buffer.C (inset_iterator): adjust
5887 * ParagraphList.h: make iterator(value_type) private, make
5888 ParagraphList a friend of iterator.
5890 * ParagraphList.C (find): new function
5892 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5894 2003-05-27 André Pönitz <poenitz@gmx.net>
5896 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5898 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5900 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5902 2003-05-26 John Levon <levon@movementarian.org>
5904 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5906 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * remove same_id from function signatures, adjust.
5910 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5914 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5916 * paragraph.C (Paragraph): get rid of same_ids parameter
5918 * ParagraphList.C (insert): adjust
5921 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * paragraph_funcs.C (breakParagraph): adjust
5924 (breakParagraphConservative): adjust
5926 * buffer.C (readParagraph): adjust
5928 * ParagraphList.C (insert): take a reference instead of a pointer
5931 * paragraph.[Ch] (id): new function
5933 * bufferlist.C (newFile): adjust
5935 * ParagraphList.C (ParagraphList): adjust
5937 (push_back): take a reference instead of a pointer.
5939 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5941 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5944 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5945 set else use old code.
5947 * ParagraphList.C: remove all NO_NEXT code and only compile this
5948 code of NO_STD_LIST is set.
5950 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5952 * BufferView_pimpl.C:
5962 * graphics/GraphicsConverter.C:
5963 * graphics/PreviewLoader.C: header adjustment
5965 2003-05-23 Angus Leeming <leeming@lyx.org>
5967 * LaTeXFeatures.[Ch] (useBabel): new method.
5968 * bufferparams.C (writeLaTeX): use it.
5970 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5972 * ParagraphList.h (set): remove unused function.
5974 2003-05-23 André Pönitz <poenitz@gmx.net>
5977 * BufferView_pimpl.C:
5981 * undo_funcs.C: setUndo reworked
5983 * iterators.[Ch]: add access to topmost ParagraphList
5985 * lyxtext.[Ch] (workWidth): add a const
5987 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5989 * texrow.[Ch] (increasePos): remove function
5990 * exporter.C (export): removed unused var and outdated comment
5992 2003-05-23 Angus Leeming <leeming@lyx.org>
5994 * latexrunparams.h: rename fragile as moving_arg.
5995 * paragraph.C (simpleTeXOnePar): ditto.
5996 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5998 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6000 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6002 (textUndoOrRedo): comment out a currently unused var.
6004 * paragraph.h (NO_NEXT): enable NO_NEXT
6006 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6008 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6010 * exporter.C (Export): adjust for removeAutoInsets removal.
6012 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6014 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6016 * BufferView.[Ch] (removeAutoInsets): delete function
6018 2003-05-22 Angus Leeming <leeming@lyx.org>
6020 * latexrunparams.h: add a free_spacing variable.
6022 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6023 to pass moving_arg, as the data is stored in runparams.fragile.
6025 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6026 to Inset::latexOptional or to simpleTeXOnePar.
6028 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6029 free_spacing arg to Inset::latexOptional.
6031 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6034 2003-05-22 Angus Leeming <leeming@lyx.org>
6036 * latexrunparams.h: add fragile and use_babel variables.
6038 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6039 * buffer.C (makeLaTeXFile): store this returned value in
6040 runparams.use_babel, thus passing it to the inset::latex methods.
6042 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6043 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6045 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6046 longer has a fragile arg, as it is stored in runparams.fragile.
6048 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6049 moving_arg parameter as the data is stored in runparams.fragile.
6051 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6052 a fragile parameter as the data is stored in runparams.fragile.
6054 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6056 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6058 2003-05-22 Angus Leeming <leeming@lyx.org>
6060 * latexrunparams.h: add a 'bool nice' which defaults to false.
6062 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6063 now encapsulated within runparams.
6065 * bufferlist.C (updateIncludedTeXfiles):
6066 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6068 2003-05-22 Angus Leeming <leeming@lyx.org>
6070 * latexrunparams.h: new file containing struct LatexRunParams.
6071 * Makefile.am: add new file.
6073 * LaTeX.[Ch] (c-tor, run):
6074 * buffer.[Ch] (makeLaTeXFile):
6075 * bufferlist.[Ch] (updateIncludedTeXfiles):
6076 * converter.C (convert, scanLog):
6077 * converter.[Ch] (runLaTeX):
6078 * exporter.C (Export):
6079 * paragraph.[Ch] (simpleTeXOnePar):
6080 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6081 * paragraph_funcs.[Ch] (latexParagraphs):
6082 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6083 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6084 pass around a LatexRunParams parameter.
6086 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * paragraph.[Ch]: remove unused constructor
6090 * ParagraphList.C (erase): new function, taking two iterators
6092 2003-05-22 André Pönitz <poenitz@gmx.net>
6094 * undo_funcs.C: remove duplicated code
6096 * iterator.[Ch]: operator=
6098 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * tabular.C (SetMultiColumn): ws changes
6102 * rowpainter.C (paintFirst): get rid of a ->previous
6104 * lyx_cb.C (getPossibleLabel): parlist simplification
6106 * BufferView.C (ChangeInsets): simplify slightly.
6108 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6110 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6111 * lfuns.h: new LFUN_SPACE
6112 * lyxfunc.C: protected space has a new lfun
6113 * paragraph_funcs.C: read new space insets
6115 * factory.C: handle new space insets
6117 2003-05-22 André Pönitz <poenitz@gmx.net>
6120 * BufferView_pimpl.C:
6123 * undo_funcs.C: return a ParIterator from getParFromID.
6125 * iterators.[Ch]: add two const's
6127 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * toc.C (getTocList): adjust
6131 * iterators.[Ch]: rework for parlist
6133 * buffer.C (par_iterator_begin): adjust
6134 (par_iterator_end): adjust
6136 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6138 * BufferView.C (removeAutoInsets): adjust
6139 (ChangeInsets): adjust
6141 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6143 * text.C (top_y): fix bug 1110
6145 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6147 * errorlist.[Ch]: added
6150 * BufferView_pimpl.C:
6151 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6154 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * Makefile.am: ensure that lyx is relinked upon changes to the
6157 various "convenience" libs.
6159 2003-05-20 Angus Leeming <leeming@lyx.org>
6161 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6162 files are compiled in alphabetical order again.
6164 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6166 2003-05-19 Angus Leeming <leeming@lyx.org>
6168 * gettext.[Ch]: remove "char const * _(char const *)".
6170 2003-05-19 André Pönitz <poenitz@gmx.net>
6172 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6181 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6183 2003-05-19 André Pönitz <poenitz@gmx.net>
6187 * lyxtextclass.[Ch]:
6189 * paragraph_funcs.[Ch]:
6191 * text3.C: more insetenv work
6193 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6195 * ParagraphParameters.C (params2string): small bug fixed
6197 2003-05-16 André Pönitz <poenitz@gmx.net>
6200 * bufferview_funcs.C: patch from Kornel Benko to prevent
6201 crash when _(...) is called twice in a statement
6203 2003-05-16 André Pönitz <poenitz@gmx.net>
6210 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6212 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6214 * lyx_main.C (init): remove spurious static_cast
6216 2003-05-14 André Pönitz <poenitz@gmx.net>
6218 * BufferView.C: fix format string
6220 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6222 * BufferView.[Ch] (insertErrors): removed
6223 * BufferView.[Ch] (showErrorList): added
6224 * buffer.C (runChkTeX):
6225 * converter.C (scanLog): call showErrorList instead of inserterrors
6227 2003-05-13 André Pönitz <poenitz@gmx.net>
6229 * BufferView_pimpl.C:
6231 * bufferview_func.C:
6238 * tabular_funcs.h: tostr() from its own header
6240 * ParagraphParameters.C:
6245 * text3.C: STRCONV()
6247 2003-05-12 André Pönitz <poenitz@gmx.net>
6250 * BufferView_pimpl.C:
6254 * ParagraphParameters.C:
6258 * bufferview_funcs.C:
6271 * paragraph_funcs.C:
6275 * text3.C: boost::format -> bformat all over the place
6278 2003-05-09 André Pönitz <poenitz@gmx.net>
6280 * LColor.[Ch]: Pimpl the #include <map> away
6282 2003-05-09 John Levon <levon@movementarian.org>
6284 * bufferlist.C: never remove emergency saves
6286 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6288 * Makefile.am: better lib building
6290 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6294 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6295 (simpleTeXSpecialChars): adjust
6296 (simpleTeXSpecialChars): adjust
6297 * paragraph.C (simpleTeXOnePar): adjust
6298 * buffer.C (makeLaTeXFile): adjust
6300 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6302 * text2.C (changeDepth): parlist cleanup
6303 (getColumnNearX): ditto
6305 * rowpainter.C (getLabelFont): parlist cleanup
6307 * bufferlist.C (newFile): parlist cleanup
6309 * CutAndPaste.C (eraseSelection): parlist cleanup
6311 * BufferView_pimpl.C (trackChanges): parlist cleanup
6314 * BufferView.C (lockInset): parlist cleanup.
6315 (ChangeInsets): ditto
6317 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * CutAndPaste.h: Update file header.
6321 * CutAndPaste.C: Update file header.
6322 Store the parts cut out of the Document in a limited_stack.
6323 (copySelection): adjust
6324 (pasteSelection): new function, takes the index in the limited stack.
6325 (nrOfParagraphs): adjust
6326 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6327 simplify error inset insertion.
6328 (checkPastePossible): adjust
6330 2003-05-06 John Levon <levon@movementarian.org>
6332 * text2.C: don't cast wrap inset to float
6334 2003-05-05 André Pönitz <poenitz@gmx.net>
6337 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6339 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6340 few naked Paragraph *.
6342 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6344 * bufferparams.C: Output warning if a document with missing
6345 TeX document class is loaded
6346 * exporter.C: Disable TeX exports if the document class is missing
6349 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6350 isTeXClassAvailable()
6352 2003-05-03 John Levon <levon@movementarian.org>
6355 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6356 explicit cursor show/hide
6358 * BufferView_pimpl.h:
6359 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6360 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6362 * lyxfunc.C: hide cursor before dispatching.
6367 * text3.C: remove explicit cursor hides
6369 2003-05-02 André Pönitz <poenitz@gmx.net>
6371 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6374 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6377 * text2.C: tiny whitespace
6379 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * undo_funcs.C: almost only ws changes.
6383 * ParagraphList.C (splice): just return if pl is empty.
6385 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * ParagraphList.C (splice): new function.
6389 * CutAndPaste.C (pasteSelection): use it
6391 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6393 * CutAndPaste.C (pasteSelection): remove the last next and
6394 previous from this file.
6396 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * CutAndPaste.C (pasteSelection): more clean up, user proper
6399 ParagraphList functions for pasteing.
6401 * ParagraphList.C (insert): new function, three arg insert
6403 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6405 * ParagraphList.C (insert): new function, three arg insert
6407 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6410 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6414 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6416 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6418 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6420 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6421 (copySelection): clean up a bit.
6422 (pasteSelection): use make_pair
6424 * ParagraphList.C (ParagraphList): implement copy constructor
6425 (operator=): implement, base on copy constructor.
6428 * paragraph.C (erase): return a bool
6430 * paragraph_pimpl.C (erasePos): remove function, move contents...
6431 (erase): ... here. Return a bool.
6432 (erase): call erase instead of erasePos.
6434 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6436 * ParagraphList.h: define PitPosPair
6437 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6438 ParagraphList, fix a bug on pasting multiple pars
6439 * text2.C: change interface to C&P
6441 2003-04-30 André Pönitz <poenitz@gmx.net>
6443 * undo_func.C: revert part of yesterday's patch 2
6445 2003-04-30 John Levon <levon@movementarian.org>
6447 * LColor.C: s/tabular/table/
6449 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6451 * text3.C (dispatch): do not convert iterator -> pointer
6452 * undo_funcs.C (setCursorParUndo): ditto
6453 * text_funcs.C (transposeChars): ditto
6455 * text2.C (setLayout): ws changes only
6457 * text.C (breakParagraph): do not convert iterator -> pointer
6459 (acceptChange): ditto
6460 (rejectChange): ditto
6465 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6468 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6470 * text3.C (gotoInset): YABG (yet another bad getChar)
6472 2003-04-29 André Pönitz <poenitz@gmx.net>
6474 * paragraph.h: make operator= private unimplemented as long as
6477 * ParagraphList.C: whitespace
6480 * paragraph_pimpl.[Ch]:
6481 * paragraph_funcs.C:
6483 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6486 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6488 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6490 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6491 * paragraph.[Ch] (erase):
6492 * paragraph_pimpl.[Ch] (erase): change return type and value
6493 * text2.C (cutSelection): some rework
6495 2003-04-28 John Levon <levon@movementarian.org>
6497 * bufferlist.C: changes for unsaved changes dialog
6499 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * bufferlist.C (newFile): set language (messages_) for new
6504 * buffer.C (readFile): ws changes only.
6506 2003-04-28 André Pönitz <poenitz@gmx.net>
6511 * BufferView_pimpl.C:
6512 * BufferView.C: getParFromID related ParagraphList::iterator changes
6514 2003-04-28 André Pönitz <poenitz@gmx.net>
6516 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6519 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * messages.C: remove one more localedir class variable.
6523 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * messages.C (getLocaleDir): singleton generation function
6527 (Messages): add a default constructor.
6529 * main.C (main): do not setup localedir here, do not call
6532 * gettext.C (_): use it.
6533 (gettext_init): delete funciton
6535 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * gettext.C (getLyXMessages): new singleton generating function.
6539 * buffer.C (updateDocLang): adjust
6541 * Makefile.am (messages.o): add target
6542 (main.o): remove target
6544 2003-04-27 John Levon <levon@movementarian.org>
6549 * lyxvc.C: specify cancel button in Alert::prompt
6551 2003-04-26 John Levon <levon@movementarian.org>
6556 * LyXAction.C: add LFUN_INSET_SETTINGS
6558 * lyxfunc.C: don't enable tabular-feature when there's
6559 just any locking inset
6561 2003-04-26 John Levon <levon@movementarian.org>
6563 * bufferlist.C: re-add Cancel to buffer close question
6565 * lyxfunc.C: fix import UI a bit
6567 2003-04-25 John Levon <levon@movementarian.org>
6569 * gettext.C: remove the broken asserts for now
6571 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6573 * messages.C: make case where setlocale cannot comply work better.
6575 * buffer.C (updateDocLang): new function
6576 (changeLanguage): use it
6579 * text2.C (setCounter): use B_ a bit.
6581 * lyxlayout.C (Read): be sure to trim the label strings.
6583 * messages.C (Messages): fix typo in comment
6585 * buffer.C (readFile): set message_ after file is loaded.
6586 (makeDocBookFile): remove double return
6587 (changeLanguage): reset message_ upon language change.
6588 (B_): new func, use this to get translated buffer strings.
6590 * main.C: add myself and Jean Marc as authors.
6592 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * messages.[hC]: pimplify Messages, and three different pimpls to be
6595 used in different circumstances.
6597 * gettext.[Ch]: change for use with new message code.
6599 2003-04-24 André Pönitz <poenitz@gmx.net>
6601 * factory.C: support for eqref
6603 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6605 * messages.[Ch]: add missing char
6607 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6609 * messages.[Ch]: New files
6611 2003-04-18 John Levon <levon@movementarian.org>
6615 * BufferView_pimpl.C:
6619 * text2.C: remove layout-copy/paste (bug 778)
6621 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6623 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6625 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6627 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6628 if they succeed. Act accordingly.
6630 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * text2.C (setCharFont): adjust
6633 (setCounter): adjust
6634 (insertStringAsLines): adjust
6636 * text.C (leftMargin): adjust
6637 (setHeightOfRow): adjust
6639 * rowpainter.C (paintFirst): adjust
6642 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6644 (isFirstInSequence): ditto
6645 (getEndLabel): ditto
6648 * paragraph.C (getParLanguage): comment out some hard stuff.
6650 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6652 (simpleDocBookOnePar): ditto
6653 (makeDocBookFile): use ParagraphList::iterator
6655 * CutAndPaste.C (pasteSelection): adjust
6657 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * text2.C (getFont): adjust
6660 (getLayoutFont): adjust
6661 (getLabelFont): adjust
6663 * paragraph_funcs.C (TeXOnePar): adjust
6665 * buffer.C (simpleLinuxDocOnePar): adjust
6666 (simpleDocBookOnePar): adjust
6668 * CutAndPaste.C (pasteSelection): adjust
6670 * BufferView.C (getEncoding): adjust
6672 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6674 2003-04-16 John Levon <levon@movementarian.org>
6676 * lyxfind.C: use parlist stuff for search/changes
6678 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6682 * text2.C (deleteEmptyParagraphMechanism): adjust
6684 * text2.[Ch] (ownerParagraph): delete func (both of them
6686 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6690 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6692 * ParagraphList.C: prepare for NO_NEXT
6694 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6696 * text2.C (getFont): adjust
6697 (getLayoutFont): adjust
6698 (getLabelFont): adjust
6700 * paragraph.C (getFont): adjust
6701 (getLabelFont): adjust
6702 (getLayoutFont): adjust
6704 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6706 2003-04-15 John Levon <levon@movementarian.org>
6710 * lyx_main.C: handle Include in .ui files
6712 2003-04-15 John Levon <levon@movementarian.org>
6714 * MenuBackend.C: make the doc files length shorter
6717 * ToolbarBackend.C: handle toolbar placement flags,
6720 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6725 * paragraph_funcs.C (TeXOnePar): adjust
6727 * paragraph.C (getLabelFont): add outerfont arg, adjust
6728 (getLayoutFont): ditto
6729 (simpleTeXOnePar): adjust
6731 * paragraph_pimpl.C (realizeFont): delete func
6733 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6735 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6736 row argument, constify cur argument.
6738 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6740 * text2.C (getFont): adjust
6741 (getLayoutFont): adjust
6742 (getLabelFont): adjust
6744 * paragraph_funcs.C (TeXOnePar): adjust
6745 (outerFont): new func...
6746 (realizeFont): ...moved out from here, changed this to facilitate
6749 * paragraph.C (getFont): take outerfont as arg, adjust
6750 (simpleTeXOnePar): add outerfont arg, adjust
6752 * buffer.C (simpleLinuxDocOnePar): adjust
6753 (simpleDocBookOnePar): adjust
6755 * CutAndPaste.C (pasteSelection): adjust
6757 * BufferView.C (getEncoding): adjust
6759 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6761 * text2.C (setCharFont): adjust
6762 (setCounter): adjust
6764 * text.C (leftMargin): adjust
6765 (setHeightOfRow): adjust
6767 * rowpainter.C (paintFirst): adjust
6770 * paragraph_pimpl.C (realizeFont): adjust
6772 * paragraph.C (isFirstInSequence): move from here...
6773 * paragraph_funcs.C (isFirstInSequence): ...to here
6775 * paragraph.C (outerHook): move from here...
6776 * paragraph_funcs.C (outerHook): ...to here
6778 * paragraph.C (depthHook): move from here...
6779 * paragraph_funcs.C (depthHook): ...to here
6781 * paragraph.C (getEndLabel): move from here...
6782 * paragraph_funcs.C (getEndLabel): ...to here
6784 * text2.C (realizeFont): move from here...
6785 * paragraph_funcs.C (realizeFont): ...to here
6787 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6791 2003-04-14 Angus Leeming <leeming@lyx.org>
6793 * LColor.[Ch]: scrap LColor mathcursor.
6795 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6797 * lyxlex.[Ch] (text): delete function
6798 * trans.C (Load): adjust
6799 * paragraph_funcs.C (readParToken): adjust
6801 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6804 vector<char> instead of a char[].
6806 * lyxlex_pimpl.C (getString): adjust
6808 (lex): use getString
6812 * lyxlex.C (text): use pimpl_->getString()
6816 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6818 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6819 (makeFontEntriesLayoutSpecific): temp var for par.size()
6820 (setLayout): temp var for ownerParagraphs().end()
6821 (fullRebreak): temp var for rows().end()
6822 (selectionAsString): temp var for boost::next(startpit), realize
6823 that the while really is a regular for loop.
6824 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6825 setCursor in one place.
6826 (setParagraph): temp vr for ownerParagraphs().end()
6827 (updateCounters): make the while loop a for loop
6828 (cutSelection): temp var for ownerParagraphs().end()
6829 (updateInset): make the do {} while() a regular for loop
6830 (getCursorX): use temp vars
6831 (setCurrentFont): use temp vars
6832 (getColumnNearX): use temp vars
6834 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * text.C (transformChar): use temp var for getChar
6837 (computeBidiTables): use temp var for row->par()
6838 (fill): move temp vars for row->par() and pit->layout() earlier in
6840 (labelFill): use temp var for row->par()
6841 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6842 asc and desc, realize that pit never changes and that firstpit is
6843 just a duplicate and not needed. Exchange rit->par() with pit in a
6845 (breakAgain): use a temp var for boost::next(rit)
6846 (breakAgainOneRow): ditto
6847 (breakParagraph): use a temp var for rows().begin()
6848 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6849 (cursorRightOneWord): use temp var for cursor.par() and
6850 cursor.pos(), remove usage of tmpcursor.
6851 (cursorLeftOneWord): use temp var for cursor.par() and
6852 cursor.pos() only set cur at end of function.
6854 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6856 * text.C, text2.C: exchange all usage of Paragraph::next with
6857 boost::next(ParagraphList::iterator)
6859 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6861 * text2.C (cursorTop): simplify implementation
6862 (cursorBottom): ditto
6863 (setParagraph): use ParagraphList::iterator
6864 (setCurrentFont): adjust
6865 (getColumnNearX): adjust
6866 (cursorRight): adjust
6867 (cursorLeft): remove usage of Paragraph::previous
6868 (cursorUpParagraph): ditto
6869 (deleteEmptyParagraphMechanism): slight cleanup
6871 * text.C (isBoundary): take a Paragraph const & instead of a
6873 (addressBreakPoint): ditto
6874 (leftMargin): remove usage of Paragraph::previous.
6875 (setHeightOfRow): ditto
6876 (cursorLeftOneWord): ditto
6877 (selectNextWordToSpellcheck): ditto
6880 (breakParagraph): remove one usage of Paragraph::next
6881 (redoParagraph): ditto
6882 (acceptChange): ditto
6883 (insertChar): adjust
6884 (rowBreakPoint): adjust
6886 * bufferview_funcs.C (toggleAndShow): adjust
6888 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6890 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6891 methods to access it.
6893 * text.C: Added updateRowPositions to compute all row positions.
6894 Make top_y and getRowNearY() to use the cached y position
6896 2003-04-11 John Levon <levon@movementarian.org>
6898 * text.C (rowBreakPoint): reintroduce the labelEnd
6899 checks, code copied from the row fill stuff. Deep voodoo.
6901 * text.C (fill): add a comment and debugging for the
6904 2003-04-11 John Levon <levon@movementarian.org>
6906 * text.C: make sure fullrow insets get wrapped to the next line,
6907 even when they're in a manual label
6909 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * text2.C (insertParagraph): make it take ParagraphList::iterator
6913 (setLayout): make it return ParagraphList::iterator
6914 (redoParagraphs): ditto
6916 (checkParagraph): ditto
6918 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6920 * text2.C: adjust several funcs.
6921 (realizeFont): take a ParagraphList::iterator as arg.
6922 (getLayoutFont): ditto
6923 (getLabelFont): ditto
6924 (setCharFont): ditto
6926 * text.C: adjust several funcs.
6928 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6930 * text.C (selectNextWordToSpellcheck): don't accidentally
6933 2003-04-10 John Levon <levon@movementarian.org>
6935 * ToolbarBackend.C (getIcon): special handling for
6938 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6940 * text2.C (cursorRight): a getChar assert fixed
6942 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6944 * text2.C (getFont): change to take a ParagraphList::iterator
6945 instead of Paragraph*
6946 Adjust several functions.
6948 * text.C (transformChar): change to take a ParagraphList::iterator
6949 instead of Paragraph*
6950 (singleWidth): ditto
6951 Adjust several functions.
6953 * rowpainter.C: adjust several functions
6954 * rowpainter.h:store a ParagraphList::iterator and not a
6958 2003-04-09 John Levon <levon@movementarian.org>
6963 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6964 and the "help" bits as well
6966 2003-04-09 John Levon <levon@movementarian.org>
6969 * ToolbarBackend.C: allow multiple toolbars
6971 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6973 * undo_funcs.C (setCursorParUndo): adjust
6975 * text_funcs.C (transposeChars): adjust
6977 * text3.C (gotoNextInset): adjust
6980 * text2.C (setLayout): adjust
6981 (changeDepth): adjust
6983 (redoParagraphs): adjust
6984 (selectionAsString): adjust
6985 (setParagraph): adjust
6986 (insertInset): adjust
6987 (cutSelection): adjust
6988 (copySelection): adjust
6989 (pasteSelection): adjust
6990 (insertStringAsLines): adjust
6991 (updateInset): adjust
6992 (setCursor): change to take a ParagraphList::iterator parameter
6993 (setCursorIntern): change to take a ParagraphList::iterator parameter
6994 (setCurrentFont): adjust
6995 (cursorLeft): adjust
6996 (cursorRight): adjust
6997 (deleteEmptyParagraphMechanism): adjust
6999 * text.C (breakParagraph): adjust
7000 (insertChar): adjust
7001 (acceptChange): adjust
7002 (rejectChange): adjust
7003 (selectNextWordToSpellcheck): adjust
7004 (changeCase): adjust
7008 * lyxfind.C (SearchForward): adjust
7009 (SearchBackward): adjust
7010 (nextChange): adjust
7012 * lyxcursor.C (par): adjust
7014 * lyxcursor.h: store a ParagraphList::iterator instead of a
7017 * lyx_cb.C (getPossibleLabel): adjust
7019 * bufferview_funcs.C (toggleAndShow): adjust
7021 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7024 * BufferView.C (removeAutoInsets): adjust
7025 (lockedInsetStoreUndo): adjust
7027 2003-04-09 John Levon <levon@movementarian.org>
7029 * ToolbarBackend.C: try icon without argument
7030 if with argument fails
7032 2003-04-08 John Levon <levon@movementarian.org>
7035 * ToolbarBackend.C: add getIcon(), handle tooltip,
7036 and change from "Icon" to "Item".
7038 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7040 * BufferView.C (lockInset): another bad getchar crunched
7042 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7044 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7047 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7049 * lyxfind.C (searchForward, searchBackwards): bug 782
7051 2003-04-07 John Levon <levon@movementarian.org>
7053 * paragraph.C: remove dead comment
7055 * text.C: remove troublesome depth-fiddling code
7056 in leftMargin() and rightMargin() (bug 1017)
7058 * text.C: fix breaking of rows in nested lists
7061 * text2.C (updateCounters): fix up depth values
7064 2003-04-07 John Levon <levon@movementarian.org>
7066 * BufferView_pimpl.C: clear message when doc finishes resizing,
7067 and after a mouse event
7069 * lyxfunc.C: clear message after exiting inset
7071 2003-04-07 John Levon <levon@movementarian.org>
7073 * bufferview_funcs.C: show math status not outside
7074 status in the statusbar
7076 2003-04-07 John Levon <levon@movementarian.org>
7078 * lyxfunc.C: note status changed after a depth change
7080 2003-04-04 Angus Leeming <leeming@lyx.org>
7082 * LaTeX.h: move AuxInfo operator==, != out of line.
7083 Remove LaTeX virtual destructor; nothing derives from it.
7084 Move operator()() out of public area and rename it startscript().
7085 Change protected for private.
7087 2003-04-04 Angus Leeming <leeming@lyx.org>
7090 * text2.C: remove unneeded #includes.
7092 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7094 * text2.C (dEPM): fix the heigth of the next row
7096 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7098 * text.C: squashed an invalid getChar requester + some ws changes
7100 2003-04-03 John Levon <levon@movementarian.org>
7102 * bufferview_funcs.h:
7103 * bufferview_funcs.C:
7106 * text2.C: make getStatus work for the env depth lfuns
7108 2003-04-03 John Levon <levon@movementarian.org>
7110 * bufferview_funcs.h:
7111 * bufferview_funcs.C:
7114 * text2.C: parlistize decDepth(), by merging it with incDepth()
7116 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7118 * lyxrow.h: store a ParagraphList::iterator instead of a
7119 Paragraph* and adjust other class functions to suit.
7121 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7124 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7126 * text2.C (setCursor): do not anchor to cursor row for the time being
7128 2003-04-02 John Levon <levon@movementarian.org>
7135 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7137 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7139 * paragraph.h: make ParagraphList and ParagraphList::iterator
7140 friends of Paragraph.
7142 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7144 * ParagraphList.C: Use the private next_ and previous_ from
7147 2003-04-01 John Levon <levon@movementarian.org>
7151 * Makefile.am: rename, remove defaults gunk
7154 * MenuBackend.C: remove defaults gunk
7157 * Languages.C: remove defaults gunk
7160 * lyx_main.C: error out if files couldn't be found.
7162 2003-04-02 John Levon <levon@movementarian.org>
7164 * text2.C: make incDepth() use parlist
7166 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7168 * undo_funcs.C (firstUndoParagraph): adjust
7170 * text3.C (gotoInset): adjust
7171 (dispatch): adjust, and rewrite loop.
7173 * text2.C (init): adjust, and rewrite loop.
7174 (redoParagraphs): adjust
7175 (updateInset): adjust, and rewrite loop.
7176 (deleteEmptyParagraphMechanism): adjust
7178 * tabular.C (LyXTabular): adjust
7179 (SetMultiColumn): adjust
7182 * lyxtext.[Ch] (ownerParagraph): delete function
7183 (ownerParagraphs): new function returns a ParagraphList.
7185 * BufferView.C (removeAutoInsets): adjust
7186 (insertErrors): adjust
7187 (setCursorFromRow): adjust
7189 2003-04-01 Angus Leeming <leeming@lyx.org>
7191 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7194 2003-04-02 John Levon <levon@movementarian.org>
7200 * text_funcs.C: make transposeChars a free function
7202 * lyxrow_funcs.C: remove wrong comment
7204 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * rowpainter.C: adjust
7212 * lyxrow_funcs. [Ch]: new files
7214 * lyxrow.[Ch]: remove next and previous pointers
7215 (next,previous): remove accessor functions
7216 (isParEnd): move to lyxrow_funcs
7217 (lastPos): move to lyxrow_funcs
7218 (nextRowIsAllInset): move to lyxrow_funcs
7219 (lastPrintablePos): move to lyxrow_funcs
7220 (numberOfSeparators): move to lyxrow_funcs
7221 (numberOfHfills): move to lyxrow_funcs
7222 (numberOfLabelHfills): move to lyxrow_funcs
7223 (hfillExpansion): move to lyxrow_funcs
7227 * bufferview_funcs.C (toggleAndShow): adjust
7229 * RowList.h: Remove class RowList from file leave just a
7232 * RowList.C: delete file
7234 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7237 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7239 * text3.C (cursorPrevious): adjust
7240 (cursorNext): adjust
7243 * text2.C (redoHeightOfParagraph): adjust
7244 (redoDrawingOfParagraph): adjust
7247 * text.C (breakParagraph): adjust
7248 (insertChar): adjust
7251 * rowpainter.C (RowPainter): adjust
7252 (leftMargin): simplify and adjust
7253 (most rowpainter functions): adjust.
7255 * rowpainter.h: store the row as RowList::iterator not as Row*
7257 * lyxcursor.C (row): taka RowList::iterator as arg
7260 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7263 2003-04-01 Angus Leeming <leeming@lyx.org>
7265 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7266 stuff like bool Bool.
7268 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7270 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7273 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7278 * lyxtext.h (rows): drop one version and leve a const variant that
7279 returns a RowList::iterator.
7281 2003-03-31 Angus Leeming <leeming@lyx.org>
7283 * text.C (fill): ensure that the signature is the same as that in the
7286 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7288 * text2.C (redoParagraphs): adjust
7289 (updateCounters): adjust
7290 (checkParagraph): adjust
7291 (getColumnNearX): adjust and reformat a bit.
7293 * text.C (top_y): adjust
7295 (leftMargin): adjust
7296 (prepareToPrint): adjust
7298 (getRowNearY): adjust
7300 * lyxtext.h: make rowlist_ mutable.
7302 * RowList.h: add const_iterator
7303 * RowList.C: adjust for RowList::const_iterator.
7305 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7308 2003-03-31 John Levon <levon@movementarian.org>
7311 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7313 * lyx_main.C: set default fonts from using lyx_gui funcs
7315 * exporter.C: pdf_mode moved from lyxrc
7318 * lyxfunc.C: changes from above
7320 2003-03-31 John Levon <levon@movementarian.org>
7322 * lyx_main.C: fix to the last fix
7324 2003-03-31 John Levon <levon@movementarian.org>
7326 * bufferlist.C: "Load original" -> "Load Original"
7332 * format.C: more Alert cleanups
7334 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7336 * text2.C (removeParagraph): make it take a RowList::iterator as
7338 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7339 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7341 * text.C (anchor_row): make it take a RowList::iterator as arg,
7343 (computeBidiTables): make it take a const reference to Row instead
7344 of Row pointer, adjust.
7345 (leftMargin): make it take a RowList::iterator as arg, adjust.
7346 (rowBreakPoint): adjust
7347 (breakAgainOneRow): make it take a RowList::iterator as arg,
7349 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7351 * bufferview_funcs.C (toggleAndShow): adjust
7353 2003-03-30 John Levon <levon@movementarian.org>
7357 * boost-inst.C: moved to support
7359 * several files: changes as a result
7361 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7363 * text2.C (LyXText): adjust.
7365 (removeRow): make it take a RowList::iterator as arg, adjust.
7366 (fullRebreak): adjust
7367 (deleteEmptyParagraphMechanism): adjust
7368 (clearPaint): adjust
7371 * text.C (top_y): adjust
7372 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7373 (breakAgain): make it take a RowList::iterator as arg, adjust.
7374 (breakParagraph): adjust
7375 (insertChar): adjust
7378 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7379 need_break_row, and refresh_row.
7381 * text3.C (dispatch): adjust
7383 * text2.C (checkParagraph): adjust
7385 (setCursorFromCoordinates): adjust
7387 * text.C (top_y): adjust
7389 (getRow): make it return a RowList::iterator, adjust
7390 (getRowNearY): make it return a RowList::iterator, adjust
7392 * text2.C (init): adjust
7393 (insertRow): remove function
7394 (insertParagraph): adjust
7395 (redoParagraphs): adjust
7396 (fullRebreak): adjust
7397 (updateCounters): adjust
7399 * text.C (top_y): rewrite to use RowList iterators.
7401 (setHeightOfRow): rewrite to sue RowList iterators.
7402 (appendParagraph): adjust
7403 (breakAgain): adjust
7404 (breakAgainOneRow): adjust
7405 (breakParagraph): adjust
7407 (getRowNearY): adjust, and remove commented code.
7409 * lyxtext.h (firstRow): delete function
7410 (lastRow): delete function
7411 (rows): new function (const and non-const versions.)
7412 (insertRow): delete function
7414 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7416 2003-03-29 John Levon <levon@movementarian.org>
7418 * BufferView_pimpl.C: always update scrollbar top
7419 because pasting text when we're anchored could mean we
7420 miss an update altogether
7422 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * text2.C (init): use rowlist_.end() and not 0.
7425 (insertRow): change to take a RowList::iterator as arg, adjust
7427 (insertParagraph): change to take a RowList::iterator as arg,
7429 (redoParagraphs): remove some debug msgs.
7431 * text.C (appendParagraph): change to take a RowList::iterator
7432 arg, adjust for this.
7433 (breakAgain): add an assert
7434 (breakAgainOneRow): ditto
7436 2003-03-29 John Levon <levon@movementarian.org>
7438 * text2.C: do not clear selection after inc/decDepth
7441 2003-03-29 John Levon <levon@movementarian.org>
7444 * buffer.C: fix broken strerrors according to Lars
7446 2003-03-29 John Levon <levon@movementarian.org>
7448 * converters.C: more Alert cleanups
7450 2003-03-29 John Levon <levon@movementarian.org>
7452 * bufferview_funcs.C: remove pointless Alert
7454 * buffer.C: fix confusing error message when
7455 a template is chmoded 000
7457 2003-03-29 John Levon <levon@movementarian.org>
7461 * BufferView_pimpl.C: Alert fixes
7465 * tabular-old.C: remove unused table compat reading
7467 2003-03-29 John Levon <levon@movementarian.org>
7472 * lyx_cb.C: more Alert cleanups
7474 * lyxfunc.C: don't allow chktex if not latex document
7476 2003-03-29 John Levon <levon@movementarian.org>
7480 * buffer.C: warnings pushed down from support/,
7483 2003-03-29 John Levon <levon@movementarian.org>
7485 * lyxfunc.C: safety check for C-r (revert)
7487 2003-03-29 John Levon <levon@movementarian.org>
7490 * bufferlist.C: several UI fixes using Alert::prompt.
7491 Fix the pointless looping quit code. Fix stupid revert
7496 * lyx_cb.C: use Alert::prompt
7498 * lyx_main.C: remove a silly question
7500 * lyxfunc.C: remove a couple of silly questions,
7503 2003-03-28 John Levon <levon@movementarian.org>
7505 * text2.C: fix bug 974 (End on empty par)
7507 2003-03-28 John Levon <levon@movementarian.org>
7509 * BufferView_pimpl.C:
7511 * lfuns.h: remove do-nothing math greek lfuns
7513 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * lyxgluelength.h (isValidGlueLength): add default arg on
7516 parameter 2. Remove default arg from friend in class.
7518 * lyxlength.h (isValidLength): add default arg on parameter 2.
7519 Remove default arg from friend in class.
7521 * text2.C (LyXText): adjust, initialize refresh_row.
7525 (insertParagraph): adjst
7526 (redoParagraphs): adjust
7527 (fullRebreak): adjust
7528 (updateCounters): adjust
7529 (deleteEmptyParagraphMechanism): first attempt at fixing a
7532 * text.C (top_y): adjust
7533 (setHeightOfRow): adjust
7535 (getRowNearY): adjust
7537 * lyxtext.h: include RowList.h
7538 (~LyXText): not needed anymore, deleted.
7539 (firstRow): modify for RowList
7540 (lastRow): new function
7541 Delete firstrow and lastrow class variables, add a Rowlist
7542 rowlist_ class variable.
7544 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7547 * RowList.C (insert): fix case where it == begin().
7549 2003-03-26 Angus Leeming <leeming@lyx.org>
7551 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7552 the thesaurus dialog.
7554 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7556 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7558 * RowList.[Ch]: new files
7560 * ParagraphList.C (erase): handle the case where it == begin
7563 2003-03-25 John Levon <levon@movementarian.org>
7567 * aspell.C: add new aspell support
7570 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7573 2003-03-25 Angus Leeming <leeming@lyx.org>
7576 * LyXAction.C (init): new LFUN_INSET_INSERT.
7578 * BufferView_pimpl.C (dispatch): split out part of the
7579 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7581 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7584 2003-03-25 Angus Leeming <leeming@lyx.org>
7586 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7588 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7591 * text3.C: remove useless row->height(0)
7593 2003-03-25 John Levon <levon@movementarian.org>
7597 * text3.C: rename the refreshing stuff to better names
7599 2003-03-24 John Levon <levon@movementarian.org>
7601 * BufferView_pimpl.h:
7602 * BufferView_pimpl.C: update layout choice on a mouse
7605 2003-03-23 John Levon <levon@movementarian.org>
7607 * Makefile.am: fix commandtags.h reference
7609 2003-03-22 John Levon <levon@movementarian.org>
7611 * BufferView_pimpl.C:
7616 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7618 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7621 * text.C: take the rtl methods out of line
7623 2003-03-21 André Pönitz <poenitz@gmx.net>
7625 * metricsinfo.[Ch]: new files containing structures to be passed around
7626 during the two-phase-drawing...
7628 2003-03-21 André Pönitz <poenitz@gmx.net>
7630 * lyxtextclass.C: read 'environment' tag.
7632 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7634 * text2.C (removeRow): fix bug 964
7636 2003-03-20 John Levon <levon@movementarian.org>
7640 * text2.C: paint cleanups. Inset::update() dropped font
7643 2003-03-19 John Levon <levon@movementarian.org>
7645 * lyxfunc.C: only fitcursor/markDirty if available()
7647 2003-03-19 John Levon <levon@movementarian.org>
7649 * commandtags.h: rename to ...
7651 * lfuns.h: ... this, and renumber / cleanup
7653 2003-03-19 John Levon <levon@movementarian.org>
7655 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7656 fit the cursor after an lfun
7660 * BufferView_pimpl.h:
7661 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7663 * LyXAction.C: layout-character should have ReadOnly
7665 * ParagraphParameters.C:
7667 * bufferview_funcs.C:
7674 * undo_funcs.C: changes from above
7676 2003-03-18 John Levon <levon@movementarian.org>
7678 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7679 remove it from update()
7681 * lyxfunc.C: update layout choice after an lfun
7683 * text3.C: remove extra updateLayoutChoice()s
7685 2003-03-18 John Levon <levon@movementarian.org>
7687 * text.C: top_y change means full repaint, fix
7688 a drawing bug with cursor movement
7690 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7694 * text2.C: anchor row on setCursor
7696 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7698 * lyxtext.h: remove almost all mutable keywords
7701 * text3.C: remove const keywords accordingly
7703 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7705 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7707 (TeXEnvironment): ditto
7710 2003-03-17 John Levon <levon@movementarian.org>
7712 * text.C (rowBreakPoint): remove attempt to fix displayed
7713 math insets inside a manual label
7715 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7717 * lyxtext.h: remove BufferView* as first arg from almost all class
7719 * other files: adjust.
7721 2003-03-17 John Levon <levon@movementarian.org>
7725 * text2.C: more paint cleanups
7727 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7730 * rowpainter.C: remove "smart" background painting code
7732 2003-03-16 John Levon <levon@movementarian.org>
7737 * text3.C: add helper functions for setting refresh_row/y
7739 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7741 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7742 newline inset which *can* get inserted in the pass_thru layouts.
7743 This is primarily for literate documents.
7745 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7747 * buffer.C: increment LYX_FORMAT to 223
7749 2003-03-14 André Pönitz <poenitz@gmx.net>
7751 * textclass.h: prepare for environment handling, ws changes
7752 * lyxlayout.C: read latexheader and latexfooter tags
7754 2003-03-14 John Levon <levon@movementarian.org>
7756 * text2.C: rewrite ::status() a bit
7758 2003-03-13 John Levon <levon@movementarian.org>
7760 * lyxtext.h: add some docs
7762 2003-03-13 John Levon <levon@movementarian.org>
7767 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7769 2003-03-13 John Levon <levon@movementarian.org>
7771 * text3.C: fix appendix redrawing
7773 2003-03-13 John Levon <levon@movementarian.org>
7775 * text.C (setHeightOfRow):
7777 * rowpainter.C: make appendix mark have the text
7778 "Appendix" so the user knows what it is
7781 * LColor.C: s/appendixline/appendix/ from above
7783 2003-03-13 John Levon <levon@movementarian.org>
7785 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7787 * text.C: fix a getChar(pos) bug properly
7789 2003-03-13 Angus Leeming <leeming@lyx.org>
7792 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7793 Probably only temporary. Let's see how things pan out.
7795 * BufferView.C (unlockInset):
7796 * BufferView_pimpl.C (fitCursor):
7797 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7799 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7800 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7802 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7803 new functions that convert ParagraphParameters to and from a string.
7805 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7806 BufferView::Pimpl's dispatch.
7807 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7809 2003-03-13 André Pönitz <poenitz@gmx.net>
7813 * factory.C: make it aware of InsetEnv
7815 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * text2.C (setCursor): never ask for one past last
7818 (setCursor): add some debugging messages.
7820 * text.C (singleWidth): never ask for one past last
7821 (singleWidth): ditto
7823 (rightMargin): ditto
7824 (rowBreakPoint): ditto
7825 (setHeightOfRow): ditto
7826 (prepareToPrint): ditto
7828 * rowpainter.C (paintBackground): never ask for one past last
7829 (paintText): never ask for one past last
7831 * paragraph_pimpl.C (getChar): make the assert stricter, never
7832 allow the one past last pos to be taken
7834 * paragraph.C (getChar): ws changes only
7836 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7837 (numberOfSeparators): ditto
7838 (numberOfHfills): ditto
7840 2003-03-12 John Levon <levon@movementarian.org>
7846 * paragraph_funcs.C: fix per-buffer authorlists
7848 2003-03-12 John Levon <levon@movementarian.org>
7850 * text.C: fix newline in right address
7852 2003-03-12 Angus Leeming <leeming@lyx.org>
7854 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7855 duplicate those in LyXFunc::dispatch.
7859 * ToolbarDefaults.C:
7860 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7861 Add LFUN_FONTFREE_UPDATE.
7863 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7864 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7866 * bufferview_func.[Ch]: several new functions to facilliate
7867 transfer of data to and from the character dialog.
7869 2003-03-12 John Levon <levon@movementarian.org>
7874 * paragraph_funcs.C:
7875 * paragraph_pimpl.C:
7879 * text3.C: remove META_NEWLINE in favour of an inset
7882 * rowpainter.C: remove paintNewline (done by inset)
7884 2003-03-12 John Levon <levon@movementarian.org>
7886 * paragraph_pimpl.C: complain about bad getChar()s
7887 for a while at least
7889 2003-03-12 John Levon <levon@movementarian.org>
7892 * buffer.C: move paragraph read into a separate function,
7893 a little renaming to reflect that.
7896 * bufferparams.C: remove the author_ids map, not necessary now
7899 * factory.C: moved Buffer::readInset to here
7901 * paragraph_funcs.h:
7902 * paragraph_funcs.C: readParagraph free function moved from
7905 * tabular.C: name change
7907 2003-03-12 John Levon <levon@movementarian.org>
7910 * ParagraphParameters.C: move par params input to
7913 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7914 behave like a normal read from the stream wrt reading
7915 a line vs. a \\token
7917 2003-03-12 John Levon <levon@movementarian.org>
7920 * ParagraphParameters.h:
7921 * ParagraphParameters.C: move output code to a
7924 2003-03-12 John Levon <levon@movementarian.org>
7926 * BufferView.C (insertLyXFile):
7929 * tabular.C: use a parlist iterator for creating the
7932 2003-03-12 John Levon <levon@movementarian.org>
7934 * buffer.C: make current_change static local not
7937 2003-03-12 John Levon <levon@movementarian.org>
7939 * buffer.C: fix insertStringAsLines for change tracking
7941 2003-03-12 John Levon <levon@movementarian.org>
7948 * bufferparams.C: move author list into params. Rename some
7949 functions. Move the header reading into a separate token
7950 loop. Move the header token reading into BufferParams.
7952 2003-03-12 John Levon <levon@movementarian.org>
7954 * changes.C: put debug inside lyxerr.debugging() checks
7956 2003-03-11 André Pönitz <poenitz@gmx.net>
7958 * factory.C: make it aware of InsetHFill
7960 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7962 * buffer.C (latexParagraphs): move function from here...
7963 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7966 2003-03-10 Angus Leeming <leeming@lyx.org>
7968 * LyXAction.C (init): fix bug in poplating array with multiple entries
7969 with the same LFUN (spotted by JMarc).
7971 2003-03-10 John Levon <levon@movementarian.org>
7974 * text2.C: move getColumnNearX() near its
7977 2003-03-10 John Levon <levon@movementarian.org>
7979 * text.C: fix break before a minipage
7981 2003-03-10 John Levon <levon@movementarian.org>
7983 * text.C: fix the last commit
7985 2003-03-09 John Levon <levon@movementarian.org>
7989 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7990 bug 365 (don't break before insets unless needed). Don't
7991 return a value > last under any circumstances.
7993 2003-03-09 Angus Leeming <leeming@lyx.org>
7995 * BufferView_pimpl.C (trackChanges, dispatch): call
7996 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7998 2003-03-09 Angus Leeming <leeming@lyx.org>
8000 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8001 than Dialogs::showAboutlyx().
8003 2003-03-09 Angus Leeming <leeming@lyx.org>
8005 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8006 than Dialogs::showTabularCreate().
8008 2003-03-09 John Levon <levon@movementarian.org>
8012 * text2.C: 3rd arg to nextBreakPoint was always the same.
8015 2003-03-08 John Levon <levon@movementarian.org>
8022 * text2.C: Remove the "main" bit from the "main body"
8025 2003-03-08 John Levon <levon@movementarian.org>
8027 * text.C (leftMargin): The left margin of an empty
8028 manual label paragraph should not include the label width
8031 * text.C (prepareToPrint): don't attempt to measure hfills
8032 for empty manual label paragraphs - the answer should be 0
8034 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8036 * CutAndPaste.C: remove commented code and reindent.
8038 2003-03-08 John Levon <levon@movementarian.org>
8041 * lyxfunc.C: move reloadBuffer()
8044 * BufferView.C: to here
8046 * lyxvc.C: add comment
8049 * vc-backend.C: call bv->reload() to avoid
8050 getStatus() check on MENURELOAD
8052 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8054 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8055 to an old format .dep file.
8057 2003-03-07 Angus Leeming <leeming@lyx.org>
8059 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8060 when the LFUN_MOUSE_RELEASE should have been handled by
8061 inset->localDispatch.
8063 2003-03-07 Angus Leeming <leeming@lyx.org>
8065 * BufferView_pimpl.C (dispatch):
8066 * LyXAction.C (init):
8067 * ToolbarDefaults.C (init):
8069 * lyxfunc.C (getStatus):
8070 remove LFUN_INSET_GRAPHICS.
8072 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8074 2003-03-07 Angus Leeming <leeming@lyx.org>
8077 * LyXAction.C (init):
8078 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8080 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8083 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8085 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8086 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8088 2003-03-07 Angus Leeming <leeming@lyx.org>
8090 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8093 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * ParagraphList.C (front): new function
8098 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8100 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8101 and top_row_offset_. removed var first_y.
8103 * text2.C (LyXText, removeRow):
8105 * BufferView_pimpl.C:
8106 use these methods instead of using first_y
8108 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8110 * text2.C (pasteSelection): adjust for checkPastePossible
8112 * CutAndPaste.C: remove Paragraph * buf and replace with
8113 ParagraphList paragraphs.
8114 (DeleteBuffer): delete
8115 (cutSelection): change the tc type to textclass_type
8116 (copySelection): change the tc type to textclass_type
8117 (copySelection): adjust for ParagraphList
8118 (pasteSelection): change the tc type to textclass_type
8119 (pasteSelection): adjust for Paragraphlist
8120 (nrOfParagraphs): simplify for ParagraphList
8121 (checkPastePossible): simplify for ParagraphList
8122 (checkPastePossible): remove unused arg
8124 * ParagraphList.C (insert): handle the case where there are no
8127 * CutAndPaste.h: make CutAndPaste a namespace.
8129 * text3.C (dispatch): adjust
8131 * text.C (breakParagraph): add a ParagraphList as arg
8133 * paragraph_funcs.C (breakParagraph): change to take a
8134 BufferParams and a ParagraphList as args.
8135 (breakParagraphConservative): ditto
8136 (mergeParagraph): ditto
8137 (TeXDeeper): add a ParagraphList arg
8138 (TeXEnvironment): ditto
8141 * buffer.C (readLyXformat2): adjust
8142 (insertStringAsLines): adjust
8143 (latexParagraphs): adjust
8145 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8146 (cutSelection): adjust
8147 (pasteSelection): adjust
8149 * BufferView_pimpl.C (insertInset): adjust
8151 2003-03-05 Angus Leeming <leeming@lyx.org>
8154 * LyXAction.C (init):
8155 * BufferView_pimpl.C (dispatch):
8156 * lyxfunc.C (getStatus):
8157 remove LFUN_CHILD_INSERT.
8159 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8161 2003-03-05 Angus Leeming <leeming@lyx.org>
8164 * LyXAction.C (init):
8165 * src/factory.C (createInset):
8166 * lyxfunc.C (getStatus):
8167 * text3.C (dispatch):
8168 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8170 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8172 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8174 * ParagraphList.C (insert): handle insert right before end()
8175 (erase): fix cases where it can be first or last paragraph.
8177 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8179 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8180 Paragraph::next and Paragraph::previous
8183 * text.C (breakParagraph): adjust
8185 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8186 BufferParams& as arg.
8187 (breakParagraph): use ParagraphList::insert
8188 (breakParagraphConservative): take a Buffer* instead of a
8189 BufferParams& as arg.
8190 (breakParagraphConservative): use ParagraphList::insert.
8192 * buffer.C (insertStringAsLines): un-const it
8193 (insertStringAsLines): adjust
8195 * ParagraphList.C (insert): new function
8197 * CutAndPaste.C (pasteSelection): adjust
8199 * text.C (backspace): adjust
8201 * tabular.C (SetMultiColumn): adjust
8203 * CutAndPaste.C (cutSelection): adjust
8204 (pasteSelection): adjust
8206 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8207 Buffer const * as arg
8209 * ParagraphList.C (erase): new function
8210 * paragraph_funcs.C (mergeParagraph): use it
8211 (mergeParagraph): make it take a Buffer* instead of a
8212 BufferParams* as arg
8214 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8216 (breakParagraphConservative): ditto
8218 * paragraph.h: remove the breakParagraph friend
8220 * paragraph.C (eraseIntern): new function
8221 (setChange): new function
8223 * paragraph_funcs.C (mergeParagraph): make it take a
8224 ParagraphList::iterator instead of a Paragraph *, adjust
8227 * paragraph.h: move an #endif so that the change tracking stuff
8228 also works in the NO_NEXT case.
8230 2003-03-04 Angus Leeming <leeming@lyx.org>
8233 * LyXAction.C: new LFUN_INSET_MODIFY.
8235 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8236 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8238 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8240 * several files: ws changes only
8242 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8243 (TeXEnvironment): ditto
8246 * buffer.C (makeLaTeXFile): adjust
8247 (latexParagraphs): make it take ParagraphList::iterator as args
8249 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8251 * buffer.C (latexParagraphs): adjust
8253 * paragraph.C (TeXOnePar): move function...
8254 (optArgInset): move function...
8255 (TeXEnvironment): move function...
8256 * paragraph_pimpl.C (TeXDeeper): move function...
8257 * paragraph_funcs.C: ...here
8259 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8261 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8263 * buffer.C (readInset): remove compability code for old Figure and
8266 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8268 * buffer.C: ws changes
8271 * BufferView_pimpl.C: ditto
8274 * bufferlist.h: ditto
8278 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8280 * converter.[Ch]: split into itself +
8283 * Makefile.am: += graph.[Ch] + format.[Ch]
8290 * lyxrc.C: added #include "format.h"
8292 2003-02-27 Angus Leeming <leeming@lyx.org>
8294 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8297 * factory.C (createInset): add "label" to the factory.
8299 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8300 string and do no more.
8302 2003-02-27 Angus Leeming <leeming@lyx.org>
8305 * LyXAction.C (init):
8306 * factory.C (createInset):
8307 * BufferView_pimpl.C (dispatch):
8308 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8310 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8312 * lyxfunc.C (dispatch):
8313 * text3.C (dispatch): pass name to params2string.
8315 2003-02-26 Angus Leeming <leeming@lyx.org>
8317 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8319 Rearrange the ~includes. Strip out the unnecessary ones.
8321 * factory.C (createInset): reformat.
8322 create new insets for the various LFUN_XYZ_APPLY lfuns.
8324 2003-02-26 John Levon <levon@movementarian.org>
8327 * lyxrow.C: add isParStart,isParEnd helpers
8329 * paragraph.h: make isInserted/DeletedText take refs
8331 * paragraph_funcs.h:
8332 * paragraph_funcs.C: remove #if 0'd code
8337 * text.C: use lyxrow helpers above.
8338 Move draw and paint routines to RowPainter.
8339 Make several methods use refs not pointers.
8340 Make backgroundColor() const.
8341 Add markChangeInDraw(), isInInset().
8342 Merge changeRegionCase into changeCase.
8343 Make workWidth() shouldn't-happen code into an Assert.
8346 * rowpainter.C: new class for painting a row.
8349 * vspace.C: make inPixels take a ref
8351 2003-02-26 Angus Leeming <leeming@lyx.org>
8353 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8356 2003-02-25 John Levon <levon@movementarian.org>
8358 * ispell.C: give the forked command a more accurate name
8360 2003-02-22 John Levon <levon@movementarian.org>
8363 * toc.C: make TocItem store an id not a Paragraph *
8366 2003-02-21 Angus Leeming <leeming@lyx.org>
8368 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8369 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8370 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8371 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8372 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8373 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8375 * BufferView_pimpl.C (dispatch):
8376 * LyXAction.C (init):
8377 * factory.C (createInset):
8378 * lyxfunc.C (getStatus, dispatch):
8379 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8381 2003-02-21 Angus Leeming <leeming@lyx.org>
8383 * BufferView_pimpl.C (MenuInsertLyXFile):
8384 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8385 * lyxfunc.C (menuNew, open, doImport):
8386 no longer pass a LyXView & to fileDlg.
8388 2003-02-21 Angus Leeming <leeming@lyx.org>
8390 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8391 * LyXAction.C: change, BIBKEY to BIBITEM.
8392 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8393 Change InsetBibKey to InsetBibitem.
8394 Change BIBKEY_CODE to BIBITEM_CODE.
8395 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8396 * factory.C: replace insetbib.h with insetbibitem.h.
8397 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8398 * paragraph.C: replace insetbib.h with insetbibitem.h.
8399 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8400 Change bibkey() to bibitem().
8401 * text.C: remove insetbib.h.
8402 * text2.C: replace insetbib.h with insetbibitem.h.
8403 change bibkey() to bibitem().
8404 * text3.C: remove insetbib.h.
8405 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8407 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8409 * lyxrc.C (output): enclose user email in quotes (in case there are
8412 2003-02-18 John Levon <levon@movementarian.org>
8414 * buffer.h: add std::
8416 2003-02-17 John Levon <levon@movementarian.org>
8422 * pspell.C: reworking. Especially in ispell, a large
8423 number of clean ups and bug fixes.
8425 * lyxfunc.C: fix revert to behave sensibly
8427 2003-02-17 André Pönitz <poenitz@gmx.net>
8430 * commandtags.h: new LFUN_INSERT_BIBKEY
8440 * paragraph_func.C: remove special bibkey handling
8442 2003-02-17 John Levon <levon@movementarian.org>
8444 * text.C (Delete): fix case where delete at the end of
8445 the very first paragraph would not merge the pars
8447 2003-02-17 John Levon <levon@movementarian.org>
8449 * lyxrow.C: fix lastPrintablePos()
8451 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8453 * bufferparams.C (writeLaTeX): add a std:here
8455 * buffer.C: and remove a using directive there
8457 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8459 * buffer.C (makeLaTeXFile): move the code that generates the
8462 * bufferparams.C (writeLaTeX): ... in this new method
8464 * LaTeXFeatures.C (getEncodingSet): make const
8465 (getLanguages): make const
8467 * MenuBackend.C (binding): returns the binding associated to this
8469 (add): sets the status of each item by calling getStatus. Adds
8471 (read): add support for OptSubMenu
8472 (expand): remove extra separator at the end of expanded menu
8474 2003-02-15 John Levon <levon@movementarian.org>
8477 * BufferView_pimpl.C:
8479 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8480 inset code that had no actual effect. Remove unneeded status
8483 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8485 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8488 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8490 * text.C (drawLengthMarker): also draw an arrow marker for
8491 symbolic lengths (medskip...)
8493 2003-02-14 John Levon <levon@movementarian.org>
8496 * tabular.C: better method names
8498 2003-02-14 John Levon <levon@movementarian.org>
8500 * BufferView_pimpl.C:
8505 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8506 it's a more accurate name. Remove some pointless uses.
8508 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8510 * text2.C (LyXText): change order of initilizers to shut off
8513 2003-02-14 John Levon <levon@movementarian.org>
8515 * buffer.C: use ParIterator for getParFromID()
8519 * paragraph_pimpl.h:
8520 * paragraph_pimpl.C: remove unused getParFromID()
8522 2003-02-14 John Levon <levon@movementarian.org>
8524 * buffer.C: remove some very old #if 0'd parse code
8526 2003-02-13 John Levon <levon@movementarian.org>
8530 * text2.C: move hfillExpansion(), numberOfSeparators(),
8531 rowLast(), rowLastPrintable(), numberofHfills(),
8532 numberOfLabelHfills() ...
8535 * lyxrow.C: ... to member functions here.
8540 * text.C: remove LyXText::beginningOfMainBody(), and call
8541 p->beginningOfMainBody() directly. Move the check for
8542 LABEL_MANUAL into the latter.
8549 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8555 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8556 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8558 2003-02-13 John Levon <levon@movementarian.org>
8560 * CutAndPaste.C: remove debug
8562 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8564 * paragraph.C (asString): remove two unused variables
8566 * lyxtextclass.C (readTitleType):
8568 (LyXTextClass): handle new members titletype_ and titlename_
8570 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8572 2003-02-09 John Levon <levon@movementarian.org>
8575 * buffer.C: replace hand-coded list with a map for the dep clean
8577 2003-02-08 John Levon <levon@movementarian.org>
8579 * LaTeX.C: consolidate code into showRunMessage() helper
8581 2003-02-08 John Levon <levon@movementarian.org>
8586 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8587 and pass the size in explicitly
8589 * BufferView_pimpl.h:
8590 * BufferView_pimpl.C:
8592 * BufferView.C: add getCurrentChange()
8594 * BufferView_pimpl.h:
8595 * BufferView_pimpl.C: handle change lfuns
8597 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8598 for changes. Mark pasted paragraphs as new.
8600 * support/lyxtime.h:
8601 * support/lyxtime.C:
8602 * DepTable.C: abstract time_t as lyx::time_type
8605 * LColor.C: add colours for new text, deleted text, changebars
8607 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8608 package use "usenames" option.
8612 * LyXAction.C: add change lfuns
8616 * author.C: author handling
8619 * buffer.C: add a per-buffer author list, with first entry as
8620 current author. Handle new .lyx tokens for change tracking. Output
8621 author list to .lyx file. Output dvipost stuff to .tex preamble.
8622 Bump lyx format to 222.
8625 * bufferlist.C: add setCurrentAuthor() to reset current author details
8629 * bufferparams.C: add param for tracking
8631 * bufferview_funcs.C: output change info in minibuffer
8635 * changes.C: add change-tracking structure
8638 * debug.C: add CHANGES debug flag
8641 * lyxfind.C: add code for finding the next change piece
8644 * lyxrc.C: add user_name and user_email
8647 * lyxrow.C: add a metric for the top of the text line
8650 * text.C: implement accept/rejectChange()
8653 * text.C: paint changebars. Paint new/deleted text in the chosen
8654 colours. Strike through deleted text.
8658 * paragraph_pimpl.h:
8659 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8660 in the current change to the insert functions. Rework erase to
8661 mark text as deleted, adding an eraseIntern() and a range-based
8662 erase(). Implement per-paragraph change lookup and
8665 * paragraph_funcs.C: Fixup paste for change tracking.
8667 * tabular.C: mark added row/columns as new.
8669 * text.C: fix rowLast() to never return -1. Don't allow
8670 spellchecking of deleted text. Track transpose changes. Don't
8671 allow paragraph break or merge where appropriate.
8673 * text2.C: leave cursor at end of selection after a cut.
8675 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * text.C (getLengthMarkerHeight):
8678 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8679 visible on screen too.
8681 2003-02-07 John Levon <levon@movementarian.org>
8683 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8685 2003-02-05 Angus Leeming <leeming@lyx.org>
8687 * lyxserver.C (read_ready): revert my patch of 11 September last year
8688 as it sends PC cpu through the roof. Presumably this means that
8689 the lyxserver will no longer run on an Alpha...
8691 2003-01-30 Angus Leeming <leeming@lyx.org>
8693 * factory.C (createInset): create an InsetCommandParam of type "index"
8694 and use it to 'do the right thing'.
8696 * text2.C (getStringToIndex): ensure that cursor position is always
8697 reset to the reset_cursor position.
8699 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8704 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8708 * lyxfunc.C: Output messages with identical spelling, punctuation,
8711 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8713 * MenuBackend.C (expandFormats): List only viewable export formats
8716 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8719 * lyxfunc.C (getStatus): Make sure that formats other than
8720 "fax" can also be disabled
8722 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * text3.C (dispatch): put the lfuns that insert insets in 3
8725 groups, and call doInsertInset with appropriate arguments.
8726 (doInsertInset): new function, that creates an inset and inserts
8727 it according to some boolean parameters.
8729 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8731 * buffer.C (readFile): remember to pass on 'par' when calling
8732 readFile recursively.
8734 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * MenuBackend.C (expandFormats): add "..." to import formats.
8738 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8740 * paragraph.C (asString): Remove XForms RTL hacks.
8742 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8743 * buffer.C: fix typo
8745 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8747 * Makefile.am (LIBS): delete var
8748 (lyx_LDADD): add @LIBS@ here instead.
8750 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8752 * Clarify the meaning of "wheel mouse jump"
8754 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8756 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8759 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8761 * importer.C (Loaders): do not preallocate 3 elements in the
8762 vector, since one ends up with 6 elements otherwise
8764 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8766 * DepTable.C (write): write the file name as last element of the
8767 .dep file (because it may contain spaces)
8768 (read): read info in the right order
8770 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * paragraph_pimpl.C (simpleTeXBlanks):
8773 (simpleTeXSpecialChars):
8774 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8776 * tabular.C (latex): add some missing case statements. Reindent.
8778 * MenuBackend.C (expandToc): remove unused variable.
8780 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8789 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8792 2003-01-05 John Levon <levon@movementarian.org>
8795 * BufferView.C: add getEncoding()
8798 * kbsequence.C: do not store last keypress
8801 * lyxfunc.C: store last keypress here instead. Pass encoding
8804 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8806 * lyx_main.C (init): remove annoying error message when following
8807 symbolic links (bug #780)
8809 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8811 * text.C (insertChar):
8812 * lyxrc.C (getDescription): remove extra spaces
8814 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8816 * lyxrc.C (getDescription): remove extra spaces
8818 2002-12-20 John Levon <levon@movementarian.org>
8820 * text3.C: hack fix for page up/down across tall rows
8822 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8824 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8827 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8830 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8831 thesaurus is not compiled in
8833 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8835 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8837 2002-12-16 Angus Leeming <leeming@lyx.org>
8840 * lyx_main.C (init): remove override_x_deadkeys stuff.
8842 2002-12-12 John Levon <levon@movementarian.org>
8844 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8845 insert. Only remove shift modifier under strict
8848 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8850 * MenuBackend.C (expandToc): fix crash.
8852 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * MenuBackend.C (expandToc): gettext on float names.
8856 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8858 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8859 implement bool empty() [bug 490]
8861 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8863 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8865 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8867 * several files: ws changes
8869 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8871 * text2.C (setCounter): clean up a bit, use boost.format.
8872 (updateCounters): initialize par upon declaration.
8874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8875 if the layout exists. We do not just store the layout any more.
8876 (SwitchLayoutsBetweenClasses): use boost.format
8878 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8880 * converter.C (convert): if from and to files are the same, use a
8881 temporary files as intermediary
8883 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8886 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8888 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8890 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8892 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8894 * tabular.C (asciiPrintCell): use string(size, char) instead of
8897 * sgml.C (openTag): fix order of arguments to string constructor
8900 * lyxfunc.C (dispatch): use boost.format
8902 * lots of files: change "c" -> 'c'
8904 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8906 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8908 2002-11-25 Angus Leeming <leeming@lyx.org>
8910 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8912 * lyx_main.C (init): compile fix.
8914 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8916 * lyx_cb.C (start): boost.formatify
8917 do not include <iostream>
8919 * lengthcommon.C: ws only
8921 * boost-inst.C,BoostFormat.h: add more explict instantations
8923 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * lots of files: handle USE_BOOST_FORMAT
8927 2002-11-21 John Levon <levon@movementarian.org>
8929 * pspell.C: fix compile
8931 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8933 * lyxfunc.C (dispatch): use boost::format
8937 * lyxfont.C (stateText): use boost::format
8939 * lyx_main.C (LyX): use boost::format
8941 (queryUserLyXDir): ditto
8944 (typedef boost::function): use the recommened syntax.
8946 * importer.C (Import): use boost::format
8948 * debug.C (showLevel): use boost::format
8950 * converter.C (view): use boost::format
8955 * bufferview_funcs.C (currentState): use boost::format
8957 * bufferlist.C (emergencyWrite): use boost::format
8959 * buffer.C (readLyXformat2): use boost::format
8960 (parseSingleLyXformat2Token): ditto
8962 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8964 * LaTeX.C (run): use boost::format
8966 * Chktex.C (scanLogFile): use boost::format
8968 * BufferView_pimpl.C (savePosition): use boost::format
8969 (restorePosition): ditto
8970 (MenuInsertLyXFile): ditto
8972 * BoostFormat.h: help file for explicit instation.
8974 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8976 * tabular.C (latex): Support for block alignment in fixed width
8979 2002-11-17 John Levon <levon@movementarian.org>
8981 * BufferView_pimpl.C:
8983 * lyxfunc.C: split filedialog into open/save
8985 2002-11-08 Juergen Vigna <jug@sad.it>
8987 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8988 by my last patch (hopefully).
8990 2002-11-08 John Levon <levon@movementarian.org>
8999 * toc.C: ParConstIterator, and use it (from Lars)
9001 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9003 * lyxtextclass.[Ch]: revise and add doxygen comments
9005 2002-11-07 John Levon <levon@movementarian.org>
9007 * text.C: fix progress value for spellchecker
9009 * toc.C: fix navigate menu for insetwrap inside minipage
9011 * paragraph_funcs.C: added FIXME for suspect code
9013 2002-11-07 John Levon <levon@movementarian.org>
9015 * BufferView_pimpl.C: fix redrawing of insets
9018 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9020 * text2.C (updateCounters): fix bug 668
9022 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9024 * text3.C (dispatch): Do not make the buffer dirty when moving the
9027 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9029 * vc-backend.C: STRCONV
9032 * text2.C (setCounter): STRCONV
9034 * paragraph.C (asString): STRCONV
9036 * lyxlength.C (asString): STRCONV
9037 (asLatexString): ditto
9039 * lyxgluelength.C (asString): STRCONV
9040 (asLatexString): ditto
9042 * lyxfunc.C (dispatch): STRCONV
9045 * lyxfont.C (stateText): STRCONV
9047 * importer.C (Import): STRCONV
9049 * counters.C (labelItem): STRCONV
9050 (numberLabel): ditto
9051 (numberLabel): remove unused ostringstream o
9056 * bufferview_funcs.C (currentState): STRCONV
9058 * buffer.C (readFile): STRCONV
9059 (asciiParagraph): ditto
9060 (makeLaTeXFile): ditto
9062 * Spacing.C (writeEnvirBegin): STRCONV
9064 * LaTeXFeatures.C (getLanguages): STRCONV
9065 (getPackages): ditto
9067 (getBabelOptions): ditto
9068 (getTClassPreamble): ditto
9069 (getLyXSGMLEntities): ditto
9070 (getIncludedFiles): ditto
9074 (scanAuxFile): ditto
9077 * LString.h: add the STRCONV macros
9079 * BufferView_pimpl.C (savePosition): STRCONV
9080 (restorePosition): ditto
9081 (MenuInsertLyXFile): ditto
9083 * vc-backend.C (scanMaster): change from submatch[...] to
9086 * funcrequest.C: include config.h
9088 * factory.C: include config.h
9090 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9092 * box.C: include config.h
9094 * LaTeX.C (scanAuxFile): change from submatch[...] to
9098 2002-10-25 Angus Leeming <leeming@lyx.org>
9100 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9102 * ispell.[Ch] (setError): new method.
9103 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9104 Use setError() insetead of goto END.
9106 * lyx_cb.C (AutoSave): move out child process into new class
9109 2002-10-30 John Levon <levon@movementarian.org>
9111 * text3.C: make start appendix undoable
9113 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9115 * lyxlength.C (inPixels): Fix returned value.
9117 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9120 2002-10-24 Angus Leeming <leeming@lyx.org>
9122 * lyxgluelength.h: no need to forward declare BufferParams
9123 or BufferView, so don't.
9125 2002-10-21 John Levon <levon@movementarian.org>
9127 * BufferView.C: menuUndo ->undo, redo
9129 * BufferView.h: document, remove dead, make some methods private
9131 * paragraph_funcs.h:
9132 * paragraph_funcs.C:
9133 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9138 * sgml.C: move sgml open/close tag into sgml.C
9140 * bufferview_funcs.h: unused prototype
9143 * lyxfunc.C: remove unused
9146 * text.C: remove unused
9148 2002-10-21 John Levon <levon@movementarian.org>
9152 * BufferView_pimpl.h:
9153 * BufferView_pimpl.C: fix mouse wheel handling based on
9154 patch from Darren Freeman
9156 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9158 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9160 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9162 * lyxlength.C (inPixels): Fix hanfling of negative length.
9163 Fix LyXLength::MU case.
9165 2002-10-16 John Levon <levon@movementarian.org>
9167 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9169 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9171 * converter.C (view): add support for $$i (file name) and $$p
9172 (file path) for the viewer command. If $$i is not specified, then
9173 it is appended to the command (for compatibility with old syntax)
9175 2002-10-14 Juergen Vigna <jug@sad.it>
9177 * undo_funcs.C (textHandleUndo): alter the order in which the
9178 new undopar is added to the LyXText, as we have to set first
9179 the right prev/next and then add it as otherwise the rebuild of
9180 LyXText is not correct. Also reset the cursor to the right paragraph,
9181 with this IMO we could remove the hack in "redoParagraphs()".
9183 2002-10-09 Angus Leeming <leeming@lyx.org>
9185 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9186 to turn off an optimisation if a new inset is to be inserted.
9188 2002-10-11 André Pönitz <poenitz@gmx.net>
9190 * lyxtext.h: make some functions public to allow access
9191 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9193 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * text3.C (dispatch): when changing layout, avoid an infinite loop
9198 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * lyxrc.C (read): treat a viewer or converter command of "none" as
9203 * MenuBackend.C (expandFormats): for an update, also allow the
9204 formats that are not viewable
9206 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9207 script if it is newer than the lyxrc.defaults in user directory
9209 2002-10-07 André Pönitz <poenitz@gmx.net>
9211 * text.C: Vitaly Lipatov's small i18n fix
9213 2002-09-25 Angus Leeming <leeming@lyx.org>
9215 * ispell.h: doxygen fix.
9217 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9219 * buffer.h (readFile): Add a new argument to the method, to allow
9220 reading of old-format templates.
9222 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9224 * toc.C (getTocList): Get TOC from InsetWrap.
9226 2002-09-16 John Levon <levon@movementarian.org>
9228 * lyxfunc.C: check tabular for cut/copy too
9230 2002-09-12 John Levon <levon@movementarian.org>
9235 * factory.C: add header
9237 * paragraph_funcs.h:
9238 * paragraph_funcs.C: cleanup
9240 2002-09-11 John Levon <levon@movementarian.org>
9242 * PrinterParams.h: odd/even default to true
9244 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9246 * PrinterParams.h: update printer parameters for new xforms dialog
9248 2002-09-11 Angus Leeming <leeming@lyx.org>
9250 * lyxserver.C (read_ready): re-write to make it more transparent
9251 and to make it work in coherent fashion under Tru64 Unix.
9253 2002-09-11 André Pönitz <poenitz@gmx.net>
9257 * text3.C: implement LFUN_WORDSEL
9259 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9261 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9262 make floatlist_ a boost::shared_ptr<FloatList>
9264 * lyxtextclass.C: include FloatList.h
9265 (LyXTextClass): initialize floatlist_
9266 (TextClassTags): add TC_NOFLOAT
9267 (Read): match "nofloat" to TC_NOFLOAT and use it.
9268 (readFloat): modify call to floatlist_
9272 * FloatList.[Ch] (FloatList): remove commented out float
9274 (erase): new function
9276 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9278 * MenuBackend.C (expandToc): fix crash when there is no document
9281 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9283 * many files: Add insetwrap.
9285 2002-09-09 John Levon <levon@movementarian.org>
9287 * text2.C: remove confusing and awkward depth wraparound
9289 2002-09-09 John Levon <levon@movementarian.org>
9291 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9294 * buffer.C: remove getIncludeonlyList()
9297 * lyxfunc.C: remove headers
9299 2002-09-09 Juergen Vigna <jug@sad.it>
9301 * text.C (getColumnNearX): fix form Michael this is most
9302 probably a cut&paste bug.
9304 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9306 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9308 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9309 references, ws changes.
9311 * text2.C (init): update counters after init
9312 (insertParagraph): no need to set counter on idividual paragraphs.
9313 (setCounter): access the counters object in the textclass object
9314 on in the buffer object.
9315 (updateCounters): ditto
9317 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9318 shared_ptr<Counters> to avoid loading counters.h in all
9320 (LyXTextClass): initialize ctrs_
9321 (TextClassTags): add TC_COUNTER, and ...
9322 (Read): use it here.
9323 (CounterTags): new tags
9324 (readCounter): new function
9325 (counters): new funtion
9326 (defaultLayoutName): return a const reference
9328 * counters.C (Counters): remove contructor
9329 (newCounter): remove a couple of unneeded statements.
9330 (newCounter): simplify a bit.
9331 (numberLabel): some small formatting changes.
9333 * buffer.[Ch]: remove all traces of counters, move the Counters
9334 object to the LyXTextClass.
9336 2002-09-06 Alain Castera <castera@in2p3.fr>
9338 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9339 package to set the horizontal alignment on fixed width columns.
9342 * lyx_sty.h: added tabularnewline macro def.
9344 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9346 2002-09-06 John Levon <levon@movementarian.org>
9348 * LyXAction.C: tooltips for sub/superscript
9350 * MenuBackend.C: a bit more verbose
9352 * lyxfunc.C: tiny clean
9354 * undo_funcs.C: document undo_frozen
9356 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9358 * counters.C (Counters): add missing algorithm counter.
9360 * text2.C (setCounter): lookup the counter with layouts latexname
9361 instead of by section number.
9362 (setCounter): use a hackish way to lookup the correct enum
9364 a float name->type change
9365 reset enum couners with counter name directly instead of depth value.
9367 * counters.C (Counters): remove the push_backs, change to use the
9368 float type not the float name.
9369 (labelItem): remove unused string, float name->type change
9371 * counters.h: don't include vector, loose the enums and sects vectors
9373 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9376 (Read): add float->TC_FLOAT to textclassTags
9377 (Read): and handle it in the switch
9378 (readFloat): new function
9380 * FloatList.C (FloatList): comment out the hardcoded float
9383 * lyxlayout.h: ws change.
9385 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9387 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9389 2002-09-03 Angus Leeming <leeming@lyx.org>
9391 * BufferView_pimpl.h: qualified name is not allowed in member
9392 declaration: WorkArea & Pimpl::workarea() const;
9394 * factory.C: added using std::endl directive.
9396 * text3.C: added using std::find and std::vector directives.
9398 2002-08-29 André Pönitz <poenitz@gmx.net>
9401 * text2.C: remove unused member number_of_rows
9404 * BufferView2.C: remove file, move contents to...
9405 * BufferView.C: ... here
9407 * BufferView_pimpl.C:
9408 * factory.C: move more inset creation to factory
9410 * vspace.C: avoid direct usage of LyXText, ws changes
9413 don't provide direct access to WorkArea, use two simple
9414 acessors haveSelction() and workHeight() instead
9417 2002-08-29 John Levon <levon@movementarian.org>
9419 * BufferView_pimpl.C (dispatch): do not continue when
9422 2002-08-28 André Pönitz <poenitz@gmx.net>
9424 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9427 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9429 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9431 * buffer.C: increment LYX_FORMAT to 221
9433 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9434 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9436 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9438 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9440 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * factory.C (createInset): use LyXTextClass::floats
9444 * MenuBackend.C (expandFloatListInsert):
9445 (expandFloatInsert):
9448 * text2.C (setCounter):
9450 * LaTeXFeatures.C (useFloat):
9451 (getFloatDefinitions):
9453 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9455 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9456 floatlist_, with accessor floats().
9458 * FloatList.h: remove global FloatList
9460 2002-08-26 André Pönitz <poenitz@gmx.net>
9462 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9466 * BufferView_pimpl.C:
9467 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9469 2002-08-25 John Levon <levon@movementarian.org>
9471 * LyXAction.C: fix margin note description
9473 2002-08-24 John Levon <levon@movementarian.org>
9477 * bufferview_funcs.C:
9479 * undo_funcs.C: cleanups
9481 * lyxfunc.C: disable CUT/COPY when no selection
9483 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9485 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9486 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9488 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9489 Add backward compatibility to "mono", "gray" and "no".
9491 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9493 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9494 (and file_format >= 200).
9496 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9500 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9502 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9504 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9506 * BufferView_pimpl.C:
9513 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9514 inset and code to make it work with the paragraph code. The inset
9515 can be anywhere in the paragraph, but will only do the expected
9516 thing in LaTeX if the layout file contains the parameter line
9518 (or more generally, a nonzero value) for that layout.
9520 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9522 * paragraph.h: remove the declaration of undefined counters class
9525 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9527 * text2.C (setCounter): fixed enumeration mis-count as reported by
9528 Dr. Richard Hawkins.
9530 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9532 * paragraph_funcs.h: remove some unneeded includes
9534 * text.C (backspace): pasteParagraph now in global scipe
9536 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9537 (pasteSelection): ditto
9539 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9540 * paragraph_funcs.C (pasteParagraph): ... here
9542 2002-08-20 André Pönitz <poenitz@gmx.net>
9544 * commandtags.h: new LFUNs for swapping/copying table row/colums
9547 * lyxfunc.C: support for new lfuns
9549 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9552 * buffer.[Ch]: remove NO_COMPABILITY stuff
9554 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9556 * boost.C (throw_exception): new file, with helper function for
9557 boost compiled without exceptions.
9562 * ParameterStruct.h:
9563 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9565 * bufferlist.C (emergencyWriteAll): use boost bind
9567 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9569 * text.C: include paragraph_funcs.h
9570 (breakParagraph): breakParagraph is now in global scope
9572 * paragraph_funcs.[Ch]: new files
9574 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9577 * buffer.C: include paragraph_funcs.h
9578 (insertStringAsLines): breakParagraph is now in global scope
9580 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9583 * CutAndPaste.C: include paragraph_funcs.h
9584 (cutSelection): breakParagraphConservative is now in global scope
9585 (pasteSelection): ditto
9587 * buffer.h: declare oprator== and operator!= for
9588 Buffer::inset_iterator
9590 * bufferlist.C (emergencyWrite): don't use fmt(...)
9592 * text3.C: add using std::endl
9594 * BufferView.C (moveCursorUpdate): remove default arg
9596 2002-08-20 André Pönitz <poenitz@gmx.net>
9598 * buffer.[Ch]: move inline functions to .C
9601 * BufferView_pimpl.C:
9603 * buffer.[Ch]: use improved inset_iterator
9606 * paragraph.[Ch]: write one paragraph at a time
9608 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9610 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9611 style if style is not specified.
9613 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9615 * text2.C (setCounter): when searching for right label for a
9616 caption, make sure to recurse to parent insets (so that a caption
9617 in a minipage in a figure float works) (bug #568)
9619 2002-08-20 André Pönitz <poenitz@gmx.net>
9621 * text3.C: new file for LyXText::dispatch() and helpers
9623 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9625 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9627 2002-08-19 André Pönitz <poenitz@gmx.net>
9630 * text.C: new LyXText::dispatch()
9632 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9634 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9636 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9638 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9641 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9643 * Makefile.am: use $(variables) instead of @substitutions@
9645 2002-08-15 André Pönitz <poenitz@gmx.net>
9648 * BufferView_pimpl.C: streamlining mathed <-> outer world
9652 * LyXAction.C: remove unused LFUN_MATH
9654 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9656 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9658 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9660 * paragraph.C (Paragraph): reformat a bit
9661 (cutIntoMinibuffer): use builtin InsetList function instad of
9665 * buffer.C: include boost/bind.hpp, add using std::for_each
9666 (writeFileAscii): use ParagraphList iterators
9667 (validate): use for_each for validate traversal of paragraphs
9668 (getBibkeyList): use ParagraphList iterators
9669 (resizeInsets): use for_each to resizeInsetsLyXText for all
9671 (getParFromID): use ParagraphList iterators
9673 * BufferView2.C (lockInset): use paragraph list and iterators
9675 2002-08-14 John Levon <levon@movementarian.org>
9677 * lyxserver.C: remove spurious xforms include
9679 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9681 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9683 2002-08-13 André Pönitz <poenitz@gmx.net>
9686 * lyxfunc.C: further cleaning
9688 2002-08-13 André Pönitz <poenitz@gmx.net>
9690 * funcrequest.h: new constructor
9692 * funcrequest.C: move stuff here from .h
9695 * BufferView_pimpl.C:
9698 * lyxfunc.C: subsequent changes
9700 * lyxfunc.h: new view() member function
9702 * lyxfunc.C: subsequent changes
9704 2002-08-13 Angus Leeming <leeming@lyx.org>
9707 * BufferView_pimpl.C:
9715 changes due to the changed LyXView interface that now returns references
9716 to member variables not pointers.
9718 2002-08-13 Angus Leeming <leeming@lyx.org>
9720 * WordLangTuple (word, lang_code): return references to strings,
9725 * lyxtext.h: forward-declare WordLangTuple.
9730 * text.C: #include "WordLangTuple.h".
9733 * text.C: (selectNextWordToSpellcheck): constify return type.
9735 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9741 * paragraph_pimpl.h:
9744 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9746 Made updateCounter always count from start of buffer, and removed
9747 second argument (par).
9748 Reverted floats number display to '#'. Perhaps I'll try again when the
9749 code base is sanitized a bit.
9751 2002-08-12 Angus Leeming <leeming@lyx.org>
9753 * buffer.[Ch] (getLabelList): constify.
9755 2002-08-07 André Pönitz <poenitz@gmx.net>
9757 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9759 * funcrequest.h: extension to keep mouse (x,y) position
9761 2002-08-12 Juergen Vigna <jug@sad.it>
9763 * BufferView2.C (insertErrors): forbid undo when inserting error
9766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9768 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9770 * ParagraphList.[Ch]: new files
9772 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9774 * BufferView2.C (lockInset): ParagraphList changes
9777 * bufferlist.C: ditto
9781 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9783 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9784 unused class variable counter_,
9786 * paragraph.[Ch] (getFirstCounter): delete unused function
9788 * counters.C: include LAssert.h
9789 (reset): add a new function with no arg, change other version to
9790 not have def. arg and to not allow empty arg.
9792 * text2.C (setCounter): remove empty arg from call to Counters::reset
9794 2002-08-11 John Levon <levon@movementarian.org>
9796 * Makefile.am: add WordLangTuple.h
9798 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9800 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9801 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9803 * insets/insettext.C: InsetList changes
9805 * graphics/GraphicsSupport.C (operator()): InsetList changes
9807 * toc.C (getTocList): InsetList changes
9809 * paragraph_pimpl.[Ch]: InsetList changes
9811 * paragraph.[Ch]: InsetList changes
9813 * buffer.C (inset_iterator): InsetList changes
9814 (setParagraph): ditto
9815 * buffer.h (inset_iterator): ditto
9816 * iterators.C (operator++): ditto
9817 * iterators.h: ditto
9819 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9821 * InsetList.[Ch]: new files, most InsetList handling moved out of
9824 * BufferView2.C (removeAutoInsets): InsetList changes
9826 (ChangeInsets): ditto
9828 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9830 * paragraph_pimpl.h (empty): new function
9832 * paragraph.[Ch] (empty): new function
9834 * other files: use the new Paragraph::empty function
9836 2002-08-09 John Levon <levon@movementarian.org>
9838 * lyxtext.h: remove unused refresh_height
9840 2002-08-09 John Levon <levon@movementarian.org>
9847 * paragraph.C: move sgml char escaping out of paragraph
9850 * paragraph.C: remove id setter
9854 * paragraph_pimpl.C: remove dead tex_code_break_column
9856 * bufferview_funcs.C: small cleanup
9858 * lyxfunc.C: remove dead proto
9860 * lyxtext.h: make some stuff private. Remove some dead stuff.
9862 * lyxgluelength.C: make as[LyX]String() readable
9864 2002-08-08 John Levon <levon@movementarian.org>
9869 * ToolbarDefaults.C:
9872 * toc.C: lyxaction cleanup
9874 2002-08-08 John Levon <levon@movementarian.org>
9876 * BufferView2.C: small cleanup
9879 * lyxfind.C: move unnecessary header into the .C
9881 2002-08-08 John Levon <levon@movementarian.org>
9883 * funcrequest.h: just tedious nonsense
9886 * lyx_main.C: cleanups
9889 * vspace.C: remove dead header lyx_main.h
9891 2002-08-07 Angus Leeming <leeming@lyx.org>
9894 * paragraph_pimpl.h:
9895 Forward declare class Counters in paragraph.h by moving the ctrs member
9896 variable into Paragraph::Pimpl.
9897 (counters): new method, returning a reference to pimpl_->ctrs.
9899 * text2.C: ensuing changes.
9901 2002-08-07 John Levon <levon@movementarian.org>
9903 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9905 * BufferView_pimpl.C: announce X selection on double/triple
9908 * lyx_main.C: use correct bool in batch dispatch
9910 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9912 2002-08-07 André Pönitz <poenitz@gmx.net>
9914 * funcrequest.h: new class to wrap a kb_action and its argument
9917 * BufferView_pimpl[Ch]:
9921 * lyxrc.C: subsequent changes
9924 2002-08-07 John Levon <levon@movementarian.org>
9926 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9927 document options change.
9929 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9934 * makefile.am: move counters functionality over from
9935 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9937 2002-08-06 John Levon <levon@movementarian.org>
9939 * WordLangTuple.h: new file for word + language code tuple
9950 * BufferView2.C: use WordLangTuple
9953 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9955 2002-08-06 John Levon <levon@movementarian.org>
9957 * lyx_main.C: fix cmdline batch handling
9959 2002-08-06 André Pönitz <poenitz@gmx.net>
9961 * lyxrc.C: set default for show_banner to true
9963 2002-08-06 John Levon <levon@movementarian.org>
9965 * pspell.C: fix a crash, and allow new aspell to work
9967 2002-08-06 John Levon <levon@movementarian.org>
9970 * kbmap.C: small cleanup
9973 * vspace.C: add const
9975 2002-08-05 John Levon <levon@movementarian.org>
9977 * LyXAction.C: back to tabular-insert
9979 2002-08-04 John Levon <levon@movementarian.org>
9982 * BufferView.C: cosmetic change
9984 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9994 * BufferView2.C: purge all "Lyx" not "LyX" strings
9997 * lyxcursor.C: attempt to add some documentation
10002 * ToolbarDefaults.C:
10003 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10004 merge with LFUN_TABULAR_INSERT
10011 * pspell.C: split up i/pspell implementations into separate
10012 files, many cleanups
10014 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10016 * text2.C: some cleanup
10018 * lyxfunc.C: don't check for isp_command == "none" any more, it
10019 didn't make any sense
10021 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10026 * makefile.am: move counters functionality over
10027 from text2.C/paragraph.[Ch] to counters.[Ch], and
10029 2002-08-02 John Levon <levon@movementarian.org>
10031 * buffer.C: s/lyxconvert/lyx2lyx/
10033 2002-08-02 Angus Leeming <leeming@lyx.org>
10035 * lyxlex.C: revert John's change as it breaks reading of the user
10038 2002-08-02 Angus Leeming <leeming@lyx.org>
10040 * importer.C (Import):
10041 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10042 changes due to LyXView::view() now returning a boost::shared_ptr.
10044 2002-08-02 John Levon <levon@movementarian.org>
10046 * lyxlex.C: small cleanup
10048 2002-08-02 John Levon <levon@movementarian.org>
10050 * text2.C (status): small cleanup, no logic change
10052 2002-08-01 John Levon <levon@movementarian.org>
10055 * buffer.C (writeFile): don't output alerts, caller
10059 * lyx_cb.C: from above
10061 * lyxfunc.C: allow to open non-existent files
10063 2002-07-31 John Levon <levon@movementarian.org>
10065 * lyxserver.C: don't let incidental errors get
10068 2002-07-30 John Levon <levon@movementarian.org>
10070 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10072 2002-07-30 John Levon <levon@movementarian.org>
10075 * lyxserver.C: remove I/O callback too
10077 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10082 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10084 * many files: strip,frontStrip -> trim,ltrim,rtrim
10086 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10088 * PrinterParams.h: remove extern containsOnly, and include
10089 support/lstrings.h instead.
10091 * LaTeX.C (scanAuxFile): modify because of strip changes
10093 * buffer.C (makeLaTeXFile): ditto
10094 * bufferparams.C (writeFile): ditt
10095 * lyxfont.C (stateText): ditto
10096 * lyxserver.C (read_ready): ditto
10097 * vc-backend.C (scanMaster): ditto
10099 * BufferView_pimpl.h: ws changes
10101 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10103 2002-07-26 André Pönitz <poenitz@gmx.net>
10105 * kb_sequence.C: remove unnedred usings
10107 2002-07-26 Juergen Vigna <jug@sad.it>
10109 * lyxfind.C (LyXReplace): we have to check better if the returned
10110 text is not of theLockingInset()->getLockingInset().
10112 2002-07-25 Juergen Vigna <jug@sad.it>
10114 * lyxfind.C (LyXReplace): don't replace if we don't get the
10117 * undo_funcs.C (createUndo): remove debugging code.
10119 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10121 * buffer.C (parseSingleLyXformat2Token): Use default placement
10122 when reading old floats.
10124 * FloatList.C (FloatList): Change the default placement of figure
10125 and tables to "tbp".
10127 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10129 * MenuBackend.C: using std::max
10131 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * MenuBackend.C (expandToc):
10134 (expandToc2): code moved from xforms menu frontend. It is now
10135 generic and TOCs are transparent to menu frontends.
10137 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10139 * toc.C (getTocList): protect against buf=0
10141 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10142 Menu as first parameter. Now, this calls itself recursively to
10143 expand a whole tree (this will be useful for TOC handling)
10144 (expandFloatInsert): remove 'wide' version of floats
10146 * MenuBackend.h (submenuname): returns the name of the submenu.
10147 (submenu): returns the submenu itself, provided it has been
10148 created by MenuBackend::expand
10150 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10152 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10153 insets which have noFontChange == true. (bug #172)
10155 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * BufferView_pimpl.C: add connection objects and use them...
10160 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * MenuBackend.C (expandLastfiles):
10165 (expandFloatListInsert):
10166 (expandFloatInsert):
10167 (expand): split expand in parts
10169 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10171 * lyx_gui.C: use lyx_gui::exit()
10173 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10175 * LyXAction.C: show the failing pseudo action
10177 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10179 * buffer.C (readFile): Run the lyxconvert script in order to read
10182 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10186 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10188 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10192 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10194 2002-07-22 Herbert Voss <voss@lyx.org>
10197 * lyxlength.[Ch]: add support for the vertical lengths
10199 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10201 * toc.[Ch]: std:: fixes
10203 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10205 * lyxrc.C: do not include lyx_main.h
10207 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10213 * BufferView2.C: include "lyxlex.h"
10216 * bufferparams.h: do not #include "lyxlex.h"
10218 * lyxtextclasslist.C (Add): remove method
10219 (classlist): renamed to classlist_
10221 * paragraph_pimpl.C:
10225 * bufferview_funcs.C:
10230 * toc.C (getTocList): use BufferParams::getLyXTextClass
10232 * toc.C (getTocList): use InsetFloat::addToToc
10234 * toc.[Ch]: new files, containing helper functions to handle table
10237 * lyxfunc.C (dispatch): no need to remove spaces around command
10239 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10240 first command of the sequence; it is not very clever, but I do not
10241 have a better idea, actually
10243 * LyXAction.C (LookupFunc): make sure to remove space at the
10244 beginning and end of the command
10246 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * MenuBackend.C (getMenubar): new method: return the menubar of
10250 (read): treat differently reading of menu and menubar (in
10251 particular, the menubar has no name now)
10252 (Menu::menubar): remove
10254 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10257 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10259 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10260 a bibitem inset in a RTL paragraph.
10262 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10264 * paragraph_pimpl.C: constify
10266 * BufferView_pimpl.C:
10268 * lyxfunc.C: fix dispatch in a nicer way
10270 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10272 * lyxfunc.C (dispatch):
10273 * BufferView_pimpl.C:
10274 * BufferView_pimpl.h:
10276 * BufferView.h: rename Dispatch() to dispatch()
10278 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10280 * lyxlayout.C (Read): honor DependsOn tag
10282 * lyxlayout.[Ch] (depends_on): new method
10284 * version.C.in: update lyx_docversion
10286 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10288 * paragraph.C (validate): remove from here...
10289 * paragraph_pimpl.C (validate): ... and move here
10290 (isTextAt): make it const
10292 * buffer.C (getLists): ws cleanup
10294 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10296 * language.C (read): Use iso8859-1 encoding in latex_lang
10297 (this prevents LyX from crashing when using iso10646-1 encoding).
10299 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * text2.C (toggleInset): if cursor is inside an inset, close the
10302 inset and leave cursor _after_ it
10304 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10306 * lyxfunc.C: move minibuffer completion handling out of here
10308 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10310 * BufferView_pimpl.C:
10311 * LaTeX.C: fix dispatch calls
10313 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10315 * text.C (drawChars): Fix Arabic text rendering.
10317 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10321 * lyxfunc.C: remove message-push/pop
10325 * lyxfunc.C: rationalise some code by removing verboseDispatch
10326 in favour of a bool argument to dispatch()
10328 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10330 * lyx_main.C (init): make sure to read symlinks as absolute paths
10332 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10335 * lyxfunc.C: no need for commandshortcut to be a member
10337 2002-07-15 André Pönitz <poenitz@gmx.net>
10339 * converter.C: add support for $$s (scripts from lib/scripts dir)
10340 * lyx_main.C: white space
10342 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10346 * lyxrc.C: remove second exit confirmation
10348 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10353 * BufferView_pimpl.h:
10354 * BufferView_pimpl.C:
10355 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10357 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * MenuBackend.C (expand): add numeric shortcuts to document menu
10361 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10363 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * lyxfont.C (setLyXFamily):
10372 * buffer.C (asciiParagraph): use ascii_lowercase
10374 2002-07-15 Mike Fabian <mfabian@suse.de>
10376 * lyxlex_pimpl.C (search_kw):
10377 * lyxlex.C (getLongString):
10378 * converter.h (operator<):
10379 * converter.C (operator<):
10380 * buffer.C (parseSingleLyXformat2Token):
10382 * ToolbarDefaults.C (read):
10383 * MenuBackend.C (checkShortcuts):
10385 * LColor.C (getFromGUIName):
10386 (getFromLyXName): use the compare_ascii_no_case instead of
10387 compare_no_case, because in turkish, 'i' is not the lowercase
10388 version of 'I', and thus turkish locale breaks parsing of tags.
10390 2002-07-16 Angus Leeming <leeming@lyx.org>
10392 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10393 now takes a Buffer const & argument.
10395 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10397 * BufferView.C (resize): check there's a buffer to resize
10399 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10401 * lyxfunc.C: remove dead code
10404 * lyxserver.C: use lyx_guii::set_read_callback
10406 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10408 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10409 an inset in a RTL paragraph.
10411 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10413 * lyxfunc.C: repaint after a font size update
10415 2002-07-15 André Pönitz <poenitz@gmx.net>
10417 * lyxlength.C: inBP should be able to return negative values
10419 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10421 * lyxfunc.C: use lyx_gui::update_fonts()
10423 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10425 * lyxfunc.C: use lyx_gui::update_color()
10427 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10433 * lyxrc.C: remove file->new asks for name option, and let
10434 buffer-new take an argument
10436 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10438 * BufferView_pimpl.C: remove unneeded extra repaint()
10440 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10442 * LyXAction.C: allow command-sequence with NoBuffer
10444 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10446 2002-07-10 Angus Leeming <leeming@lyx.org>
10448 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10450 2002-07-09 Angus Leeming <leeming@lyx.org>
10452 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10454 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10456 * lengthcommon.h: whitespace
10458 * lyxfunc.C: update scrollbar after goto paragraph
10460 * lyxtext.h: factor out page break drawing, and fix it so
10461 page break/added space paints as selected nicely
10463 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C: add FIXMEs, clean up a little
10467 2002-07-09 André Pönitz <poenitz@gmx.net>
10469 * lyxfont.[Ch]: support for wasy symbols
10471 2002-07-08 André Pönitz <poenitz@gmx.net>
10473 * BufferView_pimpl.C: apply John's patch for #93.
10475 2002-07-05 Angus Leeming <leeming@lyx.org>
10477 * BufferView_pimpl.C (buffer): generate previews if desired.
10479 * LColor.h: add "preview" to the color enum.
10481 * LColor.C (LColor): add a corresponding entry to the items array.
10483 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10486 2002-07-05 Angus Leeming <leeming@lyx.org>
10488 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10489 The body of the code is now in the method that is passed an ostream &
10490 rather than a file name.
10491 Pass an additional only_preamble parameter, useful for the forthcoming
10494 2002-07-03 André Pönitz <poenitz@gmx.net>
10496 * lyxfunc.C: simplify getStatus() a bit for math stuff
10498 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10500 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10502 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10504 * text.C (changeRegionCase): do not change case of all the
10505 document when region ends at paragraph end (bug #461)
10507 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10509 * paragraph.C (startTeXParParams):
10510 (endTeXParParams): add \protect when necessary
10512 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10514 * BufferView_pimpl.C (workAreaExpose): remove warning
10516 2002-06-27 Angus Leeming <leeming@lyx.org>
10518 * Makefile.am: add lyxlayout_ptr_fwd.h.
10520 2002-06-26 André Pönitz <poenitz@gmx.net>
10522 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10524 2002-06-25 Angus Leeming <leeming@lyx.org>
10526 * lyxfunc.C (dispatch): Comment out the call to
10527 grfx::GCache::changeDisplay. The method no longer exists now that the
10528 pixmap generation part of the graphics loader has been moved into
10531 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10533 * text2.C: layout as layout
10535 * text.C: layout as layout
10537 * tabular.C (OldFormatRead): layout as layout
10539 * paragraph_pimpl.C (TeXDeeper): layout as layout
10540 (realizeFont): layout as layout
10542 * paragraph.C (writeFile): layout as layout
10543 (validate): layout as layout
10544 (getFont): layout as layout
10545 (getLabelFont): layout as layout
10546 (getLayoutFont): layout as layout
10547 (breakParagraph): layout as layout
10548 (stripLeadingSpaces): layout as layout
10549 (getEndLabel): layout as layout
10550 (getMaxDepthAfter): layout as layout
10551 (applyLayout): layout as layout
10552 (TeXOnePar): layout as layout
10553 (simpleTeXOnePar): layout as layout
10554 (TeXEnvironment): layout as layout
10555 (layout): layout as layout
10556 (layout): layout as layout
10558 * lyxtextclass.C (compare_name): new functor to work with
10559 shared_ptr, layout as layout
10560 (Read): layout as layout
10561 (hasLayout): layout as layout
10562 (operator): layout as layout
10563 (delete_layout): layout as layout
10564 (defaultLayout): layout as layout
10566 * lyxlayout_ptr_fwd.h: new file
10568 * lyxlayout.C (Read): layout as layout
10570 * lyx_cb.C (MenuInsertLabel): layout as layout
10572 * bufferlist.C (newFile): layout as layout
10574 * buffer.C (readLyXformat2): layout as layout
10575 (parseSingleLyXformat2Token): layout as layout
10576 (insertStringAsLines): layout as layout
10577 (asciiParagraph): layout as layout
10578 (latexParagraphs): layout as layout
10579 (makeLinuxDocFile): layout as layout
10580 (simpleLinuxDocOnePar): layout as layout
10581 (makeDocBookFile): layout as layout
10582 (simpleDocBookOnePar): layout as layout
10583 (getLists): layout as layout
10585 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10587 * CutAndPaste.C (cutSelection): layout as layout
10588 (pasteSelection): layout as layout
10589 (SwitchLayoutsBetweenClasses): layout as layout
10591 * BufferView_pimpl.C (Dispatch): layout as layout
10592 (smartQuote): layout as layout
10594 * BufferView2.C (unlockInset): layout as layout
10596 2002-06-24 André Pönitz <poenitz@gmx.net>
10598 * lyxfunc.C: fix #487
10600 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10604 * lyxfunc.C: remove display_shortcuts, show_banner
10606 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10608 * Buffer_pimpl.C: oops, update on resize
10610 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10617 * BufferView.C: use repaint()
10619 * BufferView_pimpl.h:
10620 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10621 as it's a clearer description. Remove superfluous
10624 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10626 * text.C: fix bug 488. Not ideal, but getting
10627 getWord() to work properly for the insets that
10628 matter is more difficult ...
10630 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10632 * BufferView_pimpl.C:
10635 * lyxfunc.C: remove the six million index lyxfuncs to just
10636 one, and DTRT (bug 458)
10638 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10642 * BufferView_pimpl.h:
10643 * BufferView_pimpl.C: clean up resize() stuff,
10644 and unnecessary updateScreen()s
10646 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10650 * BufferView_pimpl.h:
10651 * BufferView_pimpl.C:
10654 * minibuffer.C: remove focus management of workarea,
10655 not needed. Use screen's greyOut()
10657 2002-06-17 Herbert Voss <voss@lyx.org>
10659 * converter.C: (convert) do not post a message, when converting
10660 fails, let the calling function decide what to do in this case
10662 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10664 * lyxfunc.C: tidy up a little
10666 2002-06-16 <alstrup@diku.dk>
10668 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10669 Got rid of FORMS_H_LOCATION include. Now we are
10672 2002-06-15 LyX Development team <lyx@rilke>
10674 * buffer.[Ch] (sgmlOpenTag):
10675 (sgmlCloseTag): Added support for avoiding pernicious mixed
10676 content. Return number of lines written.
10678 (makeLinuxDocFile):
10679 (makeDocBookFile): Fixed calls to sgml*Tag.
10680 Simple white space clean.
10682 (simpleDocBookOnePar): Simple white space clean.
10684 * tabular.[Ch] (docBook): Renamed to docbook and got another
10685 argument to related with the pernicious mixed content.
10687 (docbookRow): Fixed calls for docbook inset method.
10689 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10691 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10692 so it's X11 independent.
10696 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10698 2002-06-15 Lyx Development team <lyx@electronia>
10700 * intl.h: Renamed getTrans to getTransManager.
10702 2002-06-14 Angus Leeming <leeming@lyx.org>
10704 * Makefile.am: nuke forgotten stl_string_fwd.h.
10706 2002-06-12 Angus Leeming <leeming@lyx.org>
10708 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10710 2002-06-13 Angus Leeming <leeming@lyx.org>
10713 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10715 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10717 * kbmap.C (getiso): add support for cyrillic and greek
10719 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10723 * BufferView_pimpl.h:
10724 * BufferView_pimpl.C: move bogus scrolling logic
10727 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10730 * BufferView_pimpl.C: view->resize() change
10732 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10734 * BufferView_pimpl.C: topCursorVisible
10737 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10741 * lyx_gui.C: move to frontends/
10745 * lyx_main.C: changes from above
10747 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10754 * lyx_main.C: minor tidy
10756 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10758 * BufferView_pimpl.h:
10759 * BufferView_pimpl.C:
10761 * BufferView.C: make painter() const,
10764 * BufferView2.C: use screen() accessor
10767 * lyx_main.C: some minor cleanup
10769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10771 * BufferView_pimpl.h:
10772 * BufferView_pimpl.C: remove enter/leaveView,
10775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10780 * BufferView_pimpl.h:
10781 * BufferView_pimpl.C: only construct screen once,
10784 * lyxrc.C: remove pointless comment
10786 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10789 * BufferView.C: remove active() and belowMouse()
10791 * BufferView_pimpl.h:
10792 * BufferView_pimpl.C: use workarea() not workarea_,
10793 and make it use a scoped_ptr instead
10795 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10797 * lyx_gui.C: add debug message on BadWindow
10799 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10801 * sp_spell.C: fdopen is not part of the C++ standard.
10803 * paragraph.C (InsetIterator): use >= instead of ==
10805 2002-06-07 Angus Leeming <leeming@lyx.org>
10807 Fixes needed to compile with Compaq cxx 6.5.
10808 * BufferView_pimpl.C:
10815 * lyxtextclasslist.C:
10820 all c-library variables have been moved into namespace std. Wrap
10821 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10826 Add a using std::abs declaration.
10828 * kbmap.h (modifier_pair):
10829 * paragraph.h (InsetTable, InsetList):
10830 * lyxfont.h (FontBits):
10831 type definition made public.
10833 * bufferlist.C (emergencyWriteAll): the compiler complains that
10834 there is more than one possible lyx::class_fun template to choose from.
10835 I re-named the void specialisation as lyx::void_class_fun.
10837 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10839 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10840 the compiler is is unable to find tostr in write_attribute.
10842 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * buffer.C (sgmlError): hide #warning
10846 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10848 * xtl/*: get rid of xtl, which is not in use anyway
10850 * LyXAction.C (init):
10851 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10852 were unimplemented xtl experimentation
10854 2002-06-04 André Pönitz <poenitz@gmx.net>
10856 * lyxfunc.C: disable array operation on simple formulae
10858 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10860 * converter.C: constify a bit
10862 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10864 * lyx_gui.C: check xforms version correctly
10866 2002-04-30 Herbert Voss <voss@lyx.org>
10868 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10871 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10873 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10874 attempt to register it with a VCS)
10876 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10878 * lyx_main.C (init): honor variables LYX_DIR_13x and
10881 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10885 * lyx_main.C: fix a crash on bad command line,
10886 and give a useful exit status on error
10888 * lyxfunc.C (doImport): allow -i lyx to work
10890 2002-03-30 André Pönitz <poenitz@gmx.net>
10892 * lyxfunc.C: mathed font changes
10894 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10909 * trans_mgr.h: srcdocs, and some minor cleanups
10911 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10913 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10914 call getFont all the time)
10916 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10918 * switch from SigC signals to boost::signals
10920 2002-05-29 André Pönitz <poenitz@gmx.net>
10922 * paragraph_pimpl.C (getChar): don't call size() too often...
10924 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10926 * paragraph_pimpl.C (insertChar): do not try to update tables when
10927 appending (pos == size())
10929 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10930 in order to reduce drastically the number of comparisons needed to
10931 parse a large document
10933 2002-05-29 André Pönitz <poenitz@gmx.net>
10939 * textclasslist.[Ch]:
10940 * sp_ispell.h: whitespace change
10942 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10944 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10945 lyxaction directly now.
10947 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10951 * lyxvc.C: remove unused headers
10953 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10960 * undo_funcs.C: some cleanups. Use shared_ptr
10961 and a template for the undo stacks.
10963 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.h:
10966 * BufferView_pimpl.C:
10973 * text2.C: use key_state/mouse_state
10975 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10980 * chset.C: change include order
10981 (loadFile): use boost regex and get rid of LRegex and LSubstring
10983 * Makefile.am (BOOST_LIBS): new variable
10984 (lyx_LDADD): use it
10986 * LaTeX.C: change include order.
10987 (scanAuxFile): use boost regex and get rid of LRegex and
10991 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10996 * FontInfo.C: moved to frontends/xforms/
10999 * FontLoader.C: moved into frontends for GUIIzation
11004 * lyxfunc.C: changes from above
11006 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11008 * LColor.C: remove spurious X include
11010 * BufferView_pimpl.C:
11015 * text2.C: move font metrics to frontends/
11017 2002-05-24 Juergen Vigna <jug@sad.it>
11019 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11020 setting the undo_cursor.
11022 * ParagraphParameters.h: include local includes first.
11024 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11026 * BufferView_pimpl.C:
11027 * BufferView_pimpl.h:
11031 * screen.C: move WorkArea into frontends/
11037 * BufferView2.C: move LyXScreen into frontends/
11041 * lyx_gui.C: move lyxlookup into frontends/xforms/
11043 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11046 * BufferView_pimpl.C:
11056 * bufferview_funcs.C:
11069 * vc-backend.C: move LyX/XFormsView into frontends/
11071 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11083 * text2.C: move Painter to frontends/
11085 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * buffer.C: comment out some some code that depend upon lyx_format
11090 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11091 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11093 * buffer.h (NO_COMPABILITY): turn off compability
11095 * ColorHandler.C: include scoped_array.hpp
11097 * font.C: Use more specific smart_ptr header.
11100 * ShareContainer.h: ditto
11101 * lyx_main.h: ditto
11103 * FontInfo.h: ditto
11104 * BufferView_pimpl.h: ditto
11105 * ColorHandler.h: ditto
11107 * kbmap.C (defkey): change call to shared_ptr::reset
11109 2002-05-21 Juergen Vigna <jug@sad.it>
11111 * buffer.C (insertErtContents): fix to insert ert asis if it is
11112 non empty. Skip it completely if it contains only whitespaces.
11114 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11116 * BufferView_pimpl.C:
11117 * BufferView2.C: clear selection on paste (bug 393)
11119 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * DepTable.C: include ctime
11123 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11125 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11127 2002-05-14 Juergen Vigna <jug@sad.it>
11129 * text.C (breakParagraph): fixed function to honor the keepempty
11130 layout in the right maner and also to permit the right breaking
11131 algorithm on empty or non empyt keepempty paragraphs.
11133 * paragraph.C (breakParagraph): we have to check also if the par
11134 is really empty (!size()) for isempty otherwise we do the wrong
11137 2002-05-10 Juergen Vigna <jug@sad.it>
11139 * buffer.[Ch] : The following are only changes to the ert
11140 compatibility read reading old LaTeX layout and font stuff and
11141 convert it to ERTInsets.
11143 * buffer.h: added isErtInset().
11145 * buffer.C (struct ErtComp): add a fromlayout bool to check
11146 if we're inside a LaTeX layout.
11147 (isErtInset): new helper function.
11148 (insertErtContents): look for other ert insets before this one
11149 and insert the contents there, so that we don't have subsequent
11150 ERT insets with nothing between them. This way we create only one
11151 inset with multiple paragraphs. Also check if we don't insert only
11152 spaces ' ' as they are ignored anyway afterwards in the .tex file
11153 so if we have only spaces we will ignore this latex part in the
11155 (parseSingleLyXformat2Token \\layout): better compatibility when
11156 reading layout-latex stuff.
11157 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11159 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11160 stuff after reading the inset only get the information back from
11163 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11165 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11167 * LaTeXFeatures.C (getBabelOptions): New method.
11169 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * BufferView_pimpl.C (Dispatch): work around missing argument for
11174 2002-05-08 Juergen Vigna <jug@sad.it>
11176 * text.C (leftMargin): handle paragraph leftindent.
11178 * paragraph.C (writeFile): write the new \\leftindent tag.
11179 (validate): handle leftindent code.
11180 (TeXEnvironment): handle paragraphleftindent code again.
11182 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11184 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11185 for paragrap_extra indent code and new token \\leftindent.
11186 (latexParagraphs): handle the leftindent as environment.
11188 * ParameterStruct.h: added leftindent support.
11190 * ParagraphParameters.C (leftIndent): added support functions for
11191 the paragraph left indent.
11193 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11196 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11198 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11201 * text.C (computeBidiTables): No bidi in insetERT.
11203 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11206 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11208 * version.C.in: pre 5
11210 2002-05-02 José Matos <jamatos@fep.up.pt>
11211 * buffer.C (makeDocBookFile): white space changes, add newline to
11213 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11215 * tabular.C (docBook): fix typo.
11217 2002-05-03 Juergen Vigna <jug@sad.it>
11219 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11220 change in LyXText as we can not be sure it was not freed.
11221 (drawOneRow): remove unused code.
11223 * text.C (drawInset): redo the calculation of the need_break_row as
11224 it could have a row which was already freed.
11225 (draw): look at the return value of drawInset and return false if
11226 it also returned false.
11227 (paintRowText): look at the return value of draw and return false if
11228 it also returned false.
11230 * lyxtext.h: added bool return type to drawInset() and draw() so that
11231 if we have a change in the row so that the rowbreak has to be redone
11232 we abort drawing as it will be called again.
11234 2002-05-02 Juergen Vigna <jug@sad.it>
11236 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11237 a change in the maintext also if we're inside an inset.
11238 (Dispatch): set the cursor again after a break line and after the
11239 screen has been updated as it could be we're in a different row.
11241 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11242 to set the cursor behind the pargraph with > size().
11243 (setCursor): check also for the same paragraph when checking where
11244 to put the cursor if we have a NFR inset.
11246 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11247 parts of layout read further up as it still was in the wrong
11250 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11252 * screen.C (drawFromTo): change sine fullRebreak always return
11255 * buffer.C (parseSingleLyXformat2Token): reindent some
11257 * BufferView_pimpl.C (update): change since fullRebreak always
11259 (Dispatch): git rid of the last hardcoded "Standard"s.
11261 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * text2.[Ch] (fullRebreak): make it return void now that we always
11266 2002-04-30 Juergen Vigna <jug@sad.it>
11268 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11269 ert compatibility check for "latex" layout.
11271 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11273 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11274 minipages: use col% instead of p%, and also use the current font.
11275 (makeLaTeXFile): Fix use babel condition.
11276 (parseSingleLyXformat2Token): Correct font when reading old floats.
11278 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11280 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11281 inserting list of floats.
11283 2002-04-25 Herbert Voss <voss@lyx.org>
11285 * MenuBackend.C (expand): don't add the graphics extensions to the
11288 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11290 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11291 non-existing layout, do not complain if it was the default layout
11292 of the original class (bug #342)
11294 2002-04-24 Juergen Vigna <jug@sad.it>
11296 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11297 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11299 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11301 * buffer.C (getBibkeyList): If using \bibliography, return the
11302 option field with the reference itself. Enables us to provide natbib
11303 support when using \bibliography.
11305 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11307 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11309 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11310 natbib is provided by the LaTeX class.
11312 2002-04-23 Juergen Vigna <jug@sad.it>
11314 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11317 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11319 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11323 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11324 ensuremath around textordmasculine, textordfeminine and
11327 2002-04-19 Juergen Vigna <jug@sad.it>
11329 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11330 reinitializing the buffer otherwise row-dimensions may be wrong.
11331 (update): reset also the selection cursors if they do exits otherwise
11332 their x/y positions may be wrong.
11334 * text2.C (cursorDown): don't enter the inset if we came from a row
11335 above and are one row over the inset.
11337 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11338 really leaving an inset.
11340 2002-04-18 Juergen Vigna <jug@sad.it>
11342 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11343 of the selected paragraph does not have the selected layout also if
11346 * text2.C (setLayout): fixed bug which did not change last selected
11349 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11350 changed the read and substituted \\end_float with \\end_inset!
11352 * BufferView_pimpl.C (cursorPrevious):
11353 (cursorNext): fixed to make it work with rows heigher than the work
11354 area without moving the cursor only the draw of the row.
11355 (workAreaMotionNotify): fix jumping over high rows.
11357 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11362 2002-04-16 Juergen Vigna <jug@sad.it>
11364 * text2.C (setCursor): set also the irow().
11365 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11367 (cursorDown): support for locking an inset if the x_fix value goes
11368 inside it. That way I can transverse insets too with cursor up/down.
11370 * lyxrow.h: added irow helper function same as other (i) functions.
11372 * BufferView_pimpl.C (cursorPrevious):
11373 (cursorNext): fixed for insets!
11375 2002-04-15 Juergen Vigna <jug@sad.it>
11377 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11378 position otherwise it is wrong in some cases.
11380 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11381 inside the inset before the call.
11383 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11385 * buffer.[Ch] (getBibkeyList): make it const.
11387 2002-04-12 Juergen Vigna <jug@sad.it>
11389 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11391 * text2.C (getCursorX): new helper function
11392 (setCursor): compute also ix_
11393 (setCursorFromCoordinates): set also ix.
11395 * lyxcursor.h: added ix_ and helper functions.
11397 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11399 * buffer.C (insertStringAsLines): dont break paragraph if the this
11400 paragraph is inside an inset which does not permit it!
11402 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11403 also with no chars on this paragraph.
11404 (paintRowText): only paint stuff if it's inside the workarea!
11406 * paragraph.C (breakParagraph): honor keepempty flag and break the
11407 paragraph always below not above.
11409 * BufferView2.C (unlockInset): update the paragraph layout on inset
11410 unlock as we changed paragraph in such a case.
11412 * lyxfind.C (LyXFind): clear the former selection if not found!
11414 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11415 again called in insertChar().
11417 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11418 an inset which uses the whole row!
11419 (rightMargin): ditto.
11420 (insertChar): force a rebreak if we inserted an inset!
11422 2002-03-28 Herbert Voss <voss@lyx.org>
11424 * lyxlength.[Ch]: add inBP() to get the right PS-point
11425 units (BigPoint). With inPixels we have rounding errors
11427 2002-04-11 Juergen Vigna <jug@sad.it>
11429 * text2.C (setCursorFromCoordinates): set iy to the right value.
11430 (setCursor): add check if row->previous exists!
11432 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11433 an old float_type as this was the case in the old code!
11435 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11437 * BufferView2.C (showLockedInsetCursor): use iy
11438 (fitLockedInsetCursor): ditto
11440 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11441 locked insets as there we have the right value now.
11443 * lyxcursor.C: added iy_ variable and iy functions to set to the
11444 baseline of cursor-y of the locked inset.
11446 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11447 (setCursor): fixed for insets which need a full row.
11449 * text.C (rowLastPrintable): don't ignore the last space when before
11450 an inset which needs a full row.
11451 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11452 as last character of a row when before a inset which needs a full row.
11454 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11456 * version.C.in: update date
11458 * text2.C (fullRebreak): try to always return true and see what
11461 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * MenuBackend.C (expand): use Floating::listName
11465 * FloatList.C (FloatList): add listName argument to the built-in
11468 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11469 text associated with the float.
11471 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11473 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11475 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11477 * ShareContainer.h: add a couple of missing typenames.
11479 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11481 * lyxrc.C (getDescription): use _() correctly rather than N_().
11483 2002-03-28 Herbert Voss <voss@lyx.org>
11485 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11486 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11488 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11490 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11491 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11493 2002-03-29 Juergen Vigna <jug@sad.it>
11495 * lyxfunc.C (dispatch): add a missing fitCursor call.
11497 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11498 it was scrolled by a cursor move, so return the bool status.
11500 * BufferView.C (fitCursor): return the bool flag also to the outside
11501 world as this is needed.
11503 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11505 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11506 call the edit() as it is not needed (and wrong) IMO.
11507 (workAreaButtonPress): set the screen_first variable before evt.
11508 unlock the inset as this may change screen_first and then we have
11509 a wrong y position for the click!
11511 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11513 * MenuBackend.C (expand): another translation that I missed
11515 2002-03-28 Juergen Vigna <jug@sad.it>
11517 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11519 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11521 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11525 * MenuBackend.C (expand): fix export/view/update when there is no
11528 2002-03-27 Herbert Voss <voss@lyx.org>
11530 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11533 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11535 * bufferview_funcs.C (currentState): only show paragraph number
11536 for is DEVEL_VERSION is set.
11538 * lyxfunc.C (dispatch): put warning in INFO channel
11540 * MenuBackend.C (expand): translate the name of floats
11542 * FloatList.C (FloatList): mark the float names for translation
11544 * converter.C (convert): use LibScriptSearch
11546 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11548 * MenuBackend.C (defaults): fix default menu (we might as well get
11551 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11556 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11558 * lyxvc.C: reorder includes.
11560 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11562 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11565 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11567 * CutAndPaste.C: change layouts earlier on paste
11568 to avoid crashing when calling getFont()
11570 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11572 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11575 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * WorkArea.C: remove 'Pending' debug message.
11579 * most files: ws cleanup
11581 * buffer.[Ch]: ws changes
11583 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11585 2002-03-21 Juergen Vigna <jug@sad.it>
11587 * tabular.C (SetMultiColumn): collapse also the contents of the
11588 cells and set the last border right. Added a Buffer const * param.
11590 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11592 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11595 2002-03-19 Juergen Vigna <jug@sad.it>
11597 * text2.C (clearSelection): reset also xsel_cache.
11599 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11600 where it needs to be called (John tells us to do so too :)
11601 (selectionLost): reset sel_cache.
11603 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11605 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11607 * text2.C (setCursorIntern): put debuging code in INSETS channel
11609 2002-03-19 André Pönitz <poenitz@gmx.net>
11611 * lyxfunc.C: tiny whitespace change
11613 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11615 * ToolbarDefaults.C (init):
11616 * LyXAction.C (init):
11618 * BufferView_pimpl.C (Dispatch):
11619 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11621 2002-03-19 Allan Rae <rae@lyx.org>
11623 * exporter.C (Export): removeAutoInsets before doing anything else.
11624 While I've just introduced a dependency on BufferView this really is
11625 the best place to clean the buffer otherwise you need to cleanup in
11626 a dozen places before calling export or cleanup in a dozen functions
11629 * converter.C (runLaTeX):
11630 (scanLog): Better handling of removeAutoInsets and screen updates.
11632 * lyxfunc.C (dispatch): small whitespace changes
11634 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11636 * WorkArea.C (C_WorkAreaEvent): return a value.
11637 (event_cb): return 1 if we handled the event, 0 otherwise.
11639 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11641 2002-03-18 Juergen Vigna <jug@sad.it>
11643 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11644 (GetAdditionalWidth): ditto.
11645 (RightLine): ditto.
11648 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11649 inset if we're there actually (probably not used right now but this
11650 is the direction to go for unifying code).
11651 (paste): disable code to clear the selection.
11653 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11654 inside an InsetText and move the check further up as it is in the
11657 * text2.C (pasteSelection): set a selection over the pasted text.
11659 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11661 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11662 and libgraphics to build on Cygwin.
11664 2002-03-15 Juergen Vigna <jug@sad.it>
11666 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11667 inserting an Inset into the paragraph. I know this is not the best
11668 fix but we already use current_view in CutAndPaste so we will remove
11669 all of it's using at the same time.
11671 * buffer.C (sgmlError): deactivated function till it is rewritten in
11672 the right mode, now it can create problems.
11674 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11675 before accessing it.
11677 2002-03-14 Juergen Vigna <jug@sad.it>
11679 * undo_funcs.C (textHandleUndo): do the right thing when updating
11680 the inset after the undo/redo.
11682 * text2.C (setCursor): just some testcode for #44 not ready yet.
11684 * undo_funcs.C (textHandleUndo): set the next() and previous()
11685 pointers of the paragraph to 0 before deleting otherwise we have
11686 problems with the Paragraph::[destructor].
11688 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11689 on a paragraph insertion.
11691 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11693 * buffer.C (asciiParagraph): use += operator for char append to
11696 * paragraph.C (getFontSettings): compare >= not just >
11697 (highestFontInRange): ditto
11700 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11702 * paragraph.C: change several algorithm to be more appripriate for
11703 the problem domain. This is lookip in FontList and in the InsetList.
11705 2002-03-13 André Pönitz <poenitz@gmx.net>
11708 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11710 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11715 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11717 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11719 * Painter.C (display): anon helper function, adjust code for this
11721 (pixmap): remove function.
11723 * Painter.h: remove private display variable.
11725 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11727 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11729 * WorkArea.[Ch]: remove figinset_canvas cruft.
11731 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * lyxtextclass.C (operator): add one item cache optimization.
11735 * bufferlist.h: doxy changes
11737 * bufferlist.C: ws changes
11739 * DepTable.[Ch] (ext_exist): place const in the right spot.
11741 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11743 (workAreaExpose): call resizeInsets when the with BufferView changes.
11744 (Dispatch): adjust for protectedBlank removal
11745 (specialChar): call updateInset if the insert went ok.
11747 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11748 specialChar instead.
11750 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11752 * BufferView.h: doxy change
11754 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11756 * lyxtextclass.C (operator[]): remove non-const version
11757 (defaultLayout): remove non-const version
11759 2002-03-12 Juergen Vigna <jug@sad.it>
11761 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11762 did resize the LyXText too.
11764 * buffer.C (readLyXformat2): set layout information on newly allocated
11767 * tabular.C (OldFormatRead): set layout information on the paragraph.
11769 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11771 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11773 2002-03-11 Juergen Vigna <jug@sad.it>
11775 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11777 (resizeCurrentBuffer): force also the insets to resize themselfes.
11778 (moveCursorUpdate): fixed up for InsetText.
11780 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11783 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11784 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11785 value of Dialogs::tooltipsEnabled().
11786 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11788 2002-03-08 Juergen Vigna <jug@sad.it>
11790 * BufferView_pimpl.C (updateInset): update inset inside inset also
11791 if it isn't inside theLockingInset().
11793 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * buffer.C (asciiParagraph): redo some of the word and line length
11797 (getLists): look for Caption instead of caption.
11799 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * buffer.C (Buffer): initialize niceFile to true
11803 (makeLinuxDocFile):
11804 (makeDocBookFile): make sure niceFile is true on exit
11806 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11808 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11810 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11812 * LyXSendto.C: remove.
11813 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11814 * lyx_gui.C: remove now-redundant comment.
11815 * ColorHandler.h: remove forward declaration of class WorkArea.
11816 * lyxfunc.C: remove #include "WorkArea.h".
11818 2002-03-07 Juergen Vigna <jug@sad.it>
11820 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11821 got moved away with the DEPM and also set the inset_owner always
11822 right which before could have been omitted.
11824 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11827 wanted layout is not found.
11829 2002-03-07 Juergen Vigna <jug@sad.it>
11831 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11833 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11835 * paragraph.C (breakParagraph): use default layout not layout of
11837 (Paragraph): clear ParagraphParameters.
11839 2002-03-06 Juergen Vigna <jug@sad.it>
11841 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11842 otherwise it would not be a valid lenght. Fixed a special case in
11843 the minipage compatibility read where we end the document with a
11846 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11847 was set as it could be 0 for InsetTexts first entry.
11849 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11851 * paragraph.C (writeFile): if layout is empty write out
11852 defaultLayoutName().
11854 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11855 file without named layout we set layout to defaultLayoutName().
11857 2002-03-06 Juergen Vigna <jug@sad.it>
11859 * CutAndPaste.C (copySelection): set layout for new paragraph.
11861 * text.C (prepareToPrint): leave ERT inset left aligned
11862 (leftMargin): don't indent paragraphs inside ERT insets
11864 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * paragraph.C (breakParagraph): dont call clear do the work manually
11868 * paragraph.[Ch] (clear): remove function
11870 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11872 * paragraph.C (Paragraph): dont call clear, the work has already
11875 * lyxtextclass.C (operator): assert if n is empty
11877 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11878 work manually instead.
11880 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11882 * BufferView_pimpl.C: protect selectionLost against text == 0
11884 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11886 * text.C (breakParagraph): fix a setting layout to '0' problem.
11888 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11890 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11891 final location of file, for the included files, and graphics.
11893 2002-03-05 Juergen Vigna <jug@sad.it>
11895 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11897 2002-03-04 Juergen Vigna <jug@sad.it>
11899 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11901 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11902 last column of multicolumn cells.
11903 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11905 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11907 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11908 file if it doesn't go to a temporary file.
11910 * buffer.C (sgmlOpenTag):
11911 (sgmlCloseTag): remove extra newline insertion.
11913 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * text.C (getRowNearY): comment out debug msg
11917 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * text2.C: first -> first_y
11921 * text.C (getRowNearY): add some attemts at a possible
11922 optimization, not working.
11924 * tabular.[Ch]: add BufferParams to several function so that newly
11925 created paragraph can be initialized to he default layotu for the
11928 * tabular-old.C (ReadOld): add buf->params to call of Init
11930 * screen.C: rename text->first to text->first_y
11932 * paragraph.C (breakParagraph): always set layout in the broken
11935 * lyxtextclass.C (Read): remove lowercase
11938 (delete_layout): ditto
11940 * lyxtext.h: rename first -> first_y
11942 * lyxlayout.C (Read): remove lowercase
11945 (obsoleted_by): ditto
11947 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11949 * buffer.C (insertErtContents): add params are to InsetERT
11950 (parseSingleLyXformat2Token): add code to check if a paragraphs
11951 layout really exist.
11952 (parseSingleLyXformat2Token): add params to several inset
11954 (asciiParagraph): remove lowercase, do the layout comparisons with
11957 * BufferView_pimpl.C (cursorNext): first -> first_y
11958 (resizeCurrentBuffer): first -> first_y
11959 (updateScrollbar): first -> first_y
11960 (scrollCB): first -> first_y
11961 (workAreaMotionNotify): first -> first_y
11962 (workAreaButtonPress): first -> first_y
11963 (checkInsetHit): first -> first_y
11964 (cursorPrevious): first -> first_y
11965 (cursorNext): first -> first_y
11966 (Dispatch): add buffer_->params to severl inset contructors
11968 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11970 * lyxlayout.C (Read): remove some debug info that I forgot.
11972 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11973 clean up the code slightly.
11974 (makeLinuxDocFile): ditto
11975 (makeDocBookFile): ditto
11977 * text2.C: layout as string
11979 * text.C: layout as string
11981 * paragraph_pimpl.C: layout as string
11983 * paragraph.[Ch]: layout as string
11985 * lyxtextclasslist.[Ch]: layout as string
11987 * lyxtextclass.[Ch]: layout as string
11989 * lyxtext.h: layout as string
11991 * lyxlayout.[Ch]: layout as string
11993 * lyx_cb.C: layout as string
11995 * bufferview_funcs.C: layout as string
11997 * bufferparams.C: layout as string
11999 * buffer.C: layout as string
12001 * LyXView.[Ch]: layout as string
12003 * LaTeXFeatures.[Ch]: layout as string
12005 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12007 * BufferView_pimpl.C: change current_layout to string, remove
12012 (workAreaButtonRelease): layout as string
12014 * BufferView2.C (unlockInset): adjust
12016 * vspace.C (asLatexCommand): use an explict temp variable.
12018 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12020 * Makefile.am: use FRONTEND_*
12022 2002-03-01 Juergen Vigna <jug@sad.it>
12024 * tabular.C (SetWidthOfMulticolCell): changed to something better
12025 I hope but still work in progress.
12026 (recalculateMulticolumnsOfColumn): renamed function from
12027 recalculateMulticolCells as it is more appropriate now.
12028 (SetWidthOfCell): calculate multicols better.
12030 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12034 * lyxfunc.C (processKeySym): print sequence also if it is
12035 `deleted' (complete)
12037 * kbsequence.C (print): print sequence even if it is deleted
12038 (complete would be a better word, actually).
12040 * lyxfunc.C (dispatch): print complete options after a prefix key
12042 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12044 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12046 * text2.C (setCharFont): eliminate setCharFont code duplication.
12048 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12051 LFUN_TABULAR_FEATURE (bug #177)
12053 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12055 * Makefile.am: remove figure.h
12057 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12059 * Bufferview_pimpl.C:
12071 * text2.C: remove #include "lyx_gui_misc.h".
12073 * LaTeX.C: added #include <cstdio>
12075 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12077 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12078 that the paragraph following this one can have.
12080 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12082 * vspace.C (asLatexCommand): fix bogus gcc warning
12084 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12086 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12088 * text2.C (setLayout): get rid of redundant code
12090 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12092 * text2.C (incDepth): make sure depth cannot be increased beyond
12095 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12097 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12098 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12100 * PainterBase.h (image):
12101 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12102 a LyXImage const *.
12104 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12108 * BufferView_pimpl.C:
12109 * BufferView_pimpl.h:
12129 * sp_spell.C: remove fig inset, and the crap house of
12130 cards that follows it
12132 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12137 * os2_errortable.h:
12138 * nt_defines.h: move .h into support/
12140 * vms_defines.h: remove
12142 * WorkArea.C: add space in debug output
12146 * buffer.C: add WITH_WARNINGS
12150 * bufferlist.C: s/retrive/retrieve/, add docs
12159 * chset.C: add docs
12161 * lyxgui.C: add ID to X error handler
12163 * lyxtestclass.c: fix typo
12165 2002-02-26 Juergen Vigna <jug@sad.it>
12167 * tabular_funcs.C (write_attribute): changed so that some default
12168 attributes are not written at all.
12169 (getTokenValue): set default values before trying to read the
12170 value so we have the return value always set as default if we don't
12171 find the token we search for.
12173 * tabular.C (Write): write bools as bools not as strings!
12175 2002-02-22 Juergen Vigna <jug@sad.it>
12177 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12178 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12180 * text.C (leftMargin): don't add an indent for paragraphs inside
12181 tabular cells (fix #208).
12183 2002-02-21 José Matos <jamatos@fep.up.pt>
12185 * tabular.C (docBook): fixed support for long tables.
12187 2002-02-20 Juergen Vigna <jug@sad.it>
12189 * text2.C (getFont): get the drawing font of the Inset if this
12190 paragraph is inside an inset (only important for InsetERT for now).
12192 * buffer.C (insertErtContents): use new lanugage params in ERT
12195 * CutAndPaste.C: commenting out seemingly uneeded code.
12197 2002-02-19 Allan Rae <rae@lyx.org>
12199 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12200 Iterators might be simple to use but they also get invalidated.
12201 (removeAutoInsets): renamed saved cursor tracking variables and added
12202 some comments to clarify what everything does.
12204 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12211 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12212 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12215 * vc-backend.h: remove #include "support/syscall.h"
12219 * converter.C: rearrange #includes in Lars' approved fashion.
12221 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12222 forward declare class Timeout in the header file.
12224 * XFormsView.C: changes due to the above.
12226 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12227 similar to LyXView.
12229 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12230 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12232 2002-02-18 José Matos <jamatos@fep.up.pt>
12234 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12237 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12239 * a lot of small ws changes
12240 * add a lot of using std::XXX
12241 * use std construcs some places where approp.
12242 * use some exisint stuff from lyxfunctional where approp.
12243 * Make file changes to use partial linking (lets test this now...)
12245 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12249 remove #include "support/syscontr.h" as it's redundant. Always has been.
12257 change Systemcalls::System to Systemcalls::Wait and
12258 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12259 No change of functionality, just reflects the stripped down Systemcalls
12262 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12264 * debug.[Ch]: add a GRAPHICS type to the enum.
12266 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12270 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12273 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12275 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12276 match the changes below.
12278 * text2.C (toggleInset): if there is not editable inset at cursor
12279 position, try to see if cursor is _inside_ a collapsable inset
12282 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12284 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12285 document menu has a nice checkbox
12287 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12289 * lyxlength.C (asLatexString): change PW to output as percent of
12292 * lengthcommon.C: change '%' to 't%'
12294 * lyxfunc.C (dispatch): a few comments from Martin
12296 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12300 * BufferView_pimpl.h:
12301 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12304 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12306 * vspace.C (inPixels): fix compiler warning
12308 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12310 * lyxfunc.C (getStatus): fix status message for disabled commands.
12312 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12314 * BufferView_pimpl.C: fix crash on close buffer
12315 during selection (#227)
12317 2002-01-27 Herbert Voss <voss@lyx.org>
12319 * buffer.C: link old Figure to new graphic inset
12321 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12323 * FontLoader.C (getFontinfo): Change the latex font names in order
12324 to match the names of type1inst.
12326 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12328 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12330 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12331 (extchanged): ditto
12333 (remove_files_with_extension): ditto
12334 (remove_file): ditto
12337 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12338 document is smaller than the work area height. Do not initialize
12339 static variables to 0.
12341 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12345 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12346 LFUN_LAYOUT_PARAGRAPHS.
12348 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12349 tabular. It is possible to provide a possible cell, which will
12350 typically be the actcell from the corresponding insettabular
12352 * lyxfunc.C (getStatus): small cleanup; disable
12353 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12356 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12358 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12360 * paragraph.C (startTeXParParams):
12361 (endTeXParParams): new methods. The LaTeX code to
12362 start/end paragraph formatting
12363 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12364 empty (fixes bug #200)
12366 * vspace.C (inPixels): adapt to the change below
12367 (inPixels): [later] more cleanups (remove unused variables)
12369 * lyxlength.C (inPixels): change to use a width and a height as
12372 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12375 Replaced with \paperwidth
12377 * DepTable.C (insert): add std:: qualifier
12379 2002-01-18 Allan Rae <rae@lyx.org>
12381 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12384 * text.C (drawInset): Turned out I didn't know enough about how
12385 rebreaking worked. This fixes most of the redraw problems. I see
12386 an occasional cursor trail when a line is broken now and the cursor
12387 placement can seem out by a few pixels also after a rebreak.
12389 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12391 * buffer.C (parseSingleLyXformat2Token): update because minipage
12392 width is now a LyXLength
12394 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12396 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12399 2002-01-17 Juergen Vigna <jug@sad.it>
12401 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12403 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12404 is set correctly and the inset is updated correctly.
12406 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12408 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12409 the beginning of the loop.
12411 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12413 * lyxrc.C: improve help for use_scalable_fonts
12415 2002-01-17 Allan Rae <rae@lyx.org>
12417 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12419 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12422 make sure to set their inset_owner to the right value (bug #171)
12424 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12427 * DepTable.C: Implement mtime checking to reduce time spent doing
12430 2002-01-16 Juergen Vigna <jug@sad.it>
12432 * tabular.C (GetAdditionalHeight): one of error fixed.
12434 * lyxrc.C (output): small fix in writing use_pspell.
12436 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12438 * sp_base.h: #include LString.h
12440 2002-01-16 Allan Rae <rae@lyx.org>
12442 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12443 Can someone check this please?
12445 * text.C (drawInset): It was possible that p.row would be removed by
12446 breakAgainOneRow upsetting a few other settings. There may be another
12447 small tweak possible by setting need_break_row = 0 when p.row has been
12448 removed but I don't know enough about the logic here.
12450 2002-01-15 Allan Rae <rae@lyx.org>
12452 * text.C (insertChar): removed conditional truism.
12454 * BufferView2.C (removeAutoInsets): More tweaks.
12455 cur_par_prev could be a stray pointer. Check for trailing empty line
12456 in case last line was cur_par and only had an error inset on it.
12458 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12463 * vc-backend.C (most methods):
12464 * exporter.C (Export):
12465 * converter.C (convert):
12467 * LyXSendto.C (SendtoApplyCB):
12468 * lyxfunc.C (dispatch):
12472 * lyx_cb.C (AutoSave):
12474 * BufferView_pimpl.C (MenuInsertLyXFile):
12475 * buffer.C (runChktex): use Buffer::filePath().
12477 * buffer.h: rename filename to filename_; rename filepath to
12478 filepath_ and make it private
12479 (filePath): new method
12481 * buffer.C (writeFile): use fileName()
12484 * lyx_main.C (init): fix starting of LyX when the binary is a
12485 link from so,ewhere else.
12487 * minibuffer.C: include <cctype> for isprint
12489 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12491 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12492 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12493 name clash with InsetCollapsable's width function.
12495 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * lastfiles.C: include <iterator>
12499 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12501 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12504 * buffer.C (makeLaTeXFile): ditto.
12505 Also make loop operation more transparent.
12507 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12509 * ToolbarDefaults.C: remove trailing comma closing namespace.
12511 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12513 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12516 * trans.C (Load): comment out unused variable, allowed.
12518 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12520 * minibuffer.[Ch] (append_char): new method to recieve input from the
12521 drop-down completion browser. If a key was pressed, then recieve this
12522 char and append it to the existing string.
12523 (peek_event): modify the positioning data passed to the completion
12524 browser so that it can be placed above the minibuffer rather than below.
12525 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12527 * LyXAction.C (init): alloe error-next for readonly documents.
12529 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12532 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12534 * bufferlist.C (readFile): create the buffer _after_ checking that
12537 * lyxfunc.C (verboseDispatch): fix handling of arguments
12539 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12541 * lyxrc.C: use string::erase() instead of initializing to "".
12544 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12546 * BufferView_pimpl.h:
12547 * BufferView_pimpl.C:
12550 * text2.C: tell X when we have made a selection for copying
12552 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12554 * BufferView_pimpl.C (MenuInsertLyXFile):
12555 * lyxfunc.C (menuNew):
12557 (doImport): add shortcuts to directory buttons
12559 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12562 * lyxfunc.C (setStatusMessage):
12563 (getStatusMessage): new methods
12564 (getStatus):use setStatusMessage instead of setErrorMessage
12565 (dispatch): when function is disabled, set error message here
12566 [instead of in getStatus previously]
12568 * BufferView_pimpl.C (workAreaButtonRelease): update
12569 toolbar/menubar here too.
12571 2002-01-13 Allan Rae <rae@lyx.org>
12573 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12574 Now seems indestructible. Remaining task is to audit all other
12575 code affected by deleteEmptyParagraphMechanism. One small quirk
12576 left is that an empty document with an error in the preamble can
12577 be made to report an error but no error box appears. I don't know
12579 (removeAutoInsets): Improved comments.
12581 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12584 * Thesaurus.C: update for Aiksaurus 0.14
12586 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12588 * text2.C (firstParagraph): removed member function, all uses
12589 replaces with ownerParagraph
12590 (redoParagraphs): here
12591 (updateInset): here
12592 (toggleAppendix): here
12593 * BufferView2.C (insertErrors): here
12594 (setCursorFromRow): here
12596 2002-01-13 Allan Rae <rae@lyx.org>
12598 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12599 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12600 There is still a way to segfault this although you may have to do this
12601 multiple times: Have an InsetERT with an unknown command in it.
12602 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12603 <down-arrow>, <Enter> again, View->DVI, BANG!
12605 * text2.C (setCursor):
12606 (deleteEmptyParagraphMechanism):
12607 * lyxtext.h (setCursor):
12608 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12609 Making use of the return value may help fix other bugs.
12611 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12613 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12615 * LyXView.C (updateMenubar): call MenuBar::update here
12616 (updateToolbar): but not here
12617 (showState): do not update toolbar/menubar
12619 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12620 should need to care about that.
12622 * lyxfunc.C (verboseDispatch): simplify a bit
12623 (getStatus): have a version which takes a pseudoaction, and
12624 another which requires a (kb_action,string).
12626 * LyXAction.C (retrieveActionArg): make it work also when action
12627 is not a pseudo-action.
12628 (getActionName): simplify a bit
12631 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * lyxfunc.C (verboseDispatch): new families of methods with
12634 several ways to specify a command and a bool to indicate whether
12635 the command name and shortcut should be displayed in minibuffer
12636 (eventually, we could extend that to a finer bitmask like
12637 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12638 (dispatch): the pristine dispatch command which just, well,
12639 dispatchs! Note it still sets its result to minibuffer; I'm not
12642 * lyxfunc.h: remove setHintMessage
12644 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12646 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12648 * BufferView_pimpl.C (specialChar): delete new inset if we have
12649 not been able to insert it.
12651 * kbmap.C: revert to using int instead of kb_action, since all we
12652 are dealing with is pseudo-actions.
12654 * LyXAction.C (searchActionArg): change to return int instead of
12655 kb_action, since the result is a pseudoaction.
12657 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12659 * buffer.C (insertErtContents): Fix (partially) the font bug.
12661 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12663 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12664 as the other one is broken on my machine!
12666 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12669 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12671 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12673 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12674 reflect their actual use. Provide compatibility code for older lyxrc
12677 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12679 change names of popup font variables in line with the changes to lyxrc.C
12681 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * buffer.C (asciiParagraph): avoid outputing a word twice after
12686 * lyxrc.C (getDescription): document that document_path and
12687 template_path can be empty.
12689 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12691 * LaTeXFeatures.C (getMacros):
12692 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12694 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12696 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12698 (getPackages): rename feature "floats" to "float". Use an array to
12699 iterate over 'simple' features (i.e. just a \usepackage). Add
12700 handling of "amsmath" (renamed from "amsstyle").
12702 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12704 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12707 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12709 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12710 FuncStaus::FuncStatus & FuncStaus::some_method().
12712 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12714 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12715 of the func_satus stuff. Edited and massaged in various ways by
12718 * lyxfunc.C (getStatus): use FuncStatus
12720 2002-01-08 Juergen Vigna <jug@sad.it>
12722 * text.C (nextBreakPoint): use function Inset::isChar().
12724 * paragraph.C (TeXOnePar): use function
12725 Inset::forceDefaultParagraphs.
12727 * buffer.C (latexParagraphs): use function
12728 Inset::forceDefaultParagraphs.
12730 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12732 * lyx_gui.C (init): set the style of the menu popups to
12733 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12735 2002-01-07 Juergen Vigna <jug@sad.it>
12737 * text.C (setHeightOfRow): small fix
12738 (prepareToPrint): don't look at alignment if we don't have the place
12741 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12743 * box.C: New file. Move the Box methods and functions out of box.h,
12744 following Lars' suggestion.
12746 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12748 * box.h: #include "support/LOstream.h", needed for inlined function.
12751 * lyxtextclasslist.C: added some using std declarations.
12753 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12755 * box.h: make signed dimensions to allow insets wider than
12756 the screen (bug #162)
12758 * BufferView_pimpl.C: add some insetHit debug
12760 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12762 * vc-backend.C: add FIXME
12764 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12766 * lyxfunc.C (getStatus): enable code for showing math font status
12769 2002-01-07 Juergen Vigna <jug@sad.it>
12771 * text.C (nextBreakPoint): removed debug output not needed anymore.
12773 2002-01-06 Juergen Vigna <jug@sad.it>
12775 * text.C (nextBreakPoint): fixed up this function we had this bug
12776 since ever but now hopefully we break row better.
12777 (insertChar): we have to check if an inset is the next char as it
12778 could now happen that a large inset is causing a break.
12780 2002-01-05 Juergen Vigna <jug@sad.it>
12782 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12783 if it doesn't like to be drawed.
12785 2002-01-04 Juergen Vigna <jug@sad.it>
12787 * BufferView2.C (lockInset): forgot to set a cursor.
12789 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12791 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12793 * FormMathsPanel.C:
12796 * form_maths_panel.C:
12797 * form_maths_panel.h:
12798 * form_maths_panel.fd: implemented sub- and super- buttons in math
12801 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12802 (or ^ space) to be used as in TeX (req'd by André).
12804 * lyxfunc.C: Allow ^ and _ again to be used both as
12805 super/subscript (mathed) and as themselves (in text).
12807 2002-01-03 Allan Rae <rae@lyx.org>
12809 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12810 "LyX" or the filename of the current buffer if it has one. This is a
12811 modified form of John Levon's patch.
12813 * XFormsView.C (setWindowTitle): also set icon title.
12815 * LyXView.h (setWindowTitle): signature changed.
12816 * XFormsView.h (setWindowTitle): ditto.
12818 2002-01-02 Juergen Vigna <jug@sad.it>
12820 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12822 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * screen.C (topCursorVisible): introduce a temp var for
12825 text->cursor.row(), handle the case where this row is null. (kindo
12828 * text2.C (setCursor): add a couple of asserts.
12830 * paragraph.h (inset_iterator): add -> operator
12832 * paragraph.[Ch] (autoDeleteInsets): remove member function
12834 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12835 cursor pos correctly and handle inset deletion by itself.
12836 (insertErrors): move iterator declaration out of for expression
12838 * lyxtextclass.C: add <algorithm>
12840 * Makefile.am: added the new files to sources, removed layout.C
12842 * layout.C: removed file
12844 * layout.h: remove LYX_DUMMY_LAYOUT
12846 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12850 * lyxtextclass.[Ch]:
12851 * lyxtextclasslist.[Ch]: new files
12853 * include order changes to a lot of files, also changes because of
12856 2001-12-27 Juergen Vigna <jug@sad.it>
12858 * buffer.C (asciiParagraph): more fixes.
12860 * tabular.C (ascii): make ascii export support export of only the
12861 data separated by a column-delimiter.
12862 (ascii): better support for ascii export.
12864 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12866 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12868 * tabular_funcs.C: use a "using std::getline" instead of the
12869 previous fix from Angus (necessary for cxx + lyxstring)
12871 2001-12-24 Juergen Vigna <jug@sad.it>
12873 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12875 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12876 problems. First check a minipage also if we have some ert-contents
12877 (not only on par->size(), second set the right depth of the paragraph
12878 on the relink to the root-paragraph-list!
12880 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12881 which then did not anymore update the main paragraphs on undo/redo!
12883 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12886 code. Support all font-changing funcs (even those which are not in
12887 menu currently). Support for reporting font settings in
12888 mathed (disabled until Andre provides a function on mathed's side).
12890 * func_status.h (toggle): small helper function to set toggle
12893 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12895 * tabular_funcs.C: getline -> std::getline
12897 2001-12-21 Juergen Vigna <jug@sad.it>
12899 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12900 accessed and could be 0 (I couldn't generate this but it seems
12903 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12905 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12906 * tabular_funcs.h: here and include iosfwd
12908 2001-12-20 Juergen Vigna <jug@sad.it>
12910 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12911 inside inset but undo_par was.
12913 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12915 * Thesaurus.C: always include <config.h> in sources.
12919 * box.h: do not include <config.h> in header files
12921 * text.C (paintLastRow): remove unused variable
12923 * text.C (transformChar):
12925 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12927 * Painter.C (text):
12928 * font.C (width): rewrite to use uppercase() instead of
12931 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12933 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12935 * lyxfind.C: clean up of find failure position change
12937 2001-12-20 Juergen Vigna <jug@sad.it>
12939 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12941 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12942 (TeXRow): added to LaTeX a single tabular row.
12943 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12944 (Latex): simplified and finally good LT-h/f support.
12945 (various_functions): just small adaptions for LT-h/f support.
12947 * tabular_funcs.[hC]: added and moved here all not classfunctions
12950 2001-12-19 Juergen Vigna <jug@sad.it>
12952 * tabular.[Ch]: better support for longtabular options (not finished
12955 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * text.C (paintLastRow): use the label font instead of the font of
12958 the last character to compute the size of *_BOX. This makes more
12959 sense and avoids a crash with empty paragraphs.
12960 Use Painter::rectangle to draw EMPTY_BOX.
12962 2001-12-19 Juergen Vigna <jug@sad.it>
12964 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12965 the paragraphs if the replaced paragraph is not the first one!
12966 Tried to delete not used paragraphs but does not work yet so for
12967 now it's inside #ifdef's and by default off!
12969 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12971 * MenuBackend.C: include "lyx_main.h" instead of declaring
12972 lastfiles (actually was declared as LastFiles* instead of a
12975 2001-12-17 Juergen Vigna <jug@sad.it>
12977 * tabular.C (AppendColumn): applied John's fix
12979 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12983 * BufferView_pimpl.h:
12984 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12987 * box.h: new start of class for above
12989 * lyxfunc.C: ignore space-only minibuffer dispatches.
12990 Show the command name when it doesn't exist
12992 * minibuffer.C: don't add empty lines to the history
12994 * minibuffer.C: add a space on dropdown completion
12996 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12998 * text.C: fix line above/below drawing in insets
13000 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13002 * lyxlength.C (LyXLength): Initialize private variables.
13004 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13006 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13007 when inserting error insets.
13009 2001-12-13 Juergen Vigna <jug@sad.it>
13011 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13012 actually sometimes the before-paragraph.
13013 (setUndo): don't clear the redostack if we're not actually undoing!
13015 2001-12-06 Juergen Vigna <jug@sad.it>
13017 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13018 and fixed redoing of main paragraph, so we can use it now ;)
13020 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13022 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13024 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13027 2001-12-13 André Pönitz <poenitz@gmx.net>
13030 * undo_func.C: minor cleanup
13032 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13034 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13035 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13036 font in urw-fonts package which is marked as -urw-fontspecific and
13037 does not work (incidentally, changing the encoding in the
13038 fonts.dir of this package to -adobe-fontspecific fixes the
13041 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13042 is a crash when undoing first paragraph (Juergen, please take a
13043 look). THis does not mean the undo fix is wrong, just that it
13046 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13047 the (Paragraph*) version when needed instead of duplicating the
13050 * text.C (workWidth): use Inset::parOwner to find out where the
13051 inset has been inserted. This is a huge performance gain for large
13052 documents with lots of insets. If Inset::parOwner is not set, fall
13053 back on the brute force method
13055 * paragraph_pimpl.C (insertInset):
13056 * paragraph.C (Paragraph):
13057 (cutIntoMinibuffer): set parOwner of insets when
13058 inserting/removing them
13060 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13062 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13068 * mathed/formulabase.C:
13069 * mathed/math_cursor.[Ch]:
13070 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13073 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13075 * lyxlength.[Ch] (operator!=): new function
13077 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * text.C (workWidth): use Inset::parOwner to find out where the
13080 inset has been inserted. This is a huge performance gain for large
13081 documents with lots of insets. If Inset::parOwner is not set, fall
13082 back on the brute force method
13084 * paragraph_pimpl.C (insertInset):
13085 * paragraph.C (Paragraph):
13086 (cutIntoMinibuffer): set parOwner of insets when
13087 inserting/removing them
13089 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13091 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * tabular-old.C (getTokenValue):
13094 * tabular.C (getTokenValue):
13095 (write_attribute): new versions for LyXLength
13096 (everywhere): adjust the use of widths
13098 * tabular.h: change the type of widths from string to LyXLength
13100 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13102 * paragraph.C: fixed missing line number count when exporting
13103 Environments to LaTeX file
13105 * buffer.C: added informational message for checking line numbers.
13107 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13109 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13110 paragraph, do the 'double space' part, but not the 'empty
13113 * text.C (workWidth): small optimization
13114 (getLengthMarkerHeight): use minimal size for negative lengths.
13116 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13118 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13120 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13122 2001-12-11 André Pönitz <poenitz@gmx.net>
13125 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13127 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13129 * text2.C: keep selection on a setFont()
13131 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13133 * lyx_cb.C: another bv->text misuse, from insert label
13135 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13138 * kbsequence.C: re-instate nmodifier mask
13140 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13142 * lyx_main.h: make lyxGUI private.
13144 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13146 * lyxfind.C: place the cursor correctly on failed search
13148 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13150 * text.C (getLengthMarkerHeight): for small heights, the arrows
13151 are not always on top/bottom of the text
13152 (drawLengthMarker): smaller arrows; take the left margin in
13153 account; draw also vfills.
13155 (paintLastRow): remove special code for vfill and standard spaces,
13156 since everything is handled in drawLengthMarker now.
13158 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * buffer.C (insertErtContents): try to handle font and language
13161 interaction a bit better.g
13163 * ColorHandler.C (updateColor): change the hash to cover the whole
13164 LColor enum, ws cleanup
13165 (getGCLinepars): ditto
13166 (getGCLinepars): only lookup in the linecache once.
13168 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13170 * iterators.C (operator++): Make the iterator more robust
13172 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13174 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13176 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13179 * text.C: better added space drawing
13181 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13184 * BufferView2.C: fix layout combo update on inset unlock
13186 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13188 * Makefile.am: don't compile unused files
13190 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13194 * LyXAction.C: remove old LFUN_LAYOUTNO
13196 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13198 * paragraph_pimpl.h:
13199 * paragraph_pimpl.C: isTextAt() doesn't need font param
13201 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13204 * lyxlex.C: little cleanup
13206 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13208 * BufferView_pimpl.C: fix insertAscii for insets
13210 2001-12-05 Juergen Vigna <jug@sad.it>
13212 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13213 set the right font on the "multi" paragraph paste!
13215 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13221 * lyxlength.C: remove out-commented code.
13223 * BufferView_pimpl:
13237 * vc-backend.C: change "while(" to "while ("
13239 * lyxlength.[Ch]: add zero function to check if length is zero or
13241 * lyxgluelength.C: use it
13243 2001-12-05 Allan Rae <rae@lyx.org>
13245 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13246 Works for 2.95.3, from what I understand of Garst's reports this should
13247 work for other g++ versions. We're screwed if the abs(int) definition
13248 changed between bugfix releases of gcc.
13250 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13252 * text.C: fix chapter label offset !
13254 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13257 * text.C: fix hfill at end of line, clean up
13259 2001-12-04 Juergen Vigna <jug@sad.it>
13261 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13262 that we force an update of the inset and it's owners if neccessary.
13264 2001-12-03 Juergen Vigna <jug@sad.it>
13266 * text.C (rowLast): simplified code
13268 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13270 * lyxfunc.C: fix show options on timeout
13272 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13274 * screen.C (topCursorVisible): scroll half a page when the cursor
13275 reached top of bottom of screen
13277 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13279 * minibuffer.C: deactivate on loss of focus
13281 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13283 * vspace.[Ch] (operator!=): add operator.
13285 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13287 * BufferView_pimpl.C: refuse to open an inset when
13288 there's a selection.
13290 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13292 * BufferView_pimpl.C: allow to click on RHS of full row insets
13294 2001-11-30 Juergen Vigna <jug@sad.it>
13296 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13297 insets for undo reasons.
13299 2001-11-28 André Pönitz <poenitz@gmx.net>
13301 * vspace.[Ch]: cosmetical changes
13303 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13313 * kbsequence.C: part re-write of old kb code
13316 * WorkArea.C: remove Lgb_bug_find_hack
13318 2001-11-30 José Matos <jamatos@fep.up.pt>
13320 * buffer.C (makeDocBookFile): add a comment to point a hack.
13321 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13322 Fixed a double write of labels.
13324 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13327 * LaTeX.h Fixed bug in LaTeX class where it would not
13328 re-run latex if no depfiles were changed, but the .dvi was removed.
13330 2001-11-28 André Pönitz <poenitz@gmx.net>
13332 * all the files from the change on 2001/11/26:
13333 use lyx::layout_type instead of LyXTextClass::size_type
13334 use lyx::textclass_type instead of LyXTextClassList::size_type
13336 2001-11-29 Juergen Vigna <jug@sad.it>
13338 * text.C: added support for paragraph::isFreeSpacing()
13340 * buffer.C: same as above
13342 * paragraph.h: inserted isFreeSpacing() function to enable
13343 FreeSpacing inside InsetERT.
13345 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13346 of the paragraph's in the cut/copy buffer to 0!
13348 * text2.C (removeRow): remove the assert as it can!
13350 * lyxtext.h: added helper function firstRow returning firstrow and
13351 made firstrow private again.
13353 * BufferView2.C (lockInset): don't relock if we're already locked!
13355 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13356 the only paragraph.
13357 (removeRow): added Assert::(firstrow)
13359 * debug.C: forgot to add INSETTEXT here.
13361 2001-11-28 Juergen Vigna <jug@sad.it>
13363 * sp_spell.C (initialize): changed error text to more general
13364 spellchecker command use (not only ispell!)
13366 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13368 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13370 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13372 * vspace.C: initialise lyxgluelength on failure
13374 2001-11-28 Allan Rae <rae@lyx.org>
13376 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13377 declaration & definition that looks like a function declaration.
13379 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13381 * BufferView2.C (copy):
13382 (copyEnvironment): do not clear the selection when doing a copy.
13384 * text.C (paintFirstRow): compilation fix
13386 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13388 * tabular.C (Latex): correct line count when writing latex.
13390 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13392 * paragraph_pimpl.h:
13393 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13396 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13400 * LColor.C: change vfillline->added_space
13402 * text.C: add markers and text for added space
13404 * vspace.C: fix comment
13406 2001-11-28 André Pönitz <poenitz@gmx.net>
13408 * paragraph.C: whitespace changes
13409 * all the other files from the change on 2001/11/26:
13410 change *::pos_type into lyx::pos_type
13412 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13414 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13415 language of the document when inserting error insets.
13417 2001-11-26 André Pönitz <poenitz@gmx.net>
13419 * BufferView_pimpl.[Ch]:
13427 * paragraph_pimpl.[Ch]:
13430 * text2.C: reduce header dependencies, introduce type for positions
13432 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13434 * <various>: change to use Alert.h
13436 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13438 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13439 when encountering an unknown token.
13440 (readLyXformat2): Show an error message if there were unknown tokens.
13442 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13445 * BufferView_pimpl.C:
13449 * text2.C: use par->isInset()
13451 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13453 * paragraph_pimpl.h:
13454 * paragraph_pimpl.C: cleanup
13456 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13458 * text2.C (removeRow):
13459 * text.C (setHeightOfRow): remove useless (and costly) call to
13462 2001-11-20 Allan Rae <rae@lyx.org>
13464 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13465 Now need Inset*::checkInsertChar() to return true for appropriate
13466 cases so that the characters in the minibuffer will actually be
13469 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13471 * text.C: change the order of the includes.
13472 (workWidth): initialize it at once.
13473 (workWidth): make maxw unsigned
13474 (setHeightOfRow): remove unused variable (inset)
13475 (selectSelectedWord): remove unused variable (inset)
13476 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13478 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13480 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13481 server is not running.
13483 (closeConnection): add debug info when server is disabled.
13485 * ColorHandler.C (getGCForeground): send debug message to GUI
13488 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13490 * kbmap.C (bind): modify because return conventions of
13491 kb_sequence::parse have changed.
13493 * kbsequence.C (parse): only ignore spaces and not any stupid
13494 control character. This avoids tests like s[i] <= ' ', which are
13495 guaranteed to fail with 8bit characters and signed chars.
13496 Change return code to string::npos when there have been no error
13497 (0 was a bad idea when error is at first character)
13499 2001-11-14 José Matos <jamatos@fep.up.pt>
13502 * buffer.C (simpleDocBookOnePar): removed unused argument.
13504 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13506 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13507 insets which are part of a word. Paragraph::isLetter takes care of
13508 that now. Use Paragraph::isInset to identify insets.
13509 (selectSelectedWord): do not test for hyphenation break.
13511 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13512 that protected spaces are considered as spaces.
13514 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13517 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13520 * lyxserver.C: fix it. and small cleanup.
13522 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13524 * BufferView_pimpl.C: use inline helpers
13527 * LaTeXFeatures.C: fix typos
13530 * Spacing.C: move spacing_string into class
13532 * ToolbarDefaults.C: move stuff into namespace anon
13534 * layout.h: update enum
13536 * lyxfunc.C: use better debug
13538 * minibuffer.h: fix typo
13542 * WorkArea.C: add and use Debug::WORKAREA
13546 * text2.C: code re-organisation, inline helpers
13548 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13550 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13551 std::vector.empty().
13553 2001-11-09 Allan Rae <rae@lyx.org>
13555 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13556 '\n's after tables. Tabular and ERT inset work now makes this no
13559 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13562 * minibuffer.C: fix crash, improve drop-down completion
13564 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13567 * lyxserver.C: invalidate fd's when doing endPipe()
13569 2001-11-08 José Matos <jamatos@fep.up.pt>
13571 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13572 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13575 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13577 2001-11-07 José Matos <jamatos@fep.up.pt>
13580 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13583 * buffer.C (sgmlOpenTag):
13584 * buffer.C (sgmlCloseTag): removed debug info.
13586 * buffer.h (sgmlOpenTag):
13587 * buffer.h (sgmlCloseTag): made public.
13589 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * buffer.C (saveParamsAsDefaults):
13592 * lyx_cb.C (MenuLayoutSave): remove
13594 * LyXAction.C (init):
13596 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13598 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13600 * buffer.C (setPaperStuff): removed from here...
13602 * bufferparams.C (setPaperStuff): ... and moved there.
13604 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13608 * XFormsView.C: add support for drop-down completion
13610 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13612 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13615 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13617 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13620 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13622 * lyx_main.C: change ref to known bugs
13624 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13626 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13627 to work around older babel problems.
13629 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13631 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13633 2001-10-24 Juergen Vigna <jug@sad.it>
13635 * tabular-old.C (ReadOld): below variable changes reflected.
13637 * tabular.[Ch]: added ltType struct for longtable header/footer
13638 defines and changed all instances where they are used. Added
13639 future support for double top/bottom rows.
13641 2001-10-24 José Matos <jamatos@fep.up.pt>
13643 * buffer.h (docbookHandleCaption):
13644 * buffer.C (docbookHandleCaption): removed unused function.
13645 (makeDocBookFile): moved docbook supported version to v4.1.
13647 2001-10-24 José Matos <jamatos@fep.up.pt>
13650 * tabular.C (docbookRow): new function to export docbook code of a row.
13651 (DocBook): now honors the longtable flags.
13653 2001-10-23 José Matos <jamatos@fep.up.pt>
13656 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13657 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13659 * buffer.C (makeLinuxDocFile):
13660 (makeDocBookFile): reworked the preamble, more clean, and with
13661 support for lyx defined entities. Changed the document declaration
13662 to be more XML friendly.
13664 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13665 if we need to output XML that should be done with a filter.
13667 2001-10-22 Juergen Vigna <jug@sad.it>
13669 * sp_pspell.h (class PSpell): add alive function needed in the
13670 controller to see if the spellchecker could be started.
13672 2001-10-22 Juergen Vigna <jug@sad.it>
13674 * buffer.C (insertStringAsLines): modify the font for inserting
13675 chars in certain conditions by calling checkInsertChar(font).
13677 2001-10-19 Juergen Vigna <jug@sad.it>
13679 * text.C (workWidth): use getRow instead of wrong algorithm.
13680 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13682 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13687 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13689 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * text.C (workWidth): do not search for the exact row when
13692 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13693 optimization for big documents.
13695 2001-10-18 Juergen Vigna <jug@sad.it>
13697 * text.C (workWidth): new function with added Inset * parameter.
13699 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13701 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13703 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13704 change return type of getColumnNearX.
13707 * text.C (changeRegionCase): use uppercase/lowercase instead of
13710 (rightMargin): simplify code by factoring out the uses of
13715 (appendParagraph): use Paragraph::size_type
13717 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * vspace.C (asLatexString): add a missing break
13721 2001-10-15 Herbert Voss <voss@perce.de>
13723 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13725 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13730 2001-10-10 André Pönitz <poenitz@gmx.net>
13732 * lyxfunc.C: removed greek_kb_flag.
13734 2001-10-10 Herbert Voss <voss@perce.de>
13736 * lyx_main.C: delete global string help_lyxdir.
13738 2001-10-09 Herbert Voss <voss@perce.de>
13740 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13742 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13744 * lyx_main.C: added global string help_lyxdir.
13746 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13748 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13750 * lyxrc.C (set_font_norm_type): support iso8859-4
13752 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13754 * LaTeX.C (deplog): add another regex for MikTeX
13756 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13758 * lyxrc.C (set_font_norm_type): support iso8859-3
13760 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13762 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13764 * LaTeXFeatures.C: remove special case of french and index
13766 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13767 before \begin{document}). This solves several incompatibilities.
13769 2001-10-03 Garst Reese <reese@isn.net>
13771 * lyx_cb.C: change CheckTex error msg.
13773 2001-10-03 José Matos <jamatos@fep.up.pt>
13775 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13777 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13779 * .cvsignore: update
13781 * lyx_main.C (commandLineVersionInfo): use new style version info.
13783 * buffer.C (writeFile):
13785 (makeLinuxDocFile):
13786 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13788 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13790 * version.h: update to use stuff in version.C
13792 * version.C.in: new file. Contains version information determined
13793 at compile time. This is a merging of version.h and
13796 2001-10-03 Juergen Vigna <jug@sad.it>
13798 * BufferView_pimpl.C (update): don't change "dirty" status in
13801 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13803 * WorkArea.C (c-tor): re-position version string slightly.
13805 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13807 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13808 revert to previous code.
13810 WorkArea.[Ch]: (show, destroySplash): methods removed.
13812 WorkArea.C: rework code so that it's an amalgam of the codes before and
13813 after the splash screen was moved to WorkArea.
13815 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13818 * vspace.C (inPixels):
13821 * buffer.C (insertStringAsLines):
13822 (asciiParagraph): fix types to be large enough
13824 * lyxlex_pimpl.h: change member status from short to int
13826 * layout.h: fix type of endlabeltype
13829 * kbsequence.C (parse): change return type to string::size_type
13831 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13834 * Bullet.C (bulletSize):
13835 (bulletEntry): do not use short ints as parameters
13837 * BufferView2.C (insertLyXFile): change a char to an int.
13839 * WorkArea.C (WorkArea): remove unneeded floats in computation
13841 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13843 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13845 * paragraph.C (asString): Do not ignore newline/hfill chars when
13846 copying to the clipboard.
13848 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13850 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13851 after a multi-line inset.
13853 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13855 * paragraph.C (validate): Set NeedLyXFootnoteCode
13857 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13859 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13860 and decrease-error to decrease.
13862 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13865 it more readable (should be equivalent)
13867 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13869 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13871 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13873 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13874 of a cursor (row, etc.) after a character has been deleted
13875 (deleteEmptyParagraphMechanism): call the method above on _all_
13876 cursors held by the LyXText when a double space has been
13879 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13881 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13883 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13885 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13886 background. Use greyOut() and the new show() methods to toggle between
13887 the foreground and background. Add code to remove the splash after
13888 its initial showing.
13890 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13891 (create_forms): no longer call Dialogs::showSplash.
13893 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * .cvsignore: add version_info.h
13897 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13899 * version_info.h.in: new file
13901 * Makefile.am: add version_info.h.in
13903 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13904 version_info.h instead of VERSION_INFO
13906 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13908 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13909 The ERT inset now returns string().
13911 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13913 * lyxtext.h, text.C (selectNextWord): renamed as
13914 selectNextWordToSpellcheck.
13916 * text.C (selectNextWordToSpellcheck): Modified to not select
13917 words inside an ERT inset.
13919 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * lyx_cb.C (MenuLayoutSave): change a bit the question
13923 * sp_base.h: include <sys/types.h>
13925 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13927 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13929 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13931 * several files: fix typos in user-visible strings
13933 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13935 * text2.C (pasteSelection): do not set the selection, since it
13936 will be cleared later. Actually, the intent was to fix the way the
13937 selection was set, but I figured rmoving the code was just as good.
13939 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13941 * FontLoader.C (available): Check if font is available without
13944 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13946 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13948 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13950 * lyxrc.[Ch]: added display_graphics variable and associated code.
13952 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * bufferparams.C (hasClassDefaults): new method. Returns true if
13955 the buffer parameters correspond to known class defaults
13957 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13959 * XFormsView.C (show): set minimum size to the main window.
13961 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * text2.C (copySelection):
13965 * lyxfind.C (LyXReplace):
13966 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13967 LyXText::selectionAsString.
13969 * paragraph.C (asString): add "label" argument to the second form
13971 * text2.C (selectionAsString): add "label" argument and pass it to
13972 Paragraph::asString.
13974 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13976 * lyx_main.C (commandLineHelp): remove version information
13978 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13980 * lyx_main.C: add -version commandline option
13982 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13984 * paragraph.h: make the optional constructor arg required instead.
13985 some modifications to other files because of this.
13987 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13989 * lyxserver.C (C_LyXComm_callback): make it static
13991 * lyx_main.C (error_handler): make it static
13993 * lyx_gui.C (LyX_XErrHandler): make it static
13995 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13997 * WorkArea.C: make the extern "C" methods static.
13999 * Makefile.am (lyx_LDADD): simplify
14001 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14003 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14004 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14006 * LyXAction.C (init):
14007 * lyxfunc.C (dispatch): associated code removal.
14009 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14011 * lyxfont.h (isSymbolFont): shut off warning
14013 * text.C (setHeightOfRow):
14014 (getVisibleRow): fix crash with empty paragraphs which have a
14017 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14019 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14022 2001-09-04 José Matos <jamatos@fep.up.pt>
14025 * tabular.C (docbook): rename docBook method to docbook.
14027 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14029 * Makefile.am: add dependencies to main.o.
14031 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14033 * FontLoader.C (available): Return false if !lyxrc.use_gui
14035 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14037 * FontInfo.C (query):
14038 * converter.C (view):
14039 * importer.C (Import):
14040 * exporter.C (Export): Can not -> cannot.
14042 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14044 * BufferView_pimpl.C: allow to create index inset even if
14047 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14049 * buffer.C (getLists): replace boost::tie code with an explicit pair
14050 as boost::tie can break some compilers.
14052 * iterators.h: Added a std:: declaration to the return type of
14055 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14057 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14060 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14062 * iterators.[Ch]: New files. Provide paragraph iterators.
14064 * buffer.C (changeLanguage): Use paragraph iterators.
14065 (isMultiLingual): ditto
14067 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14069 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14071 * FontLoader.C: Support for cmr font.
14073 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14075 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14076 (available): New method.
14078 * FontInfo.C (getFontname): Use scalable fonts even when
14079 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14082 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14084 * converter.C (Formats::view): reverted! Incorrect fix.
14086 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14088 * converter.C (Formats::view): only output the -paper option
14089 if the dvi viewer is xdvi, thereby fixing bug #233429.
14091 2001-08-23 Herbert Voss <voss@perce>
14093 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14095 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14097 * Spacing.h (Spacing): Set space to Default on in the default
14100 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14102 * vc-backend.h (RCS::versionString): add RCS to version
14103 (CVS::versionString): add CVS to version
14105 * vc-backend.C (scanMaster): do not add CVS to version.
14106 (scanMaster): do not add RCS to version
14108 * lyxvc.C (versionString): new method
14110 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14112 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14114 * Spacing.C (set): initialize fval
14116 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14118 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14121 2001-08-16 Juergen Vigna <jug@sad.it>
14123 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14125 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14127 * BufferView_pimpl.C:
14130 * text2.C: setParagraph takes linespacing now
14132 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14134 * LyxAction.C: add internal LFUN_CITATION_INSERT
14136 * LyXView.C: actually apply fix
14138 * bufferlist.C: fix open non-existent file
14140 * lyxfind.C: fix indentation
14142 * lyxfunc.C: remove unneeded assert, fix typo
14144 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14146 * MenuBackend.C: use "Floatname List"
14148 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14150 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14151 when converting LaTeX layout to insetERT.
14152 Generate a non-collapsed float when reading old float
14154 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14156 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14159 2001-08-13 Juergen Vigna <jug@sad.it>
14161 * text.C (fill): return 0 instead of 20 as this seems to be the more
14164 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14166 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14169 2001-08-13 Juergen Vigna <jug@sad.it>
14171 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14173 (SearchBackward): comment out the unlocking of the inset_owner this
14174 should not be needed!
14176 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14178 * Many files: Remove inherit_language, and add latex_language
14180 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14181 collapsible insets.
14183 2001-08-10 Juergen Vigna <jug@sad.it>
14185 * text.C (prepareToPrint): fixed hfill-width in draw!
14187 * BufferView2.C (selectLastWord): save the selection cursor as this
14188 now is cleared in the function LyXText::clearSelection!
14190 2001-08-08 Juergen Vigna <jug@sad.it>
14192 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14193 BACKSPACE type functions.
14195 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14196 is only cutted from the document but not put in the cut-buffer, where
14197 still the old stuff should be.
14199 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14201 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14203 * tabular.C (SetWidthOfCell): fixed special case where the width
14205 (LeftLine): handle '|' in align_special.
14207 (LeftAlreadyDrawed): ditto
14208 (SetWidthOfCell): ditto
14210 2001-08-07 Juergen Vigna <jug@sad.it>
14212 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14214 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14216 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14217 * lyxlex.[hC]: ditto
14219 2001-08-06 Juergen Vigna <jug@sad.it>
14221 * text.C (getVisibleRow): fix up row clearing a bit.
14223 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14225 * minibuffer.C: make sure the X server sees the changes in the input.
14227 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * paragraph.C (getFont): split into...
14230 (getLabelFont): this
14231 (getLayoutFont): and this
14232 * paragraph_pimpl.C (realizeFont): calling this
14234 * text2.C (getFont): split into...
14235 (getLayoutFont): this
14236 (getLabelFont): and this
14237 (realizeFont): all three calling this
14239 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14242 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14244 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14246 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14248 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14249 layouts from the Quote inset insertion.
14251 2001-08-03 Juergen Vigna <jug@sad.it>
14253 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14255 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14256 only if status not is already CHANGED_IN_DRAW (second level).
14258 * text.C (draw): don't set the need_break_row when inside an
14261 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * buffer.C (parseSingleLyXformat2Token): handle more latex
14266 * bufferview_funcs.[hC]: change function names to
14267 begin with small char, adjust other files.
14269 2001-08-02 André Pönitz <poenitz@gmx.net>
14272 BufferView_pimpl.C: remove broken special code for math-greek
14274 2001-08-02 Juergen Vigna <jug@sad.it>
14276 * BufferView_pimpl.C (update): redone this function so that we
14277 update the text again if there was a CHANGE_IN_DRAW.
14279 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14280 (drawFromTo): added a new internal bool which is used by draw() and
14282 (general): some cursor drawing problems fixed.
14284 2001-08-01 Juergen Vigna <jug@sad.it>
14286 * lyxfind.C (LyXFind): fixed
14287 (SearchForward): ditto
14288 (SearchBackward): ditto
14290 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14291 spurius drawing of the cursor in the main area.
14293 * text2.C (status): small fix which could lead to a segfault!
14294 (clearSelection): remove unneeded BufferView param.
14296 2001-08-01 André Pönitz <poenitz@gmx.net>
14298 * lyxfunc.C: small change due to changed mathed interface
14300 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14302 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14304 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14306 * lyxfunc.c: fail gracefully if file doesn't exist
14311 * BufferView_pimpl.C: IsDirWriteable() proto changed
14313 * LyXView.C: fix updateWindowTitle() to store the last title
14315 2001-07-31 Juergen Vigna <jug@sad.it>
14317 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14318 the font (wrong since using of Paragraph::highestFontInRange).
14320 * paragraph.C (highestFontInRange): added a default_size parameter.
14322 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14323 (setHeightOfRow): reformat
14325 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14327 * converter.[hC] + affected files: move to (inital-char)lowercase
14330 * ParagraphParameters.C (ParagraphParameters): remove commented code
14332 * PainterBase.[Ch]: remove commented code
14334 * LaTeXFeatures.h: add "bool floats" for float.sty
14336 * LaTeXFeatures.C (LaTeXFeatures): init floats
14337 (require): handle float
14338 (getPackages): do it with floats
14340 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14342 * BufferView_pimpl.C (Dispatch): improve handling of
14343 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14345 * commandtags.h: #include lyxfont.h here temporarily to avoid
14348 * bufferlist.h: include LString.h here.
14350 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * text2.C (getStringToIndex): new method.
14354 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14356 * *: Reduced header file dependencies all over.
14358 2001-07-30 Baruch Even <baruch@lyx.org>
14360 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14362 2001-07-29 Baruch Even <baruch@lyx.org>
14364 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14366 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14368 * ParameterStruct.h (endif): add a default constructor to make
14369 sure that all variables is initialized.
14371 * ParagraphParameters.C (ParagraphParameters): adjust
14373 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14376 index; also, check that there is something to index, and that it
14377 does not span over several paragraphs.
14378 (doubleClick): use WHOLE_WORD_STRICT for double click.
14380 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14382 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14385 2001-07-26 Baruch Even <baruch@lyx.org>
14387 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14388 an InsetFig figure, backwards compatible reading of old figure code.
14390 2001-07-27 Juergen Vigna <jug@sad.it>
14392 * text2.C: font.realize function adaption.
14394 * text.C (draw): add a warnings lyxerr text if needed.
14396 * layout.C: font.realize function adaption.
14398 * language.C: add inherit_language and implement it's handlings
14400 * bufferview_funcs.C (StyleReset): remove language parameter from
14401 font creation (should be language_inherit now).
14403 * bufferparams.C (writeFile): handle ignore_language.
14405 * paragraph.C (getFontSettings): the language has to be resolved
14406 otherwise we have problems in LyXFont!
14408 * lyxfont.C (lyxWriteChanges): added document_language parameter
14409 (update): removed unneeded language parameter
14411 * paragraph.C (validate): fixed wrong output of color-package when
14412 using interface colors for certain fonts in certain environments,
14413 which should not seen as that on the final output.
14415 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14417 * BufferView_pimpl.C:
14422 * LyXAction.C: add thesaurus support
14425 * lyxfind.C: add "once" parameter, for thesaurus, to not
14426 move to the next match
14428 2001-07-26 Juergen Vigna <jug@sad.it>
14430 * lyxfont.C (realize): honor ignore_language too!
14433 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14435 * text.C (draw): one place more for ignore_language to not draw
14438 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14440 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14442 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14444 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14445 the minipage conversion problem.
14447 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14449 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14452 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14454 * BufferView.h: don't forward declare WorkArea
14456 * BufferView.C: don't include WorkArea.h
14458 2001-07-25 André Pönitz <poenitz@gmx.net>
14462 * lyxfunc.C: new LFUN 'math-space'
14464 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14466 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14468 * text2.C (toggleInset): call open/close
14470 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14472 * lyxfunc.C (dispatch): add debug for the disabled case
14474 * font.C (buttonText): make similar to rectText
14476 * buffer.C (readInset): comment out parsing of insetlist and
14479 * PainterBase.C (rectText): small correction
14481 * BufferView_pimpl.C: comment out insettheorem and insetlist
14482 * LyXAction.C: ditto
14483 * commandtags.h: ditto
14485 2001-07-24 Juergen Vigna <jug@sad.it>
14487 * text.C (draw): honor the ignore_language.
14489 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14491 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14493 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14496 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14498 * lyxtext.h: remove unused (and unimplemented) methods
14500 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14502 * text.C (getVisibleRow): honor background color
14505 * Painter.h: remove default color argument for fillRectangle
14507 * text.C (backgroundColor): new method
14509 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14511 * text.C (getVisibleRow): adjust
14513 * font.[Ch] (rectText): new method, metrics
14514 (buttonText): new method, metrics
14516 * PainterBase.[hC]: make rectText and buttonText always draw and take
14519 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14521 * ToolbarDefaults.C (read):
14522 * MenuBackend.C (read): allow escaping in all strings
14524 * BufferView_pimpl.C (insertAndEditInset): new method.
14525 (Dispatch): use insertAndEditInset whenever appropriate.
14527 * BufferView_pimpl.C (insertNote): removed
14529 * BufferView_pimpl.C (smartQuote): new method, moved from
14530 BufferView; if an insetquote cannot be inserted, insert a '"'
14533 * BufferView2.C: remove insertCorrectQuote();
14535 * lyxfunc.C (getStatus): Add support for all remaingin
14536 inset-insert lfuns.
14538 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14540 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14541 command (necessary to pass " as parameter of self-insert.
14543 * text.C (selectWordWhenUnderCursor):
14544 (selectWord): add word_location parameter
14545 (selectWordWhenUnderCursor): same + remove special code for word
14547 (selectNextWord): use kind() to guess type of insetspecialchar,
14550 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14551 (insertErtContents): create ert insets as collapsed.
14552 (readInset): better compatibility code for Info inset.
14554 2001-07-20 Juergen Vigna <jug@sad.it>
14556 * lyxfunc.C (dispatch): use always LyXFind now!
14558 * text2.C (init): add a reinit flag so that the LyXText can be
14559 reinited instead of deleted and reallocated (used in InsetText).
14561 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14567 2001-07-18 Juergen Vigna <jug@sad.it>
14569 * text.C (selectNextWord): handle insets inside inset by calling
14570 always the bv->text functions so that we can go up the_locking_inset!
14572 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14573 in strange locations when inside an inset!
14575 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14576 handling to include insets.
14578 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14580 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14582 * LyXAction.C (init):
14584 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14585 LIGATURE_BREAK, since the name is so stupid.
14587 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14589 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14592 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14594 * sp_form.[Ch]: remove.
14596 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14598 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14601 * src/buffer.C (readInset): ditto.
14603 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14605 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14606 menuSeparator(), endOfSentenceDot(), ldots() and
14607 hyphenationPoint(), which are therefore removed.
14608 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14610 * LyXAction.C (init):
14611 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14613 * paragraph.C (getWord): removed.
14615 * BufferView_pimpl.C (Dispatch): use last word or selection for
14616 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14618 * lyx_main.C (queryUserLyXDir): do not ask before creating
14619 user_dir, except if it has been named explicitely.
14621 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14623 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14624 a document of zero size.
14626 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14628 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14629 approriately in the c-tor and in require().
14630 (getPackages): output the appropriate LaTeX for natbib support.
14632 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14633 variables "use_natbib" and "use_numerical_citations" when reading the
14635 (readInset): read the various natbib cite commands.
14636 (validate): white-space change.
14638 * bufferparams.[Ch]: new variables "bool use_natbib" and
14639 "bool use_numerical_citations".
14640 (writeFile): output them in the LyX file.
14642 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14644 * lyxfunc.C (getStatus): add support for all the inset insertion
14647 * text2.C (insertInset):
14648 * paragraph.C (insetAllowed):
14649 * BufferView_pimpl.C (insertInset): update to take in account the
14650 renaming of insertInsetAllowed
14652 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14654 * text2.C (getInset): new method. returns inset at cursor position.
14656 * BufferView_pimpl.C (Dispatch): changes because of this.
14658 * LyXAction.C (init): rename open-stuff to inset-toggle.
14660 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14662 * text2.C (toggleInset): renamed from openStuff; use
14665 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14667 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14669 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14671 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14673 * buffer.C (readLyXformat2): Add filename to the error dialog
14675 2001-07-18 Juergen Vigna <jug@sad.it>
14677 * tabular.C (GetCellNumber): put an assert here instead of the check!
14679 2001-07-17 Juergen Vigna <jug@sad.it>
14681 * BufferView_pimpl.C (toggleSelection): adapted too.
14683 * text.C (selectNextWord): adapted for use with insets.
14684 (selectSelectedWord): ditto
14686 2001-07-17 Juergen Vigna <jug@sad.it>
14688 * sp_spell.C (PSpell): fix initialitation order.
14690 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * paragraph.C: spacing
14694 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14696 * sp_spell.C: repair language selection for pspell
14698 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14700 * lyxfunc.h: change more methods to begin with lower char.
14702 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14704 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14705 for unknown layouts.
14707 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14709 * buffer.C (readLyXformat2): Generate an error dialog if there are
14712 2001-07-16 Juergen Vigna <jug@sad.it>
14714 * sp_spell.C: always compile ISpell part.
14716 * lyxrc.C: added use_pspell entry and it's handling.
14718 2001-07-13 Juergen Vigna <jug@sad.it>
14720 * sp_spell.C: removed double includes.
14722 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14724 Consistent use of Lsstream.h:
14725 * Lsstream.h: added using std::stringstream for consistencies sake.
14727 * buffer.C: removed using std::stringstream
14729 * lyxfont.C (stateText):
14730 * paragraph.C (asString):
14731 * text.C (selectNextWord, selectSelectedWord):
14732 * text2.C (setCounter):
14733 * vspace.C (asString, asLatexString):
14734 std::ostringstream -> ostringstream.
14736 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14738 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14739 * commandtags.h: add LFUN_HELP_ABOUTLYX
14740 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14742 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14744 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14746 * lyx_gui_misc.C: remove spellchecker
14747 * lyxfunc.C: showSpellchecker
14749 * sp_ispell.h: added
14750 * sp_pspell.h: added
14751 * sp_spell.C: added
14752 * sp_form.[Ch]: removed
14753 * spellchecker.[Ch]: removed
14755 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14757 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14759 (simpleTeXSpecialChars): Simply print the input character without
14760 any special translation if pass_thru is set.
14762 * layout.h: Added bool pass_thru to layout class for being able to
14763 implement pass through of a paragraph for Literate Programming.
14765 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14766 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14767 * layout.C (Read): add "passthru" to list of layout tags and add
14768 code to set the pass_thru boolean when it is read.
14770 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14772 * trans_decl.h: remove allowed from KmodInfo
14774 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14775 remove allowed code
14778 * paragraph_pimpl.C (erase): use boost::prior
14780 * Painter.C (text): use data() instead of c_str() when length is
14782 * WorkArea.C (putClipboard): ditto
14783 * font.h (width): ditto
14785 * BufferView2.C: use it-> instead of (*it). for iterators
14787 * paragraph_pimpl.C: ditto
14788 * paragraph.C: ditto
14789 * minibuffer.C: ditto
14790 * language.C: ditto
14792 * encoding.C: ditto
14793 * counters.C: ditto
14794 * converter.C: ditto
14796 * Variables.C: ditto
14797 * TextCache.C: ditto
14798 * MenuBackend.C: ditto
14799 * LyXAction.C: ditto
14801 * FloatList.C: ditto
14802 * DepTable.C: ditto
14803 * ColorHandler.C (LyXColorHandler): ditto
14805 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14807 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14809 * text2.C (openStuff): reintroduce this method (which had been
14810 nuked in NEW_INSETS frenzy).
14812 * lyxfunc.C (Dispatch): when an action has not been handled, use
14813 its name in the error message, not its number.
14815 * paragraph.C (inInset): change method name to begin with lowercase.
14818 * text2.C: updates because of this.
14820 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * ToolbarDefaults.C (add): add spaces in error message
14824 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14826 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14827 (readLyXformat2): rename return_par to first_par, use lyxlex's
14828 pushToken and remove the manual push handling.
14829 (parseSingleLyXformat2Token): add another ert comp. variable:
14830 in_tabular, rename return_par to first_par. handle newlines better
14832 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14836 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * text2.C (getParFromID): removed
14840 * buffer.C (getParFromID): new method moved form lyxtext.
14841 * BufferView2.C (insertErrors): adjust
14842 (setCursorFromRow): adjust
14843 * BufferView_pimpl.C (restorePosition): adjust
14844 * lyxfunc.C (Dispatch): adjust
14845 * undo_funcs.C (textUndo): adjust
14847 (textHandleUndo): adjust
14848 (textHandleUndo): adjust
14850 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14852 * buffer.C: up' the LYX_FORMAT
14854 * lyxfont.h: turn NO_LATEX on as default
14856 * buffer.C (insertErtContents): new methods of tex style compability.
14857 (parseSingleLyXformat2Token): use it several places.
14858 * tabular.C (OldFormatRead): and here
14860 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14862 * text2.C: remove some commented code.
14865 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14866 * trans.C: changes because of the above.
14868 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14870 * text2.C (setCounter): Fix counters bug with bibliography layout.
14872 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14874 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14875 own member functions
14876 (simpleTeXSpecialChars): ditto
14878 2001-07-06 Juergen Vigna <jug@sad.it>
14880 * a lot of files: changed the access to LyXText::status and the
14881 call of undo-functions.
14883 * undo.[Ch]: added a inset_id to the undo informations.
14885 * undo_funcs.[Ch]: added and moved here all undo functions.
14887 * lyxtext.h: give the status enum a weight, made status_ a private
14888 variable and made accessor functions for it, removed the whole bunch
14889 of undo-functions as they are now in their own file, make some
14890 functions publically available. Added function ownerParagraph with
14893 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14894 made InInset() a const function, added getParFromID() function.
14896 * buffer.[Ch]: added const version for inset_iterator functions,
14897 added getInsetFromID() function.
14899 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14900 changed undo functions for new version.
14902 2001-07-05 Juergen Vigna <jug@sad.it>
14904 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14905 unknow mechanism does not call the proper constructor but only this
14906 one also if I request the other!?
14908 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14910 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14912 * text2.C (LyXText): use initialization lists.
14914 * lyxtext.h (Selection): initialize set_ and mark_
14915 (init): remove method
14917 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14919 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14921 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * screen.[Ch]: change method names to begin with lowercase
14925 * BufferView_pimpl.C (updateScrollbar): simplify further and
14926 hopefully make it a bit faster.
14928 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14930 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14931 calling directly xforms functions.
14933 * Painter.C (Painter):
14934 * lyx_cb.C (MenuWrite):
14935 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14938 * lyx_gui.C: remove bogus guiruntime extern declaration.
14940 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14942 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14944 (redoDrawingOfParagraph): ditto
14945 (redoParagraphs): ditto
14946 (cutSelection): don't create a object for CutAndPaste use the
14947 static method directly
14948 (pasteSelection): ditto
14950 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14953 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * modifications to some other files because of this.
14957 * Makefile.am (lyx_SOURCES): add XFormsView
14959 * XFormsView.[Ch]: new files
14961 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14962 the main window. Move the gui dependent stuff to XFormsView
14964 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14966 * tabular.C (GetCellInset): update cur_cell also in the row/col
14967 version of this function.
14969 * lyxfunc.C: no need to include figure_form.h here.
14975 * lyxvc.C: no need to include forms.h here.
14977 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14979 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14981 * lyxfunc.C (Dispatch):
14983 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14984 constructor argument.
14986 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * paragraph.C (Paragraph): dont't clear, and just set layout.
14989 (makeSameLayout): use params's copy contructor.
14991 * ParagraphParameters.[Ch] (makeSame): delete method
14993 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14995 * Variables.[Ch]: fix indentation, rename set to isSet
14997 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14999 * lyxfunc.C (Dispatch): fix typo
15001 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15006 * bufferlist.C: include assert.h for emergencyWrite().
15008 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15010 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15011 give up at last (bug #425202) !
15013 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15019 * spellchecker.C: strip spellchecker options and bring up
15020 preferences tab instead
15022 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15024 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15025 the istringstream constructor
15027 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * paragraph.C (getLayout): fix return value
15031 * paragraph.h: do not declare getLayout as inline.
15033 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15035 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15037 * lyxcursor.h (operator<): new func
15038 (operator>): new func
15039 (operator>=): new func
15040 (operator<=): new func
15042 * text.C (changeCase): use selection.start and selection.end
15043 (changeRegionCase): require from to be <= to. Require par to be a
15046 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15048 2001-06-27 Juergen Vigna <jug@sad.it>
15050 * text.C (cursorLeftOneWord): changed to return the cursor and added
15051 overlay with BufferView * parameter which calls this one.
15053 (selectWord): use new getWord function.
15054 (changeCase): renamed from changeWordCase as and extended to work
15055 also on selections.
15057 * lyxtext.h: added enum word_location
15059 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15060 changeCase as this operates now also on selections.
15062 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15064 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15066 * many files: send debug output to Debug::INFO instead of
15069 * converter.C (View):
15071 (Move): send debug output to Debug::FILES instead of console.
15073 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15075 * lyxfunc.C (getStatus): use func_status
15077 * func_status.h: new header, describing the results of
15078 LyXFunc::getStatus;
15080 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15083 2001-06-25 The LyX Project <jug@sad.it>
15085 * buffer.C (sgmlOpenTag):
15087 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15089 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * text2.C: remove some dead code
15093 * tabular.C (GetCellInset): store the last cell checked (gotten)
15095 * tabular.h: add the helper for the speedup
15097 * lyxtext.h: remove some dead code
15099 2001-06-26 The LyX Project <Asger>
15101 * paragraph.C: Change export to LaTeX of alignment to
15102 \begin{center} and family for better roundtrip work with reLyX.
15104 * Tune the math drawing a bit.
15106 2001-06-25 The LyX Project <Asger>
15108 * LColor.C (LColor): New color for math background. New color
15111 2001-06-25 The LyX Project <jug@sad.it>
15113 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15115 * lyxfunc.C (Open):
15116 * bufferlist.C (newFile): do not restrict to files ending with
15119 * BufferView_pimpl.C (MenuInsertLyXFile):
15121 2001-06-24 The LyX Project <jug@sad.it>
15123 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15126 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * lyxtext.h: rename most methods to begin with a small char.
15129 Lots of changes because of this.
15131 * paragraph.C (Paragraph): do not call fitToSize
15132 (erase): call Pimpl::erase
15133 (insertChar): call Pimpl::insertChar
15134 (insertInset): call Pipl::insertInset
15135 (breakParagraph): do not call fitToSize
15136 (breakParagraphConservative): do not call fitToSize
15137 (fitToSize): remove method
15139 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15141 2001-06-24 The LyX Project <Asger>
15143 * Fix Qt compilation^2
15145 2001-06-24 The LyX Project <jug@sad.it>
15147 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15148 depthHook(getDepth()-1).
15151 * ParagraphParameters.h:
15152 * ParameterStruct.h: change type of depth to unsigned int ==
15153 depth_type. Many adaptations to other files before of that.
15155 2001-06-24 The LyX Project <Asger>
15157 * Fix Qt compilation.
15159 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * paragraph.h: renamed several methods to begin with small letter.
15162 several changes to many parts of the code because of this.
15164 2001-06-23 The LyX Project <jug@sad.it>
15166 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15167 rewritten to discard all double spaces when KeepEmpty is off
15168 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15169 to only handle newlines but not fiddle with spaces and friends.
15171 * lyxfunc.C (MenuNew): when doing 'new from template', use
15172 template_path as default directory
15174 2001-06-23 The LyX Project <Asger>
15176 * Clean-up of header file includes all over
15177 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15179 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15181 * paragraph.h: renamed from lyxparagraph.h
15183 2001-06-23 Asger <lyx@violet.home.sad.it>
15185 * Buffer.h: Removed Buffer::resize
15186 * BufferList.h: Removed BufferList::resize
15187 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15188 the document lazily when we change the width, or the font settings.
15190 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15192 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15194 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15196 * buffer.h: remove out of date comment
15198 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15201 * screen.C: fix "theoretical" GC leak
15203 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15205 * LaTeX.C (scanAuxFile):
15206 (deplog): remove trailing \r when reading stream (useful under
15209 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15211 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15212 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15213 and BufferView::theLockingInset(Inset*), so should use them and not
15214 access bv_->text->the_locking_inset directly.
15216 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15218 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15221 * tex-defs.h: remove old unused file
15223 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15225 * BufferView_pimpl.C: fix typo, remove minibuffer message
15226 when buffer has loaded
15228 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * lyxfunc.C (Dispatch): use stringstream
15231 (MenuNew): use stringstream
15232 (Open): use stringstream
15234 * importer.C (Import): use stringstream
15236 * bufferview_funcs.C (CurrentState): use stringstream
15238 * LaTeX.C (run): use stringstream
15240 * BufferView_pimpl.C (savePosition): use stringstream
15241 (restorePosition): use stringstream
15242 (MenuInsertLyXFile): use stringstream
15244 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15257 * vspace.C: removed // -*- C++ -*- as first line.
15260 * version.h: added // -*- C++ -*- as first line.
15262 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15266 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15269 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15274 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * gettext.C: include LString.h even when --disable-nls is on.
15278 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15280 * converter.h (Get): changed argument type from int to
15281 FormatList::size_type to avoid unnecessary conversion.
15283 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15286 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15288 * gettext.h: include LString.h even when --disable-nls is on.
15290 2001-06-07 Juergen Vigna <jug@sad.it>
15292 * text.C (BreakAgain): subst spaces with tabs.
15294 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15295 (resizeInsetsLyXText): set force on resizeLyXText.
15297 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15299 * gettext.h (gettext_init):
15300 (locale_init): use a real definition instead of a macro
15302 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15304 * Bufferview_pimpl.C:
15306 * LColor.C: further lcolor tidies
15308 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15310 * BufferView_pimpl.C (updateScrollbar): simplify.
15312 * BufferView2.C: don't include insets/insetinfo.h, change
15313 prototype for insertInset and call the Pimpl version. let
15314 updateInset call Pimpl version.
15316 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15317 gotoInset to BufferView::Pimpl
15319 2001-06-01 Juergen Vigna <jug@sad.it>
15321 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15322 inside a LockingInset (is the update needed at all?).
15324 2001-05-31 Juergen Vigna <jug@sad.it>
15326 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15327 here not the old one otherwise how should we compare it afterwards
15330 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * FontInfo.C: bring C functions into global namespace when
15338 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15340 * LString.h: make sure config.h has been loaded before LString.h.
15342 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15343 (one for each char read by EatLine!).
15345 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15348 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15351 to the same as the par we break from
15353 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15355 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15357 * MenuBackend.C (expand): also create menu entries for wide
15358 versions of the floats.
15360 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15362 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15364 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15365 frontends/Makefile.am
15371 * tabular.C (getTokenValue): add std::
15373 * tabular-old.C (getTokenValue): add std::
15374 (getTokenValue): ditto
15375 (getTokenValue): ditto
15377 * screen.C (ToggleSelection): adjust
15379 * lyxtext.h: put selection cursors inside a Selection struct.
15381 * lyxfunc.C (moveCursorUpdate): adjust
15383 * lyxfont.C (latexWriteStartChanges): add std::
15385 * lyxfind.C: adjust
15387 * font.h: delete with(char const *, LyXFont const &)
15389 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15391 * FontInfo.C (getFontname): add std::
15393 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15394 (workAreaButtonPress): adjust
15395 (tripleClick): adjust
15397 (moveCursorUpdate): adjust
15400 * BufferView2.C (gotoInset): adjust
15402 2001-05-30 Juergen Vigna <jug@sad.it>
15404 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15405 to check pspell I add this as default as I now have new pspell
15406 libraries and they seem to use this.
15408 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15410 * text2.C (CutSelection): make the cursor valid before the call to
15413 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15416 relied on 0 terminated strings and other horrors. Bug found due to
15417 the new assert in lyxstring!
15419 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15422 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15424 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15427 * lyxfunc.C (processKeySym): change method of getting to the
15430 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15431 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15432 * BufferView_pimpl.[Ch]: here as private methods.
15434 2001-05-28 Juergen Vigna <jug@sad.it>
15436 * text.C (SetHeightOfRow): added the update() call again as it is
15437 needed to initialize inset dimensions!
15439 2001-05-16 Juergen Vigna <jug@sad.it>
15441 * text2.C (SetCharFont): Add new function with BufferView * and
15442 bool toggleall parameters for setting insets internal fonts.
15443 (SetFont): Freeze the undo as we may change fonts in Insets and
15444 all this change should be inside only one Undo!
15446 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15447 setting font's in insets as for them we have the SetFont function!
15449 2001-05-15 Juergen Vigna <jug@sad.it>
15451 * text2.C (ClearSelection): to be sure we REALLY don't have any
15454 * tabular.C (TeXCellPreamble): fixed the left border problem for
15457 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15459 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15462 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15464 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15465 LFUN_BREAKPARAGRAPH.
15467 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15468 help test to "internal only", similar for LFUN_INSERT_URL
15470 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15471 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15472 auto_region_delete and deadkeys.
15474 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15477 * LColor.C: remove some dead entries, tidy a little
15479 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15483 (Dispatch): implement LFUN_ESCAPE
15485 * commandtags.h: add LFUN_ESCAPE
15487 * LyXAction.C (init): add entry for LFUN_ESCAPE
15489 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15490 Remove commented code.
15491 (insertNote): moved here
15492 (open_new_inset): moved here
15494 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15497 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * kbmap.C (findbinding): clean it up and make it work correctly.
15501 * lyx_main.C (init): do not pass argc and argv as parameters
15503 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15505 * buffer.C: fix path for OS/2 & Win32
15509 * lyx_main.C: Added os:: class.
15511 * os2_defines.h: update
15513 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15515 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15516 better by trying again with reduced state.
15518 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * lyxrc.C (read): print error about invalid key sequence only when
15521 debugging (because not all latinX keysyms are known to some X
15524 * kbsequence.C (getiso): add a few std:: qualifiers
15525 (getiso): comment out extra return statement.
15527 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15529 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15531 (Dispatch): enhance the accent inset a bit. (not perfect)
15533 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15537 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15539 * bufferlist.C (emergencyWrite): fix assert() call
15541 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15543 * text.C (InsertChar): Added trivial patch to only send the "you
15544 can not do multiple spaces this way" message once during a
15547 2001-05-08 Baruch Even <baruch@lyx.org>
15549 * Makefile.am: Changed order of libraries to get LyX to link properly
15550 with the gnome frontend.
15552 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15554 * LaTeXFeatures.h: add a std:: qualifier
15556 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15558 * paragraph.C (String): use stringstream
15560 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15562 * paragraph.C (writeFile): remove footflag arg
15564 * buffer.C (makeLaTeXFile): use stringstream
15565 (latexParagraphs): remove footnot gurba
15567 * LaTeXFeatures.C (getPackages): use stringstream
15568 (getMacros): likewise
15569 (getTClassPreamble): likewise
15570 (getFloatDefinitions): new method
15572 * paragraph.C (writeFile): reindent
15575 * WorkArea.h: revert the xpos + etc changes.
15577 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15579 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15581 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15582 (pasteSelection): likewise
15583 * text2.C (CreateUndo): likewise
15585 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15587 * minibuffer.C (peek_event): temporarily reduce the functionality
15588 of the minibuffer (to allow args on lfuns)
15590 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15591 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15593 * buffer.C (readInset): add compability reading of old float
15594 lists, add reading of new style float list.
15595 (readInset): avoid reevaluation of inscmd.getCmdName()
15596 (getLists): reindent
15598 * MenuBackend.C (MenuItem): implement parsing of
15599 md_floatlistinsert and md_floatinsert.
15600 (expand::LastFiles): move initalizaton of iterators out of loop,
15601 avoid reevaluation.
15602 (expand::Documents): introduce typdedef vector<string> Strings,
15604 (expand::ExportFormats): introduce typedef vector<Format const *>
15605 Formats, and use it.
15606 (expand): implement FloatListInsert and FloatInsert.
15608 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15609 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15610 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15612 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15614 (Dispatch::LFUN_FLOAT_LIST): implement
15616 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15618 * LaTeX.C (run): Fix problem with --export code.
15620 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15622 * BufferView.[Ch] (workarea): removed.
15623 (getClipboard) new method; wrapper for workarea()->getClipboard()
15625 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15628 * WorkArea.h (width, height, xpos, ypos): These methods all
15629 returned the dimensions of the work_area sub-area of WorkArea,
15630 resulting in a position error if the WorkArea were resized. Now
15631 return the dimensions of the entire WorkArea.
15633 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15635 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * LaTeX.C (deplog): correct the syntax of regex reg1
15639 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15641 * undo.C: remove !NEW_INSETS cruft
15643 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15645 * text2.C: remove !NEW_INSETS cruft
15647 * text.C: remove !NEW_INSETS cruft
15649 * tabular.C: remove !NEW_INSETS cruft
15651 * spellchecker.C: remove !NEW_INSETS cruft
15653 * lyxtext.h: remove !NEW_INSETS cruft
15655 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15657 * lyxfunc.C: remove !NEW_INSETS cruft
15659 * lyxfind.C: remove !NEW_INSETS cruft
15661 * lyx_cb.C: remove !NEW_INSETS cruft
15663 * figureForm.C: remove !NEW_INSETS cruft
15665 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15667 * buffer.[Ch]: remove !NEW_INSETS cruft
15669 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15671 * CutAndPaste.C: remove !NEW_INSETS cruft
15673 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15675 * BufferView2.C: remove !NEW_INSETS cruft
15677 * BufferView.h: remove !NEW_INSETS cruft
15679 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15681 * Lsstream.h: include LString.h before the sstream headers to
15682 fix problem with gcc 2.95.3 and lyxstring
15684 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15686 * lyx_main.C: add using directives when needed for C functions
15687 declared in std:: namespace.
15689 2001-04-27 Juergen Vigna <jug@sad.it>
15691 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15692 (SetHeightOfRow): comment out the update call should not be needed!
15694 2001-04-13 Juergen Vigna <jug@sad.it>
15696 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15697 (LyXTabular): tried to minimize operator= operations (and realized
15698 hopfully Lars wish).
15700 2001-04-27 Juergen Vigna <jug@sad.it>
15702 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15704 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15706 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15708 * buffer.C (readInset): hack to make listof algorithm work
15710 * BufferView_pimpl.C: hack to make listof algorithm work
15712 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15714 * LyXAction.C: removed all !NEW_INSETS cruft
15715 (init): moved lfun_item in method
15717 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15719 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15721 * BufferView2.C (theLockingInset): white space.
15723 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15725 * minibuffer.C: include <iostream>
15727 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15729 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15731 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15733 * text.[Ch] (TransposeChars): new method
15735 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15737 * call message directly through LyXView instead of through LyXFunc
15738 * BufferView2.C: adjust
15739 * BufferView_pimpl.C: adjust
15740 * FontLoader.C: adjust
15742 * bufferview_funcs.C: adjust
15743 * converter.C: adjust
15744 * figureForm.C: adjust
15745 * importer.C: adjust
15747 * lyx_gui_misc.C: adjust
15748 * lyxfunc.C: adjust
15751 + more files in subdirs
15753 * lyxparagraph.h (size): move up int file
15756 * adjust all uses of Assert to lyx::Assert.
15758 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15759 lyxfunctional in namespace lyx
15760 * layout.C (hasLayout): ditto
15763 (delete_layout): ditto
15764 (NumberOfClass): ditto
15765 * converter.C (GetFormat): ditto
15770 * bufferlist.C (getFileNames): ditto
15771 (emergencyWriteAll): ditto
15774 * MenuBackend.C (hasSubmenu): ditto
15777 * BufferView_pimpl.C (getInsetByCode): ditto
15779 2001-04-18 Juergen Vigna <jug@sad.it>
15781 * vspace.C (asLatexString): fixed the 100% problem.
15783 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * lyxfunc.C (Dispatch):
15787 * minibuffer.h: add a few std:: qualifiers
15789 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * minibuffer.[Ch]: reimplement so that commands is initiated and
15792 run from lyxfunc, simplified som handling, and made the completion
15793 and history code for complete. wip.
15795 * lyxfunc.C (processKeySym): call message
15796 (miniDispatch): new temporary method
15797 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15798 (LFUN_MESSAGE): implement
15799 (LFUN_MESSAGE_PUSH): implement
15800 (LFUN_MESSAGE_POP): implement
15801 (initMiniBuffer): the initial/defualt minibuffer message.
15803 * lyxfont.[Ch]: inline some more getters
15805 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15807 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15809 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15810 (AutoSave): use LFUN_MESSAGE
15811 (Reconfigure): ditto
15813 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15815 * figureForm.C: use LFUN_MESSAGE
15817 * converter.C (runLaTeX): use LFUN_MESSAGE
15819 * bufferview_funcs.C: use LFUN_MESSAGE
15821 (changeDepth): ditto
15823 * bufferparams.h: use boost::
15825 * bufferlist.h: inherit privately from noncopyable
15827 * bufferlist.C (loadLyXFile): remove some commented code.
15829 * buffer.C (runChktex): use LFUN_MESSAGE
15831 * ShareContainer.h: inherit privately from noncopyable
15833 * ParagraphParameters.[hC] (depth): inline it.
15835 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15837 (message): new method
15838 (messagePush): ditto
15839 (messagePop): ditto
15840 (show): init minibuffer
15841 (showState): direct call
15843 * LaTeX.[Ch]: inherit privately from noncopyable
15844 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15845 instead of WriteStatus.
15847 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15849 * BufferView_pimpl.C (buffer): don't init minibuffer
15850 (workAreaButtonPress): use LFUN_MESSAGE
15851 (workAreaButtonRelease): ditto
15852 (savePosition): ditto
15853 (restorePosition): ditto
15854 (MenuInsertLyXFile): ditto
15855 (workAreaExpose): don't init minibuffer
15856 (update): remove commented code, simplify
15858 * BufferView2.C (openStuff): use LFUN_MESSAGE
15859 (toggleFloat): ditto
15862 (copyEnvironment): ditto
15863 (pasteEnvironment): ditto
15868 (updateInset): remove some commented code
15870 * lastfiles.h: inherit privately from noncopyable
15873 * lyx_main.h: ditto
15875 * lyxlex_pimpl.h: ditto
15877 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15878 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15879 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15881 * LyXAction.h: inherit privately from noncopyable, add methods
15882 func_begin, func_end, returning iterators to the func map.
15884 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15885 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15886 (func_begin): new method
15887 (func_end): new method
15889 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15891 (copySelection): ditto
15892 (pasteSelection): ditto
15894 * BufferView.C: whitespace change
15895 * BufferView.h: inherit privately from noncopyable
15897 2001-04-16 Allan Rae <rae@lyx.org>
15899 * tabular-old.C (l_getline):
15900 * spellchecker.C (sc_check_word):
15901 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15902 an unrecognised preprocessor directive. So ensure they're wrapped.
15904 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15906 * src/exporter.C (Export): Give an error message when path to file
15909 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15911 * LaTeX.C (deplog): Always check that foundfile exists.
15913 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15916 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15918 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15920 * tabular.[Ch] (getLabelList): implement new method
15922 * minibuffer.h: comment ouf setTiimer
15924 * minibuffer.C (ExecutingCB): constify res
15925 (peek_event): constify s
15926 (Set): constify ntext
15927 (Init): constify nicename
15929 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15931 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15932 (savePosition): use two params to Minibuffer::Set
15933 (restorePosition): ditto
15935 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * lyx_main.C: include language.h
15939 * Makefile.am (lyx_main.o): add language.h
15941 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15947 * CutAndPaste.C: include gettext.h
15949 * lyxfont.h: remove old hack with ON and OFF.
15952 * lyxfont.h: do not include language.h...
15957 * bufferview_funcs.C:
15963 * paragraph.C: ... but do it here instead
15965 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15967 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15969 * tabular.C: small reformat
15971 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15974 (BreakParagraph): ditto
15975 (SetOnlyLayout): ditto
15978 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15981 * lastfiles.C: removed most using decl, add std:: where needed
15983 * buffer.C: ws changes
15985 * MenuBackend.C (class compare_format): put into anon namespace
15986 (expand): constify label, names, action, action2
15989 * text.C (SingleWidth): constify font
15990 (IsBoundary): constify rtl2
15991 (GetVisibleRow): constify ww
15993 * LaTeX.C (deplog): constify logfile
15995 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15997 (workAreaExpose): constify widthChange, heightChange
15999 * lyxrow.C (par): moved
16002 * lyxrow.h: as inlines here
16004 * lyxfont.h (shape): moved from lyxfont.C
16005 (emph): moved from lyxfont.C
16007 * lyxfont.C (LyXFont): use initialization list for all
16009 (shape): move to lyxfont.h as inline
16010 (emph): move to lyxfont.h as inline
16013 2001-04-04 Juergen Vigna <jug@sad.it>
16015 * vspace.C: had to include stdio.h for use of sscanf
16017 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16020 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16021 independent of xforms.
16023 2001-04-02 Juergen Vigna <jug@sad.it>
16025 * spellchecker.C: fixed namespace placing!
16027 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16029 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16030 the LyXParagraph * is 0.
16032 2001-03-29 Juergen Vigna <jug@sad.it>
16034 * vspace.C: added support for %, c%, p%, l%.
16035 (stringFromUnit): added helper function.
16036 (asLatexString): changed to give right results for the %-values.
16038 * buffer.C: convert the widthp in a width%.
16040 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16042 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16045 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16046 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16048 * lyx_cb.[Ch]: see above.
16050 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16054 * lyx.[Ch]: replaced by figure_form.[Ch].
16058 * lyxfunc.C: changed headers associated with above changes.
16060 2001-03-27 Juergen Vigna <jug@sad.it>
16062 * BufferView_pimpl.C: set the temporary cursor right!
16064 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16066 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16068 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16070 * LString.h: removed "using std::getline"!
16072 * BufferView_pimpl.C (Dispatch): changes due to changes in
16073 InsetInclude::Params.
16075 * buffer.C (tag_name): removed redundant break statements as they were
16076 producing lots of warnings with my compiler.
16078 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16080 * LString.h: add "using std::getline" when using the real <string>.
16082 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16084 * buffer.C: removed bitset usage.
16085 PAR_TAG moved to an anonymous name space.
16086 (tag_name): new funtion, also in the anonymous namespace.
16087 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16088 (makeDocBookFile): clean code. Completed transition from string arrays
16090 (SimpleDocBookOnePar): code clean.
16092 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16094 * tabular.C: add some comments.
16096 2001-03-22 Juergen Vigna <jug@sad.it>
16098 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16099 compatibility read a bit and fixed bug with minipage in different
16102 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16104 * buffer.C (pop_tag): removed.
16105 (push_tag): removed.
16106 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16107 array replaced with vector. Added support for CDATA sections.
16108 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16110 (makeDocBookFile): XML conformant declaration of CDATA section,
16111 fixed bug related to <emphasis> in the first paragraph char.
16112 (sgmlOpenTag): exclude empty tags.
16113 (sgmlCloseTag): ditto.
16115 * buffer.h (pop_tag): removed.
16116 (push_tag): removed.
16118 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16120 * language.h (Languages): added size_type and size().
16122 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16124 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16125 response on compability reading of minipages. One probliem is that
16126 the old usage of minipages was «flertydig»
16128 * several files here and in subdirs: don't use static at file
16129 scope use anon namespaces instead.
16131 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16133 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16134 LaTeX output. This is necessary for Literate document
16137 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16139 * buffer.C: insert hfill when needed.
16141 * tabular.C (l_getline): use string::erase, small whitespace change.
16143 * BufferView_pimpl.C: try the anon namespace.
16144 * WorkArea.C: ditto
16146 2001-03-16 Juergen Vigna <jug@sad.it>
16148 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16149 otherwise it won't open options-dialogs.
16151 * buffer.C: honor pextraWidth(p) on converting minipages.
16153 * tabular.C (l_getline): changed the functions to strip trailing \r.
16155 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16157 * BufferView_pimpl.C:
16158 * minibuffer..C: added "using SigC::slot" declaration.
16160 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16162 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16168 * paragraph.C: ditto
16170 * lyxtext.h: NO_PEXTRA
16172 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16174 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16175 * ParameterStruct.h: ditto
16176 * ParagraphParameters.h: ditto
16177 * lyxparagraph.h: ditto
16179 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16181 * buffer.C: add compability for minipage alignment.
16182 (latexParagraphs): remove unwanted pextra check.
16184 * several files: remove CXX_WORKING_NAMESPACES
16186 * buffer.C (pop_tag): tie is in namespace boost
16188 * BufferView.h: noncopyable is in namespace boost
16190 * lyx_main.h: ditto
16193 * lastfiles.h: ditto
16194 * bufferlist.h: ditto
16195 * ShareContainer.h: ditto
16197 * LyXAction.h: ditto
16200 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16202 * Merging changes from BRANCH_MVC back into HEAD.
16204 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16206 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16208 * BufferView_pimpl.C: change from intl.C
16212 * Makefile.am: move combox.*
16218 * intl.C: remove dialog (covered by prefs)
16220 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16222 * lyxfunc.C (Dispatch): removed redundant break statement.
16224 2001-03-14 Juergen Vigna <jug@sad.it>
16226 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16228 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16230 * buffer.C: add hack to fix compability reading of minipages.
16232 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16234 * buffer.C (getLists): Cleanup.
16236 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16238 * lyxfont.C (update): don't honor toggleall on font size.
16240 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16244 * Makefile.am: moved to frontends/xforms/
16248 * BufferView_pimpl.C: changes for moved mathpanel
16250 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16252 * gettext.h: fix gettext_init() in --disable-nls
16254 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16258 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16261 * lyx.h: strip external form
16263 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16265 * BufferView_pimpl.C: add comment, destroySplash()
16267 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16269 * BufferView_pimpl.C:
16273 * lyxfunc.C: use re-worked insetinclude
16275 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16277 * buffer.C: add using std::stringstream.
16279 * lyx_cb.C: readd using std::ios.
16281 * buffer.C: add using std::map.
16283 * BufferView_pimpl.C: add using std::vector.
16285 * ShareContainer.h: add std:: to swap.
16287 * buffer.h: add some typedefs
16288 * buffer.C (getLists): use them
16289 (getLists): renamed from getTocList.
16290 add a counter for the different float types and use it in the
16292 (getLists): use the same counter for the NEW_INSETS and the "non"
16295 * lyx_cb.h: remove unused items, includes, using etc.
16297 * ShareContainer.h: remove some commented code, add more comments
16298 and "documentation".
16300 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16302 * buffer.C (getTocList): make the list also when NEW_INSETS is
16305 * buffer.h: remove TocType
16307 * buffer.C (getTocList): change to return a map<string,
16308 vector<TocItem> >, implement for dynamic number of list.
16310 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16311 * text2.C (PasteSelection): adjust
16312 * CutAndPaste.C (pasteSelection): adjust
16314 * FloatList.C (FloatList): update from the new_insets branch.
16315 * Floating.[Ch]: ditto
16316 * LaTeXFeatures.C: ditto
16318 * lyxlex_pimpl.C: ditto
16320 * paragraph.C (Last): remove when NEW_INSETS is defined.
16322 * other file: changes because of the above.
16324 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16326 * lyxparagraph.h: rename next to next_, previous to previous_,
16327 make them private for NEW_INSETS. Rename Next() to next(),
16328 Previous() to previous().
16330 * other files: changes because of the above.
16332 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16335 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16338 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16340 * main.C (main): pass lyx_localedir to gettext_init().
16342 * gettext.h: remove locale_init and gettext_init macros
16344 * gettext.C (locale_init): new function
16345 (gettext_init): new function
16347 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16350 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16352 * Moved credits to frontends:
16353 * credits.[Ch]: removed
16354 * credits_form.[Ch]: removed
16355 * lyx_gui_misc.C: remove credits stuff
16358 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16360 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16362 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16363 unneeded destructor.
16365 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16366 a standalone pointer again.
16368 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16370 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16376 * ToolbarDefaults.C:
16385 * BufferView_pimpl.C: use new file dialog in GUII
16388 * lyx_cb.C: remove LayoutsCB to Toolbar
16390 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * ShareContainer.h (get): add std:: qualifier
16394 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16396 * ShareContainer.h: define a proper ShareContainer::value_type
16397 type (and use typename to please compaq cxx)
16399 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16401 * lyxparagraph.h: move serveral local vars to
16402 ParameterStruct/ParagraphParameters., use ShareContainer in
16403 FontTable., make vars in FontTable private and add getter and
16406 * paragraph.C: changes because of the above.
16408 * lyxfont.h: remove copy constructor and copy assignment. (the
16409 default ones is ok), move number inside FontBits. move inlines to
16412 * lyxfont.C: add number to initializaton of statics, move several
16413 inlines here. constify several local vars. some whitespace
16414 cleanup. Dont hide outerscope variables.
16416 * Spacing.h: add two new constructors to match the set methods.
16418 * ShareContainer.h: new file, will perhaps be moved to support
16420 * ParameterStruct.h: new file
16422 * ParagraphParameters.h: new file
16424 * ParagraphParameters.C: new file
16426 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16427 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16429 * BufferView_pimpl.C: ParagraphParameter changes.
16430 * buffer.C: Likewise.
16431 * bufferview_funcs.C: Likewise.
16432 * text.C: Likewise.
16433 * text2.C: Likewise.
16435 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * lyxfind.C (LyXReplace): do not redefine default argument in
16439 (IsStringInText): ditto
16440 (SearchForward): ditto
16441 (SearchBackward): ditto
16443 2001-03-06 Juergen Vigna <jug@sad.it>
16445 * lyxfind.C (IsStringInText): put parentes around expressions.
16447 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16449 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16451 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16453 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16455 * stl_string_fwd.h: add comment
16457 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16460 * tabular.C: remove unused DocBook methods
16466 killed DO_USE_DEFAULT_LANGUAGE
16468 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16470 * lyx_gui.C: do not include language.h.
16472 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16473 arguments in function implementation.
16475 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16477 * BufferView_pimpl.C: add <ctime>
16479 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16481 * BufferView_pimpl.C: add using std::find_if
16483 2001-02-27 José Matos <jamatos@fep.up.pt>
16485 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16488 2001-02-11 José Matos <jamatos@fep.up.pt>
16490 * buffer.C (makeDocBookFile): command styles now have a parameter as
16491 "title" by default.
16493 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16495 * layout_forms.[Ch]: removed
16496 * lyx_cb.[Ch]: out character
16497 * lyx_gui.C: out character
16498 * lyx_gui_misc.C: out character
16499 * bufferview_funcs.C: : out character,
16500 added toggleall as parameter in ToggleAndShow
16502 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16504 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16506 * text2.C (SetCurrentFont): Disable number property at boundary.
16508 2001-02-26 Juergen Vigna <jug@sad.it>
16510 * lyxfunc.C (getStatus): added a string argument override function so
16511 that this is correctly called from LyXFunc::Dispatch if it contains a
16512 do_not_use_argument which is used!
16513 (Dispatch): added check for "custom" export and call appropriate func.
16515 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16517 * lyxrc.C: Add language_command_local, language_use_babel and
16518 language_global_options.
16520 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16522 * buffer.C (makeLaTeXFile): Use language_use_babel and
16523 language_global_options.
16525 2001-02-23 Juergen Vigna <jug@sad.it>
16527 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16528 which works with LyXText and putted it inside BufferView. Here now we
16529 only call for that part the BufferView::Dispatch() function.
16531 * BufferView.C (Dispatch): added.
16533 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16534 functions which needs to use a LyXText over from LyXFunc.
16535 (MenuInsertLyXFile): added
16536 (getInsetByCode): added
16537 (moveCursorUpdate): added
16538 (static TEXT): added
16540 2001-02-22 Juergen Vigna <jug@sad.it>
16542 * BufferView_pimpl.C (update): call a status update to see if LyXText
16545 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16547 * vc-backend.C (revert): implement for CVS
16548 (getLog): implement for CVS
16550 2001-02-20 Juergen Vigna <jug@sad.it>
16552 * text2.C (ClearSelection): added BufferView param for inset_owner call
16554 * lyxfunc.C (TEXT): added this function and use it instead of
16555 directly owner->view()-text of getLyXText().
16557 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16559 * src/layout_forms.C: out preamble
16560 * src/layout_forms.h: out preamble
16561 * src/lyx_cb.C: out preamble
16562 * src/lyx_cb.h: out preamble
16563 * src/lyx_gui.C: out preamble
16564 * src/lyx_gui_misc.C: out preamble
16565 * src/lyxfunc.C: connect with guii preamble
16567 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16569 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16571 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16573 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16574 whether to run bibtex.
16576 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16578 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16580 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16582 * Makefile.am (lyx_SOURCES): removed bibforms.h
16584 * vspace.h: doxygen
16586 * text.C (GetVisibleRow): make several local vars const
16588 * tabular.C: small cleanup.
16590 * lyxserver.C (callback): use compare instead of strncmp
16592 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16593 inlines to after class or to paragraph.C
16595 * lyxfont.h: remove friend operator!=
16597 * converter.h: move friend bool operator< to non friend and after
16600 * combox.h: small cleanup
16602 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16603 to inlines after class def.
16605 * buffer.C (pop_tag): use string operations instead of strcmp
16607 * bmtable.c: doxygen, small cleanup
16609 * LaTeX.h: remove friend operator==
16611 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16623 * BufferView_pimpl.C:
16624 * BufferView.[Ch]: remove cruft
16626 2001-02-14 Juergen Vigna <jug@sad.it>
16628 * lyxfunc.C: removed #if 0 unused code
16630 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16632 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16634 * text2.C (SetSelection): added a BufferView * parameter
16636 2001-02-13 Juergen Vigna <jug@sad.it>
16638 * lyxfunc.C (Dispatch): fixed protected blank problem.
16639 * BufferView2.C (protectedBlank): added LyxText * parameter.
16641 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16642 (AppendColumn): same as above for column_info.
16644 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16645 (moveCursorUpdate): use a LyXText param for support of InsetText.
16647 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16648 (tripleClick): ditto
16650 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16652 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16654 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16656 * text2.C (SetSelection): set correct update status if inset_owner
16657 (ToggleFree): ditto
16659 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16661 * tabular.C: remove some commented code.
16663 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16665 * BufferView_pimpl.C: call hideSplash()
16667 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16670 * bibforms.h: remove
16673 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16674 add LFUN_CHILD_CREATE
16676 * counters.h: fix tiny typo
16681 * lyx.C: move splash to frontends/xforms/
16683 * lyx_gui_misc.C: move Include and Bibform to frontends
16685 * lyxvc.h: clarify comment
16687 * vspace.C: tiny housekeeping
16689 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16691 * text.C (PrepareToPrint): RTL Fix.
16693 * paragraph.C (GetUChar): New method.
16694 (String): Use GetUChar.
16696 * buffer.C (asciiParagraph): Use GetUChar.
16698 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16700 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16702 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16705 * buffer.C: rename to getLogName(), handle
16706 build log / latex log nicely
16708 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16711 * MenuBackend.h: remove support for reference menuitem type.
16713 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16715 * BufferView_pimpl.C: housekeeping
16716 * BufferView_pimpl.h:
16721 * minibuffer.h: move Timeout GUI-I
16723 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16725 * lyxrc.C (read): Update converters data-structures.
16727 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16729 * LaTeX.h (operator!=): add operator != for Aux_Info
16731 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16733 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16735 * LaTeXLog.C: deleted, useful code moved to Buffer
16738 * buffer.C: new function getLatexLogName()
16744 * lyxfunc.C: use frontends for LaTeX and VC logs
16746 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16748 * LaTeX.h: yet another std:: that Allan forgot.
16750 * Variables.C (set): renamed from isset(), because this clashes
16751 with some HP-UX macros (grr).
16753 2001-02-06 Allan Rae <rae@lyx.org>
16755 * LaTeX.h: Another bug fix. Missing std:: this time.
16757 2001-02-04 Allan Rae <rae@lyx.org>
16759 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16760 floats problem. I've left it commented out because it's not quite
16761 correct. It should also test that the current object is a table or
16762 figure inset. But I haven't gotten around to figuring out how to do
16763 that. I *think* it'll be something like: "table" == inset.type()
16765 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16768 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16770 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16771 all the citation/databases/styles in the auxilary file.
16772 (run): Rerun latex if there was a babel language error.
16774 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16776 * text.C (Backspace): Preserve the font when changing newline char
16778 (BreakParagraph): If the cursor is before a space, delete the space.
16780 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16782 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16784 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16785 new argument (code).
16786 (ChangeCitationsIfUnique): New method.
16788 * paragraph.C (GetPositionOfInset): Handle bibkey.
16790 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16792 * BufferView_pimpl.h: change type of Position::par_pos to
16793 LyXParagraph::size_type.
16795 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16797 * BufferView_pimpl.C (savePosition, restorePosition): Write
16798 messages to minibuffer.
16800 2001-01-28 José Matos <jamatos@fep.up.pt>
16802 * buffer.C (makeDocBookFile): adds support for document language.
16803 A silly restriction on the name of LatexCommand types where removed.
16804 Added support for CDATA sections, allows to chars unescaped, used
16805 among others in code, to avoid escape < and >.
16807 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16809 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16810 saved positions instrad of a stack. Furthermore, a position is
16811 stored using paragraph id/paragraph position.
16813 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16814 Remove LFUN_REF_BACK.
16816 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16818 * converter.C (dvipdfm_options): New method.
16820 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16822 * vspace.C (isValidLength): Fix for empty input string.
16824 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * LyXAction.C (init): change description of LFUN_FIGURE to
16829 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * LaTeX.C: add using directive
16833 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16835 * MenuBackend.C (expand): Fix the sorting of the formats.
16837 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16839 * lyx_main.C: tiny error message fix
16841 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16843 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16844 calling fl_initialize(). This fixes the problem with ',' as
16845 decimal separator in text files.
16847 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16849 * trans.C (process): Fix the keymap bug.
16851 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16853 * LaTeX.C (scanAuxFiles): New method. Provides support for
16854 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16855 (scanLogFile) Scan for "run BibTeX" messages.
16857 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16858 OT1 font encoding. Also, load the aecompl package if the ae
16861 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16863 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16865 * texrow.C (increasePos): turn two error messages into debug
16868 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16870 * LaTeX.C (scanAux): Handle the \@input macro.
16871 (runBibTeX): Use scanAux().
16873 * language.C (latex_options_): New field.
16875 * LaTeXFeatures.C (getMacros): Add language macros.
16877 * buffer.C (makeLaTeXFile): Small fix.
16879 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16881 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16883 * text2.C: add a using directive.
16885 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16890 * lyxfunc.C: kill LyXBell.
16892 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16894 * text.C (IsBoundary): Remove the error message
16896 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16898 * lyxrc.C (setDefaults): Correct initialization value for
16901 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16903 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16906 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16907 and GotoNextNote().
16909 * src/LyXAction.C: Added reference-next.
16911 * text.C (InsertChar): Use contains instead of strchr.
16913 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16915 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16917 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16918 alignment commands (when needed).
16920 * text.C (InsertChar): Add ':' to number separator chars.