1 2005-01-20 Angus Leeming <leeming@lyx.org>
3 * SpellBase.h: rename some of the elements of the Result enum.
10 * pspell.C (check): ditto
12 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
14 * buffer.C: add #include <fstream>.
16 * lyx_main.C (init): Compile fix.
18 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
20 2005-01-20 Angus Leeming <leeming@lyx.org>
22 * mover.h: change commentary to reflect the changed meaning of
25 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * output_linuxdoc.C (linuxdocParagraphs): silence warning
29 * lyxfind.C (MatchString::operator()): remove bogus semicolon
31 2005-01-20 Angus Leeming <leeming@lyx.org>
33 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
34 printing diagnostic data by not dereferecing an iterator past the
37 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
39 * buffer.C (readHeader): use "&&" rather than "and".
41 * lyxserver.h (inPipeName, outPipeName): make these const.
43 2005-01-19 Angus Leeming <leeming@lyx.org>
45 * lyx_main.C (error_handler, init): protect SIGHUP with
48 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
50 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
52 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
54 * text.C (setHeightOfRow): add a margin at the top and bottom of
55 the document (bug 1761)
57 2005-01-17 Angus Leeming <leeming@lyx.org>
59 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
60 with "python ". Workaround for a brain-dead Windows.
62 2005-01-16 Angus Leeming <leeming@lyx.org>
64 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
65 for MacOSX and Windows to use prependEnvPath.
66 Strip out the hard-coded block to add elements to the PATH for
67 MacOSX and replace it with a call to prependEnvPath using the
68 contents of LyXRC::path_prefix.
69 (queryUserLyXDir): strip out the code to run reconfigure, instead
70 returning a boolean indicating the necessity to do so.
71 (reconfigureUserLyXDir): contains the code to reconfigure the
72 user support directory. Is now called after the various LyXRC data
75 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
77 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * converter.[Ch] (convert): take a new parameter try_default. Use
80 a default converter (imagemagick) if try_default is true.
82 2005-01-13 Angus Leeming <leeming@lyx.org>
84 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
86 (write): output LyXRC::cygwin_path_fix as necessary.
88 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
91 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
93 2005-01-12 Angus Leeming <leeming@lyx.org>
95 * lyx_main.C (init): set the PATH variable to include the
96 directory containing the LyX binary when running on Mac or Windows.
98 2005-01-12 Angus Leeming <leeming@lyx.org>
100 * lyx_main.C (init): remove cruft that purports to set the locale
101 dir. It doesn't and is not needed anyway.
103 2005-01-10 Angus Leeming <leeming@lyx.org>
105 * Makefile.am: remove the lyx_main.C special casing.
107 * BufferView_pimpl.C:
113 * messages.C: use support/package.h to provide the paths to the
114 various directories used by LyX.
116 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
118 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
119 layout if pasting into an empty paragraph)
121 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
123 * tex-accent.C: add <string>
125 2005-01-06 José Matos <jamatos@lyx.org>
127 * ParagraphParameters.C (write): put every parameter in its own line.
128 * paragraph.C (write): reduce number of consecutive empty lines exported.
129 * buffer.C (LYX_FORMAT): increase file format to 239.
131 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
133 * everywhere: change support/tostr.h -> support/convert.h
135 * tabular.C: make all write_attributes templates, tostr -> convert
137 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
138 (emptyTag): and -> &&, and fix type for ret from getChar
139 (getFirstWord): fix type for ret from getChar
140 (onlyText): and -> &&
141 (simpleDocBookOnePar): and not -> && !, fix type for ret from
144 * toc.C (goTo, action):
145 * text3.C (dispatch):
146 * text.C (currentState):
147 * tex-accent.C (DoAccent):
150 * lyxfunc.C (menuNew):
151 * lyxfinc.C (replace):
152 * counters.C (laberItem):
153 * bufferview_funcs.C (font2string):
154 * bufferparams.C (writeFile):
155 * buffer.C (readFile):
157 * MenuBackend.C: tostr -> convert
159 * LaTeX.C (runMessage): fix format
160 (scanAuxFiles): tostr -> convert
162 * BufferView_pimpl.C (savePosition): fix format
163 (restorePosition): ditto
166 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
168 * Spacing.[Ch]: New method getValueAsString().
172 * ParagraphParameters.C:
175 * text3.C: store/read spacing value as string.
177 * rowpainter.C: change float value (spacing_val) to double.
179 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
180 broken custom document spacing).
182 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
185 namespace, also more use of temp references and const
187 * cursor.[Ch] (getStatus): move to lyxfunc.C
189 * bufferparams.C: reformat slightly
191 * bufferview_funcs.C (font2string): constify arg
197 * buffer_funcs.C: (many funcs): constify arg on function
198 definitions, also make more local vars const, also add ASSERTS on
201 * buffer.C (LYX_FORMAT): put const in correct place
202 (many funcs): constify arg on function definitions, also make
203 more local vars const
205 * aspell_local.h: remove "struct" from typdef setup
207 * aspell.C (check): make word_ok const
208 (nextMiss): simplify slightly
211 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
213 * lyxrc.[Ch]: store all float values as strings.
214 use int (not float) for lyxrc.dpi.
216 2005-01-04 Angus Leeming <leeming@lyx.org>
218 * lyx_cb.C (Reconfigure):
219 * lyx_main.C (queryUserLyXDir):
220 to run the <system_lyxdir>/configure correctly on Windows, prefix
221 the path to the script with "sh " when generating the string that
222 is passed to system().
224 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
228 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * lyxlength.C (asLatexString): get rid of setprecision
232 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text2.C (setLayout): remove unused variable endpit.
235 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
237 * paragraph.C (onlyText): remove unused variable style.
239 * cursor.C (bruteFind): remove unused variables beg and end.
241 * Makefile.am (dist_noinset_DATA): not needed anymore
243 * cheaders/*: remove.
245 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
247 * text3.C: fix LFUN_MATH_MODE.
249 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
251 * buffer_funcs.C (countWords): new function. Counts words between
254 * BufferView_pimpl.C (getStatus, dispatch): handle
257 * LyXAction.C (init):
258 * lfuns.h: add LFUN_WORDS_COUNT.
260 2004-12-19 Angus Leeming <leeming@lyx.org>
262 * buffer.C (save): s/slashify_path/internal_path/.
264 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
266 * lyxfind.C (findChange): do not search for end of pars, because
267 the change tracker cannot handle this (fixes bug 1719).
269 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
271 * paragraph.[Ch] (autoBreakRows): remove
273 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
275 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
276 avoid using the paragraph one
278 * text2.C (LyXText, insertStringAsLines): adjust
280 2004-12-16 Angus Leeming <leeming@lyx.org>
284 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
286 2004-12-14 Angus Leeming <leeming@lyx.org>
288 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
290 * bufferlist.C (emergencyWrite):
291 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
294 2004-12-14 Angus Leeming <leeming@lyx.org>
296 * main.C: (main): no longer pass pointers to os::init.
298 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
300 * undo.C (textUndoOrRedo): simplify logic, fix a crash
301 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
303 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
306 * text3.C: remove selection_possible global flag
308 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
310 * text2.C (getSelectionSpan): remove
311 (changeDepth, changeDepthAllowed): adjust
313 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
315 * Makefile.am (BOOST_LIBS): use boost variables
317 2004-12-03 José Matos <jamatos@lyx.org>
319 * buffer.C: format up to 238.
321 2004-12-03 José Matos <jamatos@lyx.org>
323 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
325 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
327 * cursor.C (goUpDown): remove call to idxUpDown2
329 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * tabular.[Ch]: use size_t-like types for cell, row and column
334 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
336 * lyxfunc.C (getStatus): do not lose previous information when
337 calling BufferView::getStatus; do not set a default "Command
338 disabled" message at the beginning, but just before returning.
340 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
342 * cursor.h (getStatus): add better comment from src/cursor.C
344 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
346 * text3.C (getStatus): return false when the lfun is not handled
348 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * broken_headers.h: remove
352 * Makefile.am (lyx_SOURCES): remove broken_headers.h
354 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
356 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
359 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
360 top_y_, merge fitcursor with update
361 (updateScrollbar, scrollDocView, fitCursor, center, update): new
364 (workAreaDispatch): adapt to new coord scheme
365 (redoCurrentBuffer): remove
367 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
369 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
372 * coordcache.[Ch]: add paragraph cache and helpers
374 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
377 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
378 (targetX, setTargetX): introduce
380 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
381 baseline -> ascent, as the rest of lyx
383 * lyxtext.h: remove redoParagraphs, updateParPositions,
384 fullRebreak, redoParagraphInternal. move dist to anon namespace in
385 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
386 have ascent/descent (ascent is ascent of first par)
388 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
391 * paragraph.[Ch]: unify dimension handling with the rest of lyx
393 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
395 * pariterator.C: fix infinite loop introduced in par->pit renaming
397 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
398 in insets and LyXText, draw two off-screen paragraphs using
399 NullPainter, and adapt to new coord scheme
403 * text3.C: adapt lfun handlers to the new coord scheme, which
404 means: there's only guaranteed coord information for onscreen pars
405 plus one above and one below. This implies that one can do search
406 from y coordinates in the range [-1,workHeight]
408 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
410 * rename a lot of InsetOld to InsetBase
412 2004-11-25 Angus Leeming <leeming@lyx.org>
414 * BufferView_pimpl.C:
416 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
418 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
420 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
421 call BufferView::getStatus if LCursor::getStatus did nothing
422 (setStatusMessage, getStatusMessage): removed.
424 * FuncStatus.C (message): new methods. Used to provide an error
425 message indicating why a command is disabled.
426 (clear, |=, FuncStatus): update for message.
428 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * lyxfunc.C (dispatch): always call sendDispatchMessage
432 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
435 * BufferView_pimpl.C:
449 * undo.C: par->pit renaming
451 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
453 * tabular.C (cellstruct): use initialization, store a shared_ptr
454 to insettext instead of the insettext directly, adjust to fit.
455 (operator=): new function
457 (rowstruct): use initialization
458 (columnstruct): use initialization
459 (ltType): use initialization
462 * lyxlength.h (swap): new function
464 * LColor.[Ch] (operator=): use the common semantics
466 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
468 * lyxfind.C (findNextChange): update the bufferview after setting
471 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
474 number of InsetOptArgs has already been inserted.
476 * output_latex.C (latexOptArgInsets): new method. This outputs all
477 the optarg insets, up to the limit defined in the layout file.
478 (optArgInset): removed
479 (TeXOnePar): call latexOptArgInsets; correctly update texrow
481 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * paragraph.C (isLetter): remove special spellchecker-related
484 code; return true also for digits
485 (isWord, isKomma): remove
487 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
488 * lyxfind.C (MatchString()): use isLetter instead of isWord
490 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
492 * pariterator.h (operatir=): comment out un-implemented member
495 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
498 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
500 * lyxfont.h: include LColor.h to satisfy concept checks.
502 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
504 * pariterator.h: add typdefs for value_type, difference_type,
505 pointer and reference to satisfy concept checks. Also add default
506 constructor for same reason.
508 * pariterator.C (operator++): add post-increment operator to
509 satisfy concept checks.
511 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
514 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
516 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
517 checks. Also rename base_type to BaseType to follow naming
520 * FloatList.h: include Floating.h to satisfy concept checks.
522 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * lyxfunc.C (getStatus): when the origin of the request is menu or
525 toolbar, and the LyXView does not have focus, do as if there was
528 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
529 FuncRequest to individual entries of LFUN_SEQUENCE
531 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
533 * output_latex.C (TeXOnePar): override runparams.moving_arg
534 according to the needprotect value of the current paragraph (bug
537 * paragraph.C (simpleTeXOnePar): no need to override
538 runparams.moving_args here
540 2004-11-14 John Spray <spray_john@users.sourceforge.net>
542 * vspace.C: fix off-by-one-error, related to fix #1682
544 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
546 * lengthcommon.C: a more general fix for bug 1682
548 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
550 * text.C (backspace): fix crash
552 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * format.[Ch] (getFormatFromFile): new method
555 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
557 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
559 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
561 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
563 * lyxfunc.C (dispatch): remove the verbose argument
564 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
567 * kbmap.C (defkey): set the origin of func to KEYBOARD
569 * MenuBackend.C (MenuItem):
570 * ToolbarBackend.C (add): set the origin of func to UI
572 * funcrequest.[Ch]: add origin member, which indicates which part
573 of LyX requests an action
575 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
577 * converter.C (move): don't lie in the error message
578 * converter.h (isReachable, move): document
580 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
582 * buffer.C: remove unused using lyx::support::atoi
583 * paragraph_funcs.C: ditto
585 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
587 * bufferlist.C (exists): use bind and equal_to instead of
590 * lyxtextclasslist.C (NumberOfClass): ditto
592 * cursor.C (insert): use for_each instead of explicit for loop
594 * bufferlist.C (getFileNames): use std::transform and
595 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
597 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
600 * buffer.C (changeLanguage): use for_each instead of explicit for
602 (hasParWithID): implement using getParFromID
604 * LaTeXFeatures.C: ws change only
606 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
609 * BufferView_pimpl.C (trackChanges): use for_each instead of
612 2004-11-04 André Pönitz <poenitz@gmx.net>
615 * undo.C (textUndoOrRedo): fix crash when creating undo information.
617 * dociterator.C (asDocIterator): use hard assert again.
619 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * lyxlength.C (asLatexString): rewrite so that it does not use
624 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * text3.C (specialChar, dispatch): make sure cursor moves to the
627 right after inserting an inset
629 2004-11-02 José Matos <jamatos@lyx.org>
631 * output_docbook.C (docbook):
632 * paragraph.C (getID):
633 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
634 garantee that the output is always legal.
636 * tabular.C (docbook):
637 * outputprams.[Ch]: remove mixed contents.
639 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
641 * text2.C (setCounter): prevent endless loop
643 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
645 * exporter.C (copyFile): use the mover instead of support::copy()
646 * exporter.C (Export): pass format and latex name to copyFile()
647 * exporter.h (addExternalFile): document
648 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
650 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
652 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
654 2004-10-30 José Matos <jamatos@lyx.org>
656 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
657 text and no inset or font change. This allows to use CDATA
658 sections just for the whole paragraph.
660 2004-10-30 José Matos <jamatos@lyx.org>
662 * paragraph.C (getFirstWord): remove unused variable.
664 2004-10-30 José Matos <jamatos@lyx.org>
666 * paragraph.C (getFirstWord): the content should always be escaped
668 (simpleDocBookOnePar):
669 * output_docbook.C (makeEnvironment): replace reference to CDATA
672 2004-10-30 José Matos <jamatos@lyx.org>
674 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
676 2004-10-30 José Matos <jamatos@lyx.org>
678 * output_docbook.C (makeParagraphs):
679 * paragraph.[Ch] (emptyTag): for docbook and company, if the
680 standard paragraph has only a given type of content drop the wrapper.
682 2004-10-29 José Matos <jamatos@lyx.org>
684 * output_docbook.C (makeEnvironment):
686 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
688 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
690 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
691 (cleanID): sanitize any id.
693 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
695 * buffer.C, lyxlex_pimpl.C:
696 * lyxlex_pimpl.C (setFile):
697 s/getExtFromContents/getFormatFromContents/
699 2004-10-28 José Matos <jamatos@lyx.org>
701 * output_docbook.C (makeEnvironment): move id to broadest possible
704 * sgml.C (openTag): apply substitution of <> for all attributes.
706 2004-10-28 José Matos <jamatos@lyx.org>
708 * buffer.C (makeLinuxDocFile, makeDocBookFile):
709 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
710 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
712 * sgml.[Ch]: new version for open and closeTag for paragraph and
713 for strings. Now they handle the ids of paragraphs.
715 2004-10-26 Angus Leeming <leeming@lyx.org>
717 * Makefile.am: add mover.[Ch].
719 * converter.C (convert, move): use the new Movers to move external
720 files to the temp directory.
722 * lyx_main.C (init): ensure that the global system_movers data
725 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
728 * mover.[Ch]: new files, defining a Mover as a utility to move an
729 external file between directories and, if necessary, manipulate this
730 file using a helper script.
732 2004-10-25 José Matos <jamatos@lyx.org>
734 * output_docbook.C (makeCommand): merge two if's that tested the
737 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * sgml.C (escapeString): fix warning in a better way
741 2004-10-25 José Matos <jamatos@lyx.org>
743 * sgml.C (escapeString): import the require boosts header file for
744 tie, and avoid a signed unsigned comparison.
746 2004-10-25 José Matos <jamatos@lyx.org>
748 * sgml.h: add #include <string>
750 2004-10-25 José Matos <jamatos@lyx.org>
752 * sgml.[Ch] (escapeString): new function to escape all the string.
754 2004-10-24 José Matos <jamatos@lyx.org>
756 * paragraph.[Ch] (getFirstWord): new function to get the first
757 word. Useful for description.
758 (simpleDocBookOnePar): remove depth argument, add another that
759 says where to start the paragraph.
761 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
762 use the new functions to fix cleanly the support for descriptions.
764 2004-10-24 José Matos <jamatos@lyx.org>
766 * buffer.C (makeLinuxDocFile, makeDocBookFile):
767 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
768 * output_linuxdoc.C (linuxdocParagraphs):
769 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
770 add buffer as argument.
772 2004-10-24 José Matos <jamatos@lyx.org>
774 * output_docbook.C (makeEnvironment, searchEnvironment): place
775 CDATA inside paragraphs and fix scope for listitems.
777 2004-10-24 José Matos <jamatos@lyx.org>
779 * output_docbook.C: remove using statement for stack.
781 2004-10-23 José Matos <jamatos@lyx.org>
783 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
784 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
785 docbook. The new scheme is recursive and makes use of iterators, the
786 same as latex export works.
787 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
788 directly with the paragraph contents. This code was moved up to
789 output_docbook.C (docbookParagraphs).
790 * sgml.C (openTag, closeTag): removed unneeded newlines.
791 (closeEnvTags) removed.
793 2004-10-23 André Pönitz <poenitz@gmx.net>
795 * undo.C (textUndoOrRedo):
796 * dociterator.C (asDocIterator): work around crash
798 * cursor.C (getStatus): replace ASSERT by more verbose error message
799 and manual correction of the problem. Should increase stability
800 while providing more sensible information.
802 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
806 * bufferlist.C (previous, next): new methods
809 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
811 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
813 * buffer.C (makeDocBookFile): add dsssl stylesheet control
814 entities to preamble.
816 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
818 * messages.C (Pimpl): strip off translation context information
820 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
823 the cursor is correct (bug 1694)
825 2004-10-13 José Matos <jamatos@lyx.org>
827 * output_docbook.C (docbookParagraphs): fix closing tags in the
830 2004-10-09 José Matos <jamatos@lyx.org>
832 * buffer.C: format up to 237.
833 * bufferparams.C (write): use tostr to convert booleans to strings.
835 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
837 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
839 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
841 * LaTeX.C: implement use of babel language in xindy.
843 2004-10-05 José Matos <jamatos@lyx.org>
845 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
846 Add new translators to help reading and writing the lyx file.
848 2004-10-05 José Matos <jamatos@lyx.org>
850 * ParagraphParameters.C (read):
851 * text.C (readParToken): replace nexToken by more appropriate lex
854 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
856 * LaTeX.C (runMakeIndex):
857 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
858 (usually 'makeindex') configurable.
860 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
861 with a variable rather than with a number.
863 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
865 * output_latex.C (TeXOnePar): make sure font setting is the first
866 thing that gets output (and the last at the end). Should fix bug
869 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
871 * pch.h: use proper signal include
873 * LaTeX.h: Use preferred calling of Boost.Signal
876 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
878 * pch.h: dont include <boost/function/function0.hpp>
880 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
882 * paragraph_pimpl.h: remove usage of ShareContainer
884 * paragraph_pimpl.C: remove initialization of ShareContainer.
886 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
890 * BufferView.C (putSelectionAt): change the semantics when
891 backwards == true: now, this just swaps cursor and anchor wrt the
894 * BufferView.h (putSelectionAt): add some documentation
896 * lyxfind.C (findBackwards): rewrite using while(). In particular,
897 make sure backwardChar is done at least once (to avoid getting
899 (findNextChange): use putSelectionAt in the forward direction
900 (operator()): use Paragraph::isWord
902 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
904 * Spacing.C (set): c_str fix
906 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
908 * lyx_cb.C (Reconfigure): quote the name of configure script in
909 case it contains spaces
911 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
915 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
916 (BOOST_LIBS): use top_buildir when looking for the file
918 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
920 * pch.h: do not use include boost/format.hpp, multiple symbols
921 will result (gcc bug)
924 2004-08-23 José Matos <jamatos@lyx.org>
926 * bufferparams.C (readToken): fix reading of the author field.
928 2004-08-20 José Matos <jamatos@lyx.org>
930 * lyxrc.C: remove support/translator.h inclusion since it is not used.
932 2004-08-20 José Matos <jamatos@lyx.org>
934 * lyxlex.[Ch] (findToken): remove function.
936 * ParagraphParameters.C (findToken):
937 * bufferparams.C (findToken): replace call for previous function
938 with local copy. This local function has one more argument, the
939 read string argument.
941 2004-08-16 José Matos <jamatos@lyx.org>
943 * ParagraphParameters.C (write):
944 * Spacing.C (writeFile):
945 * bufferparams.C (writeLaTeX):
946 * lyx_cb.C (Reconfigure):
947 * paragraph.C (write):
948 * tabular.C (write): remove unnecessary space at end of line.
951 2004-08-16 José Matos <jamatos@lyx.org>
953 * text.C (readParagraph): remove debug message.
955 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
960 * output_plaintext.C (asciiParagraph): set depth correctly
962 * outputparams.h: add member depth
964 * paragraph_funcs.C (ownerPar): remove.
966 * text2.C (setCounter): remove first_pit; comment out some
967 non-working code that uses ownerPar
969 * BufferView.C (getParentLanguage): remove. Not used anymore, and
972 2004-08-16 José Matos <jamatos@lyx.org>
974 * text.C (readParToken, readParagraph, read): report all unknown tokens.
975 For the same level of importance use the same chanel to report problems.
976 (read): add code to deal with \begin_body and \end_body.
979 2004-08-15 José Matos <jamatos@lyx.org>
981 * lyxlex.C (getString): fix comment, buffer::readBody is now
984 * tex-strings.C (string_papersize): Default -> default,
985 Custom -> custom, for consistency with other options.
987 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
991 * Makefile.am: support pch
993 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
995 * text.C (readParToken): remove the static LyXFont variable and
996 pass it as a parameter instead. This fixes a nasty bug where an
997 inset will be inserted with a bad font in some situations
998 (readParagraph): adapt
1000 * text2.C (setCounter): reduce number of calls to pars_[pit]
1002 * text.C (singleWidth): add an assert, fix a test
1004 * rowpainter.C (paintText): reduce number of calls to singleWidth
1006 * paragraph.C (isHfill):
1007 (isNewline): ws only
1009 2004-08-14 André Pönitz <poenitz@gmx.net>
1014 * lyxtext.h (several functions): use a Paragraph & argument
1017 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1021 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1023 * text.C (singleWidth): remove useless test
1025 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * tabular.h: remove bogus comments
1029 * tabular.C (getDescentOfRow):
1030 (isPartOfMultiColumn): add assertions
1032 * lyxlength.C (inPixels): remove #warning
1034 2004-08-14 André Pönitz <poenitz@gmx.net>
1036 * paragraph.h: inline getChar()
1038 * BufferView.h: remove unused declarations
1040 2004-08-14 José Matos <jamatos@lyx.org>
1042 * Buffer.[Ch] (readDocument): new name for old readBody.
1043 * Buffer.C: new file format, new keywords: \begin_document,
1044 \begin_header, \begin_body, \end_body.
1046 * bufferparams.C (readToken): replace all calls to lex.nextToken
1047 by lex.next(). Do the same to eatLine except where really needed.
1049 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1050 line when writing to the lyx file.
1052 * output_plaintext.C (asciiParagraph): fix Bibliography style
1055 * text.C (read): fix end of file handling.
1057 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * MenuBackend.C (Menu::operator[]): new method to access
1060 individual menu items
1061 (Menu::hasFunc): new method. search for an item that corresponds
1063 (MenuBackend::specialMenu): new method
1064 (MenuBackend::expand): if a special menu has been set, skip
1065 entries whose func() appears in this menu
1067 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1069 * text3.C: use Debug::DEBUG a bit more
1071 * text.C (leftMargin): try to simplify a tiny bit change var x to
1072 l_margin. Dont output the wide margins always.
1073 (rightMargin): no margin in inner texts
1075 * rowpainter.h (nestMargin): new func
1076 (changebarMargin): new func
1077 (rightMargin): new func
1079 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1083 * factory.C (createInset): modify setDrawFrame
1085 * cursor.C: use Debug::DEBUG a bit more
1087 2004-08-14 André Pönitz <poenitz@gmx.net>
1090 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1091 cache for all insets in (at least partially) visible (top-level)
1094 * BufferView_pimpl.C: reset external coord cache before every update.
1095 This means the coord cache only contains valid entries.
1097 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1100 * BufferView_pimpl.C (getInsetByCode): move function out of class
1101 and change in to a template in anon namespace. Also fix to do what
1104 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1107 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1109 (breakParagraph): rename par to par_offset and use a local
1110 reference. Add code to keep the language over a rebreak.
1111 (breakParagraphConservative): rename par to par_offset, use a
1113 (mergeParagraph): ditto
1115 (isFirstInSequence): ditto
1116 (outerFont): rename pit to par_offset
1118 * paragraph.C: ws change
1119 * paragraph.h: ditto
1123 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1125 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1128 * paragraph.C (simpleTeXOnePar): when we have a \item with
1129 optional argument, enclose the argument with curly brackets (in
1130 case it contains a closing square bracket)
1134 * text3.C (checkInsetHit): constify
1136 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1139 documents (bug 1629)
1141 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1143 Fix toggling of collapsable insets with the mouse (bug 1558)
1145 * lyxfunc.C (dispatch): adapt to LCursor changes
1147 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1148 make sure that dispatch is not invoked twice
1150 * cursor.C (needsUpdate): new method
1151 (dispatch): return void
1152 (result): new method, to access the DispatchResult of the cursor.
1154 2004-08-13 José Matos <jamatos@lyx.org>
1156 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1158 2004-08-13 André Pönitz <poenitz@gmx.net>
1160 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1162 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1165 2004-08-12 André Pönitz <poenitz@gmx.net>
1167 * text3.C: take out the 'cursor right' form insertInset and only
1168 do it in those places when it is really needed. Fixes crash on
1171 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1173 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1175 * BufferView_pimpl.C (setBuffer): initialize the current font of
1176 the underlying LyXText
1178 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1180 * kbsequence.C (print): use UI native formatting for menu
1183 * text.C (insertChar): call Paragraph::insertChar with a font
1186 * paragraph.C (insertInset, insertChar): the version that takes a
1187 LyXFont argument is now a wrapper around the other one (the
1188 opposite used to be true).
1190 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1191 argument. Font setting is done in Paragraph now.
1193 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1195 * outputparams.h: add new members intitle and lang.
1197 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1198 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1200 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1202 * text3.C (dispatch): remove special handling of button 4 and 5,
1203 it is now taken care of in the frontend code.
1205 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1207 * Spacing.h: add <string> (STLPort compile fix)
1209 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1211 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1213 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1215 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1218 * converter.C (showMessage): inherit from unary_function, make
1221 * buffer.C (writeFile): initialize retval
1223 * InsetList.h: rename private variable list to list_
1224 * InsetList.[Ch]: adjust accordingly.
1226 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1228 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1229 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1230 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1231 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1232 * ParagraphParameters.C, LaTeXFeatures.C: replace
1233 "support/std_sstream.h" with <sstream>
1235 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1237 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1238 * lyxsocket.C (LyXServerSocket): ditto
1239 (serverCallback): ditto
1241 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1243 * LaTeXFeatures.C: check release date when loading jurabib.
1245 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1247 * lyxserver.C (startPipe): call register_socket_callback
1248 (endPipe): call unregister_socket_callback
1250 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1252 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1253 (LyXServerSocket): register the callback
1254 (LyXServerSocket): unregister the callback
1255 (fd): delete function
1256 (serverCallback): improve error checking and setup the callbacks.
1257 (dataCallback): change arg to fd.
1258 (writeln): new func (copied fro the client socket) used for server
1260 (LyXDataSocket): simplify
1261 (~LyXDataSocket): close ann unregiser callback
1262 (server): delete function
1263 (fd): delete function
1264 (readln): small changes, improve some std::string usage
1265 (writeln): constify a bit
1267 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1269 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1272 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1275 after it has been populated
1277 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1279 * text2.C (insertInset): move cursor when inserting inset.
1281 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1283 * kbmap.C (findbindings): a couple of new methods. returns a
1284 container of kb_sequence objects. The real work is done by the
1285 private recursive version
1286 (printbindings): uses findbindings to print out a bracketed list
1287 of bindings (renamed from findbinding).
1289 * MenuBackend.C (binding): use kb_keymap::findbindings
1291 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1293 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1295 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1297 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * paragraph.C (isWord): return true on insets that report
1302 * text.C (getWord): use Paragraph::isWord to decide what is in a
1303 word and what is not; fix bug 1609.
1305 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1307 * tex-strings.C: add "none" to string_paperpackages[], fixes
1308 off-by-one-error in the paperpackage selection.
1311 * tex-strings.[Ch]: char const * string[n]
1312 -> char const * const string[]
1314 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1316 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1317 command, return early.
1319 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1321 * debug.h: add DEBUG to enum and fix size of ANY.
1323 * debug.C: add support for Debug::DEBUG
1324 (showTags): cast errorTags.level to unsigned int
1326 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1327 (redoCurrentBuffer): ditto
1328 (updateScrollbar): ditto
1329 * cursor.C (dispatch): ditto
1330 * text2.C (setLayout): ditto
1332 (updateCounters): ditto
1334 (deleteEmptyParagraphMechanism): ditto
1336 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1338 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1339 annotations to cleanup the Makefile slightly.
1341 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * lyxrc.C: do not set user_email to a default value but use empty
1344 instead. The entry used to be translated, which does not work
1345 since at the point where lyxrc is constructed there is no
1346 translation service available
1348 * messages.C (getLocaleDir): remove and use directly
1349 lyx_localedir() instead
1351 2004-06-02 Angus Leeming <leeming@lyx.org>
1353 Fix crash caused by dereferencing null pointer 'exportdata' in
1354 OutputParams by creating a new ExportData variable on the heap,
1355 storing it in a boost::shared_ptr.
1356 The crash was triggered when generating an Instant Preview
1357 of an external inset.
1359 * Makefile.am: add outputparams.C
1361 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1362 (c-tor): allocate memory to it.
1364 * exporter.C (c-tor): associated changes.
1366 2004-06-01 Angus Leeming <leeming@lyx.org>
1368 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1369 contains data before calling isInset(0). (Bug 1513.)
1371 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1373 * exporter.C (checkOverwrite): new method
1374 * exporter.C (copyFile): new method
1375 * exporter.C (Export): copy referenced files to the document dir
1376 * exporter.[Ch]: new class ExportedFile
1377 * exporter.[Ch]: new class ExportData. Contains currently the
1378 names of referenced external files
1379 * outputparams.h: add exportdata member.
1381 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1383 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1386 2004-05-19 Angus Leeming <leeming@lyx.org>
1391 * lyxfunc.C: small changes due to the introduction of namespace
1392 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1394 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1396 * text3.C (dispatch): supress update when only moving the cursor
1397 * cursor.C (selHandle): remove commented code
1399 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1401 * paragraph.C (startTeXParParams): correct column count
1402 * CutAndPaste.C (pasteSelection): remove const_cast
1403 * output_docbook.C (docbookParagraphs): remove const_cast
1404 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1405 const_cast and return ParagraphList::const_iterator
1406 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1407 * output_plaintext.C (writeFileAscii): remove const_cast
1408 * paragraph.[Ch] (simpleTeXOnePar): make const
1409 * paragraph_funcs.C (outerPar): use const iterators
1410 * paragraph_pimpl.C (validate): use const iterators
1411 * text.C (setHeightOfRow): use const iterators
1413 2004-05-17 Angus Leeming <leeming@lyx.org>
1416 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1418 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1419 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1420 if the citation engine has changed.
1422 2004-05-14 José Matos <jamatos@lyx.org>
1424 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1425 if the textclass does not provide it. Have it different for sgml and
1427 support the language of document.
1428 * output_docbook.C (docbookParagraphs):
1429 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1430 first anchor as the id of the paragraph, remove special case code.
1431 * sgml.C (escapeChar): escape only < & >.
1433 2004-05-14 Angus Leeming <leeming@lyx.org>
1435 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1436 dependencies on src/frontends/controllers/biblio.h. Define a
1437 CiteEngine_enum wrapper class to enable the enum to be forward
1440 2004-05-12 Angus Leeming <leeming@lyx.org>
1442 * buffer.C: up LYX_FORMAT to 234.
1443 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1444 use_numerical_citations with a single biblio::CiteEngine cite_engine
1446 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1448 2004-05-13 José Matos <jamatos@lyx.org>
1451 * converter.C (Converter, readFlags): add xml member.
1452 * outputparams.h: add XML flavor.
1453 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1455 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1457 * lyxfunc.C (dispatch):
1458 (getStatus): fix handling of LFUN_SEQUENCE
1460 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1462 * debug.C (showLevel): do not forget the end-of-line marker
1464 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1466 * kbmap.C (read): do not stop parsing a bind file when an error
1469 2004-04-29 Angus Leeming <leeming@lyx.org>
1474 * text2.C: wrap a bunch of #warning statements
1475 inside #ifdef WITH_WARNINGS blocks.
1477 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1479 * buffer.C: increment format to 233.
1481 2004-04-28 Angus Leeming <leeming@lyx.org>
1483 * BufferView_pimpl.C:
1486 s/updateToolbar()/updateToolbars()/
1487 s/Toolbar.h/Toolbars.h/
1489 2004-04-28 Angus Leeming <leeming@lyx.org>
1491 * BufferView.[Ch] (c-tor):
1492 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1493 No longer passes these data to the WorkArea generator.
1495 2004-04-28 Angus Leeming <leeming@lyx.org>
1497 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1499 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1501 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1503 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1505 * output_latex.C (TeXEnvironment): make sure that there is a line
1506 break before \end{foo} for the last paragraph of a document
1507 (TeXOnePar): if the paragraph is at the end of the document (or
1508 inset) and the language has to be reset, then make sure that the
1509 line break is _before_ the language command, not after (fixes bug
1510 1225); also make sure that the language reset command is the first
1511 thing after the paragraph (to ensure proper nesting of
1512 environments and thus fix bug 1404)
1514 2004-04-21 John Levon <levon@movementarian.org>
1517 * ToolbarBackend.C: make "name" be a programmatic name
1518 and a gui_name field.
1520 * lyxfunc.C: display the minibuffer on M-x
1522 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1527 2004-04-19 Angus Leeming <leeming@lyx.org>
1529 * BufferView_pimpl.C (setBuffer): changed preview interface.
1531 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1534 2004-04-19 John Levon <levon@movementarian.org>
1536 * BufferView_pimpl.C:
1537 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1539 2004-04-05 Angus Leeming <leeming@lyx.org>
1541 * text.C (redoParagraphs): add call to updateCounters(), thereby
1542 fixing the missing "Figure #:" label from the caption of a
1545 2004-04-13 Angus Leeming <leeming@lyx.org>
1547 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1548 cursor is clicked out of an inset.
1550 2004-04-13 Angus Leeming <leeming@lyx.org>
1552 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1553 than an InsetOld one.
1555 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1557 * format.[Ch]: add editor to Format
1558 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1559 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1561 2004-04-08 André Pönitz <poenitz@gmx.net>
1563 * metricsinfo.h: remove PainterInfo::width member
1565 2004-04-08 Angus Leeming <leeming@lyx.org>
1567 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1568 "\providecommand" rather than "\newcommand", thereby preventing
1569 clashes with packages that define "\boldsymbol" themselves.
1572 2004-04-08 Angus Leeming <leeming@lyx.org>
1574 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1575 thereby squashing an unnecessary warning.
1577 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1579 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1582 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1584 * BufferView.C (setCursor): call redoParagraph (some insets could
1586 (putSelectionAt): remove the 'double update' trick
1588 * BufferView_pimpl.C (fitCursor): call refreshPar
1589 (workAreaDispatch): remove an uneeded update call
1590 (dispatch): remove some manual update calls
1592 * cursor.[Ch]: remove cached_y_, updatePos
1593 (selHandle): set noUpdate when appropriate
1595 * lyxfunc.C (dispatch): track if we need an update
1597 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1599 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1600 (paintSelection): cheap optimization, do not call cursorX when not
1602 (paintPars): change signature
1605 (paintTextInset): adjust
1609 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1611 * lengthcommon.C: compilation fix: remove explicit array size from
1612 unit_name[] and friends
1614 2004-04-05 Angus Leeming <leeming@lyx.org>
1616 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1618 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1619 present only for the preferences dialog.
1620 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1622 2004-04-05 Angus Leeming <leeming@lyx.org>
1624 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1625 to enable the frontends to export changes to lyxrc correctly.
1627 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1629 2004-04-07 André Pönitz <poenitz@gmx.net>
1631 * cursor.[Ch] (selClear, adjust): remove math
1633 * cursor_slice.C: more agressive assert
1636 * BufferView_pimpl.C: rework mouse event dispatch
1643 2004-04-05 André Pönitz <poenitz@gmx.net>
1645 * cursor.[Ch] (valign, halign...): remove unneeded functions
1647 2004-04-05 Angus Leeming <leeming@lyx.org>
1649 * lyxlength.[Ch] (unit_name et al.): const-correct.
1651 2004-04-05 Angus Leeming <leeming@lyx.org>
1653 * BufferView_pimpl.C:
1662 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1664 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1666 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1668 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1670 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1671 * BufferView_pimpl.[Ch] (getStatus)
1672 * BufferView.[Ch] (getStatus): add
1673 * lyxfunc.C (getStatus): move lfuns handled in
1674 BufferView::dispatch to te function above
1675 * Cursor.C (setSelection): set selection() = true
1677 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1679 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1681 2004-03-31 Angus Leeming <leeming@lyx.org>
1683 * lyxfunc.C (dispatch): Fall through to the generic
1684 Dialogs::show("preamble").
1686 2004-03-31 Angus Leeming <leeming@lyx.org>
1688 * lyxfunc.C (dispatch): Fall through to the generic
1689 Dialogs::show("spellchecker").
1691 2004-03-31 Angus Leeming <leeming@lyx.org>
1693 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1696 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1701 * insetiterator.[Ch]:
1706 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1708 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1710 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1711 insets where we are putting the cursor.
1713 2004-03-31 Angus Leeming <leeming@lyx.org>
1716 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1718 * lyxrc.[Ch] (read, write): overloaded member functions taking
1719 a std::[io]stream arguments.
1721 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1723 2004-03-31 Angus Leeming <leeming@lyx.org>
1725 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1726 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1728 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1729 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1731 2004-03-31 Angus Leeming <leeming@lyx.org>
1733 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1734 the LFUN_ALL_INSETS_TOGGLE code.
1736 2004-03-30 Angus Leeming <leeming@lyx.org>
1738 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1739 has died. Fall through to the generic Dialogs::show("document").
1741 2004-03-30 Angus Leeming <leeming@lyx.org>
1744 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1745 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1747 * lyxfunc.C (getStatus, dispatch): define the actions for these
1748 lfuns. Little more than a cut and pste job from ControlDocument.C
1750 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1752 2004-03-30 Angus Leeming <leeming@lyx.org>
1755 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1756 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1758 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1759 open/closed state of ollapsable insets. Usage:
1761 all-inset-toggle <state> <name>, where
1762 <state> == "open" || "closed" || "toggle" and
1763 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1765 * lyxtext.h, text2.C (toggleInset): removed.
1767 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1768 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1769 now passes LFUN_INSET_TOGGLE to the found inset.
1771 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1772 is now invoked as "all-insets-toggle toggle branch".
1774 2004-03-30 Angus Leeming <leeming@lyx.org>
1778 * pariterator.[Ch]: added/corrected header blurb.
1780 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1782 * dociterator.[Ch]: add an inset_ member
1783 (backwardPos): implemented
1784 (backwardPos, forwardPos): use inset_ when the stack is empty.
1785 (doc_iterator_begin, doc_iterator_end): implemented
1786 * pariterator.[Ch]: adjust, add begin, end
1787 * insetiterator.[Ch]: adjust, add begin, end
1791 * BufferView_pimpl.C:
1792 * CutAndPaste.C: adjust
1794 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1796 * buffer.C: increment file format to 232.
1797 * LaTeXFeatures.C: add bibtopic package.
1798 * bufferparams.[Ch]: param \use_bibtopic.
1800 * lyxrc.[Ch]: add lyxrc bibtex_command
1801 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1803 * buffer.C: increment file format to 231.
1805 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1807 * dociterator.C: implement forwardPar
1808 * iterators.[Ch]: remove, replaced by
1809 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1811 * BufferView_pimpl.C:
1814 * bufferview_funcs.C:
1820 * Makefile.am: adjust
1822 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1824 * CutAndPaste.C (pasteSelection): fix 2 crashes
1825 (eraseSelection): fix a crash
1826 * paragraph_funcs.C: remove a warning
1828 2004-03-28 Angus Leeming <leeming@lyx.org>
1831 * LyXAction.C (init): new LFUN_PRINT.
1833 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1835 2004-03-27 Angus Leeming <leeming@lyx.org>
1838 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1840 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1842 2004-03-27 Angus Leeming <leeming@lyx.org>
1844 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1845 insetlist always contains non-null pointers to insets.
1847 2004-03-26 Angus Leeming <leeming@lyx.org>
1849 * src/BufferView_pimpl.C:
1850 * src/CutAndPaste.C:
1853 * src/output_plaintext.C:
1854 * src/outputparams.h:
1855 * src/paragraph_funcs.C:
1859 * src/frontends/controllers/ControlErrorList.C:
1860 * src/frontends/gtk/FileDialogPrivate.C:
1861 * src/frontends/gtk/GPainter.C:
1862 * src/frontends/gtk/GToolbar.C:
1863 * src/frontends/qt2/QRef.C:
1864 * src/mathed/math_scriptinset.C: squash compiler warnings.
1866 2004-03-26 Angus Leeming <leeming@lyx.org>
1868 * ispell.C (LaunchIspell::start):
1869 * lyx_cb.C (AutoSaveBuffer::start):
1870 invoke run(DontWait) rather than runNonBlocking().
1872 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1874 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1876 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1878 * kbsequence.C (print): adjust
1880 * kbmap.C (printKeySym): rename and change signature
1881 (printKey): use LyXKeySym::print()
1883 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1885 * undo.C: add using std::advance to compile for stlport
1887 2004-03-24 Angus Leeming <leeming@lyx.org>
1889 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1890 it leads to a crash when no buffer is present.
1892 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1893 Martin Vermeer <martin.vermeer@hut.fi>
1895 * lyxfunc.C (dispatch):
1896 * bufferparams.C (readToken): use the new LColor::setColor
1898 * LColor.[Ch] (setColor): new version that takes two strings as
1899 argument and creates a new color entry if necessary
1901 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1903 * buffer.C (makeLaTeXFile): if the main latex file that is
1904 processed is usually a subdocument of some master, then pretend
1905 for a while that it is actually the master
1907 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1909 * buffer.C (getLabelList):
1910 (getBibkeyList): use getMasterBuffer()
1911 (getMasterBuffer): new method. Returns the main document in the
1912 case where one is using included documents.
1914 2004-03-25 André Pönitz <poenitz@gmx.net>
1918 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1920 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1922 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1923 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1925 * ParameterStruct.h: merge with ParagraphParameters
1927 * lyxtext.h: remove LyXText::parOffset() and getPar()
1929 * text3.C: Remove all 'manual' update calls. We do now one per user
1930 interaction which is completely sufficient.
1934 * BufferView_pimpl.C:
1935 * FontIterator.[Ch]:
1937 * ParagraphParameters.[Ch]:
1942 * cursor_slice.[Ch]:
1949 * output_docbook.[Ch]:
1950 * output_latex.[Ch]:
1951 * output_linuxdoc.[Ch]:
1952 * output_plaintext.[Ch]:
1954 * paragraph_funcs.[Ch]:
1955 * paragraph_pimpl.[Ch]:
1963 * frontends/controllers/ControlDocument.C:
1964 * frontends/controllers/ControlErrorList.C:
1965 * frontends/controllers/ControlSpellchecker.C:
1968 * insets/insetbase.h:
1969 * insets/insetbibitem.C:
1970 * insets/insetbox.C:
1971 * insets/insetbranch.C:
1972 * insets/insetcaption.C:
1973 * insets/insetcharstyle.C:
1974 * insets/insetcharstyle.h:
1975 * insets/insetcollapsable.C:
1976 * insets/insetcollapsable.h:
1977 * insets/insetert.C:
1978 * insets/insetfloat.C:
1979 * insets/insetfoot.C:
1980 * insets/insetmarginal.C:
1981 * insets/insetnote.C:
1982 * insets/insetoptarg.C:
1983 * insets/insettabular.C:
1984 * insets/insettext.C:
1985 * insets/insettext.h:
1986 * insets/insetwrap.C:
1987 * mathed/math_mboxinset.C:
1988 * mathed/math_nestinset.C:
1989 * mathed/math_scriptinset.C:
1990 * mathed/math_scriptinset.h:
1993 2004-03-24 Angus Leeming <leeming@lyx.org>
1995 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1996 deal with any child processes that have finished but are waiting to
1997 communicate this fact to the rest of LyX.
1999 2004-03-24 Angus Leeming <leeming@lyx.org>
2001 64-bit compile fixes.
2003 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2004 (c-tor): pass lyx::pos_types rather than ints.
2006 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2009 * text.C (Delete): compile fix.
2010 (getPar): ensure that function declaration is the same as that in
2013 2004-03-23 Angus Leeming <leeming@lyx.org>
2015 * ispell.C (LaunchIspell):
2016 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2017 a boost::shred_ptr rather than a std::auto_ptr.
2019 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2021 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2022 handle LFUN_FILE_INSERT_*
2024 * lyxrc.C (setDefaults, getDescription, output, read):
2025 * lyxrc.h: remove ps_command
2027 2004-03-22 Angus Leeming <leeming@lyx.org>
2029 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2030 Ensure that error_handler is processed once only and that all data
2031 is saved before attempting to output any warning messages.
2033 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2035 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2037 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2039 2004-03-19 André Pönitz <poenitz@gmx.net>
2041 * cursor.[Ch] (reset): take main text inset as argument
2043 * BufferView: adjust
2044 * BufferView_pimpl.C: adjust
2046 * paragraph.[Ch]: fix completely broken operator=()
2048 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2050 * LColor.C (getFromLyXName): make sure that the color name is used
2053 2004-03-17 Angus Leeming <leeming@lyx.org>
2056 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2058 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2059 dialog and to kill a forked process.
2061 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2063 * text2.C (setCursorFromCoordinates): fix font problem
2065 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2067 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2068 bogus "rebuild cursor" code
2070 2004-03-11 André Pönitz <poenitz@gmx.net>
2072 * buffer.[Ch]: use InsetText instead of LyXText as container for
2075 * dociterator.[Ch]: drop the BufferView * member which is not needed
2076 anymore after the change to buffer.C
2078 * paragraph_funcs.C:
2082 * BufferView_pimpl.[Ch]:
2084 * cursor_slice.[Ch]: adjust
2086 * text3.C: fix bug in mathDispatch
2088 2004-03-08 André Pönitz <poenitz@gmx.net>
2090 * undo.[Ch]: use 'StableDocumentIterator' as base for
2093 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2096 * bufferparams.[Ch]: add jurabib support and param.
2098 * LaTeX.C: add FIXME/comment.
2100 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2102 * buffer.C: increment file format to 230.
2104 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2106 * cursor.C (dispatch): avoid infinite loops
2108 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2110 * rowpainter.C (paintSelection): fix x coordinates
2112 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2114 * text.C (rowBreakPoint): fix breaking before displayed insets
2116 2004-03-01 André Pönitz <poenitz@gmx.net>
2118 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2120 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2124 * BufferView_pimpl.C:
2132 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2138 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2139 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2141 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2143 * Bidi.[Ch] (computeTables): const correctness
2144 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2145 fill_hfill, fill_label_hfill and x from Row
2146 * lyxtext.h: prepareToPrint returns a RowMetrics
2147 * rowPainter.C: adjust
2148 * text.C (prepareToPrint): use width, not textWidth. adjust
2149 (redoParagraphInternal, cursorX): adjust
2150 * text2.C (getColumnNearX): adjust
2151 (init): put a default value to the top LyXText::width
2153 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2155 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2157 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2159 * lyxtext.h: add FontIterator class
2161 * text.C (FontIterator, operator*, operator->, operator++): add
2162 (rowBreakPoint, setRowWidth): adjust (fixing a
2165 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2167 * BufferView_pimpl.C (workAreaDispatch): allow also
2168 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2170 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2172 * text.C (rowBreakPoint): fix a bug showing with very large insets
2174 2004-02-25 André Pönitz <poenitz@gmx.net>
2177 * cursor.[Ch]: move some mathed specific code to mathed
2179 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2181 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2182 use_tempdir in preferences
2183 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2185 * lyx_main.C: ensure that tempdir is valid
2186 * lyxlex.h: correct typo
2187 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2188 * paragraph.[Ch] (isMultiLingual): make const
2189 * cursor.[Ch] (openable): make const
2191 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2193 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2195 2004-02-20 André Pönitz <poenitz@gmx.net>
2197 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2199 * cursor.[Ch]: prepare for localized getStatus()
2205 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2207 2004-02-20 André Pönitz <poenitz@gmx.net>
2209 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2211 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2213 * text2.C (setCursorFromCoordinates): switch to absolute coords
2215 (cursorDown): adjust
2216 * text3.C (dispatch): adjust
2218 2004-02-16 André Pönitz <poenitz@gmx.net>
2220 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2223 * cursor_slice.[Ch]: remove unneeded acessor function
2225 * lyxtext.h: rename rtl() to isRTL()
2233 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2235 * rowpainter.C (paintSelection): coord fix
2237 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2239 * Spacing.C: compile fix
2241 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2243 * cursor.C (dispatch): restore current_ before returning
2245 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2247 * text2.C (cursorUp, cursorDown): fix coords
2250 2004-02-12 André Pönitz <poenitz@gmx.net>
2255 * text3.C: add LCursor & parameter to most cursor movement functions
2256 remove usage of LyXText::cursorRow() and cursorPar()
2258 * cursor.[Ch]: add textRow() needed members
2261 * BufferView_pimpl.C:
2264 * BufferView_pimpl.C: adjust
2266 2004-02-11 André Pönitz <poenitz@gmx.net>
2270 * BufferView_pimpl.C: shift undo/redo handling
2272 * cursor.[Ch]: fix mathed crash
2275 * lyxtext.h: move selectionAsText to LCursor
2283 * rowpainter.C: fix excessive drawing
2285 2004-02-06 André Pönitz <poenitz@gmx.net>
2288 * BufferView_pimpl.[Ch]:
2289 * text3.C: move some text specific LFUN handling
2291 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2293 * text3.C (checkInsetHit): adjust coords
2294 * text2.C (getColumnNearX): adjust coords
2295 (edit): adjust coords
2296 * text.C (getRowNearY): add two asserts
2298 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2301 * format.C: add using std::distance to compile on gcc 2.95/stlport
2303 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2305 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2307 2004-02-04 André Pönitz <poenitz@gmx.net>
2309 * BufferView.[Ch] (insertInset):
2310 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2315 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2317 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2318 on the default clause of the switch
2319 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2320 wasn't catched by LCursor::dispatch
2322 2004-02-03 André Pönitz <poenitz@gmx.net>
2325 * cursor.[Ch]: some additional asserts
2327 * undo.[Ch]: remove LyXText dependency in interface
2331 * lyxtext.h (firstPar, lastPar): remove dead functions
2336 * paragraph.[Ch]: adjust
2338 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2340 * lyxfind.C (find): fix argument order in call to ::find
2342 2004-02-02 André Pönitz <poenitz@gmx.net>
2344 * cursor.[Ch]: remove direct access to anchor
2346 * text.C: remove findText() hack
2348 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2350 * iterators.[Ch] (lockPath): remove in favour of...
2351 * BufferView.[Ch] (setCursor): this addition
2352 * BufferView.C (putSelectionAt): adjust
2353 * undo.C (performUndoOrRedo): adjust
2354 * lyxfunc.C (dispatch): adjust
2356 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2358 * iterators.C (lockPath): add a missing slice
2359 * undo.C (performUndoOrRedo): remove redundant positioning code
2361 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2363 * vc-backend.C (scanMaster): ";" -> ';'
2365 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2367 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2368 std::binary_function
2370 * lyxtextclass.C (compare_name): rename to...
2371 (LayoutNamesEqual): ...this
2373 * lyxlex_pimpl.C (compare_tags): inherit from
2374 std::binary_function, put back into anon namespace
2376 * lyxfind.C (MatchString): inherig from std::binary_function
2377 (findChange): use empty() istead of !size()
2379 * format.C (FormatNamesEqual): new functor
2386 * converter.C (compare_Converter): rename to...
2387 (ConverterEqual): ...this, and fixup a bit.
2388 (getConverter): use it, and make function const
2389 (getNumber): use it, and make function const
2393 * bufferlist.C: add using boost::bind
2395 * MenuBackend.C (MenuNamesEqual): new functor
2396 (hasMenu): use it, and make function const
2397 (hasSubmenu): use nested bind to get rid of compare_memfun.
2399 2004-01-30 André Pönitz <poenitz@gmx.net>
2401 * BufferView_pimpl.C:
2404 * cursor_slice.[Ch]:
2407 * paragraph_funcs.C:
2408 * paragraph_funcs.h:
2412 * text3.C: move some of the edit(x,y) handling to the insets
2413 some coordinate changes.
2415 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2417 * text.C: add using statements for std::advance and std::distance
2419 * paragraph.C: add using statement for std::distance
2421 * lyxfind.C: add using statement for std::advance
2423 * cursor.C (region): remove std:: from swap
2424 (openable): use nucleus in stead of operator->
2426 * BufferView.C: add using statements for std::distance and std::swap
2428 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2430 * iterators.C: Remove the pimple, move the needed structures to
2431 the header file. Create accessor for the positions stack.
2432 (asPosIterator): remove function
2434 * PosIterator.C (PosIterator): move constructors to top of file
2435 (PosIterator): reimplement the constructor taking a ParIterator in
2437 (setFrom): new function
2438 (operator!=): inline it
2440 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2442 * lyxfind.C (replaceAll): use std::advance
2444 * iterators.h: inherit from std::iterator.
2446 * PosIterator.C (advance, distance): remove
2447 * PosIterator.h: interit from std::iterator.
2449 2004-01-26 André Pönitz <poenitz@gmx.net>
2452 * BufferView_pimpl.[Ch]:
2456 * bufferview_funcs.C:
2466 * output_linuxdoc.C:
2467 * output_plaintext.C:
2469 * paragraph_funcs.[Ch]:
2470 * paragraph_pimpl.[Ch]:
2476 * text3.C: more IU: dumps most of the rest of the mathcursor
2477 implementation into cursor.[Ch]; "globalize" a bit of it.
2479 2004-01-25 Angus Leeming <leeming@lyx.org>
2481 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2483 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2485 * LaTeXFeatures.h: add nice_ and nice() const
2486 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2488 2004-01-20 André Pönitz <poenitz@gmx.net>
2491 * BufferView_pimpl.C:
2493 * bufferview_funcs.C:
2495 * cursor_slice.[Ch]:
2506 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2507 LCursor and mathcursor parts to LCursor and InsetBase.
2509 2004-01-15 André Pönitz <poenitz@gmx.net>
2511 * cursor_slice.[Ch]: add a few covienience functions
2513 * funcrequest.[Ch]: remove BufferView * member
2515 * BufferView_pimpl.C:
2522 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2524 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2526 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2527 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2529 2004-01-13 André Pönitz <poenitz@gmx.net>
2532 * lyxtext.h: hide cursor and selection anchor behind accessor function
2535 * BufferView_pimpl.[Ch]:
2537 * bufferview_funcs.C:
2547 * cursor_slice.[Ch]: some integer type changes for inset unification
2549 * lyxcursor.[hC]: remove, it's CursorSlice now.
2552 * BufferView_pimpl.[Ch]:
2553 * bufferview_funcs.C:
2559 * textcursor.[Ch]: adjust
2561 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2563 * text2.C (undoSpan): add and use
2564 * text.C (breakParagraph): use undoSpan (fix bug 578)
2567 2004-01-08 Angus Leeming <leeming@lyx.org>
2569 * BufferView_pimpl.C (MenuInsertLyXFile):
2570 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2571 * lyxfunc.C (menuNew, open, doImport):
2572 FileFilterList change to the FileDialog open and save functions.
2574 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2576 * ShareContainer.h: make isEqual and isUnique adaptable
2578 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2580 2004-01-07 Angus Leeming <leeming@lyx.org>
2583 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2585 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2587 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2588 functions replacing find, replace and replaceAll.
2590 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2591 LFUN_WORDFIND(FORWARD|BACKWARD).
2593 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2595 * text.C (breakParagraph): remove an outdated #warning
2597 2004-01-07 André Pönitz <poenitz@gmx.net>
2599 * lyxfind.C: somewhat clearer logic
2601 * text.C: prevent crash in cursorX on unitialized row cache
2603 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2605 * lyxcursor.[Ch] (operator>): add
2606 * textcursor.C (selStart, selEnd): use std::min and std::max
2608 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2610 * Chktex.C: include boost/format.hpp
2612 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2614 * InsetList.C: replace functor MathcIt with adaptable functor
2616 (insetIterator): modify accordingly
2618 * BranchList.h: move the BranchNamesEqual functor here from...
2619 * BranchList.C: ... to here
2621 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2623 (add): replace a finding loop with std::find_if.
2625 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2627 * output_docbook.C: moving LatexParam functionality into
2630 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2632 * buffer.C: increment format to 229.
2634 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2637 * lyx_sty.[Ch]: remove minipageindent_def
2643 * text3.C: remove LFUN_INSET_MINIPAGE
2645 2003-12-28 Angus Leeming <leeming@lyx.org>
2647 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2649 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2651 * text2.C (setParagraph): fix off-by-one crash
2653 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2655 * output_docbook.C: header stuff for AGU
2657 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2659 * text2.C (redoCursor): remove
2662 * BufferView_pimpl.C: remove calls to redoCursor and
2663 setCursor(cursor.par(), cursor.pos()) all around
2665 2003-12-15 Angus Leeming <leeming@lyx.org>
2667 * buffer.C: up the format to 228.
2669 2003-12-15 André Pönitz <poenitz@gmx.net>
2671 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2676 * BufferView_pimpl.C:
2685 2003-12-15 Angus Leeming <leeming@lyx.org>
2687 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2688 than getFromGUIName to manipulate the color.
2690 2003-12-14 Angus Leeming <leeming@lyx.org>
2692 * BranchList.[Ch]: minimize the API.
2693 (Branch::getBranch, getColor): now return a 'const &'.
2694 (Branch::setSelected) now returns a bool set to true if the
2695 selection status changes.
2696 (BranchList::clear, size, getColor, setColor, setSelected,
2697 allBranches, allSelected, separator): removed.
2698 (BranchList::find): new functions, returning the Branch with
2700 (BranchList::add, remove): return a bool indicating that
2701 the operation was successful.
2703 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2704 new InsetBranch::isBranchSlected member function.
2706 * LColor.[Ch]: mimimize the API.
2707 (fill): renamed as addColor and made private.
2708 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2709 versions of these functions taking a string arg have been removed.
2711 * bufferparams.C (readToken):
2712 * lyxfunc.C (dispatch):
2713 * lyxrc.C (read): changes due to the altered BranchList and
2716 * factory.C (createInset, readInset): changes due to altered
2719 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2722 * lyxfunc.C: remove insetminipage. "minipage-insert"
2723 now produces a frameless minipage box inset.
2725 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2727 * textcursor.[Ch] (selStart,selEnd): add new methods
2728 remove selection::start, end, use LyXCursor::operator<
2729 * lyxcursor.[Ch] (operator<): add
2730 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2731 * BufferView.[Ch] (unsetXSel): add
2732 * text2.C (clearSelection): use unsetXSel,adjust
2735 * rowpainter.C: adjust
2736 * bufferview_funcs.C (put_selection_at): adjust
2738 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2740 * BufferView_pimpl.C: small coord. correction
2742 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2744 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2745 dragging over the splash screen.
2747 2003-12-11 Angus Leeming <leeming@lyx.org>
2749 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2750 as it is now handled in LyXText::dispatch.
2752 * text3.C (doInsertInset): remove a level of nesting.
2754 2003-12-11 Angus Leeming <leeming@lyx.org>
2756 * factory.C (createInset): changes due to the changed interface to
2757 InsetCommandMailer::string2params.
2759 2003-12-10 Angus Leeming <leeming@lyx.org>
2761 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2762 'dialog-show-new-inset <inset name>'
2764 2003-12-10 Angus Leeming <leeming@lyx.org>
2766 * buffer.C: up the format to 227.
2768 * factory.C: the box inset is now identified simply by 'Box'.
2770 2003-12-10 Angus Leeming <leeming@lyx.org>
2772 * buffer.C: up the format to 226.
2774 * factory.C: the note inset is now identified simply by 'Note'.
2776 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2778 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2779 when a pit is enough. Standarize a couple of loops.
2781 2003-12-05 Angus Leeming <leeming@lyx.org>
2783 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2784 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2785 data to the re-worked "log" dialog.
2787 2003-12-03 André Pönitz <poenitz@gmx.net>
2793 * paragraph_funcs.C:
2795 * text2.C: use Inset::getText instead of Inset::getParagraph
2797 2003-12-03 André Pönitz <poenitz@gmx.net>
2801 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2802 InsetText::read() as LyXText::read()
2804 2003-12-02 Angus Leeming <leeming@lyx.org>
2806 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2807 type. Add a comment in the implementation that the function uses
2808 the stream's bad() function rather than fail() as the std::streams
2811 2003-12-02 André Pönitz <poenitz@gmx.net>
2813 * lyxlex.[Ch]: make interface more similar to std::stream
2815 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2817 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2819 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2821 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2823 * vspace.[Ch]: remove VSpace::NONE
2825 2003-12-01 André Pönitz <poenitz@gmx.net>
2828 * lyxtext.h: move ParagraphList member to LyXText
2829 rename LyXText::ownerParagraphs to LyXText::paragraph
2832 * bufferview_funcs.C:
2842 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2844 * undo.C: fix cursor positioning
2846 2003-12-01 John Levon <levon@movementarian.org>
2848 * BufferView_pimpl.C: fix a crash on exit with
2851 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2853 * BranchList.C: fix setSelected() method.
2855 2003-11-28 André Pönitz <poenitz@gmx.net>
2857 * ParagraphParameters.[Ch]:
2858 * ParameterStruct.h: remove space above/below from Paragraph to
2861 * BufferView_pimpl.C:
2867 * paragraph_funcs.C:
2873 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2875 * factory.C: Syntax change for CharStyles
2877 2003-11-28 André Pönitz <poenitz@gmx.net>
2882 * buffer.[Ch]: move LyXText member
2884 2003-11-28 André Pönitz <poenitz@gmx.net>
2886 * BufferView.[Ch]: make LyXText * text a private member
2888 * BufferView_pimpl.C:
2899 * output_plaintext.C: cleanup
2901 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2904 * lyxtextclass.[Ch]: parametrize SGML document header
2906 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2909 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2912 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2914 * text2.C (setFont): rework using PosIterator (no more recursive)
2915 (setCharFont): no more needed
2916 (setLayout): no more selection cursors fiddling (done by redoCursor)
2917 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2918 destroy remaining ones)
2920 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2922 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2924 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2927 * text3.C: adjust + re-allow multi par depth changes
2928 * textcursor.C: simplify a bit
2930 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2936 * src/output_docbook.C:
2937 * src/output_latex.C:
2942 * src/text2.C: Introducing a number of tags parametrizing various
2943 XML formats that we may want to support
2945 2003-11-25 André Pönitz <poenitz@gmx.net>
2947 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2949 * lyxtext.h (leftMargin/rightMargin): simplify interface
2956 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2958 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2959 master file to any child files. Fixes bug 546.
2961 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2963 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2965 2003-11-24 André Pönitz <poenitz@gmx.net>
2967 * rowpainter.C: simplification
2969 * text2.C (updateCounters): remove call to redoParagraph on
2970 changed labels as this is far too expensive.
2972 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2974 * converter.C (convert): fix a crash: this function gets
2975 called with buffer == 0 from importer code.
2977 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2979 * text3.C (cursorPrevious): make sure that we do not compare
2980 iterators form different containers.
2983 * rowpainter.C (paintSelection): make sure that we do not compare
2984 iterators from different containers.
2986 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2987 iterators from different ParagraphList containers.
2990 * text2.C (LyXText): change order of initialization slightly
2991 (operator=): new function. copy all variables except cache_par_
2992 (moveUp): make sure that we do not compare iterators from
2993 different ParagraphList constainers.
2996 * text.C (firstPar): new function
2997 (lastPar): new function
2998 (endPar): new function
3000 * lyxtext.h: move things around and group public functions, public
3001 variables, private functions, private variables
3003 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3005 * factory.C: change call to InsetERT constructor to avoid
3006 additional invocation of method status
3007 * text2.C (toggleInset): remove redundant update() call
3008 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3009 instead of a Bufferview pointer
3011 2003-11-21 André Pönitz <poenitz@gmx.net>
3013 * rowpainter.C: simplification
3015 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3017 * text3.C (dispatch): make possible to extend a word/row selection
3020 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3022 * lyxtext.h: x0_,y0_ -> xo_,yo_
3023 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3024 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3025 * rowpainter.C (paintRows): paint full paragraphs
3027 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3029 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3032 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3034 * lyxtext.h: add x0_, y0_
3035 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3036 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3038 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3040 * text2.C (setCursorIntern): move the x_target update here *
3041 * text3.C: change some bv() to true/false in calls to
3042 cursorUp/Down/Right/Left
3043 * cursor.C: use helper function.
3045 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3047 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3048 * paragraph_funcs.[Ch]: correct comment
3049 * rowpainter.C: do not paint selections away from bv->cursor()
3050 Fix a long standing selection painting bug.
3051 * text3.C: generalize mouse-selection code to LyXTexts other that
3053 * textcursor.C: do not use y coords if we can use par offsets
3055 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3057 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3058 cursor position after e.g. inset insert)
3060 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3062 * lyxfind.C (replace): adjust to locking removal + some
3065 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3067 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3070 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3073 * output_docbook.C: XML sanitation: new layout
3074 parameters InnerTag and CommandDepth
3076 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3078 * BufferView_pimpl.C:
3080 * text3.C: Fix the insertion and modification of button-style
3083 2003-11-13 André Pönitz <poenitz@gmx.net>
3085 * InsetList.[Ch]: remove deleteLyXText
3087 * paragraph.[Ch]: cache beginOfBody position
3092 * text3.C: remove superfluous update() calls
3096 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3098 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3099 * BufferView.C (fitLockedInsetCursor): remove
3100 * cursor.[Ch] (getDim): add
3101 * text.C (getRowNearY): add faster version
3102 * text3.C: remove some update calls
3104 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3116 * text3.C: The Character Style /XML short element patch.
3118 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3121 * factory.C: Small step to solving 'unable to insert some insets'
3124 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3126 * cursor.[Ch] (updatePos): new function for updating the y
3127 position of the tip inset
3128 * bufferview_funcs.C (put_selection_at):
3129 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3131 2003-11-11 André Pönitz <poenitz@gmx.net>
3133 * text.C: remove big comment on invalid Paragraph pointers as it is
3136 2003-11-11 André Pönitz <poenitz@gmx.net>
3138 * text_funcs.[Ch]: merge with ...
3146 * Makefile.am: remove text_funcs.[Ch]
3148 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3150 * cursor.C (getPos): return absolute cached y coord
3152 * BufferView_pimpl.C (fitCursor): new simplistic code
3153 (workAreaDispatch): add a fitCursor call
3155 2003-11-10 André Pönitz <poenitz@gmx.net>
3158 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3160 2003-11-10 André Pönitz <poenitz@gmx.net>
3162 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3163 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3164 indicate that the cursor needs to leave an inset
3166 * lyxtext.h: remove inset locking
3168 * cursor.[Ch]: re-implement functionality provided by inset locking
3171 * BufferView_pimpl.[Ch]:
3173 * bufferview_funcs.[Ch]:
3185 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3187 * PosIterator.[Ch]: replace the stack with a vector, add inset
3189 * iterators.[C]: adjust
3191 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3193 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3195 * paragraph_funcs.C (readParToken): put the correct id in the
3196 error item, not the id of the top paragraph
3198 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3200 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3201 * bufferview_funcs.C (put_selection_at): use the above
3203 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3205 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3207 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3209 * output_linuxdoc.h:
3210 * output_plaintext.h:
3212 * output_docbook.h: add #include statements
3214 2003-11-05 José Matos <jamatos@lyx.org>
3216 * output_docbook.[Ch]:
3217 * output_latex.[Ch]:
3218 * output_linuxdoc.[Ch]:
3219 * output_plaintext.[Ch]: New files for output formats.
3220 * output.[Ch]: New file for helper functions.
3223 * paragraph_funcs.[Ch]: output functions moved to new files.
3225 * outputparams.h: rename of latexrunparams.h
3233 * paragraph_funcs.[Ch]:
3234 * paragraph_pimpl.[Ch]:
3235 * tabular.[Ch]: rename ascii to plaintext
3236 and LatexRunParams to OutputParams.
3238 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3240 * iterators.[Ch] (text): require bv argument
3241 * undo.C (recordUndo):
3242 * lyxfunc.C (dispatch):
3243 * bufferview_funcs.C (put_selection_at): adjust
3245 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3247 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3249 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3251 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3254 2003-11-04 André Pönitz <poenitz@gmx.net>
3256 * cursor.[Ch]: restructure
3259 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3261 * iterators.[Ch] (asCursor): remove
3263 * lfuns.h: remove LFUN_INSET_EDIT
3269 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3271 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3273 * lyxfind.[Ch]: complete overhaul
3274 * BufferView_pimpl.C:
3276 * paragraph.[Ch] (insert): add
3278 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3282 * text.C: remove dead spellcheck code
3284 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * dispatchresult.h: add a val setter
3288 * cursor.C (dispatch): use a tempvar for data_[i]
3290 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3292 * PosIterator.[Ch]: compile fix
3294 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3296 * text.C (cursorPar): deactivate the cursor cache
3298 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3300 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3302 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * text3.C (dispatch): adjust for new DisptchResult semantics.
3306 * lyxfunc.C (dispatch): handle update when return from
3307 Cursor::dispatch, adjust for new DispatchResult semantics.
3309 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3310 DispatchResult(true) mean to not update. Add class functions for
3311 setting dispatched and update, as well as reading.
3313 * cursor.C (dispatch): don't handle update here
3315 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3318 * trans_mgr.C: adjust
3320 * paragraph_funcs.C (readParToken): exception safety
3322 * lyxvc.h: store the vcs pointer in a scoped_ptr
3325 * lyxsocket.C (serverCallback): exception safety
3327 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3329 * ispell.C (clone): make it return a auto_ptr
3331 * factory.C (createInset): exception safety
3332 (readInset): exception safety
3334 * bufferlist.C (newBuffer): exception safety
3336 * Thesaurus.C (Thesaurus): use initialization for aik_
3338 * MenuBackend.C (expandToc): exception safety.
3340 2003-11-03 André Pönitz <poenitz@gmx.net>
3344 * bufferview_funcs.C: remove getInsetFromId()
3347 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3353 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3355 * PosIterator.C (distance, advance): new
3356 * bufferview_funcs.[Ch] (put_selection_at): new
3357 * iterators.[Ch] (lockPath): new
3359 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3361 * iterators.[Ch] (asPosIterator): added
3362 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3363 * PosIterator.[Ch]: added
3365 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3369 * cursor.C (dispatch):
3370 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3372 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3373 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3374 contructor, add a class function dispatched. Remove operator>=
3376 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * debug.C: only use the default constructor for debugstream
3381 * main.C (main): include debug.h and setup the lyxerr streambuf
3384 2003-10-31 José Matos <jamatos@lyx.org>
3386 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3388 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3389 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3390 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3391 * paragraph_pimpl.C (simpleTeXSpecialC):
3392 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3393 add LatexRunParams argument.
3395 * exporter.C (Export): change call accordingly.
3397 * latexrunparams.h: add new member to take care of the other backends.
3398 2003-10-30 José Matos <jamatos@lyx.org>
3400 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3401 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3402 factorise code for paragraph output.
3404 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3407 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * text3.C (dispatch):
3410 * lyxfunc.C (dispatch):
3411 * cursor.C (dispatch):
3412 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3414 * dispatchresult.h: make the dispatch_result_t ctor explicit
3416 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3419 * buffer.C: small refactoring of docbook stuff
3421 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3426 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3429 operator dispatch_result_t, and operators for == != and >=
3431 * cursor.C (dispatch): adjust for operator dispatch_result_t
3432 removal. comment out call to update
3434 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3436 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3447 * dispatchresult.h: new file, DispatchResult broken out of
3450 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3452 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3454 * text.C (rowBreakPoint): put a hack inside #if 0
3456 2003-10-28 André Pönitz <poenitz@gmx.net>
3460 * paragraph_funcs.C:
3463 * text2.C: general cleanup (lots of small stuff)
3465 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3467 * text2.C (cursorEnd): simple fix to the "end key goes to one
3468 before the end on last row" bug
3470 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3472 * text.C (backspace): fix the "zombie characters"
3474 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3476 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3478 2003-10-27 André Pönitz <poenitz@gmx.net>
3480 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3482 * factory.C: handle new InsetPagebreak, InsetLine
3484 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3485 and move handling into new InsetPagebreak, InsetLine
3487 * BufferView_pimpl.C:
3489 * ParagraphParameters.C:
3490 * ParameterStruct.h:
3495 * paragraph_funcs.C:
3496 * paragraph_pimpl.C:
3502 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3505 * lyxrow_funcs.[Ch]:
3511 * text3.C: remove lastPos uses in favour of Row::endpos
3513 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3515 * undo.C (performUndoOrRedo): fix two crashes by setting a
3516 cursor by hand and reordering some calls. Use bv->lockInset instead
3517 of inset->edit because the latter loses cursor information
3519 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3521 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3523 (rowBreakPoint): fix width. change point to point + 1.
3524 Add a missing check.
3526 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3529 * lyxfunc.C: fix (at least partly) the problems
3530 with the Nav menu and headers inside branch insets
3533 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3535 * paragraph.C (getChar): add strong asserts
3537 * lyxrow_funcs.C (lastPos): remove hideous hack
3539 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3540 (fill): adjust to that (avoid an infinite loop)
3542 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3544 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3546 2003-10-23 André Pönitz <poenitz@gmx.net>
3548 * RowList_fwd.h: change list<> to vector<> to gain speed
3549 after suggestion from Alfredo
3551 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3553 * lyxtext.h: move the bidi stuff from here...
3556 * Bidi.[Ch]: ... to here
3558 2003-10-23 André Pönitz <poenitz@gmx.net>
3561 * text.C (isLastRow, isFirstRow): new functions
3563 * paragraph.h: new width cache member
3565 * rowpainter.C: replace RowList::iterator with Row & where possible
3567 * lyxfunc.C: replace several view()->text with a single call
3569 * toc.C: fix 'unused' warning
3571 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3573 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3574 when woring with stream::pos_type
3575 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3577 2003-10-22 André Pönitz <poenitz@gmx.net>
3580 * text.C: use Row & instead of RowList::iterator
3582 * lyxrow.h: rename end() to endpos()
3588 2003-10-22 Angus Leeming <leeming@lyx.org>
3590 * buffer.[Ch] (fully_loaded): new member function, returning true
3591 only when the file has been loaded fully.
3592 Used to prevent the premature generation of previews and by the
3593 citation inset to prevent computation of the natbib-style label.
3595 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3596 templates are all set up.
3598 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3600 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3602 * text.C: fixed an "oops" in the "is a bit silly"
3605 2003-10-21 André Pönitz <poenitz@gmx.net>
3607 * FuncStatus.[Ch]: small stuff, whitespace
3609 * lyxfont.[Ch]: operator<<() for debug reasons
3613 * lyxtext.h: whitespace, spelling
3615 * paragraph.C: naming of variables
3618 * text2.C: small stuff
3621 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3623 * text.C: (1) finish off the inset display() work;
3624 (2) fix the "is a bit silly" bug (accessing char
3627 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3629 * text.C: re-introduce display() for insets, fixing the
3630 various bugs (stretch of line above, math inset
3633 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3635 * text.C (rightMargin): remove spurious semicolon
3637 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3640 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3642 * text3.C: fix one crash due to wrong cursor def
3644 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * vc-backend.C (scanMaster): make the regex static
3648 * LaTeX.C (scanAuxFile): make the regexs static
3650 * text3.C (doInsertInset, dispatch, dispatch):
3651 * text2.C (cursorUp, cursorDown):
3652 * text.C (selectNextWordToSpellcheck):
3653 * BufferView_pimpl.C (dispatch):
3654 * lyxfunc.C (dispatch): localDispatch -> dispatch
3656 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3658 * lyxsocket.C: include <cerrno>
3660 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3662 * lyxfunc.C (dispatch): remove textcache stuff
3664 * bufferlist.C (release): remove textcache stuff
3667 * TextCache.C: delete file
3668 * TextCache.h: delete file
3670 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3672 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3673 delete of the bv_->text.
3674 (resizeCurrentBuffer): remove texcache stuff
3675 (workAreaResize): ditto
3677 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3679 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3682 2003-10-16 André Pönitz <poenitz@gmx.net>
3689 * text3.C: speed up by storing y positions per paragraph plus per-row
3690 offset instead of having a 'full' y position in the row.
3692 2003-10-15 André Pönitz <poenitz@gmx.net>
3696 * undo.[Ch]: make undo aware of inner insets
3698 2003-10-14 Angus Leeming <leeming@lyx.org>
3700 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3701 static member functions LyX::ref() and LyX::cref.
3702 (lastfiles): new accessor functions for the new lastfiles_ member var.
3703 (addLyXView, views_): add a new LyXView to the list of views_.
3704 (updateInset): loop over all LyXViews to call their own updateInset
3705 member function, returning a pointer to the Buffer owning the inset.
3707 * BufferView_pimpl.C (loadLyXFile):
3708 * MenuBackend.C (expandLastfiles):
3709 * bufferlist.C (MenuWrite, QuitLyX):
3710 lastfiles is no longer a global variable.
3711 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3713 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3714 static function. Access through LyX::cref().emergencyCleanup().
3716 2003-10-14 André Pönitz <poenitz@gmx.net>
3718 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3720 * undo.[Ch]: restoring part of 'undo in insets'
3723 * undo_funcs.[Ch]: merge with undo.[Ch]
3725 * tabular.C: small cleansing stuff
3727 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3729 * paragraph_funcs.C (readParToken): report unknown insets as error
3730 boxes. Use the outer paragraph as location (also for unknown
3733 * factory.C (readInset): do not abort on reading an unknown inset.
3734 Eat it and return 0.
3736 2003-10-13 Angus Leeming <leeming@lyx.org>
3738 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3740 * lyxrc.C: displayTranslator is now a function,
3741 declared in GraphicsTypes.h.
3743 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3745 * format.C: new placeholder $$a to pass the socket address.
3747 * bufferlist.[Ch]: new function getBufferFromTmp.
3749 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3750 files in the temporary dir.
3752 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3754 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3756 * Makefile.am: add lyxsocket.[Ch].
3758 * lyx_main.C (error_handler): handle SIGPIPE.
3760 2003-10-13 André Pönitz <poenitz@gmx.net>
3762 * BufferView_pimpl.C:
3767 * undo_funcs.[Ch]: use paroffset_type instead of
3768 ParagraphList::iterators to prevent multiple conversion
3769 (and get a more robust interface)
3771 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3775 * text3.C (dispatch): ditto
3777 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3780 move the onlyfile, use onlyfile instead of foundfile in a couple
3783 * DepTable.C (update): flush the error stream a bit more
3785 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3787 * lyxserver.C (callback): adjust
3789 * lyxfunc.C (getStatus): add a missing brace in commented code
3790 (ensureBufferClean): reindent
3791 (dispatch): delete version taking a string
3793 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3795 * LaTeX.C (deplog): move found file handlig from here...
3796 (handleFoundFile): .. to new function here.
3797 (deplog): make sure to discover several files mentioned on the
3800 2003-10-10 André Pönitz <poenitz@gmx.net>
3807 * text3.C: fix some of the tabular crashes
3809 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3811 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3813 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3815 2003-10-09 André Pönitz <poenitz@gmx.net>
3817 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3820 * BufferView_pimpl.C:
3821 * bufferview_funcs.C:
3832 * undo_funcs.C: adjust
3834 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3836 * text2.C (incrementItemDepth): new function, use a backtracking
3837 algorithm to discover the correct item depth.
3838 (resetEnumCounterIfNeeded): new function, use a backtracking
3839 algorithm to discover if counter reset is needed.
3840 (setCounter): use them. Simplify a bit. Add different labels for
3841 different item depths for itemize.
3843 * paragraph.C (Paragraph): remove initialization of enumdepth
3846 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3847 enumerate and itemize. Change the type of itemdepth to signed char.
3849 2003-10-08 André Pönitz <poenitz@gmx.net>
3851 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3856 * tabular.[Ch]: fix crash after 'row-insert'
3858 2003-10-08 Angus Leeming <leeming@lyx.org>
3860 Fix doxygen warnings.
3862 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3863 Remove CutAndPaste:: prefix from header file declaration.
3865 * LColor.h (fill): remove LColor:: prefix from declaration.
3867 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3868 use lyx::depth_type rather than Paragraph::depth_type so that
3869 header file and .C file match.
3871 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3873 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3874 * aspell.C: \file aspell_local.C -> \file aspell.C
3875 * gettext.C: \file gettext.C -> \file src/gettext.C
3876 * gettext.h: \file gettext.h -> \file src/gettext.h
3877 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3878 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3879 * text.C: \file text.C -> \file src/text.C
3881 * toc.C: move comment so that doxygen is not confused.
3883 2003-10-07 Angus Leeming <leeming@lyx.org>
3885 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3887 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3890 * aspell_local.h: add forgotten std::string's.
3892 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3899 * text3.C: The Box patch. Fancybox support, minipage, parbox
3901 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3907 * ParagraphParameters.h:
3917 * lyxtextclasslist.h:
3920 * paragraph_pimpl.C:
3921 * textcursor.h: add <string> and other small fixes to make Lars'
3922 std::string patch compile with STLport.
3924 2003-10-06 Angus Leeming <leeming@lyx.org>
3926 * LColor.h: Add missing #include <string>.
3928 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * All most all file in all subdirs: Make <string> be the prefered
3931 way of getting to std::string, add using declarations.
3933 2003-10-06 André Pönitz <poenitz@gmx.net>
3935 * metricsinfo.C: initialize LyXFont before changing attribute.
3936 (fixes the 'math in \emph is upright' bug)
3938 2003-10-06 André Pönitz <poenitz@gmx.net>
3940 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3942 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3945 * paragraph_pimpl.C: Small fixes to build using STLport
3947 2003-10-02 André Pönitz <poenitz@gmx.net>
3950 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3952 2003-10-01 André Pönitz <poenitz@gmx.net>
3954 * factory.C: assert early
3956 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3958 * lyx_main.C: remove the global debug object
3960 * debug.h: adjust for new debugstream
3962 * debug.C: adjust for new debugstream and keep the global debug
3965 2003-09-22 Angus Leeming <leeming@lyx.org>
3967 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3968 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3969 an incomplete class LyXFont.
3971 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3973 * factory.C: bug fix in branches
3975 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3977 * lyxfunc.C (processKeySym): adjust
3979 (dispatch): change arg name from ev to func, adjust
3980 (sendDispatchMessage): ditto
3982 * lyx_main.C (defaultKeyBindings): adjust keybindings
3983 (deadKeyBindings): ditto
3985 * kbsequence.C (addkey): return a FuncRequest
3987 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3989 * kbmap.C (bind): take a FuncRequest as arg, adjust
3992 (defkey): change to take a FuncRequest as arg, adjust
3993 (findbinding): take a FuncRequest as arg, adjust.
3995 * funcrequest.h (operator=): added
3997 * funcrequest.C (FuncRequest): default kb_action changed from
3998 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4000 * buffer.C (dispatch): simplify
4001 (dispatch): adjust to take a FuncRequest as arg, adjust
4003 * boost.C (assertion_failed): change assertion message slightly
4005 * ToolbarBackend.C (read): simplify
4007 * MenuBackend.C (binding): adjust call to findbinding, add a
4008 message if no binding is found.
4010 (expandToc): correct by adding a empty FuncRequest
4012 * LyXAction.C: include <boost/assert.hpp>
4013 (isPseudoAction): delete function
4014 (LookupFunc): change name to...
4015 (lookupFunc): this. change return type to FuncRequest.
4016 (getActionName): take kb_action as arg, simplify
4017 (funcHasFlag): add an assert, simplify.
4019 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * toc.C (action): return a FuncRequest, simplify
4023 * lyxfunc.C (processKeySym): adjust
4024 (getStatus): delete version that takes an int.
4026 (dispatch): delete version that takes action as int
4028 (sendDispatchMessage): simplify and adjust
4030 * funcrequest.C (getArg): take unsigned int as arg
4032 * ToolbarBackend.C (read): adjust
4033 (add): delete version that takes func as a string.
4034 (getIton): take a FuncRequest as arg
4036 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4039 * MenuBackend.C (MenuItem): add a new construct that only takes a
4040 Kind, simplify the constructor use for submenus.
4042 (expandLastfiles): adjust
4043 (expandDocuments): adjust
4044 (expandFormats): adjust
4045 (expandFloatListInsert): adjust
4046 (expandFloatInsert): adjust
4047 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4049 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4050 Remove class variables lyx_pseudo_map and lyx_arg_map
4052 * LyXAction.C (searchActionArg): delete function
4053 (getPseudoAction): delete function
4054 (retrieveActionArg): delete function
4055 (LookupFunc): make it return kb_action, simplify.
4056 (getActionName): simplify
4058 * factory.C (createInset): fix new bug
4060 2003-09-19 Angus Leeming <leeming@lyx.org>
4062 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4063 masterFilename_ parameter in the include inset.
4065 * factory.C (createInset): changes due to the changes to InsetInclude.
4067 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4069 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4071 2003-09-18 Angus Leeming <leeming@lyx.org>
4074 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4075 Inset::fillWithBibKeys.
4076 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4078 2003-09-18 Angus Leeming <leeming@lyx.org>
4080 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4082 (ctor): pass and store a 'Buffer const &'
4083 (buffer): new member function.
4085 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4086 '*this' to the LaTeXFeatures ctor.
4088 2003-09-18 Angus Leeming <leeming@lyx.org>
4094 * text.C: rename EnumLColor as LColor_color.
4096 2003-09-18 Angus Leeming <leeming@lyx.org>
4098 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4099 remove #include "insets/insetbase.h" from cursor.h.
4101 2003-09-18 Angus Leeming <leeming@lyx.org>
4103 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4104 InsetOld_code to remove #include "inset.h".
4106 * iterators.C: add #include "insets/inset.h"
4108 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4110 * BufferView.C: remove more locking stuff that apparently doesn't
4111 do anything sensible.
4113 2003-09-16 André Pönitz <poenitz@gmx.net>
4116 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4119 2003-09-16 Angus Leeming <leeming@lyx.org>
4121 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4123 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4126 * paragraph.h: remove #include "lyxfont.h". Forward declare
4129 2003-09-16 Angus Leeming <leeming@lyx.org>
4131 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4132 of support/textutils.h.
4133 (isWord): move the contents of support/textutils.h's IsWordChar here.
4139 * text2.C: add #include "paragraph.h".
4142 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4144 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4150 * LaTeX.C: use namespace alias for lyx::support::os
4152 2003-09-16 Angus Leeming <leeming@lyx.org>
4155 * bufferview_funcs.C:
4158 * paragraph_pimpl.C:
4160 * text.C: add #include "LColor.h".
4162 2003-09-16 Angus Leeming <leeming@lyx.org>
4164 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4165 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4167 Store the FontBits::color variable as an int rather than as an
4168 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4171 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4172 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4173 string calls together.
4175 * lyxrc.C: add #include "LColor.h".
4177 2003-09-15 Angus Leeming <leeming@lyx.org>
4179 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4182 2003-09-15 Angus Leeming <leeming@lyx.org>
4184 * LColor.h: add an EnumLColor wrapper for LColor::color.
4186 * lyxfont.[Ch] (color, setColor, realColor):
4187 * lyxtext.h, text.C (backgroundColor):
4188 pass EnumLColor args to/from the functions, rather than LColor::color
4192 * lyxtext.h: forward declare EnumLColor.
4194 * lyx_main.C: add #include "LColor.h".
4196 2003-09-15 Angus Leeming <leeming@lyx.org>
4198 * .cvsignore: add lyx-gtk.
4200 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4205 * ParagraphParameters.C
4209 * bufferview_funcs.C
4219 * vc-backend.C: remove usage of STRCONV
4221 2003-09-15 Angus Leeming <leeming@lyx.org>
4223 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4224 explicitly define the color passed to the painter.
4226 2003-09-15 Angus Leeming <leeming@lyx.org>
4228 * bufferparams.C (BufferParams): reorder member initializers to avoid
4231 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4233 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4234 * text.C (updateRowPositions): remove an unusual nop
4236 2003-09-12 André Pönitz <poenitz@gmx.net>
4238 * BufferView_pimpl.C:
4247 * Counters.[Ch]: finish the 'automatic counters' job
4249 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4251 * aspell.C: include <boost/assert.cpp> (compile fix)
4253 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4255 * boost.C (assertion_failed): use lyx::support::abort instead of
4258 2003-09-10 Angus Leeming <leeming@lyx.org>
4260 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4261 with their _fwd progeny.
4263 2003-09-09 Angus Leeming <leeming@lyx.org>
4265 134 files throughtout the source tree: replace 'using namespace abc;'
4266 directives with the appropriate 'using abc::xyz;' declarations.
4268 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4270 * boost.C (emergencyCleanup): moved here from LAssert.c
4271 (assertion_failed): new function, called by BOOST_ASSERT
4273 * several files: change Assert to BOOST_ASSERT
4275 2003-09-09 Angus Leeming <leeming@lyx.org>
4277 * buffer.[Ch]: Add an Impl class and move Buffer's member
4278 variables into it. As a result move several header files out of
4281 Add header files to lots of .C files all over the tree as a result.
4283 2003-09-09 Angus Leeming <leeming@lyx.org>
4285 * buffer.[Ch]: make Buffer's member variables private. Add
4288 Lots of changes all over the tree as a result.
4290 2003-09-08 Angus Leeming <leeming@lyx.org>
4292 * graph.C: #include <config.h>.
4294 2003-09-08 Angus Leeming <leeming@lyx.org>
4298 * BufferView_pimpl.C:
4327 * toc.C: remove redundant using directives.
4329 2003-09-07 Angus Leeming <leeming@lyx.org>
4331 * LaTeXFeatures.h: remove #include "support/types.h".
4332 * ToolbarBackend.h: remove #include <algorithm>.
4333 * changes.h: remove #include <ctime>.
4334 * debug.h: remove #include <iosfwd>.
4335 * graph.h: remove #include "support/std_string.h".
4336 * lyx_main.h: remove #include <csignal>.
4337 * lyxlex_pimpl.h: remove #include <fstream>.
4338 * sgml.h: remove #include <algorithm>, <utility>.
4339 * toc.h: remove #include "support/std_ostream.h".
4340 Add #include <iosfwd>.
4342 2003-09-07 Angus Leeming <leeming@lyx.org>
4344 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4346 * converter.h: forward declare LatexRunParams.
4347 * encoding.h: remove #include "lyxrc.h".
4348 * lyxtext.h: remove #include "LColor.h".
4349 * lyxtextclass.h: remove #include "support/types.h".
4350 * trans.h: remove #include "tex-accent.h".
4351 * trans_mgr.h: remove #include "tex-accent.h".
4352 * insets/inset.h: remove #include "support/types.h", <vector>.
4353 * insets/insetcollapsable.h: remove #include "LColor.h".
4354 * insets/insetinclude.h: remove #include "dimension.h".
4355 * insets/insetlatexaccent.h: remove #include "dimension.h".
4356 * insets/insetoptarg.h:: remove #include "insettext.h".
4357 * insets/insettext.h: remove #include "dimension.h",
4358 <boost/shared_ptr.hpp>
4360 * insets/renderers.h: add #include "dimension.h".
4361 * insets/updatableinset.h: add #include "support/types.h".
4363 * many .C files: Associated changes.
4365 2003-09-06 Angus Leeming <leeming@lyx.org>
4367 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4368 one, inside testInvariant.
4370 * PrinterParams.C: new file.
4371 * PrinterParams.[Ch]: move the function bodies out of line.
4373 2003-09-06 Angus Leeming <leeming@lyx.org>
4375 * ParagraphParameters.h: forward declare ParameterStruct rather than
4376 including its header file.
4377 (depth): moved out-of-line.
4379 2003-09-06 Angus Leeming <leeming@lyx.org>
4381 * BufferView_pimpl.h:
4384 * lyxfunc.h: forward declare LyXKeySym rather than
4385 #include "frontends/LyXKeySym.h".
4387 * BufferView_pimpl.C:
4390 * lyxfunc.C: associated changes.
4392 2003-09-06 Angus Leeming <leeming@lyx.org>
4394 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4395 As a result, can remove the #include "insets/inset.h" from BufferView.h
4397 2003-09-06 Angus Leeming <leeming@lyx.org>
4399 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4400 As a result, can remove the #include "insets/inset.h" from BufferView.h
4402 2003-09-06 Angus Leeming <leeming@lyx.org>
4408 * bufferview_funcs.C:
4409 * BufferView_pimpl.C:
4414 * ParagraphParameters.C:
4419 * frontends/controllers/ControlDocument.C:
4420 * insets/insetcaption.C: rearrange the #includes into some sort of
4423 * buffer.h: remove #includes ErrorList.h, undo.h
4425 2003-09-06 Angus Leeming <leeming@lyx.org>
4427 * support/types.h: add a 'depth_type' typedef, used to store the
4428 nesting depth of a paragraph.
4431 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4432 defining explicitly.
4435 * paragraph_funcs.h:
4436 * ParagraphParameters.h:
4437 * sgml.h: use lyx::depth_type rather than Paragraph or
4438 ParameterStruct's depth_type.
4441 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4444 * BufferView_pimpl.C:
4446 * ParagraphParameters.C:
4449 * bufferview_funcs.C:
4456 * frontends/LyXView.C:
4457 * frontends/controllers/ControlDocument.C:
4458 * frontends/controllers/ControlErrorList.C:
4459 * insets/insetbibitem.C:
4460 * insets/insetbranch.C:
4461 * insets/insetcaption.C:
4462 * insets/insetcollapsable.C:
4463 * insets/insetenv.C:
4464 * insets/insetert.C:
4465 * insets/insetfloat.C:
4466 * insets/insetfoot.C:
4467 * insets/insetfootlike.C:
4468 * insets/insetnewline.C:
4469 * insets/insetquotes.C:
4470 * insets/insettabular.C:
4471 * insets/insettext.C:
4472 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4474 * frontends/controllers/ControlChanges.C: #include "changes.h".
4476 2003-09-06 Angus Leeming <leeming@lyx.org>
4478 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4479 than #including paragraph.h.
4482 * RowList.h: deleted. Superfluous.
4492 * insets/insettext.h: use ParagraphList_fwd.h rather than
4495 * paragraph.h: don't forward declare ParagraphList.
4498 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4499 rather than ParagraphList.h. paragraph.h is still needed for the
4500 Paragraph::depth_type parameters.
4502 * textcursor.h: enable it to compile stand-alone in light of the
4505 * bufferview_funcs.C:
4517 * frontends/controllers/ControlParagraph.C:
4518 * frontends/controllers/ControlTabular.C:
4519 * insets/insetmarginal.C:
4520 * insets/insetminipage.C:
4521 * insets/insetnote.C:
4522 * insets/insetoptarg.C: add header files needed to compile again.
4524 2003-09-06 Angus Leeming <leeming@lyx.org>
4526 * RowList_fwd.h: new file, forward-declaring Row rather than
4527 #including lyxrow.h.
4532 * insets/insettext.h: use it instead of RowList.h
4534 * bufferview_funcs.C:
4541 * text3.C: #include "RowList.h".
4543 2003-09-05 Angus Leeming <leeming@lyx.org>
4545 * factory.C (createInset):
4546 * vspace.C (c-tor): replace sscanf call with an istringstream.
4547 * ispell.C: re-add missing HP/UX headers.
4548 * lyxserver.C: re-add missing os2 headers.
4550 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4559 * text3.C: re-add missing system headers, needed for 2.95.2.
4561 2003-09-05 Angus Leeming <leeming@lyx.org>
4563 Changes most place everywhere due to the removal of using directives
4564 from support/std_sstream.h.
4566 2003-09-05 Angus Leeming <leeming@lyx.org>
4568 Replace LString.h with support/std_string.h,
4569 Lsstream.h with support/std_sstream.h,
4570 support/LIstream.h with support/std_istream.h,
4571 support/LOstream.h with support/std_ostream.h.
4573 Changes resulting throughout the tree.
4575 2003-09-05 Angus Leeming <leeming@lyx.org>
4577 * sgml.h: ensure that the header file can be compiled stand-alone.
4578 * *.C: strip out redundant #includes. (320 in total.)
4580 2003-09-04 Angus Leeming <leeming@lyx.org>
4582 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4583 here (from getPackages).
4585 * debug.[Ch]: add a new EXTERNAL tag.
4587 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4589 * text2.C (cursorEnd): simplify
4591 (getColumnNearX): adjust
4593 * text.C (computeBidiTables): adjust
4596 * rowpainter.C (paintChars): adjust
4597 (paintSelection): adjust
4598 (paintChangeBar): adjust
4601 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4603 (numberOfSeparators): adjust
4605 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4611 * text3.C: Restricts the mouse click functionality
4612 of insets like bibtex, include, toc and floatlist to the visible
4613 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4614 up the dialogs. Cursor has to be in front of the inset (i.e.
4615 start of row) for this to function.
4617 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4619 * bufferview_funcs.C (currentState): output row information
4621 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4623 * bufferview_funcs.C (currentState): output paragraph position
4625 2003-09-04 Angus Leeming <leeming@lyx.org>
4627 * FloatList.h: move out #include "Floating.h".
4628 * LaTeX.h: move out #include "DepTable.h".
4629 * LyXAction.h: move out #include "funcrequest.h".
4630 * buffer.h: move out #include "author.h", "iterators.h".
4631 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4632 * lyx_main.h: move out #include "errorlist.h".
4633 * lyxfunc.h: move out #include "FuncStatus.h".
4634 * lyxtext: move out #include "lyxcursor.h".
4635 * paragraph_pimpl.h: move out #include "counters.h".
4637 2003-09-03 Angus Leeming <leeming@lyx.org>
4639 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4640 preamble_snippets list, enabling us to add snippets to the preamble
4641 only if the snippet was not there already.
4643 2003-09-04 Angus Leeming <leeming@lyx.org>
4645 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4647 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4652 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4654 * BranchList.C: point fix, earlier forgotten
4656 2003-09-02 Angus Leeming <leeming@lyx.org>
4658 * box.C (contains): renamed from 'contained' after a fantastic
4661 2003-09-02 John Levon <levon@movementarian.org>
4667 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4669 2003-09-02 John Levon <levon@movementarian.org>
4671 * text2.C: simplification of cursorEnd(), including partial
4674 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4676 * buffer.C (readFile): add a space
4678 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4680 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4682 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * buffer.C (readFile): new function, take a filename and a
4685 ParagraphList::iterator
4687 (readFile): adjust, make it private. don't use setStream, make
4688 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4689 always contain the filename.
4691 * BufferView.C (insertLyXFile): simplify and make it work for
4694 2003-08-30 John Levon <levon@movementarian.org>
4696 * Makefile.am: fix dist (from Kayvan)
4698 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * most files: change to use const Buffer refs
4702 2003-08-27 André Pönitz <poenitz@gmx.net>
4704 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4705 on top of ownerPar().
4707 2003-08-27 John Levon <levon@movementarian.org>
4709 * funcrequest.C: properly initialise POD members
4711 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4713 * lyxtext.h (top_y): move top_y from here
4718 * BufferView_pimpl.[Ch]: to here
4719 * frontends/screen.C:
4720 * insets/insettabular.C:
4721 * insets/insettext.C: adjust
4722 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4724 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4727 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4729 2003-08-26 André Pönitz <poenitz@gmx.net>
4731 * paragraph_func.[Ch] (outerPar): new function
4734 * paragraph_funcs.C:
4735 * paragraph_funcs.h:
4736 * paragraph_pimpl.C:
4737 * text2.C: remove Inset::par_owner
4739 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4744 * text2.C: eliminates the needFullRow/display() stuff
4745 altogether, putting the logic in metrics/draw in the insets.
4747 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4749 * text2.C (redoParagraphInternal, redoParagraphs):
4750 * text.C (redoParagraph): add a call to updateRowPositions at the
4751 end of each 'metrics-like' call. Remove all others.
4752 (getRow): remove the 'y-computing' version.
4753 (getRowNearY): do not compute nor return the real y. Solve the
4754 'y < 0' problem and simplify.
4756 2003-08-22 Angus Leeming <leeming@lyx.org>
4758 * *.[Ch]: clean-up of licence and author blurbs.
4759 Also move config.h out of a few .h files and into a few .C files.
4761 2003-08-22 André Pönitz <poenitz@gmx.net>
4763 * lyxrow.[Ch]: add x_ and *fill_ members
4768 * text2.C: adjust/remove prepareToPrint() calls
4770 2003-08-22 André Pönitz <poenitz@gmx.net>
4772 * lyxrow.[Ch]: add end_ member
4774 * lyxrow_funcs.C: use LyXRow::end_
4776 * lyxtext.h (singleWidth): add LyXFont parameter
4779 * text2.C: adjust LyXText::singleWidth() calls
4781 * text.C (redoParagraph): simplify row breaking logic
4784 2003-08-19 André Pönitz <poenitz@gmx.net>
4786 * funcrequest.C: initialize button_ member
4789 * rowpainter.[Ch]: interface consolidation
4791 2003-08-18 André Pönitz <poenitz@gmx.net>
4794 * BufferView_pimpl.C:
4796 * paragraph_funcs.C:
4798 * text3.C: remove LyXScreen::draw() and fitCursor calls
4800 * BranchList.h: remove spurious semicolons
4802 * MenuBackend.C: fix branchlist related crash
4804 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4812 * bufferparams.[Ch]:
4816 * text3.C: implements the 'branch inset'
4817 idea. This allows the output of various versions of a document
4818 from a single source version, selectively outputing or suppressing
4819 output of parts of the text.
4820 This implementation contains a 'branch list editor' in a separate
4821 tab of the document settings dialog. Branches are user definable
4822 and have a "display colour" to distinguish them on-screen.
4824 ColorHandler was somewhat cleaned up.
4825 (1) make possible a dynamically growing LColor list by allowing
4826 the graphic context cache to grow along (vector);
4827 (2) eliminate an IMHO unnecessary step in colour allocation.
4829 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4831 * BufferView_pimpl.C: compile fix
4833 2003-08-15 André Pönitz <poenitz@gmx.net>
4835 * rowpainter.C: remove extra metrics calls
4837 * lyxtext.h: merge the two constructors into a single one,
4838 pass reference to owner's par list
4840 * BufferView_pimpl.C:
4844 2003-08-15 André Pönitz <poenitz@gmx.net>
4846 * lyxrow_funcs.[Ch]:
4849 * paragraph_funcs.C:
4854 * text_funcs.C: split LyXText::rowlist_ into individual
4855 Paragraph::rows_ chunks
4858 * BufferView_pimpl.[Ch]:
4861 * text3.C: remove toggleSelection()
4863 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4865 * bufferlist.C: beautify two alerts (shorter text of buttons)
4866 * buffer.C: Remove redundant ' ' from message
4868 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4869 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4870 rename VALIGN_CENTER to VALIGN_MIDDLE
4872 2003-08-11 André Pönitz <poenitz@gmx.net>
4874 * lyxtext.h (getPar):
4875 * text.C: new function
4877 2003-08-11 André Pönitz <poenitz@gmx.net>
4880 * tracer.[Ch]: remove unneeded files
4882 * InsetList.[Ch]: remove resizeInsetsLyXText()
4887 * text3.C: merge insertParagraphs() and appendParagraph()
4888 remove breakAgain(), update()
4890 * BufferView_pimpl.[Ch]:
4891 * bufferview_funcs.[Ch]:
4895 * tabular.C: adjust after text & InsetList changes.
4897 2003-08-08 André Pönitz <poenitz@gmx.net>
4899 * text.C (insertChar, backspace): replace rowlist fiddling
4900 with rebreak of full par
4903 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4904 checkParagraph, updateInset): removed
4906 2003-08-07 André Pönitz <poenitz@gmx.net>
4909 * text3.C: merge some LFUN handlers, remove dead code
4911 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4913 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4915 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4917 * text2.C (DEPM): fix part of bug 1255 and 1256
4919 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4921 * BufferView_pimpl.C (workAreaDispatch): change to use
4922 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4923 that are no mouse related.
4925 2003-08-05 André Pönitz <poenitz@gmx.net>
4928 * BufferView_pimpl.[Ch]:
4929 * bufferview_funcs.C:
4931 * text3.C: rip out "deep update"
4933 * textcursor.[Ch] (last_sel_cursor): remove unused member
4935 2003-08-04 André Pönitz <poenitz@gmx.net>
4938 * BufferView_pimpl.[Ch]:
4939 * ParagraphParameters.C:
4940 * bufferview_funcs.C:
4946 * text3.C: replace "complicated" BufferView::update(...) calls with
4949 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4951 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4953 * Makefile.am (lyx_SOURCES): add paper.h
4955 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4957 * Makefile.am: move things around so that both lyx-qt and
4958 lyx-xforms can be built (according to --with-frontend). Then lyx
4959 is a symbolic link to lyx-[firstfrontend]
4961 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4963 * Always use std::endl with lyxerr
4965 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4967 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4969 2003-08-01 André Pönitz <poenitz@gmx.net>
4972 * BufferView_pimpl.[Ch]:
4974 * text3.C: merge BufferView::repaint() and BufferView::update()
4976 2003-08-01 José Matos <jamatos@lyx.org>
4978 * buffer.[Ch]: file_format is no longer a buffer data element.
4980 2003-08-01 André Pönitz <poenitz@gmx.net>
4985 * text2.C: make redoParagraph more independent of current cursor
4987 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4989 * text2.C: remove unneeded members
4991 2003-07-30 André Pönitz <poenitz@gmx.net>
4993 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4995 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4996 create a single function...
4998 * paragraph_funcs.C (moveItem): ... here.
5001 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5003 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5005 * LColor.[Ch]: Add comment and greyedout logical colors.
5007 2003-07-30 André Pönitz <poenitz@gmx.net>
5009 * tabular.C: don't use Assert too heavily. This crashes where it
5012 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5014 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5015 is disabled (bug 1232)
5017 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5019 * factory.C: limited 'arg' scope
5021 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5023 * factory.C: fixed Note submenu issues
5025 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5027 * factory.C: submenu for Note/Comment/Greyedout
5029 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5032 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5034 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5037 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5038 greyedout. Patch provided by Jürgen Spitzmüller.
5040 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5042 * kbmap.C (read): fix error message when reading bind files
5044 2003-07-29 Angus Leeming <leeming@lyx.org>
5046 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5047 certainly does not do what it purports to do. I am doing it, and
5048 us, a favour by killing it.
5050 2003-07-28 José Matos <jamatos@lyx.org>
5052 * buffer.C (readBody, do_writeFile):
5053 * paragraph.C(readParagraph): \end_document replaces \the_end.
5055 2003-07-29 André Pönitz <poenitz@gmx.net>
5058 * BufferView_pimpl.[Ch]:
5062 * textcursor.[Ch]: remove toggleToggle & Co
5064 2003-07-28 José Matos <jamatos@fep.up.pt>
5066 * buffer.C (readParagraph):
5067 * params_func (readParToken, readParagraph):
5068 * paragraph.C (write): \layout -> \begin_layout.
5070 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5072 * lyxlex_pimpl.C (setFile): clean up slightly.
5074 * bufferparams.h: add compressed var
5076 * buffer_funcs.C (readFile): adjust for LyXLex change
5077 (newFile): ditto + simplify
5079 * buffer.C (writeFile): handle writing of compressed files
5081 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5082 Check if the file is compressed and set a bufferparm if so.
5084 * Makefile.am (lyx_LDADD): remove explicit -lz
5086 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5088 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5089 makeDocBookFile): put the real LyX version in the first line of
5093 * version.C.in: remove lyx_docversion
5095 * tabular.C (write_attribute): add a template-based version to
5096 write enums properly
5098 2003-07-28 André Pönitz <poenitz@gmx.net>
5103 * text3.C: use doubles again for x-coordinates. They are needed.
5105 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5107 * messages.C (getLocaleDir): use lyx_localedir()
5109 * lyxlex_pimpl.C (setFile): compress stuff
5111 * buffer.C (writeFile): add some compression stuff
5112 (do_writeFile): new func, dont call expliti close... will this
5115 * Makefile.am (lyx_LDADD): add -lz
5117 2003-07-28 José Matos <jamatos@fep.up.pt>
5119 * buffer.C: increment file format.
5120 * paragraph_funcs (readParagraph, readParToken):
5121 * paragraph.C (readParagraph): add \end_layout.
5123 2003-07-27 Angus Leeming <leeming@lyx.org>
5125 * Makefile.am: remove special casing for configure-time setting of
5126 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5128 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5129 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5131 2003-07-26 André Pönitz <poenitz@gmx.net>
5133 * paragraph_func.[Ch]:
5134 * paragraph.C (realizeFont): inline it whereever it is used
5139 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5142 2003-07-26 André Pönitz <poenitz@gmx.net>
5146 * text2.C: get rid of LyXText::need_break_row
5148 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * toc.[Ch]: put namespace toc inside namespace lyx
5152 * MenuBackend.C (expandToc2): adjust for lyx::toc
5155 * lyxfunc.C (dispatch): adjust for lyx::find
5157 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5158 lyx::find instead. Reorganize a bit.
5159 (LyXReplace): rename to replace
5160 (LyXFind): rename to find
5162 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5165 2003-07-26 André Pönitz <poenitz@gmx.net>
5167 * text.C (setHeightOfRow): restrict scope of temporary variable
5169 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5170 code (never has been used?)
5172 2003-07-27 Asger Alstrup <alstrup@local>
5174 * text.C (fill): Optimise algorithm to exploit that we can reuse
5175 the LyXFont for many characters.
5176 (setHeightOfRow): Same thing.
5177 (rowBreakPoint): Same thing.
5179 2003-07-26 Asger Alstrup <alstrup@local>
5181 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5183 * text.C (singleWidth): Spurious font copying in hot-spot
5184 singleWidth avoided. Reorder tests for arabic for efficiency.
5186 * text.C (fill): handle empty paragraphs better.
5188 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5191 * encoding.h: add includes
5193 * lyxrc.C: remove reading of bind files
5195 * lyx_main.C (init): setup bindings and menus only if we have a
5198 * kbmap.C (read): new method. Do the actual reading of bind
5201 * converter.C (dvipdfm_options):
5204 (output): adapt PAPER_* enums.
5206 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5208 * bufferparams.h: remove paper-related enums from there
5210 * paper.h: New file. A trivial header file to hold paper-related
5211 enums. It should later expand to contain many paper-related
5214 * lyxrc.C: declare extern displayTranslator
5216 2003-07-27 José Matos <jamatos@fep.up.pt>
5218 * tabular.[Ch] (linuxdoc): add support for tables and figures
5221 2003-07-27 José Matos <jamatos@fep.up.pt>
5223 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5224 consistency in both functions.
5225 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5227 2003-07-26 Asger Alstrup <alstrup@local>
5229 * rowpainter.C (paintRows): Change algorithm to work directly on
5230 the insets rather than asking every character in the document
5231 whether its an inset.
5233 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5235 * buffer.C (openFileWrite): factorize some code
5237 2003-07-26 Angus Leeming <leeming@lyx.org>
5240 * lyx_main.[Ch]: replace occurances of system_tempdir with
5243 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5245 * rename Inset to InsetOld
5247 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5249 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5250 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5251 which I think is a bit clearer. EDIT is gone, since it was
5252 premature optimisation, and broken for mathed anyway.
5253 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5254 with cursor positioning in insets as well (math insets still do not
5255 work, but that's a different story anyway.) It mysteriously
5256 crashes sometimes with undo in the first paragraph, but I'm fairly
5257 confident that this is a compiler bug.
5259 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5261 * paragraph.C (Paragraph): adjust for new clone return type
5263 (copyIntoMinibuffer): ditto
5265 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5267 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5268 by not having a special case, and always doing a full rebreak of
5269 the document after undo.
5271 2003-07-23 Angus Leeming <leeming@lyx.org>
5273 * factory.C (createInset): InsetExternal::setParams now takes a
5276 2003-07-23 Angus Leeming <leeming@lyx.org>
5278 * factory.C (createInset): changed interface to the external and
5279 graphics mailers' string2params functions.
5281 2003-07-23 Angus Leeming <leeming@lyx.org>
5283 * factory.C (createInset): pass a
5284 Buffer const * parameter to InsetExternalMailer's string2params.
5286 2003-07-22 John Levon <levon@movementarian.org>
5288 * Thesaurus.h: include the right aiksaurus header
5290 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5292 * MenuBackend.C (expand): check menu shortcuts unconditionally
5294 2003-07-21 Angus Leeming <leeming@lyx.org>
5296 * factory.C (createInset): pass a
5297 buffer_path parameter to InsetGraphicsMailer's string2params.
5299 2003-07-21 Angus Leeming <leeming@lyx.org>
5301 * BufferView_pimpl.C (buffer):
5304 * lyxfunc.C (dispatch):
5305 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5306 rather than the grfx shortcut.
5308 2003-07-21 André Pönitz <poenitz@gmx.net>
5310 * rowpainter.C: remove unused variables
5313 * tabular_funcs.h: move to tabular.C
5314 * Makefile.am: adjust
5316 * tabular.[Ch]: basic optical cleaning
5318 * author.h: pass references, not values
5320 2003-07-18 André Pönitz <poenitz@gmx.net>
5328 * text3.C: two-phase drawing for InsetText and InsetTabular
5329 some float -> int changes.
5331 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5333 * lyx_main.C: fix the fix
5335 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5337 * lyx_main.C: fix a crash in batch mode if no files specified
5340 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5342 * format.[Ch] (papersize): moved to BufferParams
5343 * converter.[Ch] (dvips_options): moved to BufferParams
5344 (dvipdfm_options): moved to anon namespace
5345 * bufferparams.[Ch]: added above functions.
5347 2003-07-17 André Pönitz <poenitz@gmx.net>
5351 * text2.C: don't call inset->update() anymore
5353 * metricsinfo.[Ch]: add convenience constructor
5355 2003-07-16 André Pönitz <poenitz@gmx.net>
5360 * text2.C: replace the LyXCursor::irow_ member with
5361 on-demand computation of the value
5363 2003-07-16 John Levon <levon@movementarian.org>
5365 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5367 2003-07-15 André Pönitz <poenitz@gmx.net>
5370 * text2.C: remove no more needed refresh_row
5372 2003-07-15 André Pönitz <poenitz@gmx.net>
5377 * text3.C: refresh_status tristate -> need_update bool
5379 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5381 * lyxtext.h (init): remove reinit argument (act as if always true)
5382 * text2.C: adjust to that
5384 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5386 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5387 * text3.C: use it to delete selections in some cases
5388 (bugs 441, 673, 702, 954).
5390 2003-07-14 André Pönitz <poenitz@gmx.net>
5392 * rowpainter.[Ch]: reduce interface
5394 2003-07-14 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5397 * text2.C: adjust after removing unused BufferView * argument
5399 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5401 * text2.C (init): fix a crash fired on resize
5403 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5405 * buffer.[Ch]: added new closing signal
5406 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5407 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5408 BufferView::Pimpl via the closing the signal
5410 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5412 * buffer.[Ch]: take out all bv-related from buffer
5414 * BufferView_pimpl.[Ch]: connect to new signals
5415 * CutAndPaste.C: removed useless asserts
5416 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5419 * lyxfunc.C: moved view-related funciontality from vc here
5420 * paragraph.C: removed outdated comments
5423 2003-07-10 André Pönitz <poenitz@gmx.net>
5425 * BufferView_pimpl.C:
5429 * text2.C: remove InsetText::InnerCache, clean up consequences
5431 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5433 * ispell.C: fix two typos in error messages
5435 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5437 * Extend Note inset to other forms of annotation like Comment
5438 and Greyedout. Right button click gives dialog.
5440 Files modified or added (+):
5444 * ControlNote.[Ch] +
5446 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5447 frontends/controllers
5451 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5453 * aspell.C: add missing namespace lyx::support
5455 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5457 * BufferView.[Ch] (newFile): Add
5458 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5459 * LaTeX.[Ch] (message): added this signal and use it
5460 * buffer.[Ch] (busy, message): added these signals and use them
5461 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5465 * importer.C: use buffer signals instead of direct bv calling
5466 * lyx_cb.[Ch] (ShowMessage): removed
5469 * paragraph_funcs.C:
5470 * text2.C: use buffer signals
5472 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5474 * introduce namespace lyx::graphics
5476 2003-07-02 André Pönitz <poenitz@gmx.net>
5478 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5480 2003-07-01 André Pönitz <poenitz@gmx.net>
5487 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5488 text*.C to text_func.C
5490 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5492 * introduce namespace lyx::support
5494 2003-06-30 André Pönitz <poenitz@gmx.net>
5499 * text.C: re-enable --with-included-string
5501 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5503 * textcursor.C: add <config.h>
5505 * text.C (getWord): remove const from word_location arg
5507 * lyxvc.C (getLogFile): fix const type order
5509 * lyxtext.h: remove const from word_location arg, add arg name
5511 * lyxlayout.h: currect type on labeltype.
5513 * importer.C: correct \file
5515 * converter.C (intToFormat): use std:: on ret val, ws changes
5517 * bufferlist.h: correct \file
5519 * buffer.C (makeLinuxDocFile): fix const type order
5520 (makeDocBookFile): ditto
5521 (fillWithBibKeys): use std:: on stdlib args.
5523 * CutAndPaste.C: fix authors.
5524 (availableSelections): use std:: on return vector
5526 2003-06-27 André Pönitz <poenitz@gmx.net>
5528 * BufferView_pimpl.C:
5529 * bufferview_funcs.C:
5537 * text3.C: remove LyXCursor::row_ member
5540 * text.C: rename fullRebreak() to partialRebreak() and implement
5541 a fullRebreak() that really bereks fully
5543 * textcursor.h: new struct for cursor-related data
5545 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5547 * lyx_main.C (LyX): get full path of document loaded on the
5550 2003-06-26 André Pönitz <poenitz@gmx.net>
5552 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5553 remove unused/broken operator>,<,>=.
5555 * text.C: remove only use of broken operator<= in an Assert().
5557 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5559 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5560 moved errorlist_.clear to showErrorList
5562 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5564 * converter.C (scanLog, runLaTeX):
5565 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5566 move the bv->showErrorList call to the callers
5567 * lyxfunc.C: i.e. here...
5569 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5570 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5571 namespace, the second to...
5572 * buffer_funcs (BufferFormat, parseErrors): added
5573 * errorlist.C (ErrorList(TeXErrors const &)): removed
5575 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5577 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5579 2003-06-24 "Garst R. Reese" <reese@isn.net>
5583 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5585 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5587 * version.C.in: change docversion to 1.4
5589 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5591 * buffer.C: fix a bug just introduced
5593 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5595 * buffer.[Ch]: added the parseError signal and use it, removed
5597 * BufferView.[Ch] (addError): moved to ...
5598 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5599 to the Buffer::parseError signal to catch (guess what) parse errors
5600 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5602 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5604 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5605 ability to create a buffer and to return an existing one from
5606 the list. Moved these functions to...
5607 * buffer_funcs.[Ch]: added
5608 * BufferView.[Ch] (loadLyXFile): added
5609 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5610 job removed from bufferlist::loadLyXFile.
5611 * buffer.C (setReadOnly): make it work without view
5612 (i.e added an if (users))
5614 2003-06-19 Angus Leeming <leeming@lyx.org>
5617 * LyXAction.C (init):
5618 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5619 with LFUN_DIALOG_SHOW <name> <data>.
5621 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5623 * CutAndPaste.C (availableSelections): small compilation fix for
5624 ancient (gcc 2.9x) compilers
5626 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * text3.C (cursorNext): add tmp var
5630 * text2.C (updateCounters): for function calling out of for clause
5631 (replaceSelectionWithString): ditto
5632 (insertStringAsParagraphs): ditto
5633 (getColumnNearX): add tmp var
5634 (setCursorFromCoordinates): add tmp var
5635 (cursorDownParagraph): add tmp var
5636 (deleteEmptyParagraphMechanism): add tmp var
5638 * text.C (insertChar): add tmp var
5640 * rowpainter.C (paintDepthBar): add tmp var
5642 * CutAndPaste.C (availableSelections): potentially check all
5643 paragraphs in a cut to fill the shown strings.
5645 2003-06-18 André Pönitz <poenitz@gmx.net>
5647 * kbmap.[Ch]: use vector<> instead of list<>
5649 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5651 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5652 pasteSelection with index
5654 * text2.C (pasteSelection): modify, call pasteSelection with index
5656 * paragraph.C (asString): reimplement version with no interval to
5657 call the one with interval.
5659 * lyxtext.h: add index arg to pasteSelection
5661 * MenuBackend.C (MenuItem): handle PasteRecent
5662 (Menu::read::Menutags): add md_pasterecent
5664 (expandPasteRecent): new function
5667 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5669 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5671 (availableSelections): new function
5673 2003-06-17 Angus Leeming <leeming@lyx.org>
5675 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5677 2003-06-17 Angus Leeming <leeming@lyx.org>
5680 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5682 * lyxfunc.C (dispatch): invoke it.
5684 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5686 * iterators.C (operator++, ParPosition): reintroduce some
5687 const_cast for the benefit of older compilers.
5689 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5691 * text3.C (dispatch): do not modify clipboard when doing
5692 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5693 LFUN_DELETE_SKIP on a selection selection
5695 2003-06-16 André Pönitz <poenitz@gmx.net>
5701 * tabular.[Ch]: IU of clone() and getLabelList();
5703 2003-06-13 André Pönitz <poenitz@gmx.net>
5705 * tabular.h: compactification
5707 2003-06-12 André Pönitz <poenitz@gmx.net>
5711 * tabular_funcs.h: some renaming plus whitespace
5713 2003-06-12 André Pönitz <poenitz@gmx.net>
5716 * BufferView_pimpl.C:
5722 * toc.C: Return a Paragraph & for ParIterator::operator*()
5724 2003-06-11 John Levon <levon@movementarian.org>
5728 * ToolbarBackend.C: add "Toolbars" section and
5731 2003-06-10 Angus Leeming <leeming@lyx.org>
5734 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5736 * lyxfunc.C (dispatch): invoke it.
5738 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5740 * main.C: protect <ios> with HAVE_IOS
5741 (main): protect sync_with_stdio with HAVE_IOS
5743 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5745 * text2.C (cutSelection): adjust
5746 (pasteSelection): adjust
5748 * messages.C: handle get of empty string
5750 * main.C (main): use sync_with_stdio(false)
5752 * lyxfunc.C (dispatch): adjust
5754 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5755 (WriteAs): remove unneeded BufferView arg.
5757 * bufferparams.h: use correct types on papersize, papersize2 and
5760 * bufferparams.C (readToken): adjust for type
5761 (writeLaTeX): add missing cases to switch.
5763 * bufferlist.C (quitWriteBuffer): adjust
5766 * buffer.C (asciiParagraph): remove some commented code.
5768 * CutAndPaste.C: remove current_view extern variable.
5769 (cutSelection): add BufferParams arg.
5770 (eraseSelection): add BufferParams arg.
5771 (pasteSelection): add Buffer const & arg
5773 2003-06-07 John Levon <levon@movementarian.org>
5776 * paragraph_funcs.C:
5777 * paragraph_pimpl.C:
5781 * paragraph.C: allow InsetERT to freely space lines,
5782 and some consolidation of code
5784 2003-06-06 José Matos <jamatos@fep.up.pt>
5786 * buffer.C (makeDocBookFile): fix bug #821
5788 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5790 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5792 2003-06-04 Angus Leeming <leeming@lyx.org>
5794 * buffer.C: bump format to 224.
5796 2003-06-05 André Pönitz <poenitz@gmx.net>
5798 * text2.C (redoParagraphs): remove two const_cast<>
5800 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5802 * ParagraphList.h: remove last remnants of NO_STD_LIST
5804 2003-06-03 Angus Leeming <leeming@lyx.org>
5806 * factory.C (createInset): small change to the way InsetExternal's params
5809 2003-06-04 André Pönitz <poenitz@gmx.net>
5811 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5813 * paragraph_pimpl.h:
5814 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5816 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5818 * undo_funcs.C: make some simple cases of undo work again
5820 2003-06-03 John Levon <levon@movementarian.org>
5822 * ispell.C: HPUX doesn't have sys/select.h
5825 2003-06-03 John Levon <levon@movementarian.org>
5827 * CutAndPaste.C: update tabular and include inset
5832 * paragraph.C: remove owningBuffer(), don't pass Buffer
5835 * factory.C: insetGraphicsParams changed
5837 2003-06-02 John Levon <levon@movementarian.org>
5843 * text3.C: remove insetparent
5845 2003-06-02 John Levon <levon@movementarian.org>
5848 * buffer.C: fix inset_iterator.end(), move out of line
5851 2003-06-01 John Levon <levon@movementarian.org>
5853 * text3.C: use a proper cut/paste when doing inset
5854 insert (from Jürgen Spitzmüller)
5856 2003-06-01 John Levon <levon@movementarian.org>
5858 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5860 2003-05-30 André Pönitz <poenitz@gmx.net>
5862 * rowpainter.C: unify second drawing phase
5864 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * trans_mgr.C: remove one case of current_view
5868 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5870 * paragraph_funcs.h: remove paragraph.h include
5872 * paragraph.h: delete NO_STD_LIST stuff
5874 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5876 * buffer.h: remove paragraph.h include
5878 * ParagraphList.C: delete file
5880 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5882 * toc.C (getTocList): adjust
5884 * paragraph_pimpl.C (validate): adjust
5886 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5888 * paragraph.C (Paragraph): adjust
5889 (getPositionOfInset): use const_iterator, adjust
5890 (bibitem): use const_iterator, adjust
5891 (setInsetOwner): adjust
5893 * iterators.C (operator++): adjust
5895 * InsetList.[Ch]: Replace selfmade iterator with standard
5896 vector::iterator also introduce const_iterator. Remove getPos,
5897 getInset and setInset from InsetTable. Adjust accordingly.
5899 * BufferView.C (lockInset): adjust
5900 (ChangeInsets): adjust
5902 * tabular.[Ch]: delete commented same_id functions
5904 2003-05-28 John Levon <levon@movementarian.org>
5906 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5908 2003-05-28 André Pönitz <poenitz@gmx.net>
5910 * metricsinfo.[Ch]: remove 'fullredraw' member
5912 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5914 * lyxtextclass.C (operator): remove caching.
5916 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * text2.C (cursorBottom): adjust
5921 (setCounter): use ParagraphList::find, adjust
5923 * text.C (workWidth): use ParagraphList::find, adjust
5925 * lyxcursor.C (LyXCursor): adjust
5927 * buffer.C (inset_iterator): adjust
5929 * ParagraphList.h: make iterator(value_type) private, make
5930 ParagraphList a friend of iterator.
5932 * ParagraphList.C (find): new function
5934 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5936 2003-05-27 André Pönitz <poenitz@gmx.net>
5938 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5940 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5942 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5944 2003-05-26 John Levon <levon@movementarian.org>
5946 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5948 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * remove same_id from function signatures, adjust.
5952 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5956 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5958 * paragraph.C (Paragraph): get rid of same_ids parameter
5960 * ParagraphList.C (insert): adjust
5963 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * paragraph_funcs.C (breakParagraph): adjust
5966 (breakParagraphConservative): adjust
5968 * buffer.C (readParagraph): adjust
5970 * ParagraphList.C (insert): take a reference instead of a pointer
5973 * paragraph.[Ch] (id): new function
5975 * bufferlist.C (newFile): adjust
5977 * ParagraphList.C (ParagraphList): adjust
5979 (push_back): take a reference instead of a pointer.
5981 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5983 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5986 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5987 set else use old code.
5989 * ParagraphList.C: remove all NO_NEXT code and only compile this
5990 code of NO_STD_LIST is set.
5992 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5994 * BufferView_pimpl.C:
6004 * graphics/GraphicsConverter.C:
6005 * graphics/PreviewLoader.C: header adjustment
6007 2003-05-23 Angus Leeming <leeming@lyx.org>
6009 * LaTeXFeatures.[Ch] (useBabel): new method.
6010 * bufferparams.C (writeLaTeX): use it.
6012 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * ParagraphList.h (set): remove unused function.
6016 2003-05-23 André Pönitz <poenitz@gmx.net>
6019 * BufferView_pimpl.C:
6023 * undo_funcs.C: setUndo reworked
6025 * iterators.[Ch]: add access to topmost ParagraphList
6027 * lyxtext.[Ch] (workWidth): add a const
6029 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6031 * texrow.[Ch] (increasePos): remove function
6032 * exporter.C (export): removed unused var and outdated comment
6034 2003-05-23 Angus Leeming <leeming@lyx.org>
6036 * latexrunparams.h: rename fragile as moving_arg.
6037 * paragraph.C (simpleTeXOnePar): ditto.
6038 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6040 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6044 (textUndoOrRedo): comment out a currently unused var.
6046 * paragraph.h (NO_NEXT): enable NO_NEXT
6048 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6050 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6052 * exporter.C (Export): adjust for removeAutoInsets removal.
6054 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6056 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6058 * BufferView.[Ch] (removeAutoInsets): delete function
6060 2003-05-22 Angus Leeming <leeming@lyx.org>
6062 * latexrunparams.h: add a free_spacing variable.
6064 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6065 to pass moving_arg, as the data is stored in runparams.fragile.
6067 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6068 to Inset::latexOptional or to simpleTeXOnePar.
6070 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6071 free_spacing arg to Inset::latexOptional.
6073 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6076 2003-05-22 Angus Leeming <leeming@lyx.org>
6078 * latexrunparams.h: add fragile and use_babel variables.
6080 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6081 * buffer.C (makeLaTeXFile): store this returned value in
6082 runparams.use_babel, thus passing it to the inset::latex methods.
6084 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6085 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6087 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6088 longer has a fragile arg, as it is stored in runparams.fragile.
6090 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6091 moving_arg parameter as the data is stored in runparams.fragile.
6093 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6094 a fragile parameter as the data is stored in runparams.fragile.
6096 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6098 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6100 2003-05-22 Angus Leeming <leeming@lyx.org>
6102 * latexrunparams.h: add a 'bool nice' which defaults to false.
6104 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6105 now encapsulated within runparams.
6107 * bufferlist.C (updateIncludedTeXfiles):
6108 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6110 2003-05-22 Angus Leeming <leeming@lyx.org>
6112 * latexrunparams.h: new file containing struct LatexRunParams.
6113 * Makefile.am: add new file.
6115 * LaTeX.[Ch] (c-tor, run):
6116 * buffer.[Ch] (makeLaTeXFile):
6117 * bufferlist.[Ch] (updateIncludedTeXfiles):
6118 * converter.C (convert, scanLog):
6119 * converter.[Ch] (runLaTeX):
6120 * exporter.C (Export):
6121 * paragraph.[Ch] (simpleTeXOnePar):
6122 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6123 * paragraph_funcs.[Ch] (latexParagraphs):
6124 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6125 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6126 pass around a LatexRunParams parameter.
6128 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * paragraph.[Ch]: remove unused constructor
6132 * ParagraphList.C (erase): new function, taking two iterators
6134 2003-05-22 André Pönitz <poenitz@gmx.net>
6136 * undo_funcs.C: remove duplicated code
6138 * iterator.[Ch]: operator=
6140 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * tabular.C (SetMultiColumn): ws changes
6144 * rowpainter.C (paintFirst): get rid of a ->previous
6146 * lyx_cb.C (getPossibleLabel): parlist simplification
6148 * BufferView.C (ChangeInsets): simplify slightly.
6150 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6152 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6153 * lfuns.h: new LFUN_SPACE
6154 * lyxfunc.C: protected space has a new lfun
6155 * paragraph_funcs.C: read new space insets
6157 * factory.C: handle new space insets
6159 2003-05-22 André Pönitz <poenitz@gmx.net>
6162 * BufferView_pimpl.C:
6165 * undo_funcs.C: return a ParIterator from getParFromID.
6167 * iterators.[Ch]: add two const's
6169 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6171 * toc.C (getTocList): adjust
6173 * iterators.[Ch]: rework for parlist
6175 * buffer.C (par_iterator_begin): adjust
6176 (par_iterator_end): adjust
6178 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6180 * BufferView.C (removeAutoInsets): adjust
6181 (ChangeInsets): adjust
6183 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6185 * text.C (top_y): fix bug 1110
6187 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6189 * errorlist.[Ch]: added
6192 * BufferView_pimpl.C:
6193 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6196 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6198 * Makefile.am: ensure that lyx is relinked upon changes to the
6199 various "convenience" libs.
6201 2003-05-20 Angus Leeming <leeming@lyx.org>
6203 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6204 files are compiled in alphabetical order again.
6206 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6208 2003-05-19 Angus Leeming <leeming@lyx.org>
6210 * gettext.[Ch]: remove "char const * _(char const *)".
6212 2003-05-19 André Pönitz <poenitz@gmx.net>
6214 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6223 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6225 2003-05-19 André Pönitz <poenitz@gmx.net>
6229 * lyxtextclass.[Ch]:
6231 * paragraph_funcs.[Ch]:
6233 * text3.C: more insetenv work
6235 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6237 * ParagraphParameters.C (params2string): small bug fixed
6239 2003-05-16 André Pönitz <poenitz@gmx.net>
6242 * bufferview_funcs.C: patch from Kornel Benko to prevent
6243 crash when _(...) is called twice in a statement
6245 2003-05-16 André Pönitz <poenitz@gmx.net>
6252 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6254 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6256 * lyx_main.C (init): remove spurious static_cast
6258 2003-05-14 André Pönitz <poenitz@gmx.net>
6260 * BufferView.C: fix format string
6262 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6264 * BufferView.[Ch] (insertErrors): removed
6265 * BufferView.[Ch] (showErrorList): added
6266 * buffer.C (runChkTeX):
6267 * converter.C (scanLog): call showErrorList instead of inserterrors
6269 2003-05-13 André Pönitz <poenitz@gmx.net>
6271 * BufferView_pimpl.C:
6273 * bufferview_func.C:
6280 * tabular_funcs.h: tostr() from its own header
6282 * ParagraphParameters.C:
6287 * text3.C: STRCONV()
6289 2003-05-12 André Pönitz <poenitz@gmx.net>
6292 * BufferView_pimpl.C:
6296 * ParagraphParameters.C:
6300 * bufferview_funcs.C:
6313 * paragraph_funcs.C:
6317 * text3.C: boost::format -> bformat all over the place
6320 2003-05-09 André Pönitz <poenitz@gmx.net>
6322 * LColor.[Ch]: Pimpl the #include <map> away
6324 2003-05-09 John Levon <levon@movementarian.org>
6326 * bufferlist.C: never remove emergency saves
6328 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * Makefile.am: better lib building
6332 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6336 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6337 (simpleTeXSpecialChars): adjust
6338 (simpleTeXSpecialChars): adjust
6339 * paragraph.C (simpleTeXOnePar): adjust
6340 * buffer.C (makeLaTeXFile): adjust
6342 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6344 * text2.C (changeDepth): parlist cleanup
6345 (getColumnNearX): ditto
6347 * rowpainter.C (getLabelFont): parlist cleanup
6349 * bufferlist.C (newFile): parlist cleanup
6351 * CutAndPaste.C (eraseSelection): parlist cleanup
6353 * BufferView_pimpl.C (trackChanges): parlist cleanup
6356 * BufferView.C (lockInset): parlist cleanup.
6357 (ChangeInsets): ditto
6359 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * CutAndPaste.h: Update file header.
6363 * CutAndPaste.C: Update file header.
6364 Store the parts cut out of the Document in a limited_stack.
6365 (copySelection): adjust
6366 (pasteSelection): new function, takes the index in the limited stack.
6367 (nrOfParagraphs): adjust
6368 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6369 simplify error inset insertion.
6370 (checkPastePossible): adjust
6372 2003-05-06 John Levon <levon@movementarian.org>
6374 * text2.C: don't cast wrap inset to float
6376 2003-05-05 André Pönitz <poenitz@gmx.net>
6379 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6381 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6382 few naked Paragraph *.
6384 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6386 * bufferparams.C: Output warning if a document with missing
6387 TeX document class is loaded
6388 * exporter.C: Disable TeX exports if the document class is missing
6391 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6392 isTeXClassAvailable()
6394 2003-05-03 John Levon <levon@movementarian.org>
6397 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6398 explicit cursor show/hide
6400 * BufferView_pimpl.h:
6401 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6402 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6404 * lyxfunc.C: hide cursor before dispatching.
6409 * text3.C: remove explicit cursor hides
6411 2003-05-02 André Pönitz <poenitz@gmx.net>
6413 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6416 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6419 * text2.C: tiny whitespace
6421 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6423 * undo_funcs.C: almost only ws changes.
6425 * ParagraphList.C (splice): just return if pl is empty.
6427 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6429 * ParagraphList.C (splice): new function.
6431 * CutAndPaste.C (pasteSelection): use it
6433 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * CutAndPaste.C (pasteSelection): remove the last next and
6436 previous from this file.
6438 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * CutAndPaste.C (pasteSelection): more clean up, user proper
6441 ParagraphList functions for pasteing.
6443 * ParagraphList.C (insert): new function, three arg insert
6445 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6447 * ParagraphList.C (insert): new function, three arg insert
6449 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6452 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6456 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6460 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6463 (copySelection): clean up a bit.
6464 (pasteSelection): use make_pair
6466 * ParagraphList.C (ParagraphList): implement copy constructor
6467 (operator=): implement, base on copy constructor.
6470 * paragraph.C (erase): return a bool
6472 * paragraph_pimpl.C (erasePos): remove function, move contents...
6473 (erase): ... here. Return a bool.
6474 (erase): call erase instead of erasePos.
6476 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6478 * ParagraphList.h: define PitPosPair
6479 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6480 ParagraphList, fix a bug on pasting multiple pars
6481 * text2.C: change interface to C&P
6483 2003-04-30 André Pönitz <poenitz@gmx.net>
6485 * undo_func.C: revert part of yesterday's patch 2
6487 2003-04-30 John Levon <levon@movementarian.org>
6489 * LColor.C: s/tabular/table/
6491 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * text3.C (dispatch): do not convert iterator -> pointer
6494 * undo_funcs.C (setCursorParUndo): ditto
6495 * text_funcs.C (transposeChars): ditto
6497 * text2.C (setLayout): ws changes only
6499 * text.C (breakParagraph): do not convert iterator -> pointer
6501 (acceptChange): ditto
6502 (rejectChange): ditto
6507 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6510 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6512 * text3.C (gotoInset): YABG (yet another bad getChar)
6514 2003-04-29 André Pönitz <poenitz@gmx.net>
6516 * paragraph.h: make operator= private unimplemented as long as
6519 * ParagraphList.C: whitespace
6522 * paragraph_pimpl.[Ch]:
6523 * paragraph_funcs.C:
6525 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6528 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6530 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6532 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6533 * paragraph.[Ch] (erase):
6534 * paragraph_pimpl.[Ch] (erase): change return type and value
6535 * text2.C (cutSelection): some rework
6537 2003-04-28 John Levon <levon@movementarian.org>
6539 * bufferlist.C: changes for unsaved changes dialog
6541 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6543 * bufferlist.C (newFile): set language (messages_) for new
6546 * buffer.C (readFile): ws changes only.
6548 2003-04-28 André Pönitz <poenitz@gmx.net>
6553 * BufferView_pimpl.C:
6554 * BufferView.C: getParFromID related ParagraphList::iterator changes
6556 2003-04-28 André Pönitz <poenitz@gmx.net>
6558 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6561 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6563 * messages.C: remove one more localedir class variable.
6565 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6567 * messages.C (getLocaleDir): singleton generation function
6569 (Messages): add a default constructor.
6571 * main.C (main): do not setup localedir here, do not call
6574 * gettext.C (_): use it.
6575 (gettext_init): delete funciton
6577 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6579 * gettext.C (getLyXMessages): new singleton generating function.
6581 * buffer.C (updateDocLang): adjust
6583 * Makefile.am (messages.o): add target
6584 (main.o): remove target
6586 2003-04-27 John Levon <levon@movementarian.org>
6591 * lyxvc.C: specify cancel button in Alert::prompt
6593 2003-04-26 John Levon <levon@movementarian.org>
6598 * LyXAction.C: add LFUN_INSET_SETTINGS
6600 * lyxfunc.C: don't enable tabular-feature when there's
6601 just any locking inset
6603 2003-04-26 John Levon <levon@movementarian.org>
6605 * bufferlist.C: re-add Cancel to buffer close question
6607 * lyxfunc.C: fix import UI a bit
6609 2003-04-25 John Levon <levon@movementarian.org>
6611 * gettext.C: remove the broken asserts for now
6613 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * messages.C: make case where setlocale cannot comply work better.
6617 * buffer.C (updateDocLang): new function
6618 (changeLanguage): use it
6621 * text2.C (setCounter): use B_ a bit.
6623 * lyxlayout.C (Read): be sure to trim the label strings.
6625 * messages.C (Messages): fix typo in comment
6627 * buffer.C (readFile): set message_ after file is loaded.
6628 (makeDocBookFile): remove double return
6629 (changeLanguage): reset message_ upon language change.
6630 (B_): new func, use this to get translated buffer strings.
6632 * main.C: add myself and Jean Marc as authors.
6634 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * messages.[hC]: pimplify Messages, and three different pimpls to be
6637 used in different circumstances.
6639 * gettext.[Ch]: change for use with new message code.
6641 2003-04-24 André Pönitz <poenitz@gmx.net>
6643 * factory.C: support for eqref
6645 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * messages.[Ch]: add missing char
6649 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6651 * messages.[Ch]: New files
6653 2003-04-18 John Levon <levon@movementarian.org>
6657 * BufferView_pimpl.C:
6661 * text2.C: remove layout-copy/paste (bug 778)
6663 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6665 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6667 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6669 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6670 if they succeed. Act accordingly.
6672 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6674 * text2.C (setCharFont): adjust
6675 (setCounter): adjust
6676 (insertStringAsLines): adjust
6678 * text.C (leftMargin): adjust
6679 (setHeightOfRow): adjust
6681 * rowpainter.C (paintFirst): adjust
6684 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6686 (isFirstInSequence): ditto
6687 (getEndLabel): ditto
6690 * paragraph.C (getParLanguage): comment out some hard stuff.
6692 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6694 (simpleDocBookOnePar): ditto
6695 (makeDocBookFile): use ParagraphList::iterator
6697 * CutAndPaste.C (pasteSelection): adjust
6699 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text2.C (getFont): adjust
6702 (getLayoutFont): adjust
6703 (getLabelFont): adjust
6705 * paragraph_funcs.C (TeXOnePar): adjust
6707 * buffer.C (simpleLinuxDocOnePar): adjust
6708 (simpleDocBookOnePar): adjust
6710 * CutAndPaste.C (pasteSelection): adjust
6712 * BufferView.C (getEncoding): adjust
6714 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6716 2003-04-16 John Levon <levon@movementarian.org>
6718 * lyxfind.C: use parlist stuff for search/changes
6720 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6722 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6724 * text2.C (deleteEmptyParagraphMechanism): adjust
6726 * text2.[Ch] (ownerParagraph): delete func (both of them
6728 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6732 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6734 * ParagraphList.C: prepare for NO_NEXT
6736 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * text2.C (getFont): adjust
6739 (getLayoutFont): adjust
6740 (getLabelFont): adjust
6742 * paragraph.C (getFont): adjust
6743 (getLabelFont): adjust
6744 (getLayoutFont): adjust
6746 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6748 2003-04-15 John Levon <levon@movementarian.org>
6752 * lyx_main.C: handle Include in .ui files
6754 2003-04-15 John Levon <levon@movementarian.org>
6756 * MenuBackend.C: make the doc files length shorter
6759 * ToolbarBackend.C: handle toolbar placement flags,
6762 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6764 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6767 * paragraph_funcs.C (TeXOnePar): adjust
6769 * paragraph.C (getLabelFont): add outerfont arg, adjust
6770 (getLayoutFont): ditto
6771 (simpleTeXOnePar): adjust
6773 * paragraph_pimpl.C (realizeFont): delete func
6775 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6777 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6778 row argument, constify cur argument.
6780 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text2.C (getFont): adjust
6783 (getLayoutFont): adjust
6784 (getLabelFont): adjust
6786 * paragraph_funcs.C (TeXOnePar): adjust
6787 (outerFont): new func...
6788 (realizeFont): ...moved out from here, changed this to facilitate
6791 * paragraph.C (getFont): take outerfont as arg, adjust
6792 (simpleTeXOnePar): add outerfont arg, adjust
6794 * buffer.C (simpleLinuxDocOnePar): adjust
6795 (simpleDocBookOnePar): adjust
6797 * CutAndPaste.C (pasteSelection): adjust
6799 * BufferView.C (getEncoding): adjust
6801 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6803 * text2.C (setCharFont): adjust
6804 (setCounter): adjust
6806 * text.C (leftMargin): adjust
6807 (setHeightOfRow): adjust
6809 * rowpainter.C (paintFirst): adjust
6812 * paragraph_pimpl.C (realizeFont): adjust
6814 * paragraph.C (isFirstInSequence): move from here...
6815 * paragraph_funcs.C (isFirstInSequence): ...to here
6817 * paragraph.C (outerHook): move from here...
6818 * paragraph_funcs.C (outerHook): ...to here
6820 * paragraph.C (depthHook): move from here...
6821 * paragraph_funcs.C (depthHook): ...to here
6823 * paragraph.C (getEndLabel): move from here...
6824 * paragraph_funcs.C (getEndLabel): ...to here
6826 * text2.C (realizeFont): move from here...
6827 * paragraph_funcs.C (realizeFont): ...to here
6829 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6833 2003-04-14 Angus Leeming <leeming@lyx.org>
6835 * LColor.[Ch]: scrap LColor mathcursor.
6837 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6839 * lyxlex.[Ch] (text): delete function
6840 * trans.C (Load): adjust
6841 * paragraph_funcs.C (readParToken): adjust
6843 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6845 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6846 vector<char> instead of a char[].
6848 * lyxlex_pimpl.C (getString): adjust
6850 (lex): use getString
6854 * lyxlex.C (text): use pimpl_->getString()
6858 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6860 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6861 (makeFontEntriesLayoutSpecific): temp var for par.size()
6862 (setLayout): temp var for ownerParagraphs().end()
6863 (fullRebreak): temp var for rows().end()
6864 (selectionAsString): temp var for boost::next(startpit), realize
6865 that the while really is a regular for loop.
6866 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6867 setCursor in one place.
6868 (setParagraph): temp vr for ownerParagraphs().end()
6869 (updateCounters): make the while loop a for loop
6870 (cutSelection): temp var for ownerParagraphs().end()
6871 (updateInset): make the do {} while() a regular for loop
6872 (getCursorX): use temp vars
6873 (setCurrentFont): use temp vars
6874 (getColumnNearX): use temp vars
6876 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6878 * text.C (transformChar): use temp var for getChar
6879 (computeBidiTables): use temp var for row->par()
6880 (fill): move temp vars for row->par() and pit->layout() earlier in
6882 (labelFill): use temp var for row->par()
6883 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6884 asc and desc, realize that pit never changes and that firstpit is
6885 just a duplicate and not needed. Exchange rit->par() with pit in a
6887 (breakAgain): use a temp var for boost::next(rit)
6888 (breakAgainOneRow): ditto
6889 (breakParagraph): use a temp var for rows().begin()
6890 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6891 (cursorRightOneWord): use temp var for cursor.par() and
6892 cursor.pos(), remove usage of tmpcursor.
6893 (cursorLeftOneWord): use temp var for cursor.par() and
6894 cursor.pos() only set cur at end of function.
6896 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6898 * text.C, text2.C: exchange all usage of Paragraph::next with
6899 boost::next(ParagraphList::iterator)
6901 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6903 * text2.C (cursorTop): simplify implementation
6904 (cursorBottom): ditto
6905 (setParagraph): use ParagraphList::iterator
6906 (setCurrentFont): adjust
6907 (getColumnNearX): adjust
6908 (cursorRight): adjust
6909 (cursorLeft): remove usage of Paragraph::previous
6910 (cursorUpParagraph): ditto
6911 (deleteEmptyParagraphMechanism): slight cleanup
6913 * text.C (isBoundary): take a Paragraph const & instead of a
6915 (addressBreakPoint): ditto
6916 (leftMargin): remove usage of Paragraph::previous.
6917 (setHeightOfRow): ditto
6918 (cursorLeftOneWord): ditto
6919 (selectNextWordToSpellcheck): ditto
6922 (breakParagraph): remove one usage of Paragraph::next
6923 (redoParagraph): ditto
6924 (acceptChange): ditto
6925 (insertChar): adjust
6926 (rowBreakPoint): adjust
6928 * bufferview_funcs.C (toggleAndShow): adjust
6930 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6932 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6933 methods to access it.
6935 * text.C: Added updateRowPositions to compute all row positions.
6936 Make top_y and getRowNearY() to use the cached y position
6938 2003-04-11 John Levon <levon@movementarian.org>
6940 * text.C (rowBreakPoint): reintroduce the labelEnd
6941 checks, code copied from the row fill stuff. Deep voodoo.
6943 * text.C (fill): add a comment and debugging for the
6946 2003-04-11 John Levon <levon@movementarian.org>
6948 * text.C: make sure fullrow insets get wrapped to the next line,
6949 even when they're in a manual label
6951 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * text2.C (insertParagraph): make it take ParagraphList::iterator
6955 (setLayout): make it return ParagraphList::iterator
6956 (redoParagraphs): ditto
6958 (checkParagraph): ditto
6960 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6962 * text2.C: adjust several funcs.
6963 (realizeFont): take a ParagraphList::iterator as arg.
6964 (getLayoutFont): ditto
6965 (getLabelFont): ditto
6966 (setCharFont): ditto
6968 * text.C: adjust several funcs.
6970 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6972 * text.C (selectNextWordToSpellcheck): don't accidentally
6975 2003-04-10 John Levon <levon@movementarian.org>
6977 * ToolbarBackend.C (getIcon): special handling for
6980 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6982 * text2.C (cursorRight): a getChar assert fixed
6984 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6986 * text2.C (getFont): change to take a ParagraphList::iterator
6987 instead of Paragraph*
6988 Adjust several functions.
6990 * text.C (transformChar): change to take a ParagraphList::iterator
6991 instead of Paragraph*
6992 (singleWidth): ditto
6993 Adjust several functions.
6995 * rowpainter.C: adjust several functions
6996 * rowpainter.h:store a ParagraphList::iterator and not a
7000 2003-04-09 John Levon <levon@movementarian.org>
7005 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7006 and the "help" bits as well
7008 2003-04-09 John Levon <levon@movementarian.org>
7011 * ToolbarBackend.C: allow multiple toolbars
7013 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7015 * undo_funcs.C (setCursorParUndo): adjust
7017 * text_funcs.C (transposeChars): adjust
7019 * text3.C (gotoNextInset): adjust
7022 * text2.C (setLayout): adjust
7023 (changeDepth): adjust
7025 (redoParagraphs): adjust
7026 (selectionAsString): adjust
7027 (setParagraph): adjust
7028 (insertInset): adjust
7029 (cutSelection): adjust
7030 (copySelection): adjust
7031 (pasteSelection): adjust
7032 (insertStringAsLines): adjust
7033 (updateInset): adjust
7034 (setCursor): change to take a ParagraphList::iterator parameter
7035 (setCursorIntern): change to take a ParagraphList::iterator parameter
7036 (setCurrentFont): adjust
7037 (cursorLeft): adjust
7038 (cursorRight): adjust
7039 (deleteEmptyParagraphMechanism): adjust
7041 * text.C (breakParagraph): adjust
7042 (insertChar): adjust
7043 (acceptChange): adjust
7044 (rejectChange): adjust
7045 (selectNextWordToSpellcheck): adjust
7046 (changeCase): adjust
7050 * lyxfind.C (SearchForward): adjust
7051 (SearchBackward): adjust
7052 (nextChange): adjust
7054 * lyxcursor.C (par): adjust
7056 * lyxcursor.h: store a ParagraphList::iterator instead of a
7059 * lyx_cb.C (getPossibleLabel): adjust
7061 * bufferview_funcs.C (toggleAndShow): adjust
7063 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7066 * BufferView.C (removeAutoInsets): adjust
7067 (lockedInsetStoreUndo): adjust
7069 2003-04-09 John Levon <levon@movementarian.org>
7071 * ToolbarBackend.C: try icon without argument
7072 if with argument fails
7074 2003-04-08 John Levon <levon@movementarian.org>
7077 * ToolbarBackend.C: add getIcon(), handle tooltip,
7078 and change from "Icon" to "Item".
7080 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7082 * BufferView.C (lockInset): another bad getchar crunched
7084 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7086 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7089 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7091 * lyxfind.C (searchForward, searchBackwards): bug 782
7093 2003-04-07 John Levon <levon@movementarian.org>
7095 * paragraph.C: remove dead comment
7097 * text.C: remove troublesome depth-fiddling code
7098 in leftMargin() and rightMargin() (bug 1017)
7100 * text.C: fix breaking of rows in nested lists
7103 * text2.C (updateCounters): fix up depth values
7106 2003-04-07 John Levon <levon@movementarian.org>
7108 * BufferView_pimpl.C: clear message when doc finishes resizing,
7109 and after a mouse event
7111 * lyxfunc.C: clear message after exiting inset
7113 2003-04-07 John Levon <levon@movementarian.org>
7115 * bufferview_funcs.C: show math status not outside
7116 status in the statusbar
7118 2003-04-07 John Levon <levon@movementarian.org>
7120 * lyxfunc.C: note status changed after a depth change
7122 2003-04-04 Angus Leeming <leeming@lyx.org>
7124 * LaTeX.h: move AuxInfo operator==, != out of line.
7125 Remove LaTeX virtual destructor; nothing derives from it.
7126 Move operator()() out of public area and rename it startscript().
7127 Change protected for private.
7129 2003-04-04 Angus Leeming <leeming@lyx.org>
7132 * text2.C: remove unneeded #includes.
7134 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7136 * text2.C (dEPM): fix the heigth of the next row
7138 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7140 * text.C: squashed an invalid getChar requester + some ws changes
7142 2003-04-03 John Levon <levon@movementarian.org>
7144 * bufferview_funcs.h:
7145 * bufferview_funcs.C:
7148 * text2.C: make getStatus work for the env depth lfuns
7150 2003-04-03 John Levon <levon@movementarian.org>
7152 * bufferview_funcs.h:
7153 * bufferview_funcs.C:
7156 * text2.C: parlistize decDepth(), by merging it with incDepth()
7158 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7160 * lyxrow.h: store a ParagraphList::iterator instead of a
7161 Paragraph* and adjust other class functions to suit.
7163 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7166 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7168 * text2.C (setCursor): do not anchor to cursor row for the time being
7170 2003-04-02 John Levon <levon@movementarian.org>
7177 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7179 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7181 * paragraph.h: make ParagraphList and ParagraphList::iterator
7182 friends of Paragraph.
7184 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7186 * ParagraphList.C: Use the private next_ and previous_ from
7189 2003-04-01 John Levon <levon@movementarian.org>
7193 * Makefile.am: rename, remove defaults gunk
7196 * MenuBackend.C: remove defaults gunk
7199 * Languages.C: remove defaults gunk
7202 * lyx_main.C: error out if files couldn't be found.
7204 2003-04-02 John Levon <levon@movementarian.org>
7206 * text2.C: make incDepth() use parlist
7208 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * undo_funcs.C (firstUndoParagraph): adjust
7212 * text3.C (gotoInset): adjust
7213 (dispatch): adjust, and rewrite loop.
7215 * text2.C (init): adjust, and rewrite loop.
7216 (redoParagraphs): adjust
7217 (updateInset): adjust, and rewrite loop.
7218 (deleteEmptyParagraphMechanism): adjust
7220 * tabular.C (LyXTabular): adjust
7221 (SetMultiColumn): adjust
7224 * lyxtext.[Ch] (ownerParagraph): delete function
7225 (ownerParagraphs): new function returns a ParagraphList.
7227 * BufferView.C (removeAutoInsets): adjust
7228 (insertErrors): adjust
7229 (setCursorFromRow): adjust
7231 2003-04-01 Angus Leeming <leeming@lyx.org>
7233 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7236 2003-04-02 John Levon <levon@movementarian.org>
7242 * text_funcs.C: make transposeChars a free function
7244 * lyxrow_funcs.C: remove wrong comment
7246 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7249 * rowpainter.C: adjust
7254 * lyxrow_funcs. [Ch]: new files
7256 * lyxrow.[Ch]: remove next and previous pointers
7257 (next,previous): remove accessor functions
7258 (isParEnd): move to lyxrow_funcs
7259 (lastPos): move to lyxrow_funcs
7260 (nextRowIsAllInset): move to lyxrow_funcs
7261 (lastPrintablePos): move to lyxrow_funcs
7262 (numberOfSeparators): move to lyxrow_funcs
7263 (numberOfHfills): move to lyxrow_funcs
7264 (numberOfLabelHfills): move to lyxrow_funcs
7265 (hfillExpansion): move to lyxrow_funcs
7269 * bufferview_funcs.C (toggleAndShow): adjust
7271 * RowList.h: Remove class RowList from file leave just a
7274 * RowList.C: delete file
7276 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7279 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * text3.C (cursorPrevious): adjust
7282 (cursorNext): adjust
7285 * text2.C (redoHeightOfParagraph): adjust
7286 (redoDrawingOfParagraph): adjust
7289 * text.C (breakParagraph): adjust
7290 (insertChar): adjust
7293 * rowpainter.C (RowPainter): adjust
7294 (leftMargin): simplify and adjust
7295 (most rowpainter functions): adjust.
7297 * rowpainter.h: store the row as RowList::iterator not as Row*
7299 * lyxcursor.C (row): taka RowList::iterator as arg
7302 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7305 2003-04-01 Angus Leeming <leeming@lyx.org>
7307 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7308 stuff like bool Bool.
7310 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7312 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7315 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7317 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7320 * lyxtext.h (rows): drop one version and leve a const variant that
7321 returns a RowList::iterator.
7323 2003-03-31 Angus Leeming <leeming@lyx.org>
7325 * text.C (fill): ensure that the signature is the same as that in the
7328 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7330 * text2.C (redoParagraphs): adjust
7331 (updateCounters): adjust
7332 (checkParagraph): adjust
7333 (getColumnNearX): adjust and reformat a bit.
7335 * text.C (top_y): adjust
7337 (leftMargin): adjust
7338 (prepareToPrint): adjust
7340 (getRowNearY): adjust
7342 * lyxtext.h: make rowlist_ mutable.
7344 * RowList.h: add const_iterator
7345 * RowList.C: adjust for RowList::const_iterator.
7347 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7350 2003-03-31 John Levon <levon@movementarian.org>
7353 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7355 * lyx_main.C: set default fonts from using lyx_gui funcs
7357 * exporter.C: pdf_mode moved from lyxrc
7360 * lyxfunc.C: changes from above
7362 2003-03-31 John Levon <levon@movementarian.org>
7364 * lyx_main.C: fix to the last fix
7366 2003-03-31 John Levon <levon@movementarian.org>
7368 * bufferlist.C: "Load original" -> "Load Original"
7374 * format.C: more Alert cleanups
7376 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7378 * text2.C (removeParagraph): make it take a RowList::iterator as
7380 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7381 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7383 * text.C (anchor_row): make it take a RowList::iterator as arg,
7385 (computeBidiTables): make it take a const reference to Row instead
7386 of Row pointer, adjust.
7387 (leftMargin): make it take a RowList::iterator as arg, adjust.
7388 (rowBreakPoint): adjust
7389 (breakAgainOneRow): make it take a RowList::iterator as arg,
7391 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7393 * bufferview_funcs.C (toggleAndShow): adjust
7395 2003-03-30 John Levon <levon@movementarian.org>
7399 * boost-inst.C: moved to support
7401 * several files: changes as a result
7403 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7405 * text2.C (LyXText): adjust.
7407 (removeRow): make it take a RowList::iterator as arg, adjust.
7408 (fullRebreak): adjust
7409 (deleteEmptyParagraphMechanism): adjust
7410 (clearPaint): adjust
7413 * text.C (top_y): adjust
7414 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7415 (breakAgain): make it take a RowList::iterator as arg, adjust.
7416 (breakParagraph): adjust
7417 (insertChar): adjust
7420 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7421 need_break_row, and refresh_row.
7423 * text3.C (dispatch): adjust
7425 * text2.C (checkParagraph): adjust
7427 (setCursorFromCoordinates): adjust
7429 * text.C (top_y): adjust
7431 (getRow): make it return a RowList::iterator, adjust
7432 (getRowNearY): make it return a RowList::iterator, adjust
7434 * text2.C (init): adjust
7435 (insertRow): remove function
7436 (insertParagraph): adjust
7437 (redoParagraphs): adjust
7438 (fullRebreak): adjust
7439 (updateCounters): adjust
7441 * text.C (top_y): rewrite to use RowList iterators.
7443 (setHeightOfRow): rewrite to sue RowList iterators.
7444 (appendParagraph): adjust
7445 (breakAgain): adjust
7446 (breakAgainOneRow): adjust
7447 (breakParagraph): adjust
7449 (getRowNearY): adjust, and remove commented code.
7451 * lyxtext.h (firstRow): delete function
7452 (lastRow): delete function
7453 (rows): new function (const and non-const versions.)
7454 (insertRow): delete function
7456 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7458 2003-03-29 John Levon <levon@movementarian.org>
7460 * BufferView_pimpl.C: always update scrollbar top
7461 because pasting text when we're anchored could mean we
7462 miss an update altogether
7464 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7466 * text2.C (init): use rowlist_.end() and not 0.
7467 (insertRow): change to take a RowList::iterator as arg, adjust
7469 (insertParagraph): change to take a RowList::iterator as arg,
7471 (redoParagraphs): remove some debug msgs.
7473 * text.C (appendParagraph): change to take a RowList::iterator
7474 arg, adjust for this.
7475 (breakAgain): add an assert
7476 (breakAgainOneRow): ditto
7478 2003-03-29 John Levon <levon@movementarian.org>
7480 * text2.C: do not clear selection after inc/decDepth
7483 2003-03-29 John Levon <levon@movementarian.org>
7486 * buffer.C: fix broken strerrors according to Lars
7488 2003-03-29 John Levon <levon@movementarian.org>
7490 * converters.C: more Alert cleanups
7492 2003-03-29 John Levon <levon@movementarian.org>
7494 * bufferview_funcs.C: remove pointless Alert
7496 * buffer.C: fix confusing error message when
7497 a template is chmoded 000
7499 2003-03-29 John Levon <levon@movementarian.org>
7503 * BufferView_pimpl.C: Alert fixes
7507 * tabular-old.C: remove unused table compat reading
7509 2003-03-29 John Levon <levon@movementarian.org>
7514 * lyx_cb.C: more Alert cleanups
7516 * lyxfunc.C: don't allow chktex if not latex document
7518 2003-03-29 John Levon <levon@movementarian.org>
7522 * buffer.C: warnings pushed down from support/,
7525 2003-03-29 John Levon <levon@movementarian.org>
7527 * lyxfunc.C: safety check for C-r (revert)
7529 2003-03-29 John Levon <levon@movementarian.org>
7532 * bufferlist.C: several UI fixes using Alert::prompt.
7533 Fix the pointless looping quit code. Fix stupid revert
7538 * lyx_cb.C: use Alert::prompt
7540 * lyx_main.C: remove a silly question
7542 * lyxfunc.C: remove a couple of silly questions,
7545 2003-03-28 John Levon <levon@movementarian.org>
7547 * text2.C: fix bug 974 (End on empty par)
7549 2003-03-28 John Levon <levon@movementarian.org>
7551 * BufferView_pimpl.C:
7553 * lfuns.h: remove do-nothing math greek lfuns
7555 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * lyxgluelength.h (isValidGlueLength): add default arg on
7558 parameter 2. Remove default arg from friend in class.
7560 * lyxlength.h (isValidLength): add default arg on parameter 2.
7561 Remove default arg from friend in class.
7563 * text2.C (LyXText): adjust, initialize refresh_row.
7567 (insertParagraph): adjst
7568 (redoParagraphs): adjust
7569 (fullRebreak): adjust
7570 (updateCounters): adjust
7571 (deleteEmptyParagraphMechanism): first attempt at fixing a
7574 * text.C (top_y): adjust
7575 (setHeightOfRow): adjust
7577 (getRowNearY): adjust
7579 * lyxtext.h: include RowList.h
7580 (~LyXText): not needed anymore, deleted.
7581 (firstRow): modify for RowList
7582 (lastRow): new function
7583 Delete firstrow and lastrow class variables, add a Rowlist
7584 rowlist_ class variable.
7586 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7589 * RowList.C (insert): fix case where it == begin().
7591 2003-03-26 Angus Leeming <leeming@lyx.org>
7593 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7594 the thesaurus dialog.
7596 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7600 * RowList.[Ch]: new files
7602 * ParagraphList.C (erase): handle the case where it == begin
7605 2003-03-25 John Levon <levon@movementarian.org>
7609 * aspell.C: add new aspell support
7612 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7615 2003-03-25 Angus Leeming <leeming@lyx.org>
7618 * LyXAction.C (init): new LFUN_INSET_INSERT.
7620 * BufferView_pimpl.C (dispatch): split out part of the
7621 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7623 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7626 2003-03-25 Angus Leeming <leeming@lyx.org>
7628 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7630 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7633 * text3.C: remove useless row->height(0)
7635 2003-03-25 John Levon <levon@movementarian.org>
7639 * text3.C: rename the refreshing stuff to better names
7641 2003-03-24 John Levon <levon@movementarian.org>
7643 * BufferView_pimpl.h:
7644 * BufferView_pimpl.C: update layout choice on a mouse
7647 2003-03-23 John Levon <levon@movementarian.org>
7649 * Makefile.am: fix commandtags.h reference
7651 2003-03-22 John Levon <levon@movementarian.org>
7653 * BufferView_pimpl.C:
7658 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7660 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7663 * text.C: take the rtl methods out of line
7665 2003-03-21 André Pönitz <poenitz@gmx.net>
7667 * metricsinfo.[Ch]: new files containing structures to be passed around
7668 during the two-phase-drawing...
7670 2003-03-21 André Pönitz <poenitz@gmx.net>
7672 * lyxtextclass.C: read 'environment' tag.
7674 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7676 * text2.C (removeRow): fix bug 964
7678 2003-03-20 John Levon <levon@movementarian.org>
7682 * text2.C: paint cleanups. Inset::update() dropped font
7685 2003-03-19 John Levon <levon@movementarian.org>
7687 * lyxfunc.C: only fitcursor/markDirty if available()
7689 2003-03-19 John Levon <levon@movementarian.org>
7691 * commandtags.h: rename to ...
7693 * lfuns.h: ... this, and renumber / cleanup
7695 2003-03-19 John Levon <levon@movementarian.org>
7697 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7698 fit the cursor after an lfun
7702 * BufferView_pimpl.h:
7703 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7705 * LyXAction.C: layout-character should have ReadOnly
7707 * ParagraphParameters.C:
7709 * bufferview_funcs.C:
7716 * undo_funcs.C: changes from above
7718 2003-03-18 John Levon <levon@movementarian.org>
7720 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7721 remove it from update()
7723 * lyxfunc.C: update layout choice after an lfun
7725 * text3.C: remove extra updateLayoutChoice()s
7727 2003-03-18 John Levon <levon@movementarian.org>
7729 * text.C: top_y change means full repaint, fix
7730 a drawing bug with cursor movement
7732 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7736 * text2.C: anchor row on setCursor
7738 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7740 * lyxtext.h: remove almost all mutable keywords
7743 * text3.C: remove const keywords accordingly
7745 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7747 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7749 (TeXEnvironment): ditto
7752 2003-03-17 John Levon <levon@movementarian.org>
7754 * text.C (rowBreakPoint): remove attempt to fix displayed
7755 math insets inside a manual label
7757 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * lyxtext.h: remove BufferView* as first arg from almost all class
7761 * other files: adjust.
7763 2003-03-17 John Levon <levon@movementarian.org>
7767 * text2.C: more paint cleanups
7769 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7772 * rowpainter.C: remove "smart" background painting code
7774 2003-03-16 John Levon <levon@movementarian.org>
7779 * text3.C: add helper functions for setting refresh_row/y
7781 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7783 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7784 newline inset which *can* get inserted in the pass_thru layouts.
7785 This is primarily for literate documents.
7787 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7789 * buffer.C: increment LYX_FORMAT to 223
7791 2003-03-14 André Pönitz <poenitz@gmx.net>
7793 * textclass.h: prepare for environment handling, ws changes
7794 * lyxlayout.C: read latexheader and latexfooter tags
7796 2003-03-14 John Levon <levon@movementarian.org>
7798 * text2.C: rewrite ::status() a bit
7800 2003-03-13 John Levon <levon@movementarian.org>
7802 * lyxtext.h: add some docs
7804 2003-03-13 John Levon <levon@movementarian.org>
7809 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7811 2003-03-13 John Levon <levon@movementarian.org>
7813 * text3.C: fix appendix redrawing
7815 2003-03-13 John Levon <levon@movementarian.org>
7817 * text.C (setHeightOfRow):
7819 * rowpainter.C: make appendix mark have the text
7820 "Appendix" so the user knows what it is
7823 * LColor.C: s/appendixline/appendix/ from above
7825 2003-03-13 John Levon <levon@movementarian.org>
7827 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7829 * text.C: fix a getChar(pos) bug properly
7831 2003-03-13 Angus Leeming <leeming@lyx.org>
7834 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7835 Probably only temporary. Let's see how things pan out.
7837 * BufferView.C (unlockInset):
7838 * BufferView_pimpl.C (fitCursor):
7839 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7841 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7842 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7844 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7845 new functions that convert ParagraphParameters to and from a string.
7847 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7848 BufferView::Pimpl's dispatch.
7849 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7851 2003-03-13 André Pönitz <poenitz@gmx.net>
7855 * factory.C: make it aware of InsetEnv
7857 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7859 * text2.C (setCursor): never ask for one past last
7860 (setCursor): add some debugging messages.
7862 * text.C (singleWidth): never ask for one past last
7863 (singleWidth): ditto
7865 (rightMargin): ditto
7866 (rowBreakPoint): ditto
7867 (setHeightOfRow): ditto
7868 (prepareToPrint): ditto
7870 * rowpainter.C (paintBackground): never ask for one past last
7871 (paintText): never ask for one past last
7873 * paragraph_pimpl.C (getChar): make the assert stricter, never
7874 allow the one past last pos to be taken
7876 * paragraph.C (getChar): ws changes only
7878 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7879 (numberOfSeparators): ditto
7880 (numberOfHfills): ditto
7882 2003-03-12 John Levon <levon@movementarian.org>
7888 * paragraph_funcs.C: fix per-buffer authorlists
7890 2003-03-12 John Levon <levon@movementarian.org>
7892 * text.C: fix newline in right address
7894 2003-03-12 Angus Leeming <leeming@lyx.org>
7896 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7897 duplicate those in LyXFunc::dispatch.
7901 * ToolbarDefaults.C:
7902 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7903 Add LFUN_FONTFREE_UPDATE.
7905 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7906 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7908 * bufferview_func.[Ch]: several new functions to facilliate
7909 transfer of data to and from the character dialog.
7911 2003-03-12 John Levon <levon@movementarian.org>
7916 * paragraph_funcs.C:
7917 * paragraph_pimpl.C:
7921 * text3.C: remove META_NEWLINE in favour of an inset
7924 * rowpainter.C: remove paintNewline (done by inset)
7926 2003-03-12 John Levon <levon@movementarian.org>
7928 * paragraph_pimpl.C: complain about bad getChar()s
7929 for a while at least
7931 2003-03-12 John Levon <levon@movementarian.org>
7934 * buffer.C: move paragraph read into a separate function,
7935 a little renaming to reflect that.
7938 * bufferparams.C: remove the author_ids map, not necessary now
7941 * factory.C: moved Buffer::readInset to here
7943 * paragraph_funcs.h:
7944 * paragraph_funcs.C: readParagraph free function moved from
7947 * tabular.C: name change
7949 2003-03-12 John Levon <levon@movementarian.org>
7952 * ParagraphParameters.C: move par params input to
7955 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7956 behave like a normal read from the stream wrt reading
7957 a line vs. a \\token
7959 2003-03-12 John Levon <levon@movementarian.org>
7962 * ParagraphParameters.h:
7963 * ParagraphParameters.C: move output code to a
7966 2003-03-12 John Levon <levon@movementarian.org>
7968 * BufferView.C (insertLyXFile):
7971 * tabular.C: use a parlist iterator for creating the
7974 2003-03-12 John Levon <levon@movementarian.org>
7976 * buffer.C: make current_change static local not
7979 2003-03-12 John Levon <levon@movementarian.org>
7981 * buffer.C: fix insertStringAsLines for change tracking
7983 2003-03-12 John Levon <levon@movementarian.org>
7990 * bufferparams.C: move author list into params. Rename some
7991 functions. Move the header reading into a separate token
7992 loop. Move the header token reading into BufferParams.
7994 2003-03-12 John Levon <levon@movementarian.org>
7996 * changes.C: put debug inside lyxerr.debugging() checks
7998 2003-03-11 André Pönitz <poenitz@gmx.net>
8000 * factory.C: make it aware of InsetHFill
8002 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8004 * buffer.C (latexParagraphs): move function from here...
8005 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8008 2003-03-10 Angus Leeming <leeming@lyx.org>
8010 * LyXAction.C (init): fix bug in poplating array with multiple entries
8011 with the same LFUN (spotted by JMarc).
8013 2003-03-10 John Levon <levon@movementarian.org>
8016 * text2.C: move getColumnNearX() near its
8019 2003-03-10 John Levon <levon@movementarian.org>
8021 * text.C: fix break before a minipage
8023 2003-03-10 John Levon <levon@movementarian.org>
8025 * text.C: fix the last commit
8027 2003-03-09 John Levon <levon@movementarian.org>
8031 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8032 bug 365 (don't break before insets unless needed). Don't
8033 return a value > last under any circumstances.
8035 2003-03-09 Angus Leeming <leeming@lyx.org>
8037 * BufferView_pimpl.C (trackChanges, dispatch): call
8038 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8040 2003-03-09 Angus Leeming <leeming@lyx.org>
8042 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8043 than Dialogs::showAboutlyx().
8045 2003-03-09 Angus Leeming <leeming@lyx.org>
8047 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8048 than Dialogs::showTabularCreate().
8050 2003-03-09 John Levon <levon@movementarian.org>
8054 * text2.C: 3rd arg to nextBreakPoint was always the same.
8057 2003-03-08 John Levon <levon@movementarian.org>
8064 * text2.C: Remove the "main" bit from the "main body"
8067 2003-03-08 John Levon <levon@movementarian.org>
8069 * text.C (leftMargin): The left margin of an empty
8070 manual label paragraph should not include the label width
8073 * text.C (prepareToPrint): don't attempt to measure hfills
8074 for empty manual label paragraphs - the answer should be 0
8076 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8078 * CutAndPaste.C: remove commented code and reindent.
8080 2003-03-08 John Levon <levon@movementarian.org>
8083 * lyxfunc.C: move reloadBuffer()
8086 * BufferView.C: to here
8088 * lyxvc.C: add comment
8091 * vc-backend.C: call bv->reload() to avoid
8092 getStatus() check on MENURELOAD
8094 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8096 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8097 to an old format .dep file.
8099 2003-03-07 Angus Leeming <leeming@lyx.org>
8101 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8102 when the LFUN_MOUSE_RELEASE should have been handled by
8103 inset->localDispatch.
8105 2003-03-07 Angus Leeming <leeming@lyx.org>
8107 * BufferView_pimpl.C (dispatch):
8108 * LyXAction.C (init):
8109 * ToolbarDefaults.C (init):
8111 * lyxfunc.C (getStatus):
8112 remove LFUN_INSET_GRAPHICS.
8114 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8116 2003-03-07 Angus Leeming <leeming@lyx.org>
8119 * LyXAction.C (init):
8120 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8122 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8125 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8127 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8128 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8130 2003-03-07 Angus Leeming <leeming@lyx.org>
8132 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8135 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8137 * ParagraphList.C (front): new function
8140 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8142 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8143 and top_row_offset_. removed var first_y.
8145 * text2.C (LyXText, removeRow):
8147 * BufferView_pimpl.C:
8148 use these methods instead of using first_y
8150 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8152 * text2.C (pasteSelection): adjust for checkPastePossible
8154 * CutAndPaste.C: remove Paragraph * buf and replace with
8155 ParagraphList paragraphs.
8156 (DeleteBuffer): delete
8157 (cutSelection): change the tc type to textclass_type
8158 (copySelection): change the tc type to textclass_type
8159 (copySelection): adjust for ParagraphList
8160 (pasteSelection): change the tc type to textclass_type
8161 (pasteSelection): adjust for Paragraphlist
8162 (nrOfParagraphs): simplify for ParagraphList
8163 (checkPastePossible): simplify for ParagraphList
8164 (checkPastePossible): remove unused arg
8166 * ParagraphList.C (insert): handle the case where there are no
8169 * CutAndPaste.h: make CutAndPaste a namespace.
8171 * text3.C (dispatch): adjust
8173 * text.C (breakParagraph): add a ParagraphList as arg
8175 * paragraph_funcs.C (breakParagraph): change to take a
8176 BufferParams and a ParagraphList as args.
8177 (breakParagraphConservative): ditto
8178 (mergeParagraph): ditto
8179 (TeXDeeper): add a ParagraphList arg
8180 (TeXEnvironment): ditto
8183 * buffer.C (readLyXformat2): adjust
8184 (insertStringAsLines): adjust
8185 (latexParagraphs): adjust
8187 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8188 (cutSelection): adjust
8189 (pasteSelection): adjust
8191 * BufferView_pimpl.C (insertInset): adjust
8193 2003-03-05 Angus Leeming <leeming@lyx.org>
8196 * LyXAction.C (init):
8197 * BufferView_pimpl.C (dispatch):
8198 * lyxfunc.C (getStatus):
8199 remove LFUN_CHILD_INSERT.
8201 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8203 2003-03-05 Angus Leeming <leeming@lyx.org>
8206 * LyXAction.C (init):
8207 * src/factory.C (createInset):
8208 * lyxfunc.C (getStatus):
8209 * text3.C (dispatch):
8210 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8212 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8214 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8216 * ParagraphList.C (insert): handle insert right before end()
8217 (erase): fix cases where it can be first or last paragraph.
8219 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8221 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8222 Paragraph::next and Paragraph::previous
8225 * text.C (breakParagraph): adjust
8227 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8228 BufferParams& as arg.
8229 (breakParagraph): use ParagraphList::insert
8230 (breakParagraphConservative): take a Buffer* instead of a
8231 BufferParams& as arg.
8232 (breakParagraphConservative): use ParagraphList::insert.
8234 * buffer.C (insertStringAsLines): un-const it
8235 (insertStringAsLines): adjust
8237 * ParagraphList.C (insert): new function
8239 * CutAndPaste.C (pasteSelection): adjust
8241 * text.C (backspace): adjust
8243 * tabular.C (SetMultiColumn): adjust
8245 * CutAndPaste.C (cutSelection): adjust
8246 (pasteSelection): adjust
8248 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8249 Buffer const * as arg
8251 * ParagraphList.C (erase): new function
8252 * paragraph_funcs.C (mergeParagraph): use it
8253 (mergeParagraph): make it take a Buffer* instead of a
8254 BufferParams* as arg
8256 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8258 (breakParagraphConservative): ditto
8260 * paragraph.h: remove the breakParagraph friend
8262 * paragraph.C (eraseIntern): new function
8263 (setChange): new function
8265 * paragraph_funcs.C (mergeParagraph): make it take a
8266 ParagraphList::iterator instead of a Paragraph *, adjust
8269 * paragraph.h: move an #endif so that the change tracking stuff
8270 also works in the NO_NEXT case.
8272 2003-03-04 Angus Leeming <leeming@lyx.org>
8275 * LyXAction.C: new LFUN_INSET_MODIFY.
8277 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8278 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8280 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * several files: ws changes only
8284 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8285 (TeXEnvironment): ditto
8288 * buffer.C (makeLaTeXFile): adjust
8289 (latexParagraphs): make it take ParagraphList::iterator as args
8291 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8293 * buffer.C (latexParagraphs): adjust
8295 * paragraph.C (TeXOnePar): move function...
8296 (optArgInset): move function...
8297 (TeXEnvironment): move function...
8298 * paragraph_pimpl.C (TeXDeeper): move function...
8299 * paragraph_funcs.C: ...here
8301 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8303 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * buffer.C (readInset): remove compability code for old Figure and
8308 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * buffer.C: ws changes
8313 * BufferView_pimpl.C: ditto
8316 * bufferlist.h: ditto
8320 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8322 * converter.[Ch]: split into itself +
8325 * Makefile.am: += graph.[Ch] + format.[Ch]
8332 * lyxrc.C: added #include "format.h"
8334 2003-02-27 Angus Leeming <leeming@lyx.org>
8336 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8339 * factory.C (createInset): add "label" to the factory.
8341 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8342 string and do no more.
8344 2003-02-27 Angus Leeming <leeming@lyx.org>
8347 * LyXAction.C (init):
8348 * factory.C (createInset):
8349 * BufferView_pimpl.C (dispatch):
8350 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8352 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8354 * lyxfunc.C (dispatch):
8355 * text3.C (dispatch): pass name to params2string.
8357 2003-02-26 Angus Leeming <leeming@lyx.org>
8359 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8361 Rearrange the ~includes. Strip out the unnecessary ones.
8363 * factory.C (createInset): reformat.
8364 create new insets for the various LFUN_XYZ_APPLY lfuns.
8366 2003-02-26 John Levon <levon@movementarian.org>
8369 * lyxrow.C: add isParStart,isParEnd helpers
8371 * paragraph.h: make isInserted/DeletedText take refs
8373 * paragraph_funcs.h:
8374 * paragraph_funcs.C: remove #if 0'd code
8379 * text.C: use lyxrow helpers above.
8380 Move draw and paint routines to RowPainter.
8381 Make several methods use refs not pointers.
8382 Make backgroundColor() const.
8383 Add markChangeInDraw(), isInInset().
8384 Merge changeRegionCase into changeCase.
8385 Make workWidth() shouldn't-happen code into an Assert.
8388 * rowpainter.C: new class for painting a row.
8391 * vspace.C: make inPixels take a ref
8393 2003-02-26 Angus Leeming <leeming@lyx.org>
8395 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8398 2003-02-25 John Levon <levon@movementarian.org>
8400 * ispell.C: give the forked command a more accurate name
8402 2003-02-22 John Levon <levon@movementarian.org>
8405 * toc.C: make TocItem store an id not a Paragraph *
8408 2003-02-21 Angus Leeming <leeming@lyx.org>
8410 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8411 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8412 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8413 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8414 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8415 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8417 * BufferView_pimpl.C (dispatch):
8418 * LyXAction.C (init):
8419 * factory.C (createInset):
8420 * lyxfunc.C (getStatus, dispatch):
8421 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8423 2003-02-21 Angus Leeming <leeming@lyx.org>
8425 * BufferView_pimpl.C (MenuInsertLyXFile):
8426 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8427 * lyxfunc.C (menuNew, open, doImport):
8428 no longer pass a LyXView & to fileDlg.
8430 2003-02-21 Angus Leeming <leeming@lyx.org>
8432 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8433 * LyXAction.C: change, BIBKEY to BIBITEM.
8434 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8435 Change InsetBibKey to InsetBibitem.
8436 Change BIBKEY_CODE to BIBITEM_CODE.
8437 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8438 * factory.C: replace insetbib.h with insetbibitem.h.
8439 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8440 * paragraph.C: replace insetbib.h with insetbibitem.h.
8441 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8442 Change bibkey() to bibitem().
8443 * text.C: remove insetbib.h.
8444 * text2.C: replace insetbib.h with insetbibitem.h.
8445 change bibkey() to bibitem().
8446 * text3.C: remove insetbib.h.
8447 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8449 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * lyxrc.C (output): enclose user email in quotes (in case there are
8454 2003-02-18 John Levon <levon@movementarian.org>
8456 * buffer.h: add std::
8458 2003-02-17 John Levon <levon@movementarian.org>
8464 * pspell.C: reworking. Especially in ispell, a large
8465 number of clean ups and bug fixes.
8467 * lyxfunc.C: fix revert to behave sensibly
8469 2003-02-17 André Pönitz <poenitz@gmx.net>
8472 * commandtags.h: new LFUN_INSERT_BIBKEY
8482 * paragraph_func.C: remove special bibkey handling
8484 2003-02-17 John Levon <levon@movementarian.org>
8486 * text.C (Delete): fix case where delete at the end of
8487 the very first paragraph would not merge the pars
8489 2003-02-17 John Levon <levon@movementarian.org>
8491 * lyxrow.C: fix lastPrintablePos()
8493 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8495 * bufferparams.C (writeLaTeX): add a std:here
8497 * buffer.C: and remove a using directive there
8499 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8501 * buffer.C (makeLaTeXFile): move the code that generates the
8504 * bufferparams.C (writeLaTeX): ... in this new method
8506 * LaTeXFeatures.C (getEncodingSet): make const
8507 (getLanguages): make const
8509 * MenuBackend.C (binding): returns the binding associated to this
8511 (add): sets the status of each item by calling getStatus. Adds
8513 (read): add support for OptSubMenu
8514 (expand): remove extra separator at the end of expanded menu
8516 2003-02-15 John Levon <levon@movementarian.org>
8519 * BufferView_pimpl.C:
8521 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8522 inset code that had no actual effect. Remove unneeded status
8525 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8527 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8530 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8532 * text.C (drawLengthMarker): also draw an arrow marker for
8533 symbolic lengths (medskip...)
8535 2003-02-14 John Levon <levon@movementarian.org>
8538 * tabular.C: better method names
8540 2003-02-14 John Levon <levon@movementarian.org>
8542 * BufferView_pimpl.C:
8547 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8548 it's a more accurate name. Remove some pointless uses.
8550 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8552 * text2.C (LyXText): change order of initilizers to shut off
8555 2003-02-14 John Levon <levon@movementarian.org>
8557 * buffer.C: use ParIterator for getParFromID()
8561 * paragraph_pimpl.h:
8562 * paragraph_pimpl.C: remove unused getParFromID()
8564 2003-02-14 John Levon <levon@movementarian.org>
8566 * buffer.C: remove some very old #if 0'd parse code
8568 2003-02-13 John Levon <levon@movementarian.org>
8572 * text2.C: move hfillExpansion(), numberOfSeparators(),
8573 rowLast(), rowLastPrintable(), numberofHfills(),
8574 numberOfLabelHfills() ...
8577 * lyxrow.C: ... to member functions here.
8582 * text.C: remove LyXText::beginningOfMainBody(), and call
8583 p->beginningOfMainBody() directly. Move the check for
8584 LABEL_MANUAL into the latter.
8591 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8597 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8598 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8600 2003-02-13 John Levon <levon@movementarian.org>
8602 * CutAndPaste.C: remove debug
8604 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8606 * paragraph.C (asString): remove two unused variables
8608 * lyxtextclass.C (readTitleType):
8610 (LyXTextClass): handle new members titletype_ and titlename_
8612 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8614 2003-02-09 John Levon <levon@movementarian.org>
8617 * buffer.C: replace hand-coded list with a map for the dep clean
8619 2003-02-08 John Levon <levon@movementarian.org>
8621 * LaTeX.C: consolidate code into showRunMessage() helper
8623 2003-02-08 John Levon <levon@movementarian.org>
8628 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8629 and pass the size in explicitly
8631 * BufferView_pimpl.h:
8632 * BufferView_pimpl.C:
8634 * BufferView.C: add getCurrentChange()
8636 * BufferView_pimpl.h:
8637 * BufferView_pimpl.C: handle change lfuns
8639 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8640 for changes. Mark pasted paragraphs as new.
8642 * support/lyxtime.h:
8643 * support/lyxtime.C:
8644 * DepTable.C: abstract time_t as lyx::time_type
8647 * LColor.C: add colours for new text, deleted text, changebars
8649 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8650 package use "usenames" option.
8654 * LyXAction.C: add change lfuns
8658 * author.C: author handling
8661 * buffer.C: add a per-buffer author list, with first entry as
8662 current author. Handle new .lyx tokens for change tracking. Output
8663 author list to .lyx file. Output dvipost stuff to .tex preamble.
8664 Bump lyx format to 222.
8667 * bufferlist.C: add setCurrentAuthor() to reset current author details
8671 * bufferparams.C: add param for tracking
8673 * bufferview_funcs.C: output change info in minibuffer
8677 * changes.C: add change-tracking structure
8680 * debug.C: add CHANGES debug flag
8683 * lyxfind.C: add code for finding the next change piece
8686 * lyxrc.C: add user_name and user_email
8689 * lyxrow.C: add a metric for the top of the text line
8692 * text.C: implement accept/rejectChange()
8695 * text.C: paint changebars. Paint new/deleted text in the chosen
8696 colours. Strike through deleted text.
8700 * paragraph_pimpl.h:
8701 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8702 in the current change to the insert functions. Rework erase to
8703 mark text as deleted, adding an eraseIntern() and a range-based
8704 erase(). Implement per-paragraph change lookup and
8707 * paragraph_funcs.C: Fixup paste for change tracking.
8709 * tabular.C: mark added row/columns as new.
8711 * text.C: fix rowLast() to never return -1. Don't allow
8712 spellchecking of deleted text. Track transpose changes. Don't
8713 allow paragraph break or merge where appropriate.
8715 * text2.C: leave cursor at end of selection after a cut.
8717 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8719 * text.C (getLengthMarkerHeight):
8720 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8721 visible on screen too.
8723 2003-02-07 John Levon <levon@movementarian.org>
8725 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8727 2003-02-05 Angus Leeming <leeming@lyx.org>
8729 * lyxserver.C (read_ready): revert my patch of 11 September last year
8730 as it sends PC cpu through the roof. Presumably this means that
8731 the lyxserver will no longer run on an Alpha...
8733 2003-01-30 Angus Leeming <leeming@lyx.org>
8735 * factory.C (createInset): create an InsetCommandParam of type "index"
8736 and use it to 'do the right thing'.
8738 * text2.C (getStringToIndex): ensure that cursor position is always
8739 reset to the reset_cursor position.
8741 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8746 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8750 * lyxfunc.C: Output messages with identical spelling, punctuation,
8753 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8755 * MenuBackend.C (expandFormats): List only viewable export formats
8758 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8761 * lyxfunc.C (getStatus): Make sure that formats other than
8762 "fax" can also be disabled
8764 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8766 * text3.C (dispatch): put the lfuns that insert insets in 3
8767 groups, and call doInsertInset with appropriate arguments.
8768 (doInsertInset): new function, that creates an inset and inserts
8769 it according to some boolean parameters.
8771 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8773 * buffer.C (readFile): remember to pass on 'par' when calling
8774 readFile recursively.
8776 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8778 * MenuBackend.C (expandFormats): add "..." to import formats.
8780 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8782 * paragraph.C (asString): Remove XForms RTL hacks.
8784 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8785 * buffer.C: fix typo
8787 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8789 * Makefile.am (LIBS): delete var
8790 (lyx_LDADD): add @LIBS@ here instead.
8792 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8794 * Clarify the meaning of "wheel mouse jump"
8796 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8801 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8803 * importer.C (Loaders): do not preallocate 3 elements in the
8804 vector, since one ends up with 6 elements otherwise
8806 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8808 * DepTable.C (write): write the file name as last element of the
8809 .dep file (because it may contain spaces)
8810 (read): read info in the right order
8812 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * paragraph_pimpl.C (simpleTeXBlanks):
8815 (simpleTeXSpecialChars):
8816 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8818 * tabular.C (latex): add some missing case statements. Reindent.
8820 * MenuBackend.C (expandToc): remove unused variable.
8822 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8831 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8834 2003-01-05 John Levon <levon@movementarian.org>
8837 * BufferView.C: add getEncoding()
8840 * kbsequence.C: do not store last keypress
8843 * lyxfunc.C: store last keypress here instead. Pass encoding
8846 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8848 * lyx_main.C (init): remove annoying error message when following
8849 symbolic links (bug #780)
8851 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8853 * text.C (insertChar):
8854 * lyxrc.C (getDescription): remove extra spaces
8856 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8858 * lyxrc.C (getDescription): remove extra spaces
8860 2002-12-20 John Levon <levon@movementarian.org>
8862 * text3.C: hack fix for page up/down across tall rows
8864 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8866 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8869 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8872 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8873 thesaurus is not compiled in
8875 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8877 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8879 2002-12-16 Angus Leeming <leeming@lyx.org>
8882 * lyx_main.C (init): remove override_x_deadkeys stuff.
8884 2002-12-12 John Levon <levon@movementarian.org>
8886 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8887 insert. Only remove shift modifier under strict
8890 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8892 * MenuBackend.C (expandToc): fix crash.
8894 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8896 * MenuBackend.C (expandToc): gettext on float names.
8898 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8900 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8901 implement bool empty() [bug 490]
8903 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8905 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8907 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8909 * several files: ws changes
8911 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8913 * text2.C (setCounter): clean up a bit, use boost.format.
8914 (updateCounters): initialize par upon declaration.
8916 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8917 if the layout exists. We do not just store the layout any more.
8918 (SwitchLayoutsBetweenClasses): use boost.format
8920 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * converter.C (convert): if from and to files are the same, use a
8923 temporary files as intermediary
8925 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8928 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8930 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8932 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8934 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8936 * tabular.C (asciiPrintCell): use string(size, char) instead of
8939 * sgml.C (openTag): fix order of arguments to string constructor
8942 * lyxfunc.C (dispatch): use boost.format
8944 * lots of files: change "c" -> 'c'
8946 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8948 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8950 2002-11-25 Angus Leeming <leeming@lyx.org>
8952 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8954 * lyx_main.C (init): compile fix.
8956 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8958 * lyx_cb.C (start): boost.formatify
8959 do not include <iostream>
8961 * lengthcommon.C: ws only
8963 * boost-inst.C,BoostFormat.h: add more explict instantations
8965 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8967 * lots of files: handle USE_BOOST_FORMAT
8969 2002-11-21 John Levon <levon@movementarian.org>
8971 * pspell.C: fix compile
8973 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8975 * lyxfunc.C (dispatch): use boost::format
8979 * lyxfont.C (stateText): use boost::format
8981 * lyx_main.C (LyX): use boost::format
8983 (queryUserLyXDir): ditto
8986 (typedef boost::function): use the recommened syntax.
8988 * importer.C (Import): use boost::format
8990 * debug.C (showLevel): use boost::format
8992 * converter.C (view): use boost::format
8997 * bufferview_funcs.C (currentState): use boost::format
8999 * bufferlist.C (emergencyWrite): use boost::format
9001 * buffer.C (readLyXformat2): use boost::format
9002 (parseSingleLyXformat2Token): ditto
9004 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9006 * LaTeX.C (run): use boost::format
9008 * Chktex.C (scanLogFile): use boost::format
9010 * BufferView_pimpl.C (savePosition): use boost::format
9011 (restorePosition): ditto
9012 (MenuInsertLyXFile): ditto
9014 * BoostFormat.h: help file for explicit instation.
9016 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9018 * tabular.C (latex): Support for block alignment in fixed width
9021 2002-11-17 John Levon <levon@movementarian.org>
9023 * BufferView_pimpl.C:
9025 * lyxfunc.C: split filedialog into open/save
9027 2002-11-08 Juergen Vigna <jug@sad.it>
9029 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9030 by my last patch (hopefully).
9032 2002-11-08 John Levon <levon@movementarian.org>
9041 * toc.C: ParConstIterator, and use it (from Lars)
9043 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9045 * lyxtextclass.[Ch]: revise and add doxygen comments
9047 2002-11-07 John Levon <levon@movementarian.org>
9049 * text.C: fix progress value for spellchecker
9051 * toc.C: fix navigate menu for insetwrap inside minipage
9053 * paragraph_funcs.C: added FIXME for suspect code
9055 2002-11-07 John Levon <levon@movementarian.org>
9057 * BufferView_pimpl.C: fix redrawing of insets
9060 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9062 * text2.C (updateCounters): fix bug 668
9064 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9066 * text3.C (dispatch): Do not make the buffer dirty when moving the
9069 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9071 * vc-backend.C: STRCONV
9074 * text2.C (setCounter): STRCONV
9076 * paragraph.C (asString): STRCONV
9078 * lyxlength.C (asString): STRCONV
9079 (asLatexString): ditto
9081 * lyxgluelength.C (asString): STRCONV
9082 (asLatexString): ditto
9084 * lyxfunc.C (dispatch): STRCONV
9087 * lyxfont.C (stateText): STRCONV
9089 * importer.C (Import): STRCONV
9091 * counters.C (labelItem): STRCONV
9092 (numberLabel): ditto
9093 (numberLabel): remove unused ostringstream o
9098 * bufferview_funcs.C (currentState): STRCONV
9100 * buffer.C (readFile): STRCONV
9101 (asciiParagraph): ditto
9102 (makeLaTeXFile): ditto
9104 * Spacing.C (writeEnvirBegin): STRCONV
9106 * LaTeXFeatures.C (getLanguages): STRCONV
9107 (getPackages): ditto
9109 (getBabelOptions): ditto
9110 (getTClassPreamble): ditto
9111 (getLyXSGMLEntities): ditto
9112 (getIncludedFiles): ditto
9116 (scanAuxFile): ditto
9119 * LString.h: add the STRCONV macros
9121 * BufferView_pimpl.C (savePosition): STRCONV
9122 (restorePosition): ditto
9123 (MenuInsertLyXFile): ditto
9125 * vc-backend.C (scanMaster): change from submatch[...] to
9128 * funcrequest.C: include config.h
9130 * factory.C: include config.h
9132 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9134 * box.C: include config.h
9136 * LaTeX.C (scanAuxFile): change from submatch[...] to
9140 2002-10-25 Angus Leeming <leeming@lyx.org>
9142 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9144 * ispell.[Ch] (setError): new method.
9145 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9146 Use setError() insetead of goto END.
9148 * lyx_cb.C (AutoSave): move out child process into new class
9151 2002-10-30 John Levon <levon@movementarian.org>
9153 * text3.C: make start appendix undoable
9155 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9157 * lyxlength.C (inPixels): Fix returned value.
9159 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9162 2002-10-24 Angus Leeming <leeming@lyx.org>
9164 * lyxgluelength.h: no need to forward declare BufferParams
9165 or BufferView, so don't.
9167 2002-10-21 John Levon <levon@movementarian.org>
9169 * BufferView.C: menuUndo ->undo, redo
9171 * BufferView.h: document, remove dead, make some methods private
9173 * paragraph_funcs.h:
9174 * paragraph_funcs.C:
9175 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9180 * sgml.C: move sgml open/close tag into sgml.C
9182 * bufferview_funcs.h: unused prototype
9185 * lyxfunc.C: remove unused
9188 * text.C: remove unused
9190 2002-10-21 John Levon <levon@movementarian.org>
9194 * BufferView_pimpl.h:
9195 * BufferView_pimpl.C: fix mouse wheel handling based on
9196 patch from Darren Freeman
9198 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9200 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9202 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9204 * lyxlength.C (inPixels): Fix hanfling of negative length.
9205 Fix LyXLength::MU case.
9207 2002-10-16 John Levon <levon@movementarian.org>
9209 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9211 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * converter.C (view): add support for $$i (file name) and $$p
9214 (file path) for the viewer command. If $$i is not specified, then
9215 it is appended to the command (for compatibility with old syntax)
9217 2002-10-14 Juergen Vigna <jug@sad.it>
9219 * undo_funcs.C (textHandleUndo): alter the order in which the
9220 new undopar is added to the LyXText, as we have to set first
9221 the right prev/next and then add it as otherwise the rebuild of
9222 LyXText is not correct. Also reset the cursor to the right paragraph,
9223 with this IMO we could remove the hack in "redoParagraphs()".
9225 2002-10-09 Angus Leeming <leeming@lyx.org>
9227 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9228 to turn off an optimisation if a new inset is to be inserted.
9230 2002-10-11 André Pönitz <poenitz@gmx.net>
9232 * lyxtext.h: make some functions public to allow access
9233 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9235 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * text3.C (dispatch): when changing layout, avoid an infinite loop
9240 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9242 * lyxrc.C (read): treat a viewer or converter command of "none" as
9245 * MenuBackend.C (expandFormats): for an update, also allow the
9246 formats that are not viewable
9248 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9249 script if it is newer than the lyxrc.defaults in user directory
9251 2002-10-07 André Pönitz <poenitz@gmx.net>
9253 * text.C: Vitaly Lipatov's small i18n fix
9255 2002-09-25 Angus Leeming <leeming@lyx.org>
9257 * ispell.h: doxygen fix.
9259 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9261 * buffer.h (readFile): Add a new argument to the method, to allow
9262 reading of old-format templates.
9264 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9266 * toc.C (getTocList): Get TOC from InsetWrap.
9268 2002-09-16 John Levon <levon@movementarian.org>
9270 * lyxfunc.C: check tabular for cut/copy too
9272 2002-09-12 John Levon <levon@movementarian.org>
9277 * factory.C: add header
9279 * paragraph_funcs.h:
9280 * paragraph_funcs.C: cleanup
9282 2002-09-11 John Levon <levon@movementarian.org>
9284 * PrinterParams.h: odd/even default to true
9286 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9288 * PrinterParams.h: update printer parameters for new xforms dialog
9290 2002-09-11 Angus Leeming <leeming@lyx.org>
9292 * lyxserver.C (read_ready): re-write to make it more transparent
9293 and to make it work in coherent fashion under Tru64 Unix.
9295 2002-09-11 André Pönitz <poenitz@gmx.net>
9299 * text3.C: implement LFUN_WORDSEL
9301 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9303 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9304 make floatlist_ a boost::shared_ptr<FloatList>
9306 * lyxtextclass.C: include FloatList.h
9307 (LyXTextClass): initialize floatlist_
9308 (TextClassTags): add TC_NOFLOAT
9309 (Read): match "nofloat" to TC_NOFLOAT and use it.
9310 (readFloat): modify call to floatlist_
9314 * FloatList.[Ch] (FloatList): remove commented out float
9316 (erase): new function
9318 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9320 * MenuBackend.C (expandToc): fix crash when there is no document
9323 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9325 * many files: Add insetwrap.
9327 2002-09-09 John Levon <levon@movementarian.org>
9329 * text2.C: remove confusing and awkward depth wraparound
9331 2002-09-09 John Levon <levon@movementarian.org>
9333 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9336 * buffer.C: remove getIncludeonlyList()
9339 * lyxfunc.C: remove headers
9341 2002-09-09 Juergen Vigna <jug@sad.it>
9343 * text.C (getColumnNearX): fix form Michael this is most
9344 probably a cut&paste bug.
9346 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9348 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9350 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9351 references, ws changes.
9353 * text2.C (init): update counters after init
9354 (insertParagraph): no need to set counter on idividual paragraphs.
9355 (setCounter): access the counters object in the textclass object
9356 on in the buffer object.
9357 (updateCounters): ditto
9359 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9360 shared_ptr<Counters> to avoid loading counters.h in all
9362 (LyXTextClass): initialize ctrs_
9363 (TextClassTags): add TC_COUNTER, and ...
9364 (Read): use it here.
9365 (CounterTags): new tags
9366 (readCounter): new function
9367 (counters): new funtion
9368 (defaultLayoutName): return a const reference
9370 * counters.C (Counters): remove contructor
9371 (newCounter): remove a couple of unneeded statements.
9372 (newCounter): simplify a bit.
9373 (numberLabel): some small formatting changes.
9375 * buffer.[Ch]: remove all traces of counters, move the Counters
9376 object to the LyXTextClass.
9378 2002-09-06 Alain Castera <castera@in2p3.fr>
9380 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9381 package to set the horizontal alignment on fixed width columns.
9384 * lyx_sty.h: added tabularnewline macro def.
9386 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9388 2002-09-06 John Levon <levon@movementarian.org>
9390 * LyXAction.C: tooltips for sub/superscript
9392 * MenuBackend.C: a bit more verbose
9394 * lyxfunc.C: tiny clean
9396 * undo_funcs.C: document undo_frozen
9398 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9400 * counters.C (Counters): add missing algorithm counter.
9402 * text2.C (setCounter): lookup the counter with layouts latexname
9403 instead of by section number.
9404 (setCounter): use a hackish way to lookup the correct enum
9406 a float name->type change
9407 reset enum couners with counter name directly instead of depth value.
9409 * counters.C (Counters): remove the push_backs, change to use the
9410 float type not the float name.
9411 (labelItem): remove unused string, float name->type change
9413 * counters.h: don't include vector, loose the enums and sects vectors
9415 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9417 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9418 (Read): add float->TC_FLOAT to textclassTags
9419 (Read): and handle it in the switch
9420 (readFloat): new function
9422 * FloatList.C (FloatList): comment out the hardcoded float
9425 * lyxlayout.h: ws change.
9427 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9429 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9431 2002-09-03 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.h: qualified name is not allowed in member
9434 declaration: WorkArea & Pimpl::workarea() const;
9436 * factory.C: added using std::endl directive.
9438 * text3.C: added using std::find and std::vector directives.
9440 2002-08-29 André Pönitz <poenitz@gmx.net>
9443 * text2.C: remove unused member number_of_rows
9446 * BufferView2.C: remove file, move contents to...
9447 * BufferView.C: ... here
9449 * BufferView_pimpl.C:
9450 * factory.C: move more inset creation to factory
9452 * vspace.C: avoid direct usage of LyXText, ws changes
9455 don't provide direct access to WorkArea, use two simple
9456 acessors haveSelction() and workHeight() instead
9459 2002-08-29 John Levon <levon@movementarian.org>
9461 * BufferView_pimpl.C (dispatch): do not continue when
9464 2002-08-28 André Pönitz <poenitz@gmx.net>
9466 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9469 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9471 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9473 * buffer.C: increment LYX_FORMAT to 221
9475 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9476 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9478 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9480 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9482 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9484 * factory.C (createInset): use LyXTextClass::floats
9486 * MenuBackend.C (expandFloatListInsert):
9487 (expandFloatInsert):
9490 * text2.C (setCounter):
9492 * LaTeXFeatures.C (useFloat):
9493 (getFloatDefinitions):
9495 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9497 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9498 floatlist_, with accessor floats().
9500 * FloatList.h: remove global FloatList
9502 2002-08-26 André Pönitz <poenitz@gmx.net>
9504 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9508 * BufferView_pimpl.C:
9509 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9511 2002-08-25 John Levon <levon@movementarian.org>
9513 * LyXAction.C: fix margin note description
9515 2002-08-24 John Levon <levon@movementarian.org>
9519 * bufferview_funcs.C:
9521 * undo_funcs.C: cleanups
9523 * lyxfunc.C: disable CUT/COPY when no selection
9525 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9527 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9528 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9530 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9531 Add backward compatibility to "mono", "gray" and "no".
9533 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9535 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9536 (and file_format >= 200).
9538 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9540 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9542 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9544 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9546 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9548 * BufferView_pimpl.C:
9555 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9556 inset and code to make it work with the paragraph code. The inset
9557 can be anywhere in the paragraph, but will only do the expected
9558 thing in LaTeX if the layout file contains the parameter line
9560 (or more generally, a nonzero value) for that layout.
9562 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9564 * paragraph.h: remove the declaration of undefined counters class
9567 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9569 * text2.C (setCounter): fixed enumeration mis-count as reported by
9570 Dr. Richard Hawkins.
9572 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * paragraph_funcs.h: remove some unneeded includes
9576 * text.C (backspace): pasteParagraph now in global scipe
9578 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9579 (pasteSelection): ditto
9581 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9582 * paragraph_funcs.C (pasteParagraph): ... here
9584 2002-08-20 André Pönitz <poenitz@gmx.net>
9586 * commandtags.h: new LFUNs for swapping/copying table row/colums
9589 * lyxfunc.C: support for new lfuns
9591 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9594 * buffer.[Ch]: remove NO_COMPABILITY stuff
9596 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9598 * boost.C (throw_exception): new file, with helper function for
9599 boost compiled without exceptions.
9604 * ParameterStruct.h:
9605 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9607 * bufferlist.C (emergencyWriteAll): use boost bind
9609 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9611 * text.C: include paragraph_funcs.h
9612 (breakParagraph): breakParagraph is now in global scope
9614 * paragraph_funcs.[Ch]: new files
9616 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9619 * buffer.C: include paragraph_funcs.h
9620 (insertStringAsLines): breakParagraph is now in global scope
9622 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9625 * CutAndPaste.C: include paragraph_funcs.h
9626 (cutSelection): breakParagraphConservative is now in global scope
9627 (pasteSelection): ditto
9629 * buffer.h: declare oprator== and operator!= for
9630 Buffer::inset_iterator
9632 * bufferlist.C (emergencyWrite): don't use fmt(...)
9634 * text3.C: add using std::endl
9636 * BufferView.C (moveCursorUpdate): remove default arg
9638 2002-08-20 André Pönitz <poenitz@gmx.net>
9640 * buffer.[Ch]: move inline functions to .C
9643 * BufferView_pimpl.C:
9645 * buffer.[Ch]: use improved inset_iterator
9648 * paragraph.[Ch]: write one paragraph at a time
9650 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9652 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9653 style if style is not specified.
9655 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9657 * text2.C (setCounter): when searching for right label for a
9658 caption, make sure to recurse to parent insets (so that a caption
9659 in a minipage in a figure float works) (bug #568)
9661 2002-08-20 André Pönitz <poenitz@gmx.net>
9663 * text3.C: new file for LyXText::dispatch() and helpers
9665 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9667 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9669 2002-08-19 André Pönitz <poenitz@gmx.net>
9672 * text.C: new LyXText::dispatch()
9674 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9676 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9678 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9680 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9683 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9685 * Makefile.am: use $(variables) instead of @substitutions@
9687 2002-08-15 André Pönitz <poenitz@gmx.net>
9690 * BufferView_pimpl.C: streamlining mathed <-> outer world
9694 * LyXAction.C: remove unused LFUN_MATH
9696 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9698 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9700 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9702 * paragraph.C (Paragraph): reformat a bit
9703 (cutIntoMinibuffer): use builtin InsetList function instad of
9707 * buffer.C: include boost/bind.hpp, add using std::for_each
9708 (writeFileAscii): use ParagraphList iterators
9709 (validate): use for_each for validate traversal of paragraphs
9710 (getBibkeyList): use ParagraphList iterators
9711 (resizeInsets): use for_each to resizeInsetsLyXText for all
9713 (getParFromID): use ParagraphList iterators
9715 * BufferView2.C (lockInset): use paragraph list and iterators
9717 2002-08-14 John Levon <levon@movementarian.org>
9719 * lyxserver.C: remove spurious xforms include
9721 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9723 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9725 2002-08-13 André Pönitz <poenitz@gmx.net>
9728 * lyxfunc.C: further cleaning
9730 2002-08-13 André Pönitz <poenitz@gmx.net>
9732 * funcrequest.h: new constructor
9734 * funcrequest.C: move stuff here from .h
9737 * BufferView_pimpl.C:
9740 * lyxfunc.C: subsequent changes
9742 * lyxfunc.h: new view() member function
9744 * lyxfunc.C: subsequent changes
9746 2002-08-13 Angus Leeming <leeming@lyx.org>
9749 * BufferView_pimpl.C:
9757 changes due to the changed LyXView interface that now returns references
9758 to member variables not pointers.
9760 2002-08-13 Angus Leeming <leeming@lyx.org>
9762 * WordLangTuple (word, lang_code): return references to strings,
9767 * lyxtext.h: forward-declare WordLangTuple.
9772 * text.C: #include "WordLangTuple.h".
9775 * text.C: (selectNextWordToSpellcheck): constify return type.
9777 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9783 * paragraph_pimpl.h:
9786 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9788 Made updateCounter always count from start of buffer, and removed
9789 second argument (par).
9790 Reverted floats number display to '#'. Perhaps I'll try again when the
9791 code base is sanitized a bit.
9793 2002-08-12 Angus Leeming <leeming@lyx.org>
9795 * buffer.[Ch] (getLabelList): constify.
9797 2002-08-07 André Pönitz <poenitz@gmx.net>
9799 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9801 * funcrequest.h: extension to keep mouse (x,y) position
9803 2002-08-12 Juergen Vigna <jug@sad.it>
9805 * BufferView2.C (insertErrors): forbid undo when inserting error
9808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9810 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9812 * ParagraphList.[Ch]: new files
9814 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9816 * BufferView2.C (lockInset): ParagraphList changes
9819 * bufferlist.C: ditto
9823 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9825 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9826 unused class variable counter_,
9828 * paragraph.[Ch] (getFirstCounter): delete unused function
9830 * counters.C: include LAssert.h
9831 (reset): add a new function with no arg, change other version to
9832 not have def. arg and to not allow empty arg.
9834 * text2.C (setCounter): remove empty arg from call to Counters::reset
9836 2002-08-11 John Levon <levon@movementarian.org>
9838 * Makefile.am: add WordLangTuple.h
9840 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9842 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9843 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9845 * insets/insettext.C: InsetList changes
9847 * graphics/GraphicsSupport.C (operator()): InsetList changes
9849 * toc.C (getTocList): InsetList changes
9851 * paragraph_pimpl.[Ch]: InsetList changes
9853 * paragraph.[Ch]: InsetList changes
9855 * buffer.C (inset_iterator): InsetList changes
9856 (setParagraph): ditto
9857 * buffer.h (inset_iterator): ditto
9858 * iterators.C (operator++): ditto
9859 * iterators.h: ditto
9861 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9863 * InsetList.[Ch]: new files, most InsetList handling moved out of
9866 * BufferView2.C (removeAutoInsets): InsetList changes
9868 (ChangeInsets): ditto
9870 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9872 * paragraph_pimpl.h (empty): new function
9874 * paragraph.[Ch] (empty): new function
9876 * other files: use the new Paragraph::empty function
9878 2002-08-09 John Levon <levon@movementarian.org>
9880 * lyxtext.h: remove unused refresh_height
9882 2002-08-09 John Levon <levon@movementarian.org>
9889 * paragraph.C: move sgml char escaping out of paragraph
9892 * paragraph.C: remove id setter
9896 * paragraph_pimpl.C: remove dead tex_code_break_column
9898 * bufferview_funcs.C: small cleanup
9900 * lyxfunc.C: remove dead proto
9902 * lyxtext.h: make some stuff private. Remove some dead stuff.
9904 * lyxgluelength.C: make as[LyX]String() readable
9906 2002-08-08 John Levon <levon@movementarian.org>
9911 * ToolbarDefaults.C:
9914 * toc.C: lyxaction cleanup
9916 2002-08-08 John Levon <levon@movementarian.org>
9918 * BufferView2.C: small cleanup
9921 * lyxfind.C: move unnecessary header into the .C
9923 2002-08-08 John Levon <levon@movementarian.org>
9925 * funcrequest.h: just tedious nonsense
9928 * lyx_main.C: cleanups
9931 * vspace.C: remove dead header lyx_main.h
9933 2002-08-07 Angus Leeming <leeming@lyx.org>
9936 * paragraph_pimpl.h:
9937 Forward declare class Counters in paragraph.h by moving the ctrs member
9938 variable into Paragraph::Pimpl.
9939 (counters): new method, returning a reference to pimpl_->ctrs.
9941 * text2.C: ensuing changes.
9943 2002-08-07 John Levon <levon@movementarian.org>
9945 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9947 * BufferView_pimpl.C: announce X selection on double/triple
9950 * lyx_main.C: use correct bool in batch dispatch
9952 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9954 2002-08-07 André Pönitz <poenitz@gmx.net>
9956 * funcrequest.h: new class to wrap a kb_action and its argument
9959 * BufferView_pimpl[Ch]:
9963 * lyxrc.C: subsequent changes
9966 2002-08-07 John Levon <levon@movementarian.org>
9968 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9969 document options change.
9971 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9976 * makefile.am: move counters functionality over from
9977 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9979 2002-08-06 John Levon <levon@movementarian.org>
9981 * WordLangTuple.h: new file for word + language code tuple
9992 * BufferView2.C: use WordLangTuple
9995 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9997 2002-08-06 John Levon <levon@movementarian.org>
9999 * lyx_main.C: fix cmdline batch handling
10001 2002-08-06 André Pönitz <poenitz@gmx.net>
10003 * lyxrc.C: set default for show_banner to true
10005 2002-08-06 John Levon <levon@movementarian.org>
10007 * pspell.C: fix a crash, and allow new aspell to work
10009 2002-08-06 John Levon <levon@movementarian.org>
10012 * kbmap.C: small cleanup
10015 * vspace.C: add const
10017 2002-08-05 John Levon <levon@movementarian.org>
10019 * LyXAction.C: back to tabular-insert
10021 2002-08-04 John Levon <levon@movementarian.org>
10024 * BufferView.C: cosmetic change
10026 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10036 * BufferView2.C: purge all "Lyx" not "LyX" strings
10039 * lyxcursor.C: attempt to add some documentation
10044 * ToolbarDefaults.C:
10045 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10046 merge with LFUN_TABULAR_INSERT
10053 * pspell.C: split up i/pspell implementations into separate
10054 files, many cleanups
10056 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10058 * text2.C: some cleanup
10060 * lyxfunc.C: don't check for isp_command == "none" any more, it
10061 didn't make any sense
10063 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10068 * makefile.am: move counters functionality over
10069 from text2.C/paragraph.[Ch] to counters.[Ch], and
10071 2002-08-02 John Levon <levon@movementarian.org>
10073 * buffer.C: s/lyxconvert/lyx2lyx/
10075 2002-08-02 Angus Leeming <leeming@lyx.org>
10077 * lyxlex.C: revert John's change as it breaks reading of the user
10080 2002-08-02 Angus Leeming <leeming@lyx.org>
10082 * importer.C (Import):
10083 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10084 changes due to LyXView::view() now returning a boost::shared_ptr.
10086 2002-08-02 John Levon <levon@movementarian.org>
10088 * lyxlex.C: small cleanup
10090 2002-08-02 John Levon <levon@movementarian.org>
10092 * text2.C (status): small cleanup, no logic change
10094 2002-08-01 John Levon <levon@movementarian.org>
10097 * buffer.C (writeFile): don't output alerts, caller
10101 * lyx_cb.C: from above
10103 * lyxfunc.C: allow to open non-existent files
10105 2002-07-31 John Levon <levon@movementarian.org>
10107 * lyxserver.C: don't let incidental errors get
10110 2002-07-30 John Levon <levon@movementarian.org>
10112 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10114 2002-07-30 John Levon <levon@movementarian.org>
10117 * lyxserver.C: remove I/O callback too
10119 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10121 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10124 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10126 * many files: strip,frontStrip -> trim,ltrim,rtrim
10128 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10130 * PrinterParams.h: remove extern containsOnly, and include
10131 support/lstrings.h instead.
10133 * LaTeX.C (scanAuxFile): modify because of strip changes
10135 * buffer.C (makeLaTeXFile): ditto
10136 * bufferparams.C (writeFile): ditt
10137 * lyxfont.C (stateText): ditto
10138 * lyxserver.C (read_ready): ditto
10139 * vc-backend.C (scanMaster): ditto
10141 * BufferView_pimpl.h: ws changes
10143 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10145 2002-07-26 André Pönitz <poenitz@gmx.net>
10147 * kb_sequence.C: remove unnedred usings
10149 2002-07-26 Juergen Vigna <jug@sad.it>
10151 * lyxfind.C (LyXReplace): we have to check better if the returned
10152 text is not of theLockingInset()->getLockingInset().
10154 2002-07-25 Juergen Vigna <jug@sad.it>
10156 * lyxfind.C (LyXReplace): don't replace if we don't get the
10159 * undo_funcs.C (createUndo): remove debugging code.
10161 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10163 * buffer.C (parseSingleLyXformat2Token): Use default placement
10164 when reading old floats.
10166 * FloatList.C (FloatList): Change the default placement of figure
10167 and tables to "tbp".
10169 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10171 * MenuBackend.C: using std::max
10173 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10175 * MenuBackend.C (expandToc):
10176 (expandToc2): code moved from xforms menu frontend. It is now
10177 generic and TOCs are transparent to menu frontends.
10179 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10181 * toc.C (getTocList): protect against buf=0
10183 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10184 Menu as first parameter. Now, this calls itself recursively to
10185 expand a whole tree (this will be useful for TOC handling)
10186 (expandFloatInsert): remove 'wide' version of floats
10188 * MenuBackend.h (submenuname): returns the name of the submenu.
10189 (submenu): returns the submenu itself, provided it has been
10190 created by MenuBackend::expand
10192 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10194 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10195 insets which have noFontChange == true. (bug #172)
10197 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10199 * BufferView_pimpl.C: add connection objects and use them...
10202 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * MenuBackend.C (expandLastfiles):
10207 (expandFloatListInsert):
10208 (expandFloatInsert):
10209 (expand): split expand in parts
10211 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10213 * lyx_gui.C: use lyx_gui::exit()
10215 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10217 * LyXAction.C: show the failing pseudo action
10219 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10221 * buffer.C (readFile): Run the lyxconvert script in order to read
10224 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10228 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10230 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10234 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10236 2002-07-22 Herbert Voss <voss@lyx.org>
10239 * lyxlength.[Ch]: add support for the vertical lengths
10241 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10243 * toc.[Ch]: std:: fixes
10245 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10247 * lyxrc.C: do not include lyx_main.h
10249 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10255 * BufferView2.C: include "lyxlex.h"
10258 * bufferparams.h: do not #include "lyxlex.h"
10260 * lyxtextclasslist.C (Add): remove method
10261 (classlist): renamed to classlist_
10263 * paragraph_pimpl.C:
10267 * bufferview_funcs.C:
10272 * toc.C (getTocList): use BufferParams::getLyXTextClass
10274 * toc.C (getTocList): use InsetFloat::addToToc
10276 * toc.[Ch]: new files, containing helper functions to handle table
10279 * lyxfunc.C (dispatch): no need to remove spaces around command
10281 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10282 first command of the sequence; it is not very clever, but I do not
10283 have a better idea, actually
10285 * LyXAction.C (LookupFunc): make sure to remove space at the
10286 beginning and end of the command
10288 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10290 * MenuBackend.C (getMenubar): new method: return the menubar of
10292 (read): treat differently reading of menu and menubar (in
10293 particular, the menubar has no name now)
10294 (Menu::menubar): remove
10296 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10299 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10301 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10302 a bibitem inset in a RTL paragraph.
10304 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10306 * paragraph_pimpl.C: constify
10308 * BufferView_pimpl.C:
10310 * lyxfunc.C: fix dispatch in a nicer way
10312 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10314 * lyxfunc.C (dispatch):
10315 * BufferView_pimpl.C:
10316 * BufferView_pimpl.h:
10318 * BufferView.h: rename Dispatch() to dispatch()
10320 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10322 * lyxlayout.C (Read): honor DependsOn tag
10324 * lyxlayout.[Ch] (depends_on): new method
10326 * version.C.in: update lyx_docversion
10328 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10330 * paragraph.C (validate): remove from here...
10331 * paragraph_pimpl.C (validate): ... and move here
10332 (isTextAt): make it const
10334 * buffer.C (getLists): ws cleanup
10336 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10338 * language.C (read): Use iso8859-1 encoding in latex_lang
10339 (this prevents LyX from crashing when using iso10646-1 encoding).
10341 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10343 * text2.C (toggleInset): if cursor is inside an inset, close the
10344 inset and leave cursor _after_ it
10346 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10348 * lyxfunc.C: move minibuffer completion handling out of here
10350 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10352 * BufferView_pimpl.C:
10353 * LaTeX.C: fix dispatch calls
10355 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10357 * text.C (drawChars): Fix Arabic text rendering.
10359 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10363 * lyxfunc.C: remove message-push/pop
10367 * lyxfunc.C: rationalise some code by removing verboseDispatch
10368 in favour of a bool argument to dispatch()
10370 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10372 * lyx_main.C (init): make sure to read symlinks as absolute paths
10374 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10377 * lyxfunc.C: no need for commandshortcut to be a member
10379 2002-07-15 André Pönitz <poenitz@gmx.net>
10381 * converter.C: add support for $$s (scripts from lib/scripts dir)
10382 * lyx_main.C: white space
10384 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10388 * lyxrc.C: remove second exit confirmation
10390 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10395 * BufferView_pimpl.h:
10396 * BufferView_pimpl.C:
10397 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10399 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10401 * MenuBackend.C (expand): add numeric shortcuts to document menu
10403 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10405 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10407 * lyxfont.C (setLyXFamily):
10414 * buffer.C (asciiParagraph): use ascii_lowercase
10416 2002-07-15 Mike Fabian <mfabian@suse.de>
10418 * lyxlex_pimpl.C (search_kw):
10419 * lyxlex.C (getLongString):
10420 * converter.h (operator<):
10421 * converter.C (operator<):
10422 * buffer.C (parseSingleLyXformat2Token):
10424 * ToolbarDefaults.C (read):
10425 * MenuBackend.C (checkShortcuts):
10427 * LColor.C (getFromGUIName):
10428 (getFromLyXName): use the compare_ascii_no_case instead of
10429 compare_no_case, because in turkish, 'i' is not the lowercase
10430 version of 'I', and thus turkish locale breaks parsing of tags.
10432 2002-07-16 Angus Leeming <leeming@lyx.org>
10434 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10435 now takes a Buffer const & argument.
10437 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10439 * BufferView.C (resize): check there's a buffer to resize
10441 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10443 * lyxfunc.C: remove dead code
10446 * lyxserver.C: use lyx_guii::set_read_callback
10448 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10450 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10451 an inset in a RTL paragraph.
10453 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10455 * lyxfunc.C: repaint after a font size update
10457 2002-07-15 André Pönitz <poenitz@gmx.net>
10459 * lyxlength.C: inBP should be able to return negative values
10461 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10463 * lyxfunc.C: use lyx_gui::update_fonts()
10465 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10467 * lyxfunc.C: use lyx_gui::update_color()
10469 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10475 * lyxrc.C: remove file->new asks for name option, and let
10476 buffer-new take an argument
10478 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10480 * BufferView_pimpl.C: remove unneeded extra repaint()
10482 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10484 * LyXAction.C: allow command-sequence with NoBuffer
10486 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10488 2002-07-10 Angus Leeming <leeming@lyx.org>
10490 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10492 2002-07-09 Angus Leeming <leeming@lyx.org>
10494 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10496 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10498 * lengthcommon.h: whitespace
10500 * lyxfunc.C: update scrollbar after goto paragraph
10502 * lyxtext.h: factor out page break drawing, and fix it so
10503 page break/added space paints as selected nicely
10505 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10507 * BufferView_pimpl.C: add FIXMEs, clean up a little
10509 2002-07-09 André Pönitz <poenitz@gmx.net>
10511 * lyxfont.[Ch]: support for wasy symbols
10513 2002-07-08 André Pönitz <poenitz@gmx.net>
10515 * BufferView_pimpl.C: apply John's patch for #93.
10517 2002-07-05 Angus Leeming <leeming@lyx.org>
10519 * BufferView_pimpl.C (buffer): generate previews if desired.
10521 * LColor.h: add "preview" to the color enum.
10523 * LColor.C (LColor): add a corresponding entry to the items array.
10525 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10528 2002-07-05 Angus Leeming <leeming@lyx.org>
10530 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10531 The body of the code is now in the method that is passed an ostream &
10532 rather than a file name.
10533 Pass an additional only_preamble parameter, useful for the forthcoming
10536 2002-07-03 André Pönitz <poenitz@gmx.net>
10538 * lyxfunc.C: simplify getStatus() a bit for math stuff
10540 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10542 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10544 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10546 * text.C (changeRegionCase): do not change case of all the
10547 document when region ends at paragraph end (bug #461)
10549 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * paragraph.C (startTeXParParams):
10552 (endTeXParParams): add \protect when necessary
10554 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10556 * BufferView_pimpl.C (workAreaExpose): remove warning
10558 2002-06-27 Angus Leeming <leeming@lyx.org>
10560 * Makefile.am: add lyxlayout_ptr_fwd.h.
10562 2002-06-26 André Pönitz <poenitz@gmx.net>
10564 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10566 2002-06-25 Angus Leeming <leeming@lyx.org>
10568 * lyxfunc.C (dispatch): Comment out the call to
10569 grfx::GCache::changeDisplay. The method no longer exists now that the
10570 pixmap generation part of the graphics loader has been moved into
10573 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10575 * text2.C: layout as layout
10577 * text.C: layout as layout
10579 * tabular.C (OldFormatRead): layout as layout
10581 * paragraph_pimpl.C (TeXDeeper): layout as layout
10582 (realizeFont): layout as layout
10584 * paragraph.C (writeFile): layout as layout
10585 (validate): layout as layout
10586 (getFont): layout as layout
10587 (getLabelFont): layout as layout
10588 (getLayoutFont): layout as layout
10589 (breakParagraph): layout as layout
10590 (stripLeadingSpaces): layout as layout
10591 (getEndLabel): layout as layout
10592 (getMaxDepthAfter): layout as layout
10593 (applyLayout): layout as layout
10594 (TeXOnePar): layout as layout
10595 (simpleTeXOnePar): layout as layout
10596 (TeXEnvironment): layout as layout
10597 (layout): layout as layout
10598 (layout): layout as layout
10600 * lyxtextclass.C (compare_name): new functor to work with
10601 shared_ptr, layout as layout
10602 (Read): layout as layout
10603 (hasLayout): layout as layout
10604 (operator): layout as layout
10605 (delete_layout): layout as layout
10606 (defaultLayout): layout as layout
10608 * lyxlayout_ptr_fwd.h: new file
10610 * lyxlayout.C (Read): layout as layout
10612 * lyx_cb.C (MenuInsertLabel): layout as layout
10614 * bufferlist.C (newFile): layout as layout
10616 * buffer.C (readLyXformat2): layout as layout
10617 (parseSingleLyXformat2Token): layout as layout
10618 (insertStringAsLines): layout as layout
10619 (asciiParagraph): layout as layout
10620 (latexParagraphs): layout as layout
10621 (makeLinuxDocFile): layout as layout
10622 (simpleLinuxDocOnePar): layout as layout
10623 (makeDocBookFile): layout as layout
10624 (simpleDocBookOnePar): layout as layout
10625 (getLists): layout as layout
10627 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10629 * CutAndPaste.C (cutSelection): layout as layout
10630 (pasteSelection): layout as layout
10631 (SwitchLayoutsBetweenClasses): layout as layout
10633 * BufferView_pimpl.C (Dispatch): layout as layout
10634 (smartQuote): layout as layout
10636 * BufferView2.C (unlockInset): layout as layout
10638 2002-06-24 André Pönitz <poenitz@gmx.net>
10640 * lyxfunc.C: fix #487
10642 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10646 * lyxfunc.C: remove display_shortcuts, show_banner
10648 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10650 * Buffer_pimpl.C: oops, update on resize
10652 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10659 * BufferView.C: use repaint()
10661 * BufferView_pimpl.h:
10662 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10663 as it's a clearer description. Remove superfluous
10666 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10668 * text.C: fix bug 488. Not ideal, but getting
10669 getWord() to work properly for the insets that
10670 matter is more difficult ...
10672 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10674 * BufferView_pimpl.C:
10677 * lyxfunc.C: remove the six million index lyxfuncs to just
10678 one, and DTRT (bug 458)
10680 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10684 * BufferView_pimpl.h:
10685 * BufferView_pimpl.C: clean up resize() stuff,
10686 and unnecessary updateScreen()s
10688 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10692 * BufferView_pimpl.h:
10693 * BufferView_pimpl.C:
10696 * minibuffer.C: remove focus management of workarea,
10697 not needed. Use screen's greyOut()
10699 2002-06-17 Herbert Voss <voss@lyx.org>
10701 * converter.C: (convert) do not post a message, when converting
10702 fails, let the calling function decide what to do in this case
10704 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10706 * lyxfunc.C: tidy up a little
10708 2002-06-16 <alstrup@diku.dk>
10710 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10711 Got rid of FORMS_H_LOCATION include. Now we are
10714 2002-06-15 LyX Development team <lyx@rilke>
10716 * buffer.[Ch] (sgmlOpenTag):
10717 (sgmlCloseTag): Added support for avoiding pernicious mixed
10718 content. Return number of lines written.
10720 (makeLinuxDocFile):
10721 (makeDocBookFile): Fixed calls to sgml*Tag.
10722 Simple white space clean.
10724 (simpleDocBookOnePar): Simple white space clean.
10726 * tabular.[Ch] (docBook): Renamed to docbook and got another
10727 argument to related with the pernicious mixed content.
10729 (docbookRow): Fixed calls for docbook inset method.
10731 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10733 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10734 so it's X11 independent.
10738 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10740 2002-06-15 Lyx Development team <lyx@electronia>
10742 * intl.h: Renamed getTrans to getTransManager.
10744 2002-06-14 Angus Leeming <leeming@lyx.org>
10746 * Makefile.am: nuke forgotten stl_string_fwd.h.
10748 2002-06-12 Angus Leeming <leeming@lyx.org>
10750 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10752 2002-06-13 Angus Leeming <leeming@lyx.org>
10755 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10757 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10759 * kbmap.C (getiso): add support for cyrillic and greek
10761 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10765 * BufferView_pimpl.h:
10766 * BufferView_pimpl.C: move bogus scrolling logic
10769 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C: view->resize() change
10774 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10776 * BufferView_pimpl.C: topCursorVisible
10779 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10783 * lyx_gui.C: move to frontends/
10787 * lyx_main.C: changes from above
10789 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10796 * lyx_main.C: minor tidy
10798 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10800 * BufferView_pimpl.h:
10801 * BufferView_pimpl.C:
10803 * BufferView.C: make painter() const,
10806 * BufferView2.C: use screen() accessor
10809 * lyx_main.C: some minor cleanup
10811 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10813 * BufferView_pimpl.h:
10814 * BufferView_pimpl.C: remove enter/leaveView,
10817 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10822 * BufferView_pimpl.h:
10823 * BufferView_pimpl.C: only construct screen once,
10826 * lyxrc.C: remove pointless comment
10828 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10831 * BufferView.C: remove active() and belowMouse()
10833 * BufferView_pimpl.h:
10834 * BufferView_pimpl.C: use workarea() not workarea_,
10835 and make it use a scoped_ptr instead
10837 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10839 * lyx_gui.C: add debug message on BadWindow
10841 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * sp_spell.C: fdopen is not part of the C++ standard.
10845 * paragraph.C (InsetIterator): use >= instead of ==
10847 2002-06-07 Angus Leeming <leeming@lyx.org>
10849 Fixes needed to compile with Compaq cxx 6.5.
10850 * BufferView_pimpl.C:
10857 * lyxtextclasslist.C:
10862 all c-library variables have been moved into namespace std. Wrap
10863 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10868 Add a using std::abs declaration.
10870 * kbmap.h (modifier_pair):
10871 * paragraph.h (InsetTable, InsetList):
10872 * lyxfont.h (FontBits):
10873 type definition made public.
10875 * bufferlist.C (emergencyWriteAll): the compiler complains that
10876 there is more than one possible lyx::class_fun template to choose from.
10877 I re-named the void specialisation as lyx::void_class_fun.
10879 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10881 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10882 the compiler is is unable to find tostr in write_attribute.
10884 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10886 * buffer.C (sgmlError): hide #warning
10888 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10890 * xtl/*: get rid of xtl, which is not in use anyway
10892 * LyXAction.C (init):
10893 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10894 were unimplemented xtl experimentation
10896 2002-06-04 André Pönitz <poenitz@gmx.net>
10898 * lyxfunc.C: disable array operation on simple formulae
10900 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10902 * converter.C: constify a bit
10904 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10906 * lyx_gui.C: check xforms version correctly
10908 2002-04-30 Herbert Voss <voss@lyx.org>
10910 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10913 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10915 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10916 attempt to register it with a VCS)
10918 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10920 * lyx_main.C (init): honor variables LYX_DIR_13x and
10923 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10927 * lyx_main.C: fix a crash on bad command line,
10928 and give a useful exit status on error
10930 * lyxfunc.C (doImport): allow -i lyx to work
10932 2002-03-30 André Pönitz <poenitz@gmx.net>
10934 * lyxfunc.C: mathed font changes
10936 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10951 * trans_mgr.h: srcdocs, and some minor cleanups
10953 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10956 call getFont all the time)
10958 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10960 * switch from SigC signals to boost::signals
10962 2002-05-29 André Pönitz <poenitz@gmx.net>
10964 * paragraph_pimpl.C (getChar): don't call size() too often...
10966 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10968 * paragraph_pimpl.C (insertChar): do not try to update tables when
10969 appending (pos == size())
10971 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10972 in order to reduce drastically the number of comparisons needed to
10973 parse a large document
10975 2002-05-29 André Pönitz <poenitz@gmx.net>
10981 * textclasslist.[Ch]:
10982 * sp_ispell.h: whitespace change
10984 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10987 lyxaction directly now.
10989 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10993 * lyxvc.C: remove unused headers
10995 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11002 * undo_funcs.C: some cleanups. Use shared_ptr
11003 and a template for the undo stacks.
11005 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11007 * BufferView_pimpl.h:
11008 * BufferView_pimpl.C:
11015 * text2.C: use key_state/mouse_state
11017 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11019 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11022 * chset.C: change include order
11023 (loadFile): use boost regex and get rid of LRegex and LSubstring
11025 * Makefile.am (BOOST_LIBS): new variable
11026 (lyx_LDADD): use it
11028 * LaTeX.C: change include order.
11029 (scanAuxFile): use boost regex and get rid of LRegex and
11033 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11038 * FontInfo.C: moved to frontends/xforms/
11041 * FontLoader.C: moved into frontends for GUIIzation
11046 * lyxfunc.C: changes from above
11048 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11050 * LColor.C: remove spurious X include
11052 * BufferView_pimpl.C:
11057 * text2.C: move font metrics to frontends/
11059 2002-05-24 Juergen Vigna <jug@sad.it>
11061 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11062 setting the undo_cursor.
11064 * ParagraphParameters.h: include local includes first.
11066 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11068 * BufferView_pimpl.C:
11069 * BufferView_pimpl.h:
11073 * screen.C: move WorkArea into frontends/
11079 * BufferView2.C: move LyXScreen into frontends/
11083 * lyx_gui.C: move lyxlookup into frontends/xforms/
11085 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11088 * BufferView_pimpl.C:
11098 * bufferview_funcs.C:
11111 * vc-backend.C: move LyX/XFormsView into frontends/
11113 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11125 * text2.C: move Painter to frontends/
11127 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11129 * buffer.C: comment out some some code that depend upon lyx_format
11132 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11133 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11135 * buffer.h (NO_COMPABILITY): turn off compability
11137 * ColorHandler.C: include scoped_array.hpp
11139 * font.C: Use more specific smart_ptr header.
11142 * ShareContainer.h: ditto
11143 * lyx_main.h: ditto
11145 * FontInfo.h: ditto
11146 * BufferView_pimpl.h: ditto
11147 * ColorHandler.h: ditto
11149 * kbmap.C (defkey): change call to shared_ptr::reset
11151 2002-05-21 Juergen Vigna <jug@sad.it>
11153 * buffer.C (insertErtContents): fix to insert ert asis if it is
11154 non empty. Skip it completely if it contains only whitespaces.
11156 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11158 * BufferView_pimpl.C:
11159 * BufferView2.C: clear selection on paste (bug 393)
11161 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11163 * DepTable.C: include ctime
11165 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11167 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11169 2002-05-14 Juergen Vigna <jug@sad.it>
11171 * text.C (breakParagraph): fixed function to honor the keepempty
11172 layout in the right maner and also to permit the right breaking
11173 algorithm on empty or non empyt keepempty paragraphs.
11175 * paragraph.C (breakParagraph): we have to check also if the par
11176 is really empty (!size()) for isempty otherwise we do the wrong
11179 2002-05-10 Juergen Vigna <jug@sad.it>
11181 * buffer.[Ch] : The following are only changes to the ert
11182 compatibility read reading old LaTeX layout and font stuff and
11183 convert it to ERTInsets.
11185 * buffer.h: added isErtInset().
11187 * buffer.C (struct ErtComp): add a fromlayout bool to check
11188 if we're inside a LaTeX layout.
11189 (isErtInset): new helper function.
11190 (insertErtContents): look for other ert insets before this one
11191 and insert the contents there, so that we don't have subsequent
11192 ERT insets with nothing between them. This way we create only one
11193 inset with multiple paragraphs. Also check if we don't insert only
11194 spaces ' ' as they are ignored anyway afterwards in the .tex file
11195 so if we have only spaces we will ignore this latex part in the
11197 (parseSingleLyXformat2Token \\layout): better compatibility when
11198 reading layout-latex stuff.
11199 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11201 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11202 stuff after reading the inset only get the information back from
11205 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11207 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11209 * LaTeXFeatures.C (getBabelOptions): New method.
11211 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * BufferView_pimpl.C (Dispatch): work around missing argument for
11216 2002-05-08 Juergen Vigna <jug@sad.it>
11218 * text.C (leftMargin): handle paragraph leftindent.
11220 * paragraph.C (writeFile): write the new \\leftindent tag.
11221 (validate): handle leftindent code.
11222 (TeXEnvironment): handle paragraphleftindent code again.
11224 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11226 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11227 for paragrap_extra indent code and new token \\leftindent.
11228 (latexParagraphs): handle the leftindent as environment.
11230 * ParameterStruct.h: added leftindent support.
11232 * ParagraphParameters.C (leftIndent): added support functions for
11233 the paragraph left indent.
11235 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11238 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11240 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11243 * text.C (computeBidiTables): No bidi in insetERT.
11245 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11248 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11250 * version.C.in: pre 5
11252 2002-05-02 José Matos <jamatos@fep.up.pt>
11253 * buffer.C (makeDocBookFile): white space changes, add newline to
11255 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11257 * tabular.C (docBook): fix typo.
11259 2002-05-03 Juergen Vigna <jug@sad.it>
11261 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11262 change in LyXText as we can not be sure it was not freed.
11263 (drawOneRow): remove unused code.
11265 * text.C (drawInset): redo the calculation of the need_break_row as
11266 it could have a row which was already freed.
11267 (draw): look at the return value of drawInset and return false if
11268 it also returned false.
11269 (paintRowText): look at the return value of draw and return false if
11270 it also returned false.
11272 * lyxtext.h: added bool return type to drawInset() and draw() so that
11273 if we have a change in the row so that the rowbreak has to be redone
11274 we abort drawing as it will be called again.
11276 2002-05-02 Juergen Vigna <jug@sad.it>
11278 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11279 a change in the maintext also if we're inside an inset.
11280 (Dispatch): set the cursor again after a break line and after the
11281 screen has been updated as it could be we're in a different row.
11283 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11284 to set the cursor behind the pargraph with > size().
11285 (setCursor): check also for the same paragraph when checking where
11286 to put the cursor if we have a NFR inset.
11288 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11289 parts of layout read further up as it still was in the wrong
11292 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * screen.C (drawFromTo): change sine fullRebreak always return
11297 * buffer.C (parseSingleLyXformat2Token): reindent some
11299 * BufferView_pimpl.C (update): change since fullRebreak always
11301 (Dispatch): git rid of the last hardcoded "Standard"s.
11303 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * text2.[Ch] (fullRebreak): make it return void now that we always
11308 2002-04-30 Juergen Vigna <jug@sad.it>
11310 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11311 ert compatibility check for "latex" layout.
11313 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11315 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11316 minipages: use col% instead of p%, and also use the current font.
11317 (makeLaTeXFile): Fix use babel condition.
11318 (parseSingleLyXformat2Token): Correct font when reading old floats.
11320 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11322 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11323 inserting list of floats.
11325 2002-04-25 Herbert Voss <voss@lyx.org>
11327 * MenuBackend.C (expand): don't add the graphics extensions to the
11330 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11332 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11333 non-existing layout, do not complain if it was the default layout
11334 of the original class (bug #342)
11336 2002-04-24 Juergen Vigna <jug@sad.it>
11338 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11339 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11341 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11343 * buffer.C (getBibkeyList): If using \bibliography, return the
11344 option field with the reference itself. Enables us to provide natbib
11345 support when using \bibliography.
11347 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11349 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11351 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11352 natbib is provided by the LaTeX class.
11354 2002-04-23 Juergen Vigna <jug@sad.it>
11356 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11359 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11361 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11363 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11365 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11366 ensuremath around textordmasculine, textordfeminine and
11369 2002-04-19 Juergen Vigna <jug@sad.it>
11371 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11372 reinitializing the buffer otherwise row-dimensions may be wrong.
11373 (update): reset also the selection cursors if they do exits otherwise
11374 their x/y positions may be wrong.
11376 * text2.C (cursorDown): don't enter the inset if we came from a row
11377 above and are one row over the inset.
11379 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11380 really leaving an inset.
11382 2002-04-18 Juergen Vigna <jug@sad.it>
11384 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11385 of the selected paragraph does not have the selected layout also if
11388 * text2.C (setLayout): fixed bug which did not change last selected
11391 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11392 changed the read and substituted \\end_float with \\end_inset!
11394 * BufferView_pimpl.C (cursorPrevious):
11395 (cursorNext): fixed to make it work with rows heigher than the work
11396 area without moving the cursor only the draw of the row.
11397 (workAreaMotionNotify): fix jumping over high rows.
11399 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11401 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11404 2002-04-16 Juergen Vigna <jug@sad.it>
11406 * text2.C (setCursor): set also the irow().
11407 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11409 (cursorDown): support for locking an inset if the x_fix value goes
11410 inside it. That way I can transverse insets too with cursor up/down.
11412 * lyxrow.h: added irow helper function same as other (i) functions.
11414 * BufferView_pimpl.C (cursorPrevious):
11415 (cursorNext): fixed for insets!
11417 2002-04-15 Juergen Vigna <jug@sad.it>
11419 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11420 position otherwise it is wrong in some cases.
11422 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11423 inside the inset before the call.
11425 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11427 * buffer.[Ch] (getBibkeyList): make it const.
11429 2002-04-12 Juergen Vigna <jug@sad.it>
11431 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11433 * text2.C (getCursorX): new helper function
11434 (setCursor): compute also ix_
11435 (setCursorFromCoordinates): set also ix.
11437 * lyxcursor.h: added ix_ and helper functions.
11439 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11441 * buffer.C (insertStringAsLines): dont break paragraph if the this
11442 paragraph is inside an inset which does not permit it!
11444 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11445 also with no chars on this paragraph.
11446 (paintRowText): only paint stuff if it's inside the workarea!
11448 * paragraph.C (breakParagraph): honor keepempty flag and break the
11449 paragraph always below not above.
11451 * BufferView2.C (unlockInset): update the paragraph layout on inset
11452 unlock as we changed paragraph in such a case.
11454 * lyxfind.C (LyXFind): clear the former selection if not found!
11456 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11457 again called in insertChar().
11459 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11460 an inset which uses the whole row!
11461 (rightMargin): ditto.
11462 (insertChar): force a rebreak if we inserted an inset!
11464 2002-03-28 Herbert Voss <voss@lyx.org>
11466 * lyxlength.[Ch]: add inBP() to get the right PS-point
11467 units (BigPoint). With inPixels we have rounding errors
11469 2002-04-11 Juergen Vigna <jug@sad.it>
11471 * text2.C (setCursorFromCoordinates): set iy to the right value.
11472 (setCursor): add check if row->previous exists!
11474 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11475 an old float_type as this was the case in the old code!
11477 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11479 * BufferView2.C (showLockedInsetCursor): use iy
11480 (fitLockedInsetCursor): ditto
11482 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11483 locked insets as there we have the right value now.
11485 * lyxcursor.C: added iy_ variable and iy functions to set to the
11486 baseline of cursor-y of the locked inset.
11488 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11489 (setCursor): fixed for insets which need a full row.
11491 * text.C (rowLastPrintable): don't ignore the last space when before
11492 an inset which needs a full row.
11493 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11494 as last character of a row when before a inset which needs a full row.
11496 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * version.C.in: update date
11500 * text2.C (fullRebreak): try to always return true and see what
11503 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11505 * MenuBackend.C (expand): use Floating::listName
11507 * FloatList.C (FloatList): add listName argument to the built-in
11510 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11511 text associated with the float.
11513 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11517 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * ShareContainer.h: add a couple of missing typenames.
11521 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11523 * lyxrc.C (getDescription): use _() correctly rather than N_().
11525 2002-03-28 Herbert Voss <voss@lyx.org>
11527 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11528 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11530 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11532 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11533 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11535 2002-03-29 Juergen Vigna <jug@sad.it>
11537 * lyxfunc.C (dispatch): add a missing fitCursor call.
11539 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11540 it was scrolled by a cursor move, so return the bool status.
11542 * BufferView.C (fitCursor): return the bool flag also to the outside
11543 world as this is needed.
11545 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11547 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11548 call the edit() as it is not needed (and wrong) IMO.
11549 (workAreaButtonPress): set the screen_first variable before evt.
11550 unlock the inset as this may change screen_first and then we have
11551 a wrong y position for the click!
11553 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * MenuBackend.C (expand): another translation that I missed
11557 2002-03-28 Juergen Vigna <jug@sad.it>
11559 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11561 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11563 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11565 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11567 * MenuBackend.C (expand): fix export/view/update when there is no
11570 2002-03-27 Herbert Voss <voss@lyx.org>
11572 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11575 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * bufferview_funcs.C (currentState): only show paragraph number
11578 for is DEVEL_VERSION is set.
11580 * lyxfunc.C (dispatch): put warning in INFO channel
11582 * MenuBackend.C (expand): translate the name of floats
11584 * FloatList.C (FloatList): mark the float names for translation
11586 * converter.C (convert): use LibScriptSearch
11588 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11590 * MenuBackend.C (defaults): fix default menu (we might as well get
11593 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11595 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11598 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * lyxvc.C: reorder includes.
11602 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11607 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11609 * CutAndPaste.C: change layouts earlier on paste
11610 to avoid crashing when calling getFont()
11612 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11614 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11617 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11619 * WorkArea.C: remove 'Pending' debug message.
11621 * most files: ws cleanup
11623 * buffer.[Ch]: ws changes
11625 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11627 2002-03-21 Juergen Vigna <jug@sad.it>
11629 * tabular.C (SetMultiColumn): collapse also the contents of the
11630 cells and set the last border right. Added a Buffer const * param.
11632 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11634 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11637 2002-03-19 Juergen Vigna <jug@sad.it>
11639 * text2.C (clearSelection): reset also xsel_cache.
11641 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11642 where it needs to be called (John tells us to do so too :)
11643 (selectionLost): reset sel_cache.
11645 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11647 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * text2.C (setCursorIntern): put debuging code in INSETS channel
11651 2002-03-19 André Pönitz <poenitz@gmx.net>
11653 * lyxfunc.C: tiny whitespace change
11655 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * ToolbarDefaults.C (init):
11658 * LyXAction.C (init):
11660 * BufferView_pimpl.C (Dispatch):
11661 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11663 2002-03-19 Allan Rae <rae@lyx.org>
11665 * exporter.C (Export): removeAutoInsets before doing anything else.
11666 While I've just introduced a dependency on BufferView this really is
11667 the best place to clean the buffer otherwise you need to cleanup in
11668 a dozen places before calling export or cleanup in a dozen functions
11671 * converter.C (runLaTeX):
11672 (scanLog): Better handling of removeAutoInsets and screen updates.
11674 * lyxfunc.C (dispatch): small whitespace changes
11676 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * WorkArea.C (C_WorkAreaEvent): return a value.
11679 (event_cb): return 1 if we handled the event, 0 otherwise.
11681 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11683 2002-03-18 Juergen Vigna <jug@sad.it>
11685 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11686 (GetAdditionalWidth): ditto.
11687 (RightLine): ditto.
11690 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11691 inset if we're there actually (probably not used right now but this
11692 is the direction to go for unifying code).
11693 (paste): disable code to clear the selection.
11695 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11696 inside an InsetText and move the check further up as it is in the
11699 * text2.C (pasteSelection): set a selection over the pasted text.
11701 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11703 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11704 and libgraphics to build on Cygwin.
11706 2002-03-15 Juergen Vigna <jug@sad.it>
11708 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11709 inserting an Inset into the paragraph. I know this is not the best
11710 fix but we already use current_view in CutAndPaste so we will remove
11711 all of it's using at the same time.
11713 * buffer.C (sgmlError): deactivated function till it is rewritten in
11714 the right mode, now it can create problems.
11716 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11717 before accessing it.
11719 2002-03-14 Juergen Vigna <jug@sad.it>
11721 * undo_funcs.C (textHandleUndo): do the right thing when updating
11722 the inset after the undo/redo.
11724 * text2.C (setCursor): just some testcode for #44 not ready yet.
11726 * undo_funcs.C (textHandleUndo): set the next() and previous()
11727 pointers of the paragraph to 0 before deleting otherwise we have
11728 problems with the Paragraph::[destructor].
11730 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11731 on a paragraph insertion.
11733 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * buffer.C (asciiParagraph): use += operator for char append to
11738 * paragraph.C (getFontSettings): compare >= not just >
11739 (highestFontInRange): ditto
11742 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * paragraph.C: change several algorithm to be more appripriate for
11745 the problem domain. This is lookip in FontList and in the InsetList.
11747 2002-03-13 André Pönitz <poenitz@gmx.net>
11750 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11752 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11757 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11759 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11761 * Painter.C (display): anon helper function, adjust code for this
11763 (pixmap): remove function.
11765 * Painter.h: remove private display variable.
11767 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11769 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11771 * WorkArea.[Ch]: remove figinset_canvas cruft.
11773 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11775 * lyxtextclass.C (operator): add one item cache optimization.
11777 * bufferlist.h: doxy changes
11779 * bufferlist.C: ws changes
11781 * DepTable.[Ch] (ext_exist): place const in the right spot.
11783 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11785 (workAreaExpose): call resizeInsets when the with BufferView changes.
11786 (Dispatch): adjust for protectedBlank removal
11787 (specialChar): call updateInset if the insert went ok.
11789 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11790 specialChar instead.
11792 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11794 * BufferView.h: doxy change
11796 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11798 * lyxtextclass.C (operator[]): remove non-const version
11799 (defaultLayout): remove non-const version
11801 2002-03-12 Juergen Vigna <jug@sad.it>
11803 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11804 did resize the LyXText too.
11806 * buffer.C (readLyXformat2): set layout information on newly allocated
11809 * tabular.C (OldFormatRead): set layout information on the paragraph.
11811 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11813 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11815 2002-03-11 Juergen Vigna <jug@sad.it>
11817 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11819 (resizeCurrentBuffer): force also the insets to resize themselfes.
11820 (moveCursorUpdate): fixed up for InsetText.
11822 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11825 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11826 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11827 value of Dialogs::tooltipsEnabled().
11828 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11830 2002-03-08 Juergen Vigna <jug@sad.it>
11832 * BufferView_pimpl.C (updateInset): update inset inside inset also
11833 if it isn't inside theLockingInset().
11835 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11837 * buffer.C (asciiParagraph): redo some of the word and line length
11839 (getLists): look for Caption instead of caption.
11841 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11843 * buffer.C (Buffer): initialize niceFile to true
11845 (makeLinuxDocFile):
11846 (makeDocBookFile): make sure niceFile is true on exit
11848 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11850 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11852 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11854 * LyXSendto.C: remove.
11855 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11856 * lyx_gui.C: remove now-redundant comment.
11857 * ColorHandler.h: remove forward declaration of class WorkArea.
11858 * lyxfunc.C: remove #include "WorkArea.h".
11860 2002-03-07 Juergen Vigna <jug@sad.it>
11862 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11863 got moved away with the DEPM and also set the inset_owner always
11864 right which before could have been omitted.
11866 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11868 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11869 wanted layout is not found.
11871 2002-03-07 Juergen Vigna <jug@sad.it>
11873 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11875 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11877 * paragraph.C (breakParagraph): use default layout not layout of
11879 (Paragraph): clear ParagraphParameters.
11881 2002-03-06 Juergen Vigna <jug@sad.it>
11883 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11884 otherwise it would not be a valid lenght. Fixed a special case in
11885 the minipage compatibility read where we end the document with a
11888 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11889 was set as it could be 0 for InsetTexts first entry.
11891 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11893 * paragraph.C (writeFile): if layout is empty write out
11894 defaultLayoutName().
11896 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11897 file without named layout we set layout to defaultLayoutName().
11899 2002-03-06 Juergen Vigna <jug@sad.it>
11901 * CutAndPaste.C (copySelection): set layout for new paragraph.
11903 * text.C (prepareToPrint): leave ERT inset left aligned
11904 (leftMargin): don't indent paragraphs inside ERT insets
11906 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11908 * paragraph.C (breakParagraph): dont call clear do the work manually
11910 * paragraph.[Ch] (clear): remove function
11912 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11914 * paragraph.C (Paragraph): dont call clear, the work has already
11917 * lyxtextclass.C (operator): assert if n is empty
11919 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11920 work manually instead.
11922 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11924 * BufferView_pimpl.C: protect selectionLost against text == 0
11926 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * text.C (breakParagraph): fix a setting layout to '0' problem.
11930 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11932 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11933 final location of file, for the included files, and graphics.
11935 2002-03-05 Juergen Vigna <jug@sad.it>
11937 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11939 2002-03-04 Juergen Vigna <jug@sad.it>
11941 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11943 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11944 last column of multicolumn cells.
11945 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11947 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11949 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11950 file if it doesn't go to a temporary file.
11952 * buffer.C (sgmlOpenTag):
11953 (sgmlCloseTag): remove extra newline insertion.
11955 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11957 * text.C (getRowNearY): comment out debug msg
11959 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11961 * text2.C: first -> first_y
11963 * text.C (getRowNearY): add some attemts at a possible
11964 optimization, not working.
11966 * tabular.[Ch]: add BufferParams to several function so that newly
11967 created paragraph can be initialized to he default layotu for the
11970 * tabular-old.C (ReadOld): add buf->params to call of Init
11972 * screen.C: rename text->first to text->first_y
11974 * paragraph.C (breakParagraph): always set layout in the broken
11977 * lyxtextclass.C (Read): remove lowercase
11980 (delete_layout): ditto
11982 * lyxtext.h: rename first -> first_y
11984 * lyxlayout.C (Read): remove lowercase
11987 (obsoleted_by): ditto
11989 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11991 * buffer.C (insertErtContents): add params are to InsetERT
11992 (parseSingleLyXformat2Token): add code to check if a paragraphs
11993 layout really exist.
11994 (parseSingleLyXformat2Token): add params to several inset
11996 (asciiParagraph): remove lowercase, do the layout comparisons with
11999 * BufferView_pimpl.C (cursorNext): first -> first_y
12000 (resizeCurrentBuffer): first -> first_y
12001 (updateScrollbar): first -> first_y
12002 (scrollCB): first -> first_y
12003 (workAreaMotionNotify): first -> first_y
12004 (workAreaButtonPress): first -> first_y
12005 (checkInsetHit): first -> first_y
12006 (cursorPrevious): first -> first_y
12007 (cursorNext): first -> first_y
12008 (Dispatch): add buffer_->params to severl inset contructors
12010 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * lyxlayout.C (Read): remove some debug info that I forgot.
12014 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12015 clean up the code slightly.
12016 (makeLinuxDocFile): ditto
12017 (makeDocBookFile): ditto
12019 * text2.C: layout as string
12021 * text.C: layout as string
12023 * paragraph_pimpl.C: layout as string
12025 * paragraph.[Ch]: layout as string
12027 * lyxtextclasslist.[Ch]: layout as string
12029 * lyxtextclass.[Ch]: layout as string
12031 * lyxtext.h: layout as string
12033 * lyxlayout.[Ch]: layout as string
12035 * lyx_cb.C: layout as string
12037 * bufferview_funcs.C: layout as string
12039 * bufferparams.C: layout as string
12041 * buffer.C: layout as string
12043 * LyXView.[Ch]: layout as string
12045 * LaTeXFeatures.[Ch]: layout as string
12047 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12049 * BufferView_pimpl.C: change current_layout to string, remove
12054 (workAreaButtonRelease): layout as string
12056 * BufferView2.C (unlockInset): adjust
12058 * vspace.C (asLatexCommand): use an explict temp variable.
12060 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12062 * Makefile.am: use FRONTEND_*
12064 2002-03-01 Juergen Vigna <jug@sad.it>
12066 * tabular.C (SetWidthOfMulticolCell): changed to something better
12067 I hope but still work in progress.
12068 (recalculateMulticolumnsOfColumn): renamed function from
12069 recalculateMulticolCells as it is more appropriate now.
12070 (SetWidthOfCell): calculate multicols better.
12072 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12074 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12076 * lyxfunc.C (processKeySym): print sequence also if it is
12077 `deleted' (complete)
12079 * kbsequence.C (print): print sequence even if it is deleted
12080 (complete would be a better word, actually).
12082 * lyxfunc.C (dispatch): print complete options after a prefix key
12084 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12086 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12088 * text2.C (setCharFont): eliminate setCharFont code duplication.
12090 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12092 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12093 LFUN_TABULAR_FEATURE (bug #177)
12095 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12097 * Makefile.am: remove figure.h
12099 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12101 * Bufferview_pimpl.C:
12113 * text2.C: remove #include "lyx_gui_misc.h".
12115 * LaTeX.C: added #include <cstdio>
12117 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12119 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12120 that the paragraph following this one can have.
12122 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12124 * vspace.C (asLatexCommand): fix bogus gcc warning
12126 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12128 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12130 * text2.C (setLayout): get rid of redundant code
12132 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12134 * text2.C (incDepth): make sure depth cannot be increased beyond
12137 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12139 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12140 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12142 * PainterBase.h (image):
12143 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12144 a LyXImage const *.
12146 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12150 * BufferView_pimpl.C:
12151 * BufferView_pimpl.h:
12171 * sp_spell.C: remove fig inset, and the crap house of
12172 cards that follows it
12174 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12179 * os2_errortable.h:
12180 * nt_defines.h: move .h into support/
12182 * vms_defines.h: remove
12184 * WorkArea.C: add space in debug output
12188 * buffer.C: add WITH_WARNINGS
12192 * bufferlist.C: s/retrive/retrieve/, add docs
12201 * chset.C: add docs
12203 * lyxgui.C: add ID to X error handler
12205 * lyxtestclass.c: fix typo
12207 2002-02-26 Juergen Vigna <jug@sad.it>
12209 * tabular_funcs.C (write_attribute): changed so that some default
12210 attributes are not written at all.
12211 (getTokenValue): set default values before trying to read the
12212 value so we have the return value always set as default if we don't
12213 find the token we search for.
12215 * tabular.C (Write): write bools as bools not as strings!
12217 2002-02-22 Juergen Vigna <jug@sad.it>
12219 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12220 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12222 * text.C (leftMargin): don't add an indent for paragraphs inside
12223 tabular cells (fix #208).
12225 2002-02-21 José Matos <jamatos@fep.up.pt>
12227 * tabular.C (docBook): fixed support for long tables.
12229 2002-02-20 Juergen Vigna <jug@sad.it>
12231 * text2.C (getFont): get the drawing font of the Inset if this
12232 paragraph is inside an inset (only important for InsetERT for now).
12234 * buffer.C (insertErtContents): use new lanugage params in ERT
12237 * CutAndPaste.C: commenting out seemingly uneeded code.
12239 2002-02-19 Allan Rae <rae@lyx.org>
12241 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12242 Iterators might be simple to use but they also get invalidated.
12243 (removeAutoInsets): renamed saved cursor tracking variables and added
12244 some comments to clarify what everything does.
12246 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12253 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12254 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12257 * vc-backend.h: remove #include "support/syscall.h"
12261 * converter.C: rearrange #includes in Lars' approved fashion.
12263 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12264 forward declare class Timeout in the header file.
12266 * XFormsView.C: changes due to the above.
12268 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12269 similar to LyXView.
12271 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12272 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12274 2002-02-18 José Matos <jamatos@fep.up.pt>
12276 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12279 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12281 * a lot of small ws changes
12282 * add a lot of using std::XXX
12283 * use std construcs some places where approp.
12284 * use some exisint stuff from lyxfunctional where approp.
12285 * Make file changes to use partial linking (lets test this now...)
12287 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12291 remove #include "support/syscontr.h" as it's redundant. Always has been.
12299 change Systemcalls::System to Systemcalls::Wait and
12300 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12301 No change of functionality, just reflects the stripped down Systemcalls
12304 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12306 * debug.[Ch]: add a GRAPHICS type to the enum.
12308 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12310 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12312 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12315 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12317 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12318 match the changes below.
12320 * text2.C (toggleInset): if there is not editable inset at cursor
12321 position, try to see if cursor is _inside_ a collapsable inset
12324 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12326 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12327 document menu has a nice checkbox
12329 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * lyxlength.C (asLatexString): change PW to output as percent of
12334 * lengthcommon.C: change '%' to 't%'
12336 * lyxfunc.C (dispatch): a few comments from Martin
12338 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12342 * BufferView_pimpl.h:
12343 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12346 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * vspace.C (inPixels): fix compiler warning
12350 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12352 * lyxfunc.C (getStatus): fix status message for disabled commands.
12354 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12356 * BufferView_pimpl.C: fix crash on close buffer
12357 during selection (#227)
12359 2002-01-27 Herbert Voss <voss@lyx.org>
12361 * buffer.C: link old Figure to new graphic inset
12363 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12365 * FontLoader.C (getFontinfo): Change the latex font names in order
12366 to match the names of type1inst.
12368 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12370 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12372 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12373 (extchanged): ditto
12375 (remove_files_with_extension): ditto
12376 (remove_file): ditto
12379 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12380 document is smaller than the work area height. Do not initialize
12381 static variables to 0.
12383 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12385 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12387 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12388 LFUN_LAYOUT_PARAGRAPHS.
12390 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12391 tabular. It is possible to provide a possible cell, which will
12392 typically be the actcell from the corresponding insettabular
12394 * lyxfunc.C (getStatus): small cleanup; disable
12395 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12398 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12400 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12402 * paragraph.C (startTeXParParams):
12403 (endTeXParParams): new methods. The LaTeX code to
12404 start/end paragraph formatting
12405 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12406 empty (fixes bug #200)
12408 * vspace.C (inPixels): adapt to the change below
12409 (inPixels): [later] more cleanups (remove unused variables)
12411 * lyxlength.C (inPixels): change to use a width and a height as
12414 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12416 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12417 Replaced with \paperwidth
12419 * DepTable.C (insert): add std:: qualifier
12421 2002-01-18 Allan Rae <rae@lyx.org>
12423 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12426 * text.C (drawInset): Turned out I didn't know enough about how
12427 rebreaking worked. This fixes most of the redraw problems. I see
12428 an occasional cursor trail when a line is broken now and the cursor
12429 placement can seem out by a few pixels also after a rebreak.
12431 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12433 * buffer.C (parseSingleLyXformat2Token): update because minipage
12434 width is now a LyXLength
12436 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12438 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12441 2002-01-17 Juergen Vigna <jug@sad.it>
12443 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12445 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12446 is set correctly and the inset is updated correctly.
12448 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12450 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12451 the beginning of the loop.
12453 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12455 * lyxrc.C: improve help for use_scalable_fonts
12457 2002-01-17 Allan Rae <rae@lyx.org>
12459 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12461 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12463 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12464 make sure to set their inset_owner to the right value (bug #171)
12466 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12469 * DepTable.C: Implement mtime checking to reduce time spent doing
12472 2002-01-16 Juergen Vigna <jug@sad.it>
12474 * tabular.C (GetAdditionalHeight): one of error fixed.
12476 * lyxrc.C (output): small fix in writing use_pspell.
12478 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12480 * sp_base.h: #include LString.h
12482 2002-01-16 Allan Rae <rae@lyx.org>
12484 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12485 Can someone check this please?
12487 * text.C (drawInset): It was possible that p.row would be removed by
12488 breakAgainOneRow upsetting a few other settings. There may be another
12489 small tweak possible by setting need_break_row = 0 when p.row has been
12490 removed but I don't know enough about the logic here.
12492 2002-01-15 Allan Rae <rae@lyx.org>
12494 * text.C (insertChar): removed conditional truism.
12496 * BufferView2.C (removeAutoInsets): More tweaks.
12497 cur_par_prev could be a stray pointer. Check for trailing empty line
12498 in case last line was cur_par and only had an error inset on it.
12500 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12505 * vc-backend.C (most methods):
12506 * exporter.C (Export):
12507 * converter.C (convert):
12509 * LyXSendto.C (SendtoApplyCB):
12510 * lyxfunc.C (dispatch):
12514 * lyx_cb.C (AutoSave):
12516 * BufferView_pimpl.C (MenuInsertLyXFile):
12517 * buffer.C (runChktex): use Buffer::filePath().
12519 * buffer.h: rename filename to filename_; rename filepath to
12520 filepath_ and make it private
12521 (filePath): new method
12523 * buffer.C (writeFile): use fileName()
12526 * lyx_main.C (init): fix starting of LyX when the binary is a
12527 link from so,ewhere else.
12529 * minibuffer.C: include <cctype> for isprint
12531 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12533 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12534 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12535 name clash with InsetCollapsable's width function.
12537 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12539 * lastfiles.C: include <iterator>
12541 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12543 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12546 * buffer.C (makeLaTeXFile): ditto.
12547 Also make loop operation more transparent.
12549 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12551 * ToolbarDefaults.C: remove trailing comma closing namespace.
12553 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12555 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12558 * trans.C (Load): comment out unused variable, allowed.
12560 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12562 * minibuffer.[Ch] (append_char): new method to recieve input from the
12563 drop-down completion browser. If a key was pressed, then recieve this
12564 char and append it to the existing string.
12565 (peek_event): modify the positioning data passed to the completion
12566 browser so that it can be placed above the minibuffer rather than below.
12567 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * LyXAction.C (init): alloe error-next for readonly documents.
12571 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12574 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12576 * bufferlist.C (readFile): create the buffer _after_ checking that
12579 * lyxfunc.C (verboseDispatch): fix handling of arguments
12581 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12583 * lyxrc.C: use string::erase() instead of initializing to "".
12586 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12588 * BufferView_pimpl.h:
12589 * BufferView_pimpl.C:
12592 * text2.C: tell X when we have made a selection for copying
12594 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * BufferView_pimpl.C (MenuInsertLyXFile):
12597 * lyxfunc.C (menuNew):
12599 (doImport): add shortcuts to directory buttons
12601 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12604 * lyxfunc.C (setStatusMessage):
12605 (getStatusMessage): new methods
12606 (getStatus):use setStatusMessage instead of setErrorMessage
12607 (dispatch): when function is disabled, set error message here
12608 [instead of in getStatus previously]
12610 * BufferView_pimpl.C (workAreaButtonRelease): update
12611 toolbar/menubar here too.
12613 2002-01-13 Allan Rae <rae@lyx.org>
12615 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12616 Now seems indestructible. Remaining task is to audit all other
12617 code affected by deleteEmptyParagraphMechanism. One small quirk
12618 left is that an empty document with an error in the preamble can
12619 be made to report an error but no error box appears. I don't know
12621 (removeAutoInsets): Improved comments.
12623 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12626 * Thesaurus.C: update for Aiksaurus 0.14
12628 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12630 * text2.C (firstParagraph): removed member function, all uses
12631 replaces with ownerParagraph
12632 (redoParagraphs): here
12633 (updateInset): here
12634 (toggleAppendix): here
12635 * BufferView2.C (insertErrors): here
12636 (setCursorFromRow): here
12638 2002-01-13 Allan Rae <rae@lyx.org>
12640 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12641 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12642 There is still a way to segfault this although you may have to do this
12643 multiple times: Have an InsetERT with an unknown command in it.
12644 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12645 <down-arrow>, <Enter> again, View->DVI, BANG!
12647 * text2.C (setCursor):
12648 (deleteEmptyParagraphMechanism):
12649 * lyxtext.h (setCursor):
12650 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12651 Making use of the return value may help fix other bugs.
12653 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12655 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12657 * LyXView.C (updateMenubar): call MenuBar::update here
12658 (updateToolbar): but not here
12659 (showState): do not update toolbar/menubar
12661 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12662 should need to care about that.
12664 * lyxfunc.C (verboseDispatch): simplify a bit
12665 (getStatus): have a version which takes a pseudoaction, and
12666 another which requires a (kb_action,string).
12668 * LyXAction.C (retrieveActionArg): make it work also when action
12669 is not a pseudo-action.
12670 (getActionName): simplify a bit
12673 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12675 * lyxfunc.C (verboseDispatch): new families of methods with
12676 several ways to specify a command and a bool to indicate whether
12677 the command name and shortcut should be displayed in minibuffer
12678 (eventually, we could extend that to a finer bitmask like
12679 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12680 (dispatch): the pristine dispatch command which just, well,
12681 dispatchs! Note it still sets its result to minibuffer; I'm not
12684 * lyxfunc.h: remove setHintMessage
12686 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12688 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12690 * BufferView_pimpl.C (specialChar): delete new inset if we have
12691 not been able to insert it.
12693 * kbmap.C: revert to using int instead of kb_action, since all we
12694 are dealing with is pseudo-actions.
12696 * LyXAction.C (searchActionArg): change to return int instead of
12697 kb_action, since the result is a pseudoaction.
12699 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12701 * buffer.C (insertErtContents): Fix (partially) the font bug.
12703 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12705 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12706 as the other one is broken on my machine!
12708 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12711 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12713 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12715 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12716 reflect their actual use. Provide compatibility code for older lyxrc
12719 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12721 change names of popup font variables in line with the changes to lyxrc.C
12723 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12725 * buffer.C (asciiParagraph): avoid outputing a word twice after
12728 * lyxrc.C (getDescription): document that document_path and
12729 template_path can be empty.
12731 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12733 * LaTeXFeatures.C (getMacros):
12734 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12736 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12738 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12740 (getPackages): rename feature "floats" to "float". Use an array to
12741 iterate over 'simple' features (i.e. just a \usepackage). Add
12742 handling of "amsmath" (renamed from "amsstyle").
12744 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12746 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12749 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12751 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12752 FuncStaus::FuncStatus & FuncStaus::some_method().
12754 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12756 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12757 of the func_satus stuff. Edited and massaged in various ways by
12760 * lyxfunc.C (getStatus): use FuncStatus
12762 2002-01-08 Juergen Vigna <jug@sad.it>
12764 * text.C (nextBreakPoint): use function Inset::isChar().
12766 * paragraph.C (TeXOnePar): use function
12767 Inset::forceDefaultParagraphs.
12769 * buffer.C (latexParagraphs): use function
12770 Inset::forceDefaultParagraphs.
12772 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12774 * lyx_gui.C (init): set the style of the menu popups to
12775 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12777 2002-01-07 Juergen Vigna <jug@sad.it>
12779 * text.C (setHeightOfRow): small fix
12780 (prepareToPrint): don't look at alignment if we don't have the place
12783 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12785 * box.C: New file. Move the Box methods and functions out of box.h,
12786 following Lars' suggestion.
12788 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12790 * box.h: #include "support/LOstream.h", needed for inlined function.
12793 * lyxtextclasslist.C: added some using std declarations.
12795 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12797 * box.h: make signed dimensions to allow insets wider than
12798 the screen (bug #162)
12800 * BufferView_pimpl.C: add some insetHit debug
12802 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12804 * vc-backend.C: add FIXME
12806 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12808 * lyxfunc.C (getStatus): enable code for showing math font status
12811 2002-01-07 Juergen Vigna <jug@sad.it>
12813 * text.C (nextBreakPoint): removed debug output not needed anymore.
12815 2002-01-06 Juergen Vigna <jug@sad.it>
12817 * text.C (nextBreakPoint): fixed up this function we had this bug
12818 since ever but now hopefully we break row better.
12819 (insertChar): we have to check if an inset is the next char as it
12820 could now happen that a large inset is causing a break.
12822 2002-01-05 Juergen Vigna <jug@sad.it>
12824 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12825 if it doesn't like to be drawed.
12827 2002-01-04 Juergen Vigna <jug@sad.it>
12829 * BufferView2.C (lockInset): forgot to set a cursor.
12831 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12833 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12835 * FormMathsPanel.C:
12838 * form_maths_panel.C:
12839 * form_maths_panel.h:
12840 * form_maths_panel.fd: implemented sub- and super- buttons in math
12843 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12844 (or ^ space) to be used as in TeX (req'd by André).
12846 * lyxfunc.C: Allow ^ and _ again to be used both as
12847 super/subscript (mathed) and as themselves (in text).
12849 2002-01-03 Allan Rae <rae@lyx.org>
12851 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12852 "LyX" or the filename of the current buffer if it has one. This is a
12853 modified form of John Levon's patch.
12855 * XFormsView.C (setWindowTitle): also set icon title.
12857 * LyXView.h (setWindowTitle): signature changed.
12858 * XFormsView.h (setWindowTitle): ditto.
12860 2002-01-02 Juergen Vigna <jug@sad.it>
12862 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12864 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12866 * screen.C (topCursorVisible): introduce a temp var for
12867 text->cursor.row(), handle the case where this row is null. (kindo
12870 * text2.C (setCursor): add a couple of asserts.
12872 * paragraph.h (inset_iterator): add -> operator
12874 * paragraph.[Ch] (autoDeleteInsets): remove member function
12876 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12877 cursor pos correctly and handle inset deletion by itself.
12878 (insertErrors): move iterator declaration out of for expression
12880 * lyxtextclass.C: add <algorithm>
12882 * Makefile.am: added the new files to sources, removed layout.C
12884 * layout.C: removed file
12886 * layout.h: remove LYX_DUMMY_LAYOUT
12888 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12892 * lyxtextclass.[Ch]:
12893 * lyxtextclasslist.[Ch]: new files
12895 * include order changes to a lot of files, also changes because of
12898 2001-12-27 Juergen Vigna <jug@sad.it>
12900 * buffer.C (asciiParagraph): more fixes.
12902 * tabular.C (ascii): make ascii export support export of only the
12903 data separated by a column-delimiter.
12904 (ascii): better support for ascii export.
12906 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12908 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12910 * tabular_funcs.C: use a "using std::getline" instead of the
12911 previous fix from Angus (necessary for cxx + lyxstring)
12913 2001-12-24 Juergen Vigna <jug@sad.it>
12915 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12917 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12918 problems. First check a minipage also if we have some ert-contents
12919 (not only on par->size(), second set the right depth of the paragraph
12920 on the relink to the root-paragraph-list!
12922 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12923 which then did not anymore update the main paragraphs on undo/redo!
12925 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12927 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12928 code. Support all font-changing funcs (even those which are not in
12929 menu currently). Support for reporting font settings in
12930 mathed (disabled until Andre provides a function on mathed's side).
12932 * func_status.h (toggle): small helper function to set toggle
12935 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12937 * tabular_funcs.C: getline -> std::getline
12939 2001-12-21 Juergen Vigna <jug@sad.it>
12941 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12942 accessed and could be 0 (I couldn't generate this but it seems
12945 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12948 * tabular_funcs.h: here and include iosfwd
12950 2001-12-20 Juergen Vigna <jug@sad.it>
12952 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12953 inside inset but undo_par was.
12955 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12957 * Thesaurus.C: always include <config.h> in sources.
12961 * box.h: do not include <config.h> in header files
12963 * text.C (paintLastRow): remove unused variable
12965 * text.C (transformChar):
12967 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12969 * Painter.C (text):
12970 * font.C (width): rewrite to use uppercase() instead of
12973 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12975 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12977 * lyxfind.C: clean up of find failure position change
12979 2001-12-20 Juergen Vigna <jug@sad.it>
12981 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12983 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12984 (TeXRow): added to LaTeX a single tabular row.
12985 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12986 (Latex): simplified and finally good LT-h/f support.
12987 (various_functions): just small adaptions for LT-h/f support.
12989 * tabular_funcs.[hC]: added and moved here all not classfunctions
12992 2001-12-19 Juergen Vigna <jug@sad.it>
12994 * tabular.[Ch]: better support for longtabular options (not finished
12997 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12999 * text.C (paintLastRow): use the label font instead of the font of
13000 the last character to compute the size of *_BOX. This makes more
13001 sense and avoids a crash with empty paragraphs.
13002 Use Painter::rectangle to draw EMPTY_BOX.
13004 2001-12-19 Juergen Vigna <jug@sad.it>
13006 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13007 the paragraphs if the replaced paragraph is not the first one!
13008 Tried to delete not used paragraphs but does not work yet so for
13009 now it's inside #ifdef's and by default off!
13011 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13013 * MenuBackend.C: include "lyx_main.h" instead of declaring
13014 lastfiles (actually was declared as LastFiles* instead of a
13017 2001-12-17 Juergen Vigna <jug@sad.it>
13019 * tabular.C (AppendColumn): applied John's fix
13021 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13025 * BufferView_pimpl.h:
13026 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13029 * box.h: new start of class for above
13031 * lyxfunc.C: ignore space-only minibuffer dispatches.
13032 Show the command name when it doesn't exist
13034 * minibuffer.C: don't add empty lines to the history
13036 * minibuffer.C: add a space on dropdown completion
13038 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13040 * text.C: fix line above/below drawing in insets
13042 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13044 * lyxlength.C (LyXLength): Initialize private variables.
13046 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13048 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13049 when inserting error insets.
13051 2001-12-13 Juergen Vigna <jug@sad.it>
13053 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13054 actually sometimes the before-paragraph.
13055 (setUndo): don't clear the redostack if we're not actually undoing!
13057 2001-12-06 Juergen Vigna <jug@sad.it>
13059 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13060 and fixed redoing of main paragraph, so we can use it now ;)
13062 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13064 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13066 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13069 2001-12-13 André Pönitz <poenitz@gmx.net>
13072 * undo_func.C: minor cleanup
13074 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13076 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13077 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13078 font in urw-fonts package which is marked as -urw-fontspecific and
13079 does not work (incidentally, changing the encoding in the
13080 fonts.dir of this package to -adobe-fontspecific fixes the
13083 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13084 is a crash when undoing first paragraph (Juergen, please take a
13085 look). THis does not mean the undo fix is wrong, just that it
13088 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13089 the (Paragraph*) version when needed instead of duplicating the
13092 * text.C (workWidth): use Inset::parOwner to find out where the
13093 inset has been inserted. This is a huge performance gain for large
13094 documents with lots of insets. If Inset::parOwner is not set, fall
13095 back on the brute force method
13097 * paragraph_pimpl.C (insertInset):
13098 * paragraph.C (Paragraph):
13099 (cutIntoMinibuffer): set parOwner of insets when
13100 inserting/removing them
13102 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13104 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13110 * mathed/formulabase.C:
13111 * mathed/math_cursor.[Ch]:
13112 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13115 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13117 * lyxlength.[Ch] (operator!=): new function
13119 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13121 * text.C (workWidth): use Inset::parOwner to find out where the
13122 inset has been inserted. This is a huge performance gain for large
13123 documents with lots of insets. If Inset::parOwner is not set, fall
13124 back on the brute force method
13126 * paragraph_pimpl.C (insertInset):
13127 * paragraph.C (Paragraph):
13128 (cutIntoMinibuffer): set parOwner of insets when
13129 inserting/removing them
13131 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13133 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13135 * tabular-old.C (getTokenValue):
13136 * tabular.C (getTokenValue):
13137 (write_attribute): new versions for LyXLength
13138 (everywhere): adjust the use of widths
13140 * tabular.h: change the type of widths from string to LyXLength
13142 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13144 * paragraph.C: fixed missing line number count when exporting
13145 Environments to LaTeX file
13147 * buffer.C: added informational message for checking line numbers.
13149 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13151 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13152 paragraph, do the 'double space' part, but not the 'empty
13155 * text.C (workWidth): small optimization
13156 (getLengthMarkerHeight): use minimal size for negative lengths.
13158 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13160 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13162 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13164 2001-12-11 André Pönitz <poenitz@gmx.net>
13167 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13169 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13171 * text2.C: keep selection on a setFont()
13173 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13175 * lyx_cb.C: another bv->text misuse, from insert label
13177 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13180 * kbsequence.C: re-instate nmodifier mask
13182 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13184 * lyx_main.h: make lyxGUI private.
13186 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13188 * lyxfind.C: place the cursor correctly on failed search
13190 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13192 * text.C (getLengthMarkerHeight): for small heights, the arrows
13193 are not always on top/bottom of the text
13194 (drawLengthMarker): smaller arrows; take the left margin in
13195 account; draw also vfills.
13197 (paintLastRow): remove special code for vfill and standard spaces,
13198 since everything is handled in drawLengthMarker now.
13200 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13202 * buffer.C (insertErtContents): try to handle font and language
13203 interaction a bit better.g
13205 * ColorHandler.C (updateColor): change the hash to cover the whole
13206 LColor enum, ws cleanup
13207 (getGCLinepars): ditto
13208 (getGCLinepars): only lookup in the linecache once.
13210 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13212 * iterators.C (operator++): Make the iterator more robust
13214 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13218 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13221 * text.C: better added space drawing
13223 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13226 * BufferView2.C: fix layout combo update on inset unlock
13228 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13230 * Makefile.am: don't compile unused files
13232 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13236 * LyXAction.C: remove old LFUN_LAYOUTNO
13238 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13240 * paragraph_pimpl.h:
13241 * paragraph_pimpl.C: isTextAt() doesn't need font param
13243 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13246 * lyxlex.C: little cleanup
13248 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13250 * BufferView_pimpl.C: fix insertAscii for insets
13252 2001-12-05 Juergen Vigna <jug@sad.it>
13254 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13255 set the right font on the "multi" paragraph paste!
13257 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13263 * lyxlength.C: remove out-commented code.
13265 * BufferView_pimpl:
13279 * vc-backend.C: change "while(" to "while ("
13281 * lyxlength.[Ch]: add zero function to check if length is zero or
13283 * lyxgluelength.C: use it
13285 2001-12-05 Allan Rae <rae@lyx.org>
13287 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13288 Works for 2.95.3, from what I understand of Garst's reports this should
13289 work for other g++ versions. We're screwed if the abs(int) definition
13290 changed between bugfix releases of gcc.
13292 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13294 * text.C: fix chapter label offset !
13296 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13299 * text.C: fix hfill at end of line, clean up
13301 2001-12-04 Juergen Vigna <jug@sad.it>
13303 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13304 that we force an update of the inset and it's owners if neccessary.
13306 2001-12-03 Juergen Vigna <jug@sad.it>
13308 * text.C (rowLast): simplified code
13310 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13312 * lyxfunc.C: fix show options on timeout
13314 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13316 * screen.C (topCursorVisible): scroll half a page when the cursor
13317 reached top of bottom of screen
13319 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13321 * minibuffer.C: deactivate on loss of focus
13323 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13325 * vspace.[Ch] (operator!=): add operator.
13327 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13329 * BufferView_pimpl.C: refuse to open an inset when
13330 there's a selection.
13332 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13334 * BufferView_pimpl.C: allow to click on RHS of full row insets
13336 2001-11-30 Juergen Vigna <jug@sad.it>
13338 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13339 insets for undo reasons.
13341 2001-11-28 André Pönitz <poenitz@gmx.net>
13343 * vspace.[Ch]: cosmetical changes
13345 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13355 * kbsequence.C: part re-write of old kb code
13358 * WorkArea.C: remove Lgb_bug_find_hack
13360 2001-11-30 José Matos <jamatos@fep.up.pt>
13362 * buffer.C (makeDocBookFile): add a comment to point a hack.
13363 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13364 Fixed a double write of labels.
13366 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13369 * LaTeX.h Fixed bug in LaTeX class where it would not
13370 re-run latex if no depfiles were changed, but the .dvi was removed.
13372 2001-11-28 André Pönitz <poenitz@gmx.net>
13374 * all the files from the change on 2001/11/26:
13375 use lyx::layout_type instead of LyXTextClass::size_type
13376 use lyx::textclass_type instead of LyXTextClassList::size_type
13378 2001-11-29 Juergen Vigna <jug@sad.it>
13380 * text.C: added support for paragraph::isFreeSpacing()
13382 * buffer.C: same as above
13384 * paragraph.h: inserted isFreeSpacing() function to enable
13385 FreeSpacing inside InsetERT.
13387 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13388 of the paragraph's in the cut/copy buffer to 0!
13390 * text2.C (removeRow): remove the assert as it can!
13392 * lyxtext.h: added helper function firstRow returning firstrow and
13393 made firstrow private again.
13395 * BufferView2.C (lockInset): don't relock if we're already locked!
13397 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13398 the only paragraph.
13399 (removeRow): added Assert::(firstrow)
13401 * debug.C: forgot to add INSETTEXT here.
13403 2001-11-28 Juergen Vigna <jug@sad.it>
13405 * sp_spell.C (initialize): changed error text to more general
13406 spellchecker command use (not only ispell!)
13408 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13410 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13412 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13414 * vspace.C: initialise lyxgluelength on failure
13416 2001-11-28 Allan Rae <rae@lyx.org>
13418 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13419 declaration & definition that looks like a function declaration.
13421 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * BufferView2.C (copy):
13424 (copyEnvironment): do not clear the selection when doing a copy.
13426 * text.C (paintFirstRow): compilation fix
13428 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13430 * tabular.C (Latex): correct line count when writing latex.
13432 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13434 * paragraph_pimpl.h:
13435 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13438 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13442 * LColor.C: change vfillline->added_space
13444 * text.C: add markers and text for added space
13446 * vspace.C: fix comment
13448 2001-11-28 André Pönitz <poenitz@gmx.net>
13450 * paragraph.C: whitespace changes
13451 * all the other files from the change on 2001/11/26:
13452 change *::pos_type into lyx::pos_type
13454 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13456 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13457 language of the document when inserting error insets.
13459 2001-11-26 André Pönitz <poenitz@gmx.net>
13461 * BufferView_pimpl.[Ch]:
13469 * paragraph_pimpl.[Ch]:
13472 * text2.C: reduce header dependencies, introduce type for positions
13474 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13476 * <various>: change to use Alert.h
13478 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13480 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13481 when encountering an unknown token.
13482 (readLyXformat2): Show an error message if there were unknown tokens.
13484 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13487 * BufferView_pimpl.C:
13491 * text2.C: use par->isInset()
13493 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13495 * paragraph_pimpl.h:
13496 * paragraph_pimpl.C: cleanup
13498 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13500 * text2.C (removeRow):
13501 * text.C (setHeightOfRow): remove useless (and costly) call to
13504 2001-11-20 Allan Rae <rae@lyx.org>
13506 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13507 Now need Inset*::checkInsertChar() to return true for appropriate
13508 cases so that the characters in the minibuffer will actually be
13511 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13513 * text.C: change the order of the includes.
13514 (workWidth): initialize it at once.
13515 (workWidth): make maxw unsigned
13516 (setHeightOfRow): remove unused variable (inset)
13517 (selectSelectedWord): remove unused variable (inset)
13518 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13520 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13523 server is not running.
13525 (closeConnection): add debug info when server is disabled.
13527 * ColorHandler.C (getGCForeground): send debug message to GUI
13530 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13532 * kbmap.C (bind): modify because return conventions of
13533 kb_sequence::parse have changed.
13535 * kbsequence.C (parse): only ignore spaces and not any stupid
13536 control character. This avoids tests like s[i] <= ' ', which are
13537 guaranteed to fail with 8bit characters and signed chars.
13538 Change return code to string::npos when there have been no error
13539 (0 was a bad idea when error is at first character)
13541 2001-11-14 José Matos <jamatos@fep.up.pt>
13544 * buffer.C (simpleDocBookOnePar): removed unused argument.
13546 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13548 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13549 insets which are part of a word. Paragraph::isLetter takes care of
13550 that now. Use Paragraph::isInset to identify insets.
13551 (selectSelectedWord): do not test for hyphenation break.
13553 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13554 that protected spaces are considered as spaces.
13556 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13559 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13562 * lyxserver.C: fix it. and small cleanup.
13564 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13566 * BufferView_pimpl.C: use inline helpers
13569 * LaTeXFeatures.C: fix typos
13572 * Spacing.C: move spacing_string into class
13574 * ToolbarDefaults.C: move stuff into namespace anon
13576 * layout.h: update enum
13578 * lyxfunc.C: use better debug
13580 * minibuffer.h: fix typo
13584 * WorkArea.C: add and use Debug::WORKAREA
13588 * text2.C: code re-organisation, inline helpers
13590 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13592 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13593 std::vector.empty().
13595 2001-11-09 Allan Rae <rae@lyx.org>
13597 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13598 '\n's after tables. Tabular and ERT inset work now makes this no
13601 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13604 * minibuffer.C: fix crash, improve drop-down completion
13606 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13609 * lyxserver.C: invalidate fd's when doing endPipe()
13611 2001-11-08 José Matos <jamatos@fep.up.pt>
13613 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13614 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13617 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13619 2001-11-07 José Matos <jamatos@fep.up.pt>
13622 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13625 * buffer.C (sgmlOpenTag):
13626 * buffer.C (sgmlCloseTag): removed debug info.
13628 * buffer.h (sgmlOpenTag):
13629 * buffer.h (sgmlCloseTag): made public.
13631 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13633 * buffer.C (saveParamsAsDefaults):
13634 * lyx_cb.C (MenuLayoutSave): remove
13636 * LyXAction.C (init):
13638 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13640 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * buffer.C (setPaperStuff): removed from here...
13644 * bufferparams.C (setPaperStuff): ... and moved there.
13646 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13650 * XFormsView.C: add support for drop-down completion
13652 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13654 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13657 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13662 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13664 * lyx_main.C: change ref to known bugs
13666 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13668 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13669 to work around older babel problems.
13671 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13673 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13675 2001-10-24 Juergen Vigna <jug@sad.it>
13677 * tabular-old.C (ReadOld): below variable changes reflected.
13679 * tabular.[Ch]: added ltType struct for longtable header/footer
13680 defines and changed all instances where they are used. Added
13681 future support for double top/bottom rows.
13683 2001-10-24 José Matos <jamatos@fep.up.pt>
13685 * buffer.h (docbookHandleCaption):
13686 * buffer.C (docbookHandleCaption): removed unused function.
13687 (makeDocBookFile): moved docbook supported version to v4.1.
13689 2001-10-24 José Matos <jamatos@fep.up.pt>
13692 * tabular.C (docbookRow): new function to export docbook code of a row.
13693 (DocBook): now honors the longtable flags.
13695 2001-10-23 José Matos <jamatos@fep.up.pt>
13698 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13699 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13701 * buffer.C (makeLinuxDocFile):
13702 (makeDocBookFile): reworked the preamble, more clean, and with
13703 support for lyx defined entities. Changed the document declaration
13704 to be more XML friendly.
13706 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13707 if we need to output XML that should be done with a filter.
13709 2001-10-22 Juergen Vigna <jug@sad.it>
13711 * sp_pspell.h (class PSpell): add alive function needed in the
13712 controller to see if the spellchecker could be started.
13714 2001-10-22 Juergen Vigna <jug@sad.it>
13716 * buffer.C (insertStringAsLines): modify the font for inserting
13717 chars in certain conditions by calling checkInsertChar(font).
13719 2001-10-19 Juergen Vigna <jug@sad.it>
13721 * text.C (workWidth): use getRow instead of wrong algorithm.
13722 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13724 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13729 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13731 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * text.C (workWidth): do not search for the exact row when
13734 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13735 optimization for big documents.
13737 2001-10-18 Juergen Vigna <jug@sad.it>
13739 * text.C (workWidth): new function with added Inset * parameter.
13741 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13743 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13745 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13746 change return type of getColumnNearX.
13749 * text.C (changeRegionCase): use uppercase/lowercase instead of
13752 (rightMargin): simplify code by factoring out the uses of
13757 (appendParagraph): use Paragraph::size_type
13759 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13761 * vspace.C (asLatexString): add a missing break
13763 2001-10-15 Herbert Voss <voss@perce.de>
13765 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13767 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13769 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13772 2001-10-10 André Pönitz <poenitz@gmx.net>
13774 * lyxfunc.C: removed greek_kb_flag.
13776 2001-10-10 Herbert Voss <voss@perce.de>
13778 * lyx_main.C: delete global string help_lyxdir.
13780 2001-10-09 Herbert Voss <voss@perce.de>
13782 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13784 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13786 * lyx_main.C: added global string help_lyxdir.
13788 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13790 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13792 * lyxrc.C (set_font_norm_type): support iso8859-4
13794 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13796 * LaTeX.C (deplog): add another regex for MikTeX
13798 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13800 * lyxrc.C (set_font_norm_type): support iso8859-3
13802 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13806 * LaTeXFeatures.C: remove special case of french and index
13808 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13809 before \begin{document}). This solves several incompatibilities.
13811 2001-10-03 Garst Reese <reese@isn.net>
13813 * lyx_cb.C: change CheckTex error msg.
13815 2001-10-03 José Matos <jamatos@fep.up.pt>
13817 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13819 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13821 * .cvsignore: update
13823 * lyx_main.C (commandLineVersionInfo): use new style version info.
13825 * buffer.C (writeFile):
13827 (makeLinuxDocFile):
13828 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13830 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13832 * version.h: update to use stuff in version.C
13834 * version.C.in: new file. Contains version information determined
13835 at compile time. This is a merging of version.h and
13838 2001-10-03 Juergen Vigna <jug@sad.it>
13840 * BufferView_pimpl.C (update): don't change "dirty" status in
13843 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13845 * WorkArea.C (c-tor): re-position version string slightly.
13847 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13849 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13850 revert to previous code.
13852 WorkArea.[Ch]: (show, destroySplash): methods removed.
13854 WorkArea.C: rework code so that it's an amalgam of the codes before and
13855 after the splash screen was moved to WorkArea.
13857 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13860 * vspace.C (inPixels):
13863 * buffer.C (insertStringAsLines):
13864 (asciiParagraph): fix types to be large enough
13866 * lyxlex_pimpl.h: change member status from short to int
13868 * layout.h: fix type of endlabeltype
13871 * kbsequence.C (parse): change return type to string::size_type
13873 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13876 * Bullet.C (bulletSize):
13877 (bulletEntry): do not use short ints as parameters
13879 * BufferView2.C (insertLyXFile): change a char to an int.
13881 * WorkArea.C (WorkArea): remove unneeded floats in computation
13883 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13885 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13887 * paragraph.C (asString): Do not ignore newline/hfill chars when
13888 copying to the clipboard.
13890 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13892 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13893 after a multi-line inset.
13895 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13897 * paragraph.C (validate): Set NeedLyXFootnoteCode
13899 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13901 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13902 and decrease-error to decrease.
13904 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13906 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13907 it more readable (should be equivalent)
13909 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13911 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13913 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13916 of a cursor (row, etc.) after a character has been deleted
13917 (deleteEmptyParagraphMechanism): call the method above on _all_
13918 cursors held by the LyXText when a double space has been
13921 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13923 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13925 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13927 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13928 background. Use greyOut() and the new show() methods to toggle between
13929 the foreground and background. Add code to remove the splash after
13930 its initial showing.
13932 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13933 (create_forms): no longer call Dialogs::showSplash.
13935 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13937 * .cvsignore: add version_info.h
13939 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * version_info.h.in: new file
13943 * Makefile.am: add version_info.h.in
13945 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13946 version_info.h instead of VERSION_INFO
13948 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13950 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13951 The ERT inset now returns string().
13953 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13955 * lyxtext.h, text.C (selectNextWord): renamed as
13956 selectNextWordToSpellcheck.
13958 * text.C (selectNextWordToSpellcheck): Modified to not select
13959 words inside an ERT inset.
13961 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13963 * lyx_cb.C (MenuLayoutSave): change a bit the question
13965 * sp_base.h: include <sys/types.h>
13967 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13969 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13971 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13973 * several files: fix typos in user-visible strings
13975 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * text2.C (pasteSelection): do not set the selection, since it
13978 will be cleared later. Actually, the intent was to fix the way the
13979 selection was set, but I figured rmoving the code was just as good.
13981 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13983 * FontLoader.C (available): Check if font is available without
13986 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13988 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13990 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13992 * lyxrc.[Ch]: added display_graphics variable and associated code.
13994 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13996 * bufferparams.C (hasClassDefaults): new method. Returns true if
13997 the buffer parameters correspond to known class defaults
13999 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14001 * XFormsView.C (show): set minimum size to the main window.
14003 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14005 * text2.C (copySelection):
14007 * lyxfind.C (LyXReplace):
14008 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14009 LyXText::selectionAsString.
14011 * paragraph.C (asString): add "label" argument to the second form
14013 * text2.C (selectionAsString): add "label" argument and pass it to
14014 Paragraph::asString.
14016 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14018 * lyx_main.C (commandLineHelp): remove version information
14020 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14022 * lyx_main.C: add -version commandline option
14024 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14026 * paragraph.h: make the optional constructor arg required instead.
14027 some modifications to other files because of this.
14029 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14031 * lyxserver.C (C_LyXComm_callback): make it static
14033 * lyx_main.C (error_handler): make it static
14035 * lyx_gui.C (LyX_XErrHandler): make it static
14037 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14039 * WorkArea.C: make the extern "C" methods static.
14041 * Makefile.am (lyx_LDADD): simplify
14043 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14045 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14046 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14048 * LyXAction.C (init):
14049 * lyxfunc.C (dispatch): associated code removal.
14051 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14053 * lyxfont.h (isSymbolFont): shut off warning
14055 * text.C (setHeightOfRow):
14056 (getVisibleRow): fix crash with empty paragraphs which have a
14059 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14061 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14064 2001-09-04 José Matos <jamatos@fep.up.pt>
14067 * tabular.C (docbook): rename docBook method to docbook.
14069 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14071 * Makefile.am: add dependencies to main.o.
14073 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14075 * FontLoader.C (available): Return false if !lyxrc.use_gui
14077 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14079 * FontInfo.C (query):
14080 * converter.C (view):
14081 * importer.C (Import):
14082 * exporter.C (Export): Can not -> cannot.
14084 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14086 * BufferView_pimpl.C: allow to create index inset even if
14089 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14091 * buffer.C (getLists): replace boost::tie code with an explicit pair
14092 as boost::tie can break some compilers.
14094 * iterators.h: Added a std:: declaration to the return type of
14097 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14099 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14102 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14104 * iterators.[Ch]: New files. Provide paragraph iterators.
14106 * buffer.C (changeLanguage): Use paragraph iterators.
14107 (isMultiLingual): ditto
14109 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14111 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14113 * FontLoader.C: Support for cmr font.
14115 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14117 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14118 (available): New method.
14120 * FontInfo.C (getFontname): Use scalable fonts even when
14121 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14124 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14126 * converter.C (Formats::view): reverted! Incorrect fix.
14128 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14130 * converter.C (Formats::view): only output the -paper option
14131 if the dvi viewer is xdvi, thereby fixing bug #233429.
14133 2001-08-23 Herbert Voss <voss@perce>
14135 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14137 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14139 * Spacing.h (Spacing): Set space to Default on in the default
14142 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * vc-backend.h (RCS::versionString): add RCS to version
14145 (CVS::versionString): add CVS to version
14147 * vc-backend.C (scanMaster): do not add CVS to version.
14148 (scanMaster): do not add RCS to version
14150 * lyxvc.C (versionString): new method
14152 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14154 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14156 * Spacing.C (set): initialize fval
14158 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14160 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14163 2001-08-16 Juergen Vigna <jug@sad.it>
14165 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14167 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14169 * BufferView_pimpl.C:
14172 * text2.C: setParagraph takes linespacing now
14174 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14176 * LyxAction.C: add internal LFUN_CITATION_INSERT
14178 * LyXView.C: actually apply fix
14180 * bufferlist.C: fix open non-existent file
14182 * lyxfind.C: fix indentation
14184 * lyxfunc.C: remove unneeded assert, fix typo
14186 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14188 * MenuBackend.C: use "Floatname List"
14190 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14192 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14193 when converting LaTeX layout to insetERT.
14194 Generate a non-collapsed float when reading old float
14196 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14198 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14201 2001-08-13 Juergen Vigna <jug@sad.it>
14203 * text.C (fill): return 0 instead of 20 as this seems to be the more
14206 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14208 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14211 2001-08-13 Juergen Vigna <jug@sad.it>
14213 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14215 (SearchBackward): comment out the unlocking of the inset_owner this
14216 should not be needed!
14218 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14220 * Many files: Remove inherit_language, and add latex_language
14222 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14223 collapsible insets.
14225 2001-08-10 Juergen Vigna <jug@sad.it>
14227 * text.C (prepareToPrint): fixed hfill-width in draw!
14229 * BufferView2.C (selectLastWord): save the selection cursor as this
14230 now is cleared in the function LyXText::clearSelection!
14232 2001-08-08 Juergen Vigna <jug@sad.it>
14234 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14235 BACKSPACE type functions.
14237 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14238 is only cutted from the document but not put in the cut-buffer, where
14239 still the old stuff should be.
14241 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14243 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14245 * tabular.C (SetWidthOfCell): fixed special case where the width
14247 (LeftLine): handle '|' in align_special.
14249 (LeftAlreadyDrawed): ditto
14250 (SetWidthOfCell): ditto
14252 2001-08-07 Juergen Vigna <jug@sad.it>
14254 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14256 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14259 * lyxlex.[hC]: ditto
14261 2001-08-06 Juergen Vigna <jug@sad.it>
14263 * text.C (getVisibleRow): fix up row clearing a bit.
14265 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * minibuffer.C: make sure the X server sees the changes in the input.
14269 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * paragraph.C (getFont): split into...
14272 (getLabelFont): this
14273 (getLayoutFont): and this
14274 * paragraph_pimpl.C (realizeFont): calling this
14276 * text2.C (getFont): split into...
14277 (getLayoutFont): this
14278 (getLabelFont): and this
14279 (realizeFont): all three calling this
14281 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14284 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14286 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14288 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14290 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14291 layouts from the Quote inset insertion.
14293 2001-08-03 Juergen Vigna <jug@sad.it>
14295 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14297 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14298 only if status not is already CHANGED_IN_DRAW (second level).
14300 * text.C (draw): don't set the need_break_row when inside an
14303 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * buffer.C (parseSingleLyXformat2Token): handle more latex
14308 * bufferview_funcs.[hC]: change function names to
14309 begin with small char, adjust other files.
14311 2001-08-02 André Pönitz <poenitz@gmx.net>
14314 BufferView_pimpl.C: remove broken special code for math-greek
14316 2001-08-02 Juergen Vigna <jug@sad.it>
14318 * BufferView_pimpl.C (update): redone this function so that we
14319 update the text again if there was a CHANGE_IN_DRAW.
14321 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14322 (drawFromTo): added a new internal bool which is used by draw() and
14324 (general): some cursor drawing problems fixed.
14326 2001-08-01 Juergen Vigna <jug@sad.it>
14328 * lyxfind.C (LyXFind): fixed
14329 (SearchForward): ditto
14330 (SearchBackward): ditto
14332 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14333 spurius drawing of the cursor in the main area.
14335 * text2.C (status): small fix which could lead to a segfault!
14336 (clearSelection): remove unneeded BufferView param.
14338 2001-08-01 André Pönitz <poenitz@gmx.net>
14340 * lyxfunc.C: small change due to changed mathed interface
14342 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14344 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14346 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14348 * lyxfunc.c: fail gracefully if file doesn't exist
14353 * BufferView_pimpl.C: IsDirWriteable() proto changed
14355 * LyXView.C: fix updateWindowTitle() to store the last title
14357 2001-07-31 Juergen Vigna <jug@sad.it>
14359 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14360 the font (wrong since using of Paragraph::highestFontInRange).
14362 * paragraph.C (highestFontInRange): added a default_size parameter.
14364 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14365 (setHeightOfRow): reformat
14367 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14369 * converter.[hC] + affected files: move to (inital-char)lowercase
14372 * ParagraphParameters.C (ParagraphParameters): remove commented code
14374 * PainterBase.[Ch]: remove commented code
14376 * LaTeXFeatures.h: add "bool floats" for float.sty
14378 * LaTeXFeatures.C (LaTeXFeatures): init floats
14379 (require): handle float
14380 (getPackages): do it with floats
14382 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14384 * BufferView_pimpl.C (Dispatch): improve handling of
14385 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14387 * commandtags.h: #include lyxfont.h here temporarily to avoid
14390 * bufferlist.h: include LString.h here.
14392 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14394 * text2.C (getStringToIndex): new method.
14396 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14398 * *: Reduced header file dependencies all over.
14400 2001-07-30 Baruch Even <baruch@lyx.org>
14402 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14404 2001-07-29 Baruch Even <baruch@lyx.org>
14406 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14408 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * ParameterStruct.h (endif): add a default constructor to make
14411 sure that all variables is initialized.
14413 * ParagraphParameters.C (ParagraphParameters): adjust
14415 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14417 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14418 index; also, check that there is something to index, and that it
14419 does not span over several paragraphs.
14420 (doubleClick): use WHOLE_WORD_STRICT for double click.
14422 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14424 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14427 2001-07-26 Baruch Even <baruch@lyx.org>
14429 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14430 an InsetFig figure, backwards compatible reading of old figure code.
14432 2001-07-27 Juergen Vigna <jug@sad.it>
14434 * text2.C: font.realize function adaption.
14436 * text.C (draw): add a warnings lyxerr text if needed.
14438 * layout.C: font.realize function adaption.
14440 * language.C: add inherit_language and implement it's handlings
14442 * bufferview_funcs.C (StyleReset): remove language parameter from
14443 font creation (should be language_inherit now).
14445 * bufferparams.C (writeFile): handle ignore_language.
14447 * paragraph.C (getFontSettings): the language has to be resolved
14448 otherwise we have problems in LyXFont!
14450 * lyxfont.C (lyxWriteChanges): added document_language parameter
14451 (update): removed unneeded language parameter
14453 * paragraph.C (validate): fixed wrong output of color-package when
14454 using interface colors for certain fonts in certain environments,
14455 which should not seen as that on the final output.
14457 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14459 * BufferView_pimpl.C:
14464 * LyXAction.C: add thesaurus support
14467 * lyxfind.C: add "once" parameter, for thesaurus, to not
14468 move to the next match
14470 2001-07-26 Juergen Vigna <jug@sad.it>
14472 * lyxfont.C (realize): honor ignore_language too!
14475 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14477 * text.C (draw): one place more for ignore_language to not draw
14480 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14482 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14484 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14487 the minipage conversion problem.
14489 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14494 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14496 * BufferView.h: don't forward declare WorkArea
14498 * BufferView.C: don't include WorkArea.h
14500 2001-07-25 André Pönitz <poenitz@gmx.net>
14504 * lyxfunc.C: new LFUN 'math-space'
14506 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14508 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * text2.C (toggleInset): call open/close
14512 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14514 * lyxfunc.C (dispatch): add debug for the disabled case
14516 * font.C (buttonText): make similar to rectText
14518 * buffer.C (readInset): comment out parsing of insetlist and
14521 * PainterBase.C (rectText): small correction
14523 * BufferView_pimpl.C: comment out insettheorem and insetlist
14524 * LyXAction.C: ditto
14525 * commandtags.h: ditto
14527 2001-07-24 Juergen Vigna <jug@sad.it>
14529 * text.C (draw): honor the ignore_language.
14531 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14533 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14535 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14538 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14540 * lyxtext.h: remove unused (and unimplemented) methods
14542 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14544 * text.C (getVisibleRow): honor background color
14547 * Painter.h: remove default color argument for fillRectangle
14549 * text.C (backgroundColor): new method
14551 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * text.C (getVisibleRow): adjust
14555 * font.[Ch] (rectText): new method, metrics
14556 (buttonText): new method, metrics
14558 * PainterBase.[hC]: make rectText and buttonText always draw and take
14561 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14563 * ToolbarDefaults.C (read):
14564 * MenuBackend.C (read): allow escaping in all strings
14566 * BufferView_pimpl.C (insertAndEditInset): new method.
14567 (Dispatch): use insertAndEditInset whenever appropriate.
14569 * BufferView_pimpl.C (insertNote): removed
14571 * BufferView_pimpl.C (smartQuote): new method, moved from
14572 BufferView; if an insetquote cannot be inserted, insert a '"'
14575 * BufferView2.C: remove insertCorrectQuote();
14577 * lyxfunc.C (getStatus): Add support for all remaingin
14578 inset-insert lfuns.
14580 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14582 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14583 command (necessary to pass " as parameter of self-insert.
14585 * text.C (selectWordWhenUnderCursor):
14586 (selectWord): add word_location parameter
14587 (selectWordWhenUnderCursor): same + remove special code for word
14589 (selectNextWord): use kind() to guess type of insetspecialchar,
14592 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14593 (insertErtContents): create ert insets as collapsed.
14594 (readInset): better compatibility code for Info inset.
14596 2001-07-20 Juergen Vigna <jug@sad.it>
14598 * lyxfunc.C (dispatch): use always LyXFind now!
14600 * text2.C (init): add a reinit flag so that the LyXText can be
14601 reinited instead of deleted and reallocated (used in InsetText).
14603 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14609 2001-07-18 Juergen Vigna <jug@sad.it>
14611 * text.C (selectNextWord): handle insets inside inset by calling
14612 always the bv->text functions so that we can go up the_locking_inset!
14614 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14615 in strange locations when inside an inset!
14617 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14618 handling to include insets.
14620 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14622 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * LyXAction.C (init):
14626 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14627 LIGATURE_BREAK, since the name is so stupid.
14629 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14631 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14634 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14636 * sp_form.[Ch]: remove.
14638 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14640 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14643 * src/buffer.C (readInset): ditto.
14645 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14647 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14648 menuSeparator(), endOfSentenceDot(), ldots() and
14649 hyphenationPoint(), which are therefore removed.
14650 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14652 * LyXAction.C (init):
14653 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14655 * paragraph.C (getWord): removed.
14657 * BufferView_pimpl.C (Dispatch): use last word or selection for
14658 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14660 * lyx_main.C (queryUserLyXDir): do not ask before creating
14661 user_dir, except if it has been named explicitely.
14663 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14665 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14666 a document of zero size.
14668 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14670 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14671 approriately in the c-tor and in require().
14672 (getPackages): output the appropriate LaTeX for natbib support.
14674 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14675 variables "use_natbib" and "use_numerical_citations" when reading the
14677 (readInset): read the various natbib cite commands.
14678 (validate): white-space change.
14680 * bufferparams.[Ch]: new variables "bool use_natbib" and
14681 "bool use_numerical_citations".
14682 (writeFile): output them in the LyX file.
14684 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14686 * lyxfunc.C (getStatus): add support for all the inset insertion
14689 * text2.C (insertInset):
14690 * paragraph.C (insetAllowed):
14691 * BufferView_pimpl.C (insertInset): update to take in account the
14692 renaming of insertInsetAllowed
14694 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14696 * text2.C (getInset): new method. returns inset at cursor position.
14698 * BufferView_pimpl.C (Dispatch): changes because of this.
14700 * LyXAction.C (init): rename open-stuff to inset-toggle.
14702 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14704 * text2.C (toggleInset): renamed from openStuff; use
14707 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14709 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14711 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14713 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14715 * buffer.C (readLyXformat2): Add filename to the error dialog
14717 2001-07-18 Juergen Vigna <jug@sad.it>
14719 * tabular.C (GetCellNumber): put an assert here instead of the check!
14721 2001-07-17 Juergen Vigna <jug@sad.it>
14723 * BufferView_pimpl.C (toggleSelection): adapted too.
14725 * text.C (selectNextWord): adapted for use with insets.
14726 (selectSelectedWord): ditto
14728 2001-07-17 Juergen Vigna <jug@sad.it>
14730 * sp_spell.C (PSpell): fix initialitation order.
14732 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14734 * paragraph.C: spacing
14736 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14738 * sp_spell.C: repair language selection for pspell
14740 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14742 * lyxfunc.h: change more methods to begin with lower char.
14744 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14746 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14747 for unknown layouts.
14749 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14751 * buffer.C (readLyXformat2): Generate an error dialog if there are
14754 2001-07-16 Juergen Vigna <jug@sad.it>
14756 * sp_spell.C: always compile ISpell part.
14758 * lyxrc.C: added use_pspell entry and it's handling.
14760 2001-07-13 Juergen Vigna <jug@sad.it>
14762 * sp_spell.C: removed double includes.
14764 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14766 Consistent use of Lsstream.h:
14767 * Lsstream.h: added using std::stringstream for consistencies sake.
14769 * buffer.C: removed using std::stringstream
14771 * lyxfont.C (stateText):
14772 * paragraph.C (asString):
14773 * text.C (selectNextWord, selectSelectedWord):
14774 * text2.C (setCounter):
14775 * vspace.C (asString, asLatexString):
14776 std::ostringstream -> ostringstream.
14778 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14780 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14781 * commandtags.h: add LFUN_HELP_ABOUTLYX
14782 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14784 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14786 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14788 * lyx_gui_misc.C: remove spellchecker
14789 * lyxfunc.C: showSpellchecker
14791 * sp_ispell.h: added
14792 * sp_pspell.h: added
14793 * sp_spell.C: added
14794 * sp_form.[Ch]: removed
14795 * spellchecker.[Ch]: removed
14797 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14799 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14801 (simpleTeXSpecialChars): Simply print the input character without
14802 any special translation if pass_thru is set.
14804 * layout.h: Added bool pass_thru to layout class for being able to
14805 implement pass through of a paragraph for Literate Programming.
14807 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14808 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14809 * layout.C (Read): add "passthru" to list of layout tags and add
14810 code to set the pass_thru boolean when it is read.
14812 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14814 * trans_decl.h: remove allowed from KmodInfo
14816 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14817 remove allowed code
14820 * paragraph_pimpl.C (erase): use boost::prior
14822 * Painter.C (text): use data() instead of c_str() when length is
14824 * WorkArea.C (putClipboard): ditto
14825 * font.h (width): ditto
14827 * BufferView2.C: use it-> instead of (*it). for iterators
14829 * paragraph_pimpl.C: ditto
14830 * paragraph.C: ditto
14831 * minibuffer.C: ditto
14832 * language.C: ditto
14834 * encoding.C: ditto
14835 * counters.C: ditto
14836 * converter.C: ditto
14838 * Variables.C: ditto
14839 * TextCache.C: ditto
14840 * MenuBackend.C: ditto
14841 * LyXAction.C: ditto
14843 * FloatList.C: ditto
14844 * DepTable.C: ditto
14845 * ColorHandler.C (LyXColorHandler): ditto
14847 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14849 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14851 * text2.C (openStuff): reintroduce this method (which had been
14852 nuked in NEW_INSETS frenzy).
14854 * lyxfunc.C (Dispatch): when an action has not been handled, use
14855 its name in the error message, not its number.
14857 * paragraph.C (inInset): change method name to begin with lowercase.
14860 * text2.C: updates because of this.
14862 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * ToolbarDefaults.C (add): add spaces in error message
14866 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14869 (readLyXformat2): rename return_par to first_par, use lyxlex's
14870 pushToken and remove the manual push handling.
14871 (parseSingleLyXformat2Token): add another ert comp. variable:
14872 in_tabular, rename return_par to first_par. handle newlines better
14874 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14878 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14880 * text2.C (getParFromID): removed
14882 * buffer.C (getParFromID): new method moved form lyxtext.
14883 * BufferView2.C (insertErrors): adjust
14884 (setCursorFromRow): adjust
14885 * BufferView_pimpl.C (restorePosition): adjust
14886 * lyxfunc.C (Dispatch): adjust
14887 * undo_funcs.C (textUndo): adjust
14889 (textHandleUndo): adjust
14890 (textHandleUndo): adjust
14892 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * buffer.C: up' the LYX_FORMAT
14896 * lyxfont.h: turn NO_LATEX on as default
14898 * buffer.C (insertErtContents): new methods of tex style compability.
14899 (parseSingleLyXformat2Token): use it several places.
14900 * tabular.C (OldFormatRead): and here
14902 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * text2.C: remove some commented code.
14907 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14908 * trans.C: changes because of the above.
14910 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14912 * text2.C (setCounter): Fix counters bug with bibliography layout.
14914 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14916 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14917 own member functions
14918 (simpleTeXSpecialChars): ditto
14920 2001-07-06 Juergen Vigna <jug@sad.it>
14922 * a lot of files: changed the access to LyXText::status and the
14923 call of undo-functions.
14925 * undo.[Ch]: added a inset_id to the undo informations.
14927 * undo_funcs.[Ch]: added and moved here all undo functions.
14929 * lyxtext.h: give the status enum a weight, made status_ a private
14930 variable and made accessor functions for it, removed the whole bunch
14931 of undo-functions as they are now in their own file, make some
14932 functions publically available. Added function ownerParagraph with
14935 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14936 made InInset() a const function, added getParFromID() function.
14938 * buffer.[Ch]: added const version for inset_iterator functions,
14939 added getInsetFromID() function.
14941 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14942 changed undo functions for new version.
14944 2001-07-05 Juergen Vigna <jug@sad.it>
14946 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14947 unknow mechanism does not call the proper constructor but only this
14948 one also if I request the other!?
14950 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14954 * text2.C (LyXText): use initialization lists.
14956 * lyxtext.h (Selection): initialize set_ and mark_
14957 (init): remove method
14959 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14961 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14963 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14965 * screen.[Ch]: change method names to begin with lowercase
14967 * BufferView_pimpl.C (updateScrollbar): simplify further and
14968 hopefully make it a bit faster.
14970 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14972 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14973 calling directly xforms functions.
14975 * Painter.C (Painter):
14976 * lyx_cb.C (MenuWrite):
14977 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14980 * lyx_gui.C: remove bogus guiruntime extern declaration.
14982 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14984 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14986 (redoDrawingOfParagraph): ditto
14987 (redoParagraphs): ditto
14988 (cutSelection): don't create a object for CutAndPaste use the
14989 static method directly
14990 (pasteSelection): ditto
14992 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14995 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * modifications to some other files because of this.
14999 * Makefile.am (lyx_SOURCES): add XFormsView
15001 * XFormsView.[Ch]: new files
15003 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15004 the main window. Move the gui dependent stuff to XFormsView
15006 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * tabular.C (GetCellInset): update cur_cell also in the row/col
15009 version of this function.
15011 * lyxfunc.C: no need to include figure_form.h here.
15017 * lyxvc.C: no need to include forms.h here.
15019 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15023 * lyxfunc.C (Dispatch):
15025 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15026 constructor argument.
15028 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15030 * paragraph.C (Paragraph): dont't clear, and just set layout.
15031 (makeSameLayout): use params's copy contructor.
15033 * ParagraphParameters.[Ch] (makeSame): delete method
15035 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15037 * Variables.[Ch]: fix indentation, rename set to isSet
15039 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15041 * lyxfunc.C (Dispatch): fix typo
15043 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15045 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15048 * bufferlist.C: include assert.h for emergencyWrite().
15050 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15052 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15053 give up at last (bug #425202) !
15055 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15061 * spellchecker.C: strip spellchecker options and bring up
15062 preferences tab instead
15064 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15067 the istringstream constructor
15069 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15071 * paragraph.C (getLayout): fix return value
15073 * paragraph.h: do not declare getLayout as inline.
15075 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15077 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * lyxcursor.h (operator<): new func
15080 (operator>): new func
15081 (operator>=): new func
15082 (operator<=): new func
15084 * text.C (changeCase): use selection.start and selection.end
15085 (changeRegionCase): require from to be <= to. Require par to be a
15088 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15090 2001-06-27 Juergen Vigna <jug@sad.it>
15092 * text.C (cursorLeftOneWord): changed to return the cursor and added
15093 overlay with BufferView * parameter which calls this one.
15095 (selectWord): use new getWord function.
15096 (changeCase): renamed from changeWordCase as and extended to work
15097 also on selections.
15099 * lyxtext.h: added enum word_location
15101 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15102 changeCase as this operates now also on selections.
15104 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15106 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15108 * many files: send debug output to Debug::INFO instead of
15111 * converter.C (View):
15113 (Move): send debug output to Debug::FILES instead of console.
15115 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15117 * lyxfunc.C (getStatus): use func_status
15119 * func_status.h: new header, describing the results of
15120 LyXFunc::getStatus;
15122 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15125 2001-06-25 The LyX Project <jug@sad.it>
15127 * buffer.C (sgmlOpenTag):
15129 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15131 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * text2.C: remove some dead code
15135 * tabular.C (GetCellInset): store the last cell checked (gotten)
15137 * tabular.h: add the helper for the speedup
15139 * lyxtext.h: remove some dead code
15141 2001-06-26 The LyX Project <Asger>
15143 * paragraph.C: Change export to LaTeX of alignment to
15144 \begin{center} and family for better roundtrip work with reLyX.
15146 * Tune the math drawing a bit.
15148 2001-06-25 The LyX Project <Asger>
15150 * LColor.C (LColor): New color for math background. New color
15153 2001-06-25 The LyX Project <jug@sad.it>
15155 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15157 * lyxfunc.C (Open):
15158 * bufferlist.C (newFile): do not restrict to files ending with
15161 * BufferView_pimpl.C (MenuInsertLyXFile):
15163 2001-06-24 The LyX Project <jug@sad.it>
15165 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15168 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * lyxtext.h: rename most methods to begin with a small char.
15171 Lots of changes because of this.
15173 * paragraph.C (Paragraph): do not call fitToSize
15174 (erase): call Pimpl::erase
15175 (insertChar): call Pimpl::insertChar
15176 (insertInset): call Pipl::insertInset
15177 (breakParagraph): do not call fitToSize
15178 (breakParagraphConservative): do not call fitToSize
15179 (fitToSize): remove method
15181 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15183 2001-06-24 The LyX Project <Asger>
15185 * Fix Qt compilation^2
15187 2001-06-24 The LyX Project <jug@sad.it>
15189 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15190 depthHook(getDepth()-1).
15193 * ParagraphParameters.h:
15194 * ParameterStruct.h: change type of depth to unsigned int ==
15195 depth_type. Many adaptations to other files before of that.
15197 2001-06-24 The LyX Project <Asger>
15199 * Fix Qt compilation.
15201 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * paragraph.h: renamed several methods to begin with small letter.
15204 several changes to many parts of the code because of this.
15206 2001-06-23 The LyX Project <jug@sad.it>
15208 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15209 rewritten to discard all double spaces when KeepEmpty is off
15210 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15211 to only handle newlines but not fiddle with spaces and friends.
15213 * lyxfunc.C (MenuNew): when doing 'new from template', use
15214 template_path as default directory
15216 2001-06-23 The LyX Project <Asger>
15218 * Clean-up of header file includes all over
15219 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15221 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15223 * paragraph.h: renamed from lyxparagraph.h
15225 2001-06-23 Asger <lyx@violet.home.sad.it>
15227 * Buffer.h: Removed Buffer::resize
15228 * BufferList.h: Removed BufferList::resize
15229 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15230 the document lazily when we change the width, or the font settings.
15232 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15234 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15236 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15238 * buffer.h: remove out of date comment
15240 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15243 * screen.C: fix "theoretical" GC leak
15245 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15247 * LaTeX.C (scanAuxFile):
15248 (deplog): remove trailing \r when reading stream (useful under
15251 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15253 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15254 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15255 and BufferView::theLockingInset(Inset*), so should use them and not
15256 access bv_->text->the_locking_inset directly.
15258 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15260 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15263 * tex-defs.h: remove old unused file
15265 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15267 * BufferView_pimpl.C: fix typo, remove minibuffer message
15268 when buffer has loaded
15270 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15272 * lyxfunc.C (Dispatch): use stringstream
15273 (MenuNew): use stringstream
15274 (Open): use stringstream
15276 * importer.C (Import): use stringstream
15278 * bufferview_funcs.C (CurrentState): use stringstream
15280 * LaTeX.C (run): use stringstream
15282 * BufferView_pimpl.C (savePosition): use stringstream
15283 (restorePosition): use stringstream
15284 (MenuInsertLyXFile): use stringstream
15286 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15299 * vspace.C: removed // -*- C++ -*- as first line.
15302 * version.h: added // -*- C++ -*- as first line.
15304 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15308 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15311 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15316 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * gettext.C: include LString.h even when --disable-nls is on.
15320 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15322 * converter.h (Get): changed argument type from int to
15323 FormatList::size_type to avoid unnecessary conversion.
15325 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15328 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * gettext.h: include LString.h even when --disable-nls is on.
15332 2001-06-07 Juergen Vigna <jug@sad.it>
15334 * text.C (BreakAgain): subst spaces with tabs.
15336 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15337 (resizeInsetsLyXText): set force on resizeLyXText.
15339 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15341 * gettext.h (gettext_init):
15342 (locale_init): use a real definition instead of a macro
15344 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15346 * Bufferview_pimpl.C:
15348 * LColor.C: further lcolor tidies
15350 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15352 * BufferView_pimpl.C (updateScrollbar): simplify.
15354 * BufferView2.C: don't include insets/insetinfo.h, change
15355 prototype for insertInset and call the Pimpl version. let
15356 updateInset call Pimpl version.
15358 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15359 gotoInset to BufferView::Pimpl
15361 2001-06-01 Juergen Vigna <jug@sad.it>
15363 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15364 inside a LockingInset (is the update needed at all?).
15366 2001-05-31 Juergen Vigna <jug@sad.it>
15368 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15369 here not the old one otherwise how should we compare it afterwards
15372 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15377 * FontInfo.C: bring C functions into global namespace when
15380 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15382 * LString.h: make sure config.h has been loaded before LString.h.
15384 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15385 (one for each char read by EatLine!).
15387 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15390 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15392 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15393 to the same as the par we break from
15395 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15397 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15399 * MenuBackend.C (expand): also create menu entries for wide
15400 versions of the floats.
15402 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15404 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15406 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15407 frontends/Makefile.am
15413 * tabular.C (getTokenValue): add std::
15415 * tabular-old.C (getTokenValue): add std::
15416 (getTokenValue): ditto
15417 (getTokenValue): ditto
15419 * screen.C (ToggleSelection): adjust
15421 * lyxtext.h: put selection cursors inside a Selection struct.
15423 * lyxfunc.C (moveCursorUpdate): adjust
15425 * lyxfont.C (latexWriteStartChanges): add std::
15427 * lyxfind.C: adjust
15429 * font.h: delete with(char const *, LyXFont const &)
15431 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15433 * FontInfo.C (getFontname): add std::
15435 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15436 (workAreaButtonPress): adjust
15437 (tripleClick): adjust
15439 (moveCursorUpdate): adjust
15442 * BufferView2.C (gotoInset): adjust
15444 2001-05-30 Juergen Vigna <jug@sad.it>
15446 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15447 to check pspell I add this as default as I now have new pspell
15448 libraries and they seem to use this.
15450 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * text2.C (CutSelection): make the cursor valid before the call to
15455 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15458 relied on 0 terminated strings and other horrors. Bug found due to
15459 the new assert in lyxstring!
15461 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15464 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15466 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15469 * lyxfunc.C (processKeySym): change method of getting to the
15472 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15473 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15474 * BufferView_pimpl.[Ch]: here as private methods.
15476 2001-05-28 Juergen Vigna <jug@sad.it>
15478 * text.C (SetHeightOfRow): added the update() call again as it is
15479 needed to initialize inset dimensions!
15481 2001-05-16 Juergen Vigna <jug@sad.it>
15483 * text2.C (SetCharFont): Add new function with BufferView * and
15484 bool toggleall parameters for setting insets internal fonts.
15485 (SetFont): Freeze the undo as we may change fonts in Insets and
15486 all this change should be inside only one Undo!
15488 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15489 setting font's in insets as for them we have the SetFont function!
15491 2001-05-15 Juergen Vigna <jug@sad.it>
15493 * text2.C (ClearSelection): to be sure we REALLY don't have any
15496 * tabular.C (TeXCellPreamble): fixed the left border problem for
15499 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15501 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15504 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15506 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15507 LFUN_BREAKPARAGRAPH.
15509 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15510 help test to "internal only", similar for LFUN_INSERT_URL
15512 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15513 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15514 auto_region_delete and deadkeys.
15516 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15519 * LColor.C: remove some dead entries, tidy a little
15521 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15525 (Dispatch): implement LFUN_ESCAPE
15527 * commandtags.h: add LFUN_ESCAPE
15529 * LyXAction.C (init): add entry for LFUN_ESCAPE
15531 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15532 Remove commented code.
15533 (insertNote): moved here
15534 (open_new_inset): moved here
15536 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15539 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15541 * kbmap.C (findbinding): clean it up and make it work correctly.
15543 * lyx_main.C (init): do not pass argc and argv as parameters
15545 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15547 * buffer.C: fix path for OS/2 & Win32
15551 * lyx_main.C: Added os:: class.
15553 * os2_defines.h: update
15555 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15558 better by trying again with reduced state.
15560 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * lyxrc.C (read): print error about invalid key sequence only when
15563 debugging (because not all latinX keysyms are known to some X
15566 * kbsequence.C (getiso): add a few std:: qualifiers
15567 (getiso): comment out extra return statement.
15569 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15571 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15573 (Dispatch): enhance the accent inset a bit. (not perfect)
15575 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15577 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15579 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15581 * bufferlist.C (emergencyWrite): fix assert() call
15583 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15585 * text.C (InsertChar): Added trivial patch to only send the "you
15586 can not do multiple spaces this way" message once during a
15589 2001-05-08 Baruch Even <baruch@lyx.org>
15591 * Makefile.am: Changed order of libraries to get LyX to link properly
15592 with the gnome frontend.
15594 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15596 * LaTeXFeatures.h: add a std:: qualifier
15598 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * paragraph.C (String): use stringstream
15602 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * paragraph.C (writeFile): remove footflag arg
15606 * buffer.C (makeLaTeXFile): use stringstream
15607 (latexParagraphs): remove footnot gurba
15609 * LaTeXFeatures.C (getPackages): use stringstream
15610 (getMacros): likewise
15611 (getTClassPreamble): likewise
15612 (getFloatDefinitions): new method
15614 * paragraph.C (writeFile): reindent
15617 * WorkArea.h: revert the xpos + etc changes.
15619 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15621 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15623 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15624 (pasteSelection): likewise
15625 * text2.C (CreateUndo): likewise
15627 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15629 * minibuffer.C (peek_event): temporarily reduce the functionality
15630 of the minibuffer (to allow args on lfuns)
15632 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15633 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15635 * buffer.C (readInset): add compability reading of old float
15636 lists, add reading of new style float list.
15637 (readInset): avoid reevaluation of inscmd.getCmdName()
15638 (getLists): reindent
15640 * MenuBackend.C (MenuItem): implement parsing of
15641 md_floatlistinsert and md_floatinsert.
15642 (expand::LastFiles): move initalizaton of iterators out of loop,
15643 avoid reevaluation.
15644 (expand::Documents): introduce typdedef vector<string> Strings,
15646 (expand::ExportFormats): introduce typedef vector<Format const *>
15647 Formats, and use it.
15648 (expand): implement FloatListInsert and FloatInsert.
15650 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15651 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15652 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15654 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15656 (Dispatch::LFUN_FLOAT_LIST): implement
15658 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15660 * LaTeX.C (run): Fix problem with --export code.
15662 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15664 * BufferView.[Ch] (workarea): removed.
15665 (getClipboard) new method; wrapper for workarea()->getClipboard()
15667 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15670 * WorkArea.h (width, height, xpos, ypos): These methods all
15671 returned the dimensions of the work_area sub-area of WorkArea,
15672 resulting in a position error if the WorkArea were resized. Now
15673 return the dimensions of the entire WorkArea.
15675 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15677 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15679 * LaTeX.C (deplog): correct the syntax of regex reg1
15681 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15683 * undo.C: remove !NEW_INSETS cruft
15685 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15687 * text2.C: remove !NEW_INSETS cruft
15689 * text.C: remove !NEW_INSETS cruft
15691 * tabular.C: remove !NEW_INSETS cruft
15693 * spellchecker.C: remove !NEW_INSETS cruft
15695 * lyxtext.h: remove !NEW_INSETS cruft
15697 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15699 * lyxfunc.C: remove !NEW_INSETS cruft
15701 * lyxfind.C: remove !NEW_INSETS cruft
15703 * lyx_cb.C: remove !NEW_INSETS cruft
15705 * figureForm.C: remove !NEW_INSETS cruft
15707 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15709 * buffer.[Ch]: remove !NEW_INSETS cruft
15711 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15713 * CutAndPaste.C: remove !NEW_INSETS cruft
15715 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15717 * BufferView2.C: remove !NEW_INSETS cruft
15719 * BufferView.h: remove !NEW_INSETS cruft
15721 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15723 * Lsstream.h: include LString.h before the sstream headers to
15724 fix problem with gcc 2.95.3 and lyxstring
15726 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15728 * lyx_main.C: add using directives when needed for C functions
15729 declared in std:: namespace.
15731 2001-04-27 Juergen Vigna <jug@sad.it>
15733 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15734 (SetHeightOfRow): comment out the update call should not be needed!
15736 2001-04-13 Juergen Vigna <jug@sad.it>
15738 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15739 (LyXTabular): tried to minimize operator= operations (and realized
15740 hopfully Lars wish).
15742 2001-04-27 Juergen Vigna <jug@sad.it>
15744 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15746 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15748 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15750 * buffer.C (readInset): hack to make listof algorithm work
15752 * BufferView_pimpl.C: hack to make listof algorithm work
15754 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15756 * LyXAction.C: removed all !NEW_INSETS cruft
15757 (init): moved lfun_item in method
15759 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15761 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15763 * BufferView2.C (theLockingInset): white space.
15765 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15767 * minibuffer.C: include <iostream>
15769 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15771 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15773 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15775 * text.[Ch] (TransposeChars): new method
15777 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15779 * call message directly through LyXView instead of through LyXFunc
15780 * BufferView2.C: adjust
15781 * BufferView_pimpl.C: adjust
15782 * FontLoader.C: adjust
15784 * bufferview_funcs.C: adjust
15785 * converter.C: adjust
15786 * figureForm.C: adjust
15787 * importer.C: adjust
15789 * lyx_gui_misc.C: adjust
15790 * lyxfunc.C: adjust
15793 + more files in subdirs
15795 * lyxparagraph.h (size): move up int file
15798 * adjust all uses of Assert to lyx::Assert.
15800 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15801 lyxfunctional in namespace lyx
15802 * layout.C (hasLayout): ditto
15805 (delete_layout): ditto
15806 (NumberOfClass): ditto
15807 * converter.C (GetFormat): ditto
15812 * bufferlist.C (getFileNames): ditto
15813 (emergencyWriteAll): ditto
15816 * MenuBackend.C (hasSubmenu): ditto
15819 * BufferView_pimpl.C (getInsetByCode): ditto
15821 2001-04-18 Juergen Vigna <jug@sad.it>
15823 * vspace.C (asLatexString): fixed the 100% problem.
15825 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15827 * lyxfunc.C (Dispatch):
15829 * minibuffer.h: add a few std:: qualifiers
15831 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15833 * minibuffer.[Ch]: reimplement so that commands is initiated and
15834 run from lyxfunc, simplified som handling, and made the completion
15835 and history code for complete. wip.
15837 * lyxfunc.C (processKeySym): call message
15838 (miniDispatch): new temporary method
15839 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15840 (LFUN_MESSAGE): implement
15841 (LFUN_MESSAGE_PUSH): implement
15842 (LFUN_MESSAGE_POP): implement
15843 (initMiniBuffer): the initial/defualt minibuffer message.
15845 * lyxfont.[Ch]: inline some more getters
15847 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15849 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15851 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15852 (AutoSave): use LFUN_MESSAGE
15853 (Reconfigure): ditto
15855 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15857 * figureForm.C: use LFUN_MESSAGE
15859 * converter.C (runLaTeX): use LFUN_MESSAGE
15861 * bufferview_funcs.C: use LFUN_MESSAGE
15863 (changeDepth): ditto
15865 * bufferparams.h: use boost::
15867 * bufferlist.h: inherit privately from noncopyable
15869 * bufferlist.C (loadLyXFile): remove some commented code.
15871 * buffer.C (runChktex): use LFUN_MESSAGE
15873 * ShareContainer.h: inherit privately from noncopyable
15875 * ParagraphParameters.[hC] (depth): inline it.
15877 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15879 (message): new method
15880 (messagePush): ditto
15881 (messagePop): ditto
15882 (show): init minibuffer
15883 (showState): direct call
15885 * LaTeX.[Ch]: inherit privately from noncopyable
15886 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15887 instead of WriteStatus.
15889 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15891 * BufferView_pimpl.C (buffer): don't init minibuffer
15892 (workAreaButtonPress): use LFUN_MESSAGE
15893 (workAreaButtonRelease): ditto
15894 (savePosition): ditto
15895 (restorePosition): ditto
15896 (MenuInsertLyXFile): ditto
15897 (workAreaExpose): don't init minibuffer
15898 (update): remove commented code, simplify
15900 * BufferView2.C (openStuff): use LFUN_MESSAGE
15901 (toggleFloat): ditto
15904 (copyEnvironment): ditto
15905 (pasteEnvironment): ditto
15910 (updateInset): remove some commented code
15912 * lastfiles.h: inherit privately from noncopyable
15915 * lyx_main.h: ditto
15917 * lyxlex_pimpl.h: ditto
15919 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15920 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15921 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15923 * LyXAction.h: inherit privately from noncopyable, add methods
15924 func_begin, func_end, returning iterators to the func map.
15926 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15927 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15928 (func_begin): new method
15929 (func_end): new method
15931 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15933 (copySelection): ditto
15934 (pasteSelection): ditto
15936 * BufferView.C: whitespace change
15937 * BufferView.h: inherit privately from noncopyable
15939 2001-04-16 Allan Rae <rae@lyx.org>
15941 * tabular-old.C (l_getline):
15942 * spellchecker.C (sc_check_word):
15943 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15944 an unrecognised preprocessor directive. So ensure they're wrapped.
15946 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15948 * src/exporter.C (Export): Give an error message when path to file
15951 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15953 * LaTeX.C (deplog): Always check that foundfile exists.
15955 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15958 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15960 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15962 * tabular.[Ch] (getLabelList): implement new method
15964 * minibuffer.h: comment ouf setTiimer
15966 * minibuffer.C (ExecutingCB): constify res
15967 (peek_event): constify s
15968 (Set): constify ntext
15969 (Init): constify nicename
15971 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15973 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15974 (savePosition): use two params to Minibuffer::Set
15975 (restorePosition): ditto
15977 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15979 * lyx_main.C: include language.h
15981 * Makefile.am (lyx_main.o): add language.h
15983 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15989 * CutAndPaste.C: include gettext.h
15991 * lyxfont.h: remove old hack with ON and OFF.
15994 * lyxfont.h: do not include language.h...
15999 * bufferview_funcs.C:
16005 * paragraph.C: ... but do it here instead
16007 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16009 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16011 * tabular.C: small reformat
16013 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16016 (BreakParagraph): ditto
16017 (SetOnlyLayout): ditto
16020 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16023 * lastfiles.C: removed most using decl, add std:: where needed
16025 * buffer.C: ws changes
16027 * MenuBackend.C (class compare_format): put into anon namespace
16028 (expand): constify label, names, action, action2
16031 * text.C (SingleWidth): constify font
16032 (IsBoundary): constify rtl2
16033 (GetVisibleRow): constify ww
16035 * LaTeX.C (deplog): constify logfile
16037 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16039 (workAreaExpose): constify widthChange, heightChange
16041 * lyxrow.C (par): moved
16044 * lyxrow.h: as inlines here
16046 * lyxfont.h (shape): moved from lyxfont.C
16047 (emph): moved from lyxfont.C
16049 * lyxfont.C (LyXFont): use initialization list for all
16051 (shape): move to lyxfont.h as inline
16052 (emph): move to lyxfont.h as inline
16055 2001-04-04 Juergen Vigna <jug@sad.it>
16057 * vspace.C: had to include stdio.h for use of sscanf
16059 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16062 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16063 independent of xforms.
16065 2001-04-02 Juergen Vigna <jug@sad.it>
16067 * spellchecker.C: fixed namespace placing!
16069 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16071 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16072 the LyXParagraph * is 0.
16074 2001-03-29 Juergen Vigna <jug@sad.it>
16076 * vspace.C: added support for %, c%, p%, l%.
16077 (stringFromUnit): added helper function.
16078 (asLatexString): changed to give right results for the %-values.
16080 * buffer.C: convert the widthp in a width%.
16082 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16084 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16087 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16088 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16090 * lyx_cb.[Ch]: see above.
16092 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16096 * lyx.[Ch]: replaced by figure_form.[Ch].
16100 * lyxfunc.C: changed headers associated with above changes.
16102 2001-03-27 Juergen Vigna <jug@sad.it>
16104 * BufferView_pimpl.C: set the temporary cursor right!
16106 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16108 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16110 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16112 * LString.h: removed "using std::getline"!
16114 * BufferView_pimpl.C (Dispatch): changes due to changes in
16115 InsetInclude::Params.
16117 * buffer.C (tag_name): removed redundant break statements as they were
16118 producing lots of warnings with my compiler.
16120 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * LString.h: add "using std::getline" when using the real <string>.
16124 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16126 * buffer.C: removed bitset usage.
16127 PAR_TAG moved to an anonymous name space.
16128 (tag_name): new funtion, also in the anonymous namespace.
16129 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16130 (makeDocBookFile): clean code. Completed transition from string arrays
16132 (SimpleDocBookOnePar): code clean.
16134 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16136 * tabular.C: add some comments.
16138 2001-03-22 Juergen Vigna <jug@sad.it>
16140 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16141 compatibility read a bit and fixed bug with minipage in different
16144 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16146 * buffer.C (pop_tag): removed.
16147 (push_tag): removed.
16148 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16149 array replaced with vector. Added support for CDATA sections.
16150 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16152 (makeDocBookFile): XML conformant declaration of CDATA section,
16153 fixed bug related to <emphasis> in the first paragraph char.
16154 (sgmlOpenTag): exclude empty tags.
16155 (sgmlCloseTag): ditto.
16157 * buffer.h (pop_tag): removed.
16158 (push_tag): removed.
16160 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16162 * language.h (Languages): added size_type and size().
16164 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16166 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16167 response on compability reading of minipages. One probliem is that
16168 the old usage of minipages was «flertydig»
16170 * several files here and in subdirs: don't use static at file
16171 scope use anon namespaces instead.
16173 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16175 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16176 LaTeX output. This is necessary for Literate document
16179 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16181 * buffer.C: insert hfill when needed.
16183 * tabular.C (l_getline): use string::erase, small whitespace change.
16185 * BufferView_pimpl.C: try the anon namespace.
16186 * WorkArea.C: ditto
16188 2001-03-16 Juergen Vigna <jug@sad.it>
16190 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16191 otherwise it won't open options-dialogs.
16193 * buffer.C: honor pextraWidth(p) on converting minipages.
16195 * tabular.C (l_getline): changed the functions to strip trailing \r.
16197 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16199 * BufferView_pimpl.C:
16200 * minibuffer..C: added "using SigC::slot" declaration.
16202 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16204 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16210 * paragraph.C: ditto
16212 * lyxtext.h: NO_PEXTRA
16214 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16216 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16217 * ParameterStruct.h: ditto
16218 * ParagraphParameters.h: ditto
16219 * lyxparagraph.h: ditto
16221 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16223 * buffer.C: add compability for minipage alignment.
16224 (latexParagraphs): remove unwanted pextra check.
16226 * several files: remove CXX_WORKING_NAMESPACES
16228 * buffer.C (pop_tag): tie is in namespace boost
16230 * BufferView.h: noncopyable is in namespace boost
16232 * lyx_main.h: ditto
16235 * lastfiles.h: ditto
16236 * bufferlist.h: ditto
16237 * ShareContainer.h: ditto
16239 * LyXAction.h: ditto
16242 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16244 * Merging changes from BRANCH_MVC back into HEAD.
16246 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16248 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16250 * BufferView_pimpl.C: change from intl.C
16254 * Makefile.am: move combox.*
16260 * intl.C: remove dialog (covered by prefs)
16262 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16264 * lyxfunc.C (Dispatch): removed redundant break statement.
16266 2001-03-14 Juergen Vigna <jug@sad.it>
16268 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16270 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16272 * buffer.C: add hack to fix compability reading of minipages.
16274 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16276 * buffer.C (getLists): Cleanup.
16278 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * lyxfont.C (update): don't honor toggleall on font size.
16282 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16286 * Makefile.am: moved to frontends/xforms/
16290 * BufferView_pimpl.C: changes for moved mathpanel
16292 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16294 * gettext.h: fix gettext_init() in --disable-nls
16296 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16300 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16303 * lyx.h: strip external form
16305 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16307 * BufferView_pimpl.C: add comment, destroySplash()
16309 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16311 * BufferView_pimpl.C:
16315 * lyxfunc.C: use re-worked insetinclude
16317 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16319 * buffer.C: add using std::stringstream.
16321 * lyx_cb.C: readd using std::ios.
16323 * buffer.C: add using std::map.
16325 * BufferView_pimpl.C: add using std::vector.
16327 * ShareContainer.h: add std:: to swap.
16329 * buffer.h: add some typedefs
16330 * buffer.C (getLists): use them
16331 (getLists): renamed from getTocList.
16332 add a counter for the different float types and use it in the
16334 (getLists): use the same counter for the NEW_INSETS and the "non"
16337 * lyx_cb.h: remove unused items, includes, using etc.
16339 * ShareContainer.h: remove some commented code, add more comments
16340 and "documentation".
16342 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16344 * buffer.C (getTocList): make the list also when NEW_INSETS is
16347 * buffer.h: remove TocType
16349 * buffer.C (getTocList): change to return a map<string,
16350 vector<TocItem> >, implement for dynamic number of list.
16352 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16353 * text2.C (PasteSelection): adjust
16354 * CutAndPaste.C (pasteSelection): adjust
16356 * FloatList.C (FloatList): update from the new_insets branch.
16357 * Floating.[Ch]: ditto
16358 * LaTeXFeatures.C: ditto
16360 * lyxlex_pimpl.C: ditto
16362 * paragraph.C (Last): remove when NEW_INSETS is defined.
16364 * other file: changes because of the above.
16366 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16368 * lyxparagraph.h: rename next to next_, previous to previous_,
16369 make them private for NEW_INSETS. Rename Next() to next(),
16370 Previous() to previous().
16372 * other files: changes because of the above.
16374 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16377 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16380 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16382 * main.C (main): pass lyx_localedir to gettext_init().
16384 * gettext.h: remove locale_init and gettext_init macros
16386 * gettext.C (locale_init): new function
16387 (gettext_init): new function
16389 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16392 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16394 * Moved credits to frontends:
16395 * credits.[Ch]: removed
16396 * credits_form.[Ch]: removed
16397 * lyx_gui_misc.C: remove credits stuff
16400 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16402 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16404 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16405 unneeded destructor.
16407 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16408 a standalone pointer again.
16410 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16412 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16418 * ToolbarDefaults.C:
16427 * BufferView_pimpl.C: use new file dialog in GUII
16430 * lyx_cb.C: remove LayoutsCB to Toolbar
16432 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16434 * ShareContainer.h (get): add std:: qualifier
16436 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16438 * ShareContainer.h: define a proper ShareContainer::value_type
16439 type (and use typename to please compaq cxx)
16441 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16443 * lyxparagraph.h: move serveral local vars to
16444 ParameterStruct/ParagraphParameters., use ShareContainer in
16445 FontTable., make vars in FontTable private and add getter and
16448 * paragraph.C: changes because of the above.
16450 * lyxfont.h: remove copy constructor and copy assignment. (the
16451 default ones is ok), move number inside FontBits. move inlines to
16454 * lyxfont.C: add number to initializaton of statics, move several
16455 inlines here. constify several local vars. some whitespace
16456 cleanup. Dont hide outerscope variables.
16458 * Spacing.h: add two new constructors to match the set methods.
16460 * ShareContainer.h: new file, will perhaps be moved to support
16462 * ParameterStruct.h: new file
16464 * ParagraphParameters.h: new file
16466 * ParagraphParameters.C: new file
16468 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16469 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16471 * BufferView_pimpl.C: ParagraphParameter changes.
16472 * buffer.C: Likewise.
16473 * bufferview_funcs.C: Likewise.
16474 * text.C: Likewise.
16475 * text2.C: Likewise.
16477 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16479 * lyxfind.C (LyXReplace): do not redefine default argument in
16481 (IsStringInText): ditto
16482 (SearchForward): ditto
16483 (SearchBackward): ditto
16485 2001-03-06 Juergen Vigna <jug@sad.it>
16487 * lyxfind.C (IsStringInText): put parentes around expressions.
16489 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16491 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16493 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16495 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16497 * stl_string_fwd.h: add comment
16499 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16502 * tabular.C: remove unused DocBook methods
16508 killed DO_USE_DEFAULT_LANGUAGE
16510 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16512 * lyx_gui.C: do not include language.h.
16514 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16515 arguments in function implementation.
16517 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16519 * BufferView_pimpl.C: add <ctime>
16521 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16523 * BufferView_pimpl.C: add using std::find_if
16525 2001-02-27 José Matos <jamatos@fep.up.pt>
16527 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16530 2001-02-11 José Matos <jamatos@fep.up.pt>
16532 * buffer.C (makeDocBookFile): command styles now have a parameter as
16533 "title" by default.
16535 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16537 * layout_forms.[Ch]: removed
16538 * lyx_cb.[Ch]: out character
16539 * lyx_gui.C: out character
16540 * lyx_gui_misc.C: out character
16541 * bufferview_funcs.C: : out character,
16542 added toggleall as parameter in ToggleAndShow
16544 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16546 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16548 * text2.C (SetCurrentFont): Disable number property at boundary.
16550 2001-02-26 Juergen Vigna <jug@sad.it>
16552 * lyxfunc.C (getStatus): added a string argument override function so
16553 that this is correctly called from LyXFunc::Dispatch if it contains a
16554 do_not_use_argument which is used!
16555 (Dispatch): added check for "custom" export and call appropriate func.
16557 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16559 * lyxrc.C: Add language_command_local, language_use_babel and
16560 language_global_options.
16562 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16564 * buffer.C (makeLaTeXFile): Use language_use_babel and
16565 language_global_options.
16567 2001-02-23 Juergen Vigna <jug@sad.it>
16569 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16570 which works with LyXText and putted it inside BufferView. Here now we
16571 only call for that part the BufferView::Dispatch() function.
16573 * BufferView.C (Dispatch): added.
16575 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16576 functions which needs to use a LyXText over from LyXFunc.
16577 (MenuInsertLyXFile): added
16578 (getInsetByCode): added
16579 (moveCursorUpdate): added
16580 (static TEXT): added
16582 2001-02-22 Juergen Vigna <jug@sad.it>
16584 * BufferView_pimpl.C (update): call a status update to see if LyXText
16587 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16589 * vc-backend.C (revert): implement for CVS
16590 (getLog): implement for CVS
16592 2001-02-20 Juergen Vigna <jug@sad.it>
16594 * text2.C (ClearSelection): added BufferView param for inset_owner call
16596 * lyxfunc.C (TEXT): added this function and use it instead of
16597 directly owner->view()-text of getLyXText().
16599 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16601 * src/layout_forms.C: out preamble
16602 * src/layout_forms.h: out preamble
16603 * src/lyx_cb.C: out preamble
16604 * src/lyx_cb.h: out preamble
16605 * src/lyx_gui.C: out preamble
16606 * src/lyx_gui_misc.C: out preamble
16607 * src/lyxfunc.C: connect with guii preamble
16609 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16611 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16613 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16615 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16616 whether to run bibtex.
16618 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16620 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16622 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16624 * Makefile.am (lyx_SOURCES): removed bibforms.h
16626 * vspace.h: doxygen
16628 * text.C (GetVisibleRow): make several local vars const
16630 * tabular.C: small cleanup.
16632 * lyxserver.C (callback): use compare instead of strncmp
16634 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16635 inlines to after class or to paragraph.C
16637 * lyxfont.h: remove friend operator!=
16639 * converter.h: move friend bool operator< to non friend and after
16642 * combox.h: small cleanup
16644 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16645 to inlines after class def.
16647 * buffer.C (pop_tag): use string operations instead of strcmp
16649 * bmtable.c: doxygen, small cleanup
16651 * LaTeX.h: remove friend operator==
16653 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16665 * BufferView_pimpl.C:
16666 * BufferView.[Ch]: remove cruft
16668 2001-02-14 Juergen Vigna <jug@sad.it>
16670 * lyxfunc.C: removed #if 0 unused code
16672 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16674 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16676 * text2.C (SetSelection): added a BufferView * parameter
16678 2001-02-13 Juergen Vigna <jug@sad.it>
16680 * lyxfunc.C (Dispatch): fixed protected blank problem.
16681 * BufferView2.C (protectedBlank): added LyxText * parameter.
16683 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16684 (AppendColumn): same as above for column_info.
16686 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16687 (moveCursorUpdate): use a LyXText param for support of InsetText.
16689 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16690 (tripleClick): ditto
16692 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16694 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16696 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16698 * text2.C (SetSelection): set correct update status if inset_owner
16699 (ToggleFree): ditto
16701 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16703 * tabular.C: remove some commented code.
16705 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16707 * BufferView_pimpl.C: call hideSplash()
16709 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16712 * bibforms.h: remove
16715 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16716 add LFUN_CHILD_CREATE
16718 * counters.h: fix tiny typo
16723 * lyx.C: move splash to frontends/xforms/
16725 * lyx_gui_misc.C: move Include and Bibform to frontends
16727 * lyxvc.h: clarify comment
16729 * vspace.C: tiny housekeeping
16731 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16733 * text.C (PrepareToPrint): RTL Fix.
16735 * paragraph.C (GetUChar): New method.
16736 (String): Use GetUChar.
16738 * buffer.C (asciiParagraph): Use GetUChar.
16740 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16742 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16744 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16747 * buffer.C: rename to getLogName(), handle
16748 build log / latex log nicely
16750 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16753 * MenuBackend.h: remove support for reference menuitem type.
16755 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16757 * BufferView_pimpl.C: housekeeping
16758 * BufferView_pimpl.h:
16763 * minibuffer.h: move Timeout GUI-I
16765 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16767 * lyxrc.C (read): Update converters data-structures.
16769 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16771 * LaTeX.h (operator!=): add operator != for Aux_Info
16773 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16775 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16777 * LaTeXLog.C: deleted, useful code moved to Buffer
16780 * buffer.C: new function getLatexLogName()
16786 * lyxfunc.C: use frontends for LaTeX and VC logs
16788 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16790 * LaTeX.h: yet another std:: that Allan forgot.
16792 * Variables.C (set): renamed from isset(), because this clashes
16793 with some HP-UX macros (grr).
16795 2001-02-06 Allan Rae <rae@lyx.org>
16797 * LaTeX.h: Another bug fix. Missing std:: this time.
16799 2001-02-04 Allan Rae <rae@lyx.org>
16801 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16802 floats problem. I've left it commented out because it's not quite
16803 correct. It should also test that the current object is a table or
16804 figure inset. But I haven't gotten around to figuring out how to do
16805 that. I *think* it'll be something like: "table" == inset.type()
16807 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16810 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16812 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16813 all the citation/databases/styles in the auxilary file.
16814 (run): Rerun latex if there was a babel language error.
16816 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16818 * text.C (Backspace): Preserve the font when changing newline char
16820 (BreakParagraph): If the cursor is before a space, delete the space.
16822 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16824 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16826 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16827 new argument (code).
16828 (ChangeCitationsIfUnique): New method.
16830 * paragraph.C (GetPositionOfInset): Handle bibkey.
16832 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16834 * BufferView_pimpl.h: change type of Position::par_pos to
16835 LyXParagraph::size_type.
16837 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16839 * BufferView_pimpl.C (savePosition, restorePosition): Write
16840 messages to minibuffer.
16842 2001-01-28 José Matos <jamatos@fep.up.pt>
16844 * buffer.C (makeDocBookFile): adds support for document language.
16845 A silly restriction on the name of LatexCommand types where removed.
16846 Added support for CDATA sections, allows to chars unescaped, used
16847 among others in code, to avoid escape < and >.
16849 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16851 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16852 saved positions instrad of a stack. Furthermore, a position is
16853 stored using paragraph id/paragraph position.
16855 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16856 Remove LFUN_REF_BACK.
16858 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16860 * converter.C (dvipdfm_options): New method.
16862 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16864 * vspace.C (isValidLength): Fix for empty input string.
16866 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16868 * LyXAction.C (init): change description of LFUN_FIGURE to
16871 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16873 * LaTeX.C: add using directive
16875 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16877 * MenuBackend.C (expand): Fix the sorting of the formats.
16879 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16881 * lyx_main.C: tiny error message fix
16883 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16885 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16886 calling fl_initialize(). This fixes the problem with ',' as
16887 decimal separator in text files.
16889 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16891 * trans.C (process): Fix the keymap bug.
16893 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16895 * LaTeX.C (scanAuxFiles): New method. Provides support for
16896 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16897 (scanLogFile) Scan for "run BibTeX" messages.
16899 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16900 OT1 font encoding. Also, load the aecompl package if the ae
16903 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16905 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16907 * texrow.C (increasePos): turn two error messages into debug
16910 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16912 * LaTeX.C (scanAux): Handle the \@input macro.
16913 (runBibTeX): Use scanAux().
16915 * language.C (latex_options_): New field.
16917 * LaTeXFeatures.C (getMacros): Add language macros.
16919 * buffer.C (makeLaTeXFile): Small fix.
16921 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16923 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16925 * text2.C: add a using directive.
16927 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16932 * lyxfunc.C: kill LyXBell.
16934 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16936 * text.C (IsBoundary): Remove the error message
16938 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16940 * lyxrc.C (setDefaults): Correct initialization value for
16943 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16945 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16948 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16949 and GotoNextNote().
16951 * src/LyXAction.C: Added reference-next.
16953 * text.C (InsertChar): Use contains instead of strchr.
16955 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16957 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16959 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16960 alignment commands (when needed).
16962 * text.C (InsertChar): Add ':' to number separator chars.