1 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * LaTeXFeatures.[Ch]: Add a static list packages_ that
4 holds the contens of packages.lst. New functions getAvailable
5 and isAvailable to parse and check that list, resp.
9 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
11 * bufferparams.[Ch]: new param output_changes.
13 * Buffer.C: increase file format to 240.
14 Use output_changes and isVailable.
18 * paragraph_pimpl.C: Use output_changes and isVailable.
20 2005-01-23 Angus Leeming <leeming@lyx.org>
22 * output_latex.C: #include "insetbibitem.h", rather than
23 forward declare function bibitemWidest.
25 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
27 * lyx_main.C (init): make it compile on the Mac.
29 2005-01-20 Angus Leeming <leeming@lyx.org>
31 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
32 (setLyXMisc): (char string literal) != (char string literal) is
33 performing a comparison on the addresses. Convert one operand
34 explicitly to string to guarantee expected behaviour.
37 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
40 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
42 * output_plaintext.C: remove unneeded #include gzstream.h.
44 2005-01-20 Angus Leeming <leeming@lyx.org>
46 * SpellBase.h: rename some of the elements of the Result enum.
53 * pspell.C (check): ditto
55 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
57 * buffer.C: add #include <fstream>.
59 * lyx_main.C (init): Compile fix.
61 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
63 2005-01-20 Angus Leeming <leeming@lyx.org>
65 * mover.h: change commentary to reflect the changed meaning of
68 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * output_linuxdoc.C (linuxdocParagraphs): silence warning
72 * lyxfind.C (MatchString::operator()): remove bogus semicolon
74 2005-01-20 Angus Leeming <leeming@lyx.org>
76 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
77 printing diagnostic data by not dereferecing an iterator past the
80 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
82 * buffer.C (readHeader): use "&&" rather than "and".
84 * lyxserver.h (inPipeName, outPipeName): make these const.
86 2005-01-19 Angus Leeming <leeming@lyx.org>
88 * lyx_main.C (error_handler, init): protect SIGHUP with
91 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
95 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
97 * text.C (setHeightOfRow): add a margin at the top and bottom of
98 the document (bug 1761)
100 2005-01-17 Angus Leeming <leeming@lyx.org>
102 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
103 with "python ". Workaround for a brain-dead Windows.
105 2005-01-16 Angus Leeming <leeming@lyx.org>
107 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
108 for MacOSX and Windows to use prependEnvPath.
109 Strip out the hard-coded block to add elements to the PATH for
110 MacOSX and replace it with a call to prependEnvPath using the
111 contents of LyXRC::path_prefix.
112 (queryUserLyXDir): strip out the code to run reconfigure, instead
113 returning a boolean indicating the necessity to do so.
114 (reconfigureUserLyXDir): contains the code to reconfigure the
115 user support directory. Is now called after the various LyXRC data
116 files have been read.
118 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
120 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
122 * converter.[Ch] (convert): take a new parameter try_default. Use
123 a default converter (imagemagick) if try_default is true.
125 2005-01-13 Angus Leeming <leeming@lyx.org>
127 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
129 (write): output LyXRC::cygwin_path_fix as necessary.
131 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
134 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
136 2005-01-12 Angus Leeming <leeming@lyx.org>
138 * lyx_main.C (init): set the PATH variable to include the
139 directory containing the LyX binary when running on Mac or Windows.
141 2005-01-12 Angus Leeming <leeming@lyx.org>
143 * lyx_main.C (init): remove cruft that purports to set the locale
144 dir. It doesn't and is not needed anyway.
146 2005-01-10 Angus Leeming <leeming@lyx.org>
148 * Makefile.am: remove the lyx_main.C special casing.
150 * BufferView_pimpl.C:
156 * messages.C: use support/package.h to provide the paths to the
157 various directories used by LyX.
159 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
162 layout if pasting into an empty paragraph)
164 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * tex-accent.C: add <string>
168 2005-01-06 José Matos <jamatos@lyx.org>
170 * ParagraphParameters.C (write): put every parameter in its own line.
171 * paragraph.C (write): reduce number of consecutive empty lines exported.
172 * buffer.C (LYX_FORMAT): increase file format to 239.
174 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * everywhere: change support/tostr.h -> support/convert.h
178 * tabular.C: make all write_attributes templates, tostr -> convert
180 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
181 (emptyTag): and -> &&, and fix type for ret from getChar
182 (getFirstWord): fix type for ret from getChar
183 (onlyText): and -> &&
184 (simpleDocBookOnePar): and not -> && !, fix type for ret from
187 * toc.C (goTo, action):
188 * text3.C (dispatch):
189 * text.C (currentState):
190 * tex-accent.C (DoAccent):
193 * lyxfunc.C (menuNew):
194 * lyxfinc.C (replace):
195 * counters.C (laberItem):
196 * bufferview_funcs.C (font2string):
197 * bufferparams.C (writeFile):
198 * buffer.C (readFile):
200 * MenuBackend.C: tostr -> convert
202 * LaTeX.C (runMessage): fix format
203 (scanAuxFiles): tostr -> convert
205 * BufferView_pimpl.C (savePosition): fix format
206 (restorePosition): ditto
209 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * Spacing.[Ch]: New method getValueAsString().
215 * ParagraphParameters.C:
218 * text3.C: store/read spacing value as string.
220 * rowpainter.C: change float value (spacing_val) to double.
222 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
223 broken custom document spacing).
225 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
227 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
228 namespace, also more use of temp references and const
230 * cursor.[Ch] (getStatus): move to lyxfunc.C
232 * bufferparams.C: reformat slightly
234 * bufferview_funcs.C (font2string): constify arg
240 * buffer_funcs.C: (many funcs): constify arg on function
241 definitions, also make more local vars const, also add ASSERTS on
244 * buffer.C (LYX_FORMAT): put const in correct place
245 (many funcs): constify arg on function definitions, also make
246 more local vars const
248 * aspell_local.h: remove "struct" from typdef setup
250 * aspell.C (check): make word_ok const
251 (nextMiss): simplify slightly
254 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * lyxrc.[Ch]: store all float values as strings.
257 use int (not float) for lyxrc.dpi.
259 2005-01-04 Angus Leeming <leeming@lyx.org>
261 * lyx_cb.C (Reconfigure):
262 * lyx_main.C (queryUserLyXDir):
263 to run the <system_lyxdir>/configure correctly on Windows, prefix
264 the path to the script with "sh " when generating the string that
265 is passed to system().
267 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
269 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
271 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * lyxlength.C (asLatexString): get rid of setprecision
275 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
277 * text2.C (setLayout): remove unused variable endpit.
278 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
280 * paragraph.C (onlyText): remove unused variable style.
282 * cursor.C (bruteFind): remove unused variables beg and end.
284 * Makefile.am (dist_noinset_DATA): not needed anymore
286 * cheaders/*: remove.
288 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * text3.C: fix LFUN_MATH_MODE.
292 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * buffer_funcs.C (countWords): new function. Counts words between
297 * BufferView_pimpl.C (getStatus, dispatch): handle
300 * LyXAction.C (init):
301 * lfuns.h: add LFUN_WORDS_COUNT.
303 2004-12-19 Angus Leeming <leeming@lyx.org>
305 * buffer.C (save): s/slashify_path/internal_path/.
307 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * lyxfind.C (findChange): do not search for end of pars, because
310 the change tracker cannot handle this (fixes bug 1719).
312 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
314 * paragraph.[Ch] (autoBreakRows): remove
316 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
318 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
319 avoid using the paragraph one
321 * text2.C (LyXText, insertStringAsLines): adjust
323 2004-12-16 Angus Leeming <leeming@lyx.org>
327 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
329 2004-12-14 Angus Leeming <leeming@lyx.org>
331 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
333 * bufferlist.C (emergencyWrite):
334 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
337 2004-12-14 Angus Leeming <leeming@lyx.org>
339 * main.C: (main): no longer pass pointers to os::init.
341 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
343 * undo.C (textUndoOrRedo): simplify logic, fix a crash
344 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
346 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
349 * text3.C: remove selection_possible global flag
351 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
353 * text2.C (getSelectionSpan): remove
354 (changeDepth, changeDepthAllowed): adjust
356 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
358 * Makefile.am (BOOST_LIBS): use boost variables
360 2004-12-03 José Matos <jamatos@lyx.org>
362 * buffer.C: format up to 238.
364 2004-12-03 José Matos <jamatos@lyx.org>
366 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
368 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
370 * cursor.C (goUpDown): remove call to idxUpDown2
372 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
374 * tabular.[Ch]: use size_t-like types for cell, row and column
377 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
379 * lyxfunc.C (getStatus): do not lose previous information when
380 calling BufferView::getStatus; do not set a default "Command
381 disabled" message at the beginning, but just before returning.
383 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
385 * cursor.h (getStatus): add better comment from src/cursor.C
387 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * text3.C (getStatus): return false when the lfun is not handled
391 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * broken_headers.h: remove
395 * Makefile.am (lyx_SOURCES): remove broken_headers.h
397 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
399 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
402 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
403 top_y_, merge fitcursor with update
404 (updateScrollbar, scrollDocView, fitCursor, center, update): new
407 (workAreaDispatch): adapt to new coord scheme
408 (redoCurrentBuffer): remove
410 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
412 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
415 * coordcache.[Ch]: add paragraph cache and helpers
417 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
420 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
421 (targetX, setTargetX): introduce
423 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
424 baseline -> ascent, as the rest of lyx
426 * lyxtext.h: remove redoParagraphs, updateParPositions,
427 fullRebreak, redoParagraphInternal. move dist to anon namespace in
428 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
429 have ascent/descent (ascent is ascent of first par)
431 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
434 * paragraph.[Ch]: unify dimension handling with the rest of lyx
436 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
438 * pariterator.C: fix infinite loop introduced in par->pit renaming
440 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
441 in insets and LyXText, draw two off-screen paragraphs using
442 NullPainter, and adapt to new coord scheme
446 * text3.C: adapt lfun handlers to the new coord scheme, which
447 means: there's only guaranteed coord information for onscreen pars
448 plus one above and one below. This implies that one can do search
449 from y coordinates in the range [-1,workHeight]
451 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * rename a lot of InsetOld to InsetBase
455 2004-11-25 Angus Leeming <leeming@lyx.org>
457 * BufferView_pimpl.C:
459 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
461 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
463 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
464 call BufferView::getStatus if LCursor::getStatus did nothing
465 (setStatusMessage, getStatusMessage): removed.
467 * FuncStatus.C (message): new methods. Used to provide an error
468 message indicating why a command is disabled.
469 (clear, |=, FuncStatus): update for message.
471 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
473 * lyxfunc.C (dispatch): always call sendDispatchMessage
475 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
478 * BufferView_pimpl.C:
492 * undo.C: par->pit renaming
494 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
496 * tabular.C (cellstruct): use initialization, store a shared_ptr
497 to insettext instead of the insettext directly, adjust to fit.
498 (operator=): new function
500 (rowstruct): use initialization
501 (columnstruct): use initialization
502 (ltType): use initialization
505 * lyxlength.h (swap): new function
507 * LColor.[Ch] (operator=): use the common semantics
509 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
511 * lyxfind.C (findNextChange): update the bufferview after setting
514 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
517 number of InsetOptArgs has already been inserted.
519 * output_latex.C (latexOptArgInsets): new method. This outputs all
520 the optarg insets, up to the limit defined in the layout file.
521 (optArgInset): removed
522 (TeXOnePar): call latexOptArgInsets; correctly update texrow
524 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * paragraph.C (isLetter): remove special spellchecker-related
527 code; return true also for digits
528 (isWord, isKomma): remove
530 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
531 * lyxfind.C (MatchString()): use isLetter instead of isWord
533 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
535 * pariterator.h (operatir=): comment out un-implemented member
538 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
541 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
543 * lyxfont.h: include LColor.h to satisfy concept checks.
545 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * pariterator.h: add typdefs for value_type, difference_type,
548 pointer and reference to satisfy concept checks. Also add default
549 constructor for same reason.
551 * pariterator.C (operator++): add post-increment operator to
552 satisfy concept checks.
554 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
557 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
559 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
560 checks. Also rename base_type to BaseType to follow naming
563 * FloatList.h: include Floating.h to satisfy concept checks.
565 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * lyxfunc.C (getStatus): when the origin of the request is menu or
568 toolbar, and the LyXView does not have focus, do as if there was
571 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
572 FuncRequest to individual entries of LFUN_SEQUENCE
574 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
576 * output_latex.C (TeXOnePar): override runparams.moving_arg
577 according to the needprotect value of the current paragraph (bug
580 * paragraph.C (simpleTeXOnePar): no need to override
581 runparams.moving_args here
583 2004-11-14 John Spray <spray_john@users.sourceforge.net>
585 * vspace.C: fix off-by-one-error, related to fix #1682
587 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
589 * lengthcommon.C: a more general fix for bug 1682
591 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
593 * text.C (backspace): fix crash
595 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
597 * format.[Ch] (getFormatFromFile): new method
598 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
600 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
602 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
604 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * lyxfunc.C (dispatch): remove the verbose argument
607 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
610 * kbmap.C (defkey): set the origin of func to KEYBOARD
612 * MenuBackend.C (MenuItem):
613 * ToolbarBackend.C (add): set the origin of func to UI
615 * funcrequest.[Ch]: add origin member, which indicates which part
616 of LyX requests an action
618 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
620 * converter.C (move): don't lie in the error message
621 * converter.h (isReachable, move): document
623 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
625 * buffer.C: remove unused using lyx::support::atoi
626 * paragraph_funcs.C: ditto
628 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
630 * bufferlist.C (exists): use bind and equal_to instead of
633 * lyxtextclasslist.C (NumberOfClass): ditto
635 * cursor.C (insert): use for_each instead of explicit for loop
637 * bufferlist.C (getFileNames): use std::transform and
638 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
640 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
643 * buffer.C (changeLanguage): use for_each instead of explicit for
645 (hasParWithID): implement using getParFromID
647 * LaTeXFeatures.C: ws change only
649 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
652 * BufferView_pimpl.C (trackChanges): use for_each instead of
655 2004-11-04 André Pönitz <poenitz@gmx.net>
658 * undo.C (textUndoOrRedo): fix crash when creating undo information.
660 * dociterator.C (asDocIterator): use hard assert again.
662 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * lyxlength.C (asLatexString): rewrite so that it does not use
667 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
669 * text3.C (specialChar, dispatch): make sure cursor moves to the
670 right after inserting an inset
672 2004-11-02 José Matos <jamatos@lyx.org>
674 * output_docbook.C (docbook):
675 * paragraph.C (getID):
676 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
677 garantee that the output is always legal.
679 * tabular.C (docbook):
680 * outputprams.[Ch]: remove mixed contents.
682 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
684 * text2.C (setCounter): prevent endless loop
686 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
688 * exporter.C (copyFile): use the mover instead of support::copy()
689 * exporter.C (Export): pass format and latex name to copyFile()
690 * exporter.h (addExternalFile): document
691 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
693 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
695 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
697 2004-10-30 José Matos <jamatos@lyx.org>
699 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
700 text and no inset or font change. This allows to use CDATA
701 sections just for the whole paragraph.
703 2004-10-30 José Matos <jamatos@lyx.org>
705 * paragraph.C (getFirstWord): remove unused variable.
707 2004-10-30 José Matos <jamatos@lyx.org>
709 * paragraph.C (getFirstWord): the content should always be escaped
711 (simpleDocBookOnePar):
712 * output_docbook.C (makeEnvironment): replace reference to CDATA
715 2004-10-30 José Matos <jamatos@lyx.org>
717 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
719 2004-10-30 José Matos <jamatos@lyx.org>
721 * output_docbook.C (makeParagraphs):
722 * paragraph.[Ch] (emptyTag): for docbook and company, if the
723 standard paragraph has only a given type of content drop the wrapper.
725 2004-10-29 José Matos <jamatos@lyx.org>
727 * output_docbook.C (makeEnvironment):
729 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
731 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
733 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
734 (cleanID): sanitize any id.
736 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * buffer.C, lyxlex_pimpl.C:
739 * lyxlex_pimpl.C (setFile):
740 s/getExtFromContents/getFormatFromContents/
742 2004-10-28 José Matos <jamatos@lyx.org>
744 * output_docbook.C (makeEnvironment): move id to broadest possible
747 * sgml.C (openTag): apply substitution of <> for all attributes.
749 2004-10-28 José Matos <jamatos@lyx.org>
751 * buffer.C (makeLinuxDocFile, makeDocBookFile):
752 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
753 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
755 * sgml.[Ch]: new version for open and closeTag for paragraph and
756 for strings. Now they handle the ids of paragraphs.
758 2004-10-26 Angus Leeming <leeming@lyx.org>
760 * Makefile.am: add mover.[Ch].
762 * converter.C (convert, move): use the new Movers to move external
763 files to the temp directory.
765 * lyx_main.C (init): ensure that the global system_movers data
768 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
771 * mover.[Ch]: new files, defining a Mover as a utility to move an
772 external file between directories and, if necessary, manipulate this
773 file using a helper script.
775 2004-10-25 José Matos <jamatos@lyx.org>
777 * output_docbook.C (makeCommand): merge two if's that tested the
780 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * sgml.C (escapeString): fix warning in a better way
784 2004-10-25 José Matos <jamatos@lyx.org>
786 * sgml.C (escapeString): import the require boosts header file for
787 tie, and avoid a signed unsigned comparison.
789 2004-10-25 José Matos <jamatos@lyx.org>
791 * sgml.h: add #include <string>
793 2004-10-25 José Matos <jamatos@lyx.org>
795 * sgml.[Ch] (escapeString): new function to escape all the string.
797 2004-10-24 José Matos <jamatos@lyx.org>
799 * paragraph.[Ch] (getFirstWord): new function to get the first
800 word. Useful for description.
801 (simpleDocBookOnePar): remove depth argument, add another that
802 says where to start the paragraph.
804 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
805 use the new functions to fix cleanly the support for descriptions.
807 2004-10-24 José Matos <jamatos@lyx.org>
809 * buffer.C (makeLinuxDocFile, makeDocBookFile):
810 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
811 * output_linuxdoc.C (linuxdocParagraphs):
812 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
813 add buffer as argument.
815 2004-10-24 José Matos <jamatos@lyx.org>
817 * output_docbook.C (makeEnvironment, searchEnvironment): place
818 CDATA inside paragraphs and fix scope for listitems.
820 2004-10-24 José Matos <jamatos@lyx.org>
822 * output_docbook.C: remove using statement for stack.
824 2004-10-23 José Matos <jamatos@lyx.org>
826 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
827 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
828 docbook. The new scheme is recursive and makes use of iterators, the
829 same as latex export works.
830 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
831 directly with the paragraph contents. This code was moved up to
832 output_docbook.C (docbookParagraphs).
833 * sgml.C (openTag, closeTag): removed unneeded newlines.
834 (closeEnvTags) removed.
836 2004-10-23 André Pönitz <poenitz@gmx.net>
838 * undo.C (textUndoOrRedo):
839 * dociterator.C (asDocIterator): work around crash
841 * cursor.C (getStatus): replace ASSERT by more verbose error message
842 and manual correction of the problem. Should increase stability
843 while providing more sensible information.
845 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
847 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
849 * bufferlist.C (previous, next): new methods
852 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
854 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
856 * buffer.C (makeDocBookFile): add dsssl stylesheet control
857 entities to preamble.
859 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
861 * messages.C (Pimpl): strip off translation context information
863 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
866 the cursor is correct (bug 1694)
868 2004-10-13 José Matos <jamatos@lyx.org>
870 * output_docbook.C (docbookParagraphs): fix closing tags in the
873 2004-10-09 José Matos <jamatos@lyx.org>
875 * buffer.C: format up to 237.
876 * bufferparams.C (write): use tostr to convert booleans to strings.
878 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
880 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
882 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
884 * LaTeX.C: implement use of babel language in xindy.
886 2004-10-05 José Matos <jamatos@lyx.org>
888 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
889 Add new translators to help reading and writing the lyx file.
891 2004-10-05 José Matos <jamatos@lyx.org>
893 * ParagraphParameters.C (read):
894 * text.C (readParToken): replace nexToken by more appropriate lex
897 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
899 * LaTeX.C (runMakeIndex):
900 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
901 (usually 'makeindex') configurable.
903 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
904 with a variable rather than with a number.
906 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
908 * output_latex.C (TeXOnePar): make sure font setting is the first
909 thing that gets output (and the last at the end). Should fix bug
912 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
914 * pch.h: use proper signal include
916 * LaTeX.h: Use preferred calling of Boost.Signal
919 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
921 * pch.h: dont include <boost/function/function0.hpp>
923 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
925 * paragraph_pimpl.h: remove usage of ShareContainer
927 * paragraph_pimpl.C: remove initialization of ShareContainer.
929 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
933 * BufferView.C (putSelectionAt): change the semantics when
934 backwards == true: now, this just swaps cursor and anchor wrt the
937 * BufferView.h (putSelectionAt): add some documentation
939 * lyxfind.C (findBackwards): rewrite using while(). In particular,
940 make sure backwardChar is done at least once (to avoid getting
942 (findNextChange): use putSelectionAt in the forward direction
943 (operator()): use Paragraph::isWord
945 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
947 * Spacing.C (set): c_str fix
949 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * lyx_cb.C (Reconfigure): quote the name of configure script in
952 case it contains spaces
954 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
958 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
959 (BOOST_LIBS): use top_buildir when looking for the file
961 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
963 * pch.h: do not use include boost/format.hpp, multiple symbols
964 will result (gcc bug)
967 2004-08-23 José Matos <jamatos@lyx.org>
969 * bufferparams.C (readToken): fix reading of the author field.
971 2004-08-20 José Matos <jamatos@lyx.org>
973 * lyxrc.C: remove support/translator.h inclusion since it is not used.
975 2004-08-20 José Matos <jamatos@lyx.org>
977 * lyxlex.[Ch] (findToken): remove function.
979 * ParagraphParameters.C (findToken):
980 * bufferparams.C (findToken): replace call for previous function
981 with local copy. This local function has one more argument, the
982 read string argument.
984 2004-08-16 José Matos <jamatos@lyx.org>
986 * ParagraphParameters.C (write):
987 * Spacing.C (writeFile):
988 * bufferparams.C (writeLaTeX):
989 * lyx_cb.C (Reconfigure):
990 * paragraph.C (write):
991 * tabular.C (write): remove unnecessary space at end of line.
994 2004-08-16 José Matos <jamatos@lyx.org>
996 * text.C (readParagraph): remove debug message.
998 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1000 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1003 * output_plaintext.C (asciiParagraph): set depth correctly
1005 * outputparams.h: add member depth
1007 * paragraph_funcs.C (ownerPar): remove.
1009 * text2.C (setCounter): remove first_pit; comment out some
1010 non-working code that uses ownerPar
1012 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1015 2004-08-16 José Matos <jamatos@lyx.org>
1017 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1018 For the same level of importance use the same chanel to report problems.
1019 (read): add code to deal with \begin_body and \end_body.
1022 2004-08-15 José Matos <jamatos@lyx.org>
1024 * lyxlex.C (getString): fix comment, buffer::readBody is now
1025 buffer:readDocument.
1027 * tex-strings.C (string_papersize): Default -> default,
1028 Custom -> custom, for consistency with other options.
1030 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1034 * Makefile.am: support pch
1036 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1038 * text.C (readParToken): remove the static LyXFont variable and
1039 pass it as a parameter instead. This fixes a nasty bug where an
1040 inset will be inserted with a bad font in some situations
1041 (readParagraph): adapt
1043 * text2.C (setCounter): reduce number of calls to pars_[pit]
1045 * text.C (singleWidth): add an assert, fix a test
1047 * rowpainter.C (paintText): reduce number of calls to singleWidth
1049 * paragraph.C (isHfill):
1050 (isNewline): ws only
1052 2004-08-14 André Pönitz <poenitz@gmx.net>
1057 * lyxtext.h (several functions): use a Paragraph & argument
1060 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1064 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1066 * text.C (singleWidth): remove useless test
1068 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * tabular.h: remove bogus comments
1072 * tabular.C (getDescentOfRow):
1073 (isPartOfMultiColumn): add assertions
1075 * lyxlength.C (inPixels): remove #warning
1077 2004-08-14 André Pönitz <poenitz@gmx.net>
1079 * paragraph.h: inline getChar()
1081 * BufferView.h: remove unused declarations
1083 2004-08-14 José Matos <jamatos@lyx.org>
1085 * Buffer.[Ch] (readDocument): new name for old readBody.
1086 * Buffer.C: new file format, new keywords: \begin_document,
1087 \begin_header, \begin_body, \end_body.
1089 * bufferparams.C (readToken): replace all calls to lex.nextToken
1090 by lex.next(). Do the same to eatLine except where really needed.
1092 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1093 line when writing to the lyx file.
1095 * output_plaintext.C (asciiParagraph): fix Bibliography style
1098 * text.C (read): fix end of file handling.
1100 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * MenuBackend.C (Menu::operator[]): new method to access
1103 individual menu items
1104 (Menu::hasFunc): new method. search for an item that corresponds
1106 (MenuBackend::specialMenu): new method
1107 (MenuBackend::expand): if a special menu has been set, skip
1108 entries whose func() appears in this menu
1110 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1112 * text3.C: use Debug::DEBUG a bit more
1114 * text.C (leftMargin): try to simplify a tiny bit change var x to
1115 l_margin. Dont output the wide margins always.
1116 (rightMargin): no margin in inner texts
1118 * rowpainter.h (nestMargin): new func
1119 (changebarMargin): new func
1120 (rightMargin): new func
1122 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1126 * factory.C (createInset): modify setDrawFrame
1128 * cursor.C: use Debug::DEBUG a bit more
1130 2004-08-14 André Pönitz <poenitz@gmx.net>
1133 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1134 cache for all insets in (at least partially) visible (top-level)
1137 * BufferView_pimpl.C: reset external coord cache before every update.
1138 This means the coord cache only contains valid entries.
1140 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1143 * BufferView_pimpl.C (getInsetByCode): move function out of class
1144 and change in to a template in anon namespace. Also fix to do what
1147 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1150 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1152 (breakParagraph): rename par to par_offset and use a local
1153 reference. Add code to keep the language over a rebreak.
1154 (breakParagraphConservative): rename par to par_offset, use a
1156 (mergeParagraph): ditto
1158 (isFirstInSequence): ditto
1159 (outerFont): rename pit to par_offset
1161 * paragraph.C: ws change
1162 * paragraph.h: ditto
1166 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1168 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1171 * paragraph.C (simpleTeXOnePar): when we have a \item with
1172 optional argument, enclose the argument with curly brackets (in
1173 case it contains a closing square bracket)
1177 * text3.C (checkInsetHit): constify
1179 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1182 documents (bug 1629)
1184 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1186 Fix toggling of collapsable insets with the mouse (bug 1558)
1188 * lyxfunc.C (dispatch): adapt to LCursor changes
1190 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1191 make sure that dispatch is not invoked twice
1193 * cursor.C (needsUpdate): new method
1194 (dispatch): return void
1195 (result): new method, to access the DispatchResult of the cursor.
1197 2004-08-13 José Matos <jamatos@lyx.org>
1199 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1201 2004-08-13 André Pönitz <poenitz@gmx.net>
1203 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1205 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1208 2004-08-12 André Pönitz <poenitz@gmx.net>
1210 * text3.C: take out the 'cursor right' form insertInset and only
1211 do it in those places when it is really needed. Fixes crash on
1214 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1216 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1218 * BufferView_pimpl.C (setBuffer): initialize the current font of
1219 the underlying LyXText
1221 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * kbsequence.C (print): use UI native formatting for menu
1226 * text.C (insertChar): call Paragraph::insertChar with a font
1229 * paragraph.C (insertInset, insertChar): the version that takes a
1230 LyXFont argument is now a wrapper around the other one (the
1231 opposite used to be true).
1233 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1234 argument. Font setting is done in Paragraph now.
1236 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1238 * outputparams.h: add new members intitle and lang.
1240 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1241 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1243 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1245 * text3.C (dispatch): remove special handling of button 4 and 5,
1246 it is now taken care of in the frontend code.
1248 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1250 * Spacing.h: add <string> (STLPort compile fix)
1252 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1254 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1256 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1258 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1261 * converter.C (showMessage): inherit from unary_function, make
1264 * buffer.C (writeFile): initialize retval
1266 * InsetList.h: rename private variable list to list_
1267 * InsetList.[Ch]: adjust accordingly.
1269 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1271 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1272 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1273 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1274 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1275 * ParagraphParameters.C, LaTeXFeatures.C: replace
1276 "support/std_sstream.h" with <sstream>
1278 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1280 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1281 * lyxsocket.C (LyXServerSocket): ditto
1282 (serverCallback): ditto
1284 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1286 * LaTeXFeatures.C: check release date when loading jurabib.
1288 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1290 * lyxserver.C (startPipe): call register_socket_callback
1291 (endPipe): call unregister_socket_callback
1293 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1295 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1296 (LyXServerSocket): register the callback
1297 (LyXServerSocket): unregister the callback
1298 (fd): delete function
1299 (serverCallback): improve error checking and setup the callbacks.
1300 (dataCallback): change arg to fd.
1301 (writeln): new func (copied fro the client socket) used for server
1303 (LyXDataSocket): simplify
1304 (~LyXDataSocket): close ann unregiser callback
1305 (server): delete function
1306 (fd): delete function
1307 (readln): small changes, improve some std::string usage
1308 (writeln): constify a bit
1310 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1312 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1315 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1317 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1318 after it has been populated
1320 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1322 * text2.C (insertInset): move cursor when inserting inset.
1324 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1326 * kbmap.C (findbindings): a couple of new methods. returns a
1327 container of kb_sequence objects. The real work is done by the
1328 private recursive version
1329 (printbindings): uses findbindings to print out a bracketed list
1330 of bindings (renamed from findbinding).
1332 * MenuBackend.C (binding): use kb_keymap::findbindings
1334 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1336 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1338 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1340 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 * paragraph.C (isWord): return true on insets that report
1345 * text.C (getWord): use Paragraph::isWord to decide what is in a
1346 word and what is not; fix bug 1609.
1348 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1350 * tex-strings.C: add "none" to string_paperpackages[], fixes
1351 off-by-one-error in the paperpackage selection.
1354 * tex-strings.[Ch]: char const * string[n]
1355 -> char const * const string[]
1357 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1359 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1360 command, return early.
1362 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1364 * debug.h: add DEBUG to enum and fix size of ANY.
1366 * debug.C: add support for Debug::DEBUG
1367 (showTags): cast errorTags.level to unsigned int
1369 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1370 (redoCurrentBuffer): ditto
1371 (updateScrollbar): ditto
1372 * cursor.C (dispatch): ditto
1373 * text2.C (setLayout): ditto
1375 (updateCounters): ditto
1377 (deleteEmptyParagraphMechanism): ditto
1379 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1381 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1382 annotations to cleanup the Makefile slightly.
1384 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * lyxrc.C: do not set user_email to a default value but use empty
1387 instead. The entry used to be translated, which does not work
1388 since at the point where lyxrc is constructed there is no
1389 translation service available
1391 * messages.C (getLocaleDir): remove and use directly
1392 lyx_localedir() instead
1394 2004-06-02 Angus Leeming <leeming@lyx.org>
1396 Fix crash caused by dereferencing null pointer 'exportdata' in
1397 OutputParams by creating a new ExportData variable on the heap,
1398 storing it in a boost::shared_ptr.
1399 The crash was triggered when generating an Instant Preview
1400 of an external inset.
1402 * Makefile.am: add outputparams.C
1404 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1405 (c-tor): allocate memory to it.
1407 * exporter.C (c-tor): associated changes.
1409 2004-06-01 Angus Leeming <leeming@lyx.org>
1411 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1412 contains data before calling isInset(0). (Bug 1513.)
1414 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1416 * exporter.C (checkOverwrite): new method
1417 * exporter.C (copyFile): new method
1418 * exporter.C (Export): copy referenced files to the document dir
1419 * exporter.[Ch]: new class ExportedFile
1420 * exporter.[Ch]: new class ExportData. Contains currently the
1421 names of referenced external files
1422 * outputparams.h: add exportdata member.
1424 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1426 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1429 2004-05-19 Angus Leeming <leeming@lyx.org>
1434 * lyxfunc.C: small changes due to the introduction of namespace
1435 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1437 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1439 * text3.C (dispatch): supress update when only moving the cursor
1440 * cursor.C (selHandle): remove commented code
1442 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1444 * paragraph.C (startTeXParParams): correct column count
1445 * CutAndPaste.C (pasteSelection): remove const_cast
1446 * output_docbook.C (docbookParagraphs): remove const_cast
1447 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1448 const_cast and return ParagraphList::const_iterator
1449 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1450 * output_plaintext.C (writeFileAscii): remove const_cast
1451 * paragraph.[Ch] (simpleTeXOnePar): make const
1452 * paragraph_funcs.C (outerPar): use const iterators
1453 * paragraph_pimpl.C (validate): use const iterators
1454 * text.C (setHeightOfRow): use const iterators
1456 2004-05-17 Angus Leeming <leeming@lyx.org>
1459 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1461 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1462 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1463 if the citation engine has changed.
1465 2004-05-14 José Matos <jamatos@lyx.org>
1467 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1468 if the textclass does not provide it. Have it different for sgml and
1470 support the language of document.
1471 * output_docbook.C (docbookParagraphs):
1472 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1473 first anchor as the id of the paragraph, remove special case code.
1474 * sgml.C (escapeChar): escape only < & >.
1476 2004-05-14 Angus Leeming <leeming@lyx.org>
1478 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1479 dependencies on src/frontends/controllers/biblio.h. Define a
1480 CiteEngine_enum wrapper class to enable the enum to be forward
1483 2004-05-12 Angus Leeming <leeming@lyx.org>
1485 * buffer.C: up LYX_FORMAT to 234.
1486 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1487 use_numerical_citations with a single biblio::CiteEngine cite_engine
1489 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1491 2004-05-13 José Matos <jamatos@lyx.org>
1494 * converter.C (Converter, readFlags): add xml member.
1495 * outputparams.h: add XML flavor.
1496 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1498 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * lyxfunc.C (dispatch):
1501 (getStatus): fix handling of LFUN_SEQUENCE
1503 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1505 * debug.C (showLevel): do not forget the end-of-line marker
1507 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * kbmap.C (read): do not stop parsing a bind file when an error
1512 2004-04-29 Angus Leeming <leeming@lyx.org>
1517 * text2.C: wrap a bunch of #warning statements
1518 inside #ifdef WITH_WARNINGS blocks.
1520 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1522 * buffer.C: increment format to 233.
1524 2004-04-28 Angus Leeming <leeming@lyx.org>
1526 * BufferView_pimpl.C:
1529 s/updateToolbar()/updateToolbars()/
1530 s/Toolbar.h/Toolbars.h/
1532 2004-04-28 Angus Leeming <leeming@lyx.org>
1534 * BufferView.[Ch] (c-tor):
1535 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1536 No longer passes these data to the WorkArea generator.
1538 2004-04-28 Angus Leeming <leeming@lyx.org>
1540 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1542 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1544 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1546 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * output_latex.C (TeXEnvironment): make sure that there is a line
1549 break before \end{foo} for the last paragraph of a document
1550 (TeXOnePar): if the paragraph is at the end of the document (or
1551 inset) and the language has to be reset, then make sure that the
1552 line break is _before_ the language command, not after (fixes bug
1553 1225); also make sure that the language reset command is the first
1554 thing after the paragraph (to ensure proper nesting of
1555 environments and thus fix bug 1404)
1557 2004-04-21 John Levon <levon@movementarian.org>
1560 * ToolbarBackend.C: make "name" be a programmatic name
1561 and a gui_name field.
1563 * lyxfunc.C: display the minibuffer on M-x
1565 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1567 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1570 2004-04-19 Angus Leeming <leeming@lyx.org>
1572 * BufferView_pimpl.C (setBuffer): changed preview interface.
1574 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1577 2004-04-19 John Levon <levon@movementarian.org>
1579 * BufferView_pimpl.C:
1580 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1582 2004-04-05 Angus Leeming <leeming@lyx.org>
1584 * text.C (redoParagraphs): add call to updateCounters(), thereby
1585 fixing the missing "Figure #:" label from the caption of a
1588 2004-04-13 Angus Leeming <leeming@lyx.org>
1590 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1591 cursor is clicked out of an inset.
1593 2004-04-13 Angus Leeming <leeming@lyx.org>
1595 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1596 than an InsetOld one.
1598 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1600 * format.[Ch]: add editor to Format
1601 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1602 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1604 2004-04-08 André Pönitz <poenitz@gmx.net>
1606 * metricsinfo.h: remove PainterInfo::width member
1608 2004-04-08 Angus Leeming <leeming@lyx.org>
1610 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1611 "\providecommand" rather than "\newcommand", thereby preventing
1612 clashes with packages that define "\boldsymbol" themselves.
1615 2004-04-08 Angus Leeming <leeming@lyx.org>
1617 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1618 thereby squashing an unnecessary warning.
1620 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1622 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1625 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1627 * BufferView.C (setCursor): call redoParagraph (some insets could
1629 (putSelectionAt): remove the 'double update' trick
1631 * BufferView_pimpl.C (fitCursor): call refreshPar
1632 (workAreaDispatch): remove an uneeded update call
1633 (dispatch): remove some manual update calls
1635 * cursor.[Ch]: remove cached_y_, updatePos
1636 (selHandle): set noUpdate when appropriate
1638 * lyxfunc.C (dispatch): track if we need an update
1640 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1642 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1643 (paintSelection): cheap optimization, do not call cursorX when not
1645 (paintPars): change signature
1648 (paintTextInset): adjust
1652 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1654 * lengthcommon.C: compilation fix: remove explicit array size from
1655 unit_name[] and friends
1657 2004-04-05 Angus Leeming <leeming@lyx.org>
1659 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1661 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1662 present only for the preferences dialog.
1663 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1665 2004-04-05 Angus Leeming <leeming@lyx.org>
1667 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1668 to enable the frontends to export changes to lyxrc correctly.
1670 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1672 2004-04-07 André Pönitz <poenitz@gmx.net>
1674 * cursor.[Ch] (selClear, adjust): remove math
1676 * cursor_slice.C: more agressive assert
1679 * BufferView_pimpl.C: rework mouse event dispatch
1686 2004-04-05 André Pönitz <poenitz@gmx.net>
1688 * cursor.[Ch] (valign, halign...): remove unneeded functions
1690 2004-04-05 Angus Leeming <leeming@lyx.org>
1692 * lyxlength.[Ch] (unit_name et al.): const-correct.
1694 2004-04-05 Angus Leeming <leeming@lyx.org>
1696 * BufferView_pimpl.C:
1705 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1707 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1709 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1711 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1713 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1714 * BufferView_pimpl.[Ch] (getStatus)
1715 * BufferView.[Ch] (getStatus): add
1716 * lyxfunc.C (getStatus): move lfuns handled in
1717 BufferView::dispatch to te function above
1718 * Cursor.C (setSelection): set selection() = true
1720 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1722 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1724 2004-03-31 Angus Leeming <leeming@lyx.org>
1726 * lyxfunc.C (dispatch): Fall through to the generic
1727 Dialogs::show("preamble").
1729 2004-03-31 Angus Leeming <leeming@lyx.org>
1731 * lyxfunc.C (dispatch): Fall through to the generic
1732 Dialogs::show("spellchecker").
1734 2004-03-31 Angus Leeming <leeming@lyx.org>
1736 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1739 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1744 * insetiterator.[Ch]:
1749 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1751 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1753 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1754 insets where we are putting the cursor.
1756 2004-03-31 Angus Leeming <leeming@lyx.org>
1759 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1761 * lyxrc.[Ch] (read, write): overloaded member functions taking
1762 a std::[io]stream arguments.
1764 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1766 2004-03-31 Angus Leeming <leeming@lyx.org>
1768 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1769 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1771 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1772 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1774 2004-03-31 Angus Leeming <leeming@lyx.org>
1776 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1777 the LFUN_ALL_INSETS_TOGGLE code.
1779 2004-03-30 Angus Leeming <leeming@lyx.org>
1781 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1782 has died. Fall through to the generic Dialogs::show("document").
1784 2004-03-30 Angus Leeming <leeming@lyx.org>
1787 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1788 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1790 * lyxfunc.C (getStatus, dispatch): define the actions for these
1791 lfuns. Little more than a cut and pste job from ControlDocument.C
1793 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1795 2004-03-30 Angus Leeming <leeming@lyx.org>
1798 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1799 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1801 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1802 open/closed state of ollapsable insets. Usage:
1804 all-inset-toggle <state> <name>, where
1805 <state> == "open" || "closed" || "toggle" and
1806 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1808 * lyxtext.h, text2.C (toggleInset): removed.
1810 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1811 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1812 now passes LFUN_INSET_TOGGLE to the found inset.
1814 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1815 is now invoked as "all-insets-toggle toggle branch".
1817 2004-03-30 Angus Leeming <leeming@lyx.org>
1821 * pariterator.[Ch]: added/corrected header blurb.
1823 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1825 * dociterator.[Ch]: add an inset_ member
1826 (backwardPos): implemented
1827 (backwardPos, forwardPos): use inset_ when the stack is empty.
1828 (doc_iterator_begin, doc_iterator_end): implemented
1829 * pariterator.[Ch]: adjust, add begin, end
1830 * insetiterator.[Ch]: adjust, add begin, end
1834 * BufferView_pimpl.C:
1835 * CutAndPaste.C: adjust
1837 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1839 * buffer.C: increment file format to 232.
1840 * LaTeXFeatures.C: add bibtopic package.
1841 * bufferparams.[Ch]: param \use_bibtopic.
1843 * lyxrc.[Ch]: add lyxrc bibtex_command
1844 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1846 * buffer.C: increment file format to 231.
1848 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1850 * dociterator.C: implement forwardPar
1851 * iterators.[Ch]: remove, replaced by
1852 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1854 * BufferView_pimpl.C:
1857 * bufferview_funcs.C:
1863 * Makefile.am: adjust
1865 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1867 * CutAndPaste.C (pasteSelection): fix 2 crashes
1868 (eraseSelection): fix a crash
1869 * paragraph_funcs.C: remove a warning
1871 2004-03-28 Angus Leeming <leeming@lyx.org>
1874 * LyXAction.C (init): new LFUN_PRINT.
1876 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1878 2004-03-27 Angus Leeming <leeming@lyx.org>
1881 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1883 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1885 2004-03-27 Angus Leeming <leeming@lyx.org>
1887 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1888 insetlist always contains non-null pointers to insets.
1890 2004-03-26 Angus Leeming <leeming@lyx.org>
1892 * src/BufferView_pimpl.C:
1893 * src/CutAndPaste.C:
1896 * src/output_plaintext.C:
1897 * src/outputparams.h:
1898 * src/paragraph_funcs.C:
1902 * src/frontends/controllers/ControlErrorList.C:
1903 * src/frontends/gtk/FileDialogPrivate.C:
1904 * src/frontends/gtk/GPainter.C:
1905 * src/frontends/gtk/GToolbar.C:
1906 * src/frontends/qt2/QRef.C:
1907 * src/mathed/math_scriptinset.C: squash compiler warnings.
1909 2004-03-26 Angus Leeming <leeming@lyx.org>
1911 * ispell.C (LaunchIspell::start):
1912 * lyx_cb.C (AutoSaveBuffer::start):
1913 invoke run(DontWait) rather than runNonBlocking().
1915 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1917 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1919 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1921 * kbsequence.C (print): adjust
1923 * kbmap.C (printKeySym): rename and change signature
1924 (printKey): use LyXKeySym::print()
1926 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1928 * undo.C: add using std::advance to compile for stlport
1930 2004-03-24 Angus Leeming <leeming@lyx.org>
1932 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1933 it leads to a crash when no buffer is present.
1935 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1936 Martin Vermeer <martin.vermeer@hut.fi>
1938 * lyxfunc.C (dispatch):
1939 * bufferparams.C (readToken): use the new LColor::setColor
1941 * LColor.[Ch] (setColor): new version that takes two strings as
1942 argument and creates a new color entry if necessary
1944 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1946 * buffer.C (makeLaTeXFile): if the main latex file that is
1947 processed is usually a subdocument of some master, then pretend
1948 for a while that it is actually the master
1950 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1952 * buffer.C (getLabelList):
1953 (getBibkeyList): use getMasterBuffer()
1954 (getMasterBuffer): new method. Returns the main document in the
1955 case where one is using included documents.
1957 2004-03-25 André Pönitz <poenitz@gmx.net>
1961 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1963 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1965 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1966 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1968 * ParameterStruct.h: merge with ParagraphParameters
1970 * lyxtext.h: remove LyXText::parOffset() and getPar()
1972 * text3.C: Remove all 'manual' update calls. We do now one per user
1973 interaction which is completely sufficient.
1977 * BufferView_pimpl.C:
1978 * FontIterator.[Ch]:
1980 * ParagraphParameters.[Ch]:
1985 * cursor_slice.[Ch]:
1992 * output_docbook.[Ch]:
1993 * output_latex.[Ch]:
1994 * output_linuxdoc.[Ch]:
1995 * output_plaintext.[Ch]:
1997 * paragraph_funcs.[Ch]:
1998 * paragraph_pimpl.[Ch]:
2006 * frontends/controllers/ControlDocument.C:
2007 * frontends/controllers/ControlErrorList.C:
2008 * frontends/controllers/ControlSpellchecker.C:
2011 * insets/insetbase.h:
2012 * insets/insetbibitem.C:
2013 * insets/insetbox.C:
2014 * insets/insetbranch.C:
2015 * insets/insetcaption.C:
2016 * insets/insetcharstyle.C:
2017 * insets/insetcharstyle.h:
2018 * insets/insetcollapsable.C:
2019 * insets/insetcollapsable.h:
2020 * insets/insetert.C:
2021 * insets/insetfloat.C:
2022 * insets/insetfoot.C:
2023 * insets/insetmarginal.C:
2024 * insets/insetnote.C:
2025 * insets/insetoptarg.C:
2026 * insets/insettabular.C:
2027 * insets/insettext.C:
2028 * insets/insettext.h:
2029 * insets/insetwrap.C:
2030 * mathed/math_mboxinset.C:
2031 * mathed/math_nestinset.C:
2032 * mathed/math_scriptinset.C:
2033 * mathed/math_scriptinset.h:
2036 2004-03-24 Angus Leeming <leeming@lyx.org>
2038 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2039 deal with any child processes that have finished but are waiting to
2040 communicate this fact to the rest of LyX.
2042 2004-03-24 Angus Leeming <leeming@lyx.org>
2044 64-bit compile fixes.
2046 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2047 (c-tor): pass lyx::pos_types rather than ints.
2049 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2052 * text.C (Delete): compile fix.
2053 (getPar): ensure that function declaration is the same as that in
2056 2004-03-23 Angus Leeming <leeming@lyx.org>
2058 * ispell.C (LaunchIspell):
2059 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2060 a boost::shred_ptr rather than a std::auto_ptr.
2062 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2064 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2065 handle LFUN_FILE_INSERT_*
2067 * lyxrc.C (setDefaults, getDescription, output, read):
2068 * lyxrc.h: remove ps_command
2070 2004-03-22 Angus Leeming <leeming@lyx.org>
2072 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2073 Ensure that error_handler is processed once only and that all data
2074 is saved before attempting to output any warning messages.
2076 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2078 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2080 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2082 2004-03-19 André Pönitz <poenitz@gmx.net>
2084 * cursor.[Ch] (reset): take main text inset as argument
2086 * BufferView: adjust
2087 * BufferView_pimpl.C: adjust
2089 * paragraph.[Ch]: fix completely broken operator=()
2091 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2093 * LColor.C (getFromLyXName): make sure that the color name is used
2096 2004-03-17 Angus Leeming <leeming@lyx.org>
2099 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2101 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2102 dialog and to kill a forked process.
2104 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2106 * text2.C (setCursorFromCoordinates): fix font problem
2108 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2110 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2111 bogus "rebuild cursor" code
2113 2004-03-11 André Pönitz <poenitz@gmx.net>
2115 * buffer.[Ch]: use InsetText instead of LyXText as container for
2118 * dociterator.[Ch]: drop the BufferView * member which is not needed
2119 anymore after the change to buffer.C
2121 * paragraph_funcs.C:
2125 * BufferView_pimpl.[Ch]:
2127 * cursor_slice.[Ch]: adjust
2129 * text3.C: fix bug in mathDispatch
2131 2004-03-08 André Pönitz <poenitz@gmx.net>
2133 * undo.[Ch]: use 'StableDocumentIterator' as base for
2136 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2139 * bufferparams.[Ch]: add jurabib support and param.
2141 * LaTeX.C: add FIXME/comment.
2143 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2145 * buffer.C: increment file format to 230.
2147 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2149 * cursor.C (dispatch): avoid infinite loops
2151 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2153 * rowpainter.C (paintSelection): fix x coordinates
2155 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2157 * text.C (rowBreakPoint): fix breaking before displayed insets
2159 2004-03-01 André Pönitz <poenitz@gmx.net>
2161 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2163 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2167 * BufferView_pimpl.C:
2175 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2181 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2182 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2184 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2186 * Bidi.[Ch] (computeTables): const correctness
2187 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2188 fill_hfill, fill_label_hfill and x from Row
2189 * lyxtext.h: prepareToPrint returns a RowMetrics
2190 * rowPainter.C: adjust
2191 * text.C (prepareToPrint): use width, not textWidth. adjust
2192 (redoParagraphInternal, cursorX): adjust
2193 * text2.C (getColumnNearX): adjust
2194 (init): put a default value to the top LyXText::width
2196 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2198 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2200 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2202 * lyxtext.h: add FontIterator class
2204 * text.C (FontIterator, operator*, operator->, operator++): add
2205 (rowBreakPoint, setRowWidth): adjust (fixing a
2208 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2210 * BufferView_pimpl.C (workAreaDispatch): allow also
2211 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2213 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2215 * text.C (rowBreakPoint): fix a bug showing with very large insets
2217 2004-02-25 André Pönitz <poenitz@gmx.net>
2220 * cursor.[Ch]: move some mathed specific code to mathed
2222 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2224 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2225 use_tempdir in preferences
2226 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2228 * lyx_main.C: ensure that tempdir is valid
2229 * lyxlex.h: correct typo
2230 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2231 * paragraph.[Ch] (isMultiLingual): make const
2232 * cursor.[Ch] (openable): make const
2234 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2236 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2238 2004-02-20 André Pönitz <poenitz@gmx.net>
2240 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2242 * cursor.[Ch]: prepare for localized getStatus()
2248 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2250 2004-02-20 André Pönitz <poenitz@gmx.net>
2252 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2254 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2256 * text2.C (setCursorFromCoordinates): switch to absolute coords
2258 (cursorDown): adjust
2259 * text3.C (dispatch): adjust
2261 2004-02-16 André Pönitz <poenitz@gmx.net>
2263 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2266 * cursor_slice.[Ch]: remove unneeded acessor function
2268 * lyxtext.h: rename rtl() to isRTL()
2276 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2278 * rowpainter.C (paintSelection): coord fix
2280 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2282 * Spacing.C: compile fix
2284 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2286 * cursor.C (dispatch): restore current_ before returning
2288 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2290 * text2.C (cursorUp, cursorDown): fix coords
2293 2004-02-12 André Pönitz <poenitz@gmx.net>
2298 * text3.C: add LCursor & parameter to most cursor movement functions
2299 remove usage of LyXText::cursorRow() and cursorPar()
2301 * cursor.[Ch]: add textRow() needed members
2304 * BufferView_pimpl.C:
2307 * BufferView_pimpl.C: adjust
2309 2004-02-11 André Pönitz <poenitz@gmx.net>
2313 * BufferView_pimpl.C: shift undo/redo handling
2315 * cursor.[Ch]: fix mathed crash
2318 * lyxtext.h: move selectionAsText to LCursor
2326 * rowpainter.C: fix excessive drawing
2328 2004-02-06 André Pönitz <poenitz@gmx.net>
2331 * BufferView_pimpl.[Ch]:
2332 * text3.C: move some text specific LFUN handling
2334 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2336 * text3.C (checkInsetHit): adjust coords
2337 * text2.C (getColumnNearX): adjust coords
2338 (edit): adjust coords
2339 * text.C (getRowNearY): add two asserts
2341 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2344 * format.C: add using std::distance to compile on gcc 2.95/stlport
2346 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2348 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2350 2004-02-04 André Pönitz <poenitz@gmx.net>
2352 * BufferView.[Ch] (insertInset):
2353 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2358 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2360 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2361 on the default clause of the switch
2362 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2363 wasn't catched by LCursor::dispatch
2365 2004-02-03 André Pönitz <poenitz@gmx.net>
2368 * cursor.[Ch]: some additional asserts
2370 * undo.[Ch]: remove LyXText dependency in interface
2374 * lyxtext.h (firstPar, lastPar): remove dead functions
2379 * paragraph.[Ch]: adjust
2381 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2383 * lyxfind.C (find): fix argument order in call to ::find
2385 2004-02-02 André Pönitz <poenitz@gmx.net>
2387 * cursor.[Ch]: remove direct access to anchor
2389 * text.C: remove findText() hack
2391 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2393 * iterators.[Ch] (lockPath): remove in favour of...
2394 * BufferView.[Ch] (setCursor): this addition
2395 * BufferView.C (putSelectionAt): adjust
2396 * undo.C (performUndoOrRedo): adjust
2397 * lyxfunc.C (dispatch): adjust
2399 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2401 * iterators.C (lockPath): add a missing slice
2402 * undo.C (performUndoOrRedo): remove redundant positioning code
2404 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2406 * vc-backend.C (scanMaster): ";" -> ';'
2408 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2410 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2411 std::binary_function
2413 * lyxtextclass.C (compare_name): rename to...
2414 (LayoutNamesEqual): ...this
2416 * lyxlex_pimpl.C (compare_tags): inherit from
2417 std::binary_function, put back into anon namespace
2419 * lyxfind.C (MatchString): inherig from std::binary_function
2420 (findChange): use empty() istead of !size()
2422 * format.C (FormatNamesEqual): new functor
2429 * converter.C (compare_Converter): rename to...
2430 (ConverterEqual): ...this, and fixup a bit.
2431 (getConverter): use it, and make function const
2432 (getNumber): use it, and make function const
2436 * bufferlist.C: add using boost::bind
2438 * MenuBackend.C (MenuNamesEqual): new functor
2439 (hasMenu): use it, and make function const
2440 (hasSubmenu): use nested bind to get rid of compare_memfun.
2442 2004-01-30 André Pönitz <poenitz@gmx.net>
2444 * BufferView_pimpl.C:
2447 * cursor_slice.[Ch]:
2450 * paragraph_funcs.C:
2451 * paragraph_funcs.h:
2455 * text3.C: move some of the edit(x,y) handling to the insets
2456 some coordinate changes.
2458 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2460 * text.C: add using statements for std::advance and std::distance
2462 * paragraph.C: add using statement for std::distance
2464 * lyxfind.C: add using statement for std::advance
2466 * cursor.C (region): remove std:: from swap
2467 (openable): use nucleus in stead of operator->
2469 * BufferView.C: add using statements for std::distance and std::swap
2471 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2473 * iterators.C: Remove the pimple, move the needed structures to
2474 the header file. Create accessor for the positions stack.
2475 (asPosIterator): remove function
2477 * PosIterator.C (PosIterator): move constructors to top of file
2478 (PosIterator): reimplement the constructor taking a ParIterator in
2480 (setFrom): new function
2481 (operator!=): inline it
2483 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2485 * lyxfind.C (replaceAll): use std::advance
2487 * iterators.h: inherit from std::iterator.
2489 * PosIterator.C (advance, distance): remove
2490 * PosIterator.h: interit from std::iterator.
2492 2004-01-26 André Pönitz <poenitz@gmx.net>
2495 * BufferView_pimpl.[Ch]:
2499 * bufferview_funcs.C:
2509 * output_linuxdoc.C:
2510 * output_plaintext.C:
2512 * paragraph_funcs.[Ch]:
2513 * paragraph_pimpl.[Ch]:
2519 * text3.C: more IU: dumps most of the rest of the mathcursor
2520 implementation into cursor.[Ch]; "globalize" a bit of it.
2522 2004-01-25 Angus Leeming <leeming@lyx.org>
2524 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2526 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2528 * LaTeXFeatures.h: add nice_ and nice() const
2529 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2531 2004-01-20 André Pönitz <poenitz@gmx.net>
2534 * BufferView_pimpl.C:
2536 * bufferview_funcs.C:
2538 * cursor_slice.[Ch]:
2549 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2550 LCursor and mathcursor parts to LCursor and InsetBase.
2552 2004-01-15 André Pönitz <poenitz@gmx.net>
2554 * cursor_slice.[Ch]: add a few covienience functions
2556 * funcrequest.[Ch]: remove BufferView * member
2558 * BufferView_pimpl.C:
2565 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2567 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2569 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2570 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2572 2004-01-13 André Pönitz <poenitz@gmx.net>
2575 * lyxtext.h: hide cursor and selection anchor behind accessor function
2578 * BufferView_pimpl.[Ch]:
2580 * bufferview_funcs.C:
2590 * cursor_slice.[Ch]: some integer type changes for inset unification
2592 * lyxcursor.[hC]: remove, it's CursorSlice now.
2595 * BufferView_pimpl.[Ch]:
2596 * bufferview_funcs.C:
2602 * textcursor.[Ch]: adjust
2604 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2606 * text2.C (undoSpan): add and use
2607 * text.C (breakParagraph): use undoSpan (fix bug 578)
2610 2004-01-08 Angus Leeming <leeming@lyx.org>
2612 * BufferView_pimpl.C (MenuInsertLyXFile):
2613 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2614 * lyxfunc.C (menuNew, open, doImport):
2615 FileFilterList change to the FileDialog open and save functions.
2617 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2619 * ShareContainer.h: make isEqual and isUnique adaptable
2621 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2623 2004-01-07 Angus Leeming <leeming@lyx.org>
2626 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2628 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2630 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2631 functions replacing find, replace and replaceAll.
2633 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2634 LFUN_WORDFIND(FORWARD|BACKWARD).
2636 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2638 * text.C (breakParagraph): remove an outdated #warning
2640 2004-01-07 André Pönitz <poenitz@gmx.net>
2642 * lyxfind.C: somewhat clearer logic
2644 * text.C: prevent crash in cursorX on unitialized row cache
2646 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2648 * lyxcursor.[Ch] (operator>): add
2649 * textcursor.C (selStart, selEnd): use std::min and std::max
2651 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2653 * Chktex.C: include boost/format.hpp
2655 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2657 * InsetList.C: replace functor MathcIt with adaptable functor
2659 (insetIterator): modify accordingly
2661 * BranchList.h: move the BranchNamesEqual functor here from...
2662 * BranchList.C: ... to here
2664 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2666 (add): replace a finding loop with std::find_if.
2668 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2670 * output_docbook.C: moving LatexParam functionality into
2673 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2675 * buffer.C: increment format to 229.
2677 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2680 * lyx_sty.[Ch]: remove minipageindent_def
2686 * text3.C: remove LFUN_INSET_MINIPAGE
2688 2003-12-28 Angus Leeming <leeming@lyx.org>
2690 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2692 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2694 * text2.C (setParagraph): fix off-by-one crash
2696 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2698 * output_docbook.C: header stuff for AGU
2700 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2702 * text2.C (redoCursor): remove
2705 * BufferView_pimpl.C: remove calls to redoCursor and
2706 setCursor(cursor.par(), cursor.pos()) all around
2708 2003-12-15 Angus Leeming <leeming@lyx.org>
2710 * buffer.C: up the format to 228.
2712 2003-12-15 André Pönitz <poenitz@gmx.net>
2714 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2719 * BufferView_pimpl.C:
2728 2003-12-15 Angus Leeming <leeming@lyx.org>
2730 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2731 than getFromGUIName to manipulate the color.
2733 2003-12-14 Angus Leeming <leeming@lyx.org>
2735 * BranchList.[Ch]: minimize the API.
2736 (Branch::getBranch, getColor): now return a 'const &'.
2737 (Branch::setSelected) now returns a bool set to true if the
2738 selection status changes.
2739 (BranchList::clear, size, getColor, setColor, setSelected,
2740 allBranches, allSelected, separator): removed.
2741 (BranchList::find): new functions, returning the Branch with
2743 (BranchList::add, remove): return a bool indicating that
2744 the operation was successful.
2746 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2747 new InsetBranch::isBranchSlected member function.
2749 * LColor.[Ch]: mimimize the API.
2750 (fill): renamed as addColor and made private.
2751 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2752 versions of these functions taking a string arg have been removed.
2754 * bufferparams.C (readToken):
2755 * lyxfunc.C (dispatch):
2756 * lyxrc.C (read): changes due to the altered BranchList and
2759 * factory.C (createInset, readInset): changes due to altered
2762 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2765 * lyxfunc.C: remove insetminipage. "minipage-insert"
2766 now produces a frameless minipage box inset.
2768 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2770 * textcursor.[Ch] (selStart,selEnd): add new methods
2771 remove selection::start, end, use LyXCursor::operator<
2772 * lyxcursor.[Ch] (operator<): add
2773 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2774 * BufferView.[Ch] (unsetXSel): add
2775 * text2.C (clearSelection): use unsetXSel,adjust
2778 * rowpainter.C: adjust
2779 * bufferview_funcs.C (put_selection_at): adjust
2781 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2783 * BufferView_pimpl.C: small coord. correction
2785 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2787 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2788 dragging over the splash screen.
2790 2003-12-11 Angus Leeming <leeming@lyx.org>
2792 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2793 as it is now handled in LyXText::dispatch.
2795 * text3.C (doInsertInset): remove a level of nesting.
2797 2003-12-11 Angus Leeming <leeming@lyx.org>
2799 * factory.C (createInset): changes due to the changed interface to
2800 InsetCommandMailer::string2params.
2802 2003-12-10 Angus Leeming <leeming@lyx.org>
2804 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2805 'dialog-show-new-inset <inset name>'
2807 2003-12-10 Angus Leeming <leeming@lyx.org>
2809 * buffer.C: up the format to 227.
2811 * factory.C: the box inset is now identified simply by 'Box'.
2813 2003-12-10 Angus Leeming <leeming@lyx.org>
2815 * buffer.C: up the format to 226.
2817 * factory.C: the note inset is now identified simply by 'Note'.
2819 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2821 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2822 when a pit is enough. Standarize a couple of loops.
2824 2003-12-05 Angus Leeming <leeming@lyx.org>
2826 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2827 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2828 data to the re-worked "log" dialog.
2830 2003-12-03 André Pönitz <poenitz@gmx.net>
2836 * paragraph_funcs.C:
2838 * text2.C: use Inset::getText instead of Inset::getParagraph
2840 2003-12-03 André Pönitz <poenitz@gmx.net>
2844 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2845 InsetText::read() as LyXText::read()
2847 2003-12-02 Angus Leeming <leeming@lyx.org>
2849 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2850 type. Add a comment in the implementation that the function uses
2851 the stream's bad() function rather than fail() as the std::streams
2854 2003-12-02 André Pönitz <poenitz@gmx.net>
2856 * lyxlex.[Ch]: make interface more similar to std::stream
2858 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2860 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2862 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2864 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2866 * vspace.[Ch]: remove VSpace::NONE
2868 2003-12-01 André Pönitz <poenitz@gmx.net>
2871 * lyxtext.h: move ParagraphList member to LyXText
2872 rename LyXText::ownerParagraphs to LyXText::paragraph
2875 * bufferview_funcs.C:
2885 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2887 * undo.C: fix cursor positioning
2889 2003-12-01 John Levon <levon@movementarian.org>
2891 * BufferView_pimpl.C: fix a crash on exit with
2894 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2896 * BranchList.C: fix setSelected() method.
2898 2003-11-28 André Pönitz <poenitz@gmx.net>
2900 * ParagraphParameters.[Ch]:
2901 * ParameterStruct.h: remove space above/below from Paragraph to
2904 * BufferView_pimpl.C:
2910 * paragraph_funcs.C:
2916 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2918 * factory.C: Syntax change for CharStyles
2920 2003-11-28 André Pönitz <poenitz@gmx.net>
2925 * buffer.[Ch]: move LyXText member
2927 2003-11-28 André Pönitz <poenitz@gmx.net>
2929 * BufferView.[Ch]: make LyXText * text a private member
2931 * BufferView_pimpl.C:
2942 * output_plaintext.C: cleanup
2944 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2947 * lyxtextclass.[Ch]: parametrize SGML document header
2949 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2952 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2955 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2957 * text2.C (setFont): rework using PosIterator (no more recursive)
2958 (setCharFont): no more needed
2959 (setLayout): no more selection cursors fiddling (done by redoCursor)
2960 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2961 destroy remaining ones)
2963 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2965 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2967 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2970 * text3.C: adjust + re-allow multi par depth changes
2971 * textcursor.C: simplify a bit
2973 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2979 * src/output_docbook.C:
2980 * src/output_latex.C:
2985 * src/text2.C: Introducing a number of tags parametrizing various
2986 XML formats that we may want to support
2988 2003-11-25 André Pönitz <poenitz@gmx.net>
2990 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2992 * lyxtext.h (leftMargin/rightMargin): simplify interface
2999 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3001 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3002 master file to any child files. Fixes bug 546.
3004 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3006 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3008 2003-11-24 André Pönitz <poenitz@gmx.net>
3010 * rowpainter.C: simplification
3012 * text2.C (updateCounters): remove call to redoParagraph on
3013 changed labels as this is far too expensive.
3015 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3017 * converter.C (convert): fix a crash: this function gets
3018 called with buffer == 0 from importer code.
3020 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3022 * text3.C (cursorPrevious): make sure that we do not compare
3023 iterators form different containers.
3026 * rowpainter.C (paintSelection): make sure that we do not compare
3027 iterators from different containers.
3029 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3030 iterators from different ParagraphList containers.
3033 * text2.C (LyXText): change order of initialization slightly
3034 (operator=): new function. copy all variables except cache_par_
3035 (moveUp): make sure that we do not compare iterators from
3036 different ParagraphList constainers.
3039 * text.C (firstPar): new function
3040 (lastPar): new function
3041 (endPar): new function
3043 * lyxtext.h: move things around and group public functions, public
3044 variables, private functions, private variables
3046 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3048 * factory.C: change call to InsetERT constructor to avoid
3049 additional invocation of method status
3050 * text2.C (toggleInset): remove redundant update() call
3051 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3052 instead of a Bufferview pointer
3054 2003-11-21 André Pönitz <poenitz@gmx.net>
3056 * rowpainter.C: simplification
3058 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3060 * text3.C (dispatch): make possible to extend a word/row selection
3063 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3065 * lyxtext.h: x0_,y0_ -> xo_,yo_
3066 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3067 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3068 * rowpainter.C (paintRows): paint full paragraphs
3070 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3072 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3075 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3077 * lyxtext.h: add x0_, y0_
3078 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3079 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3081 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3083 * text2.C (setCursorIntern): move the x_target update here *
3084 * text3.C: change some bv() to true/false in calls to
3085 cursorUp/Down/Right/Left
3086 * cursor.C: use helper function.
3088 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3090 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3091 * paragraph_funcs.[Ch]: correct comment
3092 * rowpainter.C: do not paint selections away from bv->cursor()
3093 Fix a long standing selection painting bug.
3094 * text3.C: generalize mouse-selection code to LyXTexts other that
3096 * textcursor.C: do not use y coords if we can use par offsets
3098 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3100 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3101 cursor position after e.g. inset insert)
3103 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3105 * lyxfind.C (replace): adjust to locking removal + some
3108 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3110 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3113 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3116 * output_docbook.C: XML sanitation: new layout
3117 parameters InnerTag and CommandDepth
3119 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3121 * BufferView_pimpl.C:
3123 * text3.C: Fix the insertion and modification of button-style
3126 2003-11-13 André Pönitz <poenitz@gmx.net>
3128 * InsetList.[Ch]: remove deleteLyXText
3130 * paragraph.[Ch]: cache beginOfBody position
3135 * text3.C: remove superfluous update() calls
3139 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3141 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3142 * BufferView.C (fitLockedInsetCursor): remove
3143 * cursor.[Ch] (getDim): add
3144 * text.C (getRowNearY): add faster version
3145 * text3.C: remove some update calls
3147 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3159 * text3.C: The Character Style /XML short element patch.
3161 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3164 * factory.C: Small step to solving 'unable to insert some insets'
3167 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3169 * cursor.[Ch] (updatePos): new function for updating the y
3170 position of the tip inset
3171 * bufferview_funcs.C (put_selection_at):
3172 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3174 2003-11-11 André Pönitz <poenitz@gmx.net>
3176 * text.C: remove big comment on invalid Paragraph pointers as it is
3179 2003-11-11 André Pönitz <poenitz@gmx.net>
3181 * text_funcs.[Ch]: merge with ...
3189 * Makefile.am: remove text_funcs.[Ch]
3191 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3193 * cursor.C (getPos): return absolute cached y coord
3195 * BufferView_pimpl.C (fitCursor): new simplistic code
3196 (workAreaDispatch): add a fitCursor call
3198 2003-11-10 André Pönitz <poenitz@gmx.net>
3201 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3203 2003-11-10 André Pönitz <poenitz@gmx.net>
3205 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3206 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3207 indicate that the cursor needs to leave an inset
3209 * lyxtext.h: remove inset locking
3211 * cursor.[Ch]: re-implement functionality provided by inset locking
3214 * BufferView_pimpl.[Ch]:
3216 * bufferview_funcs.[Ch]:
3228 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3230 * PosIterator.[Ch]: replace the stack with a vector, add inset
3232 * iterators.[C]: adjust
3234 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3236 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3238 * paragraph_funcs.C (readParToken): put the correct id in the
3239 error item, not the id of the top paragraph
3241 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3243 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3244 * bufferview_funcs.C (put_selection_at): use the above
3246 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3248 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3250 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3252 * output_linuxdoc.h:
3253 * output_plaintext.h:
3255 * output_docbook.h: add #include statements
3257 2003-11-05 José Matos <jamatos@lyx.org>
3259 * output_docbook.[Ch]:
3260 * output_latex.[Ch]:
3261 * output_linuxdoc.[Ch]:
3262 * output_plaintext.[Ch]: New files for output formats.
3263 * output.[Ch]: New file for helper functions.
3266 * paragraph_funcs.[Ch]: output functions moved to new files.
3268 * outputparams.h: rename of latexrunparams.h
3276 * paragraph_funcs.[Ch]:
3277 * paragraph_pimpl.[Ch]:
3278 * tabular.[Ch]: rename ascii to plaintext
3279 and LatexRunParams to OutputParams.
3281 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3283 * iterators.[Ch] (text): require bv argument
3284 * undo.C (recordUndo):
3285 * lyxfunc.C (dispatch):
3286 * bufferview_funcs.C (put_selection_at): adjust
3288 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3290 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3292 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3294 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3297 2003-11-04 André Pönitz <poenitz@gmx.net>
3299 * cursor.[Ch]: restructure
3302 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3304 * iterators.[Ch] (asCursor): remove
3306 * lfuns.h: remove LFUN_INSET_EDIT
3312 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3314 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3316 * lyxfind.[Ch]: complete overhaul
3317 * BufferView_pimpl.C:
3319 * paragraph.[Ch] (insert): add
3321 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3325 * text.C: remove dead spellcheck code
3327 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * dispatchresult.h: add a val setter
3331 * cursor.C (dispatch): use a tempvar for data_[i]
3333 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3335 * PosIterator.[Ch]: compile fix
3337 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3339 * text.C (cursorPar): deactivate the cursor cache
3341 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3343 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3345 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * text3.C (dispatch): adjust for new DisptchResult semantics.
3349 * lyxfunc.C (dispatch): handle update when return from
3350 Cursor::dispatch, adjust for new DispatchResult semantics.
3352 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3353 DispatchResult(true) mean to not update. Add class functions for
3354 setting dispatched and update, as well as reading.
3356 * cursor.C (dispatch): don't handle update here
3358 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3360 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3361 * trans_mgr.C: adjust
3363 * paragraph_funcs.C (readParToken): exception safety
3365 * lyxvc.h: store the vcs pointer in a scoped_ptr
3368 * lyxsocket.C (serverCallback): exception safety
3370 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3372 * ispell.C (clone): make it return a auto_ptr
3374 * factory.C (createInset): exception safety
3375 (readInset): exception safety
3377 * bufferlist.C (newBuffer): exception safety
3379 * Thesaurus.C (Thesaurus): use initialization for aik_
3381 * MenuBackend.C (expandToc): exception safety.
3383 2003-11-03 André Pönitz <poenitz@gmx.net>
3387 * bufferview_funcs.C: remove getInsetFromId()
3390 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3396 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3398 * PosIterator.C (distance, advance): new
3399 * bufferview_funcs.[Ch] (put_selection_at): new
3400 * iterators.[Ch] (lockPath): new
3402 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3404 * iterators.[Ch] (asPosIterator): added
3405 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3406 * PosIterator.[Ch]: added
3408 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * cursor.C (dispatch):
3413 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3415 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3416 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3417 contructor, add a class function dispatched. Remove operator>=
3419 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3421 * debug.C: only use the default constructor for debugstream
3424 * main.C (main): include debug.h and setup the lyxerr streambuf
3427 2003-10-31 José Matos <jamatos@lyx.org>
3429 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3431 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3432 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3433 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3434 * paragraph_pimpl.C (simpleTeXSpecialC):
3435 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3436 add LatexRunParams argument.
3438 * exporter.C (Export): change call accordingly.
3440 * latexrunparams.h: add new member to take care of the other backends.
3441 2003-10-30 José Matos <jamatos@lyx.org>
3443 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3444 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3445 factorise code for paragraph output.
3447 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3450 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3452 * text3.C (dispatch):
3453 * lyxfunc.C (dispatch):
3454 * cursor.C (dispatch):
3455 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3457 * dispatchresult.h: make the dispatch_result_t ctor explicit
3459 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3462 * buffer.C: small refactoring of docbook stuff
3464 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3469 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3472 operator dispatch_result_t, and operators for == != and >=
3474 * cursor.C (dispatch): adjust for operator dispatch_result_t
3475 removal. comment out call to update
3477 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3479 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3487 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3490 * dispatchresult.h: new file, DispatchResult broken out of
3493 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3495 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3497 * text.C (rowBreakPoint): put a hack inside #if 0
3499 2003-10-28 André Pönitz <poenitz@gmx.net>
3503 * paragraph_funcs.C:
3506 * text2.C: general cleanup (lots of small stuff)
3508 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3510 * text2.C (cursorEnd): simple fix to the "end key goes to one
3511 before the end on last row" bug
3513 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3515 * text.C (backspace): fix the "zombie characters"
3517 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3519 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3521 2003-10-27 André Pönitz <poenitz@gmx.net>
3523 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3525 * factory.C: handle new InsetPagebreak, InsetLine
3527 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3528 and move handling into new InsetPagebreak, InsetLine
3530 * BufferView_pimpl.C:
3532 * ParagraphParameters.C:
3533 * ParameterStruct.h:
3538 * paragraph_funcs.C:
3539 * paragraph_pimpl.C:
3545 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3548 * lyxrow_funcs.[Ch]:
3554 * text3.C: remove lastPos uses in favour of Row::endpos
3556 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3558 * undo.C (performUndoOrRedo): fix two crashes by setting a
3559 cursor by hand and reordering some calls. Use bv->lockInset instead
3560 of inset->edit because the latter loses cursor information
3562 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3564 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3566 (rowBreakPoint): fix width. change point to point + 1.
3567 Add a missing check.
3569 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3572 * lyxfunc.C: fix (at least partly) the problems
3573 with the Nav menu and headers inside branch insets
3576 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3578 * paragraph.C (getChar): add strong asserts
3580 * lyxrow_funcs.C (lastPos): remove hideous hack
3582 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3583 (fill): adjust to that (avoid an infinite loop)
3585 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3587 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3589 2003-10-23 André Pönitz <poenitz@gmx.net>
3591 * RowList_fwd.h: change list<> to vector<> to gain speed
3592 after suggestion from Alfredo
3594 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3596 * lyxtext.h: move the bidi stuff from here...
3599 * Bidi.[Ch]: ... to here
3601 2003-10-23 André Pönitz <poenitz@gmx.net>
3604 * text.C (isLastRow, isFirstRow): new functions
3606 * paragraph.h: new width cache member
3608 * rowpainter.C: replace RowList::iterator with Row & where possible
3610 * lyxfunc.C: replace several view()->text with a single call
3612 * toc.C: fix 'unused' warning
3614 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3616 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3617 when woring with stream::pos_type
3618 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3620 2003-10-22 André Pönitz <poenitz@gmx.net>
3623 * text.C: use Row & instead of RowList::iterator
3625 * lyxrow.h: rename end() to endpos()
3631 2003-10-22 Angus Leeming <leeming@lyx.org>
3633 * buffer.[Ch] (fully_loaded): new member function, returning true
3634 only when the file has been loaded fully.
3635 Used to prevent the premature generation of previews and by the
3636 citation inset to prevent computation of the natbib-style label.
3638 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3639 templates are all set up.
3641 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3643 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3645 * text.C: fixed an "oops" in the "is a bit silly"
3648 2003-10-21 André Pönitz <poenitz@gmx.net>
3650 * FuncStatus.[Ch]: small stuff, whitespace
3652 * lyxfont.[Ch]: operator<<() for debug reasons
3656 * lyxtext.h: whitespace, spelling
3658 * paragraph.C: naming of variables
3661 * text2.C: small stuff
3664 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3666 * text.C: (1) finish off the inset display() work;
3667 (2) fix the "is a bit silly" bug (accessing char
3670 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3672 * text.C: re-introduce display() for insets, fixing the
3673 various bugs (stretch of line above, math inset
3676 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3678 * text.C (rightMargin): remove spurious semicolon
3680 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3683 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3685 * text3.C: fix one crash due to wrong cursor def
3687 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * vc-backend.C (scanMaster): make the regex static
3691 * LaTeX.C (scanAuxFile): make the regexs static
3693 * text3.C (doInsertInset, dispatch, dispatch):
3694 * text2.C (cursorUp, cursorDown):
3695 * text.C (selectNextWordToSpellcheck):
3696 * BufferView_pimpl.C (dispatch):
3697 * lyxfunc.C (dispatch): localDispatch -> dispatch
3699 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3701 * lyxsocket.C: include <cerrno>
3703 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * lyxfunc.C (dispatch): remove textcache stuff
3707 * bufferlist.C (release): remove textcache stuff
3710 * TextCache.C: delete file
3711 * TextCache.h: delete file
3713 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3715 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3716 delete of the bv_->text.
3717 (resizeCurrentBuffer): remove texcache stuff
3718 (workAreaResize): ditto
3720 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3725 2003-10-16 André Pönitz <poenitz@gmx.net>
3732 * text3.C: speed up by storing y positions per paragraph plus per-row
3733 offset instead of having a 'full' y position in the row.
3735 2003-10-15 André Pönitz <poenitz@gmx.net>
3739 * undo.[Ch]: make undo aware of inner insets
3741 2003-10-14 Angus Leeming <leeming@lyx.org>
3743 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3744 static member functions LyX::ref() and LyX::cref.
3745 (lastfiles): new accessor functions for the new lastfiles_ member var.
3746 (addLyXView, views_): add a new LyXView to the list of views_.
3747 (updateInset): loop over all LyXViews to call their own updateInset
3748 member function, returning a pointer to the Buffer owning the inset.
3750 * BufferView_pimpl.C (loadLyXFile):
3751 * MenuBackend.C (expandLastfiles):
3752 * bufferlist.C (MenuWrite, QuitLyX):
3753 lastfiles is no longer a global variable.
3754 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3756 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3757 static function. Access through LyX::cref().emergencyCleanup().
3759 2003-10-14 André Pönitz <poenitz@gmx.net>
3761 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3763 * undo.[Ch]: restoring part of 'undo in insets'
3766 * undo_funcs.[Ch]: merge with undo.[Ch]
3768 * tabular.C: small cleansing stuff
3770 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3772 * paragraph_funcs.C (readParToken): report unknown insets as error
3773 boxes. Use the outer paragraph as location (also for unknown
3776 * factory.C (readInset): do not abort on reading an unknown inset.
3777 Eat it and return 0.
3779 2003-10-13 Angus Leeming <leeming@lyx.org>
3781 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3783 * lyxrc.C: displayTranslator is now a function,
3784 declared in GraphicsTypes.h.
3786 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3788 * format.C: new placeholder $$a to pass the socket address.
3790 * bufferlist.[Ch]: new function getBufferFromTmp.
3792 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3793 files in the temporary dir.
3795 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3797 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3799 * Makefile.am: add lyxsocket.[Ch].
3801 * lyx_main.C (error_handler): handle SIGPIPE.
3803 2003-10-13 André Pönitz <poenitz@gmx.net>
3805 * BufferView_pimpl.C:
3810 * undo_funcs.[Ch]: use paroffset_type instead of
3811 ParagraphList::iterators to prevent multiple conversion
3812 (and get a more robust interface)
3814 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3816 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3818 * text3.C (dispatch): ditto
3820 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3823 move the onlyfile, use onlyfile instead of foundfile in a couple
3826 * DepTable.C (update): flush the error stream a bit more
3828 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * lyxserver.C (callback): adjust
3832 * lyxfunc.C (getStatus): add a missing brace in commented code
3833 (ensureBufferClean): reindent
3834 (dispatch): delete version taking a string
3836 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * LaTeX.C (deplog): move found file handlig from here...
3839 (handleFoundFile): .. to new function here.
3840 (deplog): make sure to discover several files mentioned on the
3843 2003-10-10 André Pönitz <poenitz@gmx.net>
3850 * text3.C: fix some of the tabular crashes
3852 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3854 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3856 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3858 2003-10-09 André Pönitz <poenitz@gmx.net>
3860 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3863 * BufferView_pimpl.C:
3864 * bufferview_funcs.C:
3875 * undo_funcs.C: adjust
3877 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3879 * text2.C (incrementItemDepth): new function, use a backtracking
3880 algorithm to discover the correct item depth.
3881 (resetEnumCounterIfNeeded): new function, use a backtracking
3882 algorithm to discover if counter reset is needed.
3883 (setCounter): use them. Simplify a bit. Add different labels for
3884 different item depths for itemize.
3886 * paragraph.C (Paragraph): remove initialization of enumdepth
3889 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3890 enumerate and itemize. Change the type of itemdepth to signed char.
3892 2003-10-08 André Pönitz <poenitz@gmx.net>
3894 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3899 * tabular.[Ch]: fix crash after 'row-insert'
3901 2003-10-08 Angus Leeming <leeming@lyx.org>
3903 Fix doxygen warnings.
3905 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3906 Remove CutAndPaste:: prefix from header file declaration.
3908 * LColor.h (fill): remove LColor:: prefix from declaration.
3910 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3911 use lyx::depth_type rather than Paragraph::depth_type so that
3912 header file and .C file match.
3914 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3916 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3917 * aspell.C: \file aspell_local.C -> \file aspell.C
3918 * gettext.C: \file gettext.C -> \file src/gettext.C
3919 * gettext.h: \file gettext.h -> \file src/gettext.h
3920 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3921 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3922 * text.C: \file text.C -> \file src/text.C
3924 * toc.C: move comment so that doxygen is not confused.
3926 2003-10-07 Angus Leeming <leeming@lyx.org>
3928 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3930 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3933 * aspell_local.h: add forgotten std::string's.
3935 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3942 * text3.C: The Box patch. Fancybox support, minipage, parbox
3944 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3950 * ParagraphParameters.h:
3960 * lyxtextclasslist.h:
3963 * paragraph_pimpl.C:
3964 * textcursor.h: add <string> and other small fixes to make Lars'
3965 std::string patch compile with STLport.
3967 2003-10-06 Angus Leeming <leeming@lyx.org>
3969 * LColor.h: Add missing #include <string>.
3971 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3973 * All most all file in all subdirs: Make <string> be the prefered
3974 way of getting to std::string, add using declarations.
3976 2003-10-06 André Pönitz <poenitz@gmx.net>
3978 * metricsinfo.C: initialize LyXFont before changing attribute.
3979 (fixes the 'math in \emph is upright' bug)
3981 2003-10-06 André Pönitz <poenitz@gmx.net>
3983 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3985 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3988 * paragraph_pimpl.C: Small fixes to build using STLport
3990 2003-10-02 André Pönitz <poenitz@gmx.net>
3993 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3995 2003-10-01 André Pönitz <poenitz@gmx.net>
3997 * factory.C: assert early
3999 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4001 * lyx_main.C: remove the global debug object
4003 * debug.h: adjust for new debugstream
4005 * debug.C: adjust for new debugstream and keep the global debug
4008 2003-09-22 Angus Leeming <leeming@lyx.org>
4010 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4011 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4012 an incomplete class LyXFont.
4014 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4016 * factory.C: bug fix in branches
4018 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * lyxfunc.C (processKeySym): adjust
4022 (dispatch): change arg name from ev to func, adjust
4023 (sendDispatchMessage): ditto
4025 * lyx_main.C (defaultKeyBindings): adjust keybindings
4026 (deadKeyBindings): ditto
4028 * kbsequence.C (addkey): return a FuncRequest
4030 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4032 * kbmap.C (bind): take a FuncRequest as arg, adjust
4035 (defkey): change to take a FuncRequest as arg, adjust
4036 (findbinding): take a FuncRequest as arg, adjust.
4038 * funcrequest.h (operator=): added
4040 * funcrequest.C (FuncRequest): default kb_action changed from
4041 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4043 * buffer.C (dispatch): simplify
4044 (dispatch): adjust to take a FuncRequest as arg, adjust
4046 * boost.C (assertion_failed): change assertion message slightly
4048 * ToolbarBackend.C (read): simplify
4050 * MenuBackend.C (binding): adjust call to findbinding, add a
4051 message if no binding is found.
4053 (expandToc): correct by adding a empty FuncRequest
4055 * LyXAction.C: include <boost/assert.hpp>
4056 (isPseudoAction): delete function
4057 (LookupFunc): change name to...
4058 (lookupFunc): this. change return type to FuncRequest.
4059 (getActionName): take kb_action as arg, simplify
4060 (funcHasFlag): add an assert, simplify.
4062 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4064 * toc.C (action): return a FuncRequest, simplify
4066 * lyxfunc.C (processKeySym): adjust
4067 (getStatus): delete version that takes an int.
4069 (dispatch): delete version that takes action as int
4071 (sendDispatchMessage): simplify and adjust
4073 * funcrequest.C (getArg): take unsigned int as arg
4075 * ToolbarBackend.C (read): adjust
4076 (add): delete version that takes func as a string.
4077 (getIton): take a FuncRequest as arg
4079 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4082 * MenuBackend.C (MenuItem): add a new construct that only takes a
4083 Kind, simplify the constructor use for submenus.
4085 (expandLastfiles): adjust
4086 (expandDocuments): adjust
4087 (expandFormats): adjust
4088 (expandFloatListInsert): adjust
4089 (expandFloatInsert): adjust
4090 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4092 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4093 Remove class variables lyx_pseudo_map and lyx_arg_map
4095 * LyXAction.C (searchActionArg): delete function
4096 (getPseudoAction): delete function
4097 (retrieveActionArg): delete function
4098 (LookupFunc): make it return kb_action, simplify.
4099 (getActionName): simplify
4101 * factory.C (createInset): fix new bug
4103 2003-09-19 Angus Leeming <leeming@lyx.org>
4105 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4106 masterFilename_ parameter in the include inset.
4108 * factory.C (createInset): changes due to the changes to InsetInclude.
4110 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4112 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4114 2003-09-18 Angus Leeming <leeming@lyx.org>
4117 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4118 Inset::fillWithBibKeys.
4119 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4121 2003-09-18 Angus Leeming <leeming@lyx.org>
4123 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4125 (ctor): pass and store a 'Buffer const &'
4126 (buffer): new member function.
4128 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4129 '*this' to the LaTeXFeatures ctor.
4131 2003-09-18 Angus Leeming <leeming@lyx.org>
4137 * text.C: rename EnumLColor as LColor_color.
4139 2003-09-18 Angus Leeming <leeming@lyx.org>
4141 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4142 remove #include "insets/insetbase.h" from cursor.h.
4144 2003-09-18 Angus Leeming <leeming@lyx.org>
4146 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4147 InsetOld_code to remove #include "inset.h".
4149 * iterators.C: add #include "insets/inset.h"
4151 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4153 * BufferView.C: remove more locking stuff that apparently doesn't
4154 do anything sensible.
4156 2003-09-16 André Pönitz <poenitz@gmx.net>
4159 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4162 2003-09-16 Angus Leeming <leeming@lyx.org>
4164 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4166 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4169 * paragraph.h: remove #include "lyxfont.h". Forward declare
4172 2003-09-16 Angus Leeming <leeming@lyx.org>
4174 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4175 of support/textutils.h.
4176 (isWord): move the contents of support/textutils.h's IsWordChar here.
4182 * text2.C: add #include "paragraph.h".
4185 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4187 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4193 * LaTeX.C: use namespace alias for lyx::support::os
4195 2003-09-16 Angus Leeming <leeming@lyx.org>
4198 * bufferview_funcs.C:
4201 * paragraph_pimpl.C:
4203 * text.C: add #include "LColor.h".
4205 2003-09-16 Angus Leeming <leeming@lyx.org>
4207 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4208 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4210 Store the FontBits::color variable as an int rather than as an
4211 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4214 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4215 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4216 string calls together.
4218 * lyxrc.C: add #include "LColor.h".
4220 2003-09-15 Angus Leeming <leeming@lyx.org>
4222 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4225 2003-09-15 Angus Leeming <leeming@lyx.org>
4227 * LColor.h: add an EnumLColor wrapper for LColor::color.
4229 * lyxfont.[Ch] (color, setColor, realColor):
4230 * lyxtext.h, text.C (backgroundColor):
4231 pass EnumLColor args to/from the functions, rather than LColor::color
4235 * lyxtext.h: forward declare EnumLColor.
4237 * lyx_main.C: add #include "LColor.h".
4239 2003-09-15 Angus Leeming <leeming@lyx.org>
4241 * .cvsignore: add lyx-gtk.
4243 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4248 * ParagraphParameters.C
4252 * bufferview_funcs.C
4262 * vc-backend.C: remove usage of STRCONV
4264 2003-09-15 Angus Leeming <leeming@lyx.org>
4266 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4267 explicitly define the color passed to the painter.
4269 2003-09-15 Angus Leeming <leeming@lyx.org>
4271 * bufferparams.C (BufferParams): reorder member initializers to avoid
4274 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4276 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4277 * text.C (updateRowPositions): remove an unusual nop
4279 2003-09-12 André Pönitz <poenitz@gmx.net>
4281 * BufferView_pimpl.C:
4290 * Counters.[Ch]: finish the 'automatic counters' job
4292 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4294 * aspell.C: include <boost/assert.cpp> (compile fix)
4296 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4298 * boost.C (assertion_failed): use lyx::support::abort instead of
4301 2003-09-10 Angus Leeming <leeming@lyx.org>
4303 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4304 with their _fwd progeny.
4306 2003-09-09 Angus Leeming <leeming@lyx.org>
4308 134 files throughtout the source tree: replace 'using namespace abc;'
4309 directives with the appropriate 'using abc::xyz;' declarations.
4311 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4313 * boost.C (emergencyCleanup): moved here from LAssert.c
4314 (assertion_failed): new function, called by BOOST_ASSERT
4316 * several files: change Assert to BOOST_ASSERT
4318 2003-09-09 Angus Leeming <leeming@lyx.org>
4320 * buffer.[Ch]: Add an Impl class and move Buffer's member
4321 variables into it. As a result move several header files out of
4324 Add header files to lots of .C files all over the tree as a result.
4326 2003-09-09 Angus Leeming <leeming@lyx.org>
4328 * buffer.[Ch]: make Buffer's member variables private. Add
4331 Lots of changes all over the tree as a result.
4333 2003-09-08 Angus Leeming <leeming@lyx.org>
4335 * graph.C: #include <config.h>.
4337 2003-09-08 Angus Leeming <leeming@lyx.org>
4341 * BufferView_pimpl.C:
4370 * toc.C: remove redundant using directives.
4372 2003-09-07 Angus Leeming <leeming@lyx.org>
4374 * LaTeXFeatures.h: remove #include "support/types.h".
4375 * ToolbarBackend.h: remove #include <algorithm>.
4376 * changes.h: remove #include <ctime>.
4377 * debug.h: remove #include <iosfwd>.
4378 * graph.h: remove #include "support/std_string.h".
4379 * lyx_main.h: remove #include <csignal>.
4380 * lyxlex_pimpl.h: remove #include <fstream>.
4381 * sgml.h: remove #include <algorithm>, <utility>.
4382 * toc.h: remove #include "support/std_ostream.h".
4383 Add #include <iosfwd>.
4385 2003-09-07 Angus Leeming <leeming@lyx.org>
4387 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4389 * converter.h: forward declare LatexRunParams.
4390 * encoding.h: remove #include "lyxrc.h".
4391 * lyxtext.h: remove #include "LColor.h".
4392 * lyxtextclass.h: remove #include "support/types.h".
4393 * trans.h: remove #include "tex-accent.h".
4394 * trans_mgr.h: remove #include "tex-accent.h".
4395 * insets/inset.h: remove #include "support/types.h", <vector>.
4396 * insets/insetcollapsable.h: remove #include "LColor.h".
4397 * insets/insetinclude.h: remove #include "dimension.h".
4398 * insets/insetlatexaccent.h: remove #include "dimension.h".
4399 * insets/insetoptarg.h:: remove #include "insettext.h".
4400 * insets/insettext.h: remove #include "dimension.h",
4401 <boost/shared_ptr.hpp>
4403 * insets/renderers.h: add #include "dimension.h".
4404 * insets/updatableinset.h: add #include "support/types.h".
4406 * many .C files: Associated changes.
4408 2003-09-06 Angus Leeming <leeming@lyx.org>
4410 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4411 one, inside testInvariant.
4413 * PrinterParams.C: new file.
4414 * PrinterParams.[Ch]: move the function bodies out of line.
4416 2003-09-06 Angus Leeming <leeming@lyx.org>
4418 * ParagraphParameters.h: forward declare ParameterStruct rather than
4419 including its header file.
4420 (depth): moved out-of-line.
4422 2003-09-06 Angus Leeming <leeming@lyx.org>
4424 * BufferView_pimpl.h:
4427 * lyxfunc.h: forward declare LyXKeySym rather than
4428 #include "frontends/LyXKeySym.h".
4430 * BufferView_pimpl.C:
4433 * lyxfunc.C: associated changes.
4435 2003-09-06 Angus Leeming <leeming@lyx.org>
4437 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4438 As a result, can remove the #include "insets/inset.h" from BufferView.h
4440 2003-09-06 Angus Leeming <leeming@lyx.org>
4442 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4443 As a result, can remove the #include "insets/inset.h" from BufferView.h
4445 2003-09-06 Angus Leeming <leeming@lyx.org>
4451 * bufferview_funcs.C:
4452 * BufferView_pimpl.C:
4457 * ParagraphParameters.C:
4462 * frontends/controllers/ControlDocument.C:
4463 * insets/insetcaption.C: rearrange the #includes into some sort of
4466 * buffer.h: remove #includes ErrorList.h, undo.h
4468 2003-09-06 Angus Leeming <leeming@lyx.org>
4470 * support/types.h: add a 'depth_type' typedef, used to store the
4471 nesting depth of a paragraph.
4474 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4475 defining explicitly.
4478 * paragraph_funcs.h:
4479 * ParagraphParameters.h:
4480 * sgml.h: use lyx::depth_type rather than Paragraph or
4481 ParameterStruct's depth_type.
4484 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4487 * BufferView_pimpl.C:
4489 * ParagraphParameters.C:
4492 * bufferview_funcs.C:
4499 * frontends/LyXView.C:
4500 * frontends/controllers/ControlDocument.C:
4501 * frontends/controllers/ControlErrorList.C:
4502 * insets/insetbibitem.C:
4503 * insets/insetbranch.C:
4504 * insets/insetcaption.C:
4505 * insets/insetcollapsable.C:
4506 * insets/insetenv.C:
4507 * insets/insetert.C:
4508 * insets/insetfloat.C:
4509 * insets/insetfoot.C:
4510 * insets/insetfootlike.C:
4511 * insets/insetnewline.C:
4512 * insets/insetquotes.C:
4513 * insets/insettabular.C:
4514 * insets/insettext.C:
4515 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4517 * frontends/controllers/ControlChanges.C: #include "changes.h".
4519 2003-09-06 Angus Leeming <leeming@lyx.org>
4521 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4522 than #including paragraph.h.
4525 * RowList.h: deleted. Superfluous.
4535 * insets/insettext.h: use ParagraphList_fwd.h rather than
4538 * paragraph.h: don't forward declare ParagraphList.
4541 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4542 rather than ParagraphList.h. paragraph.h is still needed for the
4543 Paragraph::depth_type parameters.
4545 * textcursor.h: enable it to compile stand-alone in light of the
4548 * bufferview_funcs.C:
4560 * frontends/controllers/ControlParagraph.C:
4561 * frontends/controllers/ControlTabular.C:
4562 * insets/insetmarginal.C:
4563 * insets/insetminipage.C:
4564 * insets/insetnote.C:
4565 * insets/insetoptarg.C: add header files needed to compile again.
4567 2003-09-06 Angus Leeming <leeming@lyx.org>
4569 * RowList_fwd.h: new file, forward-declaring Row rather than
4570 #including lyxrow.h.
4575 * insets/insettext.h: use it instead of RowList.h
4577 * bufferview_funcs.C:
4584 * text3.C: #include "RowList.h".
4586 2003-09-05 Angus Leeming <leeming@lyx.org>
4588 * factory.C (createInset):
4589 * vspace.C (c-tor): replace sscanf call with an istringstream.
4590 * ispell.C: re-add missing HP/UX headers.
4591 * lyxserver.C: re-add missing os2 headers.
4593 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4602 * text3.C: re-add missing system headers, needed for 2.95.2.
4604 2003-09-05 Angus Leeming <leeming@lyx.org>
4606 Changes most place everywhere due to the removal of using directives
4607 from support/std_sstream.h.
4609 2003-09-05 Angus Leeming <leeming@lyx.org>
4611 Replace LString.h with support/std_string.h,
4612 Lsstream.h with support/std_sstream.h,
4613 support/LIstream.h with support/std_istream.h,
4614 support/LOstream.h with support/std_ostream.h.
4616 Changes resulting throughout the tree.
4618 2003-09-05 Angus Leeming <leeming@lyx.org>
4620 * sgml.h: ensure that the header file can be compiled stand-alone.
4621 * *.C: strip out redundant #includes. (320 in total.)
4623 2003-09-04 Angus Leeming <leeming@lyx.org>
4625 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4626 here (from getPackages).
4628 * debug.[Ch]: add a new EXTERNAL tag.
4630 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4632 * text2.C (cursorEnd): simplify
4634 (getColumnNearX): adjust
4636 * text.C (computeBidiTables): adjust
4639 * rowpainter.C (paintChars): adjust
4640 (paintSelection): adjust
4641 (paintChangeBar): adjust
4644 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4646 (numberOfSeparators): adjust
4648 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4654 * text3.C: Restricts the mouse click functionality
4655 of insets like bibtex, include, toc and floatlist to the visible
4656 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4657 up the dialogs. Cursor has to be in front of the inset (i.e.
4658 start of row) for this to function.
4660 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4662 * bufferview_funcs.C (currentState): output row information
4664 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4666 * bufferview_funcs.C (currentState): output paragraph position
4668 2003-09-04 Angus Leeming <leeming@lyx.org>
4670 * FloatList.h: move out #include "Floating.h".
4671 * LaTeX.h: move out #include "DepTable.h".
4672 * LyXAction.h: move out #include "funcrequest.h".
4673 * buffer.h: move out #include "author.h", "iterators.h".
4674 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4675 * lyx_main.h: move out #include "errorlist.h".
4676 * lyxfunc.h: move out #include "FuncStatus.h".
4677 * lyxtext: move out #include "lyxcursor.h".
4678 * paragraph_pimpl.h: move out #include "counters.h".
4680 2003-09-03 Angus Leeming <leeming@lyx.org>
4682 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4683 preamble_snippets list, enabling us to add snippets to the preamble
4684 only if the snippet was not there already.
4686 2003-09-04 Angus Leeming <leeming@lyx.org>
4688 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4690 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4692 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4695 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4697 * BranchList.C: point fix, earlier forgotten
4699 2003-09-02 Angus Leeming <leeming@lyx.org>
4701 * box.C (contains): renamed from 'contained' after a fantastic
4704 2003-09-02 John Levon <levon@movementarian.org>
4710 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4712 2003-09-02 John Levon <levon@movementarian.org>
4714 * text2.C: simplification of cursorEnd(), including partial
4717 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4719 * buffer.C (readFile): add a space
4721 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4723 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4725 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * buffer.C (readFile): new function, take a filename and a
4728 ParagraphList::iterator
4730 (readFile): adjust, make it private. don't use setStream, make
4731 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4732 always contain the filename.
4734 * BufferView.C (insertLyXFile): simplify and make it work for
4737 2003-08-30 John Levon <levon@movementarian.org>
4739 * Makefile.am: fix dist (from Kayvan)
4741 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * most files: change to use const Buffer refs
4745 2003-08-27 André Pönitz <poenitz@gmx.net>
4747 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4748 on top of ownerPar().
4750 2003-08-27 John Levon <levon@movementarian.org>
4752 * funcrequest.C: properly initialise POD members
4754 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4756 * lyxtext.h (top_y): move top_y from here
4761 * BufferView_pimpl.[Ch]: to here
4762 * frontends/screen.C:
4763 * insets/insettabular.C:
4764 * insets/insettext.C: adjust
4765 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4767 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4770 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4772 2003-08-26 André Pönitz <poenitz@gmx.net>
4774 * paragraph_func.[Ch] (outerPar): new function
4777 * paragraph_funcs.C:
4778 * paragraph_funcs.h:
4779 * paragraph_pimpl.C:
4780 * text2.C: remove Inset::par_owner
4782 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4787 * text2.C: eliminates the needFullRow/display() stuff
4788 altogether, putting the logic in metrics/draw in the insets.
4790 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4792 * text2.C (redoParagraphInternal, redoParagraphs):
4793 * text.C (redoParagraph): add a call to updateRowPositions at the
4794 end of each 'metrics-like' call. Remove all others.
4795 (getRow): remove the 'y-computing' version.
4796 (getRowNearY): do not compute nor return the real y. Solve the
4797 'y < 0' problem and simplify.
4799 2003-08-22 Angus Leeming <leeming@lyx.org>
4801 * *.[Ch]: clean-up of licence and author blurbs.
4802 Also move config.h out of a few .h files and into a few .C files.
4804 2003-08-22 André Pönitz <poenitz@gmx.net>
4806 * lyxrow.[Ch]: add x_ and *fill_ members
4811 * text2.C: adjust/remove prepareToPrint() calls
4813 2003-08-22 André Pönitz <poenitz@gmx.net>
4815 * lyxrow.[Ch]: add end_ member
4817 * lyxrow_funcs.C: use LyXRow::end_
4819 * lyxtext.h (singleWidth): add LyXFont parameter
4822 * text2.C: adjust LyXText::singleWidth() calls
4824 * text.C (redoParagraph): simplify row breaking logic
4827 2003-08-19 André Pönitz <poenitz@gmx.net>
4829 * funcrequest.C: initialize button_ member
4832 * rowpainter.[Ch]: interface consolidation
4834 2003-08-18 André Pönitz <poenitz@gmx.net>
4837 * BufferView_pimpl.C:
4839 * paragraph_funcs.C:
4841 * text3.C: remove LyXScreen::draw() and fitCursor calls
4843 * BranchList.h: remove spurious semicolons
4845 * MenuBackend.C: fix branchlist related crash
4847 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4855 * bufferparams.[Ch]:
4859 * text3.C: implements the 'branch inset'
4860 idea. This allows the output of various versions of a document
4861 from a single source version, selectively outputing or suppressing
4862 output of parts of the text.
4863 This implementation contains a 'branch list editor' in a separate
4864 tab of the document settings dialog. Branches are user definable
4865 and have a "display colour" to distinguish them on-screen.
4867 ColorHandler was somewhat cleaned up.
4868 (1) make possible a dynamically growing LColor list by allowing
4869 the graphic context cache to grow along (vector);
4870 (2) eliminate an IMHO unnecessary step in colour allocation.
4872 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4874 * BufferView_pimpl.C: compile fix
4876 2003-08-15 André Pönitz <poenitz@gmx.net>
4878 * rowpainter.C: remove extra metrics calls
4880 * lyxtext.h: merge the two constructors into a single one,
4881 pass reference to owner's par list
4883 * BufferView_pimpl.C:
4887 2003-08-15 André Pönitz <poenitz@gmx.net>
4889 * lyxrow_funcs.[Ch]:
4892 * paragraph_funcs.C:
4897 * text_funcs.C: split LyXText::rowlist_ into individual
4898 Paragraph::rows_ chunks
4901 * BufferView_pimpl.[Ch]:
4904 * text3.C: remove toggleSelection()
4906 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4908 * bufferlist.C: beautify two alerts (shorter text of buttons)
4909 * buffer.C: Remove redundant ' ' from message
4911 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4912 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4913 rename VALIGN_CENTER to VALIGN_MIDDLE
4915 2003-08-11 André Pönitz <poenitz@gmx.net>
4917 * lyxtext.h (getPar):
4918 * text.C: new function
4920 2003-08-11 André Pönitz <poenitz@gmx.net>
4923 * tracer.[Ch]: remove unneeded files
4925 * InsetList.[Ch]: remove resizeInsetsLyXText()
4930 * text3.C: merge insertParagraphs() and appendParagraph()
4931 remove breakAgain(), update()
4933 * BufferView_pimpl.[Ch]:
4934 * bufferview_funcs.[Ch]:
4938 * tabular.C: adjust after text & InsetList changes.
4940 2003-08-08 André Pönitz <poenitz@gmx.net>
4942 * text.C (insertChar, backspace): replace rowlist fiddling
4943 with rebreak of full par
4946 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4947 checkParagraph, updateInset): removed
4949 2003-08-07 André Pönitz <poenitz@gmx.net>
4952 * text3.C: merge some LFUN handlers, remove dead code
4954 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4956 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4958 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4960 * text2.C (DEPM): fix part of bug 1255 and 1256
4962 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * BufferView_pimpl.C (workAreaDispatch): change to use
4965 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4966 that are no mouse related.
4968 2003-08-05 André Pönitz <poenitz@gmx.net>
4971 * BufferView_pimpl.[Ch]:
4972 * bufferview_funcs.C:
4974 * text3.C: rip out "deep update"
4976 * textcursor.[Ch] (last_sel_cursor): remove unused member
4978 2003-08-04 André Pönitz <poenitz@gmx.net>
4981 * BufferView_pimpl.[Ch]:
4982 * ParagraphParameters.C:
4983 * bufferview_funcs.C:
4989 * text3.C: replace "complicated" BufferView::update(...) calls with
4992 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4994 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4996 * Makefile.am (lyx_SOURCES): add paper.h
4998 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * Makefile.am: move things around so that both lyx-qt and
5001 lyx-xforms can be built (according to --with-frontend). Then lyx
5002 is a symbolic link to lyx-[firstfrontend]
5004 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5006 * Always use std::endl with lyxerr
5008 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5010 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5012 2003-08-01 André Pönitz <poenitz@gmx.net>
5015 * BufferView_pimpl.[Ch]:
5017 * text3.C: merge BufferView::repaint() and BufferView::update()
5019 2003-08-01 José Matos <jamatos@lyx.org>
5021 * buffer.[Ch]: file_format is no longer a buffer data element.
5023 2003-08-01 André Pönitz <poenitz@gmx.net>
5028 * text2.C: make redoParagraph more independent of current cursor
5030 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5032 * text2.C: remove unneeded members
5034 2003-07-30 André Pönitz <poenitz@gmx.net>
5036 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5038 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5039 create a single function...
5041 * paragraph_funcs.C (moveItem): ... here.
5044 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5046 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5048 * LColor.[Ch]: Add comment and greyedout logical colors.
5050 2003-07-30 André Pönitz <poenitz@gmx.net>
5052 * tabular.C: don't use Assert too heavily. This crashes where it
5055 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5057 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5058 is disabled (bug 1232)
5060 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5062 * factory.C: limited 'arg' scope
5064 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5066 * factory.C: fixed Note submenu issues
5068 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5070 * factory.C: submenu for Note/Comment/Greyedout
5072 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5075 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5077 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5080 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5081 greyedout. Patch provided by Jürgen Spitzmüller.
5083 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5085 * kbmap.C (read): fix error message when reading bind files
5087 2003-07-29 Angus Leeming <leeming@lyx.org>
5089 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5090 certainly does not do what it purports to do. I am doing it, and
5091 us, a favour by killing it.
5093 2003-07-28 José Matos <jamatos@lyx.org>
5095 * buffer.C (readBody, do_writeFile):
5096 * paragraph.C(readParagraph): \end_document replaces \the_end.
5098 2003-07-29 André Pönitz <poenitz@gmx.net>
5101 * BufferView_pimpl.[Ch]:
5105 * textcursor.[Ch]: remove toggleToggle & Co
5107 2003-07-28 José Matos <jamatos@fep.up.pt>
5109 * buffer.C (readParagraph):
5110 * params_func (readParToken, readParagraph):
5111 * paragraph.C (write): \layout -> \begin_layout.
5113 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5115 * lyxlex_pimpl.C (setFile): clean up slightly.
5117 * bufferparams.h: add compressed var
5119 * buffer_funcs.C (readFile): adjust for LyXLex change
5120 (newFile): ditto + simplify
5122 * buffer.C (writeFile): handle writing of compressed files
5124 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5125 Check if the file is compressed and set a bufferparm if so.
5127 * Makefile.am (lyx_LDADD): remove explicit -lz
5129 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5131 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5132 makeDocBookFile): put the real LyX version in the first line of
5136 * version.C.in: remove lyx_docversion
5138 * tabular.C (write_attribute): add a template-based version to
5139 write enums properly
5141 2003-07-28 André Pönitz <poenitz@gmx.net>
5146 * text3.C: use doubles again for x-coordinates. They are needed.
5148 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * messages.C (getLocaleDir): use lyx_localedir()
5152 * lyxlex_pimpl.C (setFile): compress stuff
5154 * buffer.C (writeFile): add some compression stuff
5155 (do_writeFile): new func, dont call expliti close... will this
5158 * Makefile.am (lyx_LDADD): add -lz
5160 2003-07-28 José Matos <jamatos@fep.up.pt>
5162 * buffer.C: increment file format.
5163 * paragraph_funcs (readParagraph, readParToken):
5164 * paragraph.C (readParagraph): add \end_layout.
5166 2003-07-27 Angus Leeming <leeming@lyx.org>
5168 * Makefile.am: remove special casing for configure-time setting of
5169 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5171 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5172 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5174 2003-07-26 André Pönitz <poenitz@gmx.net>
5176 * paragraph_func.[Ch]:
5177 * paragraph.C (realizeFont): inline it whereever it is used
5182 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5185 2003-07-26 André Pönitz <poenitz@gmx.net>
5189 * text2.C: get rid of LyXText::need_break_row
5191 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5193 * toc.[Ch]: put namespace toc inside namespace lyx
5195 * MenuBackend.C (expandToc2): adjust for lyx::toc
5198 * lyxfunc.C (dispatch): adjust for lyx::find
5200 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5201 lyx::find instead. Reorganize a bit.
5202 (LyXReplace): rename to replace
5203 (LyXFind): rename to find
5205 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5208 2003-07-26 André Pönitz <poenitz@gmx.net>
5210 * text.C (setHeightOfRow): restrict scope of temporary variable
5212 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5213 code (never has been used?)
5215 2003-07-27 Asger Alstrup <alstrup@local>
5217 * text.C (fill): Optimise algorithm to exploit that we can reuse
5218 the LyXFont for many characters.
5219 (setHeightOfRow): Same thing.
5220 (rowBreakPoint): Same thing.
5222 2003-07-26 Asger Alstrup <alstrup@local>
5224 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5226 * text.C (singleWidth): Spurious font copying in hot-spot
5227 singleWidth avoided. Reorder tests for arabic for efficiency.
5229 * text.C (fill): handle empty paragraphs better.
5231 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5234 * encoding.h: add includes
5236 * lyxrc.C: remove reading of bind files
5238 * lyx_main.C (init): setup bindings and menus only if we have a
5241 * kbmap.C (read): new method. Do the actual reading of bind
5244 * converter.C (dvipdfm_options):
5247 (output): adapt PAPER_* enums.
5249 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5251 * bufferparams.h: remove paper-related enums from there
5253 * paper.h: New file. A trivial header file to hold paper-related
5254 enums. It should later expand to contain many paper-related
5257 * lyxrc.C: declare extern displayTranslator
5259 2003-07-27 José Matos <jamatos@fep.up.pt>
5261 * tabular.[Ch] (linuxdoc): add support for tables and figures
5264 2003-07-27 José Matos <jamatos@fep.up.pt>
5266 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5267 consistency in both functions.
5268 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5270 2003-07-26 Asger Alstrup <alstrup@local>
5272 * rowpainter.C (paintRows): Change algorithm to work directly on
5273 the insets rather than asking every character in the document
5274 whether its an inset.
5276 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5278 * buffer.C (openFileWrite): factorize some code
5280 2003-07-26 Angus Leeming <leeming@lyx.org>
5283 * lyx_main.[Ch]: replace occurances of system_tempdir with
5286 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5288 * rename Inset to InsetOld
5290 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5292 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5293 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5294 which I think is a bit clearer. EDIT is gone, since it was
5295 premature optimisation, and broken for mathed anyway.
5296 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5297 with cursor positioning in insets as well (math insets still do not
5298 work, but that's a different story anyway.) It mysteriously
5299 crashes sometimes with undo in the first paragraph, but I'm fairly
5300 confident that this is a compiler bug.
5302 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * paragraph.C (Paragraph): adjust for new clone return type
5306 (copyIntoMinibuffer): ditto
5308 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5310 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5311 by not having a special case, and always doing a full rebreak of
5312 the document after undo.
5314 2003-07-23 Angus Leeming <leeming@lyx.org>
5316 * factory.C (createInset): InsetExternal::setParams now takes a
5319 2003-07-23 Angus Leeming <leeming@lyx.org>
5321 * factory.C (createInset): changed interface to the external and
5322 graphics mailers' string2params functions.
5324 2003-07-23 Angus Leeming <leeming@lyx.org>
5326 * factory.C (createInset): pass a
5327 Buffer const * parameter to InsetExternalMailer's string2params.
5329 2003-07-22 John Levon <levon@movementarian.org>
5331 * Thesaurus.h: include the right aiksaurus header
5333 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5335 * MenuBackend.C (expand): check menu shortcuts unconditionally
5337 2003-07-21 Angus Leeming <leeming@lyx.org>
5339 * factory.C (createInset): pass a
5340 buffer_path parameter to InsetGraphicsMailer's string2params.
5342 2003-07-21 Angus Leeming <leeming@lyx.org>
5344 * BufferView_pimpl.C (buffer):
5347 * lyxfunc.C (dispatch):
5348 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5349 rather than the grfx shortcut.
5351 2003-07-21 André Pönitz <poenitz@gmx.net>
5353 * rowpainter.C: remove unused variables
5356 * tabular_funcs.h: move to tabular.C
5357 * Makefile.am: adjust
5359 * tabular.[Ch]: basic optical cleaning
5361 * author.h: pass references, not values
5363 2003-07-18 André Pönitz <poenitz@gmx.net>
5371 * text3.C: two-phase drawing for InsetText and InsetTabular
5372 some float -> int changes.
5374 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5376 * lyx_main.C: fix the fix
5378 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5380 * lyx_main.C: fix a crash in batch mode if no files specified
5383 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5385 * format.[Ch] (papersize): moved to BufferParams
5386 * converter.[Ch] (dvips_options): moved to BufferParams
5387 (dvipdfm_options): moved to anon namespace
5388 * bufferparams.[Ch]: added above functions.
5390 2003-07-17 André Pönitz <poenitz@gmx.net>
5394 * text2.C: don't call inset->update() anymore
5396 * metricsinfo.[Ch]: add convenience constructor
5398 2003-07-16 André Pönitz <poenitz@gmx.net>
5403 * text2.C: replace the LyXCursor::irow_ member with
5404 on-demand computation of the value
5406 2003-07-16 John Levon <levon@movementarian.org>
5408 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5410 2003-07-15 André Pönitz <poenitz@gmx.net>
5413 * text2.C: remove no more needed refresh_row
5415 2003-07-15 André Pönitz <poenitz@gmx.net>
5420 * text3.C: refresh_status tristate -> need_update bool
5422 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5424 * lyxtext.h (init): remove reinit argument (act as if always true)
5425 * text2.C: adjust to that
5427 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5429 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5430 * text3.C: use it to delete selections in some cases
5431 (bugs 441, 673, 702, 954).
5433 2003-07-14 André Pönitz <poenitz@gmx.net>
5435 * rowpainter.[Ch]: reduce interface
5437 2003-07-14 André Pönitz <poenitz@gmx.net>
5439 * BufferView_pimpl.C:
5440 * text2.C: adjust after removing unused BufferView * argument
5442 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5444 * text2.C (init): fix a crash fired on resize
5446 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5448 * buffer.[Ch]: added new closing signal
5449 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5450 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5451 BufferView::Pimpl via the closing the signal
5453 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5455 * buffer.[Ch]: take out all bv-related from buffer
5457 * BufferView_pimpl.[Ch]: connect to new signals
5458 * CutAndPaste.C: removed useless asserts
5459 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5462 * lyxfunc.C: moved view-related funciontality from vc here
5463 * paragraph.C: removed outdated comments
5466 2003-07-10 André Pönitz <poenitz@gmx.net>
5468 * BufferView_pimpl.C:
5472 * text2.C: remove InsetText::InnerCache, clean up consequences
5474 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5476 * ispell.C: fix two typos in error messages
5478 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5480 * Extend Note inset to other forms of annotation like Comment
5481 and Greyedout. Right button click gives dialog.
5483 Files modified or added (+):
5487 * ControlNote.[Ch] +
5489 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5490 frontends/controllers
5494 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5496 * aspell.C: add missing namespace lyx::support
5498 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5500 * BufferView.[Ch] (newFile): Add
5501 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5502 * LaTeX.[Ch] (message): added this signal and use it
5503 * buffer.[Ch] (busy, message): added these signals and use them
5504 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5508 * importer.C: use buffer signals instead of direct bv calling
5509 * lyx_cb.[Ch] (ShowMessage): removed
5512 * paragraph_funcs.C:
5513 * text2.C: use buffer signals
5515 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * introduce namespace lyx::graphics
5519 2003-07-02 André Pönitz <poenitz@gmx.net>
5521 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5523 2003-07-01 André Pönitz <poenitz@gmx.net>
5530 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5531 text*.C to text_func.C
5533 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5535 * introduce namespace lyx::support
5537 2003-06-30 André Pönitz <poenitz@gmx.net>
5542 * text.C: re-enable --with-included-string
5544 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * textcursor.C: add <config.h>
5548 * text.C (getWord): remove const from word_location arg
5550 * lyxvc.C (getLogFile): fix const type order
5552 * lyxtext.h: remove const from word_location arg, add arg name
5554 * lyxlayout.h: currect type on labeltype.
5556 * importer.C: correct \file
5558 * converter.C (intToFormat): use std:: on ret val, ws changes
5560 * bufferlist.h: correct \file
5562 * buffer.C (makeLinuxDocFile): fix const type order
5563 (makeDocBookFile): ditto
5564 (fillWithBibKeys): use std:: on stdlib args.
5566 * CutAndPaste.C: fix authors.
5567 (availableSelections): use std:: on return vector
5569 2003-06-27 André Pönitz <poenitz@gmx.net>
5571 * BufferView_pimpl.C:
5572 * bufferview_funcs.C:
5580 * text3.C: remove LyXCursor::row_ member
5583 * text.C: rename fullRebreak() to partialRebreak() and implement
5584 a fullRebreak() that really bereks fully
5586 * textcursor.h: new struct for cursor-related data
5588 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5590 * lyx_main.C (LyX): get full path of document loaded on the
5593 2003-06-26 André Pönitz <poenitz@gmx.net>
5595 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5596 remove unused/broken operator>,<,>=.
5598 * text.C: remove only use of broken operator<= in an Assert().
5600 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5602 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5603 moved errorlist_.clear to showErrorList
5605 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5607 * converter.C (scanLog, runLaTeX):
5608 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5609 move the bv->showErrorList call to the callers
5610 * lyxfunc.C: i.e. here...
5612 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5613 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5614 namespace, the second to...
5615 * buffer_funcs (BufferFormat, parseErrors): added
5616 * errorlist.C (ErrorList(TeXErrors const &)): removed
5618 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5620 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5622 2003-06-24 "Garst R. Reese" <reese@isn.net>
5626 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5628 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5630 * version.C.in: change docversion to 1.4
5632 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5634 * buffer.C: fix a bug just introduced
5636 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5638 * buffer.[Ch]: added the parseError signal and use it, removed
5640 * BufferView.[Ch] (addError): moved to ...
5641 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5642 to the Buffer::parseError signal to catch (guess what) parse errors
5643 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5645 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5647 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5648 ability to create a buffer and to return an existing one from
5649 the list. Moved these functions to...
5650 * buffer_funcs.[Ch]: added
5651 * BufferView.[Ch] (loadLyXFile): added
5652 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5653 job removed from bufferlist::loadLyXFile.
5654 * buffer.C (setReadOnly): make it work without view
5655 (i.e added an if (users))
5657 2003-06-19 Angus Leeming <leeming@lyx.org>
5660 * LyXAction.C (init):
5661 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5662 with LFUN_DIALOG_SHOW <name> <data>.
5664 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5666 * CutAndPaste.C (availableSelections): small compilation fix for
5667 ancient (gcc 2.9x) compilers
5669 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5671 * text3.C (cursorNext): add tmp var
5673 * text2.C (updateCounters): for function calling out of for clause
5674 (replaceSelectionWithString): ditto
5675 (insertStringAsParagraphs): ditto
5676 (getColumnNearX): add tmp var
5677 (setCursorFromCoordinates): add tmp var
5678 (cursorDownParagraph): add tmp var
5679 (deleteEmptyParagraphMechanism): add tmp var
5681 * text.C (insertChar): add tmp var
5683 * rowpainter.C (paintDepthBar): add tmp var
5685 * CutAndPaste.C (availableSelections): potentially check all
5686 paragraphs in a cut to fill the shown strings.
5688 2003-06-18 André Pönitz <poenitz@gmx.net>
5690 * kbmap.[Ch]: use vector<> instead of list<>
5692 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5694 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5695 pasteSelection with index
5697 * text2.C (pasteSelection): modify, call pasteSelection with index
5699 * paragraph.C (asString): reimplement version with no interval to
5700 call the one with interval.
5702 * lyxtext.h: add index arg to pasteSelection
5704 * MenuBackend.C (MenuItem): handle PasteRecent
5705 (Menu::read::Menutags): add md_pasterecent
5707 (expandPasteRecent): new function
5710 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5712 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5714 (availableSelections): new function
5716 2003-06-17 Angus Leeming <leeming@lyx.org>
5718 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5720 2003-06-17 Angus Leeming <leeming@lyx.org>
5723 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5725 * lyxfunc.C (dispatch): invoke it.
5727 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5729 * iterators.C (operator++, ParPosition): reintroduce some
5730 const_cast for the benefit of older compilers.
5732 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5734 * text3.C (dispatch): do not modify clipboard when doing
5735 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5736 LFUN_DELETE_SKIP on a selection selection
5738 2003-06-16 André Pönitz <poenitz@gmx.net>
5744 * tabular.[Ch]: IU of clone() and getLabelList();
5746 2003-06-13 André Pönitz <poenitz@gmx.net>
5748 * tabular.h: compactification
5750 2003-06-12 André Pönitz <poenitz@gmx.net>
5754 * tabular_funcs.h: some renaming plus whitespace
5756 2003-06-12 André Pönitz <poenitz@gmx.net>
5759 * BufferView_pimpl.C:
5765 * toc.C: Return a Paragraph & for ParIterator::operator*()
5767 2003-06-11 John Levon <levon@movementarian.org>
5771 * ToolbarBackend.C: add "Toolbars" section and
5774 2003-06-10 Angus Leeming <leeming@lyx.org>
5777 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5779 * lyxfunc.C (dispatch): invoke it.
5781 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * main.C: protect <ios> with HAVE_IOS
5784 (main): protect sync_with_stdio with HAVE_IOS
5786 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5788 * text2.C (cutSelection): adjust
5789 (pasteSelection): adjust
5791 * messages.C: handle get of empty string
5793 * main.C (main): use sync_with_stdio(false)
5795 * lyxfunc.C (dispatch): adjust
5797 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5798 (WriteAs): remove unneeded BufferView arg.
5800 * bufferparams.h: use correct types on papersize, papersize2 and
5803 * bufferparams.C (readToken): adjust for type
5804 (writeLaTeX): add missing cases to switch.
5806 * bufferlist.C (quitWriteBuffer): adjust
5809 * buffer.C (asciiParagraph): remove some commented code.
5811 * CutAndPaste.C: remove current_view extern variable.
5812 (cutSelection): add BufferParams arg.
5813 (eraseSelection): add BufferParams arg.
5814 (pasteSelection): add Buffer const & arg
5816 2003-06-07 John Levon <levon@movementarian.org>
5819 * paragraph_funcs.C:
5820 * paragraph_pimpl.C:
5824 * paragraph.C: allow InsetERT to freely space lines,
5825 and some consolidation of code
5827 2003-06-06 José Matos <jamatos@fep.up.pt>
5829 * buffer.C (makeDocBookFile): fix bug #821
5831 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5833 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5835 2003-06-04 Angus Leeming <leeming@lyx.org>
5837 * buffer.C: bump format to 224.
5839 2003-06-05 André Pönitz <poenitz@gmx.net>
5841 * text2.C (redoParagraphs): remove two const_cast<>
5843 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5845 * ParagraphList.h: remove last remnants of NO_STD_LIST
5847 2003-06-03 Angus Leeming <leeming@lyx.org>
5849 * factory.C (createInset): small change to the way InsetExternal's params
5852 2003-06-04 André Pönitz <poenitz@gmx.net>
5854 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5856 * paragraph_pimpl.h:
5857 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5859 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5861 * undo_funcs.C: make some simple cases of undo work again
5863 2003-06-03 John Levon <levon@movementarian.org>
5865 * ispell.C: HPUX doesn't have sys/select.h
5868 2003-06-03 John Levon <levon@movementarian.org>
5870 * CutAndPaste.C: update tabular and include inset
5875 * paragraph.C: remove owningBuffer(), don't pass Buffer
5878 * factory.C: insetGraphicsParams changed
5880 2003-06-02 John Levon <levon@movementarian.org>
5886 * text3.C: remove insetparent
5888 2003-06-02 John Levon <levon@movementarian.org>
5891 * buffer.C: fix inset_iterator.end(), move out of line
5894 2003-06-01 John Levon <levon@movementarian.org>
5896 * text3.C: use a proper cut/paste when doing inset
5897 insert (from Jürgen Spitzmüller)
5899 2003-06-01 John Levon <levon@movementarian.org>
5901 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5903 2003-05-30 André Pönitz <poenitz@gmx.net>
5905 * rowpainter.C: unify second drawing phase
5907 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * trans_mgr.C: remove one case of current_view
5911 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5913 * paragraph_funcs.h: remove paragraph.h include
5915 * paragraph.h: delete NO_STD_LIST stuff
5917 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5919 * buffer.h: remove paragraph.h include
5921 * ParagraphList.C: delete file
5923 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5925 * toc.C (getTocList): adjust
5927 * paragraph_pimpl.C (validate): adjust
5929 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5931 * paragraph.C (Paragraph): adjust
5932 (getPositionOfInset): use const_iterator, adjust
5933 (bibitem): use const_iterator, adjust
5934 (setInsetOwner): adjust
5936 * iterators.C (operator++): adjust
5938 * InsetList.[Ch]: Replace selfmade iterator with standard
5939 vector::iterator also introduce const_iterator. Remove getPos,
5940 getInset and setInset from InsetTable. Adjust accordingly.
5942 * BufferView.C (lockInset): adjust
5943 (ChangeInsets): adjust
5945 * tabular.[Ch]: delete commented same_id functions
5947 2003-05-28 John Levon <levon@movementarian.org>
5949 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5951 2003-05-28 André Pönitz <poenitz@gmx.net>
5953 * metricsinfo.[Ch]: remove 'fullredraw' member
5955 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5957 * lyxtextclass.C (operator): remove caching.
5959 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * text2.C (cursorBottom): adjust
5964 (setCounter): use ParagraphList::find, adjust
5966 * text.C (workWidth): use ParagraphList::find, adjust
5968 * lyxcursor.C (LyXCursor): adjust
5970 * buffer.C (inset_iterator): adjust
5972 * ParagraphList.h: make iterator(value_type) private, make
5973 ParagraphList a friend of iterator.
5975 * ParagraphList.C (find): new function
5977 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5979 2003-05-27 André Pönitz <poenitz@gmx.net>
5981 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5983 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5985 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5987 2003-05-26 John Levon <levon@movementarian.org>
5989 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5991 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * remove same_id from function signatures, adjust.
5995 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5999 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6001 * paragraph.C (Paragraph): get rid of same_ids parameter
6003 * ParagraphList.C (insert): adjust
6006 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6008 * paragraph_funcs.C (breakParagraph): adjust
6009 (breakParagraphConservative): adjust
6011 * buffer.C (readParagraph): adjust
6013 * ParagraphList.C (insert): take a reference instead of a pointer
6016 * paragraph.[Ch] (id): new function
6018 * bufferlist.C (newFile): adjust
6020 * ParagraphList.C (ParagraphList): adjust
6022 (push_back): take a reference instead of a pointer.
6024 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6026 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6029 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6030 set else use old code.
6032 * ParagraphList.C: remove all NO_NEXT code and only compile this
6033 code of NO_STD_LIST is set.
6035 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6037 * BufferView_pimpl.C:
6047 * graphics/GraphicsConverter.C:
6048 * graphics/PreviewLoader.C: header adjustment
6050 2003-05-23 Angus Leeming <leeming@lyx.org>
6052 * LaTeXFeatures.[Ch] (useBabel): new method.
6053 * bufferparams.C (writeLaTeX): use it.
6055 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6057 * ParagraphList.h (set): remove unused function.
6059 2003-05-23 André Pönitz <poenitz@gmx.net>
6062 * BufferView_pimpl.C:
6066 * undo_funcs.C: setUndo reworked
6068 * iterators.[Ch]: add access to topmost ParagraphList
6070 * lyxtext.[Ch] (workWidth): add a const
6072 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6074 * texrow.[Ch] (increasePos): remove function
6075 * exporter.C (export): removed unused var and outdated comment
6077 2003-05-23 Angus Leeming <leeming@lyx.org>
6079 * latexrunparams.h: rename fragile as moving_arg.
6080 * paragraph.C (simpleTeXOnePar): ditto.
6081 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6083 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6087 (textUndoOrRedo): comment out a currently unused var.
6089 * paragraph.h (NO_NEXT): enable NO_NEXT
6091 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6093 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6095 * exporter.C (Export): adjust for removeAutoInsets removal.
6097 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6099 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6101 * BufferView.[Ch] (removeAutoInsets): delete function
6103 2003-05-22 Angus Leeming <leeming@lyx.org>
6105 * latexrunparams.h: add a free_spacing variable.
6107 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6108 to pass moving_arg, as the data is stored in runparams.fragile.
6110 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6111 to Inset::latexOptional or to simpleTeXOnePar.
6113 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6114 free_spacing arg to Inset::latexOptional.
6116 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6119 2003-05-22 Angus Leeming <leeming@lyx.org>
6121 * latexrunparams.h: add fragile and use_babel variables.
6123 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6124 * buffer.C (makeLaTeXFile): store this returned value in
6125 runparams.use_babel, thus passing it to the inset::latex methods.
6127 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6128 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6130 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6131 longer has a fragile arg, as it is stored in runparams.fragile.
6133 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6134 moving_arg parameter as the data is stored in runparams.fragile.
6136 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6137 a fragile parameter as the data is stored in runparams.fragile.
6139 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6143 2003-05-22 Angus Leeming <leeming@lyx.org>
6145 * latexrunparams.h: add a 'bool nice' which defaults to false.
6147 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6148 now encapsulated within runparams.
6150 * bufferlist.C (updateIncludedTeXfiles):
6151 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6153 2003-05-22 Angus Leeming <leeming@lyx.org>
6155 * latexrunparams.h: new file containing struct LatexRunParams.
6156 * Makefile.am: add new file.
6158 * LaTeX.[Ch] (c-tor, run):
6159 * buffer.[Ch] (makeLaTeXFile):
6160 * bufferlist.[Ch] (updateIncludedTeXfiles):
6161 * converter.C (convert, scanLog):
6162 * converter.[Ch] (runLaTeX):
6163 * exporter.C (Export):
6164 * paragraph.[Ch] (simpleTeXOnePar):
6165 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6166 * paragraph_funcs.[Ch] (latexParagraphs):
6167 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6168 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6169 pass around a LatexRunParams parameter.
6171 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * paragraph.[Ch]: remove unused constructor
6175 * ParagraphList.C (erase): new function, taking two iterators
6177 2003-05-22 André Pönitz <poenitz@gmx.net>
6179 * undo_funcs.C: remove duplicated code
6181 * iterator.[Ch]: operator=
6183 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * tabular.C (SetMultiColumn): ws changes
6187 * rowpainter.C (paintFirst): get rid of a ->previous
6189 * lyx_cb.C (getPossibleLabel): parlist simplification
6191 * BufferView.C (ChangeInsets): simplify slightly.
6193 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6195 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6196 * lfuns.h: new LFUN_SPACE
6197 * lyxfunc.C: protected space has a new lfun
6198 * paragraph_funcs.C: read new space insets
6200 * factory.C: handle new space insets
6202 2003-05-22 André Pönitz <poenitz@gmx.net>
6205 * BufferView_pimpl.C:
6208 * undo_funcs.C: return a ParIterator from getParFromID.
6210 * iterators.[Ch]: add two const's
6212 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * toc.C (getTocList): adjust
6216 * iterators.[Ch]: rework for parlist
6218 * buffer.C (par_iterator_begin): adjust
6219 (par_iterator_end): adjust
6221 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6223 * BufferView.C (removeAutoInsets): adjust
6224 (ChangeInsets): adjust
6226 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6228 * text.C (top_y): fix bug 1110
6230 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6232 * errorlist.[Ch]: added
6235 * BufferView_pimpl.C:
6236 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6239 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * Makefile.am: ensure that lyx is relinked upon changes to the
6242 various "convenience" libs.
6244 2003-05-20 Angus Leeming <leeming@lyx.org>
6246 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6247 files are compiled in alphabetical order again.
6249 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6251 2003-05-19 Angus Leeming <leeming@lyx.org>
6253 * gettext.[Ch]: remove "char const * _(char const *)".
6255 2003-05-19 André Pönitz <poenitz@gmx.net>
6257 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6266 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6268 2003-05-19 André Pönitz <poenitz@gmx.net>
6272 * lyxtextclass.[Ch]:
6274 * paragraph_funcs.[Ch]:
6276 * text3.C: more insetenv work
6278 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6280 * ParagraphParameters.C (params2string): small bug fixed
6282 2003-05-16 André Pönitz <poenitz@gmx.net>
6285 * bufferview_funcs.C: patch from Kornel Benko to prevent
6286 crash when _(...) is called twice in a statement
6288 2003-05-16 André Pönitz <poenitz@gmx.net>
6295 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6297 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6299 * lyx_main.C (init): remove spurious static_cast
6301 2003-05-14 André Pönitz <poenitz@gmx.net>
6303 * BufferView.C: fix format string
6305 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6307 * BufferView.[Ch] (insertErrors): removed
6308 * BufferView.[Ch] (showErrorList): added
6309 * buffer.C (runChkTeX):
6310 * converter.C (scanLog): call showErrorList instead of inserterrors
6312 2003-05-13 André Pönitz <poenitz@gmx.net>
6314 * BufferView_pimpl.C:
6316 * bufferview_func.C:
6323 * tabular_funcs.h: tostr() from its own header
6325 * ParagraphParameters.C:
6330 * text3.C: STRCONV()
6332 2003-05-12 André Pönitz <poenitz@gmx.net>
6335 * BufferView_pimpl.C:
6339 * ParagraphParameters.C:
6343 * bufferview_funcs.C:
6356 * paragraph_funcs.C:
6360 * text3.C: boost::format -> bformat all over the place
6363 2003-05-09 André Pönitz <poenitz@gmx.net>
6365 * LColor.[Ch]: Pimpl the #include <map> away
6367 2003-05-09 John Levon <levon@movementarian.org>
6369 * bufferlist.C: never remove emergency saves
6371 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * Makefile.am: better lib building
6375 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6379 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6380 (simpleTeXSpecialChars): adjust
6381 (simpleTeXSpecialChars): adjust
6382 * paragraph.C (simpleTeXOnePar): adjust
6383 * buffer.C (makeLaTeXFile): adjust
6385 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6387 * text2.C (changeDepth): parlist cleanup
6388 (getColumnNearX): ditto
6390 * rowpainter.C (getLabelFont): parlist cleanup
6392 * bufferlist.C (newFile): parlist cleanup
6394 * CutAndPaste.C (eraseSelection): parlist cleanup
6396 * BufferView_pimpl.C (trackChanges): parlist cleanup
6399 * BufferView.C (lockInset): parlist cleanup.
6400 (ChangeInsets): ditto
6402 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6404 * CutAndPaste.h: Update file header.
6406 * CutAndPaste.C: Update file header.
6407 Store the parts cut out of the Document in a limited_stack.
6408 (copySelection): adjust
6409 (pasteSelection): new function, takes the index in the limited stack.
6410 (nrOfParagraphs): adjust
6411 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6412 simplify error inset insertion.
6413 (checkPastePossible): adjust
6415 2003-05-06 John Levon <levon@movementarian.org>
6417 * text2.C: don't cast wrap inset to float
6419 2003-05-05 André Pönitz <poenitz@gmx.net>
6422 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6424 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6425 few naked Paragraph *.
6427 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6429 * bufferparams.C: Output warning if a document with missing
6430 TeX document class is loaded
6431 * exporter.C: Disable TeX exports if the document class is missing
6434 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6435 isTeXClassAvailable()
6437 2003-05-03 John Levon <levon@movementarian.org>
6440 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6441 explicit cursor show/hide
6443 * BufferView_pimpl.h:
6444 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6445 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6447 * lyxfunc.C: hide cursor before dispatching.
6452 * text3.C: remove explicit cursor hides
6454 2003-05-02 André Pönitz <poenitz@gmx.net>
6456 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6459 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6462 * text2.C: tiny whitespace
6464 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * undo_funcs.C: almost only ws changes.
6468 * ParagraphList.C (splice): just return if pl is empty.
6470 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6472 * ParagraphList.C (splice): new function.
6474 * CutAndPaste.C (pasteSelection): use it
6476 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * CutAndPaste.C (pasteSelection): remove the last next and
6479 previous from this file.
6481 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * CutAndPaste.C (pasteSelection): more clean up, user proper
6484 ParagraphList functions for pasteing.
6486 * ParagraphList.C (insert): new function, three arg insert
6488 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * ParagraphList.C (insert): new function, three arg insert
6492 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6495 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6497 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6499 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6501 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6503 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6506 (copySelection): clean up a bit.
6507 (pasteSelection): use make_pair
6509 * ParagraphList.C (ParagraphList): implement copy constructor
6510 (operator=): implement, base on copy constructor.
6513 * paragraph.C (erase): return a bool
6515 * paragraph_pimpl.C (erasePos): remove function, move contents...
6516 (erase): ... here. Return a bool.
6517 (erase): call erase instead of erasePos.
6519 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6521 * ParagraphList.h: define PitPosPair
6522 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6523 ParagraphList, fix a bug on pasting multiple pars
6524 * text2.C: change interface to C&P
6526 2003-04-30 André Pönitz <poenitz@gmx.net>
6528 * undo_func.C: revert part of yesterday's patch 2
6530 2003-04-30 John Levon <levon@movementarian.org>
6532 * LColor.C: s/tabular/table/
6534 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * text3.C (dispatch): do not convert iterator -> pointer
6537 * undo_funcs.C (setCursorParUndo): ditto
6538 * text_funcs.C (transposeChars): ditto
6540 * text2.C (setLayout): ws changes only
6542 * text.C (breakParagraph): do not convert iterator -> pointer
6544 (acceptChange): ditto
6545 (rejectChange): ditto
6550 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6553 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6555 * text3.C (gotoInset): YABG (yet another bad getChar)
6557 2003-04-29 André Pönitz <poenitz@gmx.net>
6559 * paragraph.h: make operator= private unimplemented as long as
6562 * ParagraphList.C: whitespace
6565 * paragraph_pimpl.[Ch]:
6566 * paragraph_funcs.C:
6568 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6571 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6573 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6575 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6576 * paragraph.[Ch] (erase):
6577 * paragraph_pimpl.[Ch] (erase): change return type and value
6578 * text2.C (cutSelection): some rework
6580 2003-04-28 John Levon <levon@movementarian.org>
6582 * bufferlist.C: changes for unsaved changes dialog
6584 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * bufferlist.C (newFile): set language (messages_) for new
6589 * buffer.C (readFile): ws changes only.
6591 2003-04-28 André Pönitz <poenitz@gmx.net>
6596 * BufferView_pimpl.C:
6597 * BufferView.C: getParFromID related ParagraphList::iterator changes
6599 2003-04-28 André Pönitz <poenitz@gmx.net>
6601 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6604 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * messages.C: remove one more localedir class variable.
6608 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * messages.C (getLocaleDir): singleton generation function
6612 (Messages): add a default constructor.
6614 * main.C (main): do not setup localedir here, do not call
6617 * gettext.C (_): use it.
6618 (gettext_init): delete funciton
6620 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * gettext.C (getLyXMessages): new singleton generating function.
6624 * buffer.C (updateDocLang): adjust
6626 * Makefile.am (messages.o): add target
6627 (main.o): remove target
6629 2003-04-27 John Levon <levon@movementarian.org>
6634 * lyxvc.C: specify cancel button in Alert::prompt
6636 2003-04-26 John Levon <levon@movementarian.org>
6641 * LyXAction.C: add LFUN_INSET_SETTINGS
6643 * lyxfunc.C: don't enable tabular-feature when there's
6644 just any locking inset
6646 2003-04-26 John Levon <levon@movementarian.org>
6648 * bufferlist.C: re-add Cancel to buffer close question
6650 * lyxfunc.C: fix import UI a bit
6652 2003-04-25 John Levon <levon@movementarian.org>
6654 * gettext.C: remove the broken asserts for now
6656 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * messages.C: make case where setlocale cannot comply work better.
6660 * buffer.C (updateDocLang): new function
6661 (changeLanguage): use it
6664 * text2.C (setCounter): use B_ a bit.
6666 * lyxlayout.C (Read): be sure to trim the label strings.
6668 * messages.C (Messages): fix typo in comment
6670 * buffer.C (readFile): set message_ after file is loaded.
6671 (makeDocBookFile): remove double return
6672 (changeLanguage): reset message_ upon language change.
6673 (B_): new func, use this to get translated buffer strings.
6675 * main.C: add myself and Jean Marc as authors.
6677 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * messages.[hC]: pimplify Messages, and three different pimpls to be
6680 used in different circumstances.
6682 * gettext.[Ch]: change for use with new message code.
6684 2003-04-24 André Pönitz <poenitz@gmx.net>
6686 * factory.C: support for eqref
6688 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6690 * messages.[Ch]: add missing char
6692 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6694 * messages.[Ch]: New files
6696 2003-04-18 John Levon <levon@movementarian.org>
6700 * BufferView_pimpl.C:
6704 * text2.C: remove layout-copy/paste (bug 778)
6706 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6708 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6710 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6712 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6713 if they succeed. Act accordingly.
6715 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * text2.C (setCharFont): adjust
6718 (setCounter): adjust
6719 (insertStringAsLines): adjust
6721 * text.C (leftMargin): adjust
6722 (setHeightOfRow): adjust
6724 * rowpainter.C (paintFirst): adjust
6727 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6729 (isFirstInSequence): ditto
6730 (getEndLabel): ditto
6733 * paragraph.C (getParLanguage): comment out some hard stuff.
6735 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6737 (simpleDocBookOnePar): ditto
6738 (makeDocBookFile): use ParagraphList::iterator
6740 * CutAndPaste.C (pasteSelection): adjust
6742 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6744 * text2.C (getFont): adjust
6745 (getLayoutFont): adjust
6746 (getLabelFont): adjust
6748 * paragraph_funcs.C (TeXOnePar): adjust
6750 * buffer.C (simpleLinuxDocOnePar): adjust
6751 (simpleDocBookOnePar): adjust
6753 * CutAndPaste.C (pasteSelection): adjust
6755 * BufferView.C (getEncoding): adjust
6757 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6759 2003-04-16 John Levon <levon@movementarian.org>
6761 * lyxfind.C: use parlist stuff for search/changes
6763 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6765 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6767 * text2.C (deleteEmptyParagraphMechanism): adjust
6769 * text2.[Ch] (ownerParagraph): delete func (both of them
6771 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6775 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6777 * ParagraphList.C: prepare for NO_NEXT
6779 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * text2.C (getFont): adjust
6782 (getLayoutFont): adjust
6783 (getLabelFont): adjust
6785 * paragraph.C (getFont): adjust
6786 (getLabelFont): adjust
6787 (getLayoutFont): adjust
6789 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6791 2003-04-15 John Levon <levon@movementarian.org>
6795 * lyx_main.C: handle Include in .ui files
6797 2003-04-15 John Levon <levon@movementarian.org>
6799 * MenuBackend.C: make the doc files length shorter
6802 * ToolbarBackend.C: handle toolbar placement flags,
6805 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6807 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6810 * paragraph_funcs.C (TeXOnePar): adjust
6812 * paragraph.C (getLabelFont): add outerfont arg, adjust
6813 (getLayoutFont): ditto
6814 (simpleTeXOnePar): adjust
6816 * paragraph_pimpl.C (realizeFont): delete func
6818 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6820 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6821 row argument, constify cur argument.
6823 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6825 * text2.C (getFont): adjust
6826 (getLayoutFont): adjust
6827 (getLabelFont): adjust
6829 * paragraph_funcs.C (TeXOnePar): adjust
6830 (outerFont): new func...
6831 (realizeFont): ...moved out from here, changed this to facilitate
6834 * paragraph.C (getFont): take outerfont as arg, adjust
6835 (simpleTeXOnePar): add outerfont arg, adjust
6837 * buffer.C (simpleLinuxDocOnePar): adjust
6838 (simpleDocBookOnePar): adjust
6840 * CutAndPaste.C (pasteSelection): adjust
6842 * BufferView.C (getEncoding): adjust
6844 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6846 * text2.C (setCharFont): adjust
6847 (setCounter): adjust
6849 * text.C (leftMargin): adjust
6850 (setHeightOfRow): adjust
6852 * rowpainter.C (paintFirst): adjust
6855 * paragraph_pimpl.C (realizeFont): adjust
6857 * paragraph.C (isFirstInSequence): move from here...
6858 * paragraph_funcs.C (isFirstInSequence): ...to here
6860 * paragraph.C (outerHook): move from here...
6861 * paragraph_funcs.C (outerHook): ...to here
6863 * paragraph.C (depthHook): move from here...
6864 * paragraph_funcs.C (depthHook): ...to here
6866 * paragraph.C (getEndLabel): move from here...
6867 * paragraph_funcs.C (getEndLabel): ...to here
6869 * text2.C (realizeFont): move from here...
6870 * paragraph_funcs.C (realizeFont): ...to here
6872 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6876 2003-04-14 Angus Leeming <leeming@lyx.org>
6878 * LColor.[Ch]: scrap LColor mathcursor.
6880 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * lyxlex.[Ch] (text): delete function
6883 * trans.C (Load): adjust
6884 * paragraph_funcs.C (readParToken): adjust
6886 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6888 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6889 vector<char> instead of a char[].
6891 * lyxlex_pimpl.C (getString): adjust
6893 (lex): use getString
6897 * lyxlex.C (text): use pimpl_->getString()
6901 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6903 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6904 (makeFontEntriesLayoutSpecific): temp var for par.size()
6905 (setLayout): temp var for ownerParagraphs().end()
6906 (fullRebreak): temp var for rows().end()
6907 (selectionAsString): temp var for boost::next(startpit), realize
6908 that the while really is a regular for loop.
6909 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6910 setCursor in one place.
6911 (setParagraph): temp vr for ownerParagraphs().end()
6912 (updateCounters): make the while loop a for loop
6913 (cutSelection): temp var for ownerParagraphs().end()
6914 (updateInset): make the do {} while() a regular for loop
6915 (getCursorX): use temp vars
6916 (setCurrentFont): use temp vars
6917 (getColumnNearX): use temp vars
6919 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * text.C (transformChar): use temp var for getChar
6922 (computeBidiTables): use temp var for row->par()
6923 (fill): move temp vars for row->par() and pit->layout() earlier in
6925 (labelFill): use temp var for row->par()
6926 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6927 asc and desc, realize that pit never changes and that firstpit is
6928 just a duplicate and not needed. Exchange rit->par() with pit in a
6930 (breakAgain): use a temp var for boost::next(rit)
6931 (breakAgainOneRow): ditto
6932 (breakParagraph): use a temp var for rows().begin()
6933 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6934 (cursorRightOneWord): use temp var for cursor.par() and
6935 cursor.pos(), remove usage of tmpcursor.
6936 (cursorLeftOneWord): use temp var for cursor.par() and
6937 cursor.pos() only set cur at end of function.
6939 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6941 * text.C, text2.C: exchange all usage of Paragraph::next with
6942 boost::next(ParagraphList::iterator)
6944 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6946 * text2.C (cursorTop): simplify implementation
6947 (cursorBottom): ditto
6948 (setParagraph): use ParagraphList::iterator
6949 (setCurrentFont): adjust
6950 (getColumnNearX): adjust
6951 (cursorRight): adjust
6952 (cursorLeft): remove usage of Paragraph::previous
6953 (cursorUpParagraph): ditto
6954 (deleteEmptyParagraphMechanism): slight cleanup
6956 * text.C (isBoundary): take a Paragraph const & instead of a
6958 (addressBreakPoint): ditto
6959 (leftMargin): remove usage of Paragraph::previous.
6960 (setHeightOfRow): ditto
6961 (cursorLeftOneWord): ditto
6962 (selectNextWordToSpellcheck): ditto
6965 (breakParagraph): remove one usage of Paragraph::next
6966 (redoParagraph): ditto
6967 (acceptChange): ditto
6968 (insertChar): adjust
6969 (rowBreakPoint): adjust
6971 * bufferview_funcs.C (toggleAndShow): adjust
6973 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6975 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6976 methods to access it.
6978 * text.C: Added updateRowPositions to compute all row positions.
6979 Make top_y and getRowNearY() to use the cached y position
6981 2003-04-11 John Levon <levon@movementarian.org>
6983 * text.C (rowBreakPoint): reintroduce the labelEnd
6984 checks, code copied from the row fill stuff. Deep voodoo.
6986 * text.C (fill): add a comment and debugging for the
6989 2003-04-11 John Levon <levon@movementarian.org>
6991 * text.C: make sure fullrow insets get wrapped to the next line,
6992 even when they're in a manual label
6994 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6996 * text2.C (insertParagraph): make it take ParagraphList::iterator
6998 (setLayout): make it return ParagraphList::iterator
6999 (redoParagraphs): ditto
7001 (checkParagraph): ditto
7003 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7005 * text2.C: adjust several funcs.
7006 (realizeFont): take a ParagraphList::iterator as arg.
7007 (getLayoutFont): ditto
7008 (getLabelFont): ditto
7009 (setCharFont): ditto
7011 * text.C: adjust several funcs.
7013 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7015 * text.C (selectNextWordToSpellcheck): don't accidentally
7018 2003-04-10 John Levon <levon@movementarian.org>
7020 * ToolbarBackend.C (getIcon): special handling for
7023 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7025 * text2.C (cursorRight): a getChar assert fixed
7027 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * text2.C (getFont): change to take a ParagraphList::iterator
7030 instead of Paragraph*
7031 Adjust several functions.
7033 * text.C (transformChar): change to take a ParagraphList::iterator
7034 instead of Paragraph*
7035 (singleWidth): ditto
7036 Adjust several functions.
7038 * rowpainter.C: adjust several functions
7039 * rowpainter.h:store a ParagraphList::iterator and not a
7043 2003-04-09 John Levon <levon@movementarian.org>
7048 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7049 and the "help" bits as well
7051 2003-04-09 John Levon <levon@movementarian.org>
7054 * ToolbarBackend.C: allow multiple toolbars
7056 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * undo_funcs.C (setCursorParUndo): adjust
7060 * text_funcs.C (transposeChars): adjust
7062 * text3.C (gotoNextInset): adjust
7065 * text2.C (setLayout): adjust
7066 (changeDepth): adjust
7068 (redoParagraphs): adjust
7069 (selectionAsString): adjust
7070 (setParagraph): adjust
7071 (insertInset): adjust
7072 (cutSelection): adjust
7073 (copySelection): adjust
7074 (pasteSelection): adjust
7075 (insertStringAsLines): adjust
7076 (updateInset): adjust
7077 (setCursor): change to take a ParagraphList::iterator parameter
7078 (setCursorIntern): change to take a ParagraphList::iterator parameter
7079 (setCurrentFont): adjust
7080 (cursorLeft): adjust
7081 (cursorRight): adjust
7082 (deleteEmptyParagraphMechanism): adjust
7084 * text.C (breakParagraph): adjust
7085 (insertChar): adjust
7086 (acceptChange): adjust
7087 (rejectChange): adjust
7088 (selectNextWordToSpellcheck): adjust
7089 (changeCase): adjust
7093 * lyxfind.C (SearchForward): adjust
7094 (SearchBackward): adjust
7095 (nextChange): adjust
7097 * lyxcursor.C (par): adjust
7099 * lyxcursor.h: store a ParagraphList::iterator instead of a
7102 * lyx_cb.C (getPossibleLabel): adjust
7104 * bufferview_funcs.C (toggleAndShow): adjust
7106 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7109 * BufferView.C (removeAutoInsets): adjust
7110 (lockedInsetStoreUndo): adjust
7112 2003-04-09 John Levon <levon@movementarian.org>
7114 * ToolbarBackend.C: try icon without argument
7115 if with argument fails
7117 2003-04-08 John Levon <levon@movementarian.org>
7120 * ToolbarBackend.C: add getIcon(), handle tooltip,
7121 and change from "Icon" to "Item".
7123 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7125 * BufferView.C (lockInset): another bad getchar crunched
7127 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7129 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7132 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7134 * lyxfind.C (searchForward, searchBackwards): bug 782
7136 2003-04-07 John Levon <levon@movementarian.org>
7138 * paragraph.C: remove dead comment
7140 * text.C: remove troublesome depth-fiddling code
7141 in leftMargin() and rightMargin() (bug 1017)
7143 * text.C: fix breaking of rows in nested lists
7146 * text2.C (updateCounters): fix up depth values
7149 2003-04-07 John Levon <levon@movementarian.org>
7151 * BufferView_pimpl.C: clear message when doc finishes resizing,
7152 and after a mouse event
7154 * lyxfunc.C: clear message after exiting inset
7156 2003-04-07 John Levon <levon@movementarian.org>
7158 * bufferview_funcs.C: show math status not outside
7159 status in the statusbar
7161 2003-04-07 John Levon <levon@movementarian.org>
7163 * lyxfunc.C: note status changed after a depth change
7165 2003-04-04 Angus Leeming <leeming@lyx.org>
7167 * LaTeX.h: move AuxInfo operator==, != out of line.
7168 Remove LaTeX virtual destructor; nothing derives from it.
7169 Move operator()() out of public area and rename it startscript().
7170 Change protected for private.
7172 2003-04-04 Angus Leeming <leeming@lyx.org>
7175 * text2.C: remove unneeded #includes.
7177 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7179 * text2.C (dEPM): fix the heigth of the next row
7181 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7183 * text.C: squashed an invalid getChar requester + some ws changes
7185 2003-04-03 John Levon <levon@movementarian.org>
7187 * bufferview_funcs.h:
7188 * bufferview_funcs.C:
7191 * text2.C: make getStatus work for the env depth lfuns
7193 2003-04-03 John Levon <levon@movementarian.org>
7195 * bufferview_funcs.h:
7196 * bufferview_funcs.C:
7199 * text2.C: parlistize decDepth(), by merging it with incDepth()
7201 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7203 * lyxrow.h: store a ParagraphList::iterator instead of a
7204 Paragraph* and adjust other class functions to suit.
7206 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7209 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7211 * text2.C (setCursor): do not anchor to cursor row for the time being
7213 2003-04-02 John Levon <levon@movementarian.org>
7220 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7222 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * paragraph.h: make ParagraphList and ParagraphList::iterator
7225 friends of Paragraph.
7227 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7229 * ParagraphList.C: Use the private next_ and previous_ from
7232 2003-04-01 John Levon <levon@movementarian.org>
7236 * Makefile.am: rename, remove defaults gunk
7239 * MenuBackend.C: remove defaults gunk
7242 * Languages.C: remove defaults gunk
7245 * lyx_main.C: error out if files couldn't be found.
7247 2003-04-02 John Levon <levon@movementarian.org>
7249 * text2.C: make incDepth() use parlist
7251 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7253 * undo_funcs.C (firstUndoParagraph): adjust
7255 * text3.C (gotoInset): adjust
7256 (dispatch): adjust, and rewrite loop.
7258 * text2.C (init): adjust, and rewrite loop.
7259 (redoParagraphs): adjust
7260 (updateInset): adjust, and rewrite loop.
7261 (deleteEmptyParagraphMechanism): adjust
7263 * tabular.C (LyXTabular): adjust
7264 (SetMultiColumn): adjust
7267 * lyxtext.[Ch] (ownerParagraph): delete function
7268 (ownerParagraphs): new function returns a ParagraphList.
7270 * BufferView.C (removeAutoInsets): adjust
7271 (insertErrors): adjust
7272 (setCursorFromRow): adjust
7274 2003-04-01 Angus Leeming <leeming@lyx.org>
7276 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7279 2003-04-02 John Levon <levon@movementarian.org>
7285 * text_funcs.C: make transposeChars a free function
7287 * lyxrow_funcs.C: remove wrong comment
7289 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7292 * rowpainter.C: adjust
7297 * lyxrow_funcs. [Ch]: new files
7299 * lyxrow.[Ch]: remove next and previous pointers
7300 (next,previous): remove accessor functions
7301 (isParEnd): move to lyxrow_funcs
7302 (lastPos): move to lyxrow_funcs
7303 (nextRowIsAllInset): move to lyxrow_funcs
7304 (lastPrintablePos): move to lyxrow_funcs
7305 (numberOfSeparators): move to lyxrow_funcs
7306 (numberOfHfills): move to lyxrow_funcs
7307 (numberOfLabelHfills): move to lyxrow_funcs
7308 (hfillExpansion): move to lyxrow_funcs
7312 * bufferview_funcs.C (toggleAndShow): adjust
7314 * RowList.h: Remove class RowList from file leave just a
7317 * RowList.C: delete file
7319 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7322 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7324 * text3.C (cursorPrevious): adjust
7325 (cursorNext): adjust
7328 * text2.C (redoHeightOfParagraph): adjust
7329 (redoDrawingOfParagraph): adjust
7332 * text.C (breakParagraph): adjust
7333 (insertChar): adjust
7336 * rowpainter.C (RowPainter): adjust
7337 (leftMargin): simplify and adjust
7338 (most rowpainter functions): adjust.
7340 * rowpainter.h: store the row as RowList::iterator not as Row*
7342 * lyxcursor.C (row): taka RowList::iterator as arg
7345 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7348 2003-04-01 Angus Leeming <leeming@lyx.org>
7350 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7351 stuff like bool Bool.
7353 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7355 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7358 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7360 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7363 * lyxtext.h (rows): drop one version and leve a const variant that
7364 returns a RowList::iterator.
7366 2003-03-31 Angus Leeming <leeming@lyx.org>
7368 * text.C (fill): ensure that the signature is the same as that in the
7371 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7373 * text2.C (redoParagraphs): adjust
7374 (updateCounters): adjust
7375 (checkParagraph): adjust
7376 (getColumnNearX): adjust and reformat a bit.
7378 * text.C (top_y): adjust
7380 (leftMargin): adjust
7381 (prepareToPrint): adjust
7383 (getRowNearY): adjust
7385 * lyxtext.h: make rowlist_ mutable.
7387 * RowList.h: add const_iterator
7388 * RowList.C: adjust for RowList::const_iterator.
7390 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7393 2003-03-31 John Levon <levon@movementarian.org>
7396 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7398 * lyx_main.C: set default fonts from using lyx_gui funcs
7400 * exporter.C: pdf_mode moved from lyxrc
7403 * lyxfunc.C: changes from above
7405 2003-03-31 John Levon <levon@movementarian.org>
7407 * lyx_main.C: fix to the last fix
7409 2003-03-31 John Levon <levon@movementarian.org>
7411 * bufferlist.C: "Load original" -> "Load Original"
7417 * format.C: more Alert cleanups
7419 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7421 * text2.C (removeParagraph): make it take a RowList::iterator as
7423 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7424 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7426 * text.C (anchor_row): make it take a RowList::iterator as arg,
7428 (computeBidiTables): make it take a const reference to Row instead
7429 of Row pointer, adjust.
7430 (leftMargin): make it take a RowList::iterator as arg, adjust.
7431 (rowBreakPoint): adjust
7432 (breakAgainOneRow): make it take a RowList::iterator as arg,
7434 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7436 * bufferview_funcs.C (toggleAndShow): adjust
7438 2003-03-30 John Levon <levon@movementarian.org>
7442 * boost-inst.C: moved to support
7444 * several files: changes as a result
7446 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7448 * text2.C (LyXText): adjust.
7450 (removeRow): make it take a RowList::iterator as arg, adjust.
7451 (fullRebreak): adjust
7452 (deleteEmptyParagraphMechanism): adjust
7453 (clearPaint): adjust
7456 * text.C (top_y): adjust
7457 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7458 (breakAgain): make it take a RowList::iterator as arg, adjust.
7459 (breakParagraph): adjust
7460 (insertChar): adjust
7463 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7464 need_break_row, and refresh_row.
7466 * text3.C (dispatch): adjust
7468 * text2.C (checkParagraph): adjust
7470 (setCursorFromCoordinates): adjust
7472 * text.C (top_y): adjust
7474 (getRow): make it return a RowList::iterator, adjust
7475 (getRowNearY): make it return a RowList::iterator, adjust
7477 * text2.C (init): adjust
7478 (insertRow): remove function
7479 (insertParagraph): adjust
7480 (redoParagraphs): adjust
7481 (fullRebreak): adjust
7482 (updateCounters): adjust
7484 * text.C (top_y): rewrite to use RowList iterators.
7486 (setHeightOfRow): rewrite to sue RowList iterators.
7487 (appendParagraph): adjust
7488 (breakAgain): adjust
7489 (breakAgainOneRow): adjust
7490 (breakParagraph): adjust
7492 (getRowNearY): adjust, and remove commented code.
7494 * lyxtext.h (firstRow): delete function
7495 (lastRow): delete function
7496 (rows): new function (const and non-const versions.)
7497 (insertRow): delete function
7499 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7501 2003-03-29 John Levon <levon@movementarian.org>
7503 * BufferView_pimpl.C: always update scrollbar top
7504 because pasting text when we're anchored could mean we
7505 miss an update altogether
7507 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7509 * text2.C (init): use rowlist_.end() and not 0.
7510 (insertRow): change to take a RowList::iterator as arg, adjust
7512 (insertParagraph): change to take a RowList::iterator as arg,
7514 (redoParagraphs): remove some debug msgs.
7516 * text.C (appendParagraph): change to take a RowList::iterator
7517 arg, adjust for this.
7518 (breakAgain): add an assert
7519 (breakAgainOneRow): ditto
7521 2003-03-29 John Levon <levon@movementarian.org>
7523 * text2.C: do not clear selection after inc/decDepth
7526 2003-03-29 John Levon <levon@movementarian.org>
7529 * buffer.C: fix broken strerrors according to Lars
7531 2003-03-29 John Levon <levon@movementarian.org>
7533 * converters.C: more Alert cleanups
7535 2003-03-29 John Levon <levon@movementarian.org>
7537 * bufferview_funcs.C: remove pointless Alert
7539 * buffer.C: fix confusing error message when
7540 a template is chmoded 000
7542 2003-03-29 John Levon <levon@movementarian.org>
7546 * BufferView_pimpl.C: Alert fixes
7550 * tabular-old.C: remove unused table compat reading
7552 2003-03-29 John Levon <levon@movementarian.org>
7557 * lyx_cb.C: more Alert cleanups
7559 * lyxfunc.C: don't allow chktex if not latex document
7561 2003-03-29 John Levon <levon@movementarian.org>
7565 * buffer.C: warnings pushed down from support/,
7568 2003-03-29 John Levon <levon@movementarian.org>
7570 * lyxfunc.C: safety check for C-r (revert)
7572 2003-03-29 John Levon <levon@movementarian.org>
7575 * bufferlist.C: several UI fixes using Alert::prompt.
7576 Fix the pointless looping quit code. Fix stupid revert
7581 * lyx_cb.C: use Alert::prompt
7583 * lyx_main.C: remove a silly question
7585 * lyxfunc.C: remove a couple of silly questions,
7588 2003-03-28 John Levon <levon@movementarian.org>
7590 * text2.C: fix bug 974 (End on empty par)
7592 2003-03-28 John Levon <levon@movementarian.org>
7594 * BufferView_pimpl.C:
7596 * lfuns.h: remove do-nothing math greek lfuns
7598 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7600 * lyxgluelength.h (isValidGlueLength): add default arg on
7601 parameter 2. Remove default arg from friend in class.
7603 * lyxlength.h (isValidLength): add default arg on parameter 2.
7604 Remove default arg from friend in class.
7606 * text2.C (LyXText): adjust, initialize refresh_row.
7610 (insertParagraph): adjst
7611 (redoParagraphs): adjust
7612 (fullRebreak): adjust
7613 (updateCounters): adjust
7614 (deleteEmptyParagraphMechanism): first attempt at fixing a
7617 * text.C (top_y): adjust
7618 (setHeightOfRow): adjust
7620 (getRowNearY): adjust
7622 * lyxtext.h: include RowList.h
7623 (~LyXText): not needed anymore, deleted.
7624 (firstRow): modify for RowList
7625 (lastRow): new function
7626 Delete firstrow and lastrow class variables, add a Rowlist
7627 rowlist_ class variable.
7629 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7632 * RowList.C (insert): fix case where it == begin().
7634 2003-03-26 Angus Leeming <leeming@lyx.org>
7636 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7637 the thesaurus dialog.
7639 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7641 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7643 * RowList.[Ch]: new files
7645 * ParagraphList.C (erase): handle the case where it == begin
7648 2003-03-25 John Levon <levon@movementarian.org>
7652 * aspell.C: add new aspell support
7655 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7658 2003-03-25 Angus Leeming <leeming@lyx.org>
7661 * LyXAction.C (init): new LFUN_INSET_INSERT.
7663 * BufferView_pimpl.C (dispatch): split out part of the
7664 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7666 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7669 2003-03-25 Angus Leeming <leeming@lyx.org>
7671 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7673 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7676 * text3.C: remove useless row->height(0)
7678 2003-03-25 John Levon <levon@movementarian.org>
7682 * text3.C: rename the refreshing stuff to better names
7684 2003-03-24 John Levon <levon@movementarian.org>
7686 * BufferView_pimpl.h:
7687 * BufferView_pimpl.C: update layout choice on a mouse
7690 2003-03-23 John Levon <levon@movementarian.org>
7692 * Makefile.am: fix commandtags.h reference
7694 2003-03-22 John Levon <levon@movementarian.org>
7696 * BufferView_pimpl.C:
7701 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7703 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7706 * text.C: take the rtl methods out of line
7708 2003-03-21 André Pönitz <poenitz@gmx.net>
7710 * metricsinfo.[Ch]: new files containing structures to be passed around
7711 during the two-phase-drawing...
7713 2003-03-21 André Pönitz <poenitz@gmx.net>
7715 * lyxtextclass.C: read 'environment' tag.
7717 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7719 * text2.C (removeRow): fix bug 964
7721 2003-03-20 John Levon <levon@movementarian.org>
7725 * text2.C: paint cleanups. Inset::update() dropped font
7728 2003-03-19 John Levon <levon@movementarian.org>
7730 * lyxfunc.C: only fitcursor/markDirty if available()
7732 2003-03-19 John Levon <levon@movementarian.org>
7734 * commandtags.h: rename to ...
7736 * lfuns.h: ... this, and renumber / cleanup
7738 2003-03-19 John Levon <levon@movementarian.org>
7740 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7741 fit the cursor after an lfun
7745 * BufferView_pimpl.h:
7746 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7748 * LyXAction.C: layout-character should have ReadOnly
7750 * ParagraphParameters.C:
7752 * bufferview_funcs.C:
7759 * undo_funcs.C: changes from above
7761 2003-03-18 John Levon <levon@movementarian.org>
7763 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7764 remove it from update()
7766 * lyxfunc.C: update layout choice after an lfun
7768 * text3.C: remove extra updateLayoutChoice()s
7770 2003-03-18 John Levon <levon@movementarian.org>
7772 * text.C: top_y change means full repaint, fix
7773 a drawing bug with cursor movement
7775 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7779 * text2.C: anchor row on setCursor
7781 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7783 * lyxtext.h: remove almost all mutable keywords
7786 * text3.C: remove const keywords accordingly
7788 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7792 (TeXEnvironment): ditto
7795 2003-03-17 John Levon <levon@movementarian.org>
7797 * text.C (rowBreakPoint): remove attempt to fix displayed
7798 math insets inside a manual label
7800 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7802 * lyxtext.h: remove BufferView* as first arg from almost all class
7804 * other files: adjust.
7806 2003-03-17 John Levon <levon@movementarian.org>
7810 * text2.C: more paint cleanups
7812 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7815 * rowpainter.C: remove "smart" background painting code
7817 2003-03-16 John Levon <levon@movementarian.org>
7822 * text3.C: add helper functions for setting refresh_row/y
7824 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7826 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7827 newline inset which *can* get inserted in the pass_thru layouts.
7828 This is primarily for literate documents.
7830 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7832 * buffer.C: increment LYX_FORMAT to 223
7834 2003-03-14 André Pönitz <poenitz@gmx.net>
7836 * textclass.h: prepare for environment handling, ws changes
7837 * lyxlayout.C: read latexheader and latexfooter tags
7839 2003-03-14 John Levon <levon@movementarian.org>
7841 * text2.C: rewrite ::status() a bit
7843 2003-03-13 John Levon <levon@movementarian.org>
7845 * lyxtext.h: add some docs
7847 2003-03-13 John Levon <levon@movementarian.org>
7852 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7854 2003-03-13 John Levon <levon@movementarian.org>
7856 * text3.C: fix appendix redrawing
7858 2003-03-13 John Levon <levon@movementarian.org>
7860 * text.C (setHeightOfRow):
7862 * rowpainter.C: make appendix mark have the text
7863 "Appendix" so the user knows what it is
7866 * LColor.C: s/appendixline/appendix/ from above
7868 2003-03-13 John Levon <levon@movementarian.org>
7870 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7872 * text.C: fix a getChar(pos) bug properly
7874 2003-03-13 Angus Leeming <leeming@lyx.org>
7877 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7878 Probably only temporary. Let's see how things pan out.
7880 * BufferView.C (unlockInset):
7881 * BufferView_pimpl.C (fitCursor):
7882 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7884 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7885 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7887 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7888 new functions that convert ParagraphParameters to and from a string.
7890 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7891 BufferView::Pimpl's dispatch.
7892 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7894 2003-03-13 André Pönitz <poenitz@gmx.net>
7898 * factory.C: make it aware of InsetEnv
7900 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7902 * text2.C (setCursor): never ask for one past last
7903 (setCursor): add some debugging messages.
7905 * text.C (singleWidth): never ask for one past last
7906 (singleWidth): ditto
7908 (rightMargin): ditto
7909 (rowBreakPoint): ditto
7910 (setHeightOfRow): ditto
7911 (prepareToPrint): ditto
7913 * rowpainter.C (paintBackground): never ask for one past last
7914 (paintText): never ask for one past last
7916 * paragraph_pimpl.C (getChar): make the assert stricter, never
7917 allow the one past last pos to be taken
7919 * paragraph.C (getChar): ws changes only
7921 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7922 (numberOfSeparators): ditto
7923 (numberOfHfills): ditto
7925 2003-03-12 John Levon <levon@movementarian.org>
7931 * paragraph_funcs.C: fix per-buffer authorlists
7933 2003-03-12 John Levon <levon@movementarian.org>
7935 * text.C: fix newline in right address
7937 2003-03-12 Angus Leeming <leeming@lyx.org>
7939 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7940 duplicate those in LyXFunc::dispatch.
7944 * ToolbarDefaults.C:
7945 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7946 Add LFUN_FONTFREE_UPDATE.
7948 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7949 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7951 * bufferview_func.[Ch]: several new functions to facilliate
7952 transfer of data to and from the character dialog.
7954 2003-03-12 John Levon <levon@movementarian.org>
7959 * paragraph_funcs.C:
7960 * paragraph_pimpl.C:
7964 * text3.C: remove META_NEWLINE in favour of an inset
7967 * rowpainter.C: remove paintNewline (done by inset)
7969 2003-03-12 John Levon <levon@movementarian.org>
7971 * paragraph_pimpl.C: complain about bad getChar()s
7972 for a while at least
7974 2003-03-12 John Levon <levon@movementarian.org>
7977 * buffer.C: move paragraph read into a separate function,
7978 a little renaming to reflect that.
7981 * bufferparams.C: remove the author_ids map, not necessary now
7984 * factory.C: moved Buffer::readInset to here
7986 * paragraph_funcs.h:
7987 * paragraph_funcs.C: readParagraph free function moved from
7990 * tabular.C: name change
7992 2003-03-12 John Levon <levon@movementarian.org>
7995 * ParagraphParameters.C: move par params input to
7998 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7999 behave like a normal read from the stream wrt reading
8000 a line vs. a \\token
8002 2003-03-12 John Levon <levon@movementarian.org>
8005 * ParagraphParameters.h:
8006 * ParagraphParameters.C: move output code to a
8009 2003-03-12 John Levon <levon@movementarian.org>
8011 * BufferView.C (insertLyXFile):
8014 * tabular.C: use a parlist iterator for creating the
8017 2003-03-12 John Levon <levon@movementarian.org>
8019 * buffer.C: make current_change static local not
8022 2003-03-12 John Levon <levon@movementarian.org>
8024 * buffer.C: fix insertStringAsLines for change tracking
8026 2003-03-12 John Levon <levon@movementarian.org>
8033 * bufferparams.C: move author list into params. Rename some
8034 functions. Move the header reading into a separate token
8035 loop. Move the header token reading into BufferParams.
8037 2003-03-12 John Levon <levon@movementarian.org>
8039 * changes.C: put debug inside lyxerr.debugging() checks
8041 2003-03-11 André Pönitz <poenitz@gmx.net>
8043 * factory.C: make it aware of InsetHFill
8045 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8047 * buffer.C (latexParagraphs): move function from here...
8048 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8051 2003-03-10 Angus Leeming <leeming@lyx.org>
8053 * LyXAction.C (init): fix bug in poplating array with multiple entries
8054 with the same LFUN (spotted by JMarc).
8056 2003-03-10 John Levon <levon@movementarian.org>
8059 * text2.C: move getColumnNearX() near its
8062 2003-03-10 John Levon <levon@movementarian.org>
8064 * text.C: fix break before a minipage
8066 2003-03-10 John Levon <levon@movementarian.org>
8068 * text.C: fix the last commit
8070 2003-03-09 John Levon <levon@movementarian.org>
8074 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8075 bug 365 (don't break before insets unless needed). Don't
8076 return a value > last under any circumstances.
8078 2003-03-09 Angus Leeming <leeming@lyx.org>
8080 * BufferView_pimpl.C (trackChanges, dispatch): call
8081 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8083 2003-03-09 Angus Leeming <leeming@lyx.org>
8085 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8086 than Dialogs::showAboutlyx().
8088 2003-03-09 Angus Leeming <leeming@lyx.org>
8090 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8091 than Dialogs::showTabularCreate().
8093 2003-03-09 John Levon <levon@movementarian.org>
8097 * text2.C: 3rd arg to nextBreakPoint was always the same.
8100 2003-03-08 John Levon <levon@movementarian.org>
8107 * text2.C: Remove the "main" bit from the "main body"
8110 2003-03-08 John Levon <levon@movementarian.org>
8112 * text.C (leftMargin): The left margin of an empty
8113 manual label paragraph should not include the label width
8116 * text.C (prepareToPrint): don't attempt to measure hfills
8117 for empty manual label paragraphs - the answer should be 0
8119 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8121 * CutAndPaste.C: remove commented code and reindent.
8123 2003-03-08 John Levon <levon@movementarian.org>
8126 * lyxfunc.C: move reloadBuffer()
8129 * BufferView.C: to here
8131 * lyxvc.C: add comment
8134 * vc-backend.C: call bv->reload() to avoid
8135 getStatus() check on MENURELOAD
8137 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8139 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8140 to an old format .dep file.
8142 2003-03-07 Angus Leeming <leeming@lyx.org>
8144 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8145 when the LFUN_MOUSE_RELEASE should have been handled by
8146 inset->localDispatch.
8148 2003-03-07 Angus Leeming <leeming@lyx.org>
8150 * BufferView_pimpl.C (dispatch):
8151 * LyXAction.C (init):
8152 * ToolbarDefaults.C (init):
8154 * lyxfunc.C (getStatus):
8155 remove LFUN_INSET_GRAPHICS.
8157 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8159 2003-03-07 Angus Leeming <leeming@lyx.org>
8162 * LyXAction.C (init):
8163 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8165 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8168 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8170 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8171 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8173 2003-03-07 Angus Leeming <leeming@lyx.org>
8175 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8178 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * ParagraphList.C (front): new function
8183 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8185 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8186 and top_row_offset_. removed var first_y.
8188 * text2.C (LyXText, removeRow):
8190 * BufferView_pimpl.C:
8191 use these methods instead of using first_y
8193 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8195 * text2.C (pasteSelection): adjust for checkPastePossible
8197 * CutAndPaste.C: remove Paragraph * buf and replace with
8198 ParagraphList paragraphs.
8199 (DeleteBuffer): delete
8200 (cutSelection): change the tc type to textclass_type
8201 (copySelection): change the tc type to textclass_type
8202 (copySelection): adjust for ParagraphList
8203 (pasteSelection): change the tc type to textclass_type
8204 (pasteSelection): adjust for Paragraphlist
8205 (nrOfParagraphs): simplify for ParagraphList
8206 (checkPastePossible): simplify for ParagraphList
8207 (checkPastePossible): remove unused arg
8209 * ParagraphList.C (insert): handle the case where there are no
8212 * CutAndPaste.h: make CutAndPaste a namespace.
8214 * text3.C (dispatch): adjust
8216 * text.C (breakParagraph): add a ParagraphList as arg
8218 * paragraph_funcs.C (breakParagraph): change to take a
8219 BufferParams and a ParagraphList as args.
8220 (breakParagraphConservative): ditto
8221 (mergeParagraph): ditto
8222 (TeXDeeper): add a ParagraphList arg
8223 (TeXEnvironment): ditto
8226 * buffer.C (readLyXformat2): adjust
8227 (insertStringAsLines): adjust
8228 (latexParagraphs): adjust
8230 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8231 (cutSelection): adjust
8232 (pasteSelection): adjust
8234 * BufferView_pimpl.C (insertInset): adjust
8236 2003-03-05 Angus Leeming <leeming@lyx.org>
8239 * LyXAction.C (init):
8240 * BufferView_pimpl.C (dispatch):
8241 * lyxfunc.C (getStatus):
8242 remove LFUN_CHILD_INSERT.
8244 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8246 2003-03-05 Angus Leeming <leeming@lyx.org>
8249 * LyXAction.C (init):
8250 * src/factory.C (createInset):
8251 * lyxfunc.C (getStatus):
8252 * text3.C (dispatch):
8253 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8255 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8257 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8259 * ParagraphList.C (insert): handle insert right before end()
8260 (erase): fix cases where it can be first or last paragraph.
8262 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8265 Paragraph::next and Paragraph::previous
8268 * text.C (breakParagraph): adjust
8270 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8271 BufferParams& as arg.
8272 (breakParagraph): use ParagraphList::insert
8273 (breakParagraphConservative): take a Buffer* instead of a
8274 BufferParams& as arg.
8275 (breakParagraphConservative): use ParagraphList::insert.
8277 * buffer.C (insertStringAsLines): un-const it
8278 (insertStringAsLines): adjust
8280 * ParagraphList.C (insert): new function
8282 * CutAndPaste.C (pasteSelection): adjust
8284 * text.C (backspace): adjust
8286 * tabular.C (SetMultiColumn): adjust
8288 * CutAndPaste.C (cutSelection): adjust
8289 (pasteSelection): adjust
8291 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8292 Buffer const * as arg
8294 * ParagraphList.C (erase): new function
8295 * paragraph_funcs.C (mergeParagraph): use it
8296 (mergeParagraph): make it take a Buffer* instead of a
8297 BufferParams* as arg
8299 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8301 (breakParagraphConservative): ditto
8303 * paragraph.h: remove the breakParagraph friend
8305 * paragraph.C (eraseIntern): new function
8306 (setChange): new function
8308 * paragraph_funcs.C (mergeParagraph): make it take a
8309 ParagraphList::iterator instead of a Paragraph *, adjust
8312 * paragraph.h: move an #endif so that the change tracking stuff
8313 also works in the NO_NEXT case.
8315 2003-03-04 Angus Leeming <leeming@lyx.org>
8318 * LyXAction.C: new LFUN_INSET_MODIFY.
8320 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8321 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8323 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8325 * several files: ws changes only
8327 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8328 (TeXEnvironment): ditto
8331 * buffer.C (makeLaTeXFile): adjust
8332 (latexParagraphs): make it take ParagraphList::iterator as args
8334 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8336 * buffer.C (latexParagraphs): adjust
8338 * paragraph.C (TeXOnePar): move function...
8339 (optArgInset): move function...
8340 (TeXEnvironment): move function...
8341 * paragraph_pimpl.C (TeXDeeper): move function...
8342 * paragraph_funcs.C: ...here
8344 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8346 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8348 * buffer.C (readInset): remove compability code for old Figure and
8351 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8353 * buffer.C: ws changes
8356 * BufferView_pimpl.C: ditto
8359 * bufferlist.h: ditto
8363 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8365 * converter.[Ch]: split into itself +
8368 * Makefile.am: += graph.[Ch] + format.[Ch]
8375 * lyxrc.C: added #include "format.h"
8377 2003-02-27 Angus Leeming <leeming@lyx.org>
8379 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8382 * factory.C (createInset): add "label" to the factory.
8384 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8385 string and do no more.
8387 2003-02-27 Angus Leeming <leeming@lyx.org>
8390 * LyXAction.C (init):
8391 * factory.C (createInset):
8392 * BufferView_pimpl.C (dispatch):
8393 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8395 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8397 * lyxfunc.C (dispatch):
8398 * text3.C (dispatch): pass name to params2string.
8400 2003-02-26 Angus Leeming <leeming@lyx.org>
8402 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8404 Rearrange the ~includes. Strip out the unnecessary ones.
8406 * factory.C (createInset): reformat.
8407 create new insets for the various LFUN_XYZ_APPLY lfuns.
8409 2003-02-26 John Levon <levon@movementarian.org>
8412 * lyxrow.C: add isParStart,isParEnd helpers
8414 * paragraph.h: make isInserted/DeletedText take refs
8416 * paragraph_funcs.h:
8417 * paragraph_funcs.C: remove #if 0'd code
8422 * text.C: use lyxrow helpers above.
8423 Move draw and paint routines to RowPainter.
8424 Make several methods use refs not pointers.
8425 Make backgroundColor() const.
8426 Add markChangeInDraw(), isInInset().
8427 Merge changeRegionCase into changeCase.
8428 Make workWidth() shouldn't-happen code into an Assert.
8431 * rowpainter.C: new class for painting a row.
8434 * vspace.C: make inPixels take a ref
8436 2003-02-26 Angus Leeming <leeming@lyx.org>
8438 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8441 2003-02-25 John Levon <levon@movementarian.org>
8443 * ispell.C: give the forked command a more accurate name
8445 2003-02-22 John Levon <levon@movementarian.org>
8448 * toc.C: make TocItem store an id not a Paragraph *
8451 2003-02-21 Angus Leeming <leeming@lyx.org>
8453 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8454 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8455 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8456 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8457 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8458 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8460 * BufferView_pimpl.C (dispatch):
8461 * LyXAction.C (init):
8462 * factory.C (createInset):
8463 * lyxfunc.C (getStatus, dispatch):
8464 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8466 2003-02-21 Angus Leeming <leeming@lyx.org>
8468 * BufferView_pimpl.C (MenuInsertLyXFile):
8469 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8470 * lyxfunc.C (menuNew, open, doImport):
8471 no longer pass a LyXView & to fileDlg.
8473 2003-02-21 Angus Leeming <leeming@lyx.org>
8475 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8476 * LyXAction.C: change, BIBKEY to BIBITEM.
8477 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8478 Change InsetBibKey to InsetBibitem.
8479 Change BIBKEY_CODE to BIBITEM_CODE.
8480 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8481 * factory.C: replace insetbib.h with insetbibitem.h.
8482 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8483 * paragraph.C: replace insetbib.h with insetbibitem.h.
8484 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8485 Change bibkey() to bibitem().
8486 * text.C: remove insetbib.h.
8487 * text2.C: replace insetbib.h with insetbibitem.h.
8488 change bibkey() to bibitem().
8489 * text3.C: remove insetbib.h.
8490 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8492 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8494 * lyxrc.C (output): enclose user email in quotes (in case there are
8497 2003-02-18 John Levon <levon@movementarian.org>
8499 * buffer.h: add std::
8501 2003-02-17 John Levon <levon@movementarian.org>
8507 * pspell.C: reworking. Especially in ispell, a large
8508 number of clean ups and bug fixes.
8510 * lyxfunc.C: fix revert to behave sensibly
8512 2003-02-17 André Pönitz <poenitz@gmx.net>
8515 * commandtags.h: new LFUN_INSERT_BIBKEY
8525 * paragraph_func.C: remove special bibkey handling
8527 2003-02-17 John Levon <levon@movementarian.org>
8529 * text.C (Delete): fix case where delete at the end of
8530 the very first paragraph would not merge the pars
8532 2003-02-17 John Levon <levon@movementarian.org>
8534 * lyxrow.C: fix lastPrintablePos()
8536 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8538 * bufferparams.C (writeLaTeX): add a std:here
8540 * buffer.C: and remove a using directive there
8542 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8544 * buffer.C (makeLaTeXFile): move the code that generates the
8547 * bufferparams.C (writeLaTeX): ... in this new method
8549 * LaTeXFeatures.C (getEncodingSet): make const
8550 (getLanguages): make const
8552 * MenuBackend.C (binding): returns the binding associated to this
8554 (add): sets the status of each item by calling getStatus. Adds
8556 (read): add support for OptSubMenu
8557 (expand): remove extra separator at the end of expanded menu
8559 2003-02-15 John Levon <levon@movementarian.org>
8562 * BufferView_pimpl.C:
8564 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8565 inset code that had no actual effect. Remove unneeded status
8568 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8570 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8573 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8575 * text.C (drawLengthMarker): also draw an arrow marker for
8576 symbolic lengths (medskip...)
8578 2003-02-14 John Levon <levon@movementarian.org>
8581 * tabular.C: better method names
8583 2003-02-14 John Levon <levon@movementarian.org>
8585 * BufferView_pimpl.C:
8590 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8591 it's a more accurate name. Remove some pointless uses.
8593 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * text2.C (LyXText): change order of initilizers to shut off
8598 2003-02-14 John Levon <levon@movementarian.org>
8600 * buffer.C: use ParIterator for getParFromID()
8604 * paragraph_pimpl.h:
8605 * paragraph_pimpl.C: remove unused getParFromID()
8607 2003-02-14 John Levon <levon@movementarian.org>
8609 * buffer.C: remove some very old #if 0'd parse code
8611 2003-02-13 John Levon <levon@movementarian.org>
8615 * text2.C: move hfillExpansion(), numberOfSeparators(),
8616 rowLast(), rowLastPrintable(), numberofHfills(),
8617 numberOfLabelHfills() ...
8620 * lyxrow.C: ... to member functions here.
8625 * text.C: remove LyXText::beginningOfMainBody(), and call
8626 p->beginningOfMainBody() directly. Move the check for
8627 LABEL_MANUAL into the latter.
8634 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8640 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8641 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8643 2003-02-13 John Levon <levon@movementarian.org>
8645 * CutAndPaste.C: remove debug
8647 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8649 * paragraph.C (asString): remove two unused variables
8651 * lyxtextclass.C (readTitleType):
8653 (LyXTextClass): handle new members titletype_ and titlename_
8655 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8657 2003-02-09 John Levon <levon@movementarian.org>
8660 * buffer.C: replace hand-coded list with a map for the dep clean
8662 2003-02-08 John Levon <levon@movementarian.org>
8664 * LaTeX.C: consolidate code into showRunMessage() helper
8666 2003-02-08 John Levon <levon@movementarian.org>
8671 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8672 and pass the size in explicitly
8674 * BufferView_pimpl.h:
8675 * BufferView_pimpl.C:
8677 * BufferView.C: add getCurrentChange()
8679 * BufferView_pimpl.h:
8680 * BufferView_pimpl.C: handle change lfuns
8682 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8683 for changes. Mark pasted paragraphs as new.
8685 * support/lyxtime.h:
8686 * support/lyxtime.C:
8687 * DepTable.C: abstract time_t as lyx::time_type
8690 * LColor.C: add colours for new text, deleted text, changebars
8692 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8693 package use "usenames" option.
8697 * LyXAction.C: add change lfuns
8701 * author.C: author handling
8704 * buffer.C: add a per-buffer author list, with first entry as
8705 current author. Handle new .lyx tokens for change tracking. Output
8706 author list to .lyx file. Output dvipost stuff to .tex preamble.
8707 Bump lyx format to 222.
8710 * bufferlist.C: add setCurrentAuthor() to reset current author details
8714 * bufferparams.C: add param for tracking
8716 * bufferview_funcs.C: output change info in minibuffer
8720 * changes.C: add change-tracking structure
8723 * debug.C: add CHANGES debug flag
8726 * lyxfind.C: add code for finding the next change piece
8729 * lyxrc.C: add user_name and user_email
8732 * lyxrow.C: add a metric for the top of the text line
8735 * text.C: implement accept/rejectChange()
8738 * text.C: paint changebars. Paint new/deleted text in the chosen
8739 colours. Strike through deleted text.
8743 * paragraph_pimpl.h:
8744 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8745 in the current change to the insert functions. Rework erase to
8746 mark text as deleted, adding an eraseIntern() and a range-based
8747 erase(). Implement per-paragraph change lookup and
8750 * paragraph_funcs.C: Fixup paste for change tracking.
8752 * tabular.C: mark added row/columns as new.
8754 * text.C: fix rowLast() to never return -1. Don't allow
8755 spellchecking of deleted text. Track transpose changes. Don't
8756 allow paragraph break or merge where appropriate.
8758 * text2.C: leave cursor at end of selection after a cut.
8760 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8762 * text.C (getLengthMarkerHeight):
8763 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8764 visible on screen too.
8766 2003-02-07 John Levon <levon@movementarian.org>
8768 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8770 2003-02-05 Angus Leeming <leeming@lyx.org>
8772 * lyxserver.C (read_ready): revert my patch of 11 September last year
8773 as it sends PC cpu through the roof. Presumably this means that
8774 the lyxserver will no longer run on an Alpha...
8776 2003-01-30 Angus Leeming <leeming@lyx.org>
8778 * factory.C (createInset): create an InsetCommandParam of type "index"
8779 and use it to 'do the right thing'.
8781 * text2.C (getStringToIndex): ensure that cursor position is always
8782 reset to the reset_cursor position.
8784 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8786 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8789 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8793 * lyxfunc.C: Output messages with identical spelling, punctuation,
8796 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8798 * MenuBackend.C (expandFormats): List only viewable export formats
8801 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8804 * lyxfunc.C (getStatus): Make sure that formats other than
8805 "fax" can also be disabled
8807 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8809 * text3.C (dispatch): put the lfuns that insert insets in 3
8810 groups, and call doInsertInset with appropriate arguments.
8811 (doInsertInset): new function, that creates an inset and inserts
8812 it according to some boolean parameters.
8814 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * buffer.C (readFile): remember to pass on 'par' when calling
8817 readFile recursively.
8819 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * MenuBackend.C (expandFormats): add "..." to import formats.
8823 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8825 * paragraph.C (asString): Remove XForms RTL hacks.
8827 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8828 * buffer.C: fix typo
8830 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8832 * Makefile.am (LIBS): delete var
8833 (lyx_LDADD): add @LIBS@ here instead.
8835 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8837 * Clarify the meaning of "wheel mouse jump"
8839 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8844 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8846 * importer.C (Loaders): do not preallocate 3 elements in the
8847 vector, since one ends up with 6 elements otherwise
8849 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8851 * DepTable.C (write): write the file name as last element of the
8852 .dep file (because it may contain spaces)
8853 (read): read info in the right order
8855 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8857 * paragraph_pimpl.C (simpleTeXBlanks):
8858 (simpleTeXSpecialChars):
8859 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8861 * tabular.C (latex): add some missing case statements. Reindent.
8863 * MenuBackend.C (expandToc): remove unused variable.
8865 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8874 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8877 2003-01-05 John Levon <levon@movementarian.org>
8880 * BufferView.C: add getEncoding()
8883 * kbsequence.C: do not store last keypress
8886 * lyxfunc.C: store last keypress here instead. Pass encoding
8889 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8891 * lyx_main.C (init): remove annoying error message when following
8892 symbolic links (bug #780)
8894 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8896 * text.C (insertChar):
8897 * lyxrc.C (getDescription): remove extra spaces
8899 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8901 * lyxrc.C (getDescription): remove extra spaces
8903 2002-12-20 John Levon <levon@movementarian.org>
8905 * text3.C: hack fix for page up/down across tall rows
8907 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8909 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8912 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8915 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8916 thesaurus is not compiled in
8918 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8920 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8922 2002-12-16 Angus Leeming <leeming@lyx.org>
8925 * lyx_main.C (init): remove override_x_deadkeys stuff.
8927 2002-12-12 John Levon <levon@movementarian.org>
8929 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8930 insert. Only remove shift modifier under strict
8933 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8935 * MenuBackend.C (expandToc): fix crash.
8937 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8939 * MenuBackend.C (expandToc): gettext on float names.
8941 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8943 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8944 implement bool empty() [bug 490]
8946 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8948 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8950 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8952 * several files: ws changes
8954 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * text2.C (setCounter): clean up a bit, use boost.format.
8957 (updateCounters): initialize par upon declaration.
8959 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8960 if the layout exists. We do not just store the layout any more.
8961 (SwitchLayoutsBetweenClasses): use boost.format
8963 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8965 * converter.C (convert): if from and to files are the same, use a
8966 temporary files as intermediary
8968 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8971 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8973 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8975 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8977 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8979 * tabular.C (asciiPrintCell): use string(size, char) instead of
8982 * sgml.C (openTag): fix order of arguments to string constructor
8985 * lyxfunc.C (dispatch): use boost.format
8987 * lots of files: change "c" -> 'c'
8989 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8991 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8993 2002-11-25 Angus Leeming <leeming@lyx.org>
8995 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8997 * lyx_main.C (init): compile fix.
8999 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9001 * lyx_cb.C (start): boost.formatify
9002 do not include <iostream>
9004 * lengthcommon.C: ws only
9006 * boost-inst.C,BoostFormat.h: add more explict instantations
9008 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9010 * lots of files: handle USE_BOOST_FORMAT
9012 2002-11-21 John Levon <levon@movementarian.org>
9014 * pspell.C: fix compile
9016 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9018 * lyxfunc.C (dispatch): use boost::format
9022 * lyxfont.C (stateText): use boost::format
9024 * lyx_main.C (LyX): use boost::format
9026 (queryUserLyXDir): ditto
9029 (typedef boost::function): use the recommened syntax.
9031 * importer.C (Import): use boost::format
9033 * debug.C (showLevel): use boost::format
9035 * converter.C (view): use boost::format
9040 * bufferview_funcs.C (currentState): use boost::format
9042 * bufferlist.C (emergencyWrite): use boost::format
9044 * buffer.C (readLyXformat2): use boost::format
9045 (parseSingleLyXformat2Token): ditto
9047 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9049 * LaTeX.C (run): use boost::format
9051 * Chktex.C (scanLogFile): use boost::format
9053 * BufferView_pimpl.C (savePosition): use boost::format
9054 (restorePosition): ditto
9055 (MenuInsertLyXFile): ditto
9057 * BoostFormat.h: help file for explicit instation.
9059 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9061 * tabular.C (latex): Support for block alignment in fixed width
9064 2002-11-17 John Levon <levon@movementarian.org>
9066 * BufferView_pimpl.C:
9068 * lyxfunc.C: split filedialog into open/save
9070 2002-11-08 Juergen Vigna <jug@sad.it>
9072 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9073 by my last patch (hopefully).
9075 2002-11-08 John Levon <levon@movementarian.org>
9084 * toc.C: ParConstIterator, and use it (from Lars)
9086 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9088 * lyxtextclass.[Ch]: revise and add doxygen comments
9090 2002-11-07 John Levon <levon@movementarian.org>
9092 * text.C: fix progress value for spellchecker
9094 * toc.C: fix navigate menu for insetwrap inside minipage
9096 * paragraph_funcs.C: added FIXME for suspect code
9098 2002-11-07 John Levon <levon@movementarian.org>
9100 * BufferView_pimpl.C: fix redrawing of insets
9103 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * text2.C (updateCounters): fix bug 668
9107 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9109 * text3.C (dispatch): Do not make the buffer dirty when moving the
9112 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9114 * vc-backend.C: STRCONV
9117 * text2.C (setCounter): STRCONV
9119 * paragraph.C (asString): STRCONV
9121 * lyxlength.C (asString): STRCONV
9122 (asLatexString): ditto
9124 * lyxgluelength.C (asString): STRCONV
9125 (asLatexString): ditto
9127 * lyxfunc.C (dispatch): STRCONV
9130 * lyxfont.C (stateText): STRCONV
9132 * importer.C (Import): STRCONV
9134 * counters.C (labelItem): STRCONV
9135 (numberLabel): ditto
9136 (numberLabel): remove unused ostringstream o
9141 * bufferview_funcs.C (currentState): STRCONV
9143 * buffer.C (readFile): STRCONV
9144 (asciiParagraph): ditto
9145 (makeLaTeXFile): ditto
9147 * Spacing.C (writeEnvirBegin): STRCONV
9149 * LaTeXFeatures.C (getLanguages): STRCONV
9150 (getPackages): ditto
9152 (getBabelOptions): ditto
9153 (getTClassPreamble): ditto
9154 (getLyXSGMLEntities): ditto
9155 (getIncludedFiles): ditto
9159 (scanAuxFile): ditto
9162 * LString.h: add the STRCONV macros
9164 * BufferView_pimpl.C (savePosition): STRCONV
9165 (restorePosition): ditto
9166 (MenuInsertLyXFile): ditto
9168 * vc-backend.C (scanMaster): change from submatch[...] to
9171 * funcrequest.C: include config.h
9173 * factory.C: include config.h
9175 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9177 * box.C: include config.h
9179 * LaTeX.C (scanAuxFile): change from submatch[...] to
9183 2002-10-25 Angus Leeming <leeming@lyx.org>
9185 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9187 * ispell.[Ch] (setError): new method.
9188 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9189 Use setError() insetead of goto END.
9191 * lyx_cb.C (AutoSave): move out child process into new class
9194 2002-10-30 John Levon <levon@movementarian.org>
9196 * text3.C: make start appendix undoable
9198 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9200 * lyxlength.C (inPixels): Fix returned value.
9202 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9205 2002-10-24 Angus Leeming <leeming@lyx.org>
9207 * lyxgluelength.h: no need to forward declare BufferParams
9208 or BufferView, so don't.
9210 2002-10-21 John Levon <levon@movementarian.org>
9212 * BufferView.C: menuUndo ->undo, redo
9214 * BufferView.h: document, remove dead, make some methods private
9216 * paragraph_funcs.h:
9217 * paragraph_funcs.C:
9218 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9223 * sgml.C: move sgml open/close tag into sgml.C
9225 * bufferview_funcs.h: unused prototype
9228 * lyxfunc.C: remove unused
9231 * text.C: remove unused
9233 2002-10-21 John Levon <levon@movementarian.org>
9237 * BufferView_pimpl.h:
9238 * BufferView_pimpl.C: fix mouse wheel handling based on
9239 patch from Darren Freeman
9241 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9243 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9245 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9247 * lyxlength.C (inPixels): Fix hanfling of negative length.
9248 Fix LyXLength::MU case.
9250 2002-10-16 John Levon <levon@movementarian.org>
9252 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9254 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9256 * converter.C (view): add support for $$i (file name) and $$p
9257 (file path) for the viewer command. If $$i is not specified, then
9258 it is appended to the command (for compatibility with old syntax)
9260 2002-10-14 Juergen Vigna <jug@sad.it>
9262 * undo_funcs.C (textHandleUndo): alter the order in which the
9263 new undopar is added to the LyXText, as we have to set first
9264 the right prev/next and then add it as otherwise the rebuild of
9265 LyXText is not correct. Also reset the cursor to the right paragraph,
9266 with this IMO we could remove the hack in "redoParagraphs()".
9268 2002-10-09 Angus Leeming <leeming@lyx.org>
9270 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9271 to turn off an optimisation if a new inset is to be inserted.
9273 2002-10-11 André Pönitz <poenitz@gmx.net>
9275 * lyxtext.h: make some functions public to allow access
9276 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9278 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9280 * text3.C (dispatch): when changing layout, avoid an infinite loop
9283 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9285 * lyxrc.C (read): treat a viewer or converter command of "none" as
9288 * MenuBackend.C (expandFormats): for an update, also allow the
9289 formats that are not viewable
9291 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9292 script if it is newer than the lyxrc.defaults in user directory
9294 2002-10-07 André Pönitz <poenitz@gmx.net>
9296 * text.C: Vitaly Lipatov's small i18n fix
9298 2002-09-25 Angus Leeming <leeming@lyx.org>
9300 * ispell.h: doxygen fix.
9302 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9304 * buffer.h (readFile): Add a new argument to the method, to allow
9305 reading of old-format templates.
9307 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9309 * toc.C (getTocList): Get TOC from InsetWrap.
9311 2002-09-16 John Levon <levon@movementarian.org>
9313 * lyxfunc.C: check tabular for cut/copy too
9315 2002-09-12 John Levon <levon@movementarian.org>
9320 * factory.C: add header
9322 * paragraph_funcs.h:
9323 * paragraph_funcs.C: cleanup
9325 2002-09-11 John Levon <levon@movementarian.org>
9327 * PrinterParams.h: odd/even default to true
9329 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9331 * PrinterParams.h: update printer parameters for new xforms dialog
9333 2002-09-11 Angus Leeming <leeming@lyx.org>
9335 * lyxserver.C (read_ready): re-write to make it more transparent
9336 and to make it work in coherent fashion under Tru64 Unix.
9338 2002-09-11 André Pönitz <poenitz@gmx.net>
9342 * text3.C: implement LFUN_WORDSEL
9344 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9346 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9347 make floatlist_ a boost::shared_ptr<FloatList>
9349 * lyxtextclass.C: include FloatList.h
9350 (LyXTextClass): initialize floatlist_
9351 (TextClassTags): add TC_NOFLOAT
9352 (Read): match "nofloat" to TC_NOFLOAT and use it.
9353 (readFloat): modify call to floatlist_
9357 * FloatList.[Ch] (FloatList): remove commented out float
9359 (erase): new function
9361 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9363 * MenuBackend.C (expandToc): fix crash when there is no document
9366 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9368 * many files: Add insetwrap.
9370 2002-09-09 John Levon <levon@movementarian.org>
9372 * text2.C: remove confusing and awkward depth wraparound
9374 2002-09-09 John Levon <levon@movementarian.org>
9376 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9379 * buffer.C: remove getIncludeonlyList()
9382 * lyxfunc.C: remove headers
9384 2002-09-09 Juergen Vigna <jug@sad.it>
9386 * text.C (getColumnNearX): fix form Michael this is most
9387 probably a cut&paste bug.
9389 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9391 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9393 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9394 references, ws changes.
9396 * text2.C (init): update counters after init
9397 (insertParagraph): no need to set counter on idividual paragraphs.
9398 (setCounter): access the counters object in the textclass object
9399 on in the buffer object.
9400 (updateCounters): ditto
9402 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9403 shared_ptr<Counters> to avoid loading counters.h in all
9405 (LyXTextClass): initialize ctrs_
9406 (TextClassTags): add TC_COUNTER, and ...
9407 (Read): use it here.
9408 (CounterTags): new tags
9409 (readCounter): new function
9410 (counters): new funtion
9411 (defaultLayoutName): return a const reference
9413 * counters.C (Counters): remove contructor
9414 (newCounter): remove a couple of unneeded statements.
9415 (newCounter): simplify a bit.
9416 (numberLabel): some small formatting changes.
9418 * buffer.[Ch]: remove all traces of counters, move the Counters
9419 object to the LyXTextClass.
9421 2002-09-06 Alain Castera <castera@in2p3.fr>
9423 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9424 package to set the horizontal alignment on fixed width columns.
9427 * lyx_sty.h: added tabularnewline macro def.
9429 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9431 2002-09-06 John Levon <levon@movementarian.org>
9433 * LyXAction.C: tooltips for sub/superscript
9435 * MenuBackend.C: a bit more verbose
9437 * lyxfunc.C: tiny clean
9439 * undo_funcs.C: document undo_frozen
9441 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9443 * counters.C (Counters): add missing algorithm counter.
9445 * text2.C (setCounter): lookup the counter with layouts latexname
9446 instead of by section number.
9447 (setCounter): use a hackish way to lookup the correct enum
9449 a float name->type change
9450 reset enum couners with counter name directly instead of depth value.
9452 * counters.C (Counters): remove the push_backs, change to use the
9453 float type not the float name.
9454 (labelItem): remove unused string, float name->type change
9456 * counters.h: don't include vector, loose the enums and sects vectors
9458 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9460 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9461 (Read): add float->TC_FLOAT to textclassTags
9462 (Read): and handle it in the switch
9463 (readFloat): new function
9465 * FloatList.C (FloatList): comment out the hardcoded float
9468 * lyxlayout.h: ws change.
9470 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9472 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9474 2002-09-03 Angus Leeming <leeming@lyx.org>
9476 * BufferView_pimpl.h: qualified name is not allowed in member
9477 declaration: WorkArea & Pimpl::workarea() const;
9479 * factory.C: added using std::endl directive.
9481 * text3.C: added using std::find and std::vector directives.
9483 2002-08-29 André Pönitz <poenitz@gmx.net>
9486 * text2.C: remove unused member number_of_rows
9489 * BufferView2.C: remove file, move contents to...
9490 * BufferView.C: ... here
9492 * BufferView_pimpl.C:
9493 * factory.C: move more inset creation to factory
9495 * vspace.C: avoid direct usage of LyXText, ws changes
9498 don't provide direct access to WorkArea, use two simple
9499 acessors haveSelction() and workHeight() instead
9502 2002-08-29 John Levon <levon@movementarian.org>
9504 * BufferView_pimpl.C (dispatch): do not continue when
9507 2002-08-28 André Pönitz <poenitz@gmx.net>
9509 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9512 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9514 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9516 * buffer.C: increment LYX_FORMAT to 221
9518 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9519 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9521 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9523 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9525 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9527 * factory.C (createInset): use LyXTextClass::floats
9529 * MenuBackend.C (expandFloatListInsert):
9530 (expandFloatInsert):
9533 * text2.C (setCounter):
9535 * LaTeXFeatures.C (useFloat):
9536 (getFloatDefinitions):
9538 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9540 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9541 floatlist_, with accessor floats().
9543 * FloatList.h: remove global FloatList
9545 2002-08-26 André Pönitz <poenitz@gmx.net>
9547 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9551 * BufferView_pimpl.C:
9552 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9554 2002-08-25 John Levon <levon@movementarian.org>
9556 * LyXAction.C: fix margin note description
9558 2002-08-24 John Levon <levon@movementarian.org>
9562 * bufferview_funcs.C:
9564 * undo_funcs.C: cleanups
9566 * lyxfunc.C: disable CUT/COPY when no selection
9568 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9570 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9571 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9573 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9574 Add backward compatibility to "mono", "gray" and "no".
9576 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9578 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9579 (and file_format >= 200).
9581 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9583 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9585 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9587 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9589 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9591 * BufferView_pimpl.C:
9598 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9599 inset and code to make it work with the paragraph code. The inset
9600 can be anywhere in the paragraph, but will only do the expected
9601 thing in LaTeX if the layout file contains the parameter line
9603 (or more generally, a nonzero value) for that layout.
9605 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9607 * paragraph.h: remove the declaration of undefined counters class
9610 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9612 * text2.C (setCounter): fixed enumeration mis-count as reported by
9613 Dr. Richard Hawkins.
9615 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9617 * paragraph_funcs.h: remove some unneeded includes
9619 * text.C (backspace): pasteParagraph now in global scipe
9621 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9622 (pasteSelection): ditto
9624 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9625 * paragraph_funcs.C (pasteParagraph): ... here
9627 2002-08-20 André Pönitz <poenitz@gmx.net>
9629 * commandtags.h: new LFUNs for swapping/copying table row/colums
9632 * lyxfunc.C: support for new lfuns
9634 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9637 * buffer.[Ch]: remove NO_COMPABILITY stuff
9639 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9641 * boost.C (throw_exception): new file, with helper function for
9642 boost compiled without exceptions.
9647 * ParameterStruct.h:
9648 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9650 * bufferlist.C (emergencyWriteAll): use boost bind
9652 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9654 * text.C: include paragraph_funcs.h
9655 (breakParagraph): breakParagraph is now in global scope
9657 * paragraph_funcs.[Ch]: new files
9659 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9662 * buffer.C: include paragraph_funcs.h
9663 (insertStringAsLines): breakParagraph is now in global scope
9665 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9668 * CutAndPaste.C: include paragraph_funcs.h
9669 (cutSelection): breakParagraphConservative is now in global scope
9670 (pasteSelection): ditto
9672 * buffer.h: declare oprator== and operator!= for
9673 Buffer::inset_iterator
9675 * bufferlist.C (emergencyWrite): don't use fmt(...)
9677 * text3.C: add using std::endl
9679 * BufferView.C (moveCursorUpdate): remove default arg
9681 2002-08-20 André Pönitz <poenitz@gmx.net>
9683 * buffer.[Ch]: move inline functions to .C
9686 * BufferView_pimpl.C:
9688 * buffer.[Ch]: use improved inset_iterator
9691 * paragraph.[Ch]: write one paragraph at a time
9693 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9695 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9696 style if style is not specified.
9698 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9700 * text2.C (setCounter): when searching for right label for a
9701 caption, make sure to recurse to parent insets (so that a caption
9702 in a minipage in a figure float works) (bug #568)
9704 2002-08-20 André Pönitz <poenitz@gmx.net>
9706 * text3.C: new file for LyXText::dispatch() and helpers
9708 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9710 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9712 2002-08-19 André Pönitz <poenitz@gmx.net>
9715 * text.C: new LyXText::dispatch()
9717 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9719 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9721 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9723 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9726 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9728 * Makefile.am: use $(variables) instead of @substitutions@
9730 2002-08-15 André Pönitz <poenitz@gmx.net>
9733 * BufferView_pimpl.C: streamlining mathed <-> outer world
9737 * LyXAction.C: remove unused LFUN_MATH
9739 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9741 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9743 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9745 * paragraph.C (Paragraph): reformat a bit
9746 (cutIntoMinibuffer): use builtin InsetList function instad of
9750 * buffer.C: include boost/bind.hpp, add using std::for_each
9751 (writeFileAscii): use ParagraphList iterators
9752 (validate): use for_each for validate traversal of paragraphs
9753 (getBibkeyList): use ParagraphList iterators
9754 (resizeInsets): use for_each to resizeInsetsLyXText for all
9756 (getParFromID): use ParagraphList iterators
9758 * BufferView2.C (lockInset): use paragraph list and iterators
9760 2002-08-14 John Levon <levon@movementarian.org>
9762 * lyxserver.C: remove spurious xforms include
9764 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9766 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9768 2002-08-13 André Pönitz <poenitz@gmx.net>
9771 * lyxfunc.C: further cleaning
9773 2002-08-13 André Pönitz <poenitz@gmx.net>
9775 * funcrequest.h: new constructor
9777 * funcrequest.C: move stuff here from .h
9780 * BufferView_pimpl.C:
9783 * lyxfunc.C: subsequent changes
9785 * lyxfunc.h: new view() member function
9787 * lyxfunc.C: subsequent changes
9789 2002-08-13 Angus Leeming <leeming@lyx.org>
9792 * BufferView_pimpl.C:
9800 changes due to the changed LyXView interface that now returns references
9801 to member variables not pointers.
9803 2002-08-13 Angus Leeming <leeming@lyx.org>
9805 * WordLangTuple (word, lang_code): return references to strings,
9810 * lyxtext.h: forward-declare WordLangTuple.
9815 * text.C: #include "WordLangTuple.h".
9818 * text.C: (selectNextWordToSpellcheck): constify return type.
9820 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9826 * paragraph_pimpl.h:
9829 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9831 Made updateCounter always count from start of buffer, and removed
9832 second argument (par).
9833 Reverted floats number display to '#'. Perhaps I'll try again when the
9834 code base is sanitized a bit.
9836 2002-08-12 Angus Leeming <leeming@lyx.org>
9838 * buffer.[Ch] (getLabelList): constify.
9840 2002-08-07 André Pönitz <poenitz@gmx.net>
9842 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9844 * funcrequest.h: extension to keep mouse (x,y) position
9846 2002-08-12 Juergen Vigna <jug@sad.it>
9848 * BufferView2.C (insertErrors): forbid undo when inserting error
9851 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9853 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9855 * ParagraphList.[Ch]: new files
9857 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9859 * BufferView2.C (lockInset): ParagraphList changes
9862 * bufferlist.C: ditto
9866 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9868 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9869 unused class variable counter_,
9871 * paragraph.[Ch] (getFirstCounter): delete unused function
9873 * counters.C: include LAssert.h
9874 (reset): add a new function with no arg, change other version to
9875 not have def. arg and to not allow empty arg.
9877 * text2.C (setCounter): remove empty arg from call to Counters::reset
9879 2002-08-11 John Levon <levon@movementarian.org>
9881 * Makefile.am: add WordLangTuple.h
9883 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9885 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9886 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9888 * insets/insettext.C: InsetList changes
9890 * graphics/GraphicsSupport.C (operator()): InsetList changes
9892 * toc.C (getTocList): InsetList changes
9894 * paragraph_pimpl.[Ch]: InsetList changes
9896 * paragraph.[Ch]: InsetList changes
9898 * buffer.C (inset_iterator): InsetList changes
9899 (setParagraph): ditto
9900 * buffer.h (inset_iterator): ditto
9901 * iterators.C (operator++): ditto
9902 * iterators.h: ditto
9904 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9906 * InsetList.[Ch]: new files, most InsetList handling moved out of
9909 * BufferView2.C (removeAutoInsets): InsetList changes
9911 (ChangeInsets): ditto
9913 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9915 * paragraph_pimpl.h (empty): new function
9917 * paragraph.[Ch] (empty): new function
9919 * other files: use the new Paragraph::empty function
9921 2002-08-09 John Levon <levon@movementarian.org>
9923 * lyxtext.h: remove unused refresh_height
9925 2002-08-09 John Levon <levon@movementarian.org>
9932 * paragraph.C: move sgml char escaping out of paragraph
9935 * paragraph.C: remove id setter
9939 * paragraph_pimpl.C: remove dead tex_code_break_column
9941 * bufferview_funcs.C: small cleanup
9943 * lyxfunc.C: remove dead proto
9945 * lyxtext.h: make some stuff private. Remove some dead stuff.
9947 * lyxgluelength.C: make as[LyX]String() readable
9949 2002-08-08 John Levon <levon@movementarian.org>
9954 * ToolbarDefaults.C:
9957 * toc.C: lyxaction cleanup
9959 2002-08-08 John Levon <levon@movementarian.org>
9961 * BufferView2.C: small cleanup
9964 * lyxfind.C: move unnecessary header into the .C
9966 2002-08-08 John Levon <levon@movementarian.org>
9968 * funcrequest.h: just tedious nonsense
9971 * lyx_main.C: cleanups
9974 * vspace.C: remove dead header lyx_main.h
9976 2002-08-07 Angus Leeming <leeming@lyx.org>
9979 * paragraph_pimpl.h:
9980 Forward declare class Counters in paragraph.h by moving the ctrs member
9981 variable into Paragraph::Pimpl.
9982 (counters): new method, returning a reference to pimpl_->ctrs.
9984 * text2.C: ensuing changes.
9986 2002-08-07 John Levon <levon@movementarian.org>
9988 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9990 * BufferView_pimpl.C: announce X selection on double/triple
9993 * lyx_main.C: use correct bool in batch dispatch
9995 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9997 2002-08-07 André Pönitz <poenitz@gmx.net>
9999 * funcrequest.h: new class to wrap a kb_action and its argument
10002 * BufferView_pimpl[Ch]:
10006 * lyxrc.C: subsequent changes
10009 2002-08-07 John Levon <levon@movementarian.org>
10011 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10012 document options change.
10014 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10019 * makefile.am: move counters functionality over from
10020 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10022 2002-08-06 John Levon <levon@movementarian.org>
10024 * WordLangTuple.h: new file for word + language code tuple
10035 * BufferView2.C: use WordLangTuple
10038 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10040 2002-08-06 John Levon <levon@movementarian.org>
10042 * lyx_main.C: fix cmdline batch handling
10044 2002-08-06 André Pönitz <poenitz@gmx.net>
10046 * lyxrc.C: set default for show_banner to true
10048 2002-08-06 John Levon <levon@movementarian.org>
10050 * pspell.C: fix a crash, and allow new aspell to work
10052 2002-08-06 John Levon <levon@movementarian.org>
10055 * kbmap.C: small cleanup
10058 * vspace.C: add const
10060 2002-08-05 John Levon <levon@movementarian.org>
10062 * LyXAction.C: back to tabular-insert
10064 2002-08-04 John Levon <levon@movementarian.org>
10067 * BufferView.C: cosmetic change
10069 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10079 * BufferView2.C: purge all "Lyx" not "LyX" strings
10082 * lyxcursor.C: attempt to add some documentation
10087 * ToolbarDefaults.C:
10088 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10089 merge with LFUN_TABULAR_INSERT
10096 * pspell.C: split up i/pspell implementations into separate
10097 files, many cleanups
10099 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10101 * text2.C: some cleanup
10103 * lyxfunc.C: don't check for isp_command == "none" any more, it
10104 didn't make any sense
10106 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10111 * makefile.am: move counters functionality over
10112 from text2.C/paragraph.[Ch] to counters.[Ch], and
10114 2002-08-02 John Levon <levon@movementarian.org>
10116 * buffer.C: s/lyxconvert/lyx2lyx/
10118 2002-08-02 Angus Leeming <leeming@lyx.org>
10120 * lyxlex.C: revert John's change as it breaks reading of the user
10123 2002-08-02 Angus Leeming <leeming@lyx.org>
10125 * importer.C (Import):
10126 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10127 changes due to LyXView::view() now returning a boost::shared_ptr.
10129 2002-08-02 John Levon <levon@movementarian.org>
10131 * lyxlex.C: small cleanup
10133 2002-08-02 John Levon <levon@movementarian.org>
10135 * text2.C (status): small cleanup, no logic change
10137 2002-08-01 John Levon <levon@movementarian.org>
10140 * buffer.C (writeFile): don't output alerts, caller
10144 * lyx_cb.C: from above
10146 * lyxfunc.C: allow to open non-existent files
10148 2002-07-31 John Levon <levon@movementarian.org>
10150 * lyxserver.C: don't let incidental errors get
10153 2002-07-30 John Levon <levon@movementarian.org>
10155 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10157 2002-07-30 John Levon <levon@movementarian.org>
10160 * lyxserver.C: remove I/O callback too
10162 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10164 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10167 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10169 * many files: strip,frontStrip -> trim,ltrim,rtrim
10171 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10173 * PrinterParams.h: remove extern containsOnly, and include
10174 support/lstrings.h instead.
10176 * LaTeX.C (scanAuxFile): modify because of strip changes
10178 * buffer.C (makeLaTeXFile): ditto
10179 * bufferparams.C (writeFile): ditt
10180 * lyxfont.C (stateText): ditto
10181 * lyxserver.C (read_ready): ditto
10182 * vc-backend.C (scanMaster): ditto
10184 * BufferView_pimpl.h: ws changes
10186 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10188 2002-07-26 André Pönitz <poenitz@gmx.net>
10190 * kb_sequence.C: remove unnedred usings
10192 2002-07-26 Juergen Vigna <jug@sad.it>
10194 * lyxfind.C (LyXReplace): we have to check better if the returned
10195 text is not of theLockingInset()->getLockingInset().
10197 2002-07-25 Juergen Vigna <jug@sad.it>
10199 * lyxfind.C (LyXReplace): don't replace if we don't get the
10202 * undo_funcs.C (createUndo): remove debugging code.
10204 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10206 * buffer.C (parseSingleLyXformat2Token): Use default placement
10207 when reading old floats.
10209 * FloatList.C (FloatList): Change the default placement of figure
10210 and tables to "tbp".
10212 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10214 * MenuBackend.C: using std::max
10216 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * MenuBackend.C (expandToc):
10219 (expandToc2): code moved from xforms menu frontend. It is now
10220 generic and TOCs are transparent to menu frontends.
10222 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10224 * toc.C (getTocList): protect against buf=0
10226 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10227 Menu as first parameter. Now, this calls itself recursively to
10228 expand a whole tree (this will be useful for TOC handling)
10229 (expandFloatInsert): remove 'wide' version of floats
10231 * MenuBackend.h (submenuname): returns the name of the submenu.
10232 (submenu): returns the submenu itself, provided it has been
10233 created by MenuBackend::expand
10235 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10238 insets which have noFontChange == true. (bug #172)
10240 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10242 * BufferView_pimpl.C: add connection objects and use them...
10245 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * MenuBackend.C (expandLastfiles):
10250 (expandFloatListInsert):
10251 (expandFloatInsert):
10252 (expand): split expand in parts
10254 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10256 * lyx_gui.C: use lyx_gui::exit()
10258 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10260 * LyXAction.C: show the failing pseudo action
10262 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10264 * buffer.C (readFile): Run the lyxconvert script in order to read
10267 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10271 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10273 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10277 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10279 2002-07-22 Herbert Voss <voss@lyx.org>
10282 * lyxlength.[Ch]: add support for the vertical lengths
10284 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10286 * toc.[Ch]: std:: fixes
10288 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10290 * lyxrc.C: do not include lyx_main.h
10292 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10298 * BufferView2.C: include "lyxlex.h"
10301 * bufferparams.h: do not #include "lyxlex.h"
10303 * lyxtextclasslist.C (Add): remove method
10304 (classlist): renamed to classlist_
10306 * paragraph_pimpl.C:
10310 * bufferview_funcs.C:
10315 * toc.C (getTocList): use BufferParams::getLyXTextClass
10317 * toc.C (getTocList): use InsetFloat::addToToc
10319 * toc.[Ch]: new files, containing helper functions to handle table
10322 * lyxfunc.C (dispatch): no need to remove spaces around command
10324 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10325 first command of the sequence; it is not very clever, but I do not
10326 have a better idea, actually
10328 * LyXAction.C (LookupFunc): make sure to remove space at the
10329 beginning and end of the command
10331 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * MenuBackend.C (getMenubar): new method: return the menubar of
10335 (read): treat differently reading of menu and menubar (in
10336 particular, the menubar has no name now)
10337 (Menu::menubar): remove
10339 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10342 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10344 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10345 a bibitem inset in a RTL paragraph.
10347 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10349 * paragraph_pimpl.C: constify
10351 * BufferView_pimpl.C:
10353 * lyxfunc.C: fix dispatch in a nicer way
10355 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10357 * lyxfunc.C (dispatch):
10358 * BufferView_pimpl.C:
10359 * BufferView_pimpl.h:
10361 * BufferView.h: rename Dispatch() to dispatch()
10363 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10365 * lyxlayout.C (Read): honor DependsOn tag
10367 * lyxlayout.[Ch] (depends_on): new method
10369 * version.C.in: update lyx_docversion
10371 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10373 * paragraph.C (validate): remove from here...
10374 * paragraph_pimpl.C (validate): ... and move here
10375 (isTextAt): make it const
10377 * buffer.C (getLists): ws cleanup
10379 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10381 * language.C (read): Use iso8859-1 encoding in latex_lang
10382 (this prevents LyX from crashing when using iso10646-1 encoding).
10384 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10386 * text2.C (toggleInset): if cursor is inside an inset, close the
10387 inset and leave cursor _after_ it
10389 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10391 * lyxfunc.C: move minibuffer completion handling out of here
10393 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10395 * BufferView_pimpl.C:
10396 * LaTeX.C: fix dispatch calls
10398 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10400 * text.C (drawChars): Fix Arabic text rendering.
10402 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10406 * lyxfunc.C: remove message-push/pop
10410 * lyxfunc.C: rationalise some code by removing verboseDispatch
10411 in favour of a bool argument to dispatch()
10413 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10415 * lyx_main.C (init): make sure to read symlinks as absolute paths
10417 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10420 * lyxfunc.C: no need for commandshortcut to be a member
10422 2002-07-15 André Pönitz <poenitz@gmx.net>
10424 * converter.C: add support for $$s (scripts from lib/scripts dir)
10425 * lyx_main.C: white space
10427 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10431 * lyxrc.C: remove second exit confirmation
10433 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10438 * BufferView_pimpl.h:
10439 * BufferView_pimpl.C:
10440 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10442 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * MenuBackend.C (expand): add numeric shortcuts to document menu
10446 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10448 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10450 * lyxfont.C (setLyXFamily):
10457 * buffer.C (asciiParagraph): use ascii_lowercase
10459 2002-07-15 Mike Fabian <mfabian@suse.de>
10461 * lyxlex_pimpl.C (search_kw):
10462 * lyxlex.C (getLongString):
10463 * converter.h (operator<):
10464 * converter.C (operator<):
10465 * buffer.C (parseSingleLyXformat2Token):
10467 * ToolbarDefaults.C (read):
10468 * MenuBackend.C (checkShortcuts):
10470 * LColor.C (getFromGUIName):
10471 (getFromLyXName): use the compare_ascii_no_case instead of
10472 compare_no_case, because in turkish, 'i' is not the lowercase
10473 version of 'I', and thus turkish locale breaks parsing of tags.
10475 2002-07-16 Angus Leeming <leeming@lyx.org>
10477 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10478 now takes a Buffer const & argument.
10480 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10482 * BufferView.C (resize): check there's a buffer to resize
10484 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10486 * lyxfunc.C: remove dead code
10489 * lyxserver.C: use lyx_guii::set_read_callback
10491 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10493 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10494 an inset in a RTL paragraph.
10496 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10498 * lyxfunc.C: repaint after a font size update
10500 2002-07-15 André Pönitz <poenitz@gmx.net>
10502 * lyxlength.C: inBP should be able to return negative values
10504 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10506 * lyxfunc.C: use lyx_gui::update_fonts()
10508 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10510 * lyxfunc.C: use lyx_gui::update_color()
10512 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10518 * lyxrc.C: remove file->new asks for name option, and let
10519 buffer-new take an argument
10521 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10523 * BufferView_pimpl.C: remove unneeded extra repaint()
10525 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10527 * LyXAction.C: allow command-sequence with NoBuffer
10529 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10531 2002-07-10 Angus Leeming <leeming@lyx.org>
10533 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10535 2002-07-09 Angus Leeming <leeming@lyx.org>
10537 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10539 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10541 * lengthcommon.h: whitespace
10543 * lyxfunc.C: update scrollbar after goto paragraph
10545 * lyxtext.h: factor out page break drawing, and fix it so
10546 page break/added space paints as selected nicely
10548 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10550 * BufferView_pimpl.C: add FIXMEs, clean up a little
10552 2002-07-09 André Pönitz <poenitz@gmx.net>
10554 * lyxfont.[Ch]: support for wasy symbols
10556 2002-07-08 André Pönitz <poenitz@gmx.net>
10558 * BufferView_pimpl.C: apply John's patch for #93.
10560 2002-07-05 Angus Leeming <leeming@lyx.org>
10562 * BufferView_pimpl.C (buffer): generate previews if desired.
10564 * LColor.h: add "preview" to the color enum.
10566 * LColor.C (LColor): add a corresponding entry to the items array.
10568 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10571 2002-07-05 Angus Leeming <leeming@lyx.org>
10573 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10574 The body of the code is now in the method that is passed an ostream &
10575 rather than a file name.
10576 Pass an additional only_preamble parameter, useful for the forthcoming
10579 2002-07-03 André Pönitz <poenitz@gmx.net>
10581 * lyxfunc.C: simplify getStatus() a bit for math stuff
10583 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10585 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10587 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10589 * text.C (changeRegionCase): do not change case of all the
10590 document when region ends at paragraph end (bug #461)
10592 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10594 * paragraph.C (startTeXParParams):
10595 (endTeXParParams): add \protect when necessary
10597 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10599 * BufferView_pimpl.C (workAreaExpose): remove warning
10601 2002-06-27 Angus Leeming <leeming@lyx.org>
10603 * Makefile.am: add lyxlayout_ptr_fwd.h.
10605 2002-06-26 André Pönitz <poenitz@gmx.net>
10607 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10609 2002-06-25 Angus Leeming <leeming@lyx.org>
10611 * lyxfunc.C (dispatch): Comment out the call to
10612 grfx::GCache::changeDisplay. The method no longer exists now that the
10613 pixmap generation part of the graphics loader has been moved into
10616 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10618 * text2.C: layout as layout
10620 * text.C: layout as layout
10622 * tabular.C (OldFormatRead): layout as layout
10624 * paragraph_pimpl.C (TeXDeeper): layout as layout
10625 (realizeFont): layout as layout
10627 * paragraph.C (writeFile): layout as layout
10628 (validate): layout as layout
10629 (getFont): layout as layout
10630 (getLabelFont): layout as layout
10631 (getLayoutFont): layout as layout
10632 (breakParagraph): layout as layout
10633 (stripLeadingSpaces): layout as layout
10634 (getEndLabel): layout as layout
10635 (getMaxDepthAfter): layout as layout
10636 (applyLayout): layout as layout
10637 (TeXOnePar): layout as layout
10638 (simpleTeXOnePar): layout as layout
10639 (TeXEnvironment): layout as layout
10640 (layout): layout as layout
10641 (layout): layout as layout
10643 * lyxtextclass.C (compare_name): new functor to work with
10644 shared_ptr, layout as layout
10645 (Read): layout as layout
10646 (hasLayout): layout as layout
10647 (operator): layout as layout
10648 (delete_layout): layout as layout
10649 (defaultLayout): layout as layout
10651 * lyxlayout_ptr_fwd.h: new file
10653 * lyxlayout.C (Read): layout as layout
10655 * lyx_cb.C (MenuInsertLabel): layout as layout
10657 * bufferlist.C (newFile): layout as layout
10659 * buffer.C (readLyXformat2): layout as layout
10660 (parseSingleLyXformat2Token): layout as layout
10661 (insertStringAsLines): layout as layout
10662 (asciiParagraph): layout as layout
10663 (latexParagraphs): layout as layout
10664 (makeLinuxDocFile): layout as layout
10665 (simpleLinuxDocOnePar): layout as layout
10666 (makeDocBookFile): layout as layout
10667 (simpleDocBookOnePar): layout as layout
10668 (getLists): layout as layout
10670 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10672 * CutAndPaste.C (cutSelection): layout as layout
10673 (pasteSelection): layout as layout
10674 (SwitchLayoutsBetweenClasses): layout as layout
10676 * BufferView_pimpl.C (Dispatch): layout as layout
10677 (smartQuote): layout as layout
10679 * BufferView2.C (unlockInset): layout as layout
10681 2002-06-24 André Pönitz <poenitz@gmx.net>
10683 * lyxfunc.C: fix #487
10685 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10689 * lyxfunc.C: remove display_shortcuts, show_banner
10691 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10693 * Buffer_pimpl.C: oops, update on resize
10695 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10702 * BufferView.C: use repaint()
10704 * BufferView_pimpl.h:
10705 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10706 as it's a clearer description. Remove superfluous
10709 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10711 * text.C: fix bug 488. Not ideal, but getting
10712 getWord() to work properly for the insets that
10713 matter is more difficult ...
10715 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10717 * BufferView_pimpl.C:
10720 * lyxfunc.C: remove the six million index lyxfuncs to just
10721 one, and DTRT (bug 458)
10723 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10727 * BufferView_pimpl.h:
10728 * BufferView_pimpl.C: clean up resize() stuff,
10729 and unnecessary updateScreen()s
10731 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.h:
10736 * BufferView_pimpl.C:
10739 * minibuffer.C: remove focus management of workarea,
10740 not needed. Use screen's greyOut()
10742 2002-06-17 Herbert Voss <voss@lyx.org>
10744 * converter.C: (convert) do not post a message, when converting
10745 fails, let the calling function decide what to do in this case
10747 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10749 * lyxfunc.C: tidy up a little
10751 2002-06-16 <alstrup@diku.dk>
10753 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10754 Got rid of FORMS_H_LOCATION include. Now we are
10757 2002-06-15 LyX Development team <lyx@rilke>
10759 * buffer.[Ch] (sgmlOpenTag):
10760 (sgmlCloseTag): Added support for avoiding pernicious mixed
10761 content. Return number of lines written.
10763 (makeLinuxDocFile):
10764 (makeDocBookFile): Fixed calls to sgml*Tag.
10765 Simple white space clean.
10767 (simpleDocBookOnePar): Simple white space clean.
10769 * tabular.[Ch] (docBook): Renamed to docbook and got another
10770 argument to related with the pernicious mixed content.
10772 (docbookRow): Fixed calls for docbook inset method.
10774 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10776 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10777 so it's X11 independent.
10781 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10783 2002-06-15 Lyx Development team <lyx@electronia>
10785 * intl.h: Renamed getTrans to getTransManager.
10787 2002-06-14 Angus Leeming <leeming@lyx.org>
10789 * Makefile.am: nuke forgotten stl_string_fwd.h.
10791 2002-06-12 Angus Leeming <leeming@lyx.org>
10793 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10795 2002-06-13 Angus Leeming <leeming@lyx.org>
10798 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10800 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10802 * kbmap.C (getiso): add support for cyrillic and greek
10804 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10808 * BufferView_pimpl.h:
10809 * BufferView_pimpl.C: move bogus scrolling logic
10812 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10815 * BufferView_pimpl.C: view->resize() change
10817 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10819 * BufferView_pimpl.C: topCursorVisible
10822 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10826 * lyx_gui.C: move to frontends/
10830 * lyx_main.C: changes from above
10832 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10839 * lyx_main.C: minor tidy
10841 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10843 * BufferView_pimpl.h:
10844 * BufferView_pimpl.C:
10846 * BufferView.C: make painter() const,
10849 * BufferView2.C: use screen() accessor
10852 * lyx_main.C: some minor cleanup
10854 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10856 * BufferView_pimpl.h:
10857 * BufferView_pimpl.C: remove enter/leaveView,
10860 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10865 * BufferView_pimpl.h:
10866 * BufferView_pimpl.C: only construct screen once,
10869 * lyxrc.C: remove pointless comment
10871 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10874 * BufferView.C: remove active() and belowMouse()
10876 * BufferView_pimpl.h:
10877 * BufferView_pimpl.C: use workarea() not workarea_,
10878 and make it use a scoped_ptr instead
10880 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10882 * lyx_gui.C: add debug message on BadWindow
10884 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10886 * sp_spell.C: fdopen is not part of the C++ standard.
10888 * paragraph.C (InsetIterator): use >= instead of ==
10890 2002-06-07 Angus Leeming <leeming@lyx.org>
10892 Fixes needed to compile with Compaq cxx 6.5.
10893 * BufferView_pimpl.C:
10900 * lyxtextclasslist.C:
10905 all c-library variables have been moved into namespace std. Wrap
10906 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10911 Add a using std::abs declaration.
10913 * kbmap.h (modifier_pair):
10914 * paragraph.h (InsetTable, InsetList):
10915 * lyxfont.h (FontBits):
10916 type definition made public.
10918 * bufferlist.C (emergencyWriteAll): the compiler complains that
10919 there is more than one possible lyx::class_fun template to choose from.
10920 I re-named the void specialisation as lyx::void_class_fun.
10922 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10924 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10925 the compiler is is unable to find tostr in write_attribute.
10927 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10929 * buffer.C (sgmlError): hide #warning
10931 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10933 * xtl/*: get rid of xtl, which is not in use anyway
10935 * LyXAction.C (init):
10936 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10937 were unimplemented xtl experimentation
10939 2002-06-04 André Pönitz <poenitz@gmx.net>
10941 * lyxfunc.C: disable array operation on simple formulae
10943 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10945 * converter.C: constify a bit
10947 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10949 * lyx_gui.C: check xforms version correctly
10951 2002-04-30 Herbert Voss <voss@lyx.org>
10953 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10956 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10958 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10959 attempt to register it with a VCS)
10961 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * lyx_main.C (init): honor variables LYX_DIR_13x and
10966 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10970 * lyx_main.C: fix a crash on bad command line,
10971 and give a useful exit status on error
10973 * lyxfunc.C (doImport): allow -i lyx to work
10975 2002-03-30 André Pönitz <poenitz@gmx.net>
10977 * lyxfunc.C: mathed font changes
10979 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10994 * trans_mgr.h: srcdocs, and some minor cleanups
10996 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10998 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10999 call getFont all the time)
11001 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11003 * switch from SigC signals to boost::signals
11005 2002-05-29 André Pönitz <poenitz@gmx.net>
11007 * paragraph_pimpl.C (getChar): don't call size() too often...
11009 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11011 * paragraph_pimpl.C (insertChar): do not try to update tables when
11012 appending (pos == size())
11014 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11015 in order to reduce drastically the number of comparisons needed to
11016 parse a large document
11018 2002-05-29 André Pönitz <poenitz@gmx.net>
11024 * textclasslist.[Ch]:
11025 * sp_ispell.h: whitespace change
11027 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11029 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11030 lyxaction directly now.
11032 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11036 * lyxvc.C: remove unused headers
11038 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11045 * undo_funcs.C: some cleanups. Use shared_ptr
11046 and a template for the undo stacks.
11048 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11050 * BufferView_pimpl.h:
11051 * BufferView_pimpl.C:
11058 * text2.C: use key_state/mouse_state
11060 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11062 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11065 * chset.C: change include order
11066 (loadFile): use boost regex and get rid of LRegex and LSubstring
11068 * Makefile.am (BOOST_LIBS): new variable
11069 (lyx_LDADD): use it
11071 * LaTeX.C: change include order.
11072 (scanAuxFile): use boost regex and get rid of LRegex and
11076 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11081 * FontInfo.C: moved to frontends/xforms/
11084 * FontLoader.C: moved into frontends for GUIIzation
11089 * lyxfunc.C: changes from above
11091 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11093 * LColor.C: remove spurious X include
11095 * BufferView_pimpl.C:
11100 * text2.C: move font metrics to frontends/
11102 2002-05-24 Juergen Vigna <jug@sad.it>
11104 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11105 setting the undo_cursor.
11107 * ParagraphParameters.h: include local includes first.
11109 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11111 * BufferView_pimpl.C:
11112 * BufferView_pimpl.h:
11116 * screen.C: move WorkArea into frontends/
11122 * BufferView2.C: move LyXScreen into frontends/
11126 * lyx_gui.C: move lyxlookup into frontends/xforms/
11128 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11131 * BufferView_pimpl.C:
11141 * bufferview_funcs.C:
11154 * vc-backend.C: move LyX/XFormsView into frontends/
11156 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11168 * text2.C: move Painter to frontends/
11170 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11172 * buffer.C: comment out some some code that depend upon lyx_format
11175 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11176 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11178 * buffer.h (NO_COMPABILITY): turn off compability
11180 * ColorHandler.C: include scoped_array.hpp
11182 * font.C: Use more specific smart_ptr header.
11185 * ShareContainer.h: ditto
11186 * lyx_main.h: ditto
11188 * FontInfo.h: ditto
11189 * BufferView_pimpl.h: ditto
11190 * ColorHandler.h: ditto
11192 * kbmap.C (defkey): change call to shared_ptr::reset
11194 2002-05-21 Juergen Vigna <jug@sad.it>
11196 * buffer.C (insertErtContents): fix to insert ert asis if it is
11197 non empty. Skip it completely if it contains only whitespaces.
11199 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11201 * BufferView_pimpl.C:
11202 * BufferView2.C: clear selection on paste (bug 393)
11204 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11206 * DepTable.C: include ctime
11208 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11210 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11212 2002-05-14 Juergen Vigna <jug@sad.it>
11214 * text.C (breakParagraph): fixed function to honor the keepempty
11215 layout in the right maner and also to permit the right breaking
11216 algorithm on empty or non empyt keepempty paragraphs.
11218 * paragraph.C (breakParagraph): we have to check also if the par
11219 is really empty (!size()) for isempty otherwise we do the wrong
11222 2002-05-10 Juergen Vigna <jug@sad.it>
11224 * buffer.[Ch] : The following are only changes to the ert
11225 compatibility read reading old LaTeX layout and font stuff and
11226 convert it to ERTInsets.
11228 * buffer.h: added isErtInset().
11230 * buffer.C (struct ErtComp): add a fromlayout bool to check
11231 if we're inside a LaTeX layout.
11232 (isErtInset): new helper function.
11233 (insertErtContents): look for other ert insets before this one
11234 and insert the contents there, so that we don't have subsequent
11235 ERT insets with nothing between them. This way we create only one
11236 inset with multiple paragraphs. Also check if we don't insert only
11237 spaces ' ' as they are ignored anyway afterwards in the .tex file
11238 so if we have only spaces we will ignore this latex part in the
11240 (parseSingleLyXformat2Token \\layout): better compatibility when
11241 reading layout-latex stuff.
11242 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11244 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11245 stuff after reading the inset only get the information back from
11248 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11250 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11252 * LaTeXFeatures.C (getBabelOptions): New method.
11254 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11256 * BufferView_pimpl.C (Dispatch): work around missing argument for
11259 2002-05-08 Juergen Vigna <jug@sad.it>
11261 * text.C (leftMargin): handle paragraph leftindent.
11263 * paragraph.C (writeFile): write the new \\leftindent tag.
11264 (validate): handle leftindent code.
11265 (TeXEnvironment): handle paragraphleftindent code again.
11267 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11269 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11270 for paragrap_extra indent code and new token \\leftindent.
11271 (latexParagraphs): handle the leftindent as environment.
11273 * ParameterStruct.h: added leftindent support.
11275 * ParagraphParameters.C (leftIndent): added support functions for
11276 the paragraph left indent.
11278 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11281 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11283 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11286 * text.C (computeBidiTables): No bidi in insetERT.
11288 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11291 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11293 * version.C.in: pre 5
11295 2002-05-02 José Matos <jamatos@fep.up.pt>
11296 * buffer.C (makeDocBookFile): white space changes, add newline to
11298 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11300 * tabular.C (docBook): fix typo.
11302 2002-05-03 Juergen Vigna <jug@sad.it>
11304 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11305 change in LyXText as we can not be sure it was not freed.
11306 (drawOneRow): remove unused code.
11308 * text.C (drawInset): redo the calculation of the need_break_row as
11309 it could have a row which was already freed.
11310 (draw): look at the return value of drawInset and return false if
11311 it also returned false.
11312 (paintRowText): look at the return value of draw and return false if
11313 it also returned false.
11315 * lyxtext.h: added bool return type to drawInset() and draw() so that
11316 if we have a change in the row so that the rowbreak has to be redone
11317 we abort drawing as it will be called again.
11319 2002-05-02 Juergen Vigna <jug@sad.it>
11321 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11322 a change in the maintext also if we're inside an inset.
11323 (Dispatch): set the cursor again after a break line and after the
11324 screen has been updated as it could be we're in a different row.
11326 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11327 to set the cursor behind the pargraph with > size().
11328 (setCursor): check also for the same paragraph when checking where
11329 to put the cursor if we have a NFR inset.
11331 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11332 parts of layout read further up as it still was in the wrong
11335 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * screen.C (drawFromTo): change sine fullRebreak always return
11340 * buffer.C (parseSingleLyXformat2Token): reindent some
11342 * BufferView_pimpl.C (update): change since fullRebreak always
11344 (Dispatch): git rid of the last hardcoded "Standard"s.
11346 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11348 * text2.[Ch] (fullRebreak): make it return void now that we always
11351 2002-04-30 Juergen Vigna <jug@sad.it>
11353 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11354 ert compatibility check for "latex" layout.
11356 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11358 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11359 minipages: use col% instead of p%, and also use the current font.
11360 (makeLaTeXFile): Fix use babel condition.
11361 (parseSingleLyXformat2Token): Correct font when reading old floats.
11363 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11365 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11366 inserting list of floats.
11368 2002-04-25 Herbert Voss <voss@lyx.org>
11370 * MenuBackend.C (expand): don't add the graphics extensions to the
11373 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11376 non-existing layout, do not complain if it was the default layout
11377 of the original class (bug #342)
11379 2002-04-24 Juergen Vigna <jug@sad.it>
11381 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11382 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11384 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11386 * buffer.C (getBibkeyList): If using \bibliography, return the
11387 option field with the reference itself. Enables us to provide natbib
11388 support when using \bibliography.
11390 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11392 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11394 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11395 natbib is provided by the LaTeX class.
11397 2002-04-23 Juergen Vigna <jug@sad.it>
11399 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11402 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11404 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11406 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11408 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11409 ensuremath around textordmasculine, textordfeminine and
11412 2002-04-19 Juergen Vigna <jug@sad.it>
11414 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11415 reinitializing the buffer otherwise row-dimensions may be wrong.
11416 (update): reset also the selection cursors if they do exits otherwise
11417 their x/y positions may be wrong.
11419 * text2.C (cursorDown): don't enter the inset if we came from a row
11420 above and are one row over the inset.
11422 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11423 really leaving an inset.
11425 2002-04-18 Juergen Vigna <jug@sad.it>
11427 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11428 of the selected paragraph does not have the selected layout also if
11431 * text2.C (setLayout): fixed bug which did not change last selected
11434 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11435 changed the read and substituted \\end_float with \\end_inset!
11437 * BufferView_pimpl.C (cursorPrevious):
11438 (cursorNext): fixed to make it work with rows heigher than the work
11439 area without moving the cursor only the draw of the row.
11440 (workAreaMotionNotify): fix jumping over high rows.
11442 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11444 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11447 2002-04-16 Juergen Vigna <jug@sad.it>
11449 * text2.C (setCursor): set also the irow().
11450 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11452 (cursorDown): support for locking an inset if the x_fix value goes
11453 inside it. That way I can transverse insets too with cursor up/down.
11455 * lyxrow.h: added irow helper function same as other (i) functions.
11457 * BufferView_pimpl.C (cursorPrevious):
11458 (cursorNext): fixed for insets!
11460 2002-04-15 Juergen Vigna <jug@sad.it>
11462 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11463 position otherwise it is wrong in some cases.
11465 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11466 inside the inset before the call.
11468 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11470 * buffer.[Ch] (getBibkeyList): make it const.
11472 2002-04-12 Juergen Vigna <jug@sad.it>
11474 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11476 * text2.C (getCursorX): new helper function
11477 (setCursor): compute also ix_
11478 (setCursorFromCoordinates): set also ix.
11480 * lyxcursor.h: added ix_ and helper functions.
11482 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11484 * buffer.C (insertStringAsLines): dont break paragraph if the this
11485 paragraph is inside an inset which does not permit it!
11487 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11488 also with no chars on this paragraph.
11489 (paintRowText): only paint stuff if it's inside the workarea!
11491 * paragraph.C (breakParagraph): honor keepempty flag and break the
11492 paragraph always below not above.
11494 * BufferView2.C (unlockInset): update the paragraph layout on inset
11495 unlock as we changed paragraph in such a case.
11497 * lyxfind.C (LyXFind): clear the former selection if not found!
11499 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11500 again called in insertChar().
11502 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11503 an inset which uses the whole row!
11504 (rightMargin): ditto.
11505 (insertChar): force a rebreak if we inserted an inset!
11507 2002-03-28 Herbert Voss <voss@lyx.org>
11509 * lyxlength.[Ch]: add inBP() to get the right PS-point
11510 units (BigPoint). With inPixels we have rounding errors
11512 2002-04-11 Juergen Vigna <jug@sad.it>
11514 * text2.C (setCursorFromCoordinates): set iy to the right value.
11515 (setCursor): add check if row->previous exists!
11517 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11518 an old float_type as this was the case in the old code!
11520 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11522 * BufferView2.C (showLockedInsetCursor): use iy
11523 (fitLockedInsetCursor): ditto
11525 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11526 locked insets as there we have the right value now.
11528 * lyxcursor.C: added iy_ variable and iy functions to set to the
11529 baseline of cursor-y of the locked inset.
11531 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11532 (setCursor): fixed for insets which need a full row.
11534 * text.C (rowLastPrintable): don't ignore the last space when before
11535 an inset which needs a full row.
11536 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11537 as last character of a row when before a inset which needs a full row.
11539 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11541 * version.C.in: update date
11543 * text2.C (fullRebreak): try to always return true and see what
11546 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11548 * MenuBackend.C (expand): use Floating::listName
11550 * FloatList.C (FloatList): add listName argument to the built-in
11553 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11554 text associated with the float.
11556 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11558 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11560 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11562 * ShareContainer.h: add a couple of missing typenames.
11564 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11566 * lyxrc.C (getDescription): use _() correctly rather than N_().
11568 2002-03-28 Herbert Voss <voss@lyx.org>
11570 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11571 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11573 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11575 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11576 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11578 2002-03-29 Juergen Vigna <jug@sad.it>
11580 * lyxfunc.C (dispatch): add a missing fitCursor call.
11582 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11583 it was scrolled by a cursor move, so return the bool status.
11585 * BufferView.C (fitCursor): return the bool flag also to the outside
11586 world as this is needed.
11588 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11590 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11591 call the edit() as it is not needed (and wrong) IMO.
11592 (workAreaButtonPress): set the screen_first variable before evt.
11593 unlock the inset as this may change screen_first and then we have
11594 a wrong y position for the click!
11596 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11598 * MenuBackend.C (expand): another translation that I missed
11600 2002-03-28 Juergen Vigna <jug@sad.it>
11602 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11604 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11606 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11608 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11610 * MenuBackend.C (expand): fix export/view/update when there is no
11613 2002-03-27 Herbert Voss <voss@lyx.org>
11615 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11618 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11620 * bufferview_funcs.C (currentState): only show paragraph number
11621 for is DEVEL_VERSION is set.
11623 * lyxfunc.C (dispatch): put warning in INFO channel
11625 * MenuBackend.C (expand): translate the name of floats
11627 * FloatList.C (FloatList): mark the float names for translation
11629 * converter.C (convert): use LibScriptSearch
11631 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11633 * MenuBackend.C (defaults): fix default menu (we might as well get
11636 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11638 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11641 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11643 * lyxvc.C: reorder includes.
11645 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11647 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11650 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11652 * CutAndPaste.C: change layouts earlier on paste
11653 to avoid crashing when calling getFont()
11655 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11657 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11660 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11662 * WorkArea.C: remove 'Pending' debug message.
11664 * most files: ws cleanup
11666 * buffer.[Ch]: ws changes
11668 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11670 2002-03-21 Juergen Vigna <jug@sad.it>
11672 * tabular.C (SetMultiColumn): collapse also the contents of the
11673 cells and set the last border right. Added a Buffer const * param.
11675 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11677 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11680 2002-03-19 Juergen Vigna <jug@sad.it>
11682 * text2.C (clearSelection): reset also xsel_cache.
11684 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11685 where it needs to be called (John tells us to do so too :)
11686 (selectionLost): reset sel_cache.
11688 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11690 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11692 * text2.C (setCursorIntern): put debuging code in INSETS channel
11694 2002-03-19 André Pönitz <poenitz@gmx.net>
11696 * lyxfunc.C: tiny whitespace change
11698 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * ToolbarDefaults.C (init):
11701 * LyXAction.C (init):
11703 * BufferView_pimpl.C (Dispatch):
11704 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11706 2002-03-19 Allan Rae <rae@lyx.org>
11708 * exporter.C (Export): removeAutoInsets before doing anything else.
11709 While I've just introduced a dependency on BufferView this really is
11710 the best place to clean the buffer otherwise you need to cleanup in
11711 a dozen places before calling export or cleanup in a dozen functions
11714 * converter.C (runLaTeX):
11715 (scanLog): Better handling of removeAutoInsets and screen updates.
11717 * lyxfunc.C (dispatch): small whitespace changes
11719 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11721 * WorkArea.C (C_WorkAreaEvent): return a value.
11722 (event_cb): return 1 if we handled the event, 0 otherwise.
11724 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11726 2002-03-18 Juergen Vigna <jug@sad.it>
11728 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11729 (GetAdditionalWidth): ditto.
11730 (RightLine): ditto.
11733 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11734 inset if we're there actually (probably not used right now but this
11735 is the direction to go for unifying code).
11736 (paste): disable code to clear the selection.
11738 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11739 inside an InsetText and move the check further up as it is in the
11742 * text2.C (pasteSelection): set a selection over the pasted text.
11744 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11746 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11747 and libgraphics to build on Cygwin.
11749 2002-03-15 Juergen Vigna <jug@sad.it>
11751 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11752 inserting an Inset into the paragraph. I know this is not the best
11753 fix but we already use current_view in CutAndPaste so we will remove
11754 all of it's using at the same time.
11756 * buffer.C (sgmlError): deactivated function till it is rewritten in
11757 the right mode, now it can create problems.
11759 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11760 before accessing it.
11762 2002-03-14 Juergen Vigna <jug@sad.it>
11764 * undo_funcs.C (textHandleUndo): do the right thing when updating
11765 the inset after the undo/redo.
11767 * text2.C (setCursor): just some testcode for #44 not ready yet.
11769 * undo_funcs.C (textHandleUndo): set the next() and previous()
11770 pointers of the paragraph to 0 before deleting otherwise we have
11771 problems with the Paragraph::[destructor].
11773 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11774 on a paragraph insertion.
11776 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11778 * buffer.C (asciiParagraph): use += operator for char append to
11781 * paragraph.C (getFontSettings): compare >= not just >
11782 (highestFontInRange): ditto
11785 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11787 * paragraph.C: change several algorithm to be more appripriate for
11788 the problem domain. This is lookip in FontList and in the InsetList.
11790 2002-03-13 André Pönitz <poenitz@gmx.net>
11793 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11795 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11800 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11802 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * Painter.C (display): anon helper function, adjust code for this
11806 (pixmap): remove function.
11808 * Painter.h: remove private display variable.
11810 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11812 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11814 * WorkArea.[Ch]: remove figinset_canvas cruft.
11816 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11818 * lyxtextclass.C (operator): add one item cache optimization.
11820 * bufferlist.h: doxy changes
11822 * bufferlist.C: ws changes
11824 * DepTable.[Ch] (ext_exist): place const in the right spot.
11826 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11828 (workAreaExpose): call resizeInsets when the with BufferView changes.
11829 (Dispatch): adjust for protectedBlank removal
11830 (specialChar): call updateInset if the insert went ok.
11832 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11833 specialChar instead.
11835 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11837 * BufferView.h: doxy change
11839 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11841 * lyxtextclass.C (operator[]): remove non-const version
11842 (defaultLayout): remove non-const version
11844 2002-03-12 Juergen Vigna <jug@sad.it>
11846 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11847 did resize the LyXText too.
11849 * buffer.C (readLyXformat2): set layout information on newly allocated
11852 * tabular.C (OldFormatRead): set layout information on the paragraph.
11854 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11856 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11858 2002-03-11 Juergen Vigna <jug@sad.it>
11860 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11862 (resizeCurrentBuffer): force also the insets to resize themselfes.
11863 (moveCursorUpdate): fixed up for InsetText.
11865 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11868 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11869 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11870 value of Dialogs::tooltipsEnabled().
11871 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11873 2002-03-08 Juergen Vigna <jug@sad.it>
11875 * BufferView_pimpl.C (updateInset): update inset inside inset also
11876 if it isn't inside theLockingInset().
11878 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11880 * buffer.C (asciiParagraph): redo some of the word and line length
11882 (getLists): look for Caption instead of caption.
11884 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11886 * buffer.C (Buffer): initialize niceFile to true
11888 (makeLinuxDocFile):
11889 (makeDocBookFile): make sure niceFile is true on exit
11891 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11895 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11897 * LyXSendto.C: remove.
11898 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11899 * lyx_gui.C: remove now-redundant comment.
11900 * ColorHandler.h: remove forward declaration of class WorkArea.
11901 * lyxfunc.C: remove #include "WorkArea.h".
11903 2002-03-07 Juergen Vigna <jug@sad.it>
11905 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11906 got moved away with the DEPM and also set the inset_owner always
11907 right which before could have been omitted.
11909 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11911 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11912 wanted layout is not found.
11914 2002-03-07 Juergen Vigna <jug@sad.it>
11916 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11918 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11920 * paragraph.C (breakParagraph): use default layout not layout of
11922 (Paragraph): clear ParagraphParameters.
11924 2002-03-06 Juergen Vigna <jug@sad.it>
11926 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11927 otherwise it would not be a valid lenght. Fixed a special case in
11928 the minipage compatibility read where we end the document with a
11931 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11932 was set as it could be 0 for InsetTexts first entry.
11934 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * paragraph.C (writeFile): if layout is empty write out
11937 defaultLayoutName().
11939 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11940 file without named layout we set layout to defaultLayoutName().
11942 2002-03-06 Juergen Vigna <jug@sad.it>
11944 * CutAndPaste.C (copySelection): set layout for new paragraph.
11946 * text.C (prepareToPrint): leave ERT inset left aligned
11947 (leftMargin): don't indent paragraphs inside ERT insets
11949 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11951 * paragraph.C (breakParagraph): dont call clear do the work manually
11953 * paragraph.[Ch] (clear): remove function
11955 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * paragraph.C (Paragraph): dont call clear, the work has already
11960 * lyxtextclass.C (operator): assert if n is empty
11962 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11963 work manually instead.
11965 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11967 * BufferView_pimpl.C: protect selectionLost against text == 0
11969 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * text.C (breakParagraph): fix a setting layout to '0' problem.
11973 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11975 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11976 final location of file, for the included files, and graphics.
11978 2002-03-05 Juergen Vigna <jug@sad.it>
11980 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11982 2002-03-04 Juergen Vigna <jug@sad.it>
11984 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11986 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11987 last column of multicolumn cells.
11988 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11990 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11992 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11993 file if it doesn't go to a temporary file.
11995 * buffer.C (sgmlOpenTag):
11996 (sgmlCloseTag): remove extra newline insertion.
11998 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12000 * text.C (getRowNearY): comment out debug msg
12002 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12004 * text2.C: first -> first_y
12006 * text.C (getRowNearY): add some attemts at a possible
12007 optimization, not working.
12009 * tabular.[Ch]: add BufferParams to several function so that newly
12010 created paragraph can be initialized to he default layotu for the
12013 * tabular-old.C (ReadOld): add buf->params to call of Init
12015 * screen.C: rename text->first to text->first_y
12017 * paragraph.C (breakParagraph): always set layout in the broken
12020 * lyxtextclass.C (Read): remove lowercase
12023 (delete_layout): ditto
12025 * lyxtext.h: rename first -> first_y
12027 * lyxlayout.C (Read): remove lowercase
12030 (obsoleted_by): ditto
12032 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12034 * buffer.C (insertErtContents): add params are to InsetERT
12035 (parseSingleLyXformat2Token): add code to check if a paragraphs
12036 layout really exist.
12037 (parseSingleLyXformat2Token): add params to several inset
12039 (asciiParagraph): remove lowercase, do the layout comparisons with
12042 * BufferView_pimpl.C (cursorNext): first -> first_y
12043 (resizeCurrentBuffer): first -> first_y
12044 (updateScrollbar): first -> first_y
12045 (scrollCB): first -> first_y
12046 (workAreaMotionNotify): first -> first_y
12047 (workAreaButtonPress): first -> first_y
12048 (checkInsetHit): first -> first_y
12049 (cursorPrevious): first -> first_y
12050 (cursorNext): first -> first_y
12051 (Dispatch): add buffer_->params to severl inset contructors
12053 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * lyxlayout.C (Read): remove some debug info that I forgot.
12057 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12058 clean up the code slightly.
12059 (makeLinuxDocFile): ditto
12060 (makeDocBookFile): ditto
12062 * text2.C: layout as string
12064 * text.C: layout as string
12066 * paragraph_pimpl.C: layout as string
12068 * paragraph.[Ch]: layout as string
12070 * lyxtextclasslist.[Ch]: layout as string
12072 * lyxtextclass.[Ch]: layout as string
12074 * lyxtext.h: layout as string
12076 * lyxlayout.[Ch]: layout as string
12078 * lyx_cb.C: layout as string
12080 * bufferview_funcs.C: layout as string
12082 * bufferparams.C: layout as string
12084 * buffer.C: layout as string
12086 * LyXView.[Ch]: layout as string
12088 * LaTeXFeatures.[Ch]: layout as string
12090 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12092 * BufferView_pimpl.C: change current_layout to string, remove
12097 (workAreaButtonRelease): layout as string
12099 * BufferView2.C (unlockInset): adjust
12101 * vspace.C (asLatexCommand): use an explict temp variable.
12103 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12105 * Makefile.am: use FRONTEND_*
12107 2002-03-01 Juergen Vigna <jug@sad.it>
12109 * tabular.C (SetWidthOfMulticolCell): changed to something better
12110 I hope but still work in progress.
12111 (recalculateMulticolumnsOfColumn): renamed function from
12112 recalculateMulticolCells as it is more appropriate now.
12113 (SetWidthOfCell): calculate multicols better.
12115 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12117 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12119 * lyxfunc.C (processKeySym): print sequence also if it is
12120 `deleted' (complete)
12122 * kbsequence.C (print): print sequence even if it is deleted
12123 (complete would be a better word, actually).
12125 * lyxfunc.C (dispatch): print complete options after a prefix key
12127 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12129 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12131 * text2.C (setCharFont): eliminate setCharFont code duplication.
12133 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12135 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12136 LFUN_TABULAR_FEATURE (bug #177)
12138 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12140 * Makefile.am: remove figure.h
12142 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12144 * Bufferview_pimpl.C:
12156 * text2.C: remove #include "lyx_gui_misc.h".
12158 * LaTeX.C: added #include <cstdio>
12160 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12162 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12163 that the paragraph following this one can have.
12165 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12167 * vspace.C (asLatexCommand): fix bogus gcc warning
12169 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12171 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12173 * text2.C (setLayout): get rid of redundant code
12175 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12177 * text2.C (incDepth): make sure depth cannot be increased beyond
12180 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12182 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12183 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12185 * PainterBase.h (image):
12186 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12187 a LyXImage const *.
12189 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12193 * BufferView_pimpl.C:
12194 * BufferView_pimpl.h:
12214 * sp_spell.C: remove fig inset, and the crap house of
12215 cards that follows it
12217 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12222 * os2_errortable.h:
12223 * nt_defines.h: move .h into support/
12225 * vms_defines.h: remove
12227 * WorkArea.C: add space in debug output
12231 * buffer.C: add WITH_WARNINGS
12235 * bufferlist.C: s/retrive/retrieve/, add docs
12244 * chset.C: add docs
12246 * lyxgui.C: add ID to X error handler
12248 * lyxtestclass.c: fix typo
12250 2002-02-26 Juergen Vigna <jug@sad.it>
12252 * tabular_funcs.C (write_attribute): changed so that some default
12253 attributes are not written at all.
12254 (getTokenValue): set default values before trying to read the
12255 value so we have the return value always set as default if we don't
12256 find the token we search for.
12258 * tabular.C (Write): write bools as bools not as strings!
12260 2002-02-22 Juergen Vigna <jug@sad.it>
12262 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12263 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12265 * text.C (leftMargin): don't add an indent for paragraphs inside
12266 tabular cells (fix #208).
12268 2002-02-21 José Matos <jamatos@fep.up.pt>
12270 * tabular.C (docBook): fixed support for long tables.
12272 2002-02-20 Juergen Vigna <jug@sad.it>
12274 * text2.C (getFont): get the drawing font of the Inset if this
12275 paragraph is inside an inset (only important for InsetERT for now).
12277 * buffer.C (insertErtContents): use new lanugage params in ERT
12280 * CutAndPaste.C: commenting out seemingly uneeded code.
12282 2002-02-19 Allan Rae <rae@lyx.org>
12284 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12285 Iterators might be simple to use but they also get invalidated.
12286 (removeAutoInsets): renamed saved cursor tracking variables and added
12287 some comments to clarify what everything does.
12289 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12296 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12297 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12300 * vc-backend.h: remove #include "support/syscall.h"
12304 * converter.C: rearrange #includes in Lars' approved fashion.
12306 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12307 forward declare class Timeout in the header file.
12309 * XFormsView.C: changes due to the above.
12311 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12312 similar to LyXView.
12314 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12315 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12317 2002-02-18 José Matos <jamatos@fep.up.pt>
12319 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12322 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12324 * a lot of small ws changes
12325 * add a lot of using std::XXX
12326 * use std construcs some places where approp.
12327 * use some exisint stuff from lyxfunctional where approp.
12328 * Make file changes to use partial linking (lets test this now...)
12330 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12334 remove #include "support/syscontr.h" as it's redundant. Always has been.
12342 change Systemcalls::System to Systemcalls::Wait and
12343 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12344 No change of functionality, just reflects the stripped down Systemcalls
12347 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12349 * debug.[Ch]: add a GRAPHICS type to the enum.
12351 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12355 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12358 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12361 match the changes below.
12363 * text2.C (toggleInset): if there is not editable inset at cursor
12364 position, try to see if cursor is _inside_ a collapsable inset
12367 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12369 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12370 document menu has a nice checkbox
12372 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * lyxlength.C (asLatexString): change PW to output as percent of
12377 * lengthcommon.C: change '%' to 't%'
12379 * lyxfunc.C (dispatch): a few comments from Martin
12381 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12385 * BufferView_pimpl.h:
12386 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12389 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12391 * vspace.C (inPixels): fix compiler warning
12393 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12395 * lyxfunc.C (getStatus): fix status message for disabled commands.
12397 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12399 * BufferView_pimpl.C: fix crash on close buffer
12400 during selection (#227)
12402 2002-01-27 Herbert Voss <voss@lyx.org>
12404 * buffer.C: link old Figure to new graphic inset
12406 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12408 * FontLoader.C (getFontinfo): Change the latex font names in order
12409 to match the names of type1inst.
12411 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12413 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12415 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12416 (extchanged): ditto
12418 (remove_files_with_extension): ditto
12419 (remove_file): ditto
12422 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12423 document is smaller than the work area height. Do not initialize
12424 static variables to 0.
12426 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12428 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12430 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12431 LFUN_LAYOUT_PARAGRAPHS.
12433 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12434 tabular. It is possible to provide a possible cell, which will
12435 typically be the actcell from the corresponding insettabular
12437 * lyxfunc.C (getStatus): small cleanup; disable
12438 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12441 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12443 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12445 * paragraph.C (startTeXParParams):
12446 (endTeXParParams): new methods. The LaTeX code to
12447 start/end paragraph formatting
12448 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12449 empty (fixes bug #200)
12451 * vspace.C (inPixels): adapt to the change below
12452 (inPixels): [later] more cleanups (remove unused variables)
12454 * lyxlength.C (inPixels): change to use a width and a height as
12457 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12459 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12460 Replaced with \paperwidth
12462 * DepTable.C (insert): add std:: qualifier
12464 2002-01-18 Allan Rae <rae@lyx.org>
12466 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12469 * text.C (drawInset): Turned out I didn't know enough about how
12470 rebreaking worked. This fixes most of the redraw problems. I see
12471 an occasional cursor trail when a line is broken now and the cursor
12472 placement can seem out by a few pixels also after a rebreak.
12474 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12476 * buffer.C (parseSingleLyXformat2Token): update because minipage
12477 width is now a LyXLength
12479 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12481 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12484 2002-01-17 Juergen Vigna <jug@sad.it>
12486 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12488 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12489 is set correctly and the inset is updated correctly.
12491 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12493 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12494 the beginning of the loop.
12496 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12498 * lyxrc.C: improve help for use_scalable_fonts
12500 2002-01-17 Allan Rae <rae@lyx.org>
12502 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12504 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12506 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12507 make sure to set their inset_owner to the right value (bug #171)
12509 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12512 * DepTable.C: Implement mtime checking to reduce time spent doing
12515 2002-01-16 Juergen Vigna <jug@sad.it>
12517 * tabular.C (GetAdditionalHeight): one of error fixed.
12519 * lyxrc.C (output): small fix in writing use_pspell.
12521 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12523 * sp_base.h: #include LString.h
12525 2002-01-16 Allan Rae <rae@lyx.org>
12527 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12528 Can someone check this please?
12530 * text.C (drawInset): It was possible that p.row would be removed by
12531 breakAgainOneRow upsetting a few other settings. There may be another
12532 small tweak possible by setting need_break_row = 0 when p.row has been
12533 removed but I don't know enough about the logic here.
12535 2002-01-15 Allan Rae <rae@lyx.org>
12537 * text.C (insertChar): removed conditional truism.
12539 * BufferView2.C (removeAutoInsets): More tweaks.
12540 cur_par_prev could be a stray pointer. Check for trailing empty line
12541 in case last line was cur_par and only had an error inset on it.
12543 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12548 * vc-backend.C (most methods):
12549 * exporter.C (Export):
12550 * converter.C (convert):
12552 * LyXSendto.C (SendtoApplyCB):
12553 * lyxfunc.C (dispatch):
12557 * lyx_cb.C (AutoSave):
12559 * BufferView_pimpl.C (MenuInsertLyXFile):
12560 * buffer.C (runChktex): use Buffer::filePath().
12562 * buffer.h: rename filename to filename_; rename filepath to
12563 filepath_ and make it private
12564 (filePath): new method
12566 * buffer.C (writeFile): use fileName()
12569 * lyx_main.C (init): fix starting of LyX when the binary is a
12570 link from so,ewhere else.
12572 * minibuffer.C: include <cctype> for isprint
12574 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12576 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12577 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12578 name clash with InsetCollapsable's width function.
12580 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12582 * lastfiles.C: include <iterator>
12584 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12586 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12589 * buffer.C (makeLaTeXFile): ditto.
12590 Also make loop operation more transparent.
12592 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12594 * ToolbarDefaults.C: remove trailing comma closing namespace.
12596 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12598 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12601 * trans.C (Load): comment out unused variable, allowed.
12603 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12605 * minibuffer.[Ch] (append_char): new method to recieve input from the
12606 drop-down completion browser. If a key was pressed, then recieve this
12607 char and append it to the existing string.
12608 (peek_event): modify the positioning data passed to the completion
12609 browser so that it can be placed above the minibuffer rather than below.
12610 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12612 * LyXAction.C (init): alloe error-next for readonly documents.
12614 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12617 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12619 * bufferlist.C (readFile): create the buffer _after_ checking that
12622 * lyxfunc.C (verboseDispatch): fix handling of arguments
12624 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12626 * lyxrc.C: use string::erase() instead of initializing to "".
12629 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12631 * BufferView_pimpl.h:
12632 * BufferView_pimpl.C:
12635 * text2.C: tell X when we have made a selection for copying
12637 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12639 * BufferView_pimpl.C (MenuInsertLyXFile):
12640 * lyxfunc.C (menuNew):
12642 (doImport): add shortcuts to directory buttons
12644 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12647 * lyxfunc.C (setStatusMessage):
12648 (getStatusMessage): new methods
12649 (getStatus):use setStatusMessage instead of setErrorMessage
12650 (dispatch): when function is disabled, set error message here
12651 [instead of in getStatus previously]
12653 * BufferView_pimpl.C (workAreaButtonRelease): update
12654 toolbar/menubar here too.
12656 2002-01-13 Allan Rae <rae@lyx.org>
12658 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12659 Now seems indestructible. Remaining task is to audit all other
12660 code affected by deleteEmptyParagraphMechanism. One small quirk
12661 left is that an empty document with an error in the preamble can
12662 be made to report an error but no error box appears. I don't know
12664 (removeAutoInsets): Improved comments.
12666 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12669 * Thesaurus.C: update for Aiksaurus 0.14
12671 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12673 * text2.C (firstParagraph): removed member function, all uses
12674 replaces with ownerParagraph
12675 (redoParagraphs): here
12676 (updateInset): here
12677 (toggleAppendix): here
12678 * BufferView2.C (insertErrors): here
12679 (setCursorFromRow): here
12681 2002-01-13 Allan Rae <rae@lyx.org>
12683 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12684 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12685 There is still a way to segfault this although you may have to do this
12686 multiple times: Have an InsetERT with an unknown command in it.
12687 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12688 <down-arrow>, <Enter> again, View->DVI, BANG!
12690 * text2.C (setCursor):
12691 (deleteEmptyParagraphMechanism):
12692 * lyxtext.h (setCursor):
12693 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12694 Making use of the return value may help fix other bugs.
12696 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12698 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12700 * LyXView.C (updateMenubar): call MenuBar::update here
12701 (updateToolbar): but not here
12702 (showState): do not update toolbar/menubar
12704 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12705 should need to care about that.
12707 * lyxfunc.C (verboseDispatch): simplify a bit
12708 (getStatus): have a version which takes a pseudoaction, and
12709 another which requires a (kb_action,string).
12711 * LyXAction.C (retrieveActionArg): make it work also when action
12712 is not a pseudo-action.
12713 (getActionName): simplify a bit
12716 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12718 * lyxfunc.C (verboseDispatch): new families of methods with
12719 several ways to specify a command and a bool to indicate whether
12720 the command name and shortcut should be displayed in minibuffer
12721 (eventually, we could extend that to a finer bitmask like
12722 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12723 (dispatch): the pristine dispatch command which just, well,
12724 dispatchs! Note it still sets its result to minibuffer; I'm not
12727 * lyxfunc.h: remove setHintMessage
12729 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12731 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * BufferView_pimpl.C (specialChar): delete new inset if we have
12734 not been able to insert it.
12736 * kbmap.C: revert to using int instead of kb_action, since all we
12737 are dealing with is pseudo-actions.
12739 * LyXAction.C (searchActionArg): change to return int instead of
12740 kb_action, since the result is a pseudoaction.
12742 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12744 * buffer.C (insertErtContents): Fix (partially) the font bug.
12746 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12748 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12749 as the other one is broken on my machine!
12751 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12754 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12756 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12758 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12759 reflect their actual use. Provide compatibility code for older lyxrc
12762 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12764 change names of popup font variables in line with the changes to lyxrc.C
12766 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12768 * buffer.C (asciiParagraph): avoid outputing a word twice after
12771 * lyxrc.C (getDescription): document that document_path and
12772 template_path can be empty.
12774 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * LaTeXFeatures.C (getMacros):
12777 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12779 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12781 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12783 (getPackages): rename feature "floats" to "float". Use an array to
12784 iterate over 'simple' features (i.e. just a \usepackage). Add
12785 handling of "amsmath" (renamed from "amsstyle").
12787 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12789 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12792 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12794 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12795 FuncStaus::FuncStatus & FuncStaus::some_method().
12797 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12799 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12800 of the func_satus stuff. Edited and massaged in various ways by
12803 * lyxfunc.C (getStatus): use FuncStatus
12805 2002-01-08 Juergen Vigna <jug@sad.it>
12807 * text.C (nextBreakPoint): use function Inset::isChar().
12809 * paragraph.C (TeXOnePar): use function
12810 Inset::forceDefaultParagraphs.
12812 * buffer.C (latexParagraphs): use function
12813 Inset::forceDefaultParagraphs.
12815 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12817 * lyx_gui.C (init): set the style of the menu popups to
12818 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12820 2002-01-07 Juergen Vigna <jug@sad.it>
12822 * text.C (setHeightOfRow): small fix
12823 (prepareToPrint): don't look at alignment if we don't have the place
12826 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12828 * box.C: New file. Move the Box methods and functions out of box.h,
12829 following Lars' suggestion.
12831 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12833 * box.h: #include "support/LOstream.h", needed for inlined function.
12836 * lyxtextclasslist.C: added some using std declarations.
12838 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12840 * box.h: make signed dimensions to allow insets wider than
12841 the screen (bug #162)
12843 * BufferView_pimpl.C: add some insetHit debug
12845 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12847 * vc-backend.C: add FIXME
12849 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * lyxfunc.C (getStatus): enable code for showing math font status
12854 2002-01-07 Juergen Vigna <jug@sad.it>
12856 * text.C (nextBreakPoint): removed debug output not needed anymore.
12858 2002-01-06 Juergen Vigna <jug@sad.it>
12860 * text.C (nextBreakPoint): fixed up this function we had this bug
12861 since ever but now hopefully we break row better.
12862 (insertChar): we have to check if an inset is the next char as it
12863 could now happen that a large inset is causing a break.
12865 2002-01-05 Juergen Vigna <jug@sad.it>
12867 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12868 if it doesn't like to be drawed.
12870 2002-01-04 Juergen Vigna <jug@sad.it>
12872 * BufferView2.C (lockInset): forgot to set a cursor.
12874 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12876 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12878 * FormMathsPanel.C:
12881 * form_maths_panel.C:
12882 * form_maths_panel.h:
12883 * form_maths_panel.fd: implemented sub- and super- buttons in math
12886 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12887 (or ^ space) to be used as in TeX (req'd by André).
12889 * lyxfunc.C: Allow ^ and _ again to be used both as
12890 super/subscript (mathed) and as themselves (in text).
12892 2002-01-03 Allan Rae <rae@lyx.org>
12894 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12895 "LyX" or the filename of the current buffer if it has one. This is a
12896 modified form of John Levon's patch.
12898 * XFormsView.C (setWindowTitle): also set icon title.
12900 * LyXView.h (setWindowTitle): signature changed.
12901 * XFormsView.h (setWindowTitle): ditto.
12903 2002-01-02 Juergen Vigna <jug@sad.it>
12905 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12907 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12909 * screen.C (topCursorVisible): introduce a temp var for
12910 text->cursor.row(), handle the case where this row is null. (kindo
12913 * text2.C (setCursor): add a couple of asserts.
12915 * paragraph.h (inset_iterator): add -> operator
12917 * paragraph.[Ch] (autoDeleteInsets): remove member function
12919 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12920 cursor pos correctly and handle inset deletion by itself.
12921 (insertErrors): move iterator declaration out of for expression
12923 * lyxtextclass.C: add <algorithm>
12925 * Makefile.am: added the new files to sources, removed layout.C
12927 * layout.C: removed file
12929 * layout.h: remove LYX_DUMMY_LAYOUT
12931 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12935 * lyxtextclass.[Ch]:
12936 * lyxtextclasslist.[Ch]: new files
12938 * include order changes to a lot of files, also changes because of
12941 2001-12-27 Juergen Vigna <jug@sad.it>
12943 * buffer.C (asciiParagraph): more fixes.
12945 * tabular.C (ascii): make ascii export support export of only the
12946 data separated by a column-delimiter.
12947 (ascii): better support for ascii export.
12949 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12951 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12953 * tabular_funcs.C: use a "using std::getline" instead of the
12954 previous fix from Angus (necessary for cxx + lyxstring)
12956 2001-12-24 Juergen Vigna <jug@sad.it>
12958 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12960 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12961 problems. First check a minipage also if we have some ert-contents
12962 (not only on par->size(), second set the right depth of the paragraph
12963 on the relink to the root-paragraph-list!
12965 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12966 which then did not anymore update the main paragraphs on undo/redo!
12968 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12970 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12971 code. Support all font-changing funcs (even those which are not in
12972 menu currently). Support for reporting font settings in
12973 mathed (disabled until Andre provides a function on mathed's side).
12975 * func_status.h (toggle): small helper function to set toggle
12978 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12980 * tabular_funcs.C: getline -> std::getline
12982 2001-12-21 Juergen Vigna <jug@sad.it>
12984 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12985 accessed and could be 0 (I couldn't generate this but it seems
12988 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12990 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12991 * tabular_funcs.h: here and include iosfwd
12993 2001-12-20 Juergen Vigna <jug@sad.it>
12995 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12996 inside inset but undo_par was.
12998 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * Thesaurus.C: always include <config.h> in sources.
13004 * box.h: do not include <config.h> in header files
13006 * text.C (paintLastRow): remove unused variable
13008 * text.C (transformChar):
13010 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13012 * Painter.C (text):
13013 * font.C (width): rewrite to use uppercase() instead of
13016 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13018 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13020 * lyxfind.C: clean up of find failure position change
13022 2001-12-20 Juergen Vigna <jug@sad.it>
13024 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13026 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13027 (TeXRow): added to LaTeX a single tabular row.
13028 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13029 (Latex): simplified and finally good LT-h/f support.
13030 (various_functions): just small adaptions for LT-h/f support.
13032 * tabular_funcs.[hC]: added and moved here all not classfunctions
13035 2001-12-19 Juergen Vigna <jug@sad.it>
13037 * tabular.[Ch]: better support for longtabular options (not finished
13040 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13042 * text.C (paintLastRow): use the label font instead of the font of
13043 the last character to compute the size of *_BOX. This makes more
13044 sense and avoids a crash with empty paragraphs.
13045 Use Painter::rectangle to draw EMPTY_BOX.
13047 2001-12-19 Juergen Vigna <jug@sad.it>
13049 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13050 the paragraphs if the replaced paragraph is not the first one!
13051 Tried to delete not used paragraphs but does not work yet so for
13052 now it's inside #ifdef's and by default off!
13054 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13056 * MenuBackend.C: include "lyx_main.h" instead of declaring
13057 lastfiles (actually was declared as LastFiles* instead of a
13060 2001-12-17 Juergen Vigna <jug@sad.it>
13062 * tabular.C (AppendColumn): applied John's fix
13064 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13068 * BufferView_pimpl.h:
13069 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13072 * box.h: new start of class for above
13074 * lyxfunc.C: ignore space-only minibuffer dispatches.
13075 Show the command name when it doesn't exist
13077 * minibuffer.C: don't add empty lines to the history
13079 * minibuffer.C: add a space on dropdown completion
13081 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13083 * text.C: fix line above/below drawing in insets
13085 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13087 * lyxlength.C (LyXLength): Initialize private variables.
13089 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13091 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13092 when inserting error insets.
13094 2001-12-13 Juergen Vigna <jug@sad.it>
13096 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13097 actually sometimes the before-paragraph.
13098 (setUndo): don't clear the redostack if we're not actually undoing!
13100 2001-12-06 Juergen Vigna <jug@sad.it>
13102 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13103 and fixed redoing of main paragraph, so we can use it now ;)
13105 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13107 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13109 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13112 2001-12-13 André Pönitz <poenitz@gmx.net>
13115 * undo_func.C: minor cleanup
13117 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13119 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13120 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13121 font in urw-fonts package which is marked as -urw-fontspecific and
13122 does not work (incidentally, changing the encoding in the
13123 fonts.dir of this package to -adobe-fontspecific fixes the
13126 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13127 is a crash when undoing first paragraph (Juergen, please take a
13128 look). THis does not mean the undo fix is wrong, just that it
13131 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13132 the (Paragraph*) version when needed instead of duplicating the
13135 * text.C (workWidth): use Inset::parOwner to find out where the
13136 inset has been inserted. This is a huge performance gain for large
13137 documents with lots of insets. If Inset::parOwner is not set, fall
13138 back on the brute force method
13140 * paragraph_pimpl.C (insertInset):
13141 * paragraph.C (Paragraph):
13142 (cutIntoMinibuffer): set parOwner of insets when
13143 inserting/removing them
13145 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13147 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13153 * mathed/formulabase.C:
13154 * mathed/math_cursor.[Ch]:
13155 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13158 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13160 * lyxlength.[Ch] (operator!=): new function
13162 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13164 * text.C (workWidth): use Inset::parOwner to find out where the
13165 inset has been inserted. This is a huge performance gain for large
13166 documents with lots of insets. If Inset::parOwner is not set, fall
13167 back on the brute force method
13169 * paragraph_pimpl.C (insertInset):
13170 * paragraph.C (Paragraph):
13171 (cutIntoMinibuffer): set parOwner of insets when
13172 inserting/removing them
13174 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13176 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13178 * tabular-old.C (getTokenValue):
13179 * tabular.C (getTokenValue):
13180 (write_attribute): new versions for LyXLength
13181 (everywhere): adjust the use of widths
13183 * tabular.h: change the type of widths from string to LyXLength
13185 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13187 * paragraph.C: fixed missing line number count when exporting
13188 Environments to LaTeX file
13190 * buffer.C: added informational message for checking line numbers.
13192 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13194 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13195 paragraph, do the 'double space' part, but not the 'empty
13198 * text.C (workWidth): small optimization
13199 (getLengthMarkerHeight): use minimal size for negative lengths.
13201 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13203 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13205 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13207 2001-12-11 André Pönitz <poenitz@gmx.net>
13210 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13212 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13214 * text2.C: keep selection on a setFont()
13216 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13218 * lyx_cb.C: another bv->text misuse, from insert label
13220 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13223 * kbsequence.C: re-instate nmodifier mask
13225 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13227 * lyx_main.h: make lyxGUI private.
13229 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13231 * lyxfind.C: place the cursor correctly on failed search
13233 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13235 * text.C (getLengthMarkerHeight): for small heights, the arrows
13236 are not always on top/bottom of the text
13237 (drawLengthMarker): smaller arrows; take the left margin in
13238 account; draw also vfills.
13240 (paintLastRow): remove special code for vfill and standard spaces,
13241 since everything is handled in drawLengthMarker now.
13243 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13245 * buffer.C (insertErtContents): try to handle font and language
13246 interaction a bit better.g
13248 * ColorHandler.C (updateColor): change the hash to cover the whole
13249 LColor enum, ws cleanup
13250 (getGCLinepars): ditto
13251 (getGCLinepars): only lookup in the linecache once.
13253 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13255 * iterators.C (operator++): Make the iterator more robust
13257 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13259 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13261 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13264 * text.C: better added space drawing
13266 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13269 * BufferView2.C: fix layout combo update on inset unlock
13271 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13273 * Makefile.am: don't compile unused files
13275 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13279 * LyXAction.C: remove old LFUN_LAYOUTNO
13281 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13283 * paragraph_pimpl.h:
13284 * paragraph_pimpl.C: isTextAt() doesn't need font param
13286 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13289 * lyxlex.C: little cleanup
13291 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13293 * BufferView_pimpl.C: fix insertAscii for insets
13295 2001-12-05 Juergen Vigna <jug@sad.it>
13297 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13298 set the right font on the "multi" paragraph paste!
13300 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13306 * lyxlength.C: remove out-commented code.
13308 * BufferView_pimpl:
13322 * vc-backend.C: change "while(" to "while ("
13324 * lyxlength.[Ch]: add zero function to check if length is zero or
13326 * lyxgluelength.C: use it
13328 2001-12-05 Allan Rae <rae@lyx.org>
13330 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13331 Works for 2.95.3, from what I understand of Garst's reports this should
13332 work for other g++ versions. We're screwed if the abs(int) definition
13333 changed between bugfix releases of gcc.
13335 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13337 * text.C: fix chapter label offset !
13339 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13342 * text.C: fix hfill at end of line, clean up
13344 2001-12-04 Juergen Vigna <jug@sad.it>
13346 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13347 that we force an update of the inset and it's owners if neccessary.
13349 2001-12-03 Juergen Vigna <jug@sad.it>
13351 * text.C (rowLast): simplified code
13353 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13355 * lyxfunc.C: fix show options on timeout
13357 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13359 * screen.C (topCursorVisible): scroll half a page when the cursor
13360 reached top of bottom of screen
13362 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13364 * minibuffer.C: deactivate on loss of focus
13366 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13368 * vspace.[Ch] (operator!=): add operator.
13370 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13372 * BufferView_pimpl.C: refuse to open an inset when
13373 there's a selection.
13375 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13377 * BufferView_pimpl.C: allow to click on RHS of full row insets
13379 2001-11-30 Juergen Vigna <jug@sad.it>
13381 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13382 insets for undo reasons.
13384 2001-11-28 André Pönitz <poenitz@gmx.net>
13386 * vspace.[Ch]: cosmetical changes
13388 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13398 * kbsequence.C: part re-write of old kb code
13401 * WorkArea.C: remove Lgb_bug_find_hack
13403 2001-11-30 José Matos <jamatos@fep.up.pt>
13405 * buffer.C (makeDocBookFile): add a comment to point a hack.
13406 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13407 Fixed a double write of labels.
13409 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13412 * LaTeX.h Fixed bug in LaTeX class where it would not
13413 re-run latex if no depfiles were changed, but the .dvi was removed.
13415 2001-11-28 André Pönitz <poenitz@gmx.net>
13417 * all the files from the change on 2001/11/26:
13418 use lyx::layout_type instead of LyXTextClass::size_type
13419 use lyx::textclass_type instead of LyXTextClassList::size_type
13421 2001-11-29 Juergen Vigna <jug@sad.it>
13423 * text.C: added support for paragraph::isFreeSpacing()
13425 * buffer.C: same as above
13427 * paragraph.h: inserted isFreeSpacing() function to enable
13428 FreeSpacing inside InsetERT.
13430 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13431 of the paragraph's in the cut/copy buffer to 0!
13433 * text2.C (removeRow): remove the assert as it can!
13435 * lyxtext.h: added helper function firstRow returning firstrow and
13436 made firstrow private again.
13438 * BufferView2.C (lockInset): don't relock if we're already locked!
13440 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13441 the only paragraph.
13442 (removeRow): added Assert::(firstrow)
13444 * debug.C: forgot to add INSETTEXT here.
13446 2001-11-28 Juergen Vigna <jug@sad.it>
13448 * sp_spell.C (initialize): changed error text to more general
13449 spellchecker command use (not only ispell!)
13451 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13453 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13455 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13457 * vspace.C: initialise lyxgluelength on failure
13459 2001-11-28 Allan Rae <rae@lyx.org>
13461 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13462 declaration & definition that looks like a function declaration.
13464 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13466 * BufferView2.C (copy):
13467 (copyEnvironment): do not clear the selection when doing a copy.
13469 * text.C (paintFirstRow): compilation fix
13471 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13473 * tabular.C (Latex): correct line count when writing latex.
13475 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13477 * paragraph_pimpl.h:
13478 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13481 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13485 * LColor.C: change vfillline->added_space
13487 * text.C: add markers and text for added space
13489 * vspace.C: fix comment
13491 2001-11-28 André Pönitz <poenitz@gmx.net>
13493 * paragraph.C: whitespace changes
13494 * all the other files from the change on 2001/11/26:
13495 change *::pos_type into lyx::pos_type
13497 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13499 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13500 language of the document when inserting error insets.
13502 2001-11-26 André Pönitz <poenitz@gmx.net>
13504 * BufferView_pimpl.[Ch]:
13512 * paragraph_pimpl.[Ch]:
13515 * text2.C: reduce header dependencies, introduce type for positions
13517 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13519 * <various>: change to use Alert.h
13521 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13523 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13524 when encountering an unknown token.
13525 (readLyXformat2): Show an error message if there were unknown tokens.
13527 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13530 * BufferView_pimpl.C:
13534 * text2.C: use par->isInset()
13536 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13538 * paragraph_pimpl.h:
13539 * paragraph_pimpl.C: cleanup
13541 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13543 * text2.C (removeRow):
13544 * text.C (setHeightOfRow): remove useless (and costly) call to
13547 2001-11-20 Allan Rae <rae@lyx.org>
13549 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13550 Now need Inset*::checkInsertChar() to return true for appropriate
13551 cases so that the characters in the minibuffer will actually be
13554 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13556 * text.C: change the order of the includes.
13557 (workWidth): initialize it at once.
13558 (workWidth): make maxw unsigned
13559 (setHeightOfRow): remove unused variable (inset)
13560 (selectSelectedWord): remove unused variable (inset)
13561 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13563 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13565 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13566 server is not running.
13568 (closeConnection): add debug info when server is disabled.
13570 * ColorHandler.C (getGCForeground): send debug message to GUI
13573 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13575 * kbmap.C (bind): modify because return conventions of
13576 kb_sequence::parse have changed.
13578 * kbsequence.C (parse): only ignore spaces and not any stupid
13579 control character. This avoids tests like s[i] <= ' ', which are
13580 guaranteed to fail with 8bit characters and signed chars.
13581 Change return code to string::npos when there have been no error
13582 (0 was a bad idea when error is at first character)
13584 2001-11-14 José Matos <jamatos@fep.up.pt>
13587 * buffer.C (simpleDocBookOnePar): removed unused argument.
13589 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13592 insets which are part of a word. Paragraph::isLetter takes care of
13593 that now. Use Paragraph::isInset to identify insets.
13594 (selectSelectedWord): do not test for hyphenation break.
13596 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13597 that protected spaces are considered as spaces.
13599 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13602 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13605 * lyxserver.C: fix it. and small cleanup.
13607 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13609 * BufferView_pimpl.C: use inline helpers
13612 * LaTeXFeatures.C: fix typos
13615 * Spacing.C: move spacing_string into class
13617 * ToolbarDefaults.C: move stuff into namespace anon
13619 * layout.h: update enum
13621 * lyxfunc.C: use better debug
13623 * minibuffer.h: fix typo
13627 * WorkArea.C: add and use Debug::WORKAREA
13631 * text2.C: code re-organisation, inline helpers
13633 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13635 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13636 std::vector.empty().
13638 2001-11-09 Allan Rae <rae@lyx.org>
13640 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13641 '\n's after tables. Tabular and ERT inset work now makes this no
13644 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13647 * minibuffer.C: fix crash, improve drop-down completion
13649 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13652 * lyxserver.C: invalidate fd's when doing endPipe()
13654 2001-11-08 José Matos <jamatos@fep.up.pt>
13656 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13657 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13660 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13662 2001-11-07 José Matos <jamatos@fep.up.pt>
13665 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13668 * buffer.C (sgmlOpenTag):
13669 * buffer.C (sgmlCloseTag): removed debug info.
13671 * buffer.h (sgmlOpenTag):
13672 * buffer.h (sgmlCloseTag): made public.
13674 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * buffer.C (saveParamsAsDefaults):
13677 * lyx_cb.C (MenuLayoutSave): remove
13679 * LyXAction.C (init):
13681 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13683 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13685 * buffer.C (setPaperStuff): removed from here...
13687 * bufferparams.C (setPaperStuff): ... and moved there.
13689 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13693 * XFormsView.C: add support for drop-down completion
13695 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13697 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13700 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13705 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13707 * lyx_main.C: change ref to known bugs
13709 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13711 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13712 to work around older babel problems.
13714 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13716 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13718 2001-10-24 Juergen Vigna <jug@sad.it>
13720 * tabular-old.C (ReadOld): below variable changes reflected.
13722 * tabular.[Ch]: added ltType struct for longtable header/footer
13723 defines and changed all instances where they are used. Added
13724 future support for double top/bottom rows.
13726 2001-10-24 José Matos <jamatos@fep.up.pt>
13728 * buffer.h (docbookHandleCaption):
13729 * buffer.C (docbookHandleCaption): removed unused function.
13730 (makeDocBookFile): moved docbook supported version to v4.1.
13732 2001-10-24 José Matos <jamatos@fep.up.pt>
13735 * tabular.C (docbookRow): new function to export docbook code of a row.
13736 (DocBook): now honors the longtable flags.
13738 2001-10-23 José Matos <jamatos@fep.up.pt>
13741 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13742 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13744 * buffer.C (makeLinuxDocFile):
13745 (makeDocBookFile): reworked the preamble, more clean, and with
13746 support for lyx defined entities. Changed the document declaration
13747 to be more XML friendly.
13749 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13750 if we need to output XML that should be done with a filter.
13752 2001-10-22 Juergen Vigna <jug@sad.it>
13754 * sp_pspell.h (class PSpell): add alive function needed in the
13755 controller to see if the spellchecker could be started.
13757 2001-10-22 Juergen Vigna <jug@sad.it>
13759 * buffer.C (insertStringAsLines): modify the font for inserting
13760 chars in certain conditions by calling checkInsertChar(font).
13762 2001-10-19 Juergen Vigna <jug@sad.it>
13764 * text.C (workWidth): use getRow instead of wrong algorithm.
13765 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13767 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13772 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13774 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13776 * text.C (workWidth): do not search for the exact row when
13777 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13778 optimization for big documents.
13780 2001-10-18 Juergen Vigna <jug@sad.it>
13782 * text.C (workWidth): new function with added Inset * parameter.
13784 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13786 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13788 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13789 change return type of getColumnNearX.
13792 * text.C (changeRegionCase): use uppercase/lowercase instead of
13795 (rightMargin): simplify code by factoring out the uses of
13800 (appendParagraph): use Paragraph::size_type
13802 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * vspace.C (asLatexString): add a missing break
13806 2001-10-15 Herbert Voss <voss@perce.de>
13808 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13810 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13812 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13815 2001-10-10 André Pönitz <poenitz@gmx.net>
13817 * lyxfunc.C: removed greek_kb_flag.
13819 2001-10-10 Herbert Voss <voss@perce.de>
13821 * lyx_main.C: delete global string help_lyxdir.
13823 2001-10-09 Herbert Voss <voss@perce.de>
13825 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13827 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13829 * lyx_main.C: added global string help_lyxdir.
13831 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13833 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13835 * lyxrc.C (set_font_norm_type): support iso8859-4
13837 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13839 * LaTeX.C (deplog): add another regex for MikTeX
13841 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13843 * lyxrc.C (set_font_norm_type): support iso8859-3
13845 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13849 * LaTeXFeatures.C: remove special case of french and index
13851 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13852 before \begin{document}). This solves several incompatibilities.
13854 2001-10-03 Garst Reese <reese@isn.net>
13856 * lyx_cb.C: change CheckTex error msg.
13858 2001-10-03 José Matos <jamatos@fep.up.pt>
13860 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13862 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13864 * .cvsignore: update
13866 * lyx_main.C (commandLineVersionInfo): use new style version info.
13868 * buffer.C (writeFile):
13870 (makeLinuxDocFile):
13871 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13873 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13875 * version.h: update to use stuff in version.C
13877 * version.C.in: new file. Contains version information determined
13878 at compile time. This is a merging of version.h and
13881 2001-10-03 Juergen Vigna <jug@sad.it>
13883 * BufferView_pimpl.C (update): don't change "dirty" status in
13886 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13888 * WorkArea.C (c-tor): re-position version string slightly.
13890 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13892 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13893 revert to previous code.
13895 WorkArea.[Ch]: (show, destroySplash): methods removed.
13897 WorkArea.C: rework code so that it's an amalgam of the codes before and
13898 after the splash screen was moved to WorkArea.
13900 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * vspace.C (inPixels):
13906 * buffer.C (insertStringAsLines):
13907 (asciiParagraph): fix types to be large enough
13909 * lyxlex_pimpl.h: change member status from short to int
13911 * layout.h: fix type of endlabeltype
13914 * kbsequence.C (parse): change return type to string::size_type
13916 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13919 * Bullet.C (bulletSize):
13920 (bulletEntry): do not use short ints as parameters
13922 * BufferView2.C (insertLyXFile): change a char to an int.
13924 * WorkArea.C (WorkArea): remove unneeded floats in computation
13926 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13928 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13930 * paragraph.C (asString): Do not ignore newline/hfill chars when
13931 copying to the clipboard.
13933 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13935 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13936 after a multi-line inset.
13938 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13940 * paragraph.C (validate): Set NeedLyXFootnoteCode
13942 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13944 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13945 and decrease-error to decrease.
13947 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13949 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13950 it more readable (should be equivalent)
13952 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13954 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13956 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13959 of a cursor (row, etc.) after a character has been deleted
13960 (deleteEmptyParagraphMechanism): call the method above on _all_
13961 cursors held by the LyXText when a double space has been
13964 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13966 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13968 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13970 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13971 background. Use greyOut() and the new show() methods to toggle between
13972 the foreground and background. Add code to remove the splash after
13973 its initial showing.
13975 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13976 (create_forms): no longer call Dialogs::showSplash.
13978 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * .cvsignore: add version_info.h
13982 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * version_info.h.in: new file
13986 * Makefile.am: add version_info.h.in
13988 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13989 version_info.h instead of VERSION_INFO
13991 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13993 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13994 The ERT inset now returns string().
13996 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13998 * lyxtext.h, text.C (selectNextWord): renamed as
13999 selectNextWordToSpellcheck.
14001 * text.C (selectNextWordToSpellcheck): Modified to not select
14002 words inside an ERT inset.
14004 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14006 * lyx_cb.C (MenuLayoutSave): change a bit the question
14008 * sp_base.h: include <sys/types.h>
14010 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14012 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14014 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14016 * several files: fix typos in user-visible strings
14018 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * text2.C (pasteSelection): do not set the selection, since it
14021 will be cleared later. Actually, the intent was to fix the way the
14022 selection was set, but I figured rmoving the code was just as good.
14024 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14026 * FontLoader.C (available): Check if font is available without
14029 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14031 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14033 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14035 * lyxrc.[Ch]: added display_graphics variable and associated code.
14037 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14039 * bufferparams.C (hasClassDefaults): new method. Returns true if
14040 the buffer parameters correspond to known class defaults
14042 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14044 * XFormsView.C (show): set minimum size to the main window.
14046 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14048 * text2.C (copySelection):
14050 * lyxfind.C (LyXReplace):
14051 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14052 LyXText::selectionAsString.
14054 * paragraph.C (asString): add "label" argument to the second form
14056 * text2.C (selectionAsString): add "label" argument and pass it to
14057 Paragraph::asString.
14059 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14061 * lyx_main.C (commandLineHelp): remove version information
14063 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14065 * lyx_main.C: add -version commandline option
14067 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14069 * paragraph.h: make the optional constructor arg required instead.
14070 some modifications to other files because of this.
14072 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14074 * lyxserver.C (C_LyXComm_callback): make it static
14076 * lyx_main.C (error_handler): make it static
14078 * lyx_gui.C (LyX_XErrHandler): make it static
14080 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14082 * WorkArea.C: make the extern "C" methods static.
14084 * Makefile.am (lyx_LDADD): simplify
14086 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14088 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14089 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14091 * LyXAction.C (init):
14092 * lyxfunc.C (dispatch): associated code removal.
14094 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14096 * lyxfont.h (isSymbolFont): shut off warning
14098 * text.C (setHeightOfRow):
14099 (getVisibleRow): fix crash with empty paragraphs which have a
14102 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14104 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14107 2001-09-04 José Matos <jamatos@fep.up.pt>
14110 * tabular.C (docbook): rename docBook method to docbook.
14112 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14114 * Makefile.am: add dependencies to main.o.
14116 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14118 * FontLoader.C (available): Return false if !lyxrc.use_gui
14120 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14122 * FontInfo.C (query):
14123 * converter.C (view):
14124 * importer.C (Import):
14125 * exporter.C (Export): Can not -> cannot.
14127 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14129 * BufferView_pimpl.C: allow to create index inset even if
14132 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14134 * buffer.C (getLists): replace boost::tie code with an explicit pair
14135 as boost::tie can break some compilers.
14137 * iterators.h: Added a std:: declaration to the return type of
14140 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14142 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14145 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14147 * iterators.[Ch]: New files. Provide paragraph iterators.
14149 * buffer.C (changeLanguage): Use paragraph iterators.
14150 (isMultiLingual): ditto
14152 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14154 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14156 * FontLoader.C: Support for cmr font.
14158 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14160 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14161 (available): New method.
14163 * FontInfo.C (getFontname): Use scalable fonts even when
14164 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14167 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14169 * converter.C (Formats::view): reverted! Incorrect fix.
14171 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14173 * converter.C (Formats::view): only output the -paper option
14174 if the dvi viewer is xdvi, thereby fixing bug #233429.
14176 2001-08-23 Herbert Voss <voss@perce>
14178 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14180 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14182 * Spacing.h (Spacing): Set space to Default on in the default
14185 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14187 * vc-backend.h (RCS::versionString): add RCS to version
14188 (CVS::versionString): add CVS to version
14190 * vc-backend.C (scanMaster): do not add CVS to version.
14191 (scanMaster): do not add RCS to version
14193 * lyxvc.C (versionString): new method
14195 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14197 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14199 * Spacing.C (set): initialize fval
14201 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14203 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14206 2001-08-16 Juergen Vigna <jug@sad.it>
14208 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14210 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14212 * BufferView_pimpl.C:
14215 * text2.C: setParagraph takes linespacing now
14217 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14219 * LyxAction.C: add internal LFUN_CITATION_INSERT
14221 * LyXView.C: actually apply fix
14223 * bufferlist.C: fix open non-existent file
14225 * lyxfind.C: fix indentation
14227 * lyxfunc.C: remove unneeded assert, fix typo
14229 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14231 * MenuBackend.C: use "Floatname List"
14233 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14235 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14236 when converting LaTeX layout to insetERT.
14237 Generate a non-collapsed float when reading old float
14239 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14241 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14244 2001-08-13 Juergen Vigna <jug@sad.it>
14246 * text.C (fill): return 0 instead of 20 as this seems to be the more
14249 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14251 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14254 2001-08-13 Juergen Vigna <jug@sad.it>
14256 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14258 (SearchBackward): comment out the unlocking of the inset_owner this
14259 should not be needed!
14261 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14263 * Many files: Remove inherit_language, and add latex_language
14265 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14266 collapsible insets.
14268 2001-08-10 Juergen Vigna <jug@sad.it>
14270 * text.C (prepareToPrint): fixed hfill-width in draw!
14272 * BufferView2.C (selectLastWord): save the selection cursor as this
14273 now is cleared in the function LyXText::clearSelection!
14275 2001-08-08 Juergen Vigna <jug@sad.it>
14277 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14278 BACKSPACE type functions.
14280 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14281 is only cutted from the document but not put in the cut-buffer, where
14282 still the old stuff should be.
14284 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14286 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14288 * tabular.C (SetWidthOfCell): fixed special case where the width
14290 (LeftLine): handle '|' in align_special.
14292 (LeftAlreadyDrawed): ditto
14293 (SetWidthOfCell): ditto
14295 2001-08-07 Juergen Vigna <jug@sad.it>
14297 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14299 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14301 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14302 * lyxlex.[hC]: ditto
14304 2001-08-06 Juergen Vigna <jug@sad.it>
14306 * text.C (getVisibleRow): fix up row clearing a bit.
14308 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14310 * minibuffer.C: make sure the X server sees the changes in the input.
14312 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14314 * paragraph.C (getFont): split into...
14315 (getLabelFont): this
14316 (getLayoutFont): and this
14317 * paragraph_pimpl.C (realizeFont): calling this
14319 * text2.C (getFont): split into...
14320 (getLayoutFont): this
14321 (getLabelFont): and this
14322 (realizeFont): all three calling this
14324 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14327 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14329 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14331 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14333 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14334 layouts from the Quote inset insertion.
14336 2001-08-03 Juergen Vigna <jug@sad.it>
14338 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14340 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14341 only if status not is already CHANGED_IN_DRAW (second level).
14343 * text.C (draw): don't set the need_break_row when inside an
14346 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14348 * buffer.C (parseSingleLyXformat2Token): handle more latex
14351 * bufferview_funcs.[hC]: change function names to
14352 begin with small char, adjust other files.
14354 2001-08-02 André Pönitz <poenitz@gmx.net>
14357 BufferView_pimpl.C: remove broken special code for math-greek
14359 2001-08-02 Juergen Vigna <jug@sad.it>
14361 * BufferView_pimpl.C (update): redone this function so that we
14362 update the text again if there was a CHANGE_IN_DRAW.
14364 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14365 (drawFromTo): added a new internal bool which is used by draw() and
14367 (general): some cursor drawing problems fixed.
14369 2001-08-01 Juergen Vigna <jug@sad.it>
14371 * lyxfind.C (LyXFind): fixed
14372 (SearchForward): ditto
14373 (SearchBackward): ditto
14375 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14376 spurius drawing of the cursor in the main area.
14378 * text2.C (status): small fix which could lead to a segfault!
14379 (clearSelection): remove unneeded BufferView param.
14381 2001-08-01 André Pönitz <poenitz@gmx.net>
14383 * lyxfunc.C: small change due to changed mathed interface
14385 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14387 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14389 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14391 * lyxfunc.c: fail gracefully if file doesn't exist
14396 * BufferView_pimpl.C: IsDirWriteable() proto changed
14398 * LyXView.C: fix updateWindowTitle() to store the last title
14400 2001-07-31 Juergen Vigna <jug@sad.it>
14402 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14403 the font (wrong since using of Paragraph::highestFontInRange).
14405 * paragraph.C (highestFontInRange): added a default_size parameter.
14407 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14408 (setHeightOfRow): reformat
14410 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * converter.[hC] + affected files: move to (inital-char)lowercase
14415 * ParagraphParameters.C (ParagraphParameters): remove commented code
14417 * PainterBase.[Ch]: remove commented code
14419 * LaTeXFeatures.h: add "bool floats" for float.sty
14421 * LaTeXFeatures.C (LaTeXFeatures): init floats
14422 (require): handle float
14423 (getPackages): do it with floats
14425 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14427 * BufferView_pimpl.C (Dispatch): improve handling of
14428 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14430 * commandtags.h: #include lyxfont.h here temporarily to avoid
14433 * bufferlist.h: include LString.h here.
14435 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14437 * text2.C (getStringToIndex): new method.
14439 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14441 * *: Reduced header file dependencies all over.
14443 2001-07-30 Baruch Even <baruch@lyx.org>
14445 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14447 2001-07-29 Baruch Even <baruch@lyx.org>
14449 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14451 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14453 * ParameterStruct.h (endif): add a default constructor to make
14454 sure that all variables is initialized.
14456 * ParagraphParameters.C (ParagraphParameters): adjust
14458 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14460 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14461 index; also, check that there is something to index, and that it
14462 does not span over several paragraphs.
14463 (doubleClick): use WHOLE_WORD_STRICT for double click.
14465 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14467 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14470 2001-07-26 Baruch Even <baruch@lyx.org>
14472 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14473 an InsetFig figure, backwards compatible reading of old figure code.
14475 2001-07-27 Juergen Vigna <jug@sad.it>
14477 * text2.C: font.realize function adaption.
14479 * text.C (draw): add a warnings lyxerr text if needed.
14481 * layout.C: font.realize function adaption.
14483 * language.C: add inherit_language and implement it's handlings
14485 * bufferview_funcs.C (StyleReset): remove language parameter from
14486 font creation (should be language_inherit now).
14488 * bufferparams.C (writeFile): handle ignore_language.
14490 * paragraph.C (getFontSettings): the language has to be resolved
14491 otherwise we have problems in LyXFont!
14493 * lyxfont.C (lyxWriteChanges): added document_language parameter
14494 (update): removed unneeded language parameter
14496 * paragraph.C (validate): fixed wrong output of color-package when
14497 using interface colors for certain fonts in certain environments,
14498 which should not seen as that on the final output.
14500 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14502 * BufferView_pimpl.C:
14507 * LyXAction.C: add thesaurus support
14510 * lyxfind.C: add "once" parameter, for thesaurus, to not
14511 move to the next match
14513 2001-07-26 Juergen Vigna <jug@sad.it>
14515 * lyxfont.C (realize): honor ignore_language too!
14518 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14520 * text.C (draw): one place more for ignore_language to not draw
14523 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14525 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14527 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14530 the minipage conversion problem.
14532 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14534 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14537 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14539 * BufferView.h: don't forward declare WorkArea
14541 * BufferView.C: don't include WorkArea.h
14543 2001-07-25 André Pönitz <poenitz@gmx.net>
14547 * lyxfunc.C: new LFUN 'math-space'
14549 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14551 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * text2.C (toggleInset): call open/close
14555 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * lyxfunc.C (dispatch): add debug for the disabled case
14559 * font.C (buttonText): make similar to rectText
14561 * buffer.C (readInset): comment out parsing of insetlist and
14564 * PainterBase.C (rectText): small correction
14566 * BufferView_pimpl.C: comment out insettheorem and insetlist
14567 * LyXAction.C: ditto
14568 * commandtags.h: ditto
14570 2001-07-24 Juergen Vigna <jug@sad.it>
14572 * text.C (draw): honor the ignore_language.
14574 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14576 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14578 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14581 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14583 * lyxtext.h: remove unused (and unimplemented) methods
14585 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14587 * text.C (getVisibleRow): honor background color
14590 * Painter.h: remove default color argument for fillRectangle
14592 * text.C (backgroundColor): new method
14594 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * text.C (getVisibleRow): adjust
14598 * font.[Ch] (rectText): new method, metrics
14599 (buttonText): new method, metrics
14601 * PainterBase.[hC]: make rectText and buttonText always draw and take
14604 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14606 * ToolbarDefaults.C (read):
14607 * MenuBackend.C (read): allow escaping in all strings
14609 * BufferView_pimpl.C (insertAndEditInset): new method.
14610 (Dispatch): use insertAndEditInset whenever appropriate.
14612 * BufferView_pimpl.C (insertNote): removed
14614 * BufferView_pimpl.C (smartQuote): new method, moved from
14615 BufferView; if an insetquote cannot be inserted, insert a '"'
14618 * BufferView2.C: remove insertCorrectQuote();
14620 * lyxfunc.C (getStatus): Add support for all remaingin
14621 inset-insert lfuns.
14623 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14625 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14626 command (necessary to pass " as parameter of self-insert.
14628 * text.C (selectWordWhenUnderCursor):
14629 (selectWord): add word_location parameter
14630 (selectWordWhenUnderCursor): same + remove special code for word
14632 (selectNextWord): use kind() to guess type of insetspecialchar,
14635 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14636 (insertErtContents): create ert insets as collapsed.
14637 (readInset): better compatibility code for Info inset.
14639 2001-07-20 Juergen Vigna <jug@sad.it>
14641 * lyxfunc.C (dispatch): use always LyXFind now!
14643 * text2.C (init): add a reinit flag so that the LyXText can be
14644 reinited instead of deleted and reallocated (used in InsetText).
14646 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14652 2001-07-18 Juergen Vigna <jug@sad.it>
14654 * text.C (selectNextWord): handle insets inside inset by calling
14655 always the bv->text functions so that we can go up the_locking_inset!
14657 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14658 in strange locations when inside an inset!
14660 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14661 handling to include insets.
14663 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14665 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14667 * LyXAction.C (init):
14669 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14670 LIGATURE_BREAK, since the name is so stupid.
14672 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14674 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14677 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14679 * sp_form.[Ch]: remove.
14681 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14683 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14686 * src/buffer.C (readInset): ditto.
14688 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14690 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14691 menuSeparator(), endOfSentenceDot(), ldots() and
14692 hyphenationPoint(), which are therefore removed.
14693 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14695 * LyXAction.C (init):
14696 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14698 * paragraph.C (getWord): removed.
14700 * BufferView_pimpl.C (Dispatch): use last word or selection for
14701 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14703 * lyx_main.C (queryUserLyXDir): do not ask before creating
14704 user_dir, except if it has been named explicitely.
14706 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14708 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14709 a document of zero size.
14711 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14713 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14714 approriately in the c-tor and in require().
14715 (getPackages): output the appropriate LaTeX for natbib support.
14717 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14718 variables "use_natbib" and "use_numerical_citations" when reading the
14720 (readInset): read the various natbib cite commands.
14721 (validate): white-space change.
14723 * bufferparams.[Ch]: new variables "bool use_natbib" and
14724 "bool use_numerical_citations".
14725 (writeFile): output them in the LyX file.
14727 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14729 * lyxfunc.C (getStatus): add support for all the inset insertion
14732 * text2.C (insertInset):
14733 * paragraph.C (insetAllowed):
14734 * BufferView_pimpl.C (insertInset): update to take in account the
14735 renaming of insertInsetAllowed
14737 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14739 * text2.C (getInset): new method. returns inset at cursor position.
14741 * BufferView_pimpl.C (Dispatch): changes because of this.
14743 * LyXAction.C (init): rename open-stuff to inset-toggle.
14745 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14747 * text2.C (toggleInset): renamed from openStuff; use
14750 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14752 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14754 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14756 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14758 * buffer.C (readLyXformat2): Add filename to the error dialog
14760 2001-07-18 Juergen Vigna <jug@sad.it>
14762 * tabular.C (GetCellNumber): put an assert here instead of the check!
14764 2001-07-17 Juergen Vigna <jug@sad.it>
14766 * BufferView_pimpl.C (toggleSelection): adapted too.
14768 * text.C (selectNextWord): adapted for use with insets.
14769 (selectSelectedWord): ditto
14771 2001-07-17 Juergen Vigna <jug@sad.it>
14773 * sp_spell.C (PSpell): fix initialitation order.
14775 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14777 * paragraph.C: spacing
14779 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14781 * sp_spell.C: repair language selection for pspell
14783 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * lyxfunc.h: change more methods to begin with lower char.
14787 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14789 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14790 for unknown layouts.
14792 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14794 * buffer.C (readLyXformat2): Generate an error dialog if there are
14797 2001-07-16 Juergen Vigna <jug@sad.it>
14799 * sp_spell.C: always compile ISpell part.
14801 * lyxrc.C: added use_pspell entry and it's handling.
14803 2001-07-13 Juergen Vigna <jug@sad.it>
14805 * sp_spell.C: removed double includes.
14807 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14809 Consistent use of Lsstream.h:
14810 * Lsstream.h: added using std::stringstream for consistencies sake.
14812 * buffer.C: removed using std::stringstream
14814 * lyxfont.C (stateText):
14815 * paragraph.C (asString):
14816 * text.C (selectNextWord, selectSelectedWord):
14817 * text2.C (setCounter):
14818 * vspace.C (asString, asLatexString):
14819 std::ostringstream -> ostringstream.
14821 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14823 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14824 * commandtags.h: add LFUN_HELP_ABOUTLYX
14825 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14827 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14829 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14831 * lyx_gui_misc.C: remove spellchecker
14832 * lyxfunc.C: showSpellchecker
14834 * sp_ispell.h: added
14835 * sp_pspell.h: added
14836 * sp_spell.C: added
14837 * sp_form.[Ch]: removed
14838 * spellchecker.[Ch]: removed
14840 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14842 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14844 (simpleTeXSpecialChars): Simply print the input character without
14845 any special translation if pass_thru is set.
14847 * layout.h: Added bool pass_thru to layout class for being able to
14848 implement pass through of a paragraph for Literate Programming.
14850 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14851 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14852 * layout.C (Read): add "passthru" to list of layout tags and add
14853 code to set the pass_thru boolean when it is read.
14855 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * trans_decl.h: remove allowed from KmodInfo
14859 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14860 remove allowed code
14863 * paragraph_pimpl.C (erase): use boost::prior
14865 * Painter.C (text): use data() instead of c_str() when length is
14867 * WorkArea.C (putClipboard): ditto
14868 * font.h (width): ditto
14870 * BufferView2.C: use it-> instead of (*it). for iterators
14872 * paragraph_pimpl.C: ditto
14873 * paragraph.C: ditto
14874 * minibuffer.C: ditto
14875 * language.C: ditto
14877 * encoding.C: ditto
14878 * counters.C: ditto
14879 * converter.C: ditto
14881 * Variables.C: ditto
14882 * TextCache.C: ditto
14883 * MenuBackend.C: ditto
14884 * LyXAction.C: ditto
14886 * FloatList.C: ditto
14887 * DepTable.C: ditto
14888 * ColorHandler.C (LyXColorHandler): ditto
14890 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14892 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14894 * text2.C (openStuff): reintroduce this method (which had been
14895 nuked in NEW_INSETS frenzy).
14897 * lyxfunc.C (Dispatch): when an action has not been handled, use
14898 its name in the error message, not its number.
14900 * paragraph.C (inInset): change method name to begin with lowercase.
14903 * text2.C: updates because of this.
14905 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14907 * ToolbarDefaults.C (add): add spaces in error message
14909 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14911 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14912 (readLyXformat2): rename return_par to first_par, use lyxlex's
14913 pushToken and remove the manual push handling.
14914 (parseSingleLyXformat2Token): add another ert comp. variable:
14915 in_tabular, rename return_par to first_par. handle newlines better
14917 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14921 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14923 * text2.C (getParFromID): removed
14925 * buffer.C (getParFromID): new method moved form lyxtext.
14926 * BufferView2.C (insertErrors): adjust
14927 (setCursorFromRow): adjust
14928 * BufferView_pimpl.C (restorePosition): adjust
14929 * lyxfunc.C (Dispatch): adjust
14930 * undo_funcs.C (textUndo): adjust
14932 (textHandleUndo): adjust
14933 (textHandleUndo): adjust
14935 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14937 * buffer.C: up' the LYX_FORMAT
14939 * lyxfont.h: turn NO_LATEX on as default
14941 * buffer.C (insertErtContents): new methods of tex style compability.
14942 (parseSingleLyXformat2Token): use it several places.
14943 * tabular.C (OldFormatRead): and here
14945 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * text2.C: remove some commented code.
14950 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14951 * trans.C: changes because of the above.
14953 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14955 * text2.C (setCounter): Fix counters bug with bibliography layout.
14957 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14959 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14960 own member functions
14961 (simpleTeXSpecialChars): ditto
14963 2001-07-06 Juergen Vigna <jug@sad.it>
14965 * a lot of files: changed the access to LyXText::status and the
14966 call of undo-functions.
14968 * undo.[Ch]: added a inset_id to the undo informations.
14970 * undo_funcs.[Ch]: added and moved here all undo functions.
14972 * lyxtext.h: give the status enum a weight, made status_ a private
14973 variable and made accessor functions for it, removed the whole bunch
14974 of undo-functions as they are now in their own file, make some
14975 functions publically available. Added function ownerParagraph with
14978 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14979 made InInset() a const function, added getParFromID() function.
14981 * buffer.[Ch]: added const version for inset_iterator functions,
14982 added getInsetFromID() function.
14984 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14985 changed undo functions for new version.
14987 2001-07-05 Juergen Vigna <jug@sad.it>
14989 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14990 unknow mechanism does not call the proper constructor but only this
14991 one also if I request the other!?
14993 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14995 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14997 * text2.C (LyXText): use initialization lists.
14999 * lyxtext.h (Selection): initialize set_ and mark_
15000 (init): remove method
15002 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15004 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15006 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15008 * screen.[Ch]: change method names to begin with lowercase
15010 * BufferView_pimpl.C (updateScrollbar): simplify further and
15011 hopefully make it a bit faster.
15013 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15015 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15016 calling directly xforms functions.
15018 * Painter.C (Painter):
15019 * lyx_cb.C (MenuWrite):
15020 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15023 * lyx_gui.C: remove bogus guiruntime extern declaration.
15025 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15027 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15029 (redoDrawingOfParagraph): ditto
15030 (redoParagraphs): ditto
15031 (cutSelection): don't create a object for CutAndPaste use the
15032 static method directly
15033 (pasteSelection): ditto
15035 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15038 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15040 * modifications to some other files because of this.
15042 * Makefile.am (lyx_SOURCES): add XFormsView
15044 * XFormsView.[Ch]: new files
15046 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15047 the main window. Move the gui dependent stuff to XFormsView
15049 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15051 * tabular.C (GetCellInset): update cur_cell also in the row/col
15052 version of this function.
15054 * lyxfunc.C: no need to include figure_form.h here.
15060 * lyxvc.C: no need to include forms.h here.
15062 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15064 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15066 * lyxfunc.C (Dispatch):
15068 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15069 constructor argument.
15071 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * paragraph.C (Paragraph): dont't clear, and just set layout.
15074 (makeSameLayout): use params's copy contructor.
15076 * ParagraphParameters.[Ch] (makeSame): delete method
15078 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15080 * Variables.[Ch]: fix indentation, rename set to isSet
15082 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * lyxfunc.C (Dispatch): fix typo
15086 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15088 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15091 * bufferlist.C: include assert.h for emergencyWrite().
15093 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15095 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15096 give up at last (bug #425202) !
15098 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15104 * spellchecker.C: strip spellchecker options and bring up
15105 preferences tab instead
15107 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15109 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15110 the istringstream constructor
15112 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15114 * paragraph.C (getLayout): fix return value
15116 * paragraph.h: do not declare getLayout as inline.
15118 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15120 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15122 * lyxcursor.h (operator<): new func
15123 (operator>): new func
15124 (operator>=): new func
15125 (operator<=): new func
15127 * text.C (changeCase): use selection.start and selection.end
15128 (changeRegionCase): require from to be <= to. Require par to be a
15131 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15133 2001-06-27 Juergen Vigna <jug@sad.it>
15135 * text.C (cursorLeftOneWord): changed to return the cursor and added
15136 overlay with BufferView * parameter which calls this one.
15138 (selectWord): use new getWord function.
15139 (changeCase): renamed from changeWordCase as and extended to work
15140 also on selections.
15142 * lyxtext.h: added enum word_location
15144 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15145 changeCase as this operates now also on selections.
15147 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15149 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15151 * many files: send debug output to Debug::INFO instead of
15154 * converter.C (View):
15156 (Move): send debug output to Debug::FILES instead of console.
15158 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15160 * lyxfunc.C (getStatus): use func_status
15162 * func_status.h: new header, describing the results of
15163 LyXFunc::getStatus;
15165 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15168 2001-06-25 The LyX Project <jug@sad.it>
15170 * buffer.C (sgmlOpenTag):
15172 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15174 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15176 * text2.C: remove some dead code
15178 * tabular.C (GetCellInset): store the last cell checked (gotten)
15180 * tabular.h: add the helper for the speedup
15182 * lyxtext.h: remove some dead code
15184 2001-06-26 The LyX Project <Asger>
15186 * paragraph.C: Change export to LaTeX of alignment to
15187 \begin{center} and family for better roundtrip work with reLyX.
15189 * Tune the math drawing a bit.
15191 2001-06-25 The LyX Project <Asger>
15193 * LColor.C (LColor): New color for math background. New color
15196 2001-06-25 The LyX Project <jug@sad.it>
15198 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15200 * lyxfunc.C (Open):
15201 * bufferlist.C (newFile): do not restrict to files ending with
15204 * BufferView_pimpl.C (MenuInsertLyXFile):
15206 2001-06-24 The LyX Project <jug@sad.it>
15208 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15211 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15213 * lyxtext.h: rename most methods to begin with a small char.
15214 Lots of changes because of this.
15216 * paragraph.C (Paragraph): do not call fitToSize
15217 (erase): call Pimpl::erase
15218 (insertChar): call Pimpl::insertChar
15219 (insertInset): call Pipl::insertInset
15220 (breakParagraph): do not call fitToSize
15221 (breakParagraphConservative): do not call fitToSize
15222 (fitToSize): remove method
15224 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15226 2001-06-24 The LyX Project <Asger>
15228 * Fix Qt compilation^2
15230 2001-06-24 The LyX Project <jug@sad.it>
15232 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15233 depthHook(getDepth()-1).
15236 * ParagraphParameters.h:
15237 * ParameterStruct.h: change type of depth to unsigned int ==
15238 depth_type. Many adaptations to other files before of that.
15240 2001-06-24 The LyX Project <Asger>
15242 * Fix Qt compilation.
15244 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15246 * paragraph.h: renamed several methods to begin with small letter.
15247 several changes to many parts of the code because of this.
15249 2001-06-23 The LyX Project <jug@sad.it>
15251 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15252 rewritten to discard all double spaces when KeepEmpty is off
15253 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15254 to only handle newlines but not fiddle with spaces and friends.
15256 * lyxfunc.C (MenuNew): when doing 'new from template', use
15257 template_path as default directory
15259 2001-06-23 The LyX Project <Asger>
15261 * Clean-up of header file includes all over
15262 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15264 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15266 * paragraph.h: renamed from lyxparagraph.h
15268 2001-06-23 Asger <lyx@violet.home.sad.it>
15270 * Buffer.h: Removed Buffer::resize
15271 * BufferList.h: Removed BufferList::resize
15272 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15273 the document lazily when we change the width, or the font settings.
15275 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15277 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15279 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15281 * buffer.h: remove out of date comment
15283 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15286 * screen.C: fix "theoretical" GC leak
15288 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15290 * LaTeX.C (scanAuxFile):
15291 (deplog): remove trailing \r when reading stream (useful under
15294 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15296 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15297 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15298 and BufferView::theLockingInset(Inset*), so should use them and not
15299 access bv_->text->the_locking_inset directly.
15301 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15303 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15306 * tex-defs.h: remove old unused file
15308 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15310 * BufferView_pimpl.C: fix typo, remove minibuffer message
15311 when buffer has loaded
15313 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15315 * lyxfunc.C (Dispatch): use stringstream
15316 (MenuNew): use stringstream
15317 (Open): use stringstream
15319 * importer.C (Import): use stringstream
15321 * bufferview_funcs.C (CurrentState): use stringstream
15323 * LaTeX.C (run): use stringstream
15325 * BufferView_pimpl.C (savePosition): use stringstream
15326 (restorePosition): use stringstream
15327 (MenuInsertLyXFile): use stringstream
15329 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15342 * vspace.C: removed // -*- C++ -*- as first line.
15345 * version.h: added // -*- C++ -*- as first line.
15347 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15349 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15351 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15354 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15359 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15361 * gettext.C: include LString.h even when --disable-nls is on.
15363 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15365 * converter.h (Get): changed argument type from int to
15366 FormatList::size_type to avoid unnecessary conversion.
15368 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15371 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15373 * gettext.h: include LString.h even when --disable-nls is on.
15375 2001-06-07 Juergen Vigna <jug@sad.it>
15377 * text.C (BreakAgain): subst spaces with tabs.
15379 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15380 (resizeInsetsLyXText): set force on resizeLyXText.
15382 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15384 * gettext.h (gettext_init):
15385 (locale_init): use a real definition instead of a macro
15387 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15389 * Bufferview_pimpl.C:
15391 * LColor.C: further lcolor tidies
15393 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15395 * BufferView_pimpl.C (updateScrollbar): simplify.
15397 * BufferView2.C: don't include insets/insetinfo.h, change
15398 prototype for insertInset and call the Pimpl version. let
15399 updateInset call Pimpl version.
15401 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15402 gotoInset to BufferView::Pimpl
15404 2001-06-01 Juergen Vigna <jug@sad.it>
15406 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15407 inside a LockingInset (is the update needed at all?).
15409 2001-05-31 Juergen Vigna <jug@sad.it>
15411 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15412 here not the old one otherwise how should we compare it afterwards
15415 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15420 * FontInfo.C: bring C functions into global namespace when
15423 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15425 * LString.h: make sure config.h has been loaded before LString.h.
15427 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15428 (one for each char read by EatLine!).
15430 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15433 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15436 to the same as the par we break from
15438 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15440 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15442 * MenuBackend.C (expand): also create menu entries for wide
15443 versions of the floats.
15445 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15447 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15449 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15450 frontends/Makefile.am
15456 * tabular.C (getTokenValue): add std::
15458 * tabular-old.C (getTokenValue): add std::
15459 (getTokenValue): ditto
15460 (getTokenValue): ditto
15462 * screen.C (ToggleSelection): adjust
15464 * lyxtext.h: put selection cursors inside a Selection struct.
15466 * lyxfunc.C (moveCursorUpdate): adjust
15468 * lyxfont.C (latexWriteStartChanges): add std::
15470 * lyxfind.C: adjust
15472 * font.h: delete with(char const *, LyXFont const &)
15474 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15476 * FontInfo.C (getFontname): add std::
15478 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15479 (workAreaButtonPress): adjust
15480 (tripleClick): adjust
15482 (moveCursorUpdate): adjust
15485 * BufferView2.C (gotoInset): adjust
15487 2001-05-30 Juergen Vigna <jug@sad.it>
15489 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15490 to check pspell I add this as default as I now have new pspell
15491 libraries and they seem to use this.
15493 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15495 * text2.C (CutSelection): make the cursor valid before the call to
15498 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15500 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15501 relied on 0 terminated strings and other horrors. Bug found due to
15502 the new assert in lyxstring!
15504 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15507 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15509 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15512 * lyxfunc.C (processKeySym): change method of getting to the
15515 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15516 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15517 * BufferView_pimpl.[Ch]: here as private methods.
15519 2001-05-28 Juergen Vigna <jug@sad.it>
15521 * text.C (SetHeightOfRow): added the update() call again as it is
15522 needed to initialize inset dimensions!
15524 2001-05-16 Juergen Vigna <jug@sad.it>
15526 * text2.C (SetCharFont): Add new function with BufferView * and
15527 bool toggleall parameters for setting insets internal fonts.
15528 (SetFont): Freeze the undo as we may change fonts in Insets and
15529 all this change should be inside only one Undo!
15531 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15532 setting font's in insets as for them we have the SetFont function!
15534 2001-05-15 Juergen Vigna <jug@sad.it>
15536 * text2.C (ClearSelection): to be sure we REALLY don't have any
15539 * tabular.C (TeXCellPreamble): fixed the left border problem for
15542 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15544 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15547 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15549 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15550 LFUN_BREAKPARAGRAPH.
15552 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15553 help test to "internal only", similar for LFUN_INSERT_URL
15555 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15556 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15557 auto_region_delete and deadkeys.
15559 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15562 * LColor.C: remove some dead entries, tidy a little
15564 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15566 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15568 (Dispatch): implement LFUN_ESCAPE
15570 * commandtags.h: add LFUN_ESCAPE
15572 * LyXAction.C (init): add entry for LFUN_ESCAPE
15574 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15575 Remove commented code.
15576 (insertNote): moved here
15577 (open_new_inset): moved here
15579 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15582 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15584 * kbmap.C (findbinding): clean it up and make it work correctly.
15586 * lyx_main.C (init): do not pass argc and argv as parameters
15588 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15590 * buffer.C: fix path for OS/2 & Win32
15594 * lyx_main.C: Added os:: class.
15596 * os2_defines.h: update
15598 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15601 better by trying again with reduced state.
15603 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15605 * lyxrc.C (read): print error about invalid key sequence only when
15606 debugging (because not all latinX keysyms are known to some X
15609 * kbsequence.C (getiso): add a few std:: qualifiers
15610 (getiso): comment out extra return statement.
15612 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15614 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15616 (Dispatch): enhance the accent inset a bit. (not perfect)
15618 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15620 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15622 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15624 * bufferlist.C (emergencyWrite): fix assert() call
15626 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15628 * text.C (InsertChar): Added trivial patch to only send the "you
15629 can not do multiple spaces this way" message once during a
15632 2001-05-08 Baruch Even <baruch@lyx.org>
15634 * Makefile.am: Changed order of libraries to get LyX to link properly
15635 with the gnome frontend.
15637 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15639 * LaTeXFeatures.h: add a std:: qualifier
15641 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15643 * paragraph.C (String): use stringstream
15645 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15647 * paragraph.C (writeFile): remove footflag arg
15649 * buffer.C (makeLaTeXFile): use stringstream
15650 (latexParagraphs): remove footnot gurba
15652 * LaTeXFeatures.C (getPackages): use stringstream
15653 (getMacros): likewise
15654 (getTClassPreamble): likewise
15655 (getFloatDefinitions): new method
15657 * paragraph.C (writeFile): reindent
15660 * WorkArea.h: revert the xpos + etc changes.
15662 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15664 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15666 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15667 (pasteSelection): likewise
15668 * text2.C (CreateUndo): likewise
15670 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * minibuffer.C (peek_event): temporarily reduce the functionality
15673 of the minibuffer (to allow args on lfuns)
15675 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15676 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15678 * buffer.C (readInset): add compability reading of old float
15679 lists, add reading of new style float list.
15680 (readInset): avoid reevaluation of inscmd.getCmdName()
15681 (getLists): reindent
15683 * MenuBackend.C (MenuItem): implement parsing of
15684 md_floatlistinsert and md_floatinsert.
15685 (expand::LastFiles): move initalizaton of iterators out of loop,
15686 avoid reevaluation.
15687 (expand::Documents): introduce typdedef vector<string> Strings,
15689 (expand::ExportFormats): introduce typedef vector<Format const *>
15690 Formats, and use it.
15691 (expand): implement FloatListInsert and FloatInsert.
15693 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15694 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15695 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15697 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15699 (Dispatch::LFUN_FLOAT_LIST): implement
15701 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15703 * LaTeX.C (run): Fix problem with --export code.
15705 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15707 * BufferView.[Ch] (workarea): removed.
15708 (getClipboard) new method; wrapper for workarea()->getClipboard()
15710 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15713 * WorkArea.h (width, height, xpos, ypos): These methods all
15714 returned the dimensions of the work_area sub-area of WorkArea,
15715 resulting in a position error if the WorkArea were resized. Now
15716 return the dimensions of the entire WorkArea.
15718 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15720 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15722 * LaTeX.C (deplog): correct the syntax of regex reg1
15724 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15726 * undo.C: remove !NEW_INSETS cruft
15728 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15730 * text2.C: remove !NEW_INSETS cruft
15732 * text.C: remove !NEW_INSETS cruft
15734 * tabular.C: remove !NEW_INSETS cruft
15736 * spellchecker.C: remove !NEW_INSETS cruft
15738 * lyxtext.h: remove !NEW_INSETS cruft
15740 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15742 * lyxfunc.C: remove !NEW_INSETS cruft
15744 * lyxfind.C: remove !NEW_INSETS cruft
15746 * lyx_cb.C: remove !NEW_INSETS cruft
15748 * figureForm.C: remove !NEW_INSETS cruft
15750 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15752 * buffer.[Ch]: remove !NEW_INSETS cruft
15754 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15756 * CutAndPaste.C: remove !NEW_INSETS cruft
15758 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15760 * BufferView2.C: remove !NEW_INSETS cruft
15762 * BufferView.h: remove !NEW_INSETS cruft
15764 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15766 * Lsstream.h: include LString.h before the sstream headers to
15767 fix problem with gcc 2.95.3 and lyxstring
15769 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15771 * lyx_main.C: add using directives when needed for C functions
15772 declared in std:: namespace.
15774 2001-04-27 Juergen Vigna <jug@sad.it>
15776 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15777 (SetHeightOfRow): comment out the update call should not be needed!
15779 2001-04-13 Juergen Vigna <jug@sad.it>
15781 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15782 (LyXTabular): tried to minimize operator= operations (and realized
15783 hopfully Lars wish).
15785 2001-04-27 Juergen Vigna <jug@sad.it>
15787 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15789 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15791 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15793 * buffer.C (readInset): hack to make listof algorithm work
15795 * BufferView_pimpl.C: hack to make listof algorithm work
15797 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * LyXAction.C: removed all !NEW_INSETS cruft
15800 (init): moved lfun_item in method
15802 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15804 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15806 * BufferView2.C (theLockingInset): white space.
15808 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15810 * minibuffer.C: include <iostream>
15812 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15814 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15816 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15818 * text.[Ch] (TransposeChars): new method
15820 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15822 * call message directly through LyXView instead of through LyXFunc
15823 * BufferView2.C: adjust
15824 * BufferView_pimpl.C: adjust
15825 * FontLoader.C: adjust
15827 * bufferview_funcs.C: adjust
15828 * converter.C: adjust
15829 * figureForm.C: adjust
15830 * importer.C: adjust
15832 * lyx_gui_misc.C: adjust
15833 * lyxfunc.C: adjust
15836 + more files in subdirs
15838 * lyxparagraph.h (size): move up int file
15841 * adjust all uses of Assert to lyx::Assert.
15843 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15844 lyxfunctional in namespace lyx
15845 * layout.C (hasLayout): ditto
15848 (delete_layout): ditto
15849 (NumberOfClass): ditto
15850 * converter.C (GetFormat): ditto
15855 * bufferlist.C (getFileNames): ditto
15856 (emergencyWriteAll): ditto
15859 * MenuBackend.C (hasSubmenu): ditto
15862 * BufferView_pimpl.C (getInsetByCode): ditto
15864 2001-04-18 Juergen Vigna <jug@sad.it>
15866 * vspace.C (asLatexString): fixed the 100% problem.
15868 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15870 * lyxfunc.C (Dispatch):
15872 * minibuffer.h: add a few std:: qualifiers
15874 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15876 * minibuffer.[Ch]: reimplement so that commands is initiated and
15877 run from lyxfunc, simplified som handling, and made the completion
15878 and history code for complete. wip.
15880 * lyxfunc.C (processKeySym): call message
15881 (miniDispatch): new temporary method
15882 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15883 (LFUN_MESSAGE): implement
15884 (LFUN_MESSAGE_PUSH): implement
15885 (LFUN_MESSAGE_POP): implement
15886 (initMiniBuffer): the initial/defualt minibuffer message.
15888 * lyxfont.[Ch]: inline some more getters
15890 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15892 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15894 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15895 (AutoSave): use LFUN_MESSAGE
15896 (Reconfigure): ditto
15898 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15900 * figureForm.C: use LFUN_MESSAGE
15902 * converter.C (runLaTeX): use LFUN_MESSAGE
15904 * bufferview_funcs.C: use LFUN_MESSAGE
15906 (changeDepth): ditto
15908 * bufferparams.h: use boost::
15910 * bufferlist.h: inherit privately from noncopyable
15912 * bufferlist.C (loadLyXFile): remove some commented code.
15914 * buffer.C (runChktex): use LFUN_MESSAGE
15916 * ShareContainer.h: inherit privately from noncopyable
15918 * ParagraphParameters.[hC] (depth): inline it.
15920 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15922 (message): new method
15923 (messagePush): ditto
15924 (messagePop): ditto
15925 (show): init minibuffer
15926 (showState): direct call
15928 * LaTeX.[Ch]: inherit privately from noncopyable
15929 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15930 instead of WriteStatus.
15932 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15934 * BufferView_pimpl.C (buffer): don't init minibuffer
15935 (workAreaButtonPress): use LFUN_MESSAGE
15936 (workAreaButtonRelease): ditto
15937 (savePosition): ditto
15938 (restorePosition): ditto
15939 (MenuInsertLyXFile): ditto
15940 (workAreaExpose): don't init minibuffer
15941 (update): remove commented code, simplify
15943 * BufferView2.C (openStuff): use LFUN_MESSAGE
15944 (toggleFloat): ditto
15947 (copyEnvironment): ditto
15948 (pasteEnvironment): ditto
15953 (updateInset): remove some commented code
15955 * lastfiles.h: inherit privately from noncopyable
15958 * lyx_main.h: ditto
15960 * lyxlex_pimpl.h: ditto
15962 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15963 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15964 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15966 * LyXAction.h: inherit privately from noncopyable, add methods
15967 func_begin, func_end, returning iterators to the func map.
15969 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15970 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15971 (func_begin): new method
15972 (func_end): new method
15974 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15976 (copySelection): ditto
15977 (pasteSelection): ditto
15979 * BufferView.C: whitespace change
15980 * BufferView.h: inherit privately from noncopyable
15982 2001-04-16 Allan Rae <rae@lyx.org>
15984 * tabular-old.C (l_getline):
15985 * spellchecker.C (sc_check_word):
15986 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15987 an unrecognised preprocessor directive. So ensure they're wrapped.
15989 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15991 * src/exporter.C (Export): Give an error message when path to file
15994 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15996 * LaTeX.C (deplog): Always check that foundfile exists.
15998 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16001 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16003 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16005 * tabular.[Ch] (getLabelList): implement new method
16007 * minibuffer.h: comment ouf setTiimer
16009 * minibuffer.C (ExecutingCB): constify res
16010 (peek_event): constify s
16011 (Set): constify ntext
16012 (Init): constify nicename
16014 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16016 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16017 (savePosition): use two params to Minibuffer::Set
16018 (restorePosition): ditto
16020 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16022 * lyx_main.C: include language.h
16024 * Makefile.am (lyx_main.o): add language.h
16026 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16032 * CutAndPaste.C: include gettext.h
16034 * lyxfont.h: remove old hack with ON and OFF.
16037 * lyxfont.h: do not include language.h...
16042 * bufferview_funcs.C:
16048 * paragraph.C: ... but do it here instead
16050 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16052 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16054 * tabular.C: small reformat
16056 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16059 (BreakParagraph): ditto
16060 (SetOnlyLayout): ditto
16063 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16066 * lastfiles.C: removed most using decl, add std:: where needed
16068 * buffer.C: ws changes
16070 * MenuBackend.C (class compare_format): put into anon namespace
16071 (expand): constify label, names, action, action2
16074 * text.C (SingleWidth): constify font
16075 (IsBoundary): constify rtl2
16076 (GetVisibleRow): constify ww
16078 * LaTeX.C (deplog): constify logfile
16080 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16082 (workAreaExpose): constify widthChange, heightChange
16084 * lyxrow.C (par): moved
16087 * lyxrow.h: as inlines here
16089 * lyxfont.h (shape): moved from lyxfont.C
16090 (emph): moved from lyxfont.C
16092 * lyxfont.C (LyXFont): use initialization list for all
16094 (shape): move to lyxfont.h as inline
16095 (emph): move to lyxfont.h as inline
16098 2001-04-04 Juergen Vigna <jug@sad.it>
16100 * vspace.C: had to include stdio.h for use of sscanf
16102 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16105 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16106 independent of xforms.
16108 2001-04-02 Juergen Vigna <jug@sad.it>
16110 * spellchecker.C: fixed namespace placing!
16112 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16114 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16115 the LyXParagraph * is 0.
16117 2001-03-29 Juergen Vigna <jug@sad.it>
16119 * vspace.C: added support for %, c%, p%, l%.
16120 (stringFromUnit): added helper function.
16121 (asLatexString): changed to give right results for the %-values.
16123 * buffer.C: convert the widthp in a width%.
16125 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16127 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16130 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16131 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16133 * lyx_cb.[Ch]: see above.
16135 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16139 * lyx.[Ch]: replaced by figure_form.[Ch].
16143 * lyxfunc.C: changed headers associated with above changes.
16145 2001-03-27 Juergen Vigna <jug@sad.it>
16147 * BufferView_pimpl.C: set the temporary cursor right!
16149 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16151 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16153 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16155 * LString.h: removed "using std::getline"!
16157 * BufferView_pimpl.C (Dispatch): changes due to changes in
16158 InsetInclude::Params.
16160 * buffer.C (tag_name): removed redundant break statements as they were
16161 producing lots of warnings with my compiler.
16163 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16165 * LString.h: add "using std::getline" when using the real <string>.
16167 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16169 * buffer.C: removed bitset usage.
16170 PAR_TAG moved to an anonymous name space.
16171 (tag_name): new funtion, also in the anonymous namespace.
16172 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16173 (makeDocBookFile): clean code. Completed transition from string arrays
16175 (SimpleDocBookOnePar): code clean.
16177 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16179 * tabular.C: add some comments.
16181 2001-03-22 Juergen Vigna <jug@sad.it>
16183 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16184 compatibility read a bit and fixed bug with minipage in different
16187 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16189 * buffer.C (pop_tag): removed.
16190 (push_tag): removed.
16191 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16192 array replaced with vector. Added support for CDATA sections.
16193 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16195 (makeDocBookFile): XML conformant declaration of CDATA section,
16196 fixed bug related to <emphasis> in the first paragraph char.
16197 (sgmlOpenTag): exclude empty tags.
16198 (sgmlCloseTag): ditto.
16200 * buffer.h (pop_tag): removed.
16201 (push_tag): removed.
16203 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16205 * language.h (Languages): added size_type and size().
16207 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16209 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16210 response on compability reading of minipages. One probliem is that
16211 the old usage of minipages was «flertydig»
16213 * several files here and in subdirs: don't use static at file
16214 scope use anon namespaces instead.
16216 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16218 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16219 LaTeX output. This is necessary for Literate document
16222 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16224 * buffer.C: insert hfill when needed.
16226 * tabular.C (l_getline): use string::erase, small whitespace change.
16228 * BufferView_pimpl.C: try the anon namespace.
16229 * WorkArea.C: ditto
16231 2001-03-16 Juergen Vigna <jug@sad.it>
16233 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16234 otherwise it won't open options-dialogs.
16236 * buffer.C: honor pextraWidth(p) on converting minipages.
16238 * tabular.C (l_getline): changed the functions to strip trailing \r.
16240 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16242 * BufferView_pimpl.C:
16243 * minibuffer..C: added "using SigC::slot" declaration.
16245 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16247 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16253 * paragraph.C: ditto
16255 * lyxtext.h: NO_PEXTRA
16257 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16259 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16260 * ParameterStruct.h: ditto
16261 * ParagraphParameters.h: ditto
16262 * lyxparagraph.h: ditto
16264 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16266 * buffer.C: add compability for minipage alignment.
16267 (latexParagraphs): remove unwanted pextra check.
16269 * several files: remove CXX_WORKING_NAMESPACES
16271 * buffer.C (pop_tag): tie is in namespace boost
16273 * BufferView.h: noncopyable is in namespace boost
16275 * lyx_main.h: ditto
16278 * lastfiles.h: ditto
16279 * bufferlist.h: ditto
16280 * ShareContainer.h: ditto
16282 * LyXAction.h: ditto
16285 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16287 * Merging changes from BRANCH_MVC back into HEAD.
16289 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16291 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16293 * BufferView_pimpl.C: change from intl.C
16297 * Makefile.am: move combox.*
16303 * intl.C: remove dialog (covered by prefs)
16305 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16307 * lyxfunc.C (Dispatch): removed redundant break statement.
16309 2001-03-14 Juergen Vigna <jug@sad.it>
16311 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16313 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16315 * buffer.C: add hack to fix compability reading of minipages.
16317 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16319 * buffer.C (getLists): Cleanup.
16321 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16323 * lyxfont.C (update): don't honor toggleall on font size.
16325 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16329 * Makefile.am: moved to frontends/xforms/
16333 * BufferView_pimpl.C: changes for moved mathpanel
16335 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16337 * gettext.h: fix gettext_init() in --disable-nls
16339 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16341 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16343 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16346 * lyx.h: strip external form
16348 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16350 * BufferView_pimpl.C: add comment, destroySplash()
16352 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16354 * BufferView_pimpl.C:
16358 * lyxfunc.C: use re-worked insetinclude
16360 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16362 * buffer.C: add using std::stringstream.
16364 * lyx_cb.C: readd using std::ios.
16366 * buffer.C: add using std::map.
16368 * BufferView_pimpl.C: add using std::vector.
16370 * ShareContainer.h: add std:: to swap.
16372 * buffer.h: add some typedefs
16373 * buffer.C (getLists): use them
16374 (getLists): renamed from getTocList.
16375 add a counter for the different float types and use it in the
16377 (getLists): use the same counter for the NEW_INSETS and the "non"
16380 * lyx_cb.h: remove unused items, includes, using etc.
16382 * ShareContainer.h: remove some commented code, add more comments
16383 and "documentation".
16385 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16387 * buffer.C (getTocList): make the list also when NEW_INSETS is
16390 * buffer.h: remove TocType
16392 * buffer.C (getTocList): change to return a map<string,
16393 vector<TocItem> >, implement for dynamic number of list.
16395 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16396 * text2.C (PasteSelection): adjust
16397 * CutAndPaste.C (pasteSelection): adjust
16399 * FloatList.C (FloatList): update from the new_insets branch.
16400 * Floating.[Ch]: ditto
16401 * LaTeXFeatures.C: ditto
16403 * lyxlex_pimpl.C: ditto
16405 * paragraph.C (Last): remove when NEW_INSETS is defined.
16407 * other file: changes because of the above.
16409 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16411 * lyxparagraph.h: rename next to next_, previous to previous_,
16412 make them private for NEW_INSETS. Rename Next() to next(),
16413 Previous() to previous().
16415 * other files: changes because of the above.
16417 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16420 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16423 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16425 * main.C (main): pass lyx_localedir to gettext_init().
16427 * gettext.h: remove locale_init and gettext_init macros
16429 * gettext.C (locale_init): new function
16430 (gettext_init): new function
16432 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16435 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16437 * Moved credits to frontends:
16438 * credits.[Ch]: removed
16439 * credits_form.[Ch]: removed
16440 * lyx_gui_misc.C: remove credits stuff
16443 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16445 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16447 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16448 unneeded destructor.
16450 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16451 a standalone pointer again.
16453 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16455 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16461 * ToolbarDefaults.C:
16470 * BufferView_pimpl.C: use new file dialog in GUII
16473 * lyx_cb.C: remove LayoutsCB to Toolbar
16475 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16477 * ShareContainer.h (get): add std:: qualifier
16479 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16481 * ShareContainer.h: define a proper ShareContainer::value_type
16482 type (and use typename to please compaq cxx)
16484 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16486 * lyxparagraph.h: move serveral local vars to
16487 ParameterStruct/ParagraphParameters., use ShareContainer in
16488 FontTable., make vars in FontTable private and add getter and
16491 * paragraph.C: changes because of the above.
16493 * lyxfont.h: remove copy constructor and copy assignment. (the
16494 default ones is ok), move number inside FontBits. move inlines to
16497 * lyxfont.C: add number to initializaton of statics, move several
16498 inlines here. constify several local vars. some whitespace
16499 cleanup. Dont hide outerscope variables.
16501 * Spacing.h: add two new constructors to match the set methods.
16503 * ShareContainer.h: new file, will perhaps be moved to support
16505 * ParameterStruct.h: new file
16507 * ParagraphParameters.h: new file
16509 * ParagraphParameters.C: new file
16511 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16512 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16514 * BufferView_pimpl.C: ParagraphParameter changes.
16515 * buffer.C: Likewise.
16516 * bufferview_funcs.C: Likewise.
16517 * text.C: Likewise.
16518 * text2.C: Likewise.
16520 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16522 * lyxfind.C (LyXReplace): do not redefine default argument in
16524 (IsStringInText): ditto
16525 (SearchForward): ditto
16526 (SearchBackward): ditto
16528 2001-03-06 Juergen Vigna <jug@sad.it>
16530 * lyxfind.C (IsStringInText): put parentes around expressions.
16532 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16534 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16536 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16538 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16540 * stl_string_fwd.h: add comment
16542 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16545 * tabular.C: remove unused DocBook methods
16551 killed DO_USE_DEFAULT_LANGUAGE
16553 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16555 * lyx_gui.C: do not include language.h.
16557 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16558 arguments in function implementation.
16560 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16562 * BufferView_pimpl.C: add <ctime>
16564 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16566 * BufferView_pimpl.C: add using std::find_if
16568 2001-02-27 José Matos <jamatos@fep.up.pt>
16570 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16573 2001-02-11 José Matos <jamatos@fep.up.pt>
16575 * buffer.C (makeDocBookFile): command styles now have a parameter as
16576 "title" by default.
16578 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16580 * layout_forms.[Ch]: removed
16581 * lyx_cb.[Ch]: out character
16582 * lyx_gui.C: out character
16583 * lyx_gui_misc.C: out character
16584 * bufferview_funcs.C: : out character,
16585 added toggleall as parameter in ToggleAndShow
16587 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16589 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16591 * text2.C (SetCurrentFont): Disable number property at boundary.
16593 2001-02-26 Juergen Vigna <jug@sad.it>
16595 * lyxfunc.C (getStatus): added a string argument override function so
16596 that this is correctly called from LyXFunc::Dispatch if it contains a
16597 do_not_use_argument which is used!
16598 (Dispatch): added check for "custom" export and call appropriate func.
16600 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16602 * lyxrc.C: Add language_command_local, language_use_babel and
16603 language_global_options.
16605 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16607 * buffer.C (makeLaTeXFile): Use language_use_babel and
16608 language_global_options.
16610 2001-02-23 Juergen Vigna <jug@sad.it>
16612 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16613 which works with LyXText and putted it inside BufferView. Here now we
16614 only call for that part the BufferView::Dispatch() function.
16616 * BufferView.C (Dispatch): added.
16618 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16619 functions which needs to use a LyXText over from LyXFunc.
16620 (MenuInsertLyXFile): added
16621 (getInsetByCode): added
16622 (moveCursorUpdate): added
16623 (static TEXT): added
16625 2001-02-22 Juergen Vigna <jug@sad.it>
16627 * BufferView_pimpl.C (update): call a status update to see if LyXText
16630 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16632 * vc-backend.C (revert): implement for CVS
16633 (getLog): implement for CVS
16635 2001-02-20 Juergen Vigna <jug@sad.it>
16637 * text2.C (ClearSelection): added BufferView param for inset_owner call
16639 * lyxfunc.C (TEXT): added this function and use it instead of
16640 directly owner->view()-text of getLyXText().
16642 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16644 * src/layout_forms.C: out preamble
16645 * src/layout_forms.h: out preamble
16646 * src/lyx_cb.C: out preamble
16647 * src/lyx_cb.h: out preamble
16648 * src/lyx_gui.C: out preamble
16649 * src/lyx_gui_misc.C: out preamble
16650 * src/lyxfunc.C: connect with guii preamble
16652 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16654 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16656 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16658 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16659 whether to run bibtex.
16661 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16663 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16665 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16667 * Makefile.am (lyx_SOURCES): removed bibforms.h
16669 * vspace.h: doxygen
16671 * text.C (GetVisibleRow): make several local vars const
16673 * tabular.C: small cleanup.
16675 * lyxserver.C (callback): use compare instead of strncmp
16677 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16678 inlines to after class or to paragraph.C
16680 * lyxfont.h: remove friend operator!=
16682 * converter.h: move friend bool operator< to non friend and after
16685 * combox.h: small cleanup
16687 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16688 to inlines after class def.
16690 * buffer.C (pop_tag): use string operations instead of strcmp
16692 * bmtable.c: doxygen, small cleanup
16694 * LaTeX.h: remove friend operator==
16696 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16708 * BufferView_pimpl.C:
16709 * BufferView.[Ch]: remove cruft
16711 2001-02-14 Juergen Vigna <jug@sad.it>
16713 * lyxfunc.C: removed #if 0 unused code
16715 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16717 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16719 * text2.C (SetSelection): added a BufferView * parameter
16721 2001-02-13 Juergen Vigna <jug@sad.it>
16723 * lyxfunc.C (Dispatch): fixed protected blank problem.
16724 * BufferView2.C (protectedBlank): added LyxText * parameter.
16726 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16727 (AppendColumn): same as above for column_info.
16729 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16730 (moveCursorUpdate): use a LyXText param for support of InsetText.
16732 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16733 (tripleClick): ditto
16735 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16737 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16739 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16741 * text2.C (SetSelection): set correct update status if inset_owner
16742 (ToggleFree): ditto
16744 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16746 * tabular.C: remove some commented code.
16748 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16750 * BufferView_pimpl.C: call hideSplash()
16752 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16755 * bibforms.h: remove
16758 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16759 add LFUN_CHILD_CREATE
16761 * counters.h: fix tiny typo
16766 * lyx.C: move splash to frontends/xforms/
16768 * lyx_gui_misc.C: move Include and Bibform to frontends
16770 * lyxvc.h: clarify comment
16772 * vspace.C: tiny housekeeping
16774 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16776 * text.C (PrepareToPrint): RTL Fix.
16778 * paragraph.C (GetUChar): New method.
16779 (String): Use GetUChar.
16781 * buffer.C (asciiParagraph): Use GetUChar.
16783 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16785 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16787 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16790 * buffer.C: rename to getLogName(), handle
16791 build log / latex log nicely
16793 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16796 * MenuBackend.h: remove support for reference menuitem type.
16798 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16800 * BufferView_pimpl.C: housekeeping
16801 * BufferView_pimpl.h:
16806 * minibuffer.h: move Timeout GUI-I
16808 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16810 * lyxrc.C (read): Update converters data-structures.
16812 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16814 * LaTeX.h (operator!=): add operator != for Aux_Info
16816 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16818 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16820 * LaTeXLog.C: deleted, useful code moved to Buffer
16823 * buffer.C: new function getLatexLogName()
16829 * lyxfunc.C: use frontends for LaTeX and VC logs
16831 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16833 * LaTeX.h: yet another std:: that Allan forgot.
16835 * Variables.C (set): renamed from isset(), because this clashes
16836 with some HP-UX macros (grr).
16838 2001-02-06 Allan Rae <rae@lyx.org>
16840 * LaTeX.h: Another bug fix. Missing std:: this time.
16842 2001-02-04 Allan Rae <rae@lyx.org>
16844 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16845 floats problem. I've left it commented out because it's not quite
16846 correct. It should also test that the current object is a table or
16847 figure inset. But I haven't gotten around to figuring out how to do
16848 that. I *think* it'll be something like: "table" == inset.type()
16850 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16853 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16855 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16856 all the citation/databases/styles in the auxilary file.
16857 (run): Rerun latex if there was a babel language error.
16859 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16861 * text.C (Backspace): Preserve the font when changing newline char
16863 (BreakParagraph): If the cursor is before a space, delete the space.
16865 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16867 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16869 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16870 new argument (code).
16871 (ChangeCitationsIfUnique): New method.
16873 * paragraph.C (GetPositionOfInset): Handle bibkey.
16875 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16877 * BufferView_pimpl.h: change type of Position::par_pos to
16878 LyXParagraph::size_type.
16880 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16882 * BufferView_pimpl.C (savePosition, restorePosition): Write
16883 messages to minibuffer.
16885 2001-01-28 José Matos <jamatos@fep.up.pt>
16887 * buffer.C (makeDocBookFile): adds support for document language.
16888 A silly restriction on the name of LatexCommand types where removed.
16889 Added support for CDATA sections, allows to chars unescaped, used
16890 among others in code, to avoid escape < and >.
16892 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16894 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16895 saved positions instrad of a stack. Furthermore, a position is
16896 stored using paragraph id/paragraph position.
16898 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16899 Remove LFUN_REF_BACK.
16901 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16903 * converter.C (dvipdfm_options): New method.
16905 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16907 * vspace.C (isValidLength): Fix for empty input string.
16909 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16911 * LyXAction.C (init): change description of LFUN_FIGURE to
16914 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16916 * LaTeX.C: add using directive
16918 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16920 * MenuBackend.C (expand): Fix the sorting of the formats.
16922 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16924 * lyx_main.C: tiny error message fix
16926 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16929 calling fl_initialize(). This fixes the problem with ',' as
16930 decimal separator in text files.
16932 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16934 * trans.C (process): Fix the keymap bug.
16936 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16938 * LaTeX.C (scanAuxFiles): New method. Provides support for
16939 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16940 (scanLogFile) Scan for "run BibTeX" messages.
16942 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16943 OT1 font encoding. Also, load the aecompl package if the ae
16946 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16948 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16950 * texrow.C (increasePos): turn two error messages into debug
16953 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16955 * LaTeX.C (scanAux): Handle the \@input macro.
16956 (runBibTeX): Use scanAux().
16958 * language.C (latex_options_): New field.
16960 * LaTeXFeatures.C (getMacros): Add language macros.
16962 * buffer.C (makeLaTeXFile): Small fix.
16964 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16966 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16968 * text2.C: add a using directive.
16970 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16975 * lyxfunc.C: kill LyXBell.
16977 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16979 * text.C (IsBoundary): Remove the error message
16981 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16983 * lyxrc.C (setDefaults): Correct initialization value for
16986 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16988 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16991 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16992 and GotoNextNote().
16994 * src/LyXAction.C: Added reference-next.
16996 * text.C (InsertChar): Use contains instead of strchr.
16998 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17000 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17002 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17003 alignment commands (when needed).
17005 * text.C (InsertChar): Add ':' to number separator chars.