1 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * converter.[Ch] (convert): take a new parameter try_default. Use
4 a default converter (imagemagick) if try_default is true.
6 2005-01-13 Angus Leeming <leeming@lyx.org>
8 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
10 (write): output LyXRC::cygwin_path_fix as necessary.
12 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
15 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
17 2005-01-12 Angus Leeming <leeming@lyx.org>
19 * lyx_main.C (init): set the PATH variable to include the
20 directory containing the LyX binary when running on Mac or Windows.
22 2005-01-12 Angus Leeming <leeming@lyx.org>
24 * lyx_main.C (init): remove cruft that purports to set the locale
25 dir. It doesn't and is not needed anyway.
27 2005-01-10 Angus Leeming <leeming@lyx.org>
29 * Makefile.am: remove the lyx_main.C special casing.
37 * messages.C: use support/package.h to provide the paths to the
38 various directories used by LyX.
40 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
42 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
43 layout if pasting into an empty paragraph)
45 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
47 * tex-accent.C: add <string>
49 2005-01-06 José Matos <jamatos@lyx.org>
51 * ParagraphParameters.C (write): put every parameter in its own line.
52 * paragraph.C (write): reduce number of consecutive empty lines exported.
53 * buffer.C (LYX_FORMAT): increase file format to 239.
55 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
57 * everywhere: change support/tostr.h -> support/convert.h
59 * tabular.C: make all write_attributes templates, tostr -> convert
61 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
62 (emptyTag): and -> &&, and fix type for ret from getChar
63 (getFirstWord): fix type for ret from getChar
65 (simpleDocBookOnePar): and not -> && !, fix type for ret from
68 * toc.C (goTo, action):
70 * text.C (currentState):
71 * tex-accent.C (DoAccent):
74 * lyxfunc.C (menuNew):
75 * lyxfinc.C (replace):
76 * counters.C (laberItem):
77 * bufferview_funcs.C (font2string):
78 * bufferparams.C (writeFile):
79 * buffer.C (readFile):
81 * MenuBackend.C: tostr -> convert
83 * LaTeX.C (runMessage): fix format
84 (scanAuxFiles): tostr -> convert
86 * BufferView_pimpl.C (savePosition): fix format
87 (restorePosition): ditto
90 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
92 * Spacing.[Ch]: New method getValueAsString().
96 * ParagraphParameters.C:
99 * text3.C: store/read spacing value as string.
101 * rowpainter.C: change float value (spacing_val) to double.
103 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
104 broken custom document spacing).
106 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
108 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
109 namespace, also more use of temp references and const
111 * cursor.[Ch] (getStatus): move to lyxfunc.C
113 * bufferparams.C: reformat slightly
115 * bufferview_funcs.C (font2string): constify arg
121 * buffer_funcs.C: (many funcs): constify arg on function
122 definitions, also make more local vars const, also add ASSERTS on
125 * buffer.C (LYX_FORMAT): put const in correct place
126 (many funcs): constify arg on function definitions, also make
127 more local vars const
129 * aspell_local.h: remove "struct" from typdef setup
131 * aspell.C (check): make word_ok const
132 (nextMiss): simplify slightly
135 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137 * lyxrc.[Ch]: store all float values as strings.
138 use int (not float) for lyxrc.dpi.
140 2005-01-04 Angus Leeming <leeming@lyx.org>
142 * lyx_cb.C (Reconfigure):
143 * lyx_main.C (queryUserLyXDir):
144 to run the <system_lyxdir>/configure correctly on Windows, prefix
145 the path to the script with "sh " when generating the string that
146 is passed to system().
148 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
152 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
154 * lyxlength.C (asLatexString): get rid of setprecision
156 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
158 * text2.C (setLayout): remove unused variable endpit.
159 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
161 * paragraph.C (onlyText): remove unused variable style.
163 * cursor.C (bruteFind): remove unused variables beg and end.
165 * Makefile.am (dist_noinset_DATA): not needed anymore
167 * cheaders/*: remove.
169 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
171 * text3.C: fix LFUN_MATH_MODE.
173 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
175 * buffer_funcs.C (countWords): new function. Counts words between
178 * BufferView_pimpl.C (getStatus, dispatch): handle
181 * LyXAction.C (init):
182 * lfuns.h: add LFUN_WORDS_COUNT.
184 2004-12-19 Angus Leeming <leeming@lyx.org>
186 * buffer.C (save): s/slashify_path/internal_path/.
188 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
190 * lyxfind.C (findChange): do not search for end of pars, because
191 the change tracker cannot handle this (fixes bug 1719).
193 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
195 * paragraph.[Ch] (autoBreakRows): remove
197 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
199 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
200 avoid using the paragraph one
202 * text2.C (LyXText, insertStringAsLines): adjust
204 2004-12-16 Angus Leeming <leeming@lyx.org>
208 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
210 2004-12-14 Angus Leeming <leeming@lyx.org>
212 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
214 * bufferlist.C (emergencyWrite):
215 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
218 2004-12-14 Angus Leeming <leeming@lyx.org>
220 * main.C: (main): no longer pass pointers to os::init.
222 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
224 * undo.C (textUndoOrRedo): simplify logic, fix a crash
225 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
227 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
230 * text3.C: remove selection_possible global flag
232 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
234 * text2.C (getSelectionSpan): remove
235 (changeDepth, changeDepthAllowed): adjust
237 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
239 * Makefile.am (BOOST_LIBS): use boost variables
241 2004-12-03 José Matos <jamatos@lyx.org>
243 * buffer.C: format up to 238.
245 2004-12-03 José Matos <jamatos@lyx.org>
247 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
249 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
251 * cursor.C (goUpDown): remove call to idxUpDown2
253 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * tabular.[Ch]: use size_t-like types for cell, row and column
258 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
260 * lyxfunc.C (getStatus): do not lose previous information when
261 calling BufferView::getStatus; do not set a default "Command
262 disabled" message at the beginning, but just before returning.
264 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
266 * cursor.h (getStatus): add better comment from src/cursor.C
268 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
270 * text3.C (getStatus): return false when the lfun is not handled
272 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * broken_headers.h: remove
276 * Makefile.am (lyx_SOURCES): remove broken_headers.h
278 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
280 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
283 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
284 top_y_, merge fitcursor with update
285 (updateScrollbar, scrollDocView, fitCursor, center, update): new
288 (workAreaDispatch): adapt to new coord scheme
289 (redoCurrentBuffer): remove
291 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
293 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
296 * coordcache.[Ch]: add paragraph cache and helpers
298 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
301 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
302 (targetX, setTargetX): introduce
304 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
305 baseline -> ascent, as the rest of lyx
307 * lyxtext.h: remove redoParagraphs, updateParPositions,
308 fullRebreak, redoParagraphInternal. move dist to anon namespace in
309 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
310 have ascent/descent (ascent is ascent of first par)
312 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
315 * paragraph.[Ch]: unify dimension handling with the rest of lyx
317 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
319 * pariterator.C: fix infinite loop introduced in par->pit renaming
321 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
322 in insets and LyXText, draw two off-screen paragraphs using
323 NullPainter, and adapt to new coord scheme
327 * text3.C: adapt lfun handlers to the new coord scheme, which
328 means: there's only guaranteed coord information for onscreen pars
329 plus one above and one below. This implies that one can do search
330 from y coordinates in the range [-1,workHeight]
332 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
334 * rename a lot of InsetOld to InsetBase
336 2004-11-25 Angus Leeming <leeming@lyx.org>
338 * BufferView_pimpl.C:
340 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
342 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
345 call BufferView::getStatus if LCursor::getStatus did nothing
346 (setStatusMessage, getStatusMessage): removed.
348 * FuncStatus.C (message): new methods. Used to provide an error
349 message indicating why a command is disabled.
350 (clear, |=, FuncStatus): update for message.
352 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
354 * lyxfunc.C (dispatch): always call sendDispatchMessage
356 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
359 * BufferView_pimpl.C:
373 * undo.C: par->pit renaming
375 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
377 * tabular.C (cellstruct): use initialization, store a shared_ptr
378 to insettext instead of the insettext directly, adjust to fit.
379 (operator=): new function
381 (rowstruct): use initialization
382 (columnstruct): use initialization
383 (ltType): use initialization
386 * lyxlength.h (swap): new function
388 * LColor.[Ch] (operator=): use the common semantics
390 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * lyxfind.C (findNextChange): update the bufferview after setting
395 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
398 number of InsetOptArgs has already been inserted.
400 * output_latex.C (latexOptArgInsets): new method. This outputs all
401 the optarg insets, up to the limit defined in the layout file.
402 (optArgInset): removed
403 (TeXOnePar): call latexOptArgInsets; correctly update texrow
405 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * paragraph.C (isLetter): remove special spellchecker-related
408 code; return true also for digits
409 (isWord, isKomma): remove
411 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
412 * lyxfind.C (MatchString()): use isLetter instead of isWord
414 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
416 * pariterator.h (operatir=): comment out un-implemented member
419 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
422 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
424 * lyxfont.h: include LColor.h to satisfy concept checks.
426 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * pariterator.h: add typdefs for value_type, difference_type,
429 pointer and reference to satisfy concept checks. Also add default
430 constructor for same reason.
432 * pariterator.C (operator++): add post-increment operator to
433 satisfy concept checks.
435 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
438 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
440 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
441 checks. Also rename base_type to BaseType to follow naming
444 * FloatList.h: include Floating.h to satisfy concept checks.
446 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
448 * lyxfunc.C (getStatus): when the origin of the request is menu or
449 toolbar, and the LyXView does not have focus, do as if there was
452 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
453 FuncRequest to individual entries of LFUN_SEQUENCE
455 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * output_latex.C (TeXOnePar): override runparams.moving_arg
458 according to the needprotect value of the current paragraph (bug
461 * paragraph.C (simpleTeXOnePar): no need to override
462 runparams.moving_args here
464 2004-11-14 John Spray <spray_john@users.sourceforge.net>
466 * vspace.C: fix off-by-one-error, related to fix #1682
468 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
470 * lengthcommon.C: a more general fix for bug 1682
472 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
474 * text.C (backspace): fix crash
476 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
478 * format.[Ch] (getFormatFromFile): new method
479 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
481 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
483 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
485 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
487 * lyxfunc.C (dispatch): remove the verbose argument
488 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
491 * kbmap.C (defkey): set the origin of func to KEYBOARD
493 * MenuBackend.C (MenuItem):
494 * ToolbarBackend.C (add): set the origin of func to UI
496 * funcrequest.[Ch]: add origin member, which indicates which part
497 of LyX requests an action
499 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
501 * converter.C (move): don't lie in the error message
502 * converter.h (isReachable, move): document
504 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
506 * buffer.C: remove unused using lyx::support::atoi
507 * paragraph_funcs.C: ditto
509 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
511 * bufferlist.C (exists): use bind and equal_to instead of
514 * lyxtextclasslist.C (NumberOfClass): ditto
516 * cursor.C (insert): use for_each instead of explicit for loop
518 * bufferlist.C (getFileNames): use std::transform and
519 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
521 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
524 * buffer.C (changeLanguage): use for_each instead of explicit for
526 (hasParWithID): implement using getParFromID
528 * LaTeXFeatures.C: ws change only
530 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
533 * BufferView_pimpl.C (trackChanges): use for_each instead of
536 2004-11-04 André Pönitz <poenitz@gmx.net>
539 * undo.C (textUndoOrRedo): fix crash when creating undo information.
541 * dociterator.C (asDocIterator): use hard assert again.
543 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * lyxlength.C (asLatexString): rewrite so that it does not use
548 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * text3.C (specialChar, dispatch): make sure cursor moves to the
551 right after inserting an inset
553 2004-11-02 José Matos <jamatos@lyx.org>
555 * output_docbook.C (docbook):
556 * paragraph.C (getID):
557 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
558 garantee that the output is always legal.
560 * tabular.C (docbook):
561 * outputprams.[Ch]: remove mixed contents.
563 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
565 * text2.C (setCounter): prevent endless loop
567 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
569 * exporter.C (copyFile): use the mover instead of support::copy()
570 * exporter.C (Export): pass format and latex name to copyFile()
571 * exporter.h (addExternalFile): document
572 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
574 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
576 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
578 2004-10-30 José Matos <jamatos@lyx.org>
580 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
581 text and no inset or font change. This allows to use CDATA
582 sections just for the whole paragraph.
584 2004-10-30 José Matos <jamatos@lyx.org>
586 * paragraph.C (getFirstWord): remove unused variable.
588 2004-10-30 José Matos <jamatos@lyx.org>
590 * paragraph.C (getFirstWord): the content should always be escaped
592 (simpleDocBookOnePar):
593 * output_docbook.C (makeEnvironment): replace reference to CDATA
596 2004-10-30 José Matos <jamatos@lyx.org>
598 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
600 2004-10-30 José Matos <jamatos@lyx.org>
602 * output_docbook.C (makeParagraphs):
603 * paragraph.[Ch] (emptyTag): for docbook and company, if the
604 standard paragraph has only a given type of content drop the wrapper.
606 2004-10-29 José Matos <jamatos@lyx.org>
608 * output_docbook.C (makeEnvironment):
610 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
612 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
614 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
615 (cleanID): sanitize any id.
617 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
619 * buffer.C, lyxlex_pimpl.C:
620 * lyxlex_pimpl.C (setFile):
621 s/getExtFromContents/getFormatFromContents/
623 2004-10-28 José Matos <jamatos@lyx.org>
625 * output_docbook.C (makeEnvironment): move id to broadest possible
628 * sgml.C (openTag): apply substitution of <> for all attributes.
630 2004-10-28 José Matos <jamatos@lyx.org>
632 * buffer.C (makeLinuxDocFile, makeDocBookFile):
633 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
634 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
636 * sgml.[Ch]: new version for open and closeTag for paragraph and
637 for strings. Now they handle the ids of paragraphs.
639 2004-10-26 Angus Leeming <leeming@lyx.org>
641 * Makefile.am: add mover.[Ch].
643 * converter.C (convert, move): use the new Movers to move external
644 files to the temp directory.
646 * lyx_main.C (init): ensure that the global system_movers data
649 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
652 * mover.[Ch]: new files, defining a Mover as a utility to move an
653 external file between directories and, if necessary, manipulate this
654 file using a helper script.
656 2004-10-25 José Matos <jamatos@lyx.org>
658 * output_docbook.C (makeCommand): merge two if's that tested the
661 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * sgml.C (escapeString): fix warning in a better way
665 2004-10-25 José Matos <jamatos@lyx.org>
667 * sgml.C (escapeString): import the require boosts header file for
668 tie, and avoid a signed unsigned comparison.
670 2004-10-25 José Matos <jamatos@lyx.org>
672 * sgml.h: add #include <string>
674 2004-10-25 José Matos <jamatos@lyx.org>
676 * sgml.[Ch] (escapeString): new function to escape all the string.
678 2004-10-24 José Matos <jamatos@lyx.org>
680 * paragraph.[Ch] (getFirstWord): new function to get the first
681 word. Useful for description.
682 (simpleDocBookOnePar): remove depth argument, add another that
683 says where to start the paragraph.
685 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
686 use the new functions to fix cleanly the support for descriptions.
688 2004-10-24 José Matos <jamatos@lyx.org>
690 * buffer.C (makeLinuxDocFile, makeDocBookFile):
691 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
692 * output_linuxdoc.C (linuxdocParagraphs):
693 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
694 add buffer as argument.
696 2004-10-24 José Matos <jamatos@lyx.org>
698 * output_docbook.C (makeEnvironment, searchEnvironment): place
699 CDATA inside paragraphs and fix scope for listitems.
701 2004-10-24 José Matos <jamatos@lyx.org>
703 * output_docbook.C: remove using statement for stack.
705 2004-10-23 José Matos <jamatos@lyx.org>
707 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
708 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
709 docbook. The new scheme is recursive and makes use of iterators, the
710 same as latex export works.
711 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
712 directly with the paragraph contents. This code was moved up to
713 output_docbook.C (docbookParagraphs).
714 * sgml.C (openTag, closeTag): removed unneeded newlines.
715 (closeEnvTags) removed.
717 2004-10-23 André Pönitz <poenitz@gmx.net>
719 * undo.C (textUndoOrRedo):
720 * dociterator.C (asDocIterator): work around crash
722 * cursor.C (getStatus): replace ASSERT by more verbose error message
723 and manual correction of the problem. Should increase stability
724 while providing more sensible information.
726 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
730 * bufferlist.C (previous, next): new methods
733 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
735 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
737 * buffer.C (makeDocBookFile): add dsssl stylesheet control
738 entities to preamble.
740 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
742 * messages.C (Pimpl): strip off translation context information
744 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
746 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
747 the cursor is correct (bug 1694)
749 2004-10-13 José Matos <jamatos@lyx.org>
751 * output_docbook.C (docbookParagraphs): fix closing tags in the
754 2004-10-09 José Matos <jamatos@lyx.org>
756 * buffer.C: format up to 237.
757 * bufferparams.C (write): use tostr to convert booleans to strings.
759 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
761 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
763 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
765 * LaTeX.C: implement use of babel language in xindy.
767 2004-10-05 José Matos <jamatos@lyx.org>
769 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
770 Add new translators to help reading and writing the lyx file.
772 2004-10-05 José Matos <jamatos@lyx.org>
774 * ParagraphParameters.C (read):
775 * text.C (readParToken): replace nexToken by more appropriate lex
778 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
780 * LaTeX.C (runMakeIndex):
781 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
782 (usually 'makeindex') configurable.
784 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
785 with a variable rather than with a number.
787 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
789 * output_latex.C (TeXOnePar): make sure font setting is the first
790 thing that gets output (and the last at the end). Should fix bug
793 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
795 * pch.h: use proper signal include
797 * LaTeX.h: Use preferred calling of Boost.Signal
800 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
802 * pch.h: dont include <boost/function/function0.hpp>
804 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
806 * paragraph_pimpl.h: remove usage of ShareContainer
808 * paragraph_pimpl.C: remove initialization of ShareContainer.
810 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * BufferView.C (putSelectionAt): change the semantics when
815 backwards == true: now, this just swaps cursor and anchor wrt the
818 * BufferView.h (putSelectionAt): add some documentation
820 * lyxfind.C (findBackwards): rewrite using while(). In particular,
821 make sure backwardChar is done at least once (to avoid getting
823 (findNextChange): use putSelectionAt in the forward direction
824 (operator()): use Paragraph::isWord
826 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
828 * Spacing.C (set): c_str fix
830 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
832 * lyx_cb.C (Reconfigure): quote the name of configure script in
833 case it contains spaces
835 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
839 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
840 (BOOST_LIBS): use top_buildir when looking for the file
842 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
844 * pch.h: do not use include boost/format.hpp, multiple symbols
845 will result (gcc bug)
848 2004-08-23 José Matos <jamatos@lyx.org>
850 * bufferparams.C (readToken): fix reading of the author field.
852 2004-08-20 José Matos <jamatos@lyx.org>
854 * lyxrc.C: remove support/translator.h inclusion since it is not used.
856 2004-08-20 José Matos <jamatos@lyx.org>
858 * lyxlex.[Ch] (findToken): remove function.
860 * ParagraphParameters.C (findToken):
861 * bufferparams.C (findToken): replace call for previous function
862 with local copy. This local function has one more argument, the
863 read string argument.
865 2004-08-16 José Matos <jamatos@lyx.org>
867 * ParagraphParameters.C (write):
868 * Spacing.C (writeFile):
869 * bufferparams.C (writeLaTeX):
870 * lyx_cb.C (Reconfigure):
871 * paragraph.C (write):
872 * tabular.C (write): remove unnecessary space at end of line.
875 2004-08-16 José Matos <jamatos@lyx.org>
877 * text.C (readParagraph): remove debug message.
879 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
884 * output_plaintext.C (asciiParagraph): set depth correctly
886 * outputparams.h: add member depth
888 * paragraph_funcs.C (ownerPar): remove.
890 * text2.C (setCounter): remove first_pit; comment out some
891 non-working code that uses ownerPar
893 * BufferView.C (getParentLanguage): remove. Not used anymore, and
896 2004-08-16 José Matos <jamatos@lyx.org>
898 * text.C (readParToken, readParagraph, read): report all unknown tokens.
899 For the same level of importance use the same chanel to report problems.
900 (read): add code to deal with \begin_body and \end_body.
903 2004-08-15 José Matos <jamatos@lyx.org>
905 * lyxlex.C (getString): fix comment, buffer::readBody is now
908 * tex-strings.C (string_papersize): Default -> default,
909 Custom -> custom, for consistency with other options.
911 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
915 * Makefile.am: support pch
917 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * text.C (readParToken): remove the static LyXFont variable and
920 pass it as a parameter instead. This fixes a nasty bug where an
921 inset will be inserted with a bad font in some situations
922 (readParagraph): adapt
924 * text2.C (setCounter): reduce number of calls to pars_[pit]
926 * text.C (singleWidth): add an assert, fix a test
928 * rowpainter.C (paintText): reduce number of calls to singleWidth
930 * paragraph.C (isHfill):
933 2004-08-14 André Pönitz <poenitz@gmx.net>
938 * lyxtext.h (several functions): use a Paragraph & argument
941 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
943 * metricsinfo.h: add a new field ltr_pos to PainterInfo
945 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
947 * text.C (singleWidth): remove useless test
949 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * tabular.h: remove bogus comments
953 * tabular.C (getDescentOfRow):
954 (isPartOfMultiColumn): add assertions
956 * lyxlength.C (inPixels): remove #warning
958 2004-08-14 André Pönitz <poenitz@gmx.net>
960 * paragraph.h: inline getChar()
962 * BufferView.h: remove unused declarations
964 2004-08-14 José Matos <jamatos@lyx.org>
966 * Buffer.[Ch] (readDocument): new name for old readBody.
967 * Buffer.C: new file format, new keywords: \begin_document,
968 \begin_header, \begin_body, \end_body.
970 * bufferparams.C (readToken): replace all calls to lex.nextToken
971 by lex.next(). Do the same to eatLine except where really needed.
973 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
974 line when writing to the lyx file.
976 * output_plaintext.C (asciiParagraph): fix Bibliography style
979 * text.C (read): fix end of file handling.
981 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * MenuBackend.C (Menu::operator[]): new method to access
984 individual menu items
985 (Menu::hasFunc): new method. search for an item that corresponds
987 (MenuBackend::specialMenu): new method
988 (MenuBackend::expand): if a special menu has been set, skip
989 entries whose func() appears in this menu
991 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
993 * text3.C: use Debug::DEBUG a bit more
995 * text.C (leftMargin): try to simplify a tiny bit change var x to
996 l_margin. Dont output the wide margins always.
997 (rightMargin): no margin in inner texts
999 * rowpainter.h (nestMargin): new func
1000 (changebarMargin): new func
1001 (rightMargin): new func
1003 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1007 * factory.C (createInset): modify setDrawFrame
1009 * cursor.C: use Debug::DEBUG a bit more
1011 2004-08-14 André Pönitz <poenitz@gmx.net>
1014 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1015 cache for all insets in (at least partially) visible (top-level)
1018 * BufferView_pimpl.C: reset external coord cache before every update.
1019 This means the coord cache only contains valid entries.
1021 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1024 * BufferView_pimpl.C (getInsetByCode): move function out of class
1025 and change in to a template in anon namespace. Also fix to do what
1028 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1031 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1033 (breakParagraph): rename par to par_offset and use a local
1034 reference. Add code to keep the language over a rebreak.
1035 (breakParagraphConservative): rename par to par_offset, use a
1037 (mergeParagraph): ditto
1039 (isFirstInSequence): ditto
1040 (outerFont): rename pit to par_offset
1042 * paragraph.C: ws change
1043 * paragraph.h: ditto
1047 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1052 * paragraph.C (simpleTeXOnePar): when we have a \item with
1053 optional argument, enclose the argument with curly brackets (in
1054 case it contains a closing square bracket)
1058 * text3.C (checkInsetHit): constify
1060 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1062 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1063 documents (bug 1629)
1065 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1067 Fix toggling of collapsable insets with the mouse (bug 1558)
1069 * lyxfunc.C (dispatch): adapt to LCursor changes
1071 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1072 make sure that dispatch is not invoked twice
1074 * cursor.C (needsUpdate): new method
1075 (dispatch): return void
1076 (result): new method, to access the DispatchResult of the cursor.
1078 2004-08-13 José Matos <jamatos@lyx.org>
1080 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1082 2004-08-13 André Pönitz <poenitz@gmx.net>
1084 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1086 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1089 2004-08-12 André Pönitz <poenitz@gmx.net>
1091 * text3.C: take out the 'cursor right' form insertInset and only
1092 do it in those places when it is really needed. Fixes crash on
1095 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1097 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1099 * BufferView_pimpl.C (setBuffer): initialize the current font of
1100 the underlying LyXText
1102 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1104 * kbsequence.C (print): use UI native formatting for menu
1107 * text.C (insertChar): call Paragraph::insertChar with a font
1110 * paragraph.C (insertInset, insertChar): the version that takes a
1111 LyXFont argument is now a wrapper around the other one (the
1112 opposite used to be true).
1114 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1115 argument. Font setting is done in Paragraph now.
1117 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * outputparams.h: add new members intitle and lang.
1121 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1122 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1124 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * text3.C (dispatch): remove special handling of button 4 and 5,
1127 it is now taken care of in the frontend code.
1129 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1131 * Spacing.h: add <string> (STLPort compile fix)
1133 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1135 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1137 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1139 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1142 * converter.C (showMessage): inherit from unary_function, make
1145 * buffer.C (writeFile): initialize retval
1147 * InsetList.h: rename private variable list to list_
1148 * InsetList.[Ch]: adjust accordingly.
1150 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1152 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1153 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1154 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1155 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1156 * ParagraphParameters.C, LaTeXFeatures.C: replace
1157 "support/std_sstream.h" with <sstream>
1159 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1161 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1162 * lyxsocket.C (LyXServerSocket): ditto
1163 (serverCallback): ditto
1165 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1167 * LaTeXFeatures.C: check release date when loading jurabib.
1169 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1171 * lyxserver.C (startPipe): call register_socket_callback
1172 (endPipe): call unregister_socket_callback
1174 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1176 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1177 (LyXServerSocket): register the callback
1178 (LyXServerSocket): unregister the callback
1179 (fd): delete function
1180 (serverCallback): improve error checking and setup the callbacks.
1181 (dataCallback): change arg to fd.
1182 (writeln): new func (copied fro the client socket) used for server
1184 (LyXDataSocket): simplify
1185 (~LyXDataSocket): close ann unregiser callback
1186 (server): delete function
1187 (fd): delete function
1188 (readln): small changes, improve some std::string usage
1189 (writeln): constify a bit
1191 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1193 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1196 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1198 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1199 after it has been populated
1201 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1203 * text2.C (insertInset): move cursor when inserting inset.
1205 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * kbmap.C (findbindings): a couple of new methods. returns a
1208 container of kb_sequence objects. The real work is done by the
1209 private recursive version
1210 (printbindings): uses findbindings to print out a bracketed list
1211 of bindings (renamed from findbinding).
1213 * MenuBackend.C (binding): use kb_keymap::findbindings
1215 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1217 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1219 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1221 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1223 * paragraph.C (isWord): return true on insets that report
1226 * text.C (getWord): use Paragraph::isWord to decide what is in a
1227 word and what is not; fix bug 1609.
1229 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1231 * tex-strings.C: add "none" to string_paperpackages[], fixes
1232 off-by-one-error in the paperpackage selection.
1235 * tex-strings.[Ch]: char const * string[n]
1236 -> char const * const string[]
1238 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1240 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1241 command, return early.
1243 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1245 * debug.h: add DEBUG to enum and fix size of ANY.
1247 * debug.C: add support for Debug::DEBUG
1248 (showTags): cast errorTags.level to unsigned int
1250 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1251 (redoCurrentBuffer): ditto
1252 (updateScrollbar): ditto
1253 * cursor.C (dispatch): ditto
1254 * text2.C (setLayout): ditto
1256 (updateCounters): ditto
1258 (deleteEmptyParagraphMechanism): ditto
1260 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1262 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1263 annotations to cleanup the Makefile slightly.
1265 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1267 * lyxrc.C: do not set user_email to a default value but use empty
1268 instead. The entry used to be translated, which does not work
1269 since at the point where lyxrc is constructed there is no
1270 translation service available
1272 * messages.C (getLocaleDir): remove and use directly
1273 lyx_localedir() instead
1275 2004-06-02 Angus Leeming <leeming@lyx.org>
1277 Fix crash caused by dereferencing null pointer 'exportdata' in
1278 OutputParams by creating a new ExportData variable on the heap,
1279 storing it in a boost::shared_ptr.
1280 The crash was triggered when generating an Instant Preview
1281 of an external inset.
1283 * Makefile.am: add outputparams.C
1285 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1286 (c-tor): allocate memory to it.
1288 * exporter.C (c-tor): associated changes.
1290 2004-06-01 Angus Leeming <leeming@lyx.org>
1292 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1293 contains data before calling isInset(0). (Bug 1513.)
1295 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1297 * exporter.C (checkOverwrite): new method
1298 * exporter.C (copyFile): new method
1299 * exporter.C (Export): copy referenced files to the document dir
1300 * exporter.[Ch]: new class ExportedFile
1301 * exporter.[Ch]: new class ExportData. Contains currently the
1302 names of referenced external files
1303 * outputparams.h: add exportdata member.
1305 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1307 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1310 2004-05-19 Angus Leeming <leeming@lyx.org>
1315 * lyxfunc.C: small changes due to the introduction of namespace
1316 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1318 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1320 * text3.C (dispatch): supress update when only moving the cursor
1321 * cursor.C (selHandle): remove commented code
1323 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1325 * paragraph.C (startTeXParParams): correct column count
1326 * CutAndPaste.C (pasteSelection): remove const_cast
1327 * output_docbook.C (docbookParagraphs): remove const_cast
1328 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1329 const_cast and return ParagraphList::const_iterator
1330 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1331 * output_plaintext.C (writeFileAscii): remove const_cast
1332 * paragraph.[Ch] (simpleTeXOnePar): make const
1333 * paragraph_funcs.C (outerPar): use const iterators
1334 * paragraph_pimpl.C (validate): use const iterators
1335 * text.C (setHeightOfRow): use const iterators
1337 2004-05-17 Angus Leeming <leeming@lyx.org>
1340 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1342 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1343 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1344 if the citation engine has changed.
1346 2004-05-14 José Matos <jamatos@lyx.org>
1348 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1349 if the textclass does not provide it. Have it different for sgml and
1351 support the language of document.
1352 * output_docbook.C (docbookParagraphs):
1353 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1354 first anchor as the id of the paragraph, remove special case code.
1355 * sgml.C (escapeChar): escape only < & >.
1357 2004-05-14 Angus Leeming <leeming@lyx.org>
1359 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1360 dependencies on src/frontends/controllers/biblio.h. Define a
1361 CiteEngine_enum wrapper class to enable the enum to be forward
1364 2004-05-12 Angus Leeming <leeming@lyx.org>
1366 * buffer.C: up LYX_FORMAT to 234.
1367 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1368 use_numerical_citations with a single biblio::CiteEngine cite_engine
1370 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1372 2004-05-13 José Matos <jamatos@lyx.org>
1375 * converter.C (Converter, readFlags): add xml member.
1376 * outputparams.h: add XML flavor.
1377 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1379 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * lyxfunc.C (dispatch):
1382 (getStatus): fix handling of LFUN_SEQUENCE
1384 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1386 * debug.C (showLevel): do not forget the end-of-line marker
1388 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1390 * kbmap.C (read): do not stop parsing a bind file when an error
1393 2004-04-29 Angus Leeming <leeming@lyx.org>
1398 * text2.C: wrap a bunch of #warning statements
1399 inside #ifdef WITH_WARNINGS blocks.
1401 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1403 * buffer.C: increment format to 233.
1405 2004-04-28 Angus Leeming <leeming@lyx.org>
1407 * BufferView_pimpl.C:
1410 s/updateToolbar()/updateToolbars()/
1411 s/Toolbar.h/Toolbars.h/
1413 2004-04-28 Angus Leeming <leeming@lyx.org>
1415 * BufferView.[Ch] (c-tor):
1416 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1417 No longer passes these data to the WorkArea generator.
1419 2004-04-28 Angus Leeming <leeming@lyx.org>
1421 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1423 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1425 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1427 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1429 * output_latex.C (TeXEnvironment): make sure that there is a line
1430 break before \end{foo} for the last paragraph of a document
1431 (TeXOnePar): if the paragraph is at the end of the document (or
1432 inset) and the language has to be reset, then make sure that the
1433 line break is _before_ the language command, not after (fixes bug
1434 1225); also make sure that the language reset command is the first
1435 thing after the paragraph (to ensure proper nesting of
1436 environments and thus fix bug 1404)
1438 2004-04-21 John Levon <levon@movementarian.org>
1441 * ToolbarBackend.C: make "name" be a programmatic name
1442 and a gui_name field.
1444 * lyxfunc.C: display the minibuffer on M-x
1446 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1448 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1451 2004-04-19 Angus Leeming <leeming@lyx.org>
1453 * BufferView_pimpl.C (setBuffer): changed preview interface.
1455 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1458 2004-04-19 John Levon <levon@movementarian.org>
1460 * BufferView_pimpl.C:
1461 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1463 2004-04-05 Angus Leeming <leeming@lyx.org>
1465 * text.C (redoParagraphs): add call to updateCounters(), thereby
1466 fixing the missing "Figure #:" label from the caption of a
1469 2004-04-13 Angus Leeming <leeming@lyx.org>
1471 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1472 cursor is clicked out of an inset.
1474 2004-04-13 Angus Leeming <leeming@lyx.org>
1476 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1477 than an InsetOld one.
1479 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1481 * format.[Ch]: add editor to Format
1482 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1483 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1485 2004-04-08 André Pönitz <poenitz@gmx.net>
1487 * metricsinfo.h: remove PainterInfo::width member
1489 2004-04-08 Angus Leeming <leeming@lyx.org>
1491 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1492 "\providecommand" rather than "\newcommand", thereby preventing
1493 clashes with packages that define "\boldsymbol" themselves.
1496 2004-04-08 Angus Leeming <leeming@lyx.org>
1498 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1499 thereby squashing an unnecessary warning.
1501 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1503 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1506 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1508 * BufferView.C (setCursor): call redoParagraph (some insets could
1510 (putSelectionAt): remove the 'double update' trick
1512 * BufferView_pimpl.C (fitCursor): call refreshPar
1513 (workAreaDispatch): remove an uneeded update call
1514 (dispatch): remove some manual update calls
1516 * cursor.[Ch]: remove cached_y_, updatePos
1517 (selHandle): set noUpdate when appropriate
1519 * lyxfunc.C (dispatch): track if we need an update
1521 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1523 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1524 (paintSelection): cheap optimization, do not call cursorX when not
1526 (paintPars): change signature
1529 (paintTextInset): adjust
1533 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1535 * lengthcommon.C: compilation fix: remove explicit array size from
1536 unit_name[] and friends
1538 2004-04-05 Angus Leeming <leeming@lyx.org>
1540 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1542 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1543 present only for the preferences dialog.
1544 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1546 2004-04-05 Angus Leeming <leeming@lyx.org>
1548 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1549 to enable the frontends to export changes to lyxrc correctly.
1551 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1553 2004-04-07 André Pönitz <poenitz@gmx.net>
1555 * cursor.[Ch] (selClear, adjust): remove math
1557 * cursor_slice.C: more agressive assert
1560 * BufferView_pimpl.C: rework mouse event dispatch
1567 2004-04-05 André Pönitz <poenitz@gmx.net>
1569 * cursor.[Ch] (valign, halign...): remove unneeded functions
1571 2004-04-05 Angus Leeming <leeming@lyx.org>
1573 * lyxlength.[Ch] (unit_name et al.): const-correct.
1575 2004-04-05 Angus Leeming <leeming@lyx.org>
1577 * BufferView_pimpl.C:
1586 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1588 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1590 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1592 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1594 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1595 * BufferView_pimpl.[Ch] (getStatus)
1596 * BufferView.[Ch] (getStatus): add
1597 * lyxfunc.C (getStatus): move lfuns handled in
1598 BufferView::dispatch to te function above
1599 * Cursor.C (setSelection): set selection() = true
1601 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1603 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1605 2004-03-31 Angus Leeming <leeming@lyx.org>
1607 * lyxfunc.C (dispatch): Fall through to the generic
1608 Dialogs::show("preamble").
1610 2004-03-31 Angus Leeming <leeming@lyx.org>
1612 * lyxfunc.C (dispatch): Fall through to the generic
1613 Dialogs::show("spellchecker").
1615 2004-03-31 Angus Leeming <leeming@lyx.org>
1617 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1620 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1625 * insetiterator.[Ch]:
1630 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1632 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1634 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1635 insets where we are putting the cursor.
1637 2004-03-31 Angus Leeming <leeming@lyx.org>
1640 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1642 * lyxrc.[Ch] (read, write): overloaded member functions taking
1643 a std::[io]stream arguments.
1645 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1647 2004-03-31 Angus Leeming <leeming@lyx.org>
1649 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1650 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1652 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1653 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1655 2004-03-31 Angus Leeming <leeming@lyx.org>
1657 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1658 the LFUN_ALL_INSETS_TOGGLE code.
1660 2004-03-30 Angus Leeming <leeming@lyx.org>
1662 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1663 has died. Fall through to the generic Dialogs::show("document").
1665 2004-03-30 Angus Leeming <leeming@lyx.org>
1668 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1669 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1671 * lyxfunc.C (getStatus, dispatch): define the actions for these
1672 lfuns. Little more than a cut and pste job from ControlDocument.C
1674 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1676 2004-03-30 Angus Leeming <leeming@lyx.org>
1679 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1680 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1682 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1683 open/closed state of ollapsable insets. Usage:
1685 all-inset-toggle <state> <name>, where
1686 <state> == "open" || "closed" || "toggle" and
1687 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1689 * lyxtext.h, text2.C (toggleInset): removed.
1691 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1692 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1693 now passes LFUN_INSET_TOGGLE to the found inset.
1695 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1696 is now invoked as "all-insets-toggle toggle branch".
1698 2004-03-30 Angus Leeming <leeming@lyx.org>
1702 * pariterator.[Ch]: added/corrected header blurb.
1704 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1706 * dociterator.[Ch]: add an inset_ member
1707 (backwardPos): implemented
1708 (backwardPos, forwardPos): use inset_ when the stack is empty.
1709 (doc_iterator_begin, doc_iterator_end): implemented
1710 * pariterator.[Ch]: adjust, add begin, end
1711 * insetiterator.[Ch]: adjust, add begin, end
1715 * BufferView_pimpl.C:
1716 * CutAndPaste.C: adjust
1718 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1720 * buffer.C: increment file format to 232.
1721 * LaTeXFeatures.C: add bibtopic package.
1722 * bufferparams.[Ch]: param \use_bibtopic.
1724 * lyxrc.[Ch]: add lyxrc bibtex_command
1725 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1727 * buffer.C: increment file format to 231.
1729 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1731 * dociterator.C: implement forwardPar
1732 * iterators.[Ch]: remove, replaced by
1733 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1735 * BufferView_pimpl.C:
1738 * bufferview_funcs.C:
1744 * Makefile.am: adjust
1746 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1748 * CutAndPaste.C (pasteSelection): fix 2 crashes
1749 (eraseSelection): fix a crash
1750 * paragraph_funcs.C: remove a warning
1752 2004-03-28 Angus Leeming <leeming@lyx.org>
1755 * LyXAction.C (init): new LFUN_PRINT.
1757 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1759 2004-03-27 Angus Leeming <leeming@lyx.org>
1762 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1764 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1766 2004-03-27 Angus Leeming <leeming@lyx.org>
1768 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1769 insetlist always contains non-null pointers to insets.
1771 2004-03-26 Angus Leeming <leeming@lyx.org>
1773 * src/BufferView_pimpl.C:
1774 * src/CutAndPaste.C:
1777 * src/output_plaintext.C:
1778 * src/outputparams.h:
1779 * src/paragraph_funcs.C:
1783 * src/frontends/controllers/ControlErrorList.C:
1784 * src/frontends/gtk/FileDialogPrivate.C:
1785 * src/frontends/gtk/GPainter.C:
1786 * src/frontends/gtk/GToolbar.C:
1787 * src/frontends/qt2/QRef.C:
1788 * src/mathed/math_scriptinset.C: squash compiler warnings.
1790 2004-03-26 Angus Leeming <leeming@lyx.org>
1792 * ispell.C (LaunchIspell::start):
1793 * lyx_cb.C (AutoSaveBuffer::start):
1794 invoke run(DontWait) rather than runNonBlocking().
1796 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1798 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1800 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * kbsequence.C (print): adjust
1804 * kbmap.C (printKeySym): rename and change signature
1805 (printKey): use LyXKeySym::print()
1807 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1809 * undo.C: add using std::advance to compile for stlport
1811 2004-03-24 Angus Leeming <leeming@lyx.org>
1813 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1814 it leads to a crash when no buffer is present.
1816 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1817 Martin Vermeer <martin.vermeer@hut.fi>
1819 * lyxfunc.C (dispatch):
1820 * bufferparams.C (readToken): use the new LColor::setColor
1822 * LColor.[Ch] (setColor): new version that takes two strings as
1823 argument and creates a new color entry if necessary
1825 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1827 * buffer.C (makeLaTeXFile): if the main latex file that is
1828 processed is usually a subdocument of some master, then pretend
1829 for a while that it is actually the master
1831 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1833 * buffer.C (getLabelList):
1834 (getBibkeyList): use getMasterBuffer()
1835 (getMasterBuffer): new method. Returns the main document in the
1836 case where one is using included documents.
1838 2004-03-25 André Pönitz <poenitz@gmx.net>
1842 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1844 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1846 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1847 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1849 * ParameterStruct.h: merge with ParagraphParameters
1851 * lyxtext.h: remove LyXText::parOffset() and getPar()
1853 * text3.C: Remove all 'manual' update calls. We do now one per user
1854 interaction which is completely sufficient.
1858 * BufferView_pimpl.C:
1859 * FontIterator.[Ch]:
1861 * ParagraphParameters.[Ch]:
1866 * cursor_slice.[Ch]:
1873 * output_docbook.[Ch]:
1874 * output_latex.[Ch]:
1875 * output_linuxdoc.[Ch]:
1876 * output_plaintext.[Ch]:
1878 * paragraph_funcs.[Ch]:
1879 * paragraph_pimpl.[Ch]:
1887 * frontends/controllers/ControlDocument.C:
1888 * frontends/controllers/ControlErrorList.C:
1889 * frontends/controllers/ControlSpellchecker.C:
1892 * insets/insetbase.h:
1893 * insets/insetbibitem.C:
1894 * insets/insetbox.C:
1895 * insets/insetbranch.C:
1896 * insets/insetcaption.C:
1897 * insets/insetcharstyle.C:
1898 * insets/insetcharstyle.h:
1899 * insets/insetcollapsable.C:
1900 * insets/insetcollapsable.h:
1901 * insets/insetert.C:
1902 * insets/insetfloat.C:
1903 * insets/insetfoot.C:
1904 * insets/insetmarginal.C:
1905 * insets/insetnote.C:
1906 * insets/insetoptarg.C:
1907 * insets/insettabular.C:
1908 * insets/insettext.C:
1909 * insets/insettext.h:
1910 * insets/insetwrap.C:
1911 * mathed/math_mboxinset.C:
1912 * mathed/math_nestinset.C:
1913 * mathed/math_scriptinset.C:
1914 * mathed/math_scriptinset.h:
1917 2004-03-24 Angus Leeming <leeming@lyx.org>
1919 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1920 deal with any child processes that have finished but are waiting to
1921 communicate this fact to the rest of LyX.
1923 2004-03-24 Angus Leeming <leeming@lyx.org>
1925 64-bit compile fixes.
1927 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1928 (c-tor): pass lyx::pos_types rather than ints.
1930 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1933 * text.C (Delete): compile fix.
1934 (getPar): ensure that function declaration is the same as that in
1937 2004-03-23 Angus Leeming <leeming@lyx.org>
1939 * ispell.C (LaunchIspell):
1940 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1941 a boost::shred_ptr rather than a std::auto_ptr.
1943 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1945 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1946 handle LFUN_FILE_INSERT_*
1948 * lyxrc.C (setDefaults, getDescription, output, read):
1949 * lyxrc.h: remove ps_command
1951 2004-03-22 Angus Leeming <leeming@lyx.org>
1953 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1954 Ensure that error_handler is processed once only and that all data
1955 is saved before attempting to output any warning messages.
1957 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1959 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1961 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1963 2004-03-19 André Pönitz <poenitz@gmx.net>
1965 * cursor.[Ch] (reset): take main text inset as argument
1967 * BufferView: adjust
1968 * BufferView_pimpl.C: adjust
1970 * paragraph.[Ch]: fix completely broken operator=()
1972 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1974 * LColor.C (getFromLyXName): make sure that the color name is used
1977 2004-03-17 Angus Leeming <leeming@lyx.org>
1980 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1982 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1983 dialog and to kill a forked process.
1985 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1987 * text2.C (setCursorFromCoordinates): fix font problem
1989 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1991 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1992 bogus "rebuild cursor" code
1994 2004-03-11 André Pönitz <poenitz@gmx.net>
1996 * buffer.[Ch]: use InsetText instead of LyXText as container for
1999 * dociterator.[Ch]: drop the BufferView * member which is not needed
2000 anymore after the change to buffer.C
2002 * paragraph_funcs.C:
2006 * BufferView_pimpl.[Ch]:
2008 * cursor_slice.[Ch]: adjust
2010 * text3.C: fix bug in mathDispatch
2012 2004-03-08 André Pönitz <poenitz@gmx.net>
2014 * undo.[Ch]: use 'StableDocumentIterator' as base for
2017 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2020 * bufferparams.[Ch]: add jurabib support and param.
2022 * LaTeX.C: add FIXME/comment.
2024 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2026 * buffer.C: increment file format to 230.
2028 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2030 * cursor.C (dispatch): avoid infinite loops
2032 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2034 * rowpainter.C (paintSelection): fix x coordinates
2036 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2038 * text.C (rowBreakPoint): fix breaking before displayed insets
2040 2004-03-01 André Pönitz <poenitz@gmx.net>
2042 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2044 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2048 * BufferView_pimpl.C:
2056 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2062 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2063 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2065 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2067 * Bidi.[Ch] (computeTables): const correctness
2068 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2069 fill_hfill, fill_label_hfill and x from Row
2070 * lyxtext.h: prepareToPrint returns a RowMetrics
2071 * rowPainter.C: adjust
2072 * text.C (prepareToPrint): use width, not textWidth. adjust
2073 (redoParagraphInternal, cursorX): adjust
2074 * text2.C (getColumnNearX): adjust
2075 (init): put a default value to the top LyXText::width
2077 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2079 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2081 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2083 * lyxtext.h: add FontIterator class
2085 * text.C (FontIterator, operator*, operator->, operator++): add
2086 (rowBreakPoint, setRowWidth): adjust (fixing a
2089 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2091 * BufferView_pimpl.C (workAreaDispatch): allow also
2092 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2094 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2096 * text.C (rowBreakPoint): fix a bug showing with very large insets
2098 2004-02-25 André Pönitz <poenitz@gmx.net>
2101 * cursor.[Ch]: move some mathed specific code to mathed
2103 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2105 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2106 use_tempdir in preferences
2107 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2109 * lyx_main.C: ensure that tempdir is valid
2110 * lyxlex.h: correct typo
2111 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2112 * paragraph.[Ch] (isMultiLingual): make const
2113 * cursor.[Ch] (openable): make const
2115 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2117 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2119 2004-02-20 André Pönitz <poenitz@gmx.net>
2121 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2123 * cursor.[Ch]: prepare for localized getStatus()
2129 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2131 2004-02-20 André Pönitz <poenitz@gmx.net>
2133 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2135 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2137 * text2.C (setCursorFromCoordinates): switch to absolute coords
2139 (cursorDown): adjust
2140 * text3.C (dispatch): adjust
2142 2004-02-16 André Pönitz <poenitz@gmx.net>
2144 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2147 * cursor_slice.[Ch]: remove unneeded acessor function
2149 * lyxtext.h: rename rtl() to isRTL()
2157 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2159 * rowpainter.C (paintSelection): coord fix
2161 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2163 * Spacing.C: compile fix
2165 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2167 * cursor.C (dispatch): restore current_ before returning
2169 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2171 * text2.C (cursorUp, cursorDown): fix coords
2174 2004-02-12 André Pönitz <poenitz@gmx.net>
2179 * text3.C: add LCursor & parameter to most cursor movement functions
2180 remove usage of LyXText::cursorRow() and cursorPar()
2182 * cursor.[Ch]: add textRow() needed members
2185 * BufferView_pimpl.C:
2188 * BufferView_pimpl.C: adjust
2190 2004-02-11 André Pönitz <poenitz@gmx.net>
2194 * BufferView_pimpl.C: shift undo/redo handling
2196 * cursor.[Ch]: fix mathed crash
2199 * lyxtext.h: move selectionAsText to LCursor
2207 * rowpainter.C: fix excessive drawing
2209 2004-02-06 André Pönitz <poenitz@gmx.net>
2212 * BufferView_pimpl.[Ch]:
2213 * text3.C: move some text specific LFUN handling
2215 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2217 * text3.C (checkInsetHit): adjust coords
2218 * text2.C (getColumnNearX): adjust coords
2219 (edit): adjust coords
2220 * text.C (getRowNearY): add two asserts
2222 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2225 * format.C: add using std::distance to compile on gcc 2.95/stlport
2227 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2229 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2231 2004-02-04 André Pönitz <poenitz@gmx.net>
2233 * BufferView.[Ch] (insertInset):
2234 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2239 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2241 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2242 on the default clause of the switch
2243 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2244 wasn't catched by LCursor::dispatch
2246 2004-02-03 André Pönitz <poenitz@gmx.net>
2249 * cursor.[Ch]: some additional asserts
2251 * undo.[Ch]: remove LyXText dependency in interface
2255 * lyxtext.h (firstPar, lastPar): remove dead functions
2260 * paragraph.[Ch]: adjust
2262 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2264 * lyxfind.C (find): fix argument order in call to ::find
2266 2004-02-02 André Pönitz <poenitz@gmx.net>
2268 * cursor.[Ch]: remove direct access to anchor
2270 * text.C: remove findText() hack
2272 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2274 * iterators.[Ch] (lockPath): remove in favour of...
2275 * BufferView.[Ch] (setCursor): this addition
2276 * BufferView.C (putSelectionAt): adjust
2277 * undo.C (performUndoOrRedo): adjust
2278 * lyxfunc.C (dispatch): adjust
2280 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2282 * iterators.C (lockPath): add a missing slice
2283 * undo.C (performUndoOrRedo): remove redundant positioning code
2285 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2287 * vc-backend.C (scanMaster): ";" -> ';'
2289 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2291 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2292 std::binary_function
2294 * lyxtextclass.C (compare_name): rename to...
2295 (LayoutNamesEqual): ...this
2297 * lyxlex_pimpl.C (compare_tags): inherit from
2298 std::binary_function, put back into anon namespace
2300 * lyxfind.C (MatchString): inherig from std::binary_function
2301 (findChange): use empty() istead of !size()
2303 * format.C (FormatNamesEqual): new functor
2310 * converter.C (compare_Converter): rename to...
2311 (ConverterEqual): ...this, and fixup a bit.
2312 (getConverter): use it, and make function const
2313 (getNumber): use it, and make function const
2317 * bufferlist.C: add using boost::bind
2319 * MenuBackend.C (MenuNamesEqual): new functor
2320 (hasMenu): use it, and make function const
2321 (hasSubmenu): use nested bind to get rid of compare_memfun.
2323 2004-01-30 André Pönitz <poenitz@gmx.net>
2325 * BufferView_pimpl.C:
2328 * cursor_slice.[Ch]:
2331 * paragraph_funcs.C:
2332 * paragraph_funcs.h:
2336 * text3.C: move some of the edit(x,y) handling to the insets
2337 some coordinate changes.
2339 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2341 * text.C: add using statements for std::advance and std::distance
2343 * paragraph.C: add using statement for std::distance
2345 * lyxfind.C: add using statement for std::advance
2347 * cursor.C (region): remove std:: from swap
2348 (openable): use nucleus in stead of operator->
2350 * BufferView.C: add using statements for std::distance and std::swap
2352 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2354 * iterators.C: Remove the pimple, move the needed structures to
2355 the header file. Create accessor for the positions stack.
2356 (asPosIterator): remove function
2358 * PosIterator.C (PosIterator): move constructors to top of file
2359 (PosIterator): reimplement the constructor taking a ParIterator in
2361 (setFrom): new function
2362 (operator!=): inline it
2364 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * lyxfind.C (replaceAll): use std::advance
2368 * iterators.h: inherit from std::iterator.
2370 * PosIterator.C (advance, distance): remove
2371 * PosIterator.h: interit from std::iterator.
2373 2004-01-26 André Pönitz <poenitz@gmx.net>
2376 * BufferView_pimpl.[Ch]:
2380 * bufferview_funcs.C:
2390 * output_linuxdoc.C:
2391 * output_plaintext.C:
2393 * paragraph_funcs.[Ch]:
2394 * paragraph_pimpl.[Ch]:
2400 * text3.C: more IU: dumps most of the rest of the mathcursor
2401 implementation into cursor.[Ch]; "globalize" a bit of it.
2403 2004-01-25 Angus Leeming <leeming@lyx.org>
2405 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2407 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2409 * LaTeXFeatures.h: add nice_ and nice() const
2410 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2412 2004-01-20 André Pönitz <poenitz@gmx.net>
2415 * BufferView_pimpl.C:
2417 * bufferview_funcs.C:
2419 * cursor_slice.[Ch]:
2430 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2431 LCursor and mathcursor parts to LCursor and InsetBase.
2433 2004-01-15 André Pönitz <poenitz@gmx.net>
2435 * cursor_slice.[Ch]: add a few covienience functions
2437 * funcrequest.[Ch]: remove BufferView * member
2439 * BufferView_pimpl.C:
2446 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2448 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2450 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2451 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2453 2004-01-13 André Pönitz <poenitz@gmx.net>
2456 * lyxtext.h: hide cursor and selection anchor behind accessor function
2459 * BufferView_pimpl.[Ch]:
2461 * bufferview_funcs.C:
2471 * cursor_slice.[Ch]: some integer type changes for inset unification
2473 * lyxcursor.[hC]: remove, it's CursorSlice now.
2476 * BufferView_pimpl.[Ch]:
2477 * bufferview_funcs.C:
2483 * textcursor.[Ch]: adjust
2485 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2487 * text2.C (undoSpan): add and use
2488 * text.C (breakParagraph): use undoSpan (fix bug 578)
2491 2004-01-08 Angus Leeming <leeming@lyx.org>
2493 * BufferView_pimpl.C (MenuInsertLyXFile):
2494 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2495 * lyxfunc.C (menuNew, open, doImport):
2496 FileFilterList change to the FileDialog open and save functions.
2498 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2500 * ShareContainer.h: make isEqual and isUnique adaptable
2502 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2504 2004-01-07 Angus Leeming <leeming@lyx.org>
2507 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2509 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2511 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2512 functions replacing find, replace and replaceAll.
2514 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2515 LFUN_WORDFIND(FORWARD|BACKWARD).
2517 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2519 * text.C (breakParagraph): remove an outdated #warning
2521 2004-01-07 André Pönitz <poenitz@gmx.net>
2523 * lyxfind.C: somewhat clearer logic
2525 * text.C: prevent crash in cursorX on unitialized row cache
2527 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2529 * lyxcursor.[Ch] (operator>): add
2530 * textcursor.C (selStart, selEnd): use std::min and std::max
2532 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2534 * Chktex.C: include boost/format.hpp
2536 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2538 * InsetList.C: replace functor MathcIt with adaptable functor
2540 (insetIterator): modify accordingly
2542 * BranchList.h: move the BranchNamesEqual functor here from...
2543 * BranchList.C: ... to here
2545 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2547 (add): replace a finding loop with std::find_if.
2549 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2551 * output_docbook.C: moving LatexParam functionality into
2554 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2556 * buffer.C: increment format to 229.
2558 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2561 * lyx_sty.[Ch]: remove minipageindent_def
2567 * text3.C: remove LFUN_INSET_MINIPAGE
2569 2003-12-28 Angus Leeming <leeming@lyx.org>
2571 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2573 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2575 * text2.C (setParagraph): fix off-by-one crash
2577 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2579 * output_docbook.C: header stuff for AGU
2581 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2583 * text2.C (redoCursor): remove
2586 * BufferView_pimpl.C: remove calls to redoCursor and
2587 setCursor(cursor.par(), cursor.pos()) all around
2589 2003-12-15 Angus Leeming <leeming@lyx.org>
2591 * buffer.C: up the format to 228.
2593 2003-12-15 André Pönitz <poenitz@gmx.net>
2595 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2600 * BufferView_pimpl.C:
2609 2003-12-15 Angus Leeming <leeming@lyx.org>
2611 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2612 than getFromGUIName to manipulate the color.
2614 2003-12-14 Angus Leeming <leeming@lyx.org>
2616 * BranchList.[Ch]: minimize the API.
2617 (Branch::getBranch, getColor): now return a 'const &'.
2618 (Branch::setSelected) now returns a bool set to true if the
2619 selection status changes.
2620 (BranchList::clear, size, getColor, setColor, setSelected,
2621 allBranches, allSelected, separator): removed.
2622 (BranchList::find): new functions, returning the Branch with
2624 (BranchList::add, remove): return a bool indicating that
2625 the operation was successful.
2627 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2628 new InsetBranch::isBranchSlected member function.
2630 * LColor.[Ch]: mimimize the API.
2631 (fill): renamed as addColor and made private.
2632 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2633 versions of these functions taking a string arg have been removed.
2635 * bufferparams.C (readToken):
2636 * lyxfunc.C (dispatch):
2637 * lyxrc.C (read): changes due to the altered BranchList and
2640 * factory.C (createInset, readInset): changes due to altered
2643 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2646 * lyxfunc.C: remove insetminipage. "minipage-insert"
2647 now produces a frameless minipage box inset.
2649 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2651 * textcursor.[Ch] (selStart,selEnd): add new methods
2652 remove selection::start, end, use LyXCursor::operator<
2653 * lyxcursor.[Ch] (operator<): add
2654 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2655 * BufferView.[Ch] (unsetXSel): add
2656 * text2.C (clearSelection): use unsetXSel,adjust
2659 * rowpainter.C: adjust
2660 * bufferview_funcs.C (put_selection_at): adjust
2662 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2664 * BufferView_pimpl.C: small coord. correction
2666 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2668 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2669 dragging over the splash screen.
2671 2003-12-11 Angus Leeming <leeming@lyx.org>
2673 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2674 as it is now handled in LyXText::dispatch.
2676 * text3.C (doInsertInset): remove a level of nesting.
2678 2003-12-11 Angus Leeming <leeming@lyx.org>
2680 * factory.C (createInset): changes due to the changed interface to
2681 InsetCommandMailer::string2params.
2683 2003-12-10 Angus Leeming <leeming@lyx.org>
2685 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2686 'dialog-show-new-inset <inset name>'
2688 2003-12-10 Angus Leeming <leeming@lyx.org>
2690 * buffer.C: up the format to 227.
2692 * factory.C: the box inset is now identified simply by 'Box'.
2694 2003-12-10 Angus Leeming <leeming@lyx.org>
2696 * buffer.C: up the format to 226.
2698 * factory.C: the note inset is now identified simply by 'Note'.
2700 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2702 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2703 when a pit is enough. Standarize a couple of loops.
2705 2003-12-05 Angus Leeming <leeming@lyx.org>
2707 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2708 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2709 data to the re-worked "log" dialog.
2711 2003-12-03 André Pönitz <poenitz@gmx.net>
2717 * paragraph_funcs.C:
2719 * text2.C: use Inset::getText instead of Inset::getParagraph
2721 2003-12-03 André Pönitz <poenitz@gmx.net>
2725 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2726 InsetText::read() as LyXText::read()
2728 2003-12-02 Angus Leeming <leeming@lyx.org>
2730 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2731 type. Add a comment in the implementation that the function uses
2732 the stream's bad() function rather than fail() as the std::streams
2735 2003-12-02 André Pönitz <poenitz@gmx.net>
2737 * lyxlex.[Ch]: make interface more similar to std::stream
2739 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2741 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2743 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2745 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2747 * vspace.[Ch]: remove VSpace::NONE
2749 2003-12-01 André Pönitz <poenitz@gmx.net>
2752 * lyxtext.h: move ParagraphList member to LyXText
2753 rename LyXText::ownerParagraphs to LyXText::paragraph
2756 * bufferview_funcs.C:
2766 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2768 * undo.C: fix cursor positioning
2770 2003-12-01 John Levon <levon@movementarian.org>
2772 * BufferView_pimpl.C: fix a crash on exit with
2775 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2777 * BranchList.C: fix setSelected() method.
2779 2003-11-28 André Pönitz <poenitz@gmx.net>
2781 * ParagraphParameters.[Ch]:
2782 * ParameterStruct.h: remove space above/below from Paragraph to
2785 * BufferView_pimpl.C:
2791 * paragraph_funcs.C:
2797 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2799 * factory.C: Syntax change for CharStyles
2801 2003-11-28 André Pönitz <poenitz@gmx.net>
2806 * buffer.[Ch]: move LyXText member
2808 2003-11-28 André Pönitz <poenitz@gmx.net>
2810 * BufferView.[Ch]: make LyXText * text a private member
2812 * BufferView_pimpl.C:
2823 * output_plaintext.C: cleanup
2825 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2828 * lyxtextclass.[Ch]: parametrize SGML document header
2830 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2833 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2836 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2838 * text2.C (setFont): rework using PosIterator (no more recursive)
2839 (setCharFont): no more needed
2840 (setLayout): no more selection cursors fiddling (done by redoCursor)
2841 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2842 destroy remaining ones)
2844 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2846 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2848 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2851 * text3.C: adjust + re-allow multi par depth changes
2852 * textcursor.C: simplify a bit
2854 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2860 * src/output_docbook.C:
2861 * src/output_latex.C:
2866 * src/text2.C: Introducing a number of tags parametrizing various
2867 XML formats that we may want to support
2869 2003-11-25 André Pönitz <poenitz@gmx.net>
2871 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2873 * lyxtext.h (leftMargin/rightMargin): simplify interface
2880 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2882 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2883 master file to any child files. Fixes bug 546.
2885 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2887 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2889 2003-11-24 André Pönitz <poenitz@gmx.net>
2891 * rowpainter.C: simplification
2893 * text2.C (updateCounters): remove call to redoParagraph on
2894 changed labels as this is far too expensive.
2896 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2898 * converter.C (convert): fix a crash: this function gets
2899 called with buffer == 0 from importer code.
2901 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2903 * text3.C (cursorPrevious): make sure that we do not compare
2904 iterators form different containers.
2907 * rowpainter.C (paintSelection): make sure that we do not compare
2908 iterators from different containers.
2910 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2911 iterators from different ParagraphList containers.
2914 * text2.C (LyXText): change order of initialization slightly
2915 (operator=): new function. copy all variables except cache_par_
2916 (moveUp): make sure that we do not compare iterators from
2917 different ParagraphList constainers.
2920 * text.C (firstPar): new function
2921 (lastPar): new function
2922 (endPar): new function
2924 * lyxtext.h: move things around and group public functions, public
2925 variables, private functions, private variables
2927 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2929 * factory.C: change call to InsetERT constructor to avoid
2930 additional invocation of method status
2931 * text2.C (toggleInset): remove redundant update() call
2932 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2933 instead of a Bufferview pointer
2935 2003-11-21 André Pönitz <poenitz@gmx.net>
2937 * rowpainter.C: simplification
2939 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2941 * text3.C (dispatch): make possible to extend a word/row selection
2944 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2946 * lyxtext.h: x0_,y0_ -> xo_,yo_
2947 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2948 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2949 * rowpainter.C (paintRows): paint full paragraphs
2951 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2953 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2956 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2958 * lyxtext.h: add x0_, y0_
2959 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2960 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2962 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2964 * text2.C (setCursorIntern): move the x_target update here *
2965 * text3.C: change some bv() to true/false in calls to
2966 cursorUp/Down/Right/Left
2967 * cursor.C: use helper function.
2969 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2971 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2972 * paragraph_funcs.[Ch]: correct comment
2973 * rowpainter.C: do not paint selections away from bv->cursor()
2974 Fix a long standing selection painting bug.
2975 * text3.C: generalize mouse-selection code to LyXTexts other that
2977 * textcursor.C: do not use y coords if we can use par offsets
2979 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2981 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2982 cursor position after e.g. inset insert)
2984 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2986 * lyxfind.C (replace): adjust to locking removal + some
2989 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2991 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2994 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2997 * output_docbook.C: XML sanitation: new layout
2998 parameters InnerTag and CommandDepth
3000 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3002 * BufferView_pimpl.C:
3004 * text3.C: Fix the insertion and modification of button-style
3007 2003-11-13 André Pönitz <poenitz@gmx.net>
3009 * InsetList.[Ch]: remove deleteLyXText
3011 * paragraph.[Ch]: cache beginOfBody position
3016 * text3.C: remove superfluous update() calls
3020 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3022 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3023 * BufferView.C (fitLockedInsetCursor): remove
3024 * cursor.[Ch] (getDim): add
3025 * text.C (getRowNearY): add faster version
3026 * text3.C: remove some update calls
3028 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3040 * text3.C: The Character Style /XML short element patch.
3042 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3045 * factory.C: Small step to solving 'unable to insert some insets'
3048 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3050 * cursor.[Ch] (updatePos): new function for updating the y
3051 position of the tip inset
3052 * bufferview_funcs.C (put_selection_at):
3053 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3055 2003-11-11 André Pönitz <poenitz@gmx.net>
3057 * text.C: remove big comment on invalid Paragraph pointers as it is
3060 2003-11-11 André Pönitz <poenitz@gmx.net>
3062 * text_funcs.[Ch]: merge with ...
3070 * Makefile.am: remove text_funcs.[Ch]
3072 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3074 * cursor.C (getPos): return absolute cached y coord
3076 * BufferView_pimpl.C (fitCursor): new simplistic code
3077 (workAreaDispatch): add a fitCursor call
3079 2003-11-10 André Pönitz <poenitz@gmx.net>
3082 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3084 2003-11-10 André Pönitz <poenitz@gmx.net>
3086 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3087 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3088 indicate that the cursor needs to leave an inset
3090 * lyxtext.h: remove inset locking
3092 * cursor.[Ch]: re-implement functionality provided by inset locking
3095 * BufferView_pimpl.[Ch]:
3097 * bufferview_funcs.[Ch]:
3109 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3111 * PosIterator.[Ch]: replace the stack with a vector, add inset
3113 * iterators.[C]: adjust
3115 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3117 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3119 * paragraph_funcs.C (readParToken): put the correct id in the
3120 error item, not the id of the top paragraph
3122 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3124 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3125 * bufferview_funcs.C (put_selection_at): use the above
3127 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3129 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3131 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3133 * output_linuxdoc.h:
3134 * output_plaintext.h:
3136 * output_docbook.h: add #include statements
3138 2003-11-05 José Matos <jamatos@lyx.org>
3140 * output_docbook.[Ch]:
3141 * output_latex.[Ch]:
3142 * output_linuxdoc.[Ch]:
3143 * output_plaintext.[Ch]: New files for output formats.
3144 * output.[Ch]: New file for helper functions.
3147 * paragraph_funcs.[Ch]: output functions moved to new files.
3149 * outputparams.h: rename of latexrunparams.h
3157 * paragraph_funcs.[Ch]:
3158 * paragraph_pimpl.[Ch]:
3159 * tabular.[Ch]: rename ascii to plaintext
3160 and LatexRunParams to OutputParams.
3162 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3164 * iterators.[Ch] (text): require bv argument
3165 * undo.C (recordUndo):
3166 * lyxfunc.C (dispatch):
3167 * bufferview_funcs.C (put_selection_at): adjust
3169 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3171 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3173 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3175 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3178 2003-11-04 André Pönitz <poenitz@gmx.net>
3180 * cursor.[Ch]: restructure
3183 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3185 * iterators.[Ch] (asCursor): remove
3187 * lfuns.h: remove LFUN_INSET_EDIT
3193 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3195 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3197 * lyxfind.[Ch]: complete overhaul
3198 * BufferView_pimpl.C:
3200 * paragraph.[Ch] (insert): add
3202 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3206 * text.C: remove dead spellcheck code
3208 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3210 * dispatchresult.h: add a val setter
3212 * cursor.C (dispatch): use a tempvar for data_[i]
3214 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3216 * PosIterator.[Ch]: compile fix
3218 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3220 * text.C (cursorPar): deactivate the cursor cache
3222 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3224 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3226 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * text3.C (dispatch): adjust for new DisptchResult semantics.
3230 * lyxfunc.C (dispatch): handle update when return from
3231 Cursor::dispatch, adjust for new DispatchResult semantics.
3233 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3234 DispatchResult(true) mean to not update. Add class functions for
3235 setting dispatched and update, as well as reading.
3237 * cursor.C (dispatch): don't handle update here
3239 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3241 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3242 * trans_mgr.C: adjust
3244 * paragraph_funcs.C (readParToken): exception safety
3246 * lyxvc.h: store the vcs pointer in a scoped_ptr
3249 * lyxsocket.C (serverCallback): exception safety
3251 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3253 * ispell.C (clone): make it return a auto_ptr
3255 * factory.C (createInset): exception safety
3256 (readInset): exception safety
3258 * bufferlist.C (newBuffer): exception safety
3260 * Thesaurus.C (Thesaurus): use initialization for aik_
3262 * MenuBackend.C (expandToc): exception safety.
3264 2003-11-03 André Pönitz <poenitz@gmx.net>
3268 * bufferview_funcs.C: remove getInsetFromId()
3271 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3277 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3279 * PosIterator.C (distance, advance): new
3280 * bufferview_funcs.[Ch] (put_selection_at): new
3281 * iterators.[Ch] (lockPath): new
3283 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3285 * iterators.[Ch] (asPosIterator): added
3286 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3287 * PosIterator.[Ch]: added
3289 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * cursor.C (dispatch):
3294 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3296 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3297 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3298 contructor, add a class function dispatched. Remove operator>=
3300 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3302 * debug.C: only use the default constructor for debugstream
3305 * main.C (main): include debug.h and setup the lyxerr streambuf
3308 2003-10-31 José Matos <jamatos@lyx.org>
3310 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3312 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3313 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3314 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3315 * paragraph_pimpl.C (simpleTeXSpecialC):
3316 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3317 add LatexRunParams argument.
3319 * exporter.C (Export): change call accordingly.
3321 * latexrunparams.h: add new member to take care of the other backends.
3322 2003-10-30 José Matos <jamatos@lyx.org>
3324 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3325 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3326 factorise code for paragraph output.
3328 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3331 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3333 * text3.C (dispatch):
3334 * lyxfunc.C (dispatch):
3335 * cursor.C (dispatch):
3336 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3338 * dispatchresult.h: make the dispatch_result_t ctor explicit
3340 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3343 * buffer.C: small refactoring of docbook stuff
3345 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3347 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3350 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3352 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3353 operator dispatch_result_t, and operators for == != and >=
3355 * cursor.C (dispatch): adjust for operator dispatch_result_t
3356 removal. comment out call to update
3358 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3360 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3371 * dispatchresult.h: new file, DispatchResult broken out of
3374 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3376 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3378 * text.C (rowBreakPoint): put a hack inside #if 0
3380 2003-10-28 André Pönitz <poenitz@gmx.net>
3384 * paragraph_funcs.C:
3387 * text2.C: general cleanup (lots of small stuff)
3389 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3391 * text2.C (cursorEnd): simple fix to the "end key goes to one
3392 before the end on last row" bug
3394 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3396 * text.C (backspace): fix the "zombie characters"
3398 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3400 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3402 2003-10-27 André Pönitz <poenitz@gmx.net>
3404 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3406 * factory.C: handle new InsetPagebreak, InsetLine
3408 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3409 and move handling into new InsetPagebreak, InsetLine
3411 * BufferView_pimpl.C:
3413 * ParagraphParameters.C:
3414 * ParameterStruct.h:
3419 * paragraph_funcs.C:
3420 * paragraph_pimpl.C:
3426 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3429 * lyxrow_funcs.[Ch]:
3435 * text3.C: remove lastPos uses in favour of Row::endpos
3437 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3439 * undo.C (performUndoOrRedo): fix two crashes by setting a
3440 cursor by hand and reordering some calls. Use bv->lockInset instead
3441 of inset->edit because the latter loses cursor information
3443 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3445 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3447 (rowBreakPoint): fix width. change point to point + 1.
3448 Add a missing check.
3450 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3453 * lyxfunc.C: fix (at least partly) the problems
3454 with the Nav menu and headers inside branch insets
3457 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3459 * paragraph.C (getChar): add strong asserts
3461 * lyxrow_funcs.C (lastPos): remove hideous hack
3463 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3464 (fill): adjust to that (avoid an infinite loop)
3466 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3468 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3470 2003-10-23 André Pönitz <poenitz@gmx.net>
3472 * RowList_fwd.h: change list<> to vector<> to gain speed
3473 after suggestion from Alfredo
3475 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3477 * lyxtext.h: move the bidi stuff from here...
3480 * Bidi.[Ch]: ... to here
3482 2003-10-23 André Pönitz <poenitz@gmx.net>
3485 * text.C (isLastRow, isFirstRow): new functions
3487 * paragraph.h: new width cache member
3489 * rowpainter.C: replace RowList::iterator with Row & where possible
3491 * lyxfunc.C: replace several view()->text with a single call
3493 * toc.C: fix 'unused' warning
3495 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3498 when woring with stream::pos_type
3499 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3501 2003-10-22 André Pönitz <poenitz@gmx.net>
3504 * text.C: use Row & instead of RowList::iterator
3506 * lyxrow.h: rename end() to endpos()
3512 2003-10-22 Angus Leeming <leeming@lyx.org>
3514 * buffer.[Ch] (fully_loaded): new member function, returning true
3515 only when the file has been loaded fully.
3516 Used to prevent the premature generation of previews and by the
3517 citation inset to prevent computation of the natbib-style label.
3519 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3520 templates are all set up.
3522 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3524 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3526 * text.C: fixed an "oops" in the "is a bit silly"
3529 2003-10-21 André Pönitz <poenitz@gmx.net>
3531 * FuncStatus.[Ch]: small stuff, whitespace
3533 * lyxfont.[Ch]: operator<<() for debug reasons
3537 * lyxtext.h: whitespace, spelling
3539 * paragraph.C: naming of variables
3542 * text2.C: small stuff
3545 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3547 * text.C: (1) finish off the inset display() work;
3548 (2) fix the "is a bit silly" bug (accessing char
3551 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3553 * text.C: re-introduce display() for insets, fixing the
3554 various bugs (stretch of line above, math inset
3557 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3559 * text.C (rightMargin): remove spurious semicolon
3561 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3564 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3566 * text3.C: fix one crash due to wrong cursor def
3568 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * vc-backend.C (scanMaster): make the regex static
3572 * LaTeX.C (scanAuxFile): make the regexs static
3574 * text3.C (doInsertInset, dispatch, dispatch):
3575 * text2.C (cursorUp, cursorDown):
3576 * text.C (selectNextWordToSpellcheck):
3577 * BufferView_pimpl.C (dispatch):
3578 * lyxfunc.C (dispatch): localDispatch -> dispatch
3580 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3582 * lyxsocket.C: include <cerrno>
3584 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * lyxfunc.C (dispatch): remove textcache stuff
3588 * bufferlist.C (release): remove textcache stuff
3591 * TextCache.C: delete file
3592 * TextCache.h: delete file
3594 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3596 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3597 delete of the bv_->text.
3598 (resizeCurrentBuffer): remove texcache stuff
3599 (workAreaResize): ditto
3601 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3606 2003-10-16 André Pönitz <poenitz@gmx.net>
3613 * text3.C: speed up by storing y positions per paragraph plus per-row
3614 offset instead of having a 'full' y position in the row.
3616 2003-10-15 André Pönitz <poenitz@gmx.net>
3620 * undo.[Ch]: make undo aware of inner insets
3622 2003-10-14 Angus Leeming <leeming@lyx.org>
3624 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3625 static member functions LyX::ref() and LyX::cref.
3626 (lastfiles): new accessor functions for the new lastfiles_ member var.
3627 (addLyXView, views_): add a new LyXView to the list of views_.
3628 (updateInset): loop over all LyXViews to call their own updateInset
3629 member function, returning a pointer to the Buffer owning the inset.
3631 * BufferView_pimpl.C (loadLyXFile):
3632 * MenuBackend.C (expandLastfiles):
3633 * bufferlist.C (MenuWrite, QuitLyX):
3634 lastfiles is no longer a global variable.
3635 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3637 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3638 static function. Access through LyX::cref().emergencyCleanup().
3640 2003-10-14 André Pönitz <poenitz@gmx.net>
3642 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3644 * undo.[Ch]: restoring part of 'undo in insets'
3647 * undo_funcs.[Ch]: merge with undo.[Ch]
3649 * tabular.C: small cleansing stuff
3651 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3653 * paragraph_funcs.C (readParToken): report unknown insets as error
3654 boxes. Use the outer paragraph as location (also for unknown
3657 * factory.C (readInset): do not abort on reading an unknown inset.
3658 Eat it and return 0.
3660 2003-10-13 Angus Leeming <leeming@lyx.org>
3662 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3664 * lyxrc.C: displayTranslator is now a function,
3665 declared in GraphicsTypes.h.
3667 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3669 * format.C: new placeholder $$a to pass the socket address.
3671 * bufferlist.[Ch]: new function getBufferFromTmp.
3673 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3674 files in the temporary dir.
3676 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3678 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3680 * Makefile.am: add lyxsocket.[Ch].
3682 * lyx_main.C (error_handler): handle SIGPIPE.
3684 2003-10-13 André Pönitz <poenitz@gmx.net>
3686 * BufferView_pimpl.C:
3691 * undo_funcs.[Ch]: use paroffset_type instead of
3692 ParagraphList::iterators to prevent multiple conversion
3693 (and get a more robust interface)
3695 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3699 * text3.C (dispatch): ditto
3701 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3704 move the onlyfile, use onlyfile instead of foundfile in a couple
3707 * DepTable.C (update): flush the error stream a bit more
3709 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * lyxserver.C (callback): adjust
3713 * lyxfunc.C (getStatus): add a missing brace in commented code
3714 (ensureBufferClean): reindent
3715 (dispatch): delete version taking a string
3717 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * LaTeX.C (deplog): move found file handlig from here...
3720 (handleFoundFile): .. to new function here.
3721 (deplog): make sure to discover several files mentioned on the
3724 2003-10-10 André Pönitz <poenitz@gmx.net>
3731 * text3.C: fix some of the tabular crashes
3733 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3735 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3737 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3739 2003-10-09 André Pönitz <poenitz@gmx.net>
3741 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3744 * BufferView_pimpl.C:
3745 * bufferview_funcs.C:
3756 * undo_funcs.C: adjust
3758 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * text2.C (incrementItemDepth): new function, use a backtracking
3761 algorithm to discover the correct item depth.
3762 (resetEnumCounterIfNeeded): new function, use a backtracking
3763 algorithm to discover if counter reset is needed.
3764 (setCounter): use them. Simplify a bit. Add different labels for
3765 different item depths for itemize.
3767 * paragraph.C (Paragraph): remove initialization of enumdepth
3770 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3771 enumerate and itemize. Change the type of itemdepth to signed char.
3773 2003-10-08 André Pönitz <poenitz@gmx.net>
3775 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3780 * tabular.[Ch]: fix crash after 'row-insert'
3782 2003-10-08 Angus Leeming <leeming@lyx.org>
3784 Fix doxygen warnings.
3786 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3787 Remove CutAndPaste:: prefix from header file declaration.
3789 * LColor.h (fill): remove LColor:: prefix from declaration.
3791 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3792 use lyx::depth_type rather than Paragraph::depth_type so that
3793 header file and .C file match.
3795 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3797 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3798 * aspell.C: \file aspell_local.C -> \file aspell.C
3799 * gettext.C: \file gettext.C -> \file src/gettext.C
3800 * gettext.h: \file gettext.h -> \file src/gettext.h
3801 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3802 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3803 * text.C: \file text.C -> \file src/text.C
3805 * toc.C: move comment so that doxygen is not confused.
3807 2003-10-07 Angus Leeming <leeming@lyx.org>
3809 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3811 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3814 * aspell_local.h: add forgotten std::string's.
3816 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3823 * text3.C: The Box patch. Fancybox support, minipage, parbox
3825 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3831 * ParagraphParameters.h:
3841 * lyxtextclasslist.h:
3844 * paragraph_pimpl.C:
3845 * textcursor.h: add <string> and other small fixes to make Lars'
3846 std::string patch compile with STLport.
3848 2003-10-06 Angus Leeming <leeming@lyx.org>
3850 * LColor.h: Add missing #include <string>.
3852 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3854 * All most all file in all subdirs: Make <string> be the prefered
3855 way of getting to std::string, add using declarations.
3857 2003-10-06 André Pönitz <poenitz@gmx.net>
3859 * metricsinfo.C: initialize LyXFont before changing attribute.
3860 (fixes the 'math in \emph is upright' bug)
3862 2003-10-06 André Pönitz <poenitz@gmx.net>
3864 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3866 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3869 * paragraph_pimpl.C: Small fixes to build using STLport
3871 2003-10-02 André Pönitz <poenitz@gmx.net>
3874 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3876 2003-10-01 André Pönitz <poenitz@gmx.net>
3878 * factory.C: assert early
3880 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3882 * lyx_main.C: remove the global debug object
3884 * debug.h: adjust for new debugstream
3886 * debug.C: adjust for new debugstream and keep the global debug
3889 2003-09-22 Angus Leeming <leeming@lyx.org>
3891 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3892 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3893 an incomplete class LyXFont.
3895 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3897 * factory.C: bug fix in branches
3899 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3901 * lyxfunc.C (processKeySym): adjust
3903 (dispatch): change arg name from ev to func, adjust
3904 (sendDispatchMessage): ditto
3906 * lyx_main.C (defaultKeyBindings): adjust keybindings
3907 (deadKeyBindings): ditto
3909 * kbsequence.C (addkey): return a FuncRequest
3911 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3913 * kbmap.C (bind): take a FuncRequest as arg, adjust
3916 (defkey): change to take a FuncRequest as arg, adjust
3917 (findbinding): take a FuncRequest as arg, adjust.
3919 * funcrequest.h (operator=): added
3921 * funcrequest.C (FuncRequest): default kb_action changed from
3922 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3924 * buffer.C (dispatch): simplify
3925 (dispatch): adjust to take a FuncRequest as arg, adjust
3927 * boost.C (assertion_failed): change assertion message slightly
3929 * ToolbarBackend.C (read): simplify
3931 * MenuBackend.C (binding): adjust call to findbinding, add a
3932 message if no binding is found.
3934 (expandToc): correct by adding a empty FuncRequest
3936 * LyXAction.C: include <boost/assert.hpp>
3937 (isPseudoAction): delete function
3938 (LookupFunc): change name to...
3939 (lookupFunc): this. change return type to FuncRequest.
3940 (getActionName): take kb_action as arg, simplify
3941 (funcHasFlag): add an assert, simplify.
3943 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3945 * toc.C (action): return a FuncRequest, simplify
3947 * lyxfunc.C (processKeySym): adjust
3948 (getStatus): delete version that takes an int.
3950 (dispatch): delete version that takes action as int
3952 (sendDispatchMessage): simplify and adjust
3954 * funcrequest.C (getArg): take unsigned int as arg
3956 * ToolbarBackend.C (read): adjust
3957 (add): delete version that takes func as a string.
3958 (getIton): take a FuncRequest as arg
3960 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3963 * MenuBackend.C (MenuItem): add a new construct that only takes a
3964 Kind, simplify the constructor use for submenus.
3966 (expandLastfiles): adjust
3967 (expandDocuments): adjust
3968 (expandFormats): adjust
3969 (expandFloatListInsert): adjust
3970 (expandFloatInsert): adjust
3971 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3973 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3974 Remove class variables lyx_pseudo_map and lyx_arg_map
3976 * LyXAction.C (searchActionArg): delete function
3977 (getPseudoAction): delete function
3978 (retrieveActionArg): delete function
3979 (LookupFunc): make it return kb_action, simplify.
3980 (getActionName): simplify
3982 * factory.C (createInset): fix new bug
3984 2003-09-19 Angus Leeming <leeming@lyx.org>
3986 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3987 masterFilename_ parameter in the include inset.
3989 * factory.C (createInset): changes due to the changes to InsetInclude.
3991 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3993 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3995 2003-09-18 Angus Leeming <leeming@lyx.org>
3998 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3999 Inset::fillWithBibKeys.
4000 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4002 2003-09-18 Angus Leeming <leeming@lyx.org>
4004 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4006 (ctor): pass and store a 'Buffer const &'
4007 (buffer): new member function.
4009 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4010 '*this' to the LaTeXFeatures ctor.
4012 2003-09-18 Angus Leeming <leeming@lyx.org>
4018 * text.C: rename EnumLColor as LColor_color.
4020 2003-09-18 Angus Leeming <leeming@lyx.org>
4022 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4023 remove #include "insets/insetbase.h" from cursor.h.
4025 2003-09-18 Angus Leeming <leeming@lyx.org>
4027 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4028 InsetOld_code to remove #include "inset.h".
4030 * iterators.C: add #include "insets/inset.h"
4032 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4034 * BufferView.C: remove more locking stuff that apparently doesn't
4035 do anything sensible.
4037 2003-09-16 André Pönitz <poenitz@gmx.net>
4040 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4043 2003-09-16 Angus Leeming <leeming@lyx.org>
4045 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4047 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4050 * paragraph.h: remove #include "lyxfont.h". Forward declare
4053 2003-09-16 Angus Leeming <leeming@lyx.org>
4055 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4056 of support/textutils.h.
4057 (isWord): move the contents of support/textutils.h's IsWordChar here.
4063 * text2.C: add #include "paragraph.h".
4066 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4068 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4074 * LaTeX.C: use namespace alias for lyx::support::os
4076 2003-09-16 Angus Leeming <leeming@lyx.org>
4079 * bufferview_funcs.C:
4082 * paragraph_pimpl.C:
4084 * text.C: add #include "LColor.h".
4086 2003-09-16 Angus Leeming <leeming@lyx.org>
4088 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4089 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4091 Store the FontBits::color variable as an int rather than as an
4092 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4095 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4096 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4097 string calls together.
4099 * lyxrc.C: add #include "LColor.h".
4101 2003-09-15 Angus Leeming <leeming@lyx.org>
4103 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4106 2003-09-15 Angus Leeming <leeming@lyx.org>
4108 * LColor.h: add an EnumLColor wrapper for LColor::color.
4110 * lyxfont.[Ch] (color, setColor, realColor):
4111 * lyxtext.h, text.C (backgroundColor):
4112 pass EnumLColor args to/from the functions, rather than LColor::color
4116 * lyxtext.h: forward declare EnumLColor.
4118 * lyx_main.C: add #include "LColor.h".
4120 2003-09-15 Angus Leeming <leeming@lyx.org>
4122 * .cvsignore: add lyx-gtk.
4124 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * ParagraphParameters.C
4133 * bufferview_funcs.C
4143 * vc-backend.C: remove usage of STRCONV
4145 2003-09-15 Angus Leeming <leeming@lyx.org>
4147 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4148 explicitly define the color passed to the painter.
4150 2003-09-15 Angus Leeming <leeming@lyx.org>
4152 * bufferparams.C (BufferParams): reorder member initializers to avoid
4155 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4157 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4158 * text.C (updateRowPositions): remove an unusual nop
4160 2003-09-12 André Pönitz <poenitz@gmx.net>
4162 * BufferView_pimpl.C:
4171 * Counters.[Ch]: finish the 'automatic counters' job
4173 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4175 * aspell.C: include <boost/assert.cpp> (compile fix)
4177 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4179 * boost.C (assertion_failed): use lyx::support::abort instead of
4182 2003-09-10 Angus Leeming <leeming@lyx.org>
4184 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4185 with their _fwd progeny.
4187 2003-09-09 Angus Leeming <leeming@lyx.org>
4189 134 files throughtout the source tree: replace 'using namespace abc;'
4190 directives with the appropriate 'using abc::xyz;' declarations.
4192 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4194 * boost.C (emergencyCleanup): moved here from LAssert.c
4195 (assertion_failed): new function, called by BOOST_ASSERT
4197 * several files: change Assert to BOOST_ASSERT
4199 2003-09-09 Angus Leeming <leeming@lyx.org>
4201 * buffer.[Ch]: Add an Impl class and move Buffer's member
4202 variables into it. As a result move several header files out of
4205 Add header files to lots of .C files all over the tree as a result.
4207 2003-09-09 Angus Leeming <leeming@lyx.org>
4209 * buffer.[Ch]: make Buffer's member variables private. Add
4212 Lots of changes all over the tree as a result.
4214 2003-09-08 Angus Leeming <leeming@lyx.org>
4216 * graph.C: #include <config.h>.
4218 2003-09-08 Angus Leeming <leeming@lyx.org>
4222 * BufferView_pimpl.C:
4251 * toc.C: remove redundant using directives.
4253 2003-09-07 Angus Leeming <leeming@lyx.org>
4255 * LaTeXFeatures.h: remove #include "support/types.h".
4256 * ToolbarBackend.h: remove #include <algorithm>.
4257 * changes.h: remove #include <ctime>.
4258 * debug.h: remove #include <iosfwd>.
4259 * graph.h: remove #include "support/std_string.h".
4260 * lyx_main.h: remove #include <csignal>.
4261 * lyxlex_pimpl.h: remove #include <fstream>.
4262 * sgml.h: remove #include <algorithm>, <utility>.
4263 * toc.h: remove #include "support/std_ostream.h".
4264 Add #include <iosfwd>.
4266 2003-09-07 Angus Leeming <leeming@lyx.org>
4268 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4270 * converter.h: forward declare LatexRunParams.
4271 * encoding.h: remove #include "lyxrc.h".
4272 * lyxtext.h: remove #include "LColor.h".
4273 * lyxtextclass.h: remove #include "support/types.h".
4274 * trans.h: remove #include "tex-accent.h".
4275 * trans_mgr.h: remove #include "tex-accent.h".
4276 * insets/inset.h: remove #include "support/types.h", <vector>.
4277 * insets/insetcollapsable.h: remove #include "LColor.h".
4278 * insets/insetinclude.h: remove #include "dimension.h".
4279 * insets/insetlatexaccent.h: remove #include "dimension.h".
4280 * insets/insetoptarg.h:: remove #include "insettext.h".
4281 * insets/insettext.h: remove #include "dimension.h",
4282 <boost/shared_ptr.hpp>
4284 * insets/renderers.h: add #include "dimension.h".
4285 * insets/updatableinset.h: add #include "support/types.h".
4287 * many .C files: Associated changes.
4289 2003-09-06 Angus Leeming <leeming@lyx.org>
4291 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4292 one, inside testInvariant.
4294 * PrinterParams.C: new file.
4295 * PrinterParams.[Ch]: move the function bodies out of line.
4297 2003-09-06 Angus Leeming <leeming@lyx.org>
4299 * ParagraphParameters.h: forward declare ParameterStruct rather than
4300 including its header file.
4301 (depth): moved out-of-line.
4303 2003-09-06 Angus Leeming <leeming@lyx.org>
4305 * BufferView_pimpl.h:
4308 * lyxfunc.h: forward declare LyXKeySym rather than
4309 #include "frontends/LyXKeySym.h".
4311 * BufferView_pimpl.C:
4314 * lyxfunc.C: associated changes.
4316 2003-09-06 Angus Leeming <leeming@lyx.org>
4318 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4319 As a result, can remove the #include "insets/inset.h" from BufferView.h
4321 2003-09-06 Angus Leeming <leeming@lyx.org>
4323 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4324 As a result, can remove the #include "insets/inset.h" from BufferView.h
4326 2003-09-06 Angus Leeming <leeming@lyx.org>
4332 * bufferview_funcs.C:
4333 * BufferView_pimpl.C:
4338 * ParagraphParameters.C:
4343 * frontends/controllers/ControlDocument.C:
4344 * insets/insetcaption.C: rearrange the #includes into some sort of
4347 * buffer.h: remove #includes ErrorList.h, undo.h
4349 2003-09-06 Angus Leeming <leeming@lyx.org>
4351 * support/types.h: add a 'depth_type' typedef, used to store the
4352 nesting depth of a paragraph.
4355 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4356 defining explicitly.
4359 * paragraph_funcs.h:
4360 * ParagraphParameters.h:
4361 * sgml.h: use lyx::depth_type rather than Paragraph or
4362 ParameterStruct's depth_type.
4365 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4368 * BufferView_pimpl.C:
4370 * ParagraphParameters.C:
4373 * bufferview_funcs.C:
4380 * frontends/LyXView.C:
4381 * frontends/controllers/ControlDocument.C:
4382 * frontends/controllers/ControlErrorList.C:
4383 * insets/insetbibitem.C:
4384 * insets/insetbranch.C:
4385 * insets/insetcaption.C:
4386 * insets/insetcollapsable.C:
4387 * insets/insetenv.C:
4388 * insets/insetert.C:
4389 * insets/insetfloat.C:
4390 * insets/insetfoot.C:
4391 * insets/insetfootlike.C:
4392 * insets/insetnewline.C:
4393 * insets/insetquotes.C:
4394 * insets/insettabular.C:
4395 * insets/insettext.C:
4396 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4398 * frontends/controllers/ControlChanges.C: #include "changes.h".
4400 2003-09-06 Angus Leeming <leeming@lyx.org>
4402 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4403 than #including paragraph.h.
4406 * RowList.h: deleted. Superfluous.
4416 * insets/insettext.h: use ParagraphList_fwd.h rather than
4419 * paragraph.h: don't forward declare ParagraphList.
4422 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4423 rather than ParagraphList.h. paragraph.h is still needed for the
4424 Paragraph::depth_type parameters.
4426 * textcursor.h: enable it to compile stand-alone in light of the
4429 * bufferview_funcs.C:
4441 * frontends/controllers/ControlParagraph.C:
4442 * frontends/controllers/ControlTabular.C:
4443 * insets/insetmarginal.C:
4444 * insets/insetminipage.C:
4445 * insets/insetnote.C:
4446 * insets/insetoptarg.C: add header files needed to compile again.
4448 2003-09-06 Angus Leeming <leeming@lyx.org>
4450 * RowList_fwd.h: new file, forward-declaring Row rather than
4451 #including lyxrow.h.
4456 * insets/insettext.h: use it instead of RowList.h
4458 * bufferview_funcs.C:
4465 * text3.C: #include "RowList.h".
4467 2003-09-05 Angus Leeming <leeming@lyx.org>
4469 * factory.C (createInset):
4470 * vspace.C (c-tor): replace sscanf call with an istringstream.
4471 * ispell.C: re-add missing HP/UX headers.
4472 * lyxserver.C: re-add missing os2 headers.
4474 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4483 * text3.C: re-add missing system headers, needed for 2.95.2.
4485 2003-09-05 Angus Leeming <leeming@lyx.org>
4487 Changes most place everywhere due to the removal of using directives
4488 from support/std_sstream.h.
4490 2003-09-05 Angus Leeming <leeming@lyx.org>
4492 Replace LString.h with support/std_string.h,
4493 Lsstream.h with support/std_sstream.h,
4494 support/LIstream.h with support/std_istream.h,
4495 support/LOstream.h with support/std_ostream.h.
4497 Changes resulting throughout the tree.
4499 2003-09-05 Angus Leeming <leeming@lyx.org>
4501 * sgml.h: ensure that the header file can be compiled stand-alone.
4502 * *.C: strip out redundant #includes. (320 in total.)
4504 2003-09-04 Angus Leeming <leeming@lyx.org>
4506 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4507 here (from getPackages).
4509 * debug.[Ch]: add a new EXTERNAL tag.
4511 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4513 * text2.C (cursorEnd): simplify
4515 (getColumnNearX): adjust
4517 * text.C (computeBidiTables): adjust
4520 * rowpainter.C (paintChars): adjust
4521 (paintSelection): adjust
4522 (paintChangeBar): adjust
4525 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4527 (numberOfSeparators): adjust
4529 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4535 * text3.C: Restricts the mouse click functionality
4536 of insets like bibtex, include, toc and floatlist to the visible
4537 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4538 up the dialogs. Cursor has to be in front of the inset (i.e.
4539 start of row) for this to function.
4541 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4543 * bufferview_funcs.C (currentState): output row information
4545 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4547 * bufferview_funcs.C (currentState): output paragraph position
4549 2003-09-04 Angus Leeming <leeming@lyx.org>
4551 * FloatList.h: move out #include "Floating.h".
4552 * LaTeX.h: move out #include "DepTable.h".
4553 * LyXAction.h: move out #include "funcrequest.h".
4554 * buffer.h: move out #include "author.h", "iterators.h".
4555 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4556 * lyx_main.h: move out #include "errorlist.h".
4557 * lyxfunc.h: move out #include "FuncStatus.h".
4558 * lyxtext: move out #include "lyxcursor.h".
4559 * paragraph_pimpl.h: move out #include "counters.h".
4561 2003-09-03 Angus Leeming <leeming@lyx.org>
4563 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4564 preamble_snippets list, enabling us to add snippets to the preamble
4565 only if the snippet was not there already.
4567 2003-09-04 Angus Leeming <leeming@lyx.org>
4569 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4571 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4573 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4576 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4578 * BranchList.C: point fix, earlier forgotten
4580 2003-09-02 Angus Leeming <leeming@lyx.org>
4582 * box.C (contains): renamed from 'contained' after a fantastic
4585 2003-09-02 John Levon <levon@movementarian.org>
4591 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4593 2003-09-02 John Levon <levon@movementarian.org>
4595 * text2.C: simplification of cursorEnd(), including partial
4598 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4600 * buffer.C (readFile): add a space
4602 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4604 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4606 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * buffer.C (readFile): new function, take a filename and a
4609 ParagraphList::iterator
4611 (readFile): adjust, make it private. don't use setStream, make
4612 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4613 always contain the filename.
4615 * BufferView.C (insertLyXFile): simplify and make it work for
4618 2003-08-30 John Levon <levon@movementarian.org>
4620 * Makefile.am: fix dist (from Kayvan)
4622 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4624 * most files: change to use const Buffer refs
4626 2003-08-27 André Pönitz <poenitz@gmx.net>
4628 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4629 on top of ownerPar().
4631 2003-08-27 John Levon <levon@movementarian.org>
4633 * funcrequest.C: properly initialise POD members
4635 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4637 * lyxtext.h (top_y): move top_y from here
4642 * BufferView_pimpl.[Ch]: to here
4643 * frontends/screen.C:
4644 * insets/insettabular.C:
4645 * insets/insettext.C: adjust
4646 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4648 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4651 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4653 2003-08-26 André Pönitz <poenitz@gmx.net>
4655 * paragraph_func.[Ch] (outerPar): new function
4658 * paragraph_funcs.C:
4659 * paragraph_funcs.h:
4660 * paragraph_pimpl.C:
4661 * text2.C: remove Inset::par_owner
4663 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4668 * text2.C: eliminates the needFullRow/display() stuff
4669 altogether, putting the logic in metrics/draw in the insets.
4671 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4673 * text2.C (redoParagraphInternal, redoParagraphs):
4674 * text.C (redoParagraph): add a call to updateRowPositions at the
4675 end of each 'metrics-like' call. Remove all others.
4676 (getRow): remove the 'y-computing' version.
4677 (getRowNearY): do not compute nor return the real y. Solve the
4678 'y < 0' problem and simplify.
4680 2003-08-22 Angus Leeming <leeming@lyx.org>
4682 * *.[Ch]: clean-up of licence and author blurbs.
4683 Also move config.h out of a few .h files and into a few .C files.
4685 2003-08-22 André Pönitz <poenitz@gmx.net>
4687 * lyxrow.[Ch]: add x_ and *fill_ members
4692 * text2.C: adjust/remove prepareToPrint() calls
4694 2003-08-22 André Pönitz <poenitz@gmx.net>
4696 * lyxrow.[Ch]: add end_ member
4698 * lyxrow_funcs.C: use LyXRow::end_
4700 * lyxtext.h (singleWidth): add LyXFont parameter
4703 * text2.C: adjust LyXText::singleWidth() calls
4705 * text.C (redoParagraph): simplify row breaking logic
4708 2003-08-19 André Pönitz <poenitz@gmx.net>
4710 * funcrequest.C: initialize button_ member
4713 * rowpainter.[Ch]: interface consolidation
4715 2003-08-18 André Pönitz <poenitz@gmx.net>
4718 * BufferView_pimpl.C:
4720 * paragraph_funcs.C:
4722 * text3.C: remove LyXScreen::draw() and fitCursor calls
4724 * BranchList.h: remove spurious semicolons
4726 * MenuBackend.C: fix branchlist related crash
4728 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4736 * bufferparams.[Ch]:
4740 * text3.C: implements the 'branch inset'
4741 idea. This allows the output of various versions of a document
4742 from a single source version, selectively outputing or suppressing
4743 output of parts of the text.
4744 This implementation contains a 'branch list editor' in a separate
4745 tab of the document settings dialog. Branches are user definable
4746 and have a "display colour" to distinguish them on-screen.
4748 ColorHandler was somewhat cleaned up.
4749 (1) make possible a dynamically growing LColor list by allowing
4750 the graphic context cache to grow along (vector);
4751 (2) eliminate an IMHO unnecessary step in colour allocation.
4753 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4755 * BufferView_pimpl.C: compile fix
4757 2003-08-15 André Pönitz <poenitz@gmx.net>
4759 * rowpainter.C: remove extra metrics calls
4761 * lyxtext.h: merge the two constructors into a single one,
4762 pass reference to owner's par list
4764 * BufferView_pimpl.C:
4768 2003-08-15 André Pönitz <poenitz@gmx.net>
4770 * lyxrow_funcs.[Ch]:
4773 * paragraph_funcs.C:
4778 * text_funcs.C: split LyXText::rowlist_ into individual
4779 Paragraph::rows_ chunks
4782 * BufferView_pimpl.[Ch]:
4785 * text3.C: remove toggleSelection()
4787 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4789 * bufferlist.C: beautify two alerts (shorter text of buttons)
4790 * buffer.C: Remove redundant ' ' from message
4792 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4793 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4794 rename VALIGN_CENTER to VALIGN_MIDDLE
4796 2003-08-11 André Pönitz <poenitz@gmx.net>
4798 * lyxtext.h (getPar):
4799 * text.C: new function
4801 2003-08-11 André Pönitz <poenitz@gmx.net>
4804 * tracer.[Ch]: remove unneeded files
4806 * InsetList.[Ch]: remove resizeInsetsLyXText()
4811 * text3.C: merge insertParagraphs() and appendParagraph()
4812 remove breakAgain(), update()
4814 * BufferView_pimpl.[Ch]:
4815 * bufferview_funcs.[Ch]:
4819 * tabular.C: adjust after text & InsetList changes.
4821 2003-08-08 André Pönitz <poenitz@gmx.net>
4823 * text.C (insertChar, backspace): replace rowlist fiddling
4824 with rebreak of full par
4827 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4828 checkParagraph, updateInset): removed
4830 2003-08-07 André Pönitz <poenitz@gmx.net>
4833 * text3.C: merge some LFUN handlers, remove dead code
4835 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4837 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4839 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4841 * text2.C (DEPM): fix part of bug 1255 and 1256
4843 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4845 * BufferView_pimpl.C (workAreaDispatch): change to use
4846 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4847 that are no mouse related.
4849 2003-08-05 André Pönitz <poenitz@gmx.net>
4852 * BufferView_pimpl.[Ch]:
4853 * bufferview_funcs.C:
4855 * text3.C: rip out "deep update"
4857 * textcursor.[Ch] (last_sel_cursor): remove unused member
4859 2003-08-04 André Pönitz <poenitz@gmx.net>
4862 * BufferView_pimpl.[Ch]:
4863 * ParagraphParameters.C:
4864 * bufferview_funcs.C:
4870 * text3.C: replace "complicated" BufferView::update(...) calls with
4873 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4875 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4877 * Makefile.am (lyx_SOURCES): add paper.h
4879 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4881 * Makefile.am: move things around so that both lyx-qt and
4882 lyx-xforms can be built (according to --with-frontend). Then lyx
4883 is a symbolic link to lyx-[firstfrontend]
4885 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4887 * Always use std::endl with lyxerr
4889 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4891 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4893 2003-08-01 André Pönitz <poenitz@gmx.net>
4896 * BufferView_pimpl.[Ch]:
4898 * text3.C: merge BufferView::repaint() and BufferView::update()
4900 2003-08-01 José Matos <jamatos@lyx.org>
4902 * buffer.[Ch]: file_format is no longer a buffer data element.
4904 2003-08-01 André Pönitz <poenitz@gmx.net>
4909 * text2.C: make redoParagraph more independent of current cursor
4911 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4913 * text2.C: remove unneeded members
4915 2003-07-30 André Pönitz <poenitz@gmx.net>
4917 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4919 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4920 create a single function...
4922 * paragraph_funcs.C (moveItem): ... here.
4925 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4927 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4929 * LColor.[Ch]: Add comment and greyedout logical colors.
4931 2003-07-30 André Pönitz <poenitz@gmx.net>
4933 * tabular.C: don't use Assert too heavily. This crashes where it
4936 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4938 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4939 is disabled (bug 1232)
4941 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4943 * factory.C: limited 'arg' scope
4945 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4947 * factory.C: fixed Note submenu issues
4949 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4951 * factory.C: submenu for Note/Comment/Greyedout
4953 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4956 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4958 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4961 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4962 greyedout. Patch provided by Jürgen Spitzmüller.
4964 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4966 * kbmap.C (read): fix error message when reading bind files
4968 2003-07-29 Angus Leeming <leeming@lyx.org>
4970 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4971 certainly does not do what it purports to do. I am doing it, and
4972 us, a favour by killing it.
4974 2003-07-28 José Matos <jamatos@lyx.org>
4976 * buffer.C (readBody, do_writeFile):
4977 * paragraph.C(readParagraph): \end_document replaces \the_end.
4979 2003-07-29 André Pönitz <poenitz@gmx.net>
4982 * BufferView_pimpl.[Ch]:
4986 * textcursor.[Ch]: remove toggleToggle & Co
4988 2003-07-28 José Matos <jamatos@fep.up.pt>
4990 * buffer.C (readParagraph):
4991 * params_func (readParToken, readParagraph):
4992 * paragraph.C (write): \layout -> \begin_layout.
4994 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyxlex_pimpl.C (setFile): clean up slightly.
4998 * bufferparams.h: add compressed var
5000 * buffer_funcs.C (readFile): adjust for LyXLex change
5001 (newFile): ditto + simplify
5003 * buffer.C (writeFile): handle writing of compressed files
5005 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5006 Check if the file is compressed and set a bufferparm if so.
5008 * Makefile.am (lyx_LDADD): remove explicit -lz
5010 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5012 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5013 makeDocBookFile): put the real LyX version in the first line of
5017 * version.C.in: remove lyx_docversion
5019 * tabular.C (write_attribute): add a template-based version to
5020 write enums properly
5022 2003-07-28 André Pönitz <poenitz@gmx.net>
5027 * text3.C: use doubles again for x-coordinates. They are needed.
5029 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * messages.C (getLocaleDir): use lyx_localedir()
5033 * lyxlex_pimpl.C (setFile): compress stuff
5035 * buffer.C (writeFile): add some compression stuff
5036 (do_writeFile): new func, dont call expliti close... will this
5039 * Makefile.am (lyx_LDADD): add -lz
5041 2003-07-28 José Matos <jamatos@fep.up.pt>
5043 * buffer.C: increment file format.
5044 * paragraph_funcs (readParagraph, readParToken):
5045 * paragraph.C (readParagraph): add \end_layout.
5047 2003-07-27 Angus Leeming <leeming@lyx.org>
5049 * Makefile.am: remove special casing for configure-time setting of
5050 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5052 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5053 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5055 2003-07-26 André Pönitz <poenitz@gmx.net>
5057 * paragraph_func.[Ch]:
5058 * paragraph.C (realizeFont): inline it whereever it is used
5063 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5066 2003-07-26 André Pönitz <poenitz@gmx.net>
5070 * text2.C: get rid of LyXText::need_break_row
5072 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5074 * toc.[Ch]: put namespace toc inside namespace lyx
5076 * MenuBackend.C (expandToc2): adjust for lyx::toc
5079 * lyxfunc.C (dispatch): adjust for lyx::find
5081 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5082 lyx::find instead. Reorganize a bit.
5083 (LyXReplace): rename to replace
5084 (LyXFind): rename to find
5086 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5089 2003-07-26 André Pönitz <poenitz@gmx.net>
5091 * text.C (setHeightOfRow): restrict scope of temporary variable
5093 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5094 code (never has been used?)
5096 2003-07-27 Asger Alstrup <alstrup@local>
5098 * text.C (fill): Optimise algorithm to exploit that we can reuse
5099 the LyXFont for many characters.
5100 (setHeightOfRow): Same thing.
5101 (rowBreakPoint): Same thing.
5103 2003-07-26 Asger Alstrup <alstrup@local>
5105 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5107 * text.C (singleWidth): Spurious font copying in hot-spot
5108 singleWidth avoided. Reorder tests for arabic for efficiency.
5110 * text.C (fill): handle empty paragraphs better.
5112 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5115 * encoding.h: add includes
5117 * lyxrc.C: remove reading of bind files
5119 * lyx_main.C (init): setup bindings and menus only if we have a
5122 * kbmap.C (read): new method. Do the actual reading of bind
5125 * converter.C (dvipdfm_options):
5128 (output): adapt PAPER_* enums.
5130 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5132 * bufferparams.h: remove paper-related enums from there
5134 * paper.h: New file. A trivial header file to hold paper-related
5135 enums. It should later expand to contain many paper-related
5138 * lyxrc.C: declare extern displayTranslator
5140 2003-07-27 José Matos <jamatos@fep.up.pt>
5142 * tabular.[Ch] (linuxdoc): add support for tables and figures
5145 2003-07-27 José Matos <jamatos@fep.up.pt>
5147 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5148 consistency in both functions.
5149 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5151 2003-07-26 Asger Alstrup <alstrup@local>
5153 * rowpainter.C (paintRows): Change algorithm to work directly on
5154 the insets rather than asking every character in the document
5155 whether its an inset.
5157 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5159 * buffer.C (openFileWrite): factorize some code
5161 2003-07-26 Angus Leeming <leeming@lyx.org>
5164 * lyx_main.[Ch]: replace occurances of system_tempdir with
5167 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5169 * rename Inset to InsetOld
5171 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5173 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5174 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5175 which I think is a bit clearer. EDIT is gone, since it was
5176 premature optimisation, and broken for mathed anyway.
5177 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5178 with cursor positioning in insets as well (math insets still do not
5179 work, but that's a different story anyway.) It mysteriously
5180 crashes sometimes with undo in the first paragraph, but I'm fairly
5181 confident that this is a compiler bug.
5183 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5185 * paragraph.C (Paragraph): adjust for new clone return type
5187 (copyIntoMinibuffer): ditto
5189 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5191 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5192 by not having a special case, and always doing a full rebreak of
5193 the document after undo.
5195 2003-07-23 Angus Leeming <leeming@lyx.org>
5197 * factory.C (createInset): InsetExternal::setParams now takes a
5200 2003-07-23 Angus Leeming <leeming@lyx.org>
5202 * factory.C (createInset): changed interface to the external and
5203 graphics mailers' string2params functions.
5205 2003-07-23 Angus Leeming <leeming@lyx.org>
5207 * factory.C (createInset): pass a
5208 Buffer const * parameter to InsetExternalMailer's string2params.
5210 2003-07-22 John Levon <levon@movementarian.org>
5212 * Thesaurus.h: include the right aiksaurus header
5214 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5216 * MenuBackend.C (expand): check menu shortcuts unconditionally
5218 2003-07-21 Angus Leeming <leeming@lyx.org>
5220 * factory.C (createInset): pass a
5221 buffer_path parameter to InsetGraphicsMailer's string2params.
5223 2003-07-21 Angus Leeming <leeming@lyx.org>
5225 * BufferView_pimpl.C (buffer):
5228 * lyxfunc.C (dispatch):
5229 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5230 rather than the grfx shortcut.
5232 2003-07-21 André Pönitz <poenitz@gmx.net>
5234 * rowpainter.C: remove unused variables
5237 * tabular_funcs.h: move to tabular.C
5238 * Makefile.am: adjust
5240 * tabular.[Ch]: basic optical cleaning
5242 * author.h: pass references, not values
5244 2003-07-18 André Pönitz <poenitz@gmx.net>
5252 * text3.C: two-phase drawing for InsetText and InsetTabular
5253 some float -> int changes.
5255 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5257 * lyx_main.C: fix the fix
5259 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5261 * lyx_main.C: fix a crash in batch mode if no files specified
5264 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5266 * format.[Ch] (papersize): moved to BufferParams
5267 * converter.[Ch] (dvips_options): moved to BufferParams
5268 (dvipdfm_options): moved to anon namespace
5269 * bufferparams.[Ch]: added above functions.
5271 2003-07-17 André Pönitz <poenitz@gmx.net>
5275 * text2.C: don't call inset->update() anymore
5277 * metricsinfo.[Ch]: add convenience constructor
5279 2003-07-16 André Pönitz <poenitz@gmx.net>
5284 * text2.C: replace the LyXCursor::irow_ member with
5285 on-demand computation of the value
5287 2003-07-16 John Levon <levon@movementarian.org>
5289 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5291 2003-07-15 André Pönitz <poenitz@gmx.net>
5294 * text2.C: remove no more needed refresh_row
5296 2003-07-15 André Pönitz <poenitz@gmx.net>
5301 * text3.C: refresh_status tristate -> need_update bool
5303 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5305 * lyxtext.h (init): remove reinit argument (act as if always true)
5306 * text2.C: adjust to that
5308 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5310 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5311 * text3.C: use it to delete selections in some cases
5312 (bugs 441, 673, 702, 954).
5314 2003-07-14 André Pönitz <poenitz@gmx.net>
5316 * rowpainter.[Ch]: reduce interface
5318 2003-07-14 André Pönitz <poenitz@gmx.net>
5320 * BufferView_pimpl.C:
5321 * text2.C: adjust after removing unused BufferView * argument
5323 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5325 * text2.C (init): fix a crash fired on resize
5327 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5329 * buffer.[Ch]: added new closing signal
5330 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5331 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5332 BufferView::Pimpl via the closing the signal
5334 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5336 * buffer.[Ch]: take out all bv-related from buffer
5338 * BufferView_pimpl.[Ch]: connect to new signals
5339 * CutAndPaste.C: removed useless asserts
5340 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5343 * lyxfunc.C: moved view-related funciontality from vc here
5344 * paragraph.C: removed outdated comments
5347 2003-07-10 André Pönitz <poenitz@gmx.net>
5349 * BufferView_pimpl.C:
5353 * text2.C: remove InsetText::InnerCache, clean up consequences
5355 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5357 * ispell.C: fix two typos in error messages
5359 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5361 * Extend Note inset to other forms of annotation like Comment
5362 and Greyedout. Right button click gives dialog.
5364 Files modified or added (+):
5368 * ControlNote.[Ch] +
5370 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5371 frontends/controllers
5375 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5377 * aspell.C: add missing namespace lyx::support
5379 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5381 * BufferView.[Ch] (newFile): Add
5382 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5383 * LaTeX.[Ch] (message): added this signal and use it
5384 * buffer.[Ch] (busy, message): added these signals and use them
5385 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5389 * importer.C: use buffer signals instead of direct bv calling
5390 * lyx_cb.[Ch] (ShowMessage): removed
5393 * paragraph_funcs.C:
5394 * text2.C: use buffer signals
5396 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5398 * introduce namespace lyx::graphics
5400 2003-07-02 André Pönitz <poenitz@gmx.net>
5402 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5404 2003-07-01 André Pönitz <poenitz@gmx.net>
5411 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5412 text*.C to text_func.C
5414 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * introduce namespace lyx::support
5418 2003-06-30 André Pönitz <poenitz@gmx.net>
5423 * text.C: re-enable --with-included-string
5425 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5427 * textcursor.C: add <config.h>
5429 * text.C (getWord): remove const from word_location arg
5431 * lyxvc.C (getLogFile): fix const type order
5433 * lyxtext.h: remove const from word_location arg, add arg name
5435 * lyxlayout.h: currect type on labeltype.
5437 * importer.C: correct \file
5439 * converter.C (intToFormat): use std:: on ret val, ws changes
5441 * bufferlist.h: correct \file
5443 * buffer.C (makeLinuxDocFile): fix const type order
5444 (makeDocBookFile): ditto
5445 (fillWithBibKeys): use std:: on stdlib args.
5447 * CutAndPaste.C: fix authors.
5448 (availableSelections): use std:: on return vector
5450 2003-06-27 André Pönitz <poenitz@gmx.net>
5452 * BufferView_pimpl.C:
5453 * bufferview_funcs.C:
5461 * text3.C: remove LyXCursor::row_ member
5464 * text.C: rename fullRebreak() to partialRebreak() and implement
5465 a fullRebreak() that really bereks fully
5467 * textcursor.h: new struct for cursor-related data
5469 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5471 * lyx_main.C (LyX): get full path of document loaded on the
5474 2003-06-26 André Pönitz <poenitz@gmx.net>
5476 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5477 remove unused/broken operator>,<,>=.
5479 * text.C: remove only use of broken operator<= in an Assert().
5481 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5483 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5484 moved errorlist_.clear to showErrorList
5486 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5488 * converter.C (scanLog, runLaTeX):
5489 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5490 move the bv->showErrorList call to the callers
5491 * lyxfunc.C: i.e. here...
5493 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5494 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5495 namespace, the second to...
5496 * buffer_funcs (BufferFormat, parseErrors): added
5497 * errorlist.C (ErrorList(TeXErrors const &)): removed
5499 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5501 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5503 2003-06-24 "Garst R. Reese" <reese@isn.net>
5507 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5509 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5511 * version.C.in: change docversion to 1.4
5513 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5515 * buffer.C: fix a bug just introduced
5517 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5519 * buffer.[Ch]: added the parseError signal and use it, removed
5521 * BufferView.[Ch] (addError): moved to ...
5522 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5523 to the Buffer::parseError signal to catch (guess what) parse errors
5524 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5526 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5528 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5529 ability to create a buffer and to return an existing one from
5530 the list. Moved these functions to...
5531 * buffer_funcs.[Ch]: added
5532 * BufferView.[Ch] (loadLyXFile): added
5533 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5534 job removed from bufferlist::loadLyXFile.
5535 * buffer.C (setReadOnly): make it work without view
5536 (i.e added an if (users))
5538 2003-06-19 Angus Leeming <leeming@lyx.org>
5541 * LyXAction.C (init):
5542 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5543 with LFUN_DIALOG_SHOW <name> <data>.
5545 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5547 * CutAndPaste.C (availableSelections): small compilation fix for
5548 ancient (gcc 2.9x) compilers
5550 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * text3.C (cursorNext): add tmp var
5554 * text2.C (updateCounters): for function calling out of for clause
5555 (replaceSelectionWithString): ditto
5556 (insertStringAsParagraphs): ditto
5557 (getColumnNearX): add tmp var
5558 (setCursorFromCoordinates): add tmp var
5559 (cursorDownParagraph): add tmp var
5560 (deleteEmptyParagraphMechanism): add tmp var
5562 * text.C (insertChar): add tmp var
5564 * rowpainter.C (paintDepthBar): add tmp var
5566 * CutAndPaste.C (availableSelections): potentially check all
5567 paragraphs in a cut to fill the shown strings.
5569 2003-06-18 André Pönitz <poenitz@gmx.net>
5571 * kbmap.[Ch]: use vector<> instead of list<>
5573 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5575 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5576 pasteSelection with index
5578 * text2.C (pasteSelection): modify, call pasteSelection with index
5580 * paragraph.C (asString): reimplement version with no interval to
5581 call the one with interval.
5583 * lyxtext.h: add index arg to pasteSelection
5585 * MenuBackend.C (MenuItem): handle PasteRecent
5586 (Menu::read::Menutags): add md_pasterecent
5588 (expandPasteRecent): new function
5591 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5593 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5595 (availableSelections): new function
5597 2003-06-17 Angus Leeming <leeming@lyx.org>
5599 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5601 2003-06-17 Angus Leeming <leeming@lyx.org>
5604 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5606 * lyxfunc.C (dispatch): invoke it.
5608 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5610 * iterators.C (operator++, ParPosition): reintroduce some
5611 const_cast for the benefit of older compilers.
5613 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5615 * text3.C (dispatch): do not modify clipboard when doing
5616 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5617 LFUN_DELETE_SKIP on a selection selection
5619 2003-06-16 André Pönitz <poenitz@gmx.net>
5625 * tabular.[Ch]: IU of clone() and getLabelList();
5627 2003-06-13 André Pönitz <poenitz@gmx.net>
5629 * tabular.h: compactification
5631 2003-06-12 André Pönitz <poenitz@gmx.net>
5635 * tabular_funcs.h: some renaming plus whitespace
5637 2003-06-12 André Pönitz <poenitz@gmx.net>
5640 * BufferView_pimpl.C:
5646 * toc.C: Return a Paragraph & for ParIterator::operator*()
5648 2003-06-11 John Levon <levon@movementarian.org>
5652 * ToolbarBackend.C: add "Toolbars" section and
5655 2003-06-10 Angus Leeming <leeming@lyx.org>
5658 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5660 * lyxfunc.C (dispatch): invoke it.
5662 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5664 * main.C: protect <ios> with HAVE_IOS
5665 (main): protect sync_with_stdio with HAVE_IOS
5667 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5669 * text2.C (cutSelection): adjust
5670 (pasteSelection): adjust
5672 * messages.C: handle get of empty string
5674 * main.C (main): use sync_with_stdio(false)
5676 * lyxfunc.C (dispatch): adjust
5678 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5679 (WriteAs): remove unneeded BufferView arg.
5681 * bufferparams.h: use correct types on papersize, papersize2 and
5684 * bufferparams.C (readToken): adjust for type
5685 (writeLaTeX): add missing cases to switch.
5687 * bufferlist.C (quitWriteBuffer): adjust
5690 * buffer.C (asciiParagraph): remove some commented code.
5692 * CutAndPaste.C: remove current_view extern variable.
5693 (cutSelection): add BufferParams arg.
5694 (eraseSelection): add BufferParams arg.
5695 (pasteSelection): add Buffer const & arg
5697 2003-06-07 John Levon <levon@movementarian.org>
5700 * paragraph_funcs.C:
5701 * paragraph_pimpl.C:
5705 * paragraph.C: allow InsetERT to freely space lines,
5706 and some consolidation of code
5708 2003-06-06 José Matos <jamatos@fep.up.pt>
5710 * buffer.C (makeDocBookFile): fix bug #821
5712 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5714 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5716 2003-06-04 Angus Leeming <leeming@lyx.org>
5718 * buffer.C: bump format to 224.
5720 2003-06-05 André Pönitz <poenitz@gmx.net>
5722 * text2.C (redoParagraphs): remove two const_cast<>
5724 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5726 * ParagraphList.h: remove last remnants of NO_STD_LIST
5728 2003-06-03 Angus Leeming <leeming@lyx.org>
5730 * factory.C (createInset): small change to the way InsetExternal's params
5733 2003-06-04 André Pönitz <poenitz@gmx.net>
5735 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5737 * paragraph_pimpl.h:
5738 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5740 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5742 * undo_funcs.C: make some simple cases of undo work again
5744 2003-06-03 John Levon <levon@movementarian.org>
5746 * ispell.C: HPUX doesn't have sys/select.h
5749 2003-06-03 John Levon <levon@movementarian.org>
5751 * CutAndPaste.C: update tabular and include inset
5756 * paragraph.C: remove owningBuffer(), don't pass Buffer
5759 * factory.C: insetGraphicsParams changed
5761 2003-06-02 John Levon <levon@movementarian.org>
5767 * text3.C: remove insetparent
5769 2003-06-02 John Levon <levon@movementarian.org>
5772 * buffer.C: fix inset_iterator.end(), move out of line
5775 2003-06-01 John Levon <levon@movementarian.org>
5777 * text3.C: use a proper cut/paste when doing inset
5778 insert (from Jürgen Spitzmüller)
5780 2003-06-01 John Levon <levon@movementarian.org>
5782 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5784 2003-05-30 André Pönitz <poenitz@gmx.net>
5786 * rowpainter.C: unify second drawing phase
5788 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5790 * trans_mgr.C: remove one case of current_view
5792 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5794 * paragraph_funcs.h: remove paragraph.h include
5796 * paragraph.h: delete NO_STD_LIST stuff
5798 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5800 * buffer.h: remove paragraph.h include
5802 * ParagraphList.C: delete file
5804 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5806 * toc.C (getTocList): adjust
5808 * paragraph_pimpl.C (validate): adjust
5810 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5812 * paragraph.C (Paragraph): adjust
5813 (getPositionOfInset): use const_iterator, adjust
5814 (bibitem): use const_iterator, adjust
5815 (setInsetOwner): adjust
5817 * iterators.C (operator++): adjust
5819 * InsetList.[Ch]: Replace selfmade iterator with standard
5820 vector::iterator also introduce const_iterator. Remove getPos,
5821 getInset and setInset from InsetTable. Adjust accordingly.
5823 * BufferView.C (lockInset): adjust
5824 (ChangeInsets): adjust
5826 * tabular.[Ch]: delete commented same_id functions
5828 2003-05-28 John Levon <levon@movementarian.org>
5830 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5832 2003-05-28 André Pönitz <poenitz@gmx.net>
5834 * metricsinfo.[Ch]: remove 'fullredraw' member
5836 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5838 * lyxtextclass.C (operator): remove caching.
5840 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5844 * text2.C (cursorBottom): adjust
5845 (setCounter): use ParagraphList::find, adjust
5847 * text.C (workWidth): use ParagraphList::find, adjust
5849 * lyxcursor.C (LyXCursor): adjust
5851 * buffer.C (inset_iterator): adjust
5853 * ParagraphList.h: make iterator(value_type) private, make
5854 ParagraphList a friend of iterator.
5856 * ParagraphList.C (find): new function
5858 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5860 2003-05-27 André Pönitz <poenitz@gmx.net>
5862 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5864 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5866 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5868 2003-05-26 John Levon <levon@movementarian.org>
5870 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5872 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * remove same_id from function signatures, adjust.
5876 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5880 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5882 * paragraph.C (Paragraph): get rid of same_ids parameter
5884 * ParagraphList.C (insert): adjust
5887 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * paragraph_funcs.C (breakParagraph): adjust
5890 (breakParagraphConservative): adjust
5892 * buffer.C (readParagraph): adjust
5894 * ParagraphList.C (insert): take a reference instead of a pointer
5897 * paragraph.[Ch] (id): new function
5899 * bufferlist.C (newFile): adjust
5901 * ParagraphList.C (ParagraphList): adjust
5903 (push_back): take a reference instead of a pointer.
5905 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5907 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5910 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5911 set else use old code.
5913 * ParagraphList.C: remove all NO_NEXT code and only compile this
5914 code of NO_STD_LIST is set.
5916 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5918 * BufferView_pimpl.C:
5928 * graphics/GraphicsConverter.C:
5929 * graphics/PreviewLoader.C: header adjustment
5931 2003-05-23 Angus Leeming <leeming@lyx.org>
5933 * LaTeXFeatures.[Ch] (useBabel): new method.
5934 * bufferparams.C (writeLaTeX): use it.
5936 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * ParagraphList.h (set): remove unused function.
5940 2003-05-23 André Pönitz <poenitz@gmx.net>
5943 * BufferView_pimpl.C:
5947 * undo_funcs.C: setUndo reworked
5949 * iterators.[Ch]: add access to topmost ParagraphList
5951 * lyxtext.[Ch] (workWidth): add a const
5953 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5955 * texrow.[Ch] (increasePos): remove function
5956 * exporter.C (export): removed unused var and outdated comment
5958 2003-05-23 Angus Leeming <leeming@lyx.org>
5960 * latexrunparams.h: rename fragile as moving_arg.
5961 * paragraph.C (simpleTeXOnePar): ditto.
5962 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5964 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5966 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5968 (textUndoOrRedo): comment out a currently unused var.
5970 * paragraph.h (NO_NEXT): enable NO_NEXT
5972 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5974 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5976 * exporter.C (Export): adjust for removeAutoInsets removal.
5978 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5980 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5982 * BufferView.[Ch] (removeAutoInsets): delete function
5984 2003-05-22 Angus Leeming <leeming@lyx.org>
5986 * latexrunparams.h: add a free_spacing variable.
5988 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5989 to pass moving_arg, as the data is stored in runparams.fragile.
5991 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5992 to Inset::latexOptional or to simpleTeXOnePar.
5994 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5995 free_spacing arg to Inset::latexOptional.
5997 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6000 2003-05-22 Angus Leeming <leeming@lyx.org>
6002 * latexrunparams.h: add fragile and use_babel variables.
6004 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6005 * buffer.C (makeLaTeXFile): store this returned value in
6006 runparams.use_babel, thus passing it to the inset::latex methods.
6008 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6009 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6011 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6012 longer has a fragile arg, as it is stored in runparams.fragile.
6014 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6015 moving_arg parameter as the data is stored in runparams.fragile.
6017 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6018 a fragile parameter as the data is stored in runparams.fragile.
6020 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6022 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6024 2003-05-22 Angus Leeming <leeming@lyx.org>
6026 * latexrunparams.h: add a 'bool nice' which defaults to false.
6028 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6029 now encapsulated within runparams.
6031 * bufferlist.C (updateIncludedTeXfiles):
6032 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6034 2003-05-22 Angus Leeming <leeming@lyx.org>
6036 * latexrunparams.h: new file containing struct LatexRunParams.
6037 * Makefile.am: add new file.
6039 * LaTeX.[Ch] (c-tor, run):
6040 * buffer.[Ch] (makeLaTeXFile):
6041 * bufferlist.[Ch] (updateIncludedTeXfiles):
6042 * converter.C (convert, scanLog):
6043 * converter.[Ch] (runLaTeX):
6044 * exporter.C (Export):
6045 * paragraph.[Ch] (simpleTeXOnePar):
6046 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6047 * paragraph_funcs.[Ch] (latexParagraphs):
6048 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6049 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6050 pass around a LatexRunParams parameter.
6052 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6054 * paragraph.[Ch]: remove unused constructor
6056 * ParagraphList.C (erase): new function, taking two iterators
6058 2003-05-22 André Pönitz <poenitz@gmx.net>
6060 * undo_funcs.C: remove duplicated code
6062 * iterator.[Ch]: operator=
6064 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * tabular.C (SetMultiColumn): ws changes
6068 * rowpainter.C (paintFirst): get rid of a ->previous
6070 * lyx_cb.C (getPossibleLabel): parlist simplification
6072 * BufferView.C (ChangeInsets): simplify slightly.
6074 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6076 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6077 * lfuns.h: new LFUN_SPACE
6078 * lyxfunc.C: protected space has a new lfun
6079 * paragraph_funcs.C: read new space insets
6081 * factory.C: handle new space insets
6083 2003-05-22 André Pönitz <poenitz@gmx.net>
6086 * BufferView_pimpl.C:
6089 * undo_funcs.C: return a ParIterator from getParFromID.
6091 * iterators.[Ch]: add two const's
6093 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * toc.C (getTocList): adjust
6097 * iterators.[Ch]: rework for parlist
6099 * buffer.C (par_iterator_begin): adjust
6100 (par_iterator_end): adjust
6102 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6104 * BufferView.C (removeAutoInsets): adjust
6105 (ChangeInsets): adjust
6107 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6109 * text.C (top_y): fix bug 1110
6111 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6113 * errorlist.[Ch]: added
6116 * BufferView_pimpl.C:
6117 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6120 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6122 * Makefile.am: ensure that lyx is relinked upon changes to the
6123 various "convenience" libs.
6125 2003-05-20 Angus Leeming <leeming@lyx.org>
6127 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6128 files are compiled in alphabetical order again.
6130 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6132 2003-05-19 Angus Leeming <leeming@lyx.org>
6134 * gettext.[Ch]: remove "char const * _(char const *)".
6136 2003-05-19 André Pönitz <poenitz@gmx.net>
6138 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6147 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6149 2003-05-19 André Pönitz <poenitz@gmx.net>
6153 * lyxtextclass.[Ch]:
6155 * paragraph_funcs.[Ch]:
6157 * text3.C: more insetenv work
6159 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6161 * ParagraphParameters.C (params2string): small bug fixed
6163 2003-05-16 André Pönitz <poenitz@gmx.net>
6166 * bufferview_funcs.C: patch from Kornel Benko to prevent
6167 crash when _(...) is called twice in a statement
6169 2003-05-16 André Pönitz <poenitz@gmx.net>
6176 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6178 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6180 * lyx_main.C (init): remove spurious static_cast
6182 2003-05-14 André Pönitz <poenitz@gmx.net>
6184 * BufferView.C: fix format string
6186 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6188 * BufferView.[Ch] (insertErrors): removed
6189 * BufferView.[Ch] (showErrorList): added
6190 * buffer.C (runChkTeX):
6191 * converter.C (scanLog): call showErrorList instead of inserterrors
6193 2003-05-13 André Pönitz <poenitz@gmx.net>
6195 * BufferView_pimpl.C:
6197 * bufferview_func.C:
6204 * tabular_funcs.h: tostr() from its own header
6206 * ParagraphParameters.C:
6211 * text3.C: STRCONV()
6213 2003-05-12 André Pönitz <poenitz@gmx.net>
6216 * BufferView_pimpl.C:
6220 * ParagraphParameters.C:
6224 * bufferview_funcs.C:
6237 * paragraph_funcs.C:
6241 * text3.C: boost::format -> bformat all over the place
6244 2003-05-09 André Pönitz <poenitz@gmx.net>
6246 * LColor.[Ch]: Pimpl the #include <map> away
6248 2003-05-09 John Levon <levon@movementarian.org>
6250 * bufferlist.C: never remove emergency saves
6252 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * Makefile.am: better lib building
6256 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6258 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6260 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6261 (simpleTeXSpecialChars): adjust
6262 (simpleTeXSpecialChars): adjust
6263 * paragraph.C (simpleTeXOnePar): adjust
6264 * buffer.C (makeLaTeXFile): adjust
6266 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6268 * text2.C (changeDepth): parlist cleanup
6269 (getColumnNearX): ditto
6271 * rowpainter.C (getLabelFont): parlist cleanup
6273 * bufferlist.C (newFile): parlist cleanup
6275 * CutAndPaste.C (eraseSelection): parlist cleanup
6277 * BufferView_pimpl.C (trackChanges): parlist cleanup
6280 * BufferView.C (lockInset): parlist cleanup.
6281 (ChangeInsets): ditto
6283 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * CutAndPaste.h: Update file header.
6287 * CutAndPaste.C: Update file header.
6288 Store the parts cut out of the Document in a limited_stack.
6289 (copySelection): adjust
6290 (pasteSelection): new function, takes the index in the limited stack.
6291 (nrOfParagraphs): adjust
6292 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6293 simplify error inset insertion.
6294 (checkPastePossible): adjust
6296 2003-05-06 John Levon <levon@movementarian.org>
6298 * text2.C: don't cast wrap inset to float
6300 2003-05-05 André Pönitz <poenitz@gmx.net>
6303 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6305 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6306 few naked Paragraph *.
6308 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6310 * bufferparams.C: Output warning if a document with missing
6311 TeX document class is loaded
6312 * exporter.C: Disable TeX exports if the document class is missing
6315 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6316 isTeXClassAvailable()
6318 2003-05-03 John Levon <levon@movementarian.org>
6321 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6322 explicit cursor show/hide
6324 * BufferView_pimpl.h:
6325 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6326 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6328 * lyxfunc.C: hide cursor before dispatching.
6333 * text3.C: remove explicit cursor hides
6335 2003-05-02 André Pönitz <poenitz@gmx.net>
6337 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6340 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6343 * text2.C: tiny whitespace
6345 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * undo_funcs.C: almost only ws changes.
6349 * ParagraphList.C (splice): just return if pl is empty.
6351 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6353 * ParagraphList.C (splice): new function.
6355 * CutAndPaste.C (pasteSelection): use it
6357 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * CutAndPaste.C (pasteSelection): remove the last next and
6360 previous from this file.
6362 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6364 * CutAndPaste.C (pasteSelection): more clean up, user proper
6365 ParagraphList functions for pasteing.
6367 * ParagraphList.C (insert): new function, three arg insert
6369 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * ParagraphList.C (insert): new function, three arg insert
6373 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6376 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6380 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6384 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6387 (copySelection): clean up a bit.
6388 (pasteSelection): use make_pair
6390 * ParagraphList.C (ParagraphList): implement copy constructor
6391 (operator=): implement, base on copy constructor.
6394 * paragraph.C (erase): return a bool
6396 * paragraph_pimpl.C (erasePos): remove function, move contents...
6397 (erase): ... here. Return a bool.
6398 (erase): call erase instead of erasePos.
6400 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6402 * ParagraphList.h: define PitPosPair
6403 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6404 ParagraphList, fix a bug on pasting multiple pars
6405 * text2.C: change interface to C&P
6407 2003-04-30 André Pönitz <poenitz@gmx.net>
6409 * undo_func.C: revert part of yesterday's patch 2
6411 2003-04-30 John Levon <levon@movementarian.org>
6413 * LColor.C: s/tabular/table/
6415 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * text3.C (dispatch): do not convert iterator -> pointer
6418 * undo_funcs.C (setCursorParUndo): ditto
6419 * text_funcs.C (transposeChars): ditto
6421 * text2.C (setLayout): ws changes only
6423 * text.C (breakParagraph): do not convert iterator -> pointer
6425 (acceptChange): ditto
6426 (rejectChange): ditto
6431 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6434 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6436 * text3.C (gotoInset): YABG (yet another bad getChar)
6438 2003-04-29 André Pönitz <poenitz@gmx.net>
6440 * paragraph.h: make operator= private unimplemented as long as
6443 * ParagraphList.C: whitespace
6446 * paragraph_pimpl.[Ch]:
6447 * paragraph_funcs.C:
6449 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6452 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6454 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6456 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6457 * paragraph.[Ch] (erase):
6458 * paragraph_pimpl.[Ch] (erase): change return type and value
6459 * text2.C (cutSelection): some rework
6461 2003-04-28 John Levon <levon@movementarian.org>
6463 * bufferlist.C: changes for unsaved changes dialog
6465 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6467 * bufferlist.C (newFile): set language (messages_) for new
6470 * buffer.C (readFile): ws changes only.
6472 2003-04-28 André Pönitz <poenitz@gmx.net>
6477 * BufferView_pimpl.C:
6478 * BufferView.C: getParFromID related ParagraphList::iterator changes
6480 2003-04-28 André Pönitz <poenitz@gmx.net>
6482 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6485 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * messages.C: remove one more localedir class variable.
6489 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * messages.C (getLocaleDir): singleton generation function
6493 (Messages): add a default constructor.
6495 * main.C (main): do not setup localedir here, do not call
6498 * gettext.C (_): use it.
6499 (gettext_init): delete funciton
6501 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * gettext.C (getLyXMessages): new singleton generating function.
6505 * buffer.C (updateDocLang): adjust
6507 * Makefile.am (messages.o): add target
6508 (main.o): remove target
6510 2003-04-27 John Levon <levon@movementarian.org>
6515 * lyxvc.C: specify cancel button in Alert::prompt
6517 2003-04-26 John Levon <levon@movementarian.org>
6522 * LyXAction.C: add LFUN_INSET_SETTINGS
6524 * lyxfunc.C: don't enable tabular-feature when there's
6525 just any locking inset
6527 2003-04-26 John Levon <levon@movementarian.org>
6529 * bufferlist.C: re-add Cancel to buffer close question
6531 * lyxfunc.C: fix import UI a bit
6533 2003-04-25 John Levon <levon@movementarian.org>
6535 * gettext.C: remove the broken asserts for now
6537 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6539 * messages.C: make case where setlocale cannot comply work better.
6541 * buffer.C (updateDocLang): new function
6542 (changeLanguage): use it
6545 * text2.C (setCounter): use B_ a bit.
6547 * lyxlayout.C (Read): be sure to trim the label strings.
6549 * messages.C (Messages): fix typo in comment
6551 * buffer.C (readFile): set message_ after file is loaded.
6552 (makeDocBookFile): remove double return
6553 (changeLanguage): reset message_ upon language change.
6554 (B_): new func, use this to get translated buffer strings.
6556 * main.C: add myself and Jean Marc as authors.
6558 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6560 * messages.[hC]: pimplify Messages, and three different pimpls to be
6561 used in different circumstances.
6563 * gettext.[Ch]: change for use with new message code.
6565 2003-04-24 André Pönitz <poenitz@gmx.net>
6567 * factory.C: support for eqref
6569 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6571 * messages.[Ch]: add missing char
6573 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6575 * messages.[Ch]: New files
6577 2003-04-18 John Levon <levon@movementarian.org>
6581 * BufferView_pimpl.C:
6585 * text2.C: remove layout-copy/paste (bug 778)
6587 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6589 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6591 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6593 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6594 if they succeed. Act accordingly.
6596 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * text2.C (setCharFont): adjust
6599 (setCounter): adjust
6600 (insertStringAsLines): adjust
6602 * text.C (leftMargin): adjust
6603 (setHeightOfRow): adjust
6605 * rowpainter.C (paintFirst): adjust
6608 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6610 (isFirstInSequence): ditto
6611 (getEndLabel): ditto
6614 * paragraph.C (getParLanguage): comment out some hard stuff.
6616 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6618 (simpleDocBookOnePar): ditto
6619 (makeDocBookFile): use ParagraphList::iterator
6621 * CutAndPaste.C (pasteSelection): adjust
6623 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * text2.C (getFont): adjust
6626 (getLayoutFont): adjust
6627 (getLabelFont): adjust
6629 * paragraph_funcs.C (TeXOnePar): adjust
6631 * buffer.C (simpleLinuxDocOnePar): adjust
6632 (simpleDocBookOnePar): adjust
6634 * CutAndPaste.C (pasteSelection): adjust
6636 * BufferView.C (getEncoding): adjust
6638 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6640 2003-04-16 John Levon <levon@movementarian.org>
6642 * lyxfind.C: use parlist stuff for search/changes
6644 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6646 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6648 * text2.C (deleteEmptyParagraphMechanism): adjust
6650 * text2.[Ch] (ownerParagraph): delete func (both of them
6652 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6656 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * ParagraphList.C: prepare for NO_NEXT
6660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * text2.C (getFont): adjust
6663 (getLayoutFont): adjust
6664 (getLabelFont): adjust
6666 * paragraph.C (getFont): adjust
6667 (getLabelFont): adjust
6668 (getLayoutFont): adjust
6670 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6672 2003-04-15 John Levon <levon@movementarian.org>
6676 * lyx_main.C: handle Include in .ui files
6678 2003-04-15 John Levon <levon@movementarian.org>
6680 * MenuBackend.C: make the doc files length shorter
6683 * ToolbarBackend.C: handle toolbar placement flags,
6686 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6688 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6691 * paragraph_funcs.C (TeXOnePar): adjust
6693 * paragraph.C (getLabelFont): add outerfont arg, adjust
6694 (getLayoutFont): ditto
6695 (simpleTeXOnePar): adjust
6697 * paragraph_pimpl.C (realizeFont): delete func
6699 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6701 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6702 row argument, constify cur argument.
6704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6706 * text2.C (getFont): adjust
6707 (getLayoutFont): adjust
6708 (getLabelFont): adjust
6710 * paragraph_funcs.C (TeXOnePar): adjust
6711 (outerFont): new func...
6712 (realizeFont): ...moved out from here, changed this to facilitate
6715 * paragraph.C (getFont): take outerfont as arg, adjust
6716 (simpleTeXOnePar): add outerfont arg, adjust
6718 * buffer.C (simpleLinuxDocOnePar): adjust
6719 (simpleDocBookOnePar): adjust
6721 * CutAndPaste.C (pasteSelection): adjust
6723 * BufferView.C (getEncoding): adjust
6725 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6727 * text2.C (setCharFont): adjust
6728 (setCounter): adjust
6730 * text.C (leftMargin): adjust
6731 (setHeightOfRow): adjust
6733 * rowpainter.C (paintFirst): adjust
6736 * paragraph_pimpl.C (realizeFont): adjust
6738 * paragraph.C (isFirstInSequence): move from here...
6739 * paragraph_funcs.C (isFirstInSequence): ...to here
6741 * paragraph.C (outerHook): move from here...
6742 * paragraph_funcs.C (outerHook): ...to here
6744 * paragraph.C (depthHook): move from here...
6745 * paragraph_funcs.C (depthHook): ...to here
6747 * paragraph.C (getEndLabel): move from here...
6748 * paragraph_funcs.C (getEndLabel): ...to here
6750 * text2.C (realizeFont): move from here...
6751 * paragraph_funcs.C (realizeFont): ...to here
6753 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6755 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6757 2003-04-14 Angus Leeming <leeming@lyx.org>
6759 * LColor.[Ch]: scrap LColor mathcursor.
6761 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6763 * lyxlex.[Ch] (text): delete function
6764 * trans.C (Load): adjust
6765 * paragraph_funcs.C (readParToken): adjust
6767 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6769 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6770 vector<char> instead of a char[].
6772 * lyxlex_pimpl.C (getString): adjust
6774 (lex): use getString
6778 * lyxlex.C (text): use pimpl_->getString()
6782 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6785 (makeFontEntriesLayoutSpecific): temp var for par.size()
6786 (setLayout): temp var for ownerParagraphs().end()
6787 (fullRebreak): temp var for rows().end()
6788 (selectionAsString): temp var for boost::next(startpit), realize
6789 that the while really is a regular for loop.
6790 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6791 setCursor in one place.
6792 (setParagraph): temp vr for ownerParagraphs().end()
6793 (updateCounters): make the while loop a for loop
6794 (cutSelection): temp var for ownerParagraphs().end()
6795 (updateInset): make the do {} while() a regular for loop
6796 (getCursorX): use temp vars
6797 (setCurrentFont): use temp vars
6798 (getColumnNearX): use temp vars
6800 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6802 * text.C (transformChar): use temp var for getChar
6803 (computeBidiTables): use temp var for row->par()
6804 (fill): move temp vars for row->par() and pit->layout() earlier in
6806 (labelFill): use temp var for row->par()
6807 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6808 asc and desc, realize that pit never changes and that firstpit is
6809 just a duplicate and not needed. Exchange rit->par() with pit in a
6811 (breakAgain): use a temp var for boost::next(rit)
6812 (breakAgainOneRow): ditto
6813 (breakParagraph): use a temp var for rows().begin()
6814 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6815 (cursorRightOneWord): use temp var for cursor.par() and
6816 cursor.pos(), remove usage of tmpcursor.
6817 (cursorLeftOneWord): use temp var for cursor.par() and
6818 cursor.pos() only set cur at end of function.
6820 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6822 * text.C, text2.C: exchange all usage of Paragraph::next with
6823 boost::next(ParagraphList::iterator)
6825 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6827 * text2.C (cursorTop): simplify implementation
6828 (cursorBottom): ditto
6829 (setParagraph): use ParagraphList::iterator
6830 (setCurrentFont): adjust
6831 (getColumnNearX): adjust
6832 (cursorRight): adjust
6833 (cursorLeft): remove usage of Paragraph::previous
6834 (cursorUpParagraph): ditto
6835 (deleteEmptyParagraphMechanism): slight cleanup
6837 * text.C (isBoundary): take a Paragraph const & instead of a
6839 (addressBreakPoint): ditto
6840 (leftMargin): remove usage of Paragraph::previous.
6841 (setHeightOfRow): ditto
6842 (cursorLeftOneWord): ditto
6843 (selectNextWordToSpellcheck): ditto
6846 (breakParagraph): remove one usage of Paragraph::next
6847 (redoParagraph): ditto
6848 (acceptChange): ditto
6849 (insertChar): adjust
6850 (rowBreakPoint): adjust
6852 * bufferview_funcs.C (toggleAndShow): adjust
6854 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6856 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6857 methods to access it.
6859 * text.C: Added updateRowPositions to compute all row positions.
6860 Make top_y and getRowNearY() to use the cached y position
6862 2003-04-11 John Levon <levon@movementarian.org>
6864 * text.C (rowBreakPoint): reintroduce the labelEnd
6865 checks, code copied from the row fill stuff. Deep voodoo.
6867 * text.C (fill): add a comment and debugging for the
6870 2003-04-11 John Levon <levon@movementarian.org>
6872 * text.C: make sure fullrow insets get wrapped to the next line,
6873 even when they're in a manual label
6875 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * text2.C (insertParagraph): make it take ParagraphList::iterator
6879 (setLayout): make it return ParagraphList::iterator
6880 (redoParagraphs): ditto
6882 (checkParagraph): ditto
6884 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6886 * text2.C: adjust several funcs.
6887 (realizeFont): take a ParagraphList::iterator as arg.
6888 (getLayoutFont): ditto
6889 (getLabelFont): ditto
6890 (setCharFont): ditto
6892 * text.C: adjust several funcs.
6894 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6896 * text.C (selectNextWordToSpellcheck): don't accidentally
6899 2003-04-10 John Levon <levon@movementarian.org>
6901 * ToolbarBackend.C (getIcon): special handling for
6904 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6906 * text2.C (cursorRight): a getChar assert fixed
6908 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * text2.C (getFont): change to take a ParagraphList::iterator
6911 instead of Paragraph*
6912 Adjust several functions.
6914 * text.C (transformChar): change to take a ParagraphList::iterator
6915 instead of Paragraph*
6916 (singleWidth): ditto
6917 Adjust several functions.
6919 * rowpainter.C: adjust several functions
6920 * rowpainter.h:store a ParagraphList::iterator and not a
6924 2003-04-09 John Levon <levon@movementarian.org>
6929 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6930 and the "help" bits as well
6932 2003-04-09 John Levon <levon@movementarian.org>
6935 * ToolbarBackend.C: allow multiple toolbars
6937 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * undo_funcs.C (setCursorParUndo): adjust
6941 * text_funcs.C (transposeChars): adjust
6943 * text3.C (gotoNextInset): adjust
6946 * text2.C (setLayout): adjust
6947 (changeDepth): adjust
6949 (redoParagraphs): adjust
6950 (selectionAsString): adjust
6951 (setParagraph): adjust
6952 (insertInset): adjust
6953 (cutSelection): adjust
6954 (copySelection): adjust
6955 (pasteSelection): adjust
6956 (insertStringAsLines): adjust
6957 (updateInset): adjust
6958 (setCursor): change to take a ParagraphList::iterator parameter
6959 (setCursorIntern): change to take a ParagraphList::iterator parameter
6960 (setCurrentFont): adjust
6961 (cursorLeft): adjust
6962 (cursorRight): adjust
6963 (deleteEmptyParagraphMechanism): adjust
6965 * text.C (breakParagraph): adjust
6966 (insertChar): adjust
6967 (acceptChange): adjust
6968 (rejectChange): adjust
6969 (selectNextWordToSpellcheck): adjust
6970 (changeCase): adjust
6974 * lyxfind.C (SearchForward): adjust
6975 (SearchBackward): adjust
6976 (nextChange): adjust
6978 * lyxcursor.C (par): adjust
6980 * lyxcursor.h: store a ParagraphList::iterator instead of a
6983 * lyx_cb.C (getPossibleLabel): adjust
6985 * bufferview_funcs.C (toggleAndShow): adjust
6987 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6990 * BufferView.C (removeAutoInsets): adjust
6991 (lockedInsetStoreUndo): adjust
6993 2003-04-09 John Levon <levon@movementarian.org>
6995 * ToolbarBackend.C: try icon without argument
6996 if with argument fails
6998 2003-04-08 John Levon <levon@movementarian.org>
7001 * ToolbarBackend.C: add getIcon(), handle tooltip,
7002 and change from "Icon" to "Item".
7004 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7006 * BufferView.C (lockInset): another bad getchar crunched
7008 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7010 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7013 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7015 * lyxfind.C (searchForward, searchBackwards): bug 782
7017 2003-04-07 John Levon <levon@movementarian.org>
7019 * paragraph.C: remove dead comment
7021 * text.C: remove troublesome depth-fiddling code
7022 in leftMargin() and rightMargin() (bug 1017)
7024 * text.C: fix breaking of rows in nested lists
7027 * text2.C (updateCounters): fix up depth values
7030 2003-04-07 John Levon <levon@movementarian.org>
7032 * BufferView_pimpl.C: clear message when doc finishes resizing,
7033 and after a mouse event
7035 * lyxfunc.C: clear message after exiting inset
7037 2003-04-07 John Levon <levon@movementarian.org>
7039 * bufferview_funcs.C: show math status not outside
7040 status in the statusbar
7042 2003-04-07 John Levon <levon@movementarian.org>
7044 * lyxfunc.C: note status changed after a depth change
7046 2003-04-04 Angus Leeming <leeming@lyx.org>
7048 * LaTeX.h: move AuxInfo operator==, != out of line.
7049 Remove LaTeX virtual destructor; nothing derives from it.
7050 Move operator()() out of public area and rename it startscript().
7051 Change protected for private.
7053 2003-04-04 Angus Leeming <leeming@lyx.org>
7056 * text2.C: remove unneeded #includes.
7058 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7060 * text2.C (dEPM): fix the heigth of the next row
7062 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7064 * text.C: squashed an invalid getChar requester + some ws changes
7066 2003-04-03 John Levon <levon@movementarian.org>
7068 * bufferview_funcs.h:
7069 * bufferview_funcs.C:
7072 * text2.C: make getStatus work for the env depth lfuns
7074 2003-04-03 John Levon <levon@movementarian.org>
7076 * bufferview_funcs.h:
7077 * bufferview_funcs.C:
7080 * text2.C: parlistize decDepth(), by merging it with incDepth()
7082 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7084 * lyxrow.h: store a ParagraphList::iterator instead of a
7085 Paragraph* and adjust other class functions to suit.
7087 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7090 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7092 * text2.C (setCursor): do not anchor to cursor row for the time being
7094 2003-04-02 John Levon <levon@movementarian.org>
7101 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7103 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * paragraph.h: make ParagraphList and ParagraphList::iterator
7106 friends of Paragraph.
7108 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7110 * ParagraphList.C: Use the private next_ and previous_ from
7113 2003-04-01 John Levon <levon@movementarian.org>
7117 * Makefile.am: rename, remove defaults gunk
7120 * MenuBackend.C: remove defaults gunk
7123 * Languages.C: remove defaults gunk
7126 * lyx_main.C: error out if files couldn't be found.
7128 2003-04-02 John Levon <levon@movementarian.org>
7130 * text2.C: make incDepth() use parlist
7132 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * undo_funcs.C (firstUndoParagraph): adjust
7136 * text3.C (gotoInset): adjust
7137 (dispatch): adjust, and rewrite loop.
7139 * text2.C (init): adjust, and rewrite loop.
7140 (redoParagraphs): adjust
7141 (updateInset): adjust, and rewrite loop.
7142 (deleteEmptyParagraphMechanism): adjust
7144 * tabular.C (LyXTabular): adjust
7145 (SetMultiColumn): adjust
7148 * lyxtext.[Ch] (ownerParagraph): delete function
7149 (ownerParagraphs): new function returns a ParagraphList.
7151 * BufferView.C (removeAutoInsets): adjust
7152 (insertErrors): adjust
7153 (setCursorFromRow): adjust
7155 2003-04-01 Angus Leeming <leeming@lyx.org>
7157 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7160 2003-04-02 John Levon <levon@movementarian.org>
7166 * text_funcs.C: make transposeChars a free function
7168 * lyxrow_funcs.C: remove wrong comment
7170 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7173 * rowpainter.C: adjust
7178 * lyxrow_funcs. [Ch]: new files
7180 * lyxrow.[Ch]: remove next and previous pointers
7181 (next,previous): remove accessor functions
7182 (isParEnd): move to lyxrow_funcs
7183 (lastPos): move to lyxrow_funcs
7184 (nextRowIsAllInset): move to lyxrow_funcs
7185 (lastPrintablePos): move to lyxrow_funcs
7186 (numberOfSeparators): move to lyxrow_funcs
7187 (numberOfHfills): move to lyxrow_funcs
7188 (numberOfLabelHfills): move to lyxrow_funcs
7189 (hfillExpansion): move to lyxrow_funcs
7193 * bufferview_funcs.C (toggleAndShow): adjust
7195 * RowList.h: Remove class RowList from file leave just a
7198 * RowList.C: delete file
7200 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7203 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7205 * text3.C (cursorPrevious): adjust
7206 (cursorNext): adjust
7209 * text2.C (redoHeightOfParagraph): adjust
7210 (redoDrawingOfParagraph): adjust
7213 * text.C (breakParagraph): adjust
7214 (insertChar): adjust
7217 * rowpainter.C (RowPainter): adjust
7218 (leftMargin): simplify and adjust
7219 (most rowpainter functions): adjust.
7221 * rowpainter.h: store the row as RowList::iterator not as Row*
7223 * lyxcursor.C (row): taka RowList::iterator as arg
7226 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7229 2003-04-01 Angus Leeming <leeming@lyx.org>
7231 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7232 stuff like bool Bool.
7234 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7236 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7239 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7244 * lyxtext.h (rows): drop one version and leve a const variant that
7245 returns a RowList::iterator.
7247 2003-03-31 Angus Leeming <leeming@lyx.org>
7249 * text.C (fill): ensure that the signature is the same as that in the
7252 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * text2.C (redoParagraphs): adjust
7255 (updateCounters): adjust
7256 (checkParagraph): adjust
7257 (getColumnNearX): adjust and reformat a bit.
7259 * text.C (top_y): adjust
7261 (leftMargin): adjust
7262 (prepareToPrint): adjust
7264 (getRowNearY): adjust
7266 * lyxtext.h: make rowlist_ mutable.
7268 * RowList.h: add const_iterator
7269 * RowList.C: adjust for RowList::const_iterator.
7271 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7274 2003-03-31 John Levon <levon@movementarian.org>
7277 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7279 * lyx_main.C: set default fonts from using lyx_gui funcs
7281 * exporter.C: pdf_mode moved from lyxrc
7284 * lyxfunc.C: changes from above
7286 2003-03-31 John Levon <levon@movementarian.org>
7288 * lyx_main.C: fix to the last fix
7290 2003-03-31 John Levon <levon@movementarian.org>
7292 * bufferlist.C: "Load original" -> "Load Original"
7298 * format.C: more Alert cleanups
7300 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7302 * text2.C (removeParagraph): make it take a RowList::iterator as
7304 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7305 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7307 * text.C (anchor_row): make it take a RowList::iterator as arg,
7309 (computeBidiTables): make it take a const reference to Row instead
7310 of Row pointer, adjust.
7311 (leftMargin): make it take a RowList::iterator as arg, adjust.
7312 (rowBreakPoint): adjust
7313 (breakAgainOneRow): make it take a RowList::iterator as arg,
7315 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7317 * bufferview_funcs.C (toggleAndShow): adjust
7319 2003-03-30 John Levon <levon@movementarian.org>
7323 * boost-inst.C: moved to support
7325 * several files: changes as a result
7327 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7329 * text2.C (LyXText): adjust.
7331 (removeRow): make it take a RowList::iterator as arg, adjust.
7332 (fullRebreak): adjust
7333 (deleteEmptyParagraphMechanism): adjust
7334 (clearPaint): adjust
7337 * text.C (top_y): adjust
7338 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7339 (breakAgain): make it take a RowList::iterator as arg, adjust.
7340 (breakParagraph): adjust
7341 (insertChar): adjust
7344 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7345 need_break_row, and refresh_row.
7347 * text3.C (dispatch): adjust
7349 * text2.C (checkParagraph): adjust
7351 (setCursorFromCoordinates): adjust
7353 * text.C (top_y): adjust
7355 (getRow): make it return a RowList::iterator, adjust
7356 (getRowNearY): make it return a RowList::iterator, adjust
7358 * text2.C (init): adjust
7359 (insertRow): remove function
7360 (insertParagraph): adjust
7361 (redoParagraphs): adjust
7362 (fullRebreak): adjust
7363 (updateCounters): adjust
7365 * text.C (top_y): rewrite to use RowList iterators.
7367 (setHeightOfRow): rewrite to sue RowList iterators.
7368 (appendParagraph): adjust
7369 (breakAgain): adjust
7370 (breakAgainOneRow): adjust
7371 (breakParagraph): adjust
7373 (getRowNearY): adjust, and remove commented code.
7375 * lyxtext.h (firstRow): delete function
7376 (lastRow): delete function
7377 (rows): new function (const and non-const versions.)
7378 (insertRow): delete function
7380 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7382 2003-03-29 John Levon <levon@movementarian.org>
7384 * BufferView_pimpl.C: always update scrollbar top
7385 because pasting text when we're anchored could mean we
7386 miss an update altogether
7388 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * text2.C (init): use rowlist_.end() and not 0.
7391 (insertRow): change to take a RowList::iterator as arg, adjust
7393 (insertParagraph): change to take a RowList::iterator as arg,
7395 (redoParagraphs): remove some debug msgs.
7397 * text.C (appendParagraph): change to take a RowList::iterator
7398 arg, adjust for this.
7399 (breakAgain): add an assert
7400 (breakAgainOneRow): ditto
7402 2003-03-29 John Levon <levon@movementarian.org>
7404 * text2.C: do not clear selection after inc/decDepth
7407 2003-03-29 John Levon <levon@movementarian.org>
7410 * buffer.C: fix broken strerrors according to Lars
7412 2003-03-29 John Levon <levon@movementarian.org>
7414 * converters.C: more Alert cleanups
7416 2003-03-29 John Levon <levon@movementarian.org>
7418 * bufferview_funcs.C: remove pointless Alert
7420 * buffer.C: fix confusing error message when
7421 a template is chmoded 000
7423 2003-03-29 John Levon <levon@movementarian.org>
7427 * BufferView_pimpl.C: Alert fixes
7431 * tabular-old.C: remove unused table compat reading
7433 2003-03-29 John Levon <levon@movementarian.org>
7438 * lyx_cb.C: more Alert cleanups
7440 * lyxfunc.C: don't allow chktex if not latex document
7442 2003-03-29 John Levon <levon@movementarian.org>
7446 * buffer.C: warnings pushed down from support/,
7449 2003-03-29 John Levon <levon@movementarian.org>
7451 * lyxfunc.C: safety check for C-r (revert)
7453 2003-03-29 John Levon <levon@movementarian.org>
7456 * bufferlist.C: several UI fixes using Alert::prompt.
7457 Fix the pointless looping quit code. Fix stupid revert
7462 * lyx_cb.C: use Alert::prompt
7464 * lyx_main.C: remove a silly question
7466 * lyxfunc.C: remove a couple of silly questions,
7469 2003-03-28 John Levon <levon@movementarian.org>
7471 * text2.C: fix bug 974 (End on empty par)
7473 2003-03-28 John Levon <levon@movementarian.org>
7475 * BufferView_pimpl.C:
7477 * lfuns.h: remove do-nothing math greek lfuns
7479 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7481 * lyxgluelength.h (isValidGlueLength): add default arg on
7482 parameter 2. Remove default arg from friend in class.
7484 * lyxlength.h (isValidLength): add default arg on parameter 2.
7485 Remove default arg from friend in class.
7487 * text2.C (LyXText): adjust, initialize refresh_row.
7491 (insertParagraph): adjst
7492 (redoParagraphs): adjust
7493 (fullRebreak): adjust
7494 (updateCounters): adjust
7495 (deleteEmptyParagraphMechanism): first attempt at fixing a
7498 * text.C (top_y): adjust
7499 (setHeightOfRow): adjust
7501 (getRowNearY): adjust
7503 * lyxtext.h: include RowList.h
7504 (~LyXText): not needed anymore, deleted.
7505 (firstRow): modify for RowList
7506 (lastRow): new function
7507 Delete firstrow and lastrow class variables, add a Rowlist
7508 rowlist_ class variable.
7510 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7513 * RowList.C (insert): fix case where it == begin().
7515 2003-03-26 Angus Leeming <leeming@lyx.org>
7517 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7518 the thesaurus dialog.
7520 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7524 * RowList.[Ch]: new files
7526 * ParagraphList.C (erase): handle the case where it == begin
7529 2003-03-25 John Levon <levon@movementarian.org>
7533 * aspell.C: add new aspell support
7536 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7539 2003-03-25 Angus Leeming <leeming@lyx.org>
7542 * LyXAction.C (init): new LFUN_INSET_INSERT.
7544 * BufferView_pimpl.C (dispatch): split out part of the
7545 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7547 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7550 2003-03-25 Angus Leeming <leeming@lyx.org>
7552 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7554 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7557 * text3.C: remove useless row->height(0)
7559 2003-03-25 John Levon <levon@movementarian.org>
7563 * text3.C: rename the refreshing stuff to better names
7565 2003-03-24 John Levon <levon@movementarian.org>
7567 * BufferView_pimpl.h:
7568 * BufferView_pimpl.C: update layout choice on a mouse
7571 2003-03-23 John Levon <levon@movementarian.org>
7573 * Makefile.am: fix commandtags.h reference
7575 2003-03-22 John Levon <levon@movementarian.org>
7577 * BufferView_pimpl.C:
7582 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7584 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7587 * text.C: take the rtl methods out of line
7589 2003-03-21 André Pönitz <poenitz@gmx.net>
7591 * metricsinfo.[Ch]: new files containing structures to be passed around
7592 during the two-phase-drawing...
7594 2003-03-21 André Pönitz <poenitz@gmx.net>
7596 * lyxtextclass.C: read 'environment' tag.
7598 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7600 * text2.C (removeRow): fix bug 964
7602 2003-03-20 John Levon <levon@movementarian.org>
7606 * text2.C: paint cleanups. Inset::update() dropped font
7609 2003-03-19 John Levon <levon@movementarian.org>
7611 * lyxfunc.C: only fitcursor/markDirty if available()
7613 2003-03-19 John Levon <levon@movementarian.org>
7615 * commandtags.h: rename to ...
7617 * lfuns.h: ... this, and renumber / cleanup
7619 2003-03-19 John Levon <levon@movementarian.org>
7621 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7622 fit the cursor after an lfun
7626 * BufferView_pimpl.h:
7627 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7629 * LyXAction.C: layout-character should have ReadOnly
7631 * ParagraphParameters.C:
7633 * bufferview_funcs.C:
7640 * undo_funcs.C: changes from above
7642 2003-03-18 John Levon <levon@movementarian.org>
7644 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7645 remove it from update()
7647 * lyxfunc.C: update layout choice after an lfun
7649 * text3.C: remove extra updateLayoutChoice()s
7651 2003-03-18 John Levon <levon@movementarian.org>
7653 * text.C: top_y change means full repaint, fix
7654 a drawing bug with cursor movement
7656 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7660 * text2.C: anchor row on setCursor
7662 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7664 * lyxtext.h: remove almost all mutable keywords
7667 * text3.C: remove const keywords accordingly
7669 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7671 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7673 (TeXEnvironment): ditto
7676 2003-03-17 John Levon <levon@movementarian.org>
7678 * text.C (rowBreakPoint): remove attempt to fix displayed
7679 math insets inside a manual label
7681 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7683 * lyxtext.h: remove BufferView* as first arg from almost all class
7685 * other files: adjust.
7687 2003-03-17 John Levon <levon@movementarian.org>
7691 * text2.C: more paint cleanups
7693 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7696 * rowpainter.C: remove "smart" background painting code
7698 2003-03-16 John Levon <levon@movementarian.org>
7703 * text3.C: add helper functions for setting refresh_row/y
7705 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7707 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7708 newline inset which *can* get inserted in the pass_thru layouts.
7709 This is primarily for literate documents.
7711 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7713 * buffer.C: increment LYX_FORMAT to 223
7715 2003-03-14 André Pönitz <poenitz@gmx.net>
7717 * textclass.h: prepare for environment handling, ws changes
7718 * lyxlayout.C: read latexheader and latexfooter tags
7720 2003-03-14 John Levon <levon@movementarian.org>
7722 * text2.C: rewrite ::status() a bit
7724 2003-03-13 John Levon <levon@movementarian.org>
7726 * lyxtext.h: add some docs
7728 2003-03-13 John Levon <levon@movementarian.org>
7733 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7735 2003-03-13 John Levon <levon@movementarian.org>
7737 * text3.C: fix appendix redrawing
7739 2003-03-13 John Levon <levon@movementarian.org>
7741 * text.C (setHeightOfRow):
7743 * rowpainter.C: make appendix mark have the text
7744 "Appendix" so the user knows what it is
7747 * LColor.C: s/appendixline/appendix/ from above
7749 2003-03-13 John Levon <levon@movementarian.org>
7751 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7753 * text.C: fix a getChar(pos) bug properly
7755 2003-03-13 Angus Leeming <leeming@lyx.org>
7758 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7759 Probably only temporary. Let's see how things pan out.
7761 * BufferView.C (unlockInset):
7762 * BufferView_pimpl.C (fitCursor):
7763 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7765 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7766 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7768 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7769 new functions that convert ParagraphParameters to and from a string.
7771 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7772 BufferView::Pimpl's dispatch.
7773 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7775 2003-03-13 André Pönitz <poenitz@gmx.net>
7779 * factory.C: make it aware of InsetEnv
7781 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7783 * text2.C (setCursor): never ask for one past last
7784 (setCursor): add some debugging messages.
7786 * text.C (singleWidth): never ask for one past last
7787 (singleWidth): ditto
7789 (rightMargin): ditto
7790 (rowBreakPoint): ditto
7791 (setHeightOfRow): ditto
7792 (prepareToPrint): ditto
7794 * rowpainter.C (paintBackground): never ask for one past last
7795 (paintText): never ask for one past last
7797 * paragraph_pimpl.C (getChar): make the assert stricter, never
7798 allow the one past last pos to be taken
7800 * paragraph.C (getChar): ws changes only
7802 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7803 (numberOfSeparators): ditto
7804 (numberOfHfills): ditto
7806 2003-03-12 John Levon <levon@movementarian.org>
7812 * paragraph_funcs.C: fix per-buffer authorlists
7814 2003-03-12 John Levon <levon@movementarian.org>
7816 * text.C: fix newline in right address
7818 2003-03-12 Angus Leeming <leeming@lyx.org>
7820 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7821 duplicate those in LyXFunc::dispatch.
7825 * ToolbarDefaults.C:
7826 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7827 Add LFUN_FONTFREE_UPDATE.
7829 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7830 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7832 * bufferview_func.[Ch]: several new functions to facilliate
7833 transfer of data to and from the character dialog.
7835 2003-03-12 John Levon <levon@movementarian.org>
7840 * paragraph_funcs.C:
7841 * paragraph_pimpl.C:
7845 * text3.C: remove META_NEWLINE in favour of an inset
7848 * rowpainter.C: remove paintNewline (done by inset)
7850 2003-03-12 John Levon <levon@movementarian.org>
7852 * paragraph_pimpl.C: complain about bad getChar()s
7853 for a while at least
7855 2003-03-12 John Levon <levon@movementarian.org>
7858 * buffer.C: move paragraph read into a separate function,
7859 a little renaming to reflect that.
7862 * bufferparams.C: remove the author_ids map, not necessary now
7865 * factory.C: moved Buffer::readInset to here
7867 * paragraph_funcs.h:
7868 * paragraph_funcs.C: readParagraph free function moved from
7871 * tabular.C: name change
7873 2003-03-12 John Levon <levon@movementarian.org>
7876 * ParagraphParameters.C: move par params input to
7879 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7880 behave like a normal read from the stream wrt reading
7881 a line vs. a \\token
7883 2003-03-12 John Levon <levon@movementarian.org>
7886 * ParagraphParameters.h:
7887 * ParagraphParameters.C: move output code to a
7890 2003-03-12 John Levon <levon@movementarian.org>
7892 * BufferView.C (insertLyXFile):
7895 * tabular.C: use a parlist iterator for creating the
7898 2003-03-12 John Levon <levon@movementarian.org>
7900 * buffer.C: make current_change static local not
7903 2003-03-12 John Levon <levon@movementarian.org>
7905 * buffer.C: fix insertStringAsLines for change tracking
7907 2003-03-12 John Levon <levon@movementarian.org>
7914 * bufferparams.C: move author list into params. Rename some
7915 functions. Move the header reading into a separate token
7916 loop. Move the header token reading into BufferParams.
7918 2003-03-12 John Levon <levon@movementarian.org>
7920 * changes.C: put debug inside lyxerr.debugging() checks
7922 2003-03-11 André Pönitz <poenitz@gmx.net>
7924 * factory.C: make it aware of InsetHFill
7926 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7928 * buffer.C (latexParagraphs): move function from here...
7929 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7932 2003-03-10 Angus Leeming <leeming@lyx.org>
7934 * LyXAction.C (init): fix bug in poplating array with multiple entries
7935 with the same LFUN (spotted by JMarc).
7937 2003-03-10 John Levon <levon@movementarian.org>
7940 * text2.C: move getColumnNearX() near its
7943 2003-03-10 John Levon <levon@movementarian.org>
7945 * text.C: fix break before a minipage
7947 2003-03-10 John Levon <levon@movementarian.org>
7949 * text.C: fix the last commit
7951 2003-03-09 John Levon <levon@movementarian.org>
7955 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7956 bug 365 (don't break before insets unless needed). Don't
7957 return a value > last under any circumstances.
7959 2003-03-09 Angus Leeming <leeming@lyx.org>
7961 * BufferView_pimpl.C (trackChanges, dispatch): call
7962 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7964 2003-03-09 Angus Leeming <leeming@lyx.org>
7966 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7967 than Dialogs::showAboutlyx().
7969 2003-03-09 Angus Leeming <leeming@lyx.org>
7971 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7972 than Dialogs::showTabularCreate().
7974 2003-03-09 John Levon <levon@movementarian.org>
7978 * text2.C: 3rd arg to nextBreakPoint was always the same.
7981 2003-03-08 John Levon <levon@movementarian.org>
7988 * text2.C: Remove the "main" bit from the "main body"
7991 2003-03-08 John Levon <levon@movementarian.org>
7993 * text.C (leftMargin): The left margin of an empty
7994 manual label paragraph should not include the label width
7997 * text.C (prepareToPrint): don't attempt to measure hfills
7998 for empty manual label paragraphs - the answer should be 0
8000 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8002 * CutAndPaste.C: remove commented code and reindent.
8004 2003-03-08 John Levon <levon@movementarian.org>
8007 * lyxfunc.C: move reloadBuffer()
8010 * BufferView.C: to here
8012 * lyxvc.C: add comment
8015 * vc-backend.C: call bv->reload() to avoid
8016 getStatus() check on MENURELOAD
8018 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8020 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8021 to an old format .dep file.
8023 2003-03-07 Angus Leeming <leeming@lyx.org>
8025 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8026 when the LFUN_MOUSE_RELEASE should have been handled by
8027 inset->localDispatch.
8029 2003-03-07 Angus Leeming <leeming@lyx.org>
8031 * BufferView_pimpl.C (dispatch):
8032 * LyXAction.C (init):
8033 * ToolbarDefaults.C (init):
8035 * lyxfunc.C (getStatus):
8036 remove LFUN_INSET_GRAPHICS.
8038 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8040 2003-03-07 Angus Leeming <leeming@lyx.org>
8043 * LyXAction.C (init):
8044 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8046 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8049 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8051 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8052 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8054 2003-03-07 Angus Leeming <leeming@lyx.org>
8056 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8059 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * ParagraphList.C (front): new function
8064 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8066 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8067 and top_row_offset_. removed var first_y.
8069 * text2.C (LyXText, removeRow):
8071 * BufferView_pimpl.C:
8072 use these methods instead of using first_y
8074 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8076 * text2.C (pasteSelection): adjust for checkPastePossible
8078 * CutAndPaste.C: remove Paragraph * buf and replace with
8079 ParagraphList paragraphs.
8080 (DeleteBuffer): delete
8081 (cutSelection): change the tc type to textclass_type
8082 (copySelection): change the tc type to textclass_type
8083 (copySelection): adjust for ParagraphList
8084 (pasteSelection): change the tc type to textclass_type
8085 (pasteSelection): adjust for Paragraphlist
8086 (nrOfParagraphs): simplify for ParagraphList
8087 (checkPastePossible): simplify for ParagraphList
8088 (checkPastePossible): remove unused arg
8090 * ParagraphList.C (insert): handle the case where there are no
8093 * CutAndPaste.h: make CutAndPaste a namespace.
8095 * text3.C (dispatch): adjust
8097 * text.C (breakParagraph): add a ParagraphList as arg
8099 * paragraph_funcs.C (breakParagraph): change to take a
8100 BufferParams and a ParagraphList as args.
8101 (breakParagraphConservative): ditto
8102 (mergeParagraph): ditto
8103 (TeXDeeper): add a ParagraphList arg
8104 (TeXEnvironment): ditto
8107 * buffer.C (readLyXformat2): adjust
8108 (insertStringAsLines): adjust
8109 (latexParagraphs): adjust
8111 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8112 (cutSelection): adjust
8113 (pasteSelection): adjust
8115 * BufferView_pimpl.C (insertInset): adjust
8117 2003-03-05 Angus Leeming <leeming@lyx.org>
8120 * LyXAction.C (init):
8121 * BufferView_pimpl.C (dispatch):
8122 * lyxfunc.C (getStatus):
8123 remove LFUN_CHILD_INSERT.
8125 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8127 2003-03-05 Angus Leeming <leeming@lyx.org>
8130 * LyXAction.C (init):
8131 * src/factory.C (createInset):
8132 * lyxfunc.C (getStatus):
8133 * text3.C (dispatch):
8134 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8136 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8138 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8140 * ParagraphList.C (insert): handle insert right before end()
8141 (erase): fix cases where it can be first or last paragraph.
8143 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8145 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8146 Paragraph::next and Paragraph::previous
8149 * text.C (breakParagraph): adjust
8151 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8152 BufferParams& as arg.
8153 (breakParagraph): use ParagraphList::insert
8154 (breakParagraphConservative): take a Buffer* instead of a
8155 BufferParams& as arg.
8156 (breakParagraphConservative): use ParagraphList::insert.
8158 * buffer.C (insertStringAsLines): un-const it
8159 (insertStringAsLines): adjust
8161 * ParagraphList.C (insert): new function
8163 * CutAndPaste.C (pasteSelection): adjust
8165 * text.C (backspace): adjust
8167 * tabular.C (SetMultiColumn): adjust
8169 * CutAndPaste.C (cutSelection): adjust
8170 (pasteSelection): adjust
8172 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8173 Buffer const * as arg
8175 * ParagraphList.C (erase): new function
8176 * paragraph_funcs.C (mergeParagraph): use it
8177 (mergeParagraph): make it take a Buffer* instead of a
8178 BufferParams* as arg
8180 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8182 (breakParagraphConservative): ditto
8184 * paragraph.h: remove the breakParagraph friend
8186 * paragraph.C (eraseIntern): new function
8187 (setChange): new function
8189 * paragraph_funcs.C (mergeParagraph): make it take a
8190 ParagraphList::iterator instead of a Paragraph *, adjust
8193 * paragraph.h: move an #endif so that the change tracking stuff
8194 also works in the NO_NEXT case.
8196 2003-03-04 Angus Leeming <leeming@lyx.org>
8199 * LyXAction.C: new LFUN_INSET_MODIFY.
8201 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8202 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8204 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * several files: ws changes only
8208 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8209 (TeXEnvironment): ditto
8212 * buffer.C (makeLaTeXFile): adjust
8213 (latexParagraphs): make it take ParagraphList::iterator as args
8215 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8217 * buffer.C (latexParagraphs): adjust
8219 * paragraph.C (TeXOnePar): move function...
8220 (optArgInset): move function...
8221 (TeXEnvironment): move function...
8222 * paragraph_pimpl.C (TeXDeeper): move function...
8223 * paragraph_funcs.C: ...here
8225 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8227 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8229 * buffer.C (readInset): remove compability code for old Figure and
8232 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8234 * buffer.C: ws changes
8237 * BufferView_pimpl.C: ditto
8240 * bufferlist.h: ditto
8244 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8246 * converter.[Ch]: split into itself +
8249 * Makefile.am: += graph.[Ch] + format.[Ch]
8256 * lyxrc.C: added #include "format.h"
8258 2003-02-27 Angus Leeming <leeming@lyx.org>
8260 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8263 * factory.C (createInset): add "label" to the factory.
8265 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8266 string and do no more.
8268 2003-02-27 Angus Leeming <leeming@lyx.org>
8271 * LyXAction.C (init):
8272 * factory.C (createInset):
8273 * BufferView_pimpl.C (dispatch):
8274 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8276 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8278 * lyxfunc.C (dispatch):
8279 * text3.C (dispatch): pass name to params2string.
8281 2003-02-26 Angus Leeming <leeming@lyx.org>
8283 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8285 Rearrange the ~includes. Strip out the unnecessary ones.
8287 * factory.C (createInset): reformat.
8288 create new insets for the various LFUN_XYZ_APPLY lfuns.
8290 2003-02-26 John Levon <levon@movementarian.org>
8293 * lyxrow.C: add isParStart,isParEnd helpers
8295 * paragraph.h: make isInserted/DeletedText take refs
8297 * paragraph_funcs.h:
8298 * paragraph_funcs.C: remove #if 0'd code
8303 * text.C: use lyxrow helpers above.
8304 Move draw and paint routines to RowPainter.
8305 Make several methods use refs not pointers.
8306 Make backgroundColor() const.
8307 Add markChangeInDraw(), isInInset().
8308 Merge changeRegionCase into changeCase.
8309 Make workWidth() shouldn't-happen code into an Assert.
8312 * rowpainter.C: new class for painting a row.
8315 * vspace.C: make inPixels take a ref
8317 2003-02-26 Angus Leeming <leeming@lyx.org>
8319 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8322 2003-02-25 John Levon <levon@movementarian.org>
8324 * ispell.C: give the forked command a more accurate name
8326 2003-02-22 John Levon <levon@movementarian.org>
8329 * toc.C: make TocItem store an id not a Paragraph *
8332 2003-02-21 Angus Leeming <leeming@lyx.org>
8334 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8335 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8336 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8337 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8338 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8339 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8341 * BufferView_pimpl.C (dispatch):
8342 * LyXAction.C (init):
8343 * factory.C (createInset):
8344 * lyxfunc.C (getStatus, dispatch):
8345 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8347 2003-02-21 Angus Leeming <leeming@lyx.org>
8349 * BufferView_pimpl.C (MenuInsertLyXFile):
8350 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8351 * lyxfunc.C (menuNew, open, doImport):
8352 no longer pass a LyXView & to fileDlg.
8354 2003-02-21 Angus Leeming <leeming@lyx.org>
8356 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8357 * LyXAction.C: change, BIBKEY to BIBITEM.
8358 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8359 Change InsetBibKey to InsetBibitem.
8360 Change BIBKEY_CODE to BIBITEM_CODE.
8361 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8362 * factory.C: replace insetbib.h with insetbibitem.h.
8363 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8364 * paragraph.C: replace insetbib.h with insetbibitem.h.
8365 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8366 Change bibkey() to bibitem().
8367 * text.C: remove insetbib.h.
8368 * text2.C: replace insetbib.h with insetbibitem.h.
8369 change bibkey() to bibitem().
8370 * text3.C: remove insetbib.h.
8371 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8373 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8375 * lyxrc.C (output): enclose user email in quotes (in case there are
8378 2003-02-18 John Levon <levon@movementarian.org>
8380 * buffer.h: add std::
8382 2003-02-17 John Levon <levon@movementarian.org>
8388 * pspell.C: reworking. Especially in ispell, a large
8389 number of clean ups and bug fixes.
8391 * lyxfunc.C: fix revert to behave sensibly
8393 2003-02-17 André Pönitz <poenitz@gmx.net>
8396 * commandtags.h: new LFUN_INSERT_BIBKEY
8406 * paragraph_func.C: remove special bibkey handling
8408 2003-02-17 John Levon <levon@movementarian.org>
8410 * text.C (Delete): fix case where delete at the end of
8411 the very first paragraph would not merge the pars
8413 2003-02-17 John Levon <levon@movementarian.org>
8415 * lyxrow.C: fix lastPrintablePos()
8417 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8419 * bufferparams.C (writeLaTeX): add a std:here
8421 * buffer.C: and remove a using directive there
8423 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * buffer.C (makeLaTeXFile): move the code that generates the
8428 * bufferparams.C (writeLaTeX): ... in this new method
8430 * LaTeXFeatures.C (getEncodingSet): make const
8431 (getLanguages): make const
8433 * MenuBackend.C (binding): returns the binding associated to this
8435 (add): sets the status of each item by calling getStatus. Adds
8437 (read): add support for OptSubMenu
8438 (expand): remove extra separator at the end of expanded menu
8440 2003-02-15 John Levon <levon@movementarian.org>
8443 * BufferView_pimpl.C:
8445 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8446 inset code that had no actual effect. Remove unneeded status
8449 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8451 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8454 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8456 * text.C (drawLengthMarker): also draw an arrow marker for
8457 symbolic lengths (medskip...)
8459 2003-02-14 John Levon <levon@movementarian.org>
8462 * tabular.C: better method names
8464 2003-02-14 John Levon <levon@movementarian.org>
8466 * BufferView_pimpl.C:
8471 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8472 it's a more accurate name. Remove some pointless uses.
8474 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8476 * text2.C (LyXText): change order of initilizers to shut off
8479 2003-02-14 John Levon <levon@movementarian.org>
8481 * buffer.C: use ParIterator for getParFromID()
8485 * paragraph_pimpl.h:
8486 * paragraph_pimpl.C: remove unused getParFromID()
8488 2003-02-14 John Levon <levon@movementarian.org>
8490 * buffer.C: remove some very old #if 0'd parse code
8492 2003-02-13 John Levon <levon@movementarian.org>
8496 * text2.C: move hfillExpansion(), numberOfSeparators(),
8497 rowLast(), rowLastPrintable(), numberofHfills(),
8498 numberOfLabelHfills() ...
8501 * lyxrow.C: ... to member functions here.
8506 * text.C: remove LyXText::beginningOfMainBody(), and call
8507 p->beginningOfMainBody() directly. Move the check for
8508 LABEL_MANUAL into the latter.
8515 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8521 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8522 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8524 2003-02-13 John Levon <levon@movementarian.org>
8526 * CutAndPaste.C: remove debug
8528 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8530 * paragraph.C (asString): remove two unused variables
8532 * lyxtextclass.C (readTitleType):
8534 (LyXTextClass): handle new members titletype_ and titlename_
8536 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8538 2003-02-09 John Levon <levon@movementarian.org>
8541 * buffer.C: replace hand-coded list with a map for the dep clean
8543 2003-02-08 John Levon <levon@movementarian.org>
8545 * LaTeX.C: consolidate code into showRunMessage() helper
8547 2003-02-08 John Levon <levon@movementarian.org>
8552 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8553 and pass the size in explicitly
8555 * BufferView_pimpl.h:
8556 * BufferView_pimpl.C:
8558 * BufferView.C: add getCurrentChange()
8560 * BufferView_pimpl.h:
8561 * BufferView_pimpl.C: handle change lfuns
8563 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8564 for changes. Mark pasted paragraphs as new.
8566 * support/lyxtime.h:
8567 * support/lyxtime.C:
8568 * DepTable.C: abstract time_t as lyx::time_type
8571 * LColor.C: add colours for new text, deleted text, changebars
8573 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8574 package use "usenames" option.
8578 * LyXAction.C: add change lfuns
8582 * author.C: author handling
8585 * buffer.C: add a per-buffer author list, with first entry as
8586 current author. Handle new .lyx tokens for change tracking. Output
8587 author list to .lyx file. Output dvipost stuff to .tex preamble.
8588 Bump lyx format to 222.
8591 * bufferlist.C: add setCurrentAuthor() to reset current author details
8595 * bufferparams.C: add param for tracking
8597 * bufferview_funcs.C: output change info in minibuffer
8601 * changes.C: add change-tracking structure
8604 * debug.C: add CHANGES debug flag
8607 * lyxfind.C: add code for finding the next change piece
8610 * lyxrc.C: add user_name and user_email
8613 * lyxrow.C: add a metric for the top of the text line
8616 * text.C: implement accept/rejectChange()
8619 * text.C: paint changebars. Paint new/deleted text in the chosen
8620 colours. Strike through deleted text.
8624 * paragraph_pimpl.h:
8625 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8626 in the current change to the insert functions. Rework erase to
8627 mark text as deleted, adding an eraseIntern() and a range-based
8628 erase(). Implement per-paragraph change lookup and
8631 * paragraph_funcs.C: Fixup paste for change tracking.
8633 * tabular.C: mark added row/columns as new.
8635 * text.C: fix rowLast() to never return -1. Don't allow
8636 spellchecking of deleted text. Track transpose changes. Don't
8637 allow paragraph break or merge where appropriate.
8639 * text2.C: leave cursor at end of selection after a cut.
8641 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * text.C (getLengthMarkerHeight):
8644 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8645 visible on screen too.
8647 2003-02-07 John Levon <levon@movementarian.org>
8649 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8651 2003-02-05 Angus Leeming <leeming@lyx.org>
8653 * lyxserver.C (read_ready): revert my patch of 11 September last year
8654 as it sends PC cpu through the roof. Presumably this means that
8655 the lyxserver will no longer run on an Alpha...
8657 2003-01-30 Angus Leeming <leeming@lyx.org>
8659 * factory.C (createInset): create an InsetCommandParam of type "index"
8660 and use it to 'do the right thing'.
8662 * text2.C (getStringToIndex): ensure that cursor position is always
8663 reset to the reset_cursor position.
8665 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8670 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8674 * lyxfunc.C: Output messages with identical spelling, punctuation,
8677 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8679 * MenuBackend.C (expandFormats): List only viewable export formats
8682 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8685 * lyxfunc.C (getStatus): Make sure that formats other than
8686 "fax" can also be disabled
8688 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8690 * text3.C (dispatch): put the lfuns that insert insets in 3
8691 groups, and call doInsertInset with appropriate arguments.
8692 (doInsertInset): new function, that creates an inset and inserts
8693 it according to some boolean parameters.
8695 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8697 * buffer.C (readFile): remember to pass on 'par' when calling
8698 readFile recursively.
8700 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8702 * MenuBackend.C (expandFormats): add "..." to import formats.
8704 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8706 * paragraph.C (asString): Remove XForms RTL hacks.
8708 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8709 * buffer.C: fix typo
8711 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8713 * Makefile.am (LIBS): delete var
8714 (lyx_LDADD): add @LIBS@ here instead.
8716 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8718 * Clarify the meaning of "wheel mouse jump"
8720 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8725 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8727 * importer.C (Loaders): do not preallocate 3 elements in the
8728 vector, since one ends up with 6 elements otherwise
8730 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8732 * DepTable.C (write): write the file name as last element of the
8733 .dep file (because it may contain spaces)
8734 (read): read info in the right order
8736 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8738 * paragraph_pimpl.C (simpleTeXBlanks):
8739 (simpleTeXSpecialChars):
8740 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8742 * tabular.C (latex): add some missing case statements. Reindent.
8744 * MenuBackend.C (expandToc): remove unused variable.
8746 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8755 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8758 2003-01-05 John Levon <levon@movementarian.org>
8761 * BufferView.C: add getEncoding()
8764 * kbsequence.C: do not store last keypress
8767 * lyxfunc.C: store last keypress here instead. Pass encoding
8770 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * lyx_main.C (init): remove annoying error message when following
8773 symbolic links (bug #780)
8775 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8777 * text.C (insertChar):
8778 * lyxrc.C (getDescription): remove extra spaces
8780 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8782 * lyxrc.C (getDescription): remove extra spaces
8784 2002-12-20 John Levon <levon@movementarian.org>
8786 * text3.C: hack fix for page up/down across tall rows
8788 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8790 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8793 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8795 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8796 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8797 thesaurus is not compiled in
8799 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8801 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8803 2002-12-16 Angus Leeming <leeming@lyx.org>
8806 * lyx_main.C (init): remove override_x_deadkeys stuff.
8808 2002-12-12 John Levon <levon@movementarian.org>
8810 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8811 insert. Only remove shift modifier under strict
8814 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8816 * MenuBackend.C (expandToc): fix crash.
8818 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8820 * MenuBackend.C (expandToc): gettext on float names.
8822 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8824 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8825 implement bool empty() [bug 490]
8827 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8829 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8831 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8833 * several files: ws changes
8835 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8837 * text2.C (setCounter): clean up a bit, use boost.format.
8838 (updateCounters): initialize par upon declaration.
8840 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8841 if the layout exists. We do not just store the layout any more.
8842 (SwitchLayoutsBetweenClasses): use boost.format
8844 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8846 * converter.C (convert): if from and to files are the same, use a
8847 temporary files as intermediary
8849 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8852 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8854 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8856 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8858 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8860 * tabular.C (asciiPrintCell): use string(size, char) instead of
8863 * sgml.C (openTag): fix order of arguments to string constructor
8866 * lyxfunc.C (dispatch): use boost.format
8868 * lots of files: change "c" -> 'c'
8870 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8872 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8874 2002-11-25 Angus Leeming <leeming@lyx.org>
8876 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8878 * lyx_main.C (init): compile fix.
8880 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8882 * lyx_cb.C (start): boost.formatify
8883 do not include <iostream>
8885 * lengthcommon.C: ws only
8887 * boost-inst.C,BoostFormat.h: add more explict instantations
8889 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8891 * lots of files: handle USE_BOOST_FORMAT
8893 2002-11-21 John Levon <levon@movementarian.org>
8895 * pspell.C: fix compile
8897 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8899 * lyxfunc.C (dispatch): use boost::format
8903 * lyxfont.C (stateText): use boost::format
8905 * lyx_main.C (LyX): use boost::format
8907 (queryUserLyXDir): ditto
8910 (typedef boost::function): use the recommened syntax.
8912 * importer.C (Import): use boost::format
8914 * debug.C (showLevel): use boost::format
8916 * converter.C (view): use boost::format
8921 * bufferview_funcs.C (currentState): use boost::format
8923 * bufferlist.C (emergencyWrite): use boost::format
8925 * buffer.C (readLyXformat2): use boost::format
8926 (parseSingleLyXformat2Token): ditto
8928 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8930 * LaTeX.C (run): use boost::format
8932 * Chktex.C (scanLogFile): use boost::format
8934 * BufferView_pimpl.C (savePosition): use boost::format
8935 (restorePosition): ditto
8936 (MenuInsertLyXFile): ditto
8938 * BoostFormat.h: help file for explicit instation.
8940 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8942 * tabular.C (latex): Support for block alignment in fixed width
8945 2002-11-17 John Levon <levon@movementarian.org>
8947 * BufferView_pimpl.C:
8949 * lyxfunc.C: split filedialog into open/save
8951 2002-11-08 Juergen Vigna <jug@sad.it>
8953 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8954 by my last patch (hopefully).
8956 2002-11-08 John Levon <levon@movementarian.org>
8965 * toc.C: ParConstIterator, and use it (from Lars)
8967 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8969 * lyxtextclass.[Ch]: revise and add doxygen comments
8971 2002-11-07 John Levon <levon@movementarian.org>
8973 * text.C: fix progress value for spellchecker
8975 * toc.C: fix navigate menu for insetwrap inside minipage
8977 * paragraph_funcs.C: added FIXME for suspect code
8979 2002-11-07 John Levon <levon@movementarian.org>
8981 * BufferView_pimpl.C: fix redrawing of insets
8984 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8986 * text2.C (updateCounters): fix bug 668
8988 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8990 * text3.C (dispatch): Do not make the buffer dirty when moving the
8993 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8995 * vc-backend.C: STRCONV
8998 * text2.C (setCounter): STRCONV
9000 * paragraph.C (asString): STRCONV
9002 * lyxlength.C (asString): STRCONV
9003 (asLatexString): ditto
9005 * lyxgluelength.C (asString): STRCONV
9006 (asLatexString): ditto
9008 * lyxfunc.C (dispatch): STRCONV
9011 * lyxfont.C (stateText): STRCONV
9013 * importer.C (Import): STRCONV
9015 * counters.C (labelItem): STRCONV
9016 (numberLabel): ditto
9017 (numberLabel): remove unused ostringstream o
9022 * bufferview_funcs.C (currentState): STRCONV
9024 * buffer.C (readFile): STRCONV
9025 (asciiParagraph): ditto
9026 (makeLaTeXFile): ditto
9028 * Spacing.C (writeEnvirBegin): STRCONV
9030 * LaTeXFeatures.C (getLanguages): STRCONV
9031 (getPackages): ditto
9033 (getBabelOptions): ditto
9034 (getTClassPreamble): ditto
9035 (getLyXSGMLEntities): ditto
9036 (getIncludedFiles): ditto
9040 (scanAuxFile): ditto
9043 * LString.h: add the STRCONV macros
9045 * BufferView_pimpl.C (savePosition): STRCONV
9046 (restorePosition): ditto
9047 (MenuInsertLyXFile): ditto
9049 * vc-backend.C (scanMaster): change from submatch[...] to
9052 * funcrequest.C: include config.h
9054 * factory.C: include config.h
9056 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9058 * box.C: include config.h
9060 * LaTeX.C (scanAuxFile): change from submatch[...] to
9064 2002-10-25 Angus Leeming <leeming@lyx.org>
9066 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9068 * ispell.[Ch] (setError): new method.
9069 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9070 Use setError() insetead of goto END.
9072 * lyx_cb.C (AutoSave): move out child process into new class
9075 2002-10-30 John Levon <levon@movementarian.org>
9077 * text3.C: make start appendix undoable
9079 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9081 * lyxlength.C (inPixels): Fix returned value.
9083 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9086 2002-10-24 Angus Leeming <leeming@lyx.org>
9088 * lyxgluelength.h: no need to forward declare BufferParams
9089 or BufferView, so don't.
9091 2002-10-21 John Levon <levon@movementarian.org>
9093 * BufferView.C: menuUndo ->undo, redo
9095 * BufferView.h: document, remove dead, make some methods private
9097 * paragraph_funcs.h:
9098 * paragraph_funcs.C:
9099 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9104 * sgml.C: move sgml open/close tag into sgml.C
9106 * bufferview_funcs.h: unused prototype
9109 * lyxfunc.C: remove unused
9112 * text.C: remove unused
9114 2002-10-21 John Levon <levon@movementarian.org>
9118 * BufferView_pimpl.h:
9119 * BufferView_pimpl.C: fix mouse wheel handling based on
9120 patch from Darren Freeman
9122 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9124 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9126 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9128 * lyxlength.C (inPixels): Fix hanfling of negative length.
9129 Fix LyXLength::MU case.
9131 2002-10-16 John Levon <levon@movementarian.org>
9133 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9135 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9137 * converter.C (view): add support for $$i (file name) and $$p
9138 (file path) for the viewer command. If $$i is not specified, then
9139 it is appended to the command (for compatibility with old syntax)
9141 2002-10-14 Juergen Vigna <jug@sad.it>
9143 * undo_funcs.C (textHandleUndo): alter the order in which the
9144 new undopar is added to the LyXText, as we have to set first
9145 the right prev/next and then add it as otherwise the rebuild of
9146 LyXText is not correct. Also reset the cursor to the right paragraph,
9147 with this IMO we could remove the hack in "redoParagraphs()".
9149 2002-10-09 Angus Leeming <leeming@lyx.org>
9151 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9152 to turn off an optimisation if a new inset is to be inserted.
9154 2002-10-11 André Pönitz <poenitz@gmx.net>
9156 * lyxtext.h: make some functions public to allow access
9157 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9159 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * text3.C (dispatch): when changing layout, avoid an infinite loop
9164 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9166 * lyxrc.C (read): treat a viewer or converter command of "none" as
9169 * MenuBackend.C (expandFormats): for an update, also allow the
9170 formats that are not viewable
9172 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9173 script if it is newer than the lyxrc.defaults in user directory
9175 2002-10-07 André Pönitz <poenitz@gmx.net>
9177 * text.C: Vitaly Lipatov's small i18n fix
9179 2002-09-25 Angus Leeming <leeming@lyx.org>
9181 * ispell.h: doxygen fix.
9183 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9185 * buffer.h (readFile): Add a new argument to the method, to allow
9186 reading of old-format templates.
9188 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9190 * toc.C (getTocList): Get TOC from InsetWrap.
9192 2002-09-16 John Levon <levon@movementarian.org>
9194 * lyxfunc.C: check tabular for cut/copy too
9196 2002-09-12 John Levon <levon@movementarian.org>
9201 * factory.C: add header
9203 * paragraph_funcs.h:
9204 * paragraph_funcs.C: cleanup
9206 2002-09-11 John Levon <levon@movementarian.org>
9208 * PrinterParams.h: odd/even default to true
9210 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9212 * PrinterParams.h: update printer parameters for new xforms dialog
9214 2002-09-11 Angus Leeming <leeming@lyx.org>
9216 * lyxserver.C (read_ready): re-write to make it more transparent
9217 and to make it work in coherent fashion under Tru64 Unix.
9219 2002-09-11 André Pönitz <poenitz@gmx.net>
9223 * text3.C: implement LFUN_WORDSEL
9225 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9227 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9228 make floatlist_ a boost::shared_ptr<FloatList>
9230 * lyxtextclass.C: include FloatList.h
9231 (LyXTextClass): initialize floatlist_
9232 (TextClassTags): add TC_NOFLOAT
9233 (Read): match "nofloat" to TC_NOFLOAT and use it.
9234 (readFloat): modify call to floatlist_
9238 * FloatList.[Ch] (FloatList): remove commented out float
9240 (erase): new function
9242 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * MenuBackend.C (expandToc): fix crash when there is no document
9247 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9249 * many files: Add insetwrap.
9251 2002-09-09 John Levon <levon@movementarian.org>
9253 * text2.C: remove confusing and awkward depth wraparound
9255 2002-09-09 John Levon <levon@movementarian.org>
9257 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9260 * buffer.C: remove getIncludeonlyList()
9263 * lyxfunc.C: remove headers
9265 2002-09-09 Juergen Vigna <jug@sad.it>
9267 * text.C (getColumnNearX): fix form Michael this is most
9268 probably a cut&paste bug.
9270 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9272 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9274 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9275 references, ws changes.
9277 * text2.C (init): update counters after init
9278 (insertParagraph): no need to set counter on idividual paragraphs.
9279 (setCounter): access the counters object in the textclass object
9280 on in the buffer object.
9281 (updateCounters): ditto
9283 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9284 shared_ptr<Counters> to avoid loading counters.h in all
9286 (LyXTextClass): initialize ctrs_
9287 (TextClassTags): add TC_COUNTER, and ...
9288 (Read): use it here.
9289 (CounterTags): new tags
9290 (readCounter): new function
9291 (counters): new funtion
9292 (defaultLayoutName): return a const reference
9294 * counters.C (Counters): remove contructor
9295 (newCounter): remove a couple of unneeded statements.
9296 (newCounter): simplify a bit.
9297 (numberLabel): some small formatting changes.
9299 * buffer.[Ch]: remove all traces of counters, move the Counters
9300 object to the LyXTextClass.
9302 2002-09-06 Alain Castera <castera@in2p3.fr>
9304 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9305 package to set the horizontal alignment on fixed width columns.
9308 * lyx_sty.h: added tabularnewline macro def.
9310 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9312 2002-09-06 John Levon <levon@movementarian.org>
9314 * LyXAction.C: tooltips for sub/superscript
9316 * MenuBackend.C: a bit more verbose
9318 * lyxfunc.C: tiny clean
9320 * undo_funcs.C: document undo_frozen
9322 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * counters.C (Counters): add missing algorithm counter.
9326 * text2.C (setCounter): lookup the counter with layouts latexname
9327 instead of by section number.
9328 (setCounter): use a hackish way to lookup the correct enum
9330 a float name->type change
9331 reset enum couners with counter name directly instead of depth value.
9333 * counters.C (Counters): remove the push_backs, change to use the
9334 float type not the float name.
9335 (labelItem): remove unused string, float name->type change
9337 * counters.h: don't include vector, loose the enums and sects vectors
9339 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9342 (Read): add float->TC_FLOAT to textclassTags
9343 (Read): and handle it in the switch
9344 (readFloat): new function
9346 * FloatList.C (FloatList): comment out the hardcoded float
9349 * lyxlayout.h: ws change.
9351 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9353 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9355 2002-09-03 Angus Leeming <leeming@lyx.org>
9357 * BufferView_pimpl.h: qualified name is not allowed in member
9358 declaration: WorkArea & Pimpl::workarea() const;
9360 * factory.C: added using std::endl directive.
9362 * text3.C: added using std::find and std::vector directives.
9364 2002-08-29 André Pönitz <poenitz@gmx.net>
9367 * text2.C: remove unused member number_of_rows
9370 * BufferView2.C: remove file, move contents to...
9371 * BufferView.C: ... here
9373 * BufferView_pimpl.C:
9374 * factory.C: move more inset creation to factory
9376 * vspace.C: avoid direct usage of LyXText, ws changes
9379 don't provide direct access to WorkArea, use two simple
9380 acessors haveSelction() and workHeight() instead
9383 2002-08-29 John Levon <levon@movementarian.org>
9385 * BufferView_pimpl.C (dispatch): do not continue when
9388 2002-08-28 André Pönitz <poenitz@gmx.net>
9390 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9393 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9395 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9397 * buffer.C: increment LYX_FORMAT to 221
9399 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9400 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9402 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9404 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9406 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9408 * factory.C (createInset): use LyXTextClass::floats
9410 * MenuBackend.C (expandFloatListInsert):
9411 (expandFloatInsert):
9414 * text2.C (setCounter):
9416 * LaTeXFeatures.C (useFloat):
9417 (getFloatDefinitions):
9419 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9421 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9422 floatlist_, with accessor floats().
9424 * FloatList.h: remove global FloatList
9426 2002-08-26 André Pönitz <poenitz@gmx.net>
9428 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9432 * BufferView_pimpl.C:
9433 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9435 2002-08-25 John Levon <levon@movementarian.org>
9437 * LyXAction.C: fix margin note description
9439 2002-08-24 John Levon <levon@movementarian.org>
9443 * bufferview_funcs.C:
9445 * undo_funcs.C: cleanups
9447 * lyxfunc.C: disable CUT/COPY when no selection
9449 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9451 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9452 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9454 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9455 Add backward compatibility to "mono", "gray" and "no".
9457 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9459 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9460 (and file_format >= 200).
9462 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9464 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9466 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9468 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9470 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9472 * BufferView_pimpl.C:
9479 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9480 inset and code to make it work with the paragraph code. The inset
9481 can be anywhere in the paragraph, but will only do the expected
9482 thing in LaTeX if the layout file contains the parameter line
9484 (or more generally, a nonzero value) for that layout.
9486 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9488 * paragraph.h: remove the declaration of undefined counters class
9491 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9493 * text2.C (setCounter): fixed enumeration mis-count as reported by
9494 Dr. Richard Hawkins.
9496 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * paragraph_funcs.h: remove some unneeded includes
9500 * text.C (backspace): pasteParagraph now in global scipe
9502 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9503 (pasteSelection): ditto
9505 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9506 * paragraph_funcs.C (pasteParagraph): ... here
9508 2002-08-20 André Pönitz <poenitz@gmx.net>
9510 * commandtags.h: new LFUNs for swapping/copying table row/colums
9513 * lyxfunc.C: support for new lfuns
9515 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9518 * buffer.[Ch]: remove NO_COMPABILITY stuff
9520 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9522 * boost.C (throw_exception): new file, with helper function for
9523 boost compiled without exceptions.
9528 * ParameterStruct.h:
9529 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9531 * bufferlist.C (emergencyWriteAll): use boost bind
9533 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9535 * text.C: include paragraph_funcs.h
9536 (breakParagraph): breakParagraph is now in global scope
9538 * paragraph_funcs.[Ch]: new files
9540 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9543 * buffer.C: include paragraph_funcs.h
9544 (insertStringAsLines): breakParagraph is now in global scope
9546 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9549 * CutAndPaste.C: include paragraph_funcs.h
9550 (cutSelection): breakParagraphConservative is now in global scope
9551 (pasteSelection): ditto
9553 * buffer.h: declare oprator== and operator!= for
9554 Buffer::inset_iterator
9556 * bufferlist.C (emergencyWrite): don't use fmt(...)
9558 * text3.C: add using std::endl
9560 * BufferView.C (moveCursorUpdate): remove default arg
9562 2002-08-20 André Pönitz <poenitz@gmx.net>
9564 * buffer.[Ch]: move inline functions to .C
9567 * BufferView_pimpl.C:
9569 * buffer.[Ch]: use improved inset_iterator
9572 * paragraph.[Ch]: write one paragraph at a time
9574 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9576 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9577 style if style is not specified.
9579 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * text2.C (setCounter): when searching for right label for a
9582 caption, make sure to recurse to parent insets (so that a caption
9583 in a minipage in a figure float works) (bug #568)
9585 2002-08-20 André Pönitz <poenitz@gmx.net>
9587 * text3.C: new file for LyXText::dispatch() and helpers
9589 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9591 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9593 2002-08-19 André Pönitz <poenitz@gmx.net>
9596 * text.C: new LyXText::dispatch()
9598 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9600 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9602 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9604 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9607 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9609 * Makefile.am: use $(variables) instead of @substitutions@
9611 2002-08-15 André Pönitz <poenitz@gmx.net>
9614 * BufferView_pimpl.C: streamlining mathed <-> outer world
9618 * LyXAction.C: remove unused LFUN_MATH
9620 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9622 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9624 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9626 * paragraph.C (Paragraph): reformat a bit
9627 (cutIntoMinibuffer): use builtin InsetList function instad of
9631 * buffer.C: include boost/bind.hpp, add using std::for_each
9632 (writeFileAscii): use ParagraphList iterators
9633 (validate): use for_each for validate traversal of paragraphs
9634 (getBibkeyList): use ParagraphList iterators
9635 (resizeInsets): use for_each to resizeInsetsLyXText for all
9637 (getParFromID): use ParagraphList iterators
9639 * BufferView2.C (lockInset): use paragraph list and iterators
9641 2002-08-14 John Levon <levon@movementarian.org>
9643 * lyxserver.C: remove spurious xforms include
9645 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9647 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9649 2002-08-13 André Pönitz <poenitz@gmx.net>
9652 * lyxfunc.C: further cleaning
9654 2002-08-13 André Pönitz <poenitz@gmx.net>
9656 * funcrequest.h: new constructor
9658 * funcrequest.C: move stuff here from .h
9661 * BufferView_pimpl.C:
9664 * lyxfunc.C: subsequent changes
9666 * lyxfunc.h: new view() member function
9668 * lyxfunc.C: subsequent changes
9670 2002-08-13 Angus Leeming <leeming@lyx.org>
9673 * BufferView_pimpl.C:
9681 changes due to the changed LyXView interface that now returns references
9682 to member variables not pointers.
9684 2002-08-13 Angus Leeming <leeming@lyx.org>
9686 * WordLangTuple (word, lang_code): return references to strings,
9691 * lyxtext.h: forward-declare WordLangTuple.
9696 * text.C: #include "WordLangTuple.h".
9699 * text.C: (selectNextWordToSpellcheck): constify return type.
9701 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9707 * paragraph_pimpl.h:
9710 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9712 Made updateCounter always count from start of buffer, and removed
9713 second argument (par).
9714 Reverted floats number display to '#'. Perhaps I'll try again when the
9715 code base is sanitized a bit.
9717 2002-08-12 Angus Leeming <leeming@lyx.org>
9719 * buffer.[Ch] (getLabelList): constify.
9721 2002-08-07 André Pönitz <poenitz@gmx.net>
9723 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9725 * funcrequest.h: extension to keep mouse (x,y) position
9727 2002-08-12 Juergen Vigna <jug@sad.it>
9729 * BufferView2.C (insertErrors): forbid undo when inserting error
9732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9734 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9736 * ParagraphList.[Ch]: new files
9738 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9740 * BufferView2.C (lockInset): ParagraphList changes
9743 * bufferlist.C: ditto
9747 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9749 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9750 unused class variable counter_,
9752 * paragraph.[Ch] (getFirstCounter): delete unused function
9754 * counters.C: include LAssert.h
9755 (reset): add a new function with no arg, change other version to
9756 not have def. arg and to not allow empty arg.
9758 * text2.C (setCounter): remove empty arg from call to Counters::reset
9760 2002-08-11 John Levon <levon@movementarian.org>
9762 * Makefile.am: add WordLangTuple.h
9764 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9766 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9767 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9769 * insets/insettext.C: InsetList changes
9771 * graphics/GraphicsSupport.C (operator()): InsetList changes
9773 * toc.C (getTocList): InsetList changes
9775 * paragraph_pimpl.[Ch]: InsetList changes
9777 * paragraph.[Ch]: InsetList changes
9779 * buffer.C (inset_iterator): InsetList changes
9780 (setParagraph): ditto
9781 * buffer.h (inset_iterator): ditto
9782 * iterators.C (operator++): ditto
9783 * iterators.h: ditto
9785 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9787 * InsetList.[Ch]: new files, most InsetList handling moved out of
9790 * BufferView2.C (removeAutoInsets): InsetList changes
9792 (ChangeInsets): ditto
9794 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9796 * paragraph_pimpl.h (empty): new function
9798 * paragraph.[Ch] (empty): new function
9800 * other files: use the new Paragraph::empty function
9802 2002-08-09 John Levon <levon@movementarian.org>
9804 * lyxtext.h: remove unused refresh_height
9806 2002-08-09 John Levon <levon@movementarian.org>
9813 * paragraph.C: move sgml char escaping out of paragraph
9816 * paragraph.C: remove id setter
9820 * paragraph_pimpl.C: remove dead tex_code_break_column
9822 * bufferview_funcs.C: small cleanup
9824 * lyxfunc.C: remove dead proto
9826 * lyxtext.h: make some stuff private. Remove some dead stuff.
9828 * lyxgluelength.C: make as[LyX]String() readable
9830 2002-08-08 John Levon <levon@movementarian.org>
9835 * ToolbarDefaults.C:
9838 * toc.C: lyxaction cleanup
9840 2002-08-08 John Levon <levon@movementarian.org>
9842 * BufferView2.C: small cleanup
9845 * lyxfind.C: move unnecessary header into the .C
9847 2002-08-08 John Levon <levon@movementarian.org>
9849 * funcrequest.h: just tedious nonsense
9852 * lyx_main.C: cleanups
9855 * vspace.C: remove dead header lyx_main.h
9857 2002-08-07 Angus Leeming <leeming@lyx.org>
9860 * paragraph_pimpl.h:
9861 Forward declare class Counters in paragraph.h by moving the ctrs member
9862 variable into Paragraph::Pimpl.
9863 (counters): new method, returning a reference to pimpl_->ctrs.
9865 * text2.C: ensuing changes.
9867 2002-08-07 John Levon <levon@movementarian.org>
9869 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9871 * BufferView_pimpl.C: announce X selection on double/triple
9874 * lyx_main.C: use correct bool in batch dispatch
9876 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9878 2002-08-07 André Pönitz <poenitz@gmx.net>
9880 * funcrequest.h: new class to wrap a kb_action and its argument
9883 * BufferView_pimpl[Ch]:
9887 * lyxrc.C: subsequent changes
9890 2002-08-07 John Levon <levon@movementarian.org>
9892 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9893 document options change.
9895 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9900 * makefile.am: move counters functionality over from
9901 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9903 2002-08-06 John Levon <levon@movementarian.org>
9905 * WordLangTuple.h: new file for word + language code tuple
9916 * BufferView2.C: use WordLangTuple
9919 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9921 2002-08-06 John Levon <levon@movementarian.org>
9923 * lyx_main.C: fix cmdline batch handling
9925 2002-08-06 André Pönitz <poenitz@gmx.net>
9927 * lyxrc.C: set default for show_banner to true
9929 2002-08-06 John Levon <levon@movementarian.org>
9931 * pspell.C: fix a crash, and allow new aspell to work
9933 2002-08-06 John Levon <levon@movementarian.org>
9936 * kbmap.C: small cleanup
9939 * vspace.C: add const
9941 2002-08-05 John Levon <levon@movementarian.org>
9943 * LyXAction.C: back to tabular-insert
9945 2002-08-04 John Levon <levon@movementarian.org>
9948 * BufferView.C: cosmetic change
9950 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9960 * BufferView2.C: purge all "Lyx" not "LyX" strings
9963 * lyxcursor.C: attempt to add some documentation
9968 * ToolbarDefaults.C:
9969 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9970 merge with LFUN_TABULAR_INSERT
9977 * pspell.C: split up i/pspell implementations into separate
9978 files, many cleanups
9980 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9982 * text2.C: some cleanup
9984 * lyxfunc.C: don't check for isp_command == "none" any more, it
9985 didn't make any sense
9987 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9992 * makefile.am: move counters functionality over
9993 from text2.C/paragraph.[Ch] to counters.[Ch], and
9995 2002-08-02 John Levon <levon@movementarian.org>
9997 * buffer.C: s/lyxconvert/lyx2lyx/
9999 2002-08-02 Angus Leeming <leeming@lyx.org>
10001 * lyxlex.C: revert John's change as it breaks reading of the user
10004 2002-08-02 Angus Leeming <leeming@lyx.org>
10006 * importer.C (Import):
10007 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10008 changes due to LyXView::view() now returning a boost::shared_ptr.
10010 2002-08-02 John Levon <levon@movementarian.org>
10012 * lyxlex.C: small cleanup
10014 2002-08-02 John Levon <levon@movementarian.org>
10016 * text2.C (status): small cleanup, no logic change
10018 2002-08-01 John Levon <levon@movementarian.org>
10021 * buffer.C (writeFile): don't output alerts, caller
10025 * lyx_cb.C: from above
10027 * lyxfunc.C: allow to open non-existent files
10029 2002-07-31 John Levon <levon@movementarian.org>
10031 * lyxserver.C: don't let incidental errors get
10034 2002-07-30 John Levon <levon@movementarian.org>
10036 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10038 2002-07-30 John Levon <levon@movementarian.org>
10041 * lyxserver.C: remove I/O callback too
10043 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10048 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10050 * many files: strip,frontStrip -> trim,ltrim,rtrim
10052 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10054 * PrinterParams.h: remove extern containsOnly, and include
10055 support/lstrings.h instead.
10057 * LaTeX.C (scanAuxFile): modify because of strip changes
10059 * buffer.C (makeLaTeXFile): ditto
10060 * bufferparams.C (writeFile): ditt
10061 * lyxfont.C (stateText): ditto
10062 * lyxserver.C (read_ready): ditto
10063 * vc-backend.C (scanMaster): ditto
10065 * BufferView_pimpl.h: ws changes
10067 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10069 2002-07-26 André Pönitz <poenitz@gmx.net>
10071 * kb_sequence.C: remove unnedred usings
10073 2002-07-26 Juergen Vigna <jug@sad.it>
10075 * lyxfind.C (LyXReplace): we have to check better if the returned
10076 text is not of theLockingInset()->getLockingInset().
10078 2002-07-25 Juergen Vigna <jug@sad.it>
10080 * lyxfind.C (LyXReplace): don't replace if we don't get the
10083 * undo_funcs.C (createUndo): remove debugging code.
10085 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10087 * buffer.C (parseSingleLyXformat2Token): Use default placement
10088 when reading old floats.
10090 * FloatList.C (FloatList): Change the default placement of figure
10091 and tables to "tbp".
10093 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10095 * MenuBackend.C: using std::max
10097 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * MenuBackend.C (expandToc):
10100 (expandToc2): code moved from xforms menu frontend. It is now
10101 generic and TOCs are transparent to menu frontends.
10103 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10105 * toc.C (getTocList): protect against buf=0
10107 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10108 Menu as first parameter. Now, this calls itself recursively to
10109 expand a whole tree (this will be useful for TOC handling)
10110 (expandFloatInsert): remove 'wide' version of floats
10112 * MenuBackend.h (submenuname): returns the name of the submenu.
10113 (submenu): returns the submenu itself, provided it has been
10114 created by MenuBackend::expand
10116 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10118 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10119 insets which have noFontChange == true. (bug #172)
10121 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10123 * BufferView_pimpl.C: add connection objects and use them...
10126 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * MenuBackend.C (expandLastfiles):
10131 (expandFloatListInsert):
10132 (expandFloatInsert):
10133 (expand): split expand in parts
10135 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10137 * lyx_gui.C: use lyx_gui::exit()
10139 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10141 * LyXAction.C: show the failing pseudo action
10143 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10145 * buffer.C (readFile): Run the lyxconvert script in order to read
10148 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10152 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10154 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10158 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10160 2002-07-22 Herbert Voss <voss@lyx.org>
10163 * lyxlength.[Ch]: add support for the vertical lengths
10165 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10167 * toc.[Ch]: std:: fixes
10169 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10171 * lyxrc.C: do not include lyx_main.h
10173 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10179 * BufferView2.C: include "lyxlex.h"
10182 * bufferparams.h: do not #include "lyxlex.h"
10184 * lyxtextclasslist.C (Add): remove method
10185 (classlist): renamed to classlist_
10187 * paragraph_pimpl.C:
10191 * bufferview_funcs.C:
10196 * toc.C (getTocList): use BufferParams::getLyXTextClass
10198 * toc.C (getTocList): use InsetFloat::addToToc
10200 * toc.[Ch]: new files, containing helper functions to handle table
10203 * lyxfunc.C (dispatch): no need to remove spaces around command
10205 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10206 first command of the sequence; it is not very clever, but I do not
10207 have a better idea, actually
10209 * LyXAction.C (LookupFunc): make sure to remove space at the
10210 beginning and end of the command
10212 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10214 * MenuBackend.C (getMenubar): new method: return the menubar of
10216 (read): treat differently reading of menu and menubar (in
10217 particular, the menubar has no name now)
10218 (Menu::menubar): remove
10220 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10223 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10225 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10226 a bibitem inset in a RTL paragraph.
10228 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10230 * paragraph_pimpl.C: constify
10232 * BufferView_pimpl.C:
10234 * lyxfunc.C: fix dispatch in a nicer way
10236 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10238 * lyxfunc.C (dispatch):
10239 * BufferView_pimpl.C:
10240 * BufferView_pimpl.h:
10242 * BufferView.h: rename Dispatch() to dispatch()
10244 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10246 * lyxlayout.C (Read): honor DependsOn tag
10248 * lyxlayout.[Ch] (depends_on): new method
10250 * version.C.in: update lyx_docversion
10252 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10254 * paragraph.C (validate): remove from here...
10255 * paragraph_pimpl.C (validate): ... and move here
10256 (isTextAt): make it const
10258 * buffer.C (getLists): ws cleanup
10260 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10262 * language.C (read): Use iso8859-1 encoding in latex_lang
10263 (this prevents LyX from crashing when using iso10646-1 encoding).
10265 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10267 * text2.C (toggleInset): if cursor is inside an inset, close the
10268 inset and leave cursor _after_ it
10270 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10272 * lyxfunc.C: move minibuffer completion handling out of here
10274 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10276 * BufferView_pimpl.C:
10277 * LaTeX.C: fix dispatch calls
10279 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10281 * text.C (drawChars): Fix Arabic text rendering.
10283 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10287 * lyxfunc.C: remove message-push/pop
10291 * lyxfunc.C: rationalise some code by removing verboseDispatch
10292 in favour of a bool argument to dispatch()
10294 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10296 * lyx_main.C (init): make sure to read symlinks as absolute paths
10298 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10301 * lyxfunc.C: no need for commandshortcut to be a member
10303 2002-07-15 André Pönitz <poenitz@gmx.net>
10305 * converter.C: add support for $$s (scripts from lib/scripts dir)
10306 * lyx_main.C: white space
10308 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10312 * lyxrc.C: remove second exit confirmation
10314 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10319 * BufferView_pimpl.h:
10320 * BufferView_pimpl.C:
10321 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10323 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10325 * MenuBackend.C (expand): add numeric shortcuts to document menu
10327 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10329 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10331 * lyxfont.C (setLyXFamily):
10338 * buffer.C (asciiParagraph): use ascii_lowercase
10340 2002-07-15 Mike Fabian <mfabian@suse.de>
10342 * lyxlex_pimpl.C (search_kw):
10343 * lyxlex.C (getLongString):
10344 * converter.h (operator<):
10345 * converter.C (operator<):
10346 * buffer.C (parseSingleLyXformat2Token):
10348 * ToolbarDefaults.C (read):
10349 * MenuBackend.C (checkShortcuts):
10351 * LColor.C (getFromGUIName):
10352 (getFromLyXName): use the compare_ascii_no_case instead of
10353 compare_no_case, because in turkish, 'i' is not the lowercase
10354 version of 'I', and thus turkish locale breaks parsing of tags.
10356 2002-07-16 Angus Leeming <leeming@lyx.org>
10358 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10359 now takes a Buffer const & argument.
10361 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10363 * BufferView.C (resize): check there's a buffer to resize
10365 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10367 * lyxfunc.C: remove dead code
10370 * lyxserver.C: use lyx_guii::set_read_callback
10372 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10374 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10375 an inset in a RTL paragraph.
10377 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10379 * lyxfunc.C: repaint after a font size update
10381 2002-07-15 André Pönitz <poenitz@gmx.net>
10383 * lyxlength.C: inBP should be able to return negative values
10385 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10387 * lyxfunc.C: use lyx_gui::update_fonts()
10389 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10391 * lyxfunc.C: use lyx_gui::update_color()
10393 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10399 * lyxrc.C: remove file->new asks for name option, and let
10400 buffer-new take an argument
10402 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10404 * BufferView_pimpl.C: remove unneeded extra repaint()
10406 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10408 * LyXAction.C: allow command-sequence with NoBuffer
10410 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10412 2002-07-10 Angus Leeming <leeming@lyx.org>
10414 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10416 2002-07-09 Angus Leeming <leeming@lyx.org>
10418 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10420 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10422 * lengthcommon.h: whitespace
10424 * lyxfunc.C: update scrollbar after goto paragraph
10426 * lyxtext.h: factor out page break drawing, and fix it so
10427 page break/added space paints as selected nicely
10429 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10431 * BufferView_pimpl.C: add FIXMEs, clean up a little
10433 2002-07-09 André Pönitz <poenitz@gmx.net>
10435 * lyxfont.[Ch]: support for wasy symbols
10437 2002-07-08 André Pönitz <poenitz@gmx.net>
10439 * BufferView_pimpl.C: apply John's patch for #93.
10441 2002-07-05 Angus Leeming <leeming@lyx.org>
10443 * BufferView_pimpl.C (buffer): generate previews if desired.
10445 * LColor.h: add "preview" to the color enum.
10447 * LColor.C (LColor): add a corresponding entry to the items array.
10449 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10452 2002-07-05 Angus Leeming <leeming@lyx.org>
10454 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10455 The body of the code is now in the method that is passed an ostream &
10456 rather than a file name.
10457 Pass an additional only_preamble parameter, useful for the forthcoming
10460 2002-07-03 André Pönitz <poenitz@gmx.net>
10462 * lyxfunc.C: simplify getStatus() a bit for math stuff
10464 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10468 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * text.C (changeRegionCase): do not change case of all the
10471 document when region ends at paragraph end (bug #461)
10473 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10475 * paragraph.C (startTeXParParams):
10476 (endTeXParParams): add \protect when necessary
10478 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10480 * BufferView_pimpl.C (workAreaExpose): remove warning
10482 2002-06-27 Angus Leeming <leeming@lyx.org>
10484 * Makefile.am: add lyxlayout_ptr_fwd.h.
10486 2002-06-26 André Pönitz <poenitz@gmx.net>
10488 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10490 2002-06-25 Angus Leeming <leeming@lyx.org>
10492 * lyxfunc.C (dispatch): Comment out the call to
10493 grfx::GCache::changeDisplay. The method no longer exists now that the
10494 pixmap generation part of the graphics loader has been moved into
10497 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10499 * text2.C: layout as layout
10501 * text.C: layout as layout
10503 * tabular.C (OldFormatRead): layout as layout
10505 * paragraph_pimpl.C (TeXDeeper): layout as layout
10506 (realizeFont): layout as layout
10508 * paragraph.C (writeFile): layout as layout
10509 (validate): layout as layout
10510 (getFont): layout as layout
10511 (getLabelFont): layout as layout
10512 (getLayoutFont): layout as layout
10513 (breakParagraph): layout as layout
10514 (stripLeadingSpaces): layout as layout
10515 (getEndLabel): layout as layout
10516 (getMaxDepthAfter): layout as layout
10517 (applyLayout): layout as layout
10518 (TeXOnePar): layout as layout
10519 (simpleTeXOnePar): layout as layout
10520 (TeXEnvironment): layout as layout
10521 (layout): layout as layout
10522 (layout): layout as layout
10524 * lyxtextclass.C (compare_name): new functor to work with
10525 shared_ptr, layout as layout
10526 (Read): layout as layout
10527 (hasLayout): layout as layout
10528 (operator): layout as layout
10529 (delete_layout): layout as layout
10530 (defaultLayout): layout as layout
10532 * lyxlayout_ptr_fwd.h: new file
10534 * lyxlayout.C (Read): layout as layout
10536 * lyx_cb.C (MenuInsertLabel): layout as layout
10538 * bufferlist.C (newFile): layout as layout
10540 * buffer.C (readLyXformat2): layout as layout
10541 (parseSingleLyXformat2Token): layout as layout
10542 (insertStringAsLines): layout as layout
10543 (asciiParagraph): layout as layout
10544 (latexParagraphs): layout as layout
10545 (makeLinuxDocFile): layout as layout
10546 (simpleLinuxDocOnePar): layout as layout
10547 (makeDocBookFile): layout as layout
10548 (simpleDocBookOnePar): layout as layout
10549 (getLists): layout as layout
10551 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10553 * CutAndPaste.C (cutSelection): layout as layout
10554 (pasteSelection): layout as layout
10555 (SwitchLayoutsBetweenClasses): layout as layout
10557 * BufferView_pimpl.C (Dispatch): layout as layout
10558 (smartQuote): layout as layout
10560 * BufferView2.C (unlockInset): layout as layout
10562 2002-06-24 André Pönitz <poenitz@gmx.net>
10564 * lyxfunc.C: fix #487
10566 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10570 * lyxfunc.C: remove display_shortcuts, show_banner
10572 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10574 * Buffer_pimpl.C: oops, update on resize
10576 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10583 * BufferView.C: use repaint()
10585 * BufferView_pimpl.h:
10586 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10587 as it's a clearer description. Remove superfluous
10590 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10592 * text.C: fix bug 488. Not ideal, but getting
10593 getWord() to work properly for the insets that
10594 matter is more difficult ...
10596 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView_pimpl.C:
10601 * lyxfunc.C: remove the six million index lyxfuncs to just
10602 one, and DTRT (bug 458)
10604 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10608 * BufferView_pimpl.h:
10609 * BufferView_pimpl.C: clean up resize() stuff,
10610 and unnecessary updateScreen()s
10612 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10616 * BufferView_pimpl.h:
10617 * BufferView_pimpl.C:
10620 * minibuffer.C: remove focus management of workarea,
10621 not needed. Use screen's greyOut()
10623 2002-06-17 Herbert Voss <voss@lyx.org>
10625 * converter.C: (convert) do not post a message, when converting
10626 fails, let the calling function decide what to do in this case
10628 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10630 * lyxfunc.C: tidy up a little
10632 2002-06-16 <alstrup@diku.dk>
10634 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10635 Got rid of FORMS_H_LOCATION include. Now we are
10638 2002-06-15 LyX Development team <lyx@rilke>
10640 * buffer.[Ch] (sgmlOpenTag):
10641 (sgmlCloseTag): Added support for avoiding pernicious mixed
10642 content. Return number of lines written.
10644 (makeLinuxDocFile):
10645 (makeDocBookFile): Fixed calls to sgml*Tag.
10646 Simple white space clean.
10648 (simpleDocBookOnePar): Simple white space clean.
10650 * tabular.[Ch] (docBook): Renamed to docbook and got another
10651 argument to related with the pernicious mixed content.
10653 (docbookRow): Fixed calls for docbook inset method.
10655 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10657 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10658 so it's X11 independent.
10662 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10664 2002-06-15 Lyx Development team <lyx@electronia>
10666 * intl.h: Renamed getTrans to getTransManager.
10668 2002-06-14 Angus Leeming <leeming@lyx.org>
10670 * Makefile.am: nuke forgotten stl_string_fwd.h.
10672 2002-06-12 Angus Leeming <leeming@lyx.org>
10674 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10676 2002-06-13 Angus Leeming <leeming@lyx.org>
10679 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10681 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10683 * kbmap.C (getiso): add support for cyrillic and greek
10685 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10689 * BufferView_pimpl.h:
10690 * BufferView_pimpl.C: move bogus scrolling logic
10693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10696 * BufferView_pimpl.C: view->resize() change
10698 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10700 * BufferView_pimpl.C: topCursorVisible
10703 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10707 * lyx_gui.C: move to frontends/
10711 * lyx_main.C: changes from above
10713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10720 * lyx_main.C: minor tidy
10722 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10724 * BufferView_pimpl.h:
10725 * BufferView_pimpl.C:
10727 * BufferView.C: make painter() const,
10730 * BufferView2.C: use screen() accessor
10733 * lyx_main.C: some minor cleanup
10735 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10737 * BufferView_pimpl.h:
10738 * BufferView_pimpl.C: remove enter/leaveView,
10741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10746 * BufferView_pimpl.h:
10747 * BufferView_pimpl.C: only construct screen once,
10750 * lyxrc.C: remove pointless comment
10752 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10755 * BufferView.C: remove active() and belowMouse()
10757 * BufferView_pimpl.h:
10758 * BufferView_pimpl.C: use workarea() not workarea_,
10759 and make it use a scoped_ptr instead
10761 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10763 * lyx_gui.C: add debug message on BadWindow
10765 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10767 * sp_spell.C: fdopen is not part of the C++ standard.
10769 * paragraph.C (InsetIterator): use >= instead of ==
10771 2002-06-07 Angus Leeming <leeming@lyx.org>
10773 Fixes needed to compile with Compaq cxx 6.5.
10774 * BufferView_pimpl.C:
10781 * lyxtextclasslist.C:
10786 all c-library variables have been moved into namespace std. Wrap
10787 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10792 Add a using std::abs declaration.
10794 * kbmap.h (modifier_pair):
10795 * paragraph.h (InsetTable, InsetList):
10796 * lyxfont.h (FontBits):
10797 type definition made public.
10799 * bufferlist.C (emergencyWriteAll): the compiler complains that
10800 there is more than one possible lyx::class_fun template to choose from.
10801 I re-named the void specialisation as lyx::void_class_fun.
10803 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10805 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10806 the compiler is is unable to find tostr in write_attribute.
10808 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10810 * buffer.C (sgmlError): hide #warning
10812 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10814 * xtl/*: get rid of xtl, which is not in use anyway
10816 * LyXAction.C (init):
10817 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10818 were unimplemented xtl experimentation
10820 2002-06-04 André Pönitz <poenitz@gmx.net>
10822 * lyxfunc.C: disable array operation on simple formulae
10824 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10826 * converter.C: constify a bit
10828 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10830 * lyx_gui.C: check xforms version correctly
10832 2002-04-30 Herbert Voss <voss@lyx.org>
10834 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10837 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10839 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10840 attempt to register it with a VCS)
10842 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * lyx_main.C (init): honor variables LYX_DIR_13x and
10847 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10851 * lyx_main.C: fix a crash on bad command line,
10852 and give a useful exit status on error
10854 * lyxfunc.C (doImport): allow -i lyx to work
10856 2002-03-30 André Pönitz <poenitz@gmx.net>
10858 * lyxfunc.C: mathed font changes
10860 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10875 * trans_mgr.h: srcdocs, and some minor cleanups
10877 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10880 call getFont all the time)
10882 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * switch from SigC signals to boost::signals
10886 2002-05-29 André Pönitz <poenitz@gmx.net>
10888 * paragraph_pimpl.C (getChar): don't call size() too often...
10890 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * paragraph_pimpl.C (insertChar): do not try to update tables when
10893 appending (pos == size())
10895 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10896 in order to reduce drastically the number of comparisons needed to
10897 parse a large document
10899 2002-05-29 André Pönitz <poenitz@gmx.net>
10905 * textclasslist.[Ch]:
10906 * sp_ispell.h: whitespace change
10908 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10910 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10911 lyxaction directly now.
10913 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10917 * lyxvc.C: remove unused headers
10919 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10926 * undo_funcs.C: some cleanups. Use shared_ptr
10927 and a template for the undo stacks.
10929 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10931 * BufferView_pimpl.h:
10932 * BufferView_pimpl.C:
10939 * text2.C: use key_state/mouse_state
10941 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10943 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10946 * chset.C: change include order
10947 (loadFile): use boost regex and get rid of LRegex and LSubstring
10949 * Makefile.am (BOOST_LIBS): new variable
10950 (lyx_LDADD): use it
10952 * LaTeX.C: change include order.
10953 (scanAuxFile): use boost regex and get rid of LRegex and
10957 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10962 * FontInfo.C: moved to frontends/xforms/
10965 * FontLoader.C: moved into frontends for GUIIzation
10970 * lyxfunc.C: changes from above
10972 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10974 * LColor.C: remove spurious X include
10976 * BufferView_pimpl.C:
10981 * text2.C: move font metrics to frontends/
10983 2002-05-24 Juergen Vigna <jug@sad.it>
10985 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10986 setting the undo_cursor.
10988 * ParagraphParameters.h: include local includes first.
10990 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10992 * BufferView_pimpl.C:
10993 * BufferView_pimpl.h:
10997 * screen.C: move WorkArea into frontends/
11003 * BufferView2.C: move LyXScreen into frontends/
11007 * lyx_gui.C: move lyxlookup into frontends/xforms/
11009 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11012 * BufferView_pimpl.C:
11022 * bufferview_funcs.C:
11035 * vc-backend.C: move LyX/XFormsView into frontends/
11037 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11049 * text2.C: move Painter to frontends/
11051 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11053 * buffer.C: comment out some some code that depend upon lyx_format
11056 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11057 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11059 * buffer.h (NO_COMPABILITY): turn off compability
11061 * ColorHandler.C: include scoped_array.hpp
11063 * font.C: Use more specific smart_ptr header.
11066 * ShareContainer.h: ditto
11067 * lyx_main.h: ditto
11069 * FontInfo.h: ditto
11070 * BufferView_pimpl.h: ditto
11071 * ColorHandler.h: ditto
11073 * kbmap.C (defkey): change call to shared_ptr::reset
11075 2002-05-21 Juergen Vigna <jug@sad.it>
11077 * buffer.C (insertErtContents): fix to insert ert asis if it is
11078 non empty. Skip it completely if it contains only whitespaces.
11080 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11082 * BufferView_pimpl.C:
11083 * BufferView2.C: clear selection on paste (bug 393)
11085 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11087 * DepTable.C: include ctime
11089 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11091 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11093 2002-05-14 Juergen Vigna <jug@sad.it>
11095 * text.C (breakParagraph): fixed function to honor the keepempty
11096 layout in the right maner and also to permit the right breaking
11097 algorithm on empty or non empyt keepempty paragraphs.
11099 * paragraph.C (breakParagraph): we have to check also if the par
11100 is really empty (!size()) for isempty otherwise we do the wrong
11103 2002-05-10 Juergen Vigna <jug@sad.it>
11105 * buffer.[Ch] : The following are only changes to the ert
11106 compatibility read reading old LaTeX layout and font stuff and
11107 convert it to ERTInsets.
11109 * buffer.h: added isErtInset().
11111 * buffer.C (struct ErtComp): add a fromlayout bool to check
11112 if we're inside a LaTeX layout.
11113 (isErtInset): new helper function.
11114 (insertErtContents): look for other ert insets before this one
11115 and insert the contents there, so that we don't have subsequent
11116 ERT insets with nothing between them. This way we create only one
11117 inset with multiple paragraphs. Also check if we don't insert only
11118 spaces ' ' as they are ignored anyway afterwards in the .tex file
11119 so if we have only spaces we will ignore this latex part in the
11121 (parseSingleLyXformat2Token \\layout): better compatibility when
11122 reading layout-latex stuff.
11123 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11125 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11126 stuff after reading the inset only get the information back from
11129 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11131 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11133 * LaTeXFeatures.C (getBabelOptions): New method.
11135 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * BufferView_pimpl.C (Dispatch): work around missing argument for
11140 2002-05-08 Juergen Vigna <jug@sad.it>
11142 * text.C (leftMargin): handle paragraph leftindent.
11144 * paragraph.C (writeFile): write the new \\leftindent tag.
11145 (validate): handle leftindent code.
11146 (TeXEnvironment): handle paragraphleftindent code again.
11148 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11150 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11151 for paragrap_extra indent code and new token \\leftindent.
11152 (latexParagraphs): handle the leftindent as environment.
11154 * ParameterStruct.h: added leftindent support.
11156 * ParagraphParameters.C (leftIndent): added support functions for
11157 the paragraph left indent.
11159 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11162 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11164 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11167 * text.C (computeBidiTables): No bidi in insetERT.
11169 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11172 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * version.C.in: pre 5
11176 2002-05-02 José Matos <jamatos@fep.up.pt>
11177 * buffer.C (makeDocBookFile): white space changes, add newline to
11179 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11181 * tabular.C (docBook): fix typo.
11183 2002-05-03 Juergen Vigna <jug@sad.it>
11185 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11186 change in LyXText as we can not be sure it was not freed.
11187 (drawOneRow): remove unused code.
11189 * text.C (drawInset): redo the calculation of the need_break_row as
11190 it could have a row which was already freed.
11191 (draw): look at the return value of drawInset and return false if
11192 it also returned false.
11193 (paintRowText): look at the return value of draw and return false if
11194 it also returned false.
11196 * lyxtext.h: added bool return type to drawInset() and draw() so that
11197 if we have a change in the row so that the rowbreak has to be redone
11198 we abort drawing as it will be called again.
11200 2002-05-02 Juergen Vigna <jug@sad.it>
11202 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11203 a change in the maintext also if we're inside an inset.
11204 (Dispatch): set the cursor again after a break line and after the
11205 screen has been updated as it could be we're in a different row.
11207 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11208 to set the cursor behind the pargraph with > size().
11209 (setCursor): check also for the same paragraph when checking where
11210 to put the cursor if we have a NFR inset.
11212 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11213 parts of layout read further up as it still was in the wrong
11216 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11218 * screen.C (drawFromTo): change sine fullRebreak always return
11221 * buffer.C (parseSingleLyXformat2Token): reindent some
11223 * BufferView_pimpl.C (update): change since fullRebreak always
11225 (Dispatch): git rid of the last hardcoded "Standard"s.
11227 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * text2.[Ch] (fullRebreak): make it return void now that we always
11232 2002-04-30 Juergen Vigna <jug@sad.it>
11234 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11235 ert compatibility check for "latex" layout.
11237 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11239 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11240 minipages: use col% instead of p%, and also use the current font.
11241 (makeLaTeXFile): Fix use babel condition.
11242 (parseSingleLyXformat2Token): Correct font when reading old floats.
11244 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11246 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11247 inserting list of floats.
11249 2002-04-25 Herbert Voss <voss@lyx.org>
11251 * MenuBackend.C (expand): don't add the graphics extensions to the
11254 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11256 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11257 non-existing layout, do not complain if it was the default layout
11258 of the original class (bug #342)
11260 2002-04-24 Juergen Vigna <jug@sad.it>
11262 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11263 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11265 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11267 * buffer.C (getBibkeyList): If using \bibliography, return the
11268 option field with the reference itself. Enables us to provide natbib
11269 support when using \bibliography.
11271 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11273 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11275 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11276 natbib is provided by the LaTeX class.
11278 2002-04-23 Juergen Vigna <jug@sad.it>
11280 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11283 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11285 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11287 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11289 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11290 ensuremath around textordmasculine, textordfeminine and
11293 2002-04-19 Juergen Vigna <jug@sad.it>
11295 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11296 reinitializing the buffer otherwise row-dimensions may be wrong.
11297 (update): reset also the selection cursors if they do exits otherwise
11298 their x/y positions may be wrong.
11300 * text2.C (cursorDown): don't enter the inset if we came from a row
11301 above and are one row over the inset.
11303 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11304 really leaving an inset.
11306 2002-04-18 Juergen Vigna <jug@sad.it>
11308 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11309 of the selected paragraph does not have the selected layout also if
11312 * text2.C (setLayout): fixed bug which did not change last selected
11315 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11316 changed the read and substituted \\end_float with \\end_inset!
11318 * BufferView_pimpl.C (cursorPrevious):
11319 (cursorNext): fixed to make it work with rows heigher than the work
11320 area without moving the cursor only the draw of the row.
11321 (workAreaMotionNotify): fix jumping over high rows.
11323 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11325 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11328 2002-04-16 Juergen Vigna <jug@sad.it>
11330 * text2.C (setCursor): set also the irow().
11331 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11333 (cursorDown): support for locking an inset if the x_fix value goes
11334 inside it. That way I can transverse insets too with cursor up/down.
11336 * lyxrow.h: added irow helper function same as other (i) functions.
11338 * BufferView_pimpl.C (cursorPrevious):
11339 (cursorNext): fixed for insets!
11341 2002-04-15 Juergen Vigna <jug@sad.it>
11343 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11344 position otherwise it is wrong in some cases.
11346 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11347 inside the inset before the call.
11349 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11351 * buffer.[Ch] (getBibkeyList): make it const.
11353 2002-04-12 Juergen Vigna <jug@sad.it>
11355 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11357 * text2.C (getCursorX): new helper function
11358 (setCursor): compute also ix_
11359 (setCursorFromCoordinates): set also ix.
11361 * lyxcursor.h: added ix_ and helper functions.
11363 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11365 * buffer.C (insertStringAsLines): dont break paragraph if the this
11366 paragraph is inside an inset which does not permit it!
11368 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11369 also with no chars on this paragraph.
11370 (paintRowText): only paint stuff if it's inside the workarea!
11372 * paragraph.C (breakParagraph): honor keepempty flag and break the
11373 paragraph always below not above.
11375 * BufferView2.C (unlockInset): update the paragraph layout on inset
11376 unlock as we changed paragraph in such a case.
11378 * lyxfind.C (LyXFind): clear the former selection if not found!
11380 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11381 again called in insertChar().
11383 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11384 an inset which uses the whole row!
11385 (rightMargin): ditto.
11386 (insertChar): force a rebreak if we inserted an inset!
11388 2002-03-28 Herbert Voss <voss@lyx.org>
11390 * lyxlength.[Ch]: add inBP() to get the right PS-point
11391 units (BigPoint). With inPixels we have rounding errors
11393 2002-04-11 Juergen Vigna <jug@sad.it>
11395 * text2.C (setCursorFromCoordinates): set iy to the right value.
11396 (setCursor): add check if row->previous exists!
11398 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11399 an old float_type as this was the case in the old code!
11401 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11403 * BufferView2.C (showLockedInsetCursor): use iy
11404 (fitLockedInsetCursor): ditto
11406 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11407 locked insets as there we have the right value now.
11409 * lyxcursor.C: added iy_ variable and iy functions to set to the
11410 baseline of cursor-y of the locked inset.
11412 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11413 (setCursor): fixed for insets which need a full row.
11415 * text.C (rowLastPrintable): don't ignore the last space when before
11416 an inset which needs a full row.
11417 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11418 as last character of a row when before a inset which needs a full row.
11420 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11422 * version.C.in: update date
11424 * text2.C (fullRebreak): try to always return true and see what
11427 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11429 * MenuBackend.C (expand): use Floating::listName
11431 * FloatList.C (FloatList): add listName argument to the built-in
11434 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11435 text associated with the float.
11437 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11441 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11443 * ShareContainer.h: add a couple of missing typenames.
11445 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11447 * lyxrc.C (getDescription): use _() correctly rather than N_().
11449 2002-03-28 Herbert Voss <voss@lyx.org>
11451 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11452 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11454 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11456 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11457 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11459 2002-03-29 Juergen Vigna <jug@sad.it>
11461 * lyxfunc.C (dispatch): add a missing fitCursor call.
11463 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11464 it was scrolled by a cursor move, so return the bool status.
11466 * BufferView.C (fitCursor): return the bool flag also to the outside
11467 world as this is needed.
11469 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11471 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11472 call the edit() as it is not needed (and wrong) IMO.
11473 (workAreaButtonPress): set the screen_first variable before evt.
11474 unlock the inset as this may change screen_first and then we have
11475 a wrong y position for the click!
11477 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11479 * MenuBackend.C (expand): another translation that I missed
11481 2002-03-28 Juergen Vigna <jug@sad.it>
11483 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11485 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11487 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11489 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11491 * MenuBackend.C (expand): fix export/view/update when there is no
11494 2002-03-27 Herbert Voss <voss@lyx.org>
11496 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11499 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11501 * bufferview_funcs.C (currentState): only show paragraph number
11502 for is DEVEL_VERSION is set.
11504 * lyxfunc.C (dispatch): put warning in INFO channel
11506 * MenuBackend.C (expand): translate the name of floats
11508 * FloatList.C (FloatList): mark the float names for translation
11510 * converter.C (convert): use LibScriptSearch
11512 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11514 * MenuBackend.C (defaults): fix default menu (we might as well get
11517 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11519 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11522 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11524 * lyxvc.C: reorder includes.
11526 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11528 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11531 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11533 * CutAndPaste.C: change layouts earlier on paste
11534 to avoid crashing when calling getFont()
11536 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11538 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11541 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11543 * WorkArea.C: remove 'Pending' debug message.
11545 * most files: ws cleanup
11547 * buffer.[Ch]: ws changes
11549 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11551 2002-03-21 Juergen Vigna <jug@sad.it>
11553 * tabular.C (SetMultiColumn): collapse also the contents of the
11554 cells and set the last border right. Added a Buffer const * param.
11556 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11558 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11561 2002-03-19 Juergen Vigna <jug@sad.it>
11563 * text2.C (clearSelection): reset also xsel_cache.
11565 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11566 where it needs to be called (John tells us to do so too :)
11567 (selectionLost): reset sel_cache.
11569 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11571 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * text2.C (setCursorIntern): put debuging code in INSETS channel
11575 2002-03-19 André Pönitz <poenitz@gmx.net>
11577 * lyxfunc.C: tiny whitespace change
11579 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11581 * ToolbarDefaults.C (init):
11582 * LyXAction.C (init):
11584 * BufferView_pimpl.C (Dispatch):
11585 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11587 2002-03-19 Allan Rae <rae@lyx.org>
11589 * exporter.C (Export): removeAutoInsets before doing anything else.
11590 While I've just introduced a dependency on BufferView this really is
11591 the best place to clean the buffer otherwise you need to cleanup in
11592 a dozen places before calling export or cleanup in a dozen functions
11595 * converter.C (runLaTeX):
11596 (scanLog): Better handling of removeAutoInsets and screen updates.
11598 * lyxfunc.C (dispatch): small whitespace changes
11600 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11602 * WorkArea.C (C_WorkAreaEvent): return a value.
11603 (event_cb): return 1 if we handled the event, 0 otherwise.
11605 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11607 2002-03-18 Juergen Vigna <jug@sad.it>
11609 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11610 (GetAdditionalWidth): ditto.
11611 (RightLine): ditto.
11614 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11615 inset if we're there actually (probably not used right now but this
11616 is the direction to go for unifying code).
11617 (paste): disable code to clear the selection.
11619 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11620 inside an InsetText and move the check further up as it is in the
11623 * text2.C (pasteSelection): set a selection over the pasted text.
11625 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11627 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11628 and libgraphics to build on Cygwin.
11630 2002-03-15 Juergen Vigna <jug@sad.it>
11632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11633 inserting an Inset into the paragraph. I know this is not the best
11634 fix but we already use current_view in CutAndPaste so we will remove
11635 all of it's using at the same time.
11637 * buffer.C (sgmlError): deactivated function till it is rewritten in
11638 the right mode, now it can create problems.
11640 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11641 before accessing it.
11643 2002-03-14 Juergen Vigna <jug@sad.it>
11645 * undo_funcs.C (textHandleUndo): do the right thing when updating
11646 the inset after the undo/redo.
11648 * text2.C (setCursor): just some testcode for #44 not ready yet.
11650 * undo_funcs.C (textHandleUndo): set the next() and previous()
11651 pointers of the paragraph to 0 before deleting otherwise we have
11652 problems with the Paragraph::[destructor].
11654 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11655 on a paragraph insertion.
11657 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * buffer.C (asciiParagraph): use += operator for char append to
11662 * paragraph.C (getFontSettings): compare >= not just >
11663 (highestFontInRange): ditto
11666 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11668 * paragraph.C: change several algorithm to be more appripriate for
11669 the problem domain. This is lookip in FontList and in the InsetList.
11671 2002-03-13 André Pönitz <poenitz@gmx.net>
11674 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11676 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11681 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11683 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * Painter.C (display): anon helper function, adjust code for this
11687 (pixmap): remove function.
11689 * Painter.h: remove private display variable.
11691 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11693 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11695 * WorkArea.[Ch]: remove figinset_canvas cruft.
11697 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11699 * lyxtextclass.C (operator): add one item cache optimization.
11701 * bufferlist.h: doxy changes
11703 * bufferlist.C: ws changes
11705 * DepTable.[Ch] (ext_exist): place const in the right spot.
11707 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11709 (workAreaExpose): call resizeInsets when the with BufferView changes.
11710 (Dispatch): adjust for protectedBlank removal
11711 (specialChar): call updateInset if the insert went ok.
11713 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11714 specialChar instead.
11716 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11718 * BufferView.h: doxy change
11720 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11722 * lyxtextclass.C (operator[]): remove non-const version
11723 (defaultLayout): remove non-const version
11725 2002-03-12 Juergen Vigna <jug@sad.it>
11727 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11728 did resize the LyXText too.
11730 * buffer.C (readLyXformat2): set layout information on newly allocated
11733 * tabular.C (OldFormatRead): set layout information on the paragraph.
11735 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11737 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11739 2002-03-11 Juergen Vigna <jug@sad.it>
11741 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11743 (resizeCurrentBuffer): force also the insets to resize themselfes.
11744 (moveCursorUpdate): fixed up for InsetText.
11746 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11749 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11750 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11751 value of Dialogs::tooltipsEnabled().
11752 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11754 2002-03-08 Juergen Vigna <jug@sad.it>
11756 * BufferView_pimpl.C (updateInset): update inset inside inset also
11757 if it isn't inside theLockingInset().
11759 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11761 * buffer.C (asciiParagraph): redo some of the word and line length
11763 (getLists): look for Caption instead of caption.
11765 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11767 * buffer.C (Buffer): initialize niceFile to true
11769 (makeLinuxDocFile):
11770 (makeDocBookFile): make sure niceFile is true on exit
11772 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11776 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11778 * LyXSendto.C: remove.
11779 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11780 * lyx_gui.C: remove now-redundant comment.
11781 * ColorHandler.h: remove forward declaration of class WorkArea.
11782 * lyxfunc.C: remove #include "WorkArea.h".
11784 2002-03-07 Juergen Vigna <jug@sad.it>
11786 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11787 got moved away with the DEPM and also set the inset_owner always
11788 right which before could have been omitted.
11790 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11792 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11793 wanted layout is not found.
11795 2002-03-07 Juergen Vigna <jug@sad.it>
11797 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11799 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11801 * paragraph.C (breakParagraph): use default layout not layout of
11803 (Paragraph): clear ParagraphParameters.
11805 2002-03-06 Juergen Vigna <jug@sad.it>
11807 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11808 otherwise it would not be a valid lenght. Fixed a special case in
11809 the minipage compatibility read where we end the document with a
11812 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11813 was set as it could be 0 for InsetTexts first entry.
11815 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11817 * paragraph.C (writeFile): if layout is empty write out
11818 defaultLayoutName().
11820 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11821 file without named layout we set layout to defaultLayoutName().
11823 2002-03-06 Juergen Vigna <jug@sad.it>
11825 * CutAndPaste.C (copySelection): set layout for new paragraph.
11827 * text.C (prepareToPrint): leave ERT inset left aligned
11828 (leftMargin): don't indent paragraphs inside ERT insets
11830 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11832 * paragraph.C (breakParagraph): dont call clear do the work manually
11834 * paragraph.[Ch] (clear): remove function
11836 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * paragraph.C (Paragraph): dont call clear, the work has already
11841 * lyxtextclass.C (operator): assert if n is empty
11843 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11844 work manually instead.
11846 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11848 * BufferView_pimpl.C: protect selectionLost against text == 0
11850 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11852 * text.C (breakParagraph): fix a setting layout to '0' problem.
11854 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11856 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11857 final location of file, for the included files, and graphics.
11859 2002-03-05 Juergen Vigna <jug@sad.it>
11861 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11863 2002-03-04 Juergen Vigna <jug@sad.it>
11865 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11867 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11868 last column of multicolumn cells.
11869 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11871 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11873 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11874 file if it doesn't go to a temporary file.
11876 * buffer.C (sgmlOpenTag):
11877 (sgmlCloseTag): remove extra newline insertion.
11879 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11881 * text.C (getRowNearY): comment out debug msg
11883 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11885 * text2.C: first -> first_y
11887 * text.C (getRowNearY): add some attemts at a possible
11888 optimization, not working.
11890 * tabular.[Ch]: add BufferParams to several function so that newly
11891 created paragraph can be initialized to he default layotu for the
11894 * tabular-old.C (ReadOld): add buf->params to call of Init
11896 * screen.C: rename text->first to text->first_y
11898 * paragraph.C (breakParagraph): always set layout in the broken
11901 * lyxtextclass.C (Read): remove lowercase
11904 (delete_layout): ditto
11906 * lyxtext.h: rename first -> first_y
11908 * lyxlayout.C (Read): remove lowercase
11911 (obsoleted_by): ditto
11913 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11915 * buffer.C (insertErtContents): add params are to InsetERT
11916 (parseSingleLyXformat2Token): add code to check if a paragraphs
11917 layout really exist.
11918 (parseSingleLyXformat2Token): add params to several inset
11920 (asciiParagraph): remove lowercase, do the layout comparisons with
11923 * BufferView_pimpl.C (cursorNext): first -> first_y
11924 (resizeCurrentBuffer): first -> first_y
11925 (updateScrollbar): first -> first_y
11926 (scrollCB): first -> first_y
11927 (workAreaMotionNotify): first -> first_y
11928 (workAreaButtonPress): first -> first_y
11929 (checkInsetHit): first -> first_y
11930 (cursorPrevious): first -> first_y
11931 (cursorNext): first -> first_y
11932 (Dispatch): add buffer_->params to severl inset contructors
11934 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * lyxlayout.C (Read): remove some debug info that I forgot.
11938 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11939 clean up the code slightly.
11940 (makeLinuxDocFile): ditto
11941 (makeDocBookFile): ditto
11943 * text2.C: layout as string
11945 * text.C: layout as string
11947 * paragraph_pimpl.C: layout as string
11949 * paragraph.[Ch]: layout as string
11951 * lyxtextclasslist.[Ch]: layout as string
11953 * lyxtextclass.[Ch]: layout as string
11955 * lyxtext.h: layout as string
11957 * lyxlayout.[Ch]: layout as string
11959 * lyx_cb.C: layout as string
11961 * bufferview_funcs.C: layout as string
11963 * bufferparams.C: layout as string
11965 * buffer.C: layout as string
11967 * LyXView.[Ch]: layout as string
11969 * LaTeXFeatures.[Ch]: layout as string
11971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11973 * BufferView_pimpl.C: change current_layout to string, remove
11978 (workAreaButtonRelease): layout as string
11980 * BufferView2.C (unlockInset): adjust
11982 * vspace.C (asLatexCommand): use an explict temp variable.
11984 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11986 * Makefile.am: use FRONTEND_*
11988 2002-03-01 Juergen Vigna <jug@sad.it>
11990 * tabular.C (SetWidthOfMulticolCell): changed to something better
11991 I hope but still work in progress.
11992 (recalculateMulticolumnsOfColumn): renamed function from
11993 recalculateMulticolCells as it is more appropriate now.
11994 (SetWidthOfCell): calculate multicols better.
11996 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12000 * lyxfunc.C (processKeySym): print sequence also if it is
12001 `deleted' (complete)
12003 * kbsequence.C (print): print sequence even if it is deleted
12004 (complete would be a better word, actually).
12006 * lyxfunc.C (dispatch): print complete options after a prefix key
12008 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12010 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12012 * text2.C (setCharFont): eliminate setCharFont code duplication.
12014 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12016 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12017 LFUN_TABULAR_FEATURE (bug #177)
12019 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12021 * Makefile.am: remove figure.h
12023 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12025 * Bufferview_pimpl.C:
12037 * text2.C: remove #include "lyx_gui_misc.h".
12039 * LaTeX.C: added #include <cstdio>
12041 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12043 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12044 that the paragraph following this one can have.
12046 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12048 * vspace.C (asLatexCommand): fix bogus gcc warning
12050 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12052 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12054 * text2.C (setLayout): get rid of redundant code
12056 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12058 * text2.C (incDepth): make sure depth cannot be increased beyond
12061 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12063 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12064 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12066 * PainterBase.h (image):
12067 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12068 a LyXImage const *.
12070 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12074 * BufferView_pimpl.C:
12075 * BufferView_pimpl.h:
12095 * sp_spell.C: remove fig inset, and the crap house of
12096 cards that follows it
12098 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12103 * os2_errortable.h:
12104 * nt_defines.h: move .h into support/
12106 * vms_defines.h: remove
12108 * WorkArea.C: add space in debug output
12112 * buffer.C: add WITH_WARNINGS
12116 * bufferlist.C: s/retrive/retrieve/, add docs
12125 * chset.C: add docs
12127 * lyxgui.C: add ID to X error handler
12129 * lyxtestclass.c: fix typo
12131 2002-02-26 Juergen Vigna <jug@sad.it>
12133 * tabular_funcs.C (write_attribute): changed so that some default
12134 attributes are not written at all.
12135 (getTokenValue): set default values before trying to read the
12136 value so we have the return value always set as default if we don't
12137 find the token we search for.
12139 * tabular.C (Write): write bools as bools not as strings!
12141 2002-02-22 Juergen Vigna <jug@sad.it>
12143 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12144 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12146 * text.C (leftMargin): don't add an indent for paragraphs inside
12147 tabular cells (fix #208).
12149 2002-02-21 José Matos <jamatos@fep.up.pt>
12151 * tabular.C (docBook): fixed support for long tables.
12153 2002-02-20 Juergen Vigna <jug@sad.it>
12155 * text2.C (getFont): get the drawing font of the Inset if this
12156 paragraph is inside an inset (only important for InsetERT for now).
12158 * buffer.C (insertErtContents): use new lanugage params in ERT
12161 * CutAndPaste.C: commenting out seemingly uneeded code.
12163 2002-02-19 Allan Rae <rae@lyx.org>
12165 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12166 Iterators might be simple to use but they also get invalidated.
12167 (removeAutoInsets): renamed saved cursor tracking variables and added
12168 some comments to clarify what everything does.
12170 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12177 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12178 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12181 * vc-backend.h: remove #include "support/syscall.h"
12185 * converter.C: rearrange #includes in Lars' approved fashion.
12187 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12188 forward declare class Timeout in the header file.
12190 * XFormsView.C: changes due to the above.
12192 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12193 similar to LyXView.
12195 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12196 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12198 2002-02-18 José Matos <jamatos@fep.up.pt>
12200 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12203 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12205 * a lot of small ws changes
12206 * add a lot of using std::XXX
12207 * use std construcs some places where approp.
12208 * use some exisint stuff from lyxfunctional where approp.
12209 * Make file changes to use partial linking (lets test this now...)
12211 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12215 remove #include "support/syscontr.h" as it's redundant. Always has been.
12223 change Systemcalls::System to Systemcalls::Wait and
12224 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12225 No change of functionality, just reflects the stripped down Systemcalls
12228 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12230 * debug.[Ch]: add a GRAPHICS type to the enum.
12232 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12234 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12236 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12239 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12241 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12242 match the changes below.
12244 * text2.C (toggleInset): if there is not editable inset at cursor
12245 position, try to see if cursor is _inside_ a collapsable inset
12248 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12251 document menu has a nice checkbox
12253 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12255 * lyxlength.C (asLatexString): change PW to output as percent of
12258 * lengthcommon.C: change '%' to 't%'
12260 * lyxfunc.C (dispatch): a few comments from Martin
12262 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12266 * BufferView_pimpl.h:
12267 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12270 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12272 * vspace.C (inPixels): fix compiler warning
12274 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * lyxfunc.C (getStatus): fix status message for disabled commands.
12278 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12280 * BufferView_pimpl.C: fix crash on close buffer
12281 during selection (#227)
12283 2002-01-27 Herbert Voss <voss@lyx.org>
12285 * buffer.C: link old Figure to new graphic inset
12287 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12289 * FontLoader.C (getFontinfo): Change the latex font names in order
12290 to match the names of type1inst.
12292 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12296 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12297 (extchanged): ditto
12299 (remove_files_with_extension): ditto
12300 (remove_file): ditto
12303 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12304 document is smaller than the work area height. Do not initialize
12305 static variables to 0.
12307 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12309 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12311 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12312 LFUN_LAYOUT_PARAGRAPHS.
12314 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12315 tabular. It is possible to provide a possible cell, which will
12316 typically be the actcell from the corresponding insettabular
12318 * lyxfunc.C (getStatus): small cleanup; disable
12319 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12322 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12324 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12326 * paragraph.C (startTeXParParams):
12327 (endTeXParParams): new methods. The LaTeX code to
12328 start/end paragraph formatting
12329 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12330 empty (fixes bug #200)
12332 * vspace.C (inPixels): adapt to the change below
12333 (inPixels): [later] more cleanups (remove unused variables)
12335 * lyxlength.C (inPixels): change to use a width and a height as
12338 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12340 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12341 Replaced with \paperwidth
12343 * DepTable.C (insert): add std:: qualifier
12345 2002-01-18 Allan Rae <rae@lyx.org>
12347 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12350 * text.C (drawInset): Turned out I didn't know enough about how
12351 rebreaking worked. This fixes most of the redraw problems. I see
12352 an occasional cursor trail when a line is broken now and the cursor
12353 placement can seem out by a few pixels also after a rebreak.
12355 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12357 * buffer.C (parseSingleLyXformat2Token): update because minipage
12358 width is now a LyXLength
12360 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12362 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12365 2002-01-17 Juergen Vigna <jug@sad.it>
12367 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12369 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12370 is set correctly and the inset is updated correctly.
12372 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12375 the beginning of the loop.
12377 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12379 * lyxrc.C: improve help for use_scalable_fonts
12381 2002-01-17 Allan Rae <rae@lyx.org>
12383 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12385 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12387 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12388 make sure to set their inset_owner to the right value (bug #171)
12390 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12393 * DepTable.C: Implement mtime checking to reduce time spent doing
12396 2002-01-16 Juergen Vigna <jug@sad.it>
12398 * tabular.C (GetAdditionalHeight): one of error fixed.
12400 * lyxrc.C (output): small fix in writing use_pspell.
12402 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12404 * sp_base.h: #include LString.h
12406 2002-01-16 Allan Rae <rae@lyx.org>
12408 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12409 Can someone check this please?
12411 * text.C (drawInset): It was possible that p.row would be removed by
12412 breakAgainOneRow upsetting a few other settings. There may be another
12413 small tweak possible by setting need_break_row = 0 when p.row has been
12414 removed but I don't know enough about the logic here.
12416 2002-01-15 Allan Rae <rae@lyx.org>
12418 * text.C (insertChar): removed conditional truism.
12420 * BufferView2.C (removeAutoInsets): More tweaks.
12421 cur_par_prev could be a stray pointer. Check for trailing empty line
12422 in case last line was cur_par and only had an error inset on it.
12424 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12426 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12429 * vc-backend.C (most methods):
12430 * exporter.C (Export):
12431 * converter.C (convert):
12433 * LyXSendto.C (SendtoApplyCB):
12434 * lyxfunc.C (dispatch):
12438 * lyx_cb.C (AutoSave):
12440 * BufferView_pimpl.C (MenuInsertLyXFile):
12441 * buffer.C (runChktex): use Buffer::filePath().
12443 * buffer.h: rename filename to filename_; rename filepath to
12444 filepath_ and make it private
12445 (filePath): new method
12447 * buffer.C (writeFile): use fileName()
12450 * lyx_main.C (init): fix starting of LyX when the binary is a
12451 link from so,ewhere else.
12453 * minibuffer.C: include <cctype> for isprint
12455 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12457 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12458 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12459 name clash with InsetCollapsable's width function.
12461 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12463 * lastfiles.C: include <iterator>
12465 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12467 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12470 * buffer.C (makeLaTeXFile): ditto.
12471 Also make loop operation more transparent.
12473 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12475 * ToolbarDefaults.C: remove trailing comma closing namespace.
12477 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12479 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12482 * trans.C (Load): comment out unused variable, allowed.
12484 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12486 * minibuffer.[Ch] (append_char): new method to recieve input from the
12487 drop-down completion browser. If a key was pressed, then recieve this
12488 char and append it to the existing string.
12489 (peek_event): modify the positioning data passed to the completion
12490 browser so that it can be placed above the minibuffer rather than below.
12491 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12493 * LyXAction.C (init): alloe error-next for readonly documents.
12495 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12498 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12500 * bufferlist.C (readFile): create the buffer _after_ checking that
12503 * lyxfunc.C (verboseDispatch): fix handling of arguments
12505 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12507 * lyxrc.C: use string::erase() instead of initializing to "".
12510 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12512 * BufferView_pimpl.h:
12513 * BufferView_pimpl.C:
12516 * text2.C: tell X when we have made a selection for copying
12518 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * BufferView_pimpl.C (MenuInsertLyXFile):
12521 * lyxfunc.C (menuNew):
12523 (doImport): add shortcuts to directory buttons
12525 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12528 * lyxfunc.C (setStatusMessage):
12529 (getStatusMessage): new methods
12530 (getStatus):use setStatusMessage instead of setErrorMessage
12531 (dispatch): when function is disabled, set error message here
12532 [instead of in getStatus previously]
12534 * BufferView_pimpl.C (workAreaButtonRelease): update
12535 toolbar/menubar here too.
12537 2002-01-13 Allan Rae <rae@lyx.org>
12539 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12540 Now seems indestructible. Remaining task is to audit all other
12541 code affected by deleteEmptyParagraphMechanism. One small quirk
12542 left is that an empty document with an error in the preamble can
12543 be made to report an error but no error box appears. I don't know
12545 (removeAutoInsets): Improved comments.
12547 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12550 * Thesaurus.C: update for Aiksaurus 0.14
12552 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12554 * text2.C (firstParagraph): removed member function, all uses
12555 replaces with ownerParagraph
12556 (redoParagraphs): here
12557 (updateInset): here
12558 (toggleAppendix): here
12559 * BufferView2.C (insertErrors): here
12560 (setCursorFromRow): here
12562 2002-01-13 Allan Rae <rae@lyx.org>
12564 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12565 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12566 There is still a way to segfault this although you may have to do this
12567 multiple times: Have an InsetERT with an unknown command in it.
12568 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12569 <down-arrow>, <Enter> again, View->DVI, BANG!
12571 * text2.C (setCursor):
12572 (deleteEmptyParagraphMechanism):
12573 * lyxtext.h (setCursor):
12574 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12575 Making use of the return value may help fix other bugs.
12577 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12579 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12581 * LyXView.C (updateMenubar): call MenuBar::update here
12582 (updateToolbar): but not here
12583 (showState): do not update toolbar/menubar
12585 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12586 should need to care about that.
12588 * lyxfunc.C (verboseDispatch): simplify a bit
12589 (getStatus): have a version which takes a pseudoaction, and
12590 another which requires a (kb_action,string).
12592 * LyXAction.C (retrieveActionArg): make it work also when action
12593 is not a pseudo-action.
12594 (getActionName): simplify a bit
12597 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * lyxfunc.C (verboseDispatch): new families of methods with
12600 several ways to specify a command and a bool to indicate whether
12601 the command name and shortcut should be displayed in minibuffer
12602 (eventually, we could extend that to a finer bitmask like
12603 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12604 (dispatch): the pristine dispatch command which just, well,
12605 dispatchs! Note it still sets its result to minibuffer; I'm not
12608 * lyxfunc.h: remove setHintMessage
12610 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12612 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12614 * BufferView_pimpl.C (specialChar): delete new inset if we have
12615 not been able to insert it.
12617 * kbmap.C: revert to using int instead of kb_action, since all we
12618 are dealing with is pseudo-actions.
12620 * LyXAction.C (searchActionArg): change to return int instead of
12621 kb_action, since the result is a pseudoaction.
12623 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12625 * buffer.C (insertErtContents): Fix (partially) the font bug.
12627 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12629 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12630 as the other one is broken on my machine!
12632 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12635 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12637 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12639 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12640 reflect their actual use. Provide compatibility code for older lyxrc
12643 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12645 change names of popup font variables in line with the changes to lyxrc.C
12647 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12649 * buffer.C (asciiParagraph): avoid outputing a word twice after
12652 * lyxrc.C (getDescription): document that document_path and
12653 template_path can be empty.
12655 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12657 * LaTeXFeatures.C (getMacros):
12658 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12660 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12662 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12664 (getPackages): rename feature "floats" to "float". Use an array to
12665 iterate over 'simple' features (i.e. just a \usepackage). Add
12666 handling of "amsmath" (renamed from "amsstyle").
12668 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12670 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12673 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12675 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12676 FuncStaus::FuncStatus & FuncStaus::some_method().
12678 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12680 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12681 of the func_satus stuff. Edited and massaged in various ways by
12684 * lyxfunc.C (getStatus): use FuncStatus
12686 2002-01-08 Juergen Vigna <jug@sad.it>
12688 * text.C (nextBreakPoint): use function Inset::isChar().
12690 * paragraph.C (TeXOnePar): use function
12691 Inset::forceDefaultParagraphs.
12693 * buffer.C (latexParagraphs): use function
12694 Inset::forceDefaultParagraphs.
12696 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12698 * lyx_gui.C (init): set the style of the menu popups to
12699 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12701 2002-01-07 Juergen Vigna <jug@sad.it>
12703 * text.C (setHeightOfRow): small fix
12704 (prepareToPrint): don't look at alignment if we don't have the place
12707 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12709 * box.C: New file. Move the Box methods and functions out of box.h,
12710 following Lars' suggestion.
12712 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12714 * box.h: #include "support/LOstream.h", needed for inlined function.
12717 * lyxtextclasslist.C: added some using std declarations.
12719 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12721 * box.h: make signed dimensions to allow insets wider than
12722 the screen (bug #162)
12724 * BufferView_pimpl.C: add some insetHit debug
12726 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12728 * vc-backend.C: add FIXME
12730 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * lyxfunc.C (getStatus): enable code for showing math font status
12735 2002-01-07 Juergen Vigna <jug@sad.it>
12737 * text.C (nextBreakPoint): removed debug output not needed anymore.
12739 2002-01-06 Juergen Vigna <jug@sad.it>
12741 * text.C (nextBreakPoint): fixed up this function we had this bug
12742 since ever but now hopefully we break row better.
12743 (insertChar): we have to check if an inset is the next char as it
12744 could now happen that a large inset is causing a break.
12746 2002-01-05 Juergen Vigna <jug@sad.it>
12748 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12749 if it doesn't like to be drawed.
12751 2002-01-04 Juergen Vigna <jug@sad.it>
12753 * BufferView2.C (lockInset): forgot to set a cursor.
12755 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12757 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12759 * FormMathsPanel.C:
12762 * form_maths_panel.C:
12763 * form_maths_panel.h:
12764 * form_maths_panel.fd: implemented sub- and super- buttons in math
12767 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12768 (or ^ space) to be used as in TeX (req'd by André).
12770 * lyxfunc.C: Allow ^ and _ again to be used both as
12771 super/subscript (mathed) and as themselves (in text).
12773 2002-01-03 Allan Rae <rae@lyx.org>
12775 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12776 "LyX" or the filename of the current buffer if it has one. This is a
12777 modified form of John Levon's patch.
12779 * XFormsView.C (setWindowTitle): also set icon title.
12781 * LyXView.h (setWindowTitle): signature changed.
12782 * XFormsView.h (setWindowTitle): ditto.
12784 2002-01-02 Juergen Vigna <jug@sad.it>
12786 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12788 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12790 * screen.C (topCursorVisible): introduce a temp var for
12791 text->cursor.row(), handle the case where this row is null. (kindo
12794 * text2.C (setCursor): add a couple of asserts.
12796 * paragraph.h (inset_iterator): add -> operator
12798 * paragraph.[Ch] (autoDeleteInsets): remove member function
12800 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12801 cursor pos correctly and handle inset deletion by itself.
12802 (insertErrors): move iterator declaration out of for expression
12804 * lyxtextclass.C: add <algorithm>
12806 * Makefile.am: added the new files to sources, removed layout.C
12808 * layout.C: removed file
12810 * layout.h: remove LYX_DUMMY_LAYOUT
12812 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12816 * lyxtextclass.[Ch]:
12817 * lyxtextclasslist.[Ch]: new files
12819 * include order changes to a lot of files, also changes because of
12822 2001-12-27 Juergen Vigna <jug@sad.it>
12824 * buffer.C (asciiParagraph): more fixes.
12826 * tabular.C (ascii): make ascii export support export of only the
12827 data separated by a column-delimiter.
12828 (ascii): better support for ascii export.
12830 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12832 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12834 * tabular_funcs.C: use a "using std::getline" instead of the
12835 previous fix from Angus (necessary for cxx + lyxstring)
12837 2001-12-24 Juergen Vigna <jug@sad.it>
12839 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12841 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12842 problems. First check a minipage also if we have some ert-contents
12843 (not only on par->size(), second set the right depth of the paragraph
12844 on the relink to the root-paragraph-list!
12846 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12847 which then did not anymore update the main paragraphs on undo/redo!
12849 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12851 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12852 code. Support all font-changing funcs (even those which are not in
12853 menu currently). Support for reporting font settings in
12854 mathed (disabled until Andre provides a function on mathed's side).
12856 * func_status.h (toggle): small helper function to set toggle
12859 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12861 * tabular_funcs.C: getline -> std::getline
12863 2001-12-21 Juergen Vigna <jug@sad.it>
12865 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12866 accessed and could be 0 (I couldn't generate this but it seems
12869 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12871 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12872 * tabular_funcs.h: here and include iosfwd
12874 2001-12-20 Juergen Vigna <jug@sad.it>
12876 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12877 inside inset but undo_par was.
12879 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12881 * Thesaurus.C: always include <config.h> in sources.
12885 * box.h: do not include <config.h> in header files
12887 * text.C (paintLastRow): remove unused variable
12889 * text.C (transformChar):
12891 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12893 * Painter.C (text):
12894 * font.C (width): rewrite to use uppercase() instead of
12897 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12899 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12901 * lyxfind.C: clean up of find failure position change
12903 2001-12-20 Juergen Vigna <jug@sad.it>
12905 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12907 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12908 (TeXRow): added to LaTeX a single tabular row.
12909 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12910 (Latex): simplified and finally good LT-h/f support.
12911 (various_functions): just small adaptions for LT-h/f support.
12913 * tabular_funcs.[hC]: added and moved here all not classfunctions
12916 2001-12-19 Juergen Vigna <jug@sad.it>
12918 * tabular.[Ch]: better support for longtabular options (not finished
12921 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12923 * text.C (paintLastRow): use the label font instead of the font of
12924 the last character to compute the size of *_BOX. This makes more
12925 sense and avoids a crash with empty paragraphs.
12926 Use Painter::rectangle to draw EMPTY_BOX.
12928 2001-12-19 Juergen Vigna <jug@sad.it>
12930 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12931 the paragraphs if the replaced paragraph is not the first one!
12932 Tried to delete not used paragraphs but does not work yet so for
12933 now it's inside #ifdef's and by default off!
12935 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12937 * MenuBackend.C: include "lyx_main.h" instead of declaring
12938 lastfiles (actually was declared as LastFiles* instead of a
12941 2001-12-17 Juergen Vigna <jug@sad.it>
12943 * tabular.C (AppendColumn): applied John's fix
12945 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12949 * BufferView_pimpl.h:
12950 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12953 * box.h: new start of class for above
12955 * lyxfunc.C: ignore space-only minibuffer dispatches.
12956 Show the command name when it doesn't exist
12958 * minibuffer.C: don't add empty lines to the history
12960 * minibuffer.C: add a space on dropdown completion
12962 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12964 * text.C: fix line above/below drawing in insets
12966 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12968 * lyxlength.C (LyXLength): Initialize private variables.
12970 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12972 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12973 when inserting error insets.
12975 2001-12-13 Juergen Vigna <jug@sad.it>
12977 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12978 actually sometimes the before-paragraph.
12979 (setUndo): don't clear the redostack if we're not actually undoing!
12981 2001-12-06 Juergen Vigna <jug@sad.it>
12983 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12984 and fixed redoing of main paragraph, so we can use it now ;)
12986 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12988 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12990 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12993 2001-12-13 André Pönitz <poenitz@gmx.net>
12996 * undo_func.C: minor cleanup
12998 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13000 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13001 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13002 font in urw-fonts package which is marked as -urw-fontspecific and
13003 does not work (incidentally, changing the encoding in the
13004 fonts.dir of this package to -adobe-fontspecific fixes the
13007 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13008 is a crash when undoing first paragraph (Juergen, please take a
13009 look). THis does not mean the undo fix is wrong, just that it
13012 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13013 the (Paragraph*) version when needed instead of duplicating the
13016 * text.C (workWidth): use Inset::parOwner to find out where the
13017 inset has been inserted. This is a huge performance gain for large
13018 documents with lots of insets. If Inset::parOwner is not set, fall
13019 back on the brute force method
13021 * paragraph_pimpl.C (insertInset):
13022 * paragraph.C (Paragraph):
13023 (cutIntoMinibuffer): set parOwner of insets when
13024 inserting/removing them
13026 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13028 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13034 * mathed/formulabase.C:
13035 * mathed/math_cursor.[Ch]:
13036 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13039 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * lyxlength.[Ch] (operator!=): new function
13043 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13045 * text.C (workWidth): use Inset::parOwner to find out where the
13046 inset has been inserted. This is a huge performance gain for large
13047 documents with lots of insets. If Inset::parOwner is not set, fall
13048 back on the brute force method
13050 * paragraph_pimpl.C (insertInset):
13051 * paragraph.C (Paragraph):
13052 (cutIntoMinibuffer): set parOwner of insets when
13053 inserting/removing them
13055 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13057 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13059 * tabular-old.C (getTokenValue):
13060 * tabular.C (getTokenValue):
13061 (write_attribute): new versions for LyXLength
13062 (everywhere): adjust the use of widths
13064 * tabular.h: change the type of widths from string to LyXLength
13066 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13068 * paragraph.C: fixed missing line number count when exporting
13069 Environments to LaTeX file
13071 * buffer.C: added informational message for checking line numbers.
13073 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13075 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13076 paragraph, do the 'double space' part, but not the 'empty
13079 * text.C (workWidth): small optimization
13080 (getLengthMarkerHeight): use minimal size for negative lengths.
13082 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13084 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13086 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13088 2001-12-11 André Pönitz <poenitz@gmx.net>
13091 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13093 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13095 * text2.C: keep selection on a setFont()
13097 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13099 * lyx_cb.C: another bv->text misuse, from insert label
13101 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13104 * kbsequence.C: re-instate nmodifier mask
13106 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13108 * lyx_main.h: make lyxGUI private.
13110 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13112 * lyxfind.C: place the cursor correctly on failed search
13114 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13116 * text.C (getLengthMarkerHeight): for small heights, the arrows
13117 are not always on top/bottom of the text
13118 (drawLengthMarker): smaller arrows; take the left margin in
13119 account; draw also vfills.
13121 (paintLastRow): remove special code for vfill and standard spaces,
13122 since everything is handled in drawLengthMarker now.
13124 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13126 * buffer.C (insertErtContents): try to handle font and language
13127 interaction a bit better.g
13129 * ColorHandler.C (updateColor): change the hash to cover the whole
13130 LColor enum, ws cleanup
13131 (getGCLinepars): ditto
13132 (getGCLinepars): only lookup in the linecache once.
13134 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13136 * iterators.C (operator++): Make the iterator more robust
13138 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13140 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13142 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13145 * text.C: better added space drawing
13147 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13150 * BufferView2.C: fix layout combo update on inset unlock
13152 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13154 * Makefile.am: don't compile unused files
13156 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13160 * LyXAction.C: remove old LFUN_LAYOUTNO
13162 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13164 * paragraph_pimpl.h:
13165 * paragraph_pimpl.C: isTextAt() doesn't need font param
13167 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13170 * lyxlex.C: little cleanup
13172 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13174 * BufferView_pimpl.C: fix insertAscii for insets
13176 2001-12-05 Juergen Vigna <jug@sad.it>
13178 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13179 set the right font on the "multi" paragraph paste!
13181 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13187 * lyxlength.C: remove out-commented code.
13189 * BufferView_pimpl:
13203 * vc-backend.C: change "while(" to "while ("
13205 * lyxlength.[Ch]: add zero function to check if length is zero or
13207 * lyxgluelength.C: use it
13209 2001-12-05 Allan Rae <rae@lyx.org>
13211 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13212 Works for 2.95.3, from what I understand of Garst's reports this should
13213 work for other g++ versions. We're screwed if the abs(int) definition
13214 changed between bugfix releases of gcc.
13216 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13218 * text.C: fix chapter label offset !
13220 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13223 * text.C: fix hfill at end of line, clean up
13225 2001-12-04 Juergen Vigna <jug@sad.it>
13227 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13228 that we force an update of the inset and it's owners if neccessary.
13230 2001-12-03 Juergen Vigna <jug@sad.it>
13232 * text.C (rowLast): simplified code
13234 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13236 * lyxfunc.C: fix show options on timeout
13238 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13240 * screen.C (topCursorVisible): scroll half a page when the cursor
13241 reached top of bottom of screen
13243 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13245 * minibuffer.C: deactivate on loss of focus
13247 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13249 * vspace.[Ch] (operator!=): add operator.
13251 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13253 * BufferView_pimpl.C: refuse to open an inset when
13254 there's a selection.
13256 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13258 * BufferView_pimpl.C: allow to click on RHS of full row insets
13260 2001-11-30 Juergen Vigna <jug@sad.it>
13262 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13263 insets for undo reasons.
13265 2001-11-28 André Pönitz <poenitz@gmx.net>
13267 * vspace.[Ch]: cosmetical changes
13269 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13279 * kbsequence.C: part re-write of old kb code
13282 * WorkArea.C: remove Lgb_bug_find_hack
13284 2001-11-30 José Matos <jamatos@fep.up.pt>
13286 * buffer.C (makeDocBookFile): add a comment to point a hack.
13287 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13288 Fixed a double write of labels.
13290 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13293 * LaTeX.h Fixed bug in LaTeX class where it would not
13294 re-run latex if no depfiles were changed, but the .dvi was removed.
13296 2001-11-28 André Pönitz <poenitz@gmx.net>
13298 * all the files from the change on 2001/11/26:
13299 use lyx::layout_type instead of LyXTextClass::size_type
13300 use lyx::textclass_type instead of LyXTextClassList::size_type
13302 2001-11-29 Juergen Vigna <jug@sad.it>
13304 * text.C: added support for paragraph::isFreeSpacing()
13306 * buffer.C: same as above
13308 * paragraph.h: inserted isFreeSpacing() function to enable
13309 FreeSpacing inside InsetERT.
13311 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13312 of the paragraph's in the cut/copy buffer to 0!
13314 * text2.C (removeRow): remove the assert as it can!
13316 * lyxtext.h: added helper function firstRow returning firstrow and
13317 made firstrow private again.
13319 * BufferView2.C (lockInset): don't relock if we're already locked!
13321 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13322 the only paragraph.
13323 (removeRow): added Assert::(firstrow)
13325 * debug.C: forgot to add INSETTEXT here.
13327 2001-11-28 Juergen Vigna <jug@sad.it>
13329 * sp_spell.C (initialize): changed error text to more general
13330 spellchecker command use (not only ispell!)
13332 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13334 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13336 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13338 * vspace.C: initialise lyxgluelength on failure
13340 2001-11-28 Allan Rae <rae@lyx.org>
13342 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13343 declaration & definition that looks like a function declaration.
13345 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13347 * BufferView2.C (copy):
13348 (copyEnvironment): do not clear the selection when doing a copy.
13350 * text.C (paintFirstRow): compilation fix
13352 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13354 * tabular.C (Latex): correct line count when writing latex.
13356 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13358 * paragraph_pimpl.h:
13359 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13362 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13366 * LColor.C: change vfillline->added_space
13368 * text.C: add markers and text for added space
13370 * vspace.C: fix comment
13372 2001-11-28 André Pönitz <poenitz@gmx.net>
13374 * paragraph.C: whitespace changes
13375 * all the other files from the change on 2001/11/26:
13376 change *::pos_type into lyx::pos_type
13378 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13380 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13381 language of the document when inserting error insets.
13383 2001-11-26 André Pönitz <poenitz@gmx.net>
13385 * BufferView_pimpl.[Ch]:
13393 * paragraph_pimpl.[Ch]:
13396 * text2.C: reduce header dependencies, introduce type for positions
13398 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13400 * <various>: change to use Alert.h
13402 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13404 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13405 when encountering an unknown token.
13406 (readLyXformat2): Show an error message if there were unknown tokens.
13408 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13411 * BufferView_pimpl.C:
13415 * text2.C: use par->isInset()
13417 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13419 * paragraph_pimpl.h:
13420 * paragraph_pimpl.C: cleanup
13422 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * text2.C (removeRow):
13425 * text.C (setHeightOfRow): remove useless (and costly) call to
13428 2001-11-20 Allan Rae <rae@lyx.org>
13430 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13431 Now need Inset*::checkInsertChar() to return true for appropriate
13432 cases so that the characters in the minibuffer will actually be
13435 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13437 * text.C: change the order of the includes.
13438 (workWidth): initialize it at once.
13439 (workWidth): make maxw unsigned
13440 (setHeightOfRow): remove unused variable (inset)
13441 (selectSelectedWord): remove unused variable (inset)
13442 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13444 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13446 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13447 server is not running.
13449 (closeConnection): add debug info when server is disabled.
13451 * ColorHandler.C (getGCForeground): send debug message to GUI
13454 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13456 * kbmap.C (bind): modify because return conventions of
13457 kb_sequence::parse have changed.
13459 * kbsequence.C (parse): only ignore spaces and not any stupid
13460 control character. This avoids tests like s[i] <= ' ', which are
13461 guaranteed to fail with 8bit characters and signed chars.
13462 Change return code to string::npos when there have been no error
13463 (0 was a bad idea when error is at first character)
13465 2001-11-14 José Matos <jamatos@fep.up.pt>
13468 * buffer.C (simpleDocBookOnePar): removed unused argument.
13470 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13473 insets which are part of a word. Paragraph::isLetter takes care of
13474 that now. Use Paragraph::isInset to identify insets.
13475 (selectSelectedWord): do not test for hyphenation break.
13477 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13478 that protected spaces are considered as spaces.
13480 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13483 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13486 * lyxserver.C: fix it. and small cleanup.
13488 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13490 * BufferView_pimpl.C: use inline helpers
13493 * LaTeXFeatures.C: fix typos
13496 * Spacing.C: move spacing_string into class
13498 * ToolbarDefaults.C: move stuff into namespace anon
13500 * layout.h: update enum
13502 * lyxfunc.C: use better debug
13504 * minibuffer.h: fix typo
13508 * WorkArea.C: add and use Debug::WORKAREA
13512 * text2.C: code re-organisation, inline helpers
13514 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13516 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13517 std::vector.empty().
13519 2001-11-09 Allan Rae <rae@lyx.org>
13521 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13522 '\n's after tables. Tabular and ERT inset work now makes this no
13525 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13528 * minibuffer.C: fix crash, improve drop-down completion
13530 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13533 * lyxserver.C: invalidate fd's when doing endPipe()
13535 2001-11-08 José Matos <jamatos@fep.up.pt>
13537 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13538 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13541 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13543 2001-11-07 José Matos <jamatos@fep.up.pt>
13546 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13549 * buffer.C (sgmlOpenTag):
13550 * buffer.C (sgmlCloseTag): removed debug info.
13552 * buffer.h (sgmlOpenTag):
13553 * buffer.h (sgmlCloseTag): made public.
13555 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * buffer.C (saveParamsAsDefaults):
13558 * lyx_cb.C (MenuLayoutSave): remove
13560 * LyXAction.C (init):
13562 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13564 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13566 * buffer.C (setPaperStuff): removed from here...
13568 * bufferparams.C (setPaperStuff): ... and moved there.
13570 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13574 * XFormsView.C: add support for drop-down completion
13576 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13578 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13581 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13583 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13586 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13588 * lyx_main.C: change ref to known bugs
13590 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13592 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13593 to work around older babel problems.
13595 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13597 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13599 2001-10-24 Juergen Vigna <jug@sad.it>
13601 * tabular-old.C (ReadOld): below variable changes reflected.
13603 * tabular.[Ch]: added ltType struct for longtable header/footer
13604 defines and changed all instances where they are used. Added
13605 future support for double top/bottom rows.
13607 2001-10-24 José Matos <jamatos@fep.up.pt>
13609 * buffer.h (docbookHandleCaption):
13610 * buffer.C (docbookHandleCaption): removed unused function.
13611 (makeDocBookFile): moved docbook supported version to v4.1.
13613 2001-10-24 José Matos <jamatos@fep.up.pt>
13616 * tabular.C (docbookRow): new function to export docbook code of a row.
13617 (DocBook): now honors the longtable flags.
13619 2001-10-23 José Matos <jamatos@fep.up.pt>
13622 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13623 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13625 * buffer.C (makeLinuxDocFile):
13626 (makeDocBookFile): reworked the preamble, more clean, and with
13627 support for lyx defined entities. Changed the document declaration
13628 to be more XML friendly.
13630 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13631 if we need to output XML that should be done with a filter.
13633 2001-10-22 Juergen Vigna <jug@sad.it>
13635 * sp_pspell.h (class PSpell): add alive function needed in the
13636 controller to see if the spellchecker could be started.
13638 2001-10-22 Juergen Vigna <jug@sad.it>
13640 * buffer.C (insertStringAsLines): modify the font for inserting
13641 chars in certain conditions by calling checkInsertChar(font).
13643 2001-10-19 Juergen Vigna <jug@sad.it>
13645 * text.C (workWidth): use getRow instead of wrong algorithm.
13646 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13648 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13653 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13655 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * text.C (workWidth): do not search for the exact row when
13658 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13659 optimization for big documents.
13661 2001-10-18 Juergen Vigna <jug@sad.it>
13663 * text.C (workWidth): new function with added Inset * parameter.
13665 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13669 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13670 change return type of getColumnNearX.
13673 * text.C (changeRegionCase): use uppercase/lowercase instead of
13676 (rightMargin): simplify code by factoring out the uses of
13681 (appendParagraph): use Paragraph::size_type
13683 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13685 * vspace.C (asLatexString): add a missing break
13687 2001-10-15 Herbert Voss <voss@perce.de>
13689 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13691 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13696 2001-10-10 André Pönitz <poenitz@gmx.net>
13698 * lyxfunc.C: removed greek_kb_flag.
13700 2001-10-10 Herbert Voss <voss@perce.de>
13702 * lyx_main.C: delete global string help_lyxdir.
13704 2001-10-09 Herbert Voss <voss@perce.de>
13706 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13708 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13710 * lyx_main.C: added global string help_lyxdir.
13712 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13714 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13716 * lyxrc.C (set_font_norm_type): support iso8859-4
13718 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13720 * LaTeX.C (deplog): add another regex for MikTeX
13722 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13724 * lyxrc.C (set_font_norm_type): support iso8859-3
13726 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13730 * LaTeXFeatures.C: remove special case of french and index
13732 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13733 before \begin{document}). This solves several incompatibilities.
13735 2001-10-03 Garst Reese <reese@isn.net>
13737 * lyx_cb.C: change CheckTex error msg.
13739 2001-10-03 José Matos <jamatos@fep.up.pt>
13741 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13743 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13745 * .cvsignore: update
13747 * lyx_main.C (commandLineVersionInfo): use new style version info.
13749 * buffer.C (writeFile):
13751 (makeLinuxDocFile):
13752 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13754 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13756 * version.h: update to use stuff in version.C
13758 * version.C.in: new file. Contains version information determined
13759 at compile time. This is a merging of version.h and
13762 2001-10-03 Juergen Vigna <jug@sad.it>
13764 * BufferView_pimpl.C (update): don't change "dirty" status in
13767 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13769 * WorkArea.C (c-tor): re-position version string slightly.
13771 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13773 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13774 revert to previous code.
13776 WorkArea.[Ch]: (show, destroySplash): methods removed.
13778 WorkArea.C: rework code so that it's an amalgam of the codes before and
13779 after the splash screen was moved to WorkArea.
13781 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13784 * vspace.C (inPixels):
13787 * buffer.C (insertStringAsLines):
13788 (asciiParagraph): fix types to be large enough
13790 * lyxlex_pimpl.h: change member status from short to int
13792 * layout.h: fix type of endlabeltype
13795 * kbsequence.C (parse): change return type to string::size_type
13797 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13800 * Bullet.C (bulletSize):
13801 (bulletEntry): do not use short ints as parameters
13803 * BufferView2.C (insertLyXFile): change a char to an int.
13805 * WorkArea.C (WorkArea): remove unneeded floats in computation
13807 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13809 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13811 * paragraph.C (asString): Do not ignore newline/hfill chars when
13812 copying to the clipboard.
13814 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13816 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13817 after a multi-line inset.
13819 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13821 * paragraph.C (validate): Set NeedLyXFootnoteCode
13823 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13825 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13826 and decrease-error to decrease.
13828 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13830 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13831 it more readable (should be equivalent)
13833 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13835 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13837 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13839 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13840 of a cursor (row, etc.) after a character has been deleted
13841 (deleteEmptyParagraphMechanism): call the method above on _all_
13842 cursors held by the LyXText when a double space has been
13845 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13847 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13849 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13851 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13852 background. Use greyOut() and the new show() methods to toggle between
13853 the foreground and background. Add code to remove the splash after
13854 its initial showing.
13856 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13857 (create_forms): no longer call Dialogs::showSplash.
13859 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * .cvsignore: add version_info.h
13863 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13865 * version_info.h.in: new file
13867 * Makefile.am: add version_info.h.in
13869 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13870 version_info.h instead of VERSION_INFO
13872 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13874 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13875 The ERT inset now returns string().
13877 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13879 * lyxtext.h, text.C (selectNextWord): renamed as
13880 selectNextWordToSpellcheck.
13882 * text.C (selectNextWordToSpellcheck): Modified to not select
13883 words inside an ERT inset.
13885 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * lyx_cb.C (MenuLayoutSave): change a bit the question
13889 * sp_base.h: include <sys/types.h>
13891 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13893 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13895 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13897 * several files: fix typos in user-visible strings
13899 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13901 * text2.C (pasteSelection): do not set the selection, since it
13902 will be cleared later. Actually, the intent was to fix the way the
13903 selection was set, but I figured rmoving the code was just as good.
13905 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13907 * FontLoader.C (available): Check if font is available without
13910 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13912 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13914 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13916 * lyxrc.[Ch]: added display_graphics variable and associated code.
13918 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * bufferparams.C (hasClassDefaults): new method. Returns true if
13921 the buffer parameters correspond to known class defaults
13923 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13925 * XFormsView.C (show): set minimum size to the main window.
13927 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * text2.C (copySelection):
13931 * lyxfind.C (LyXReplace):
13932 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13933 LyXText::selectionAsString.
13935 * paragraph.C (asString): add "label" argument to the second form
13937 * text2.C (selectionAsString): add "label" argument and pass it to
13938 Paragraph::asString.
13940 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13942 * lyx_main.C (commandLineHelp): remove version information
13944 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13946 * lyx_main.C: add -version commandline option
13948 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13950 * paragraph.h: make the optional constructor arg required instead.
13951 some modifications to other files because of this.
13953 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13955 * lyxserver.C (C_LyXComm_callback): make it static
13957 * lyx_main.C (error_handler): make it static
13959 * lyx_gui.C (LyX_XErrHandler): make it static
13961 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13963 * WorkArea.C: make the extern "C" methods static.
13965 * Makefile.am (lyx_LDADD): simplify
13967 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13969 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13970 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13972 * LyXAction.C (init):
13973 * lyxfunc.C (dispatch): associated code removal.
13975 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13977 * lyxfont.h (isSymbolFont): shut off warning
13979 * text.C (setHeightOfRow):
13980 (getVisibleRow): fix crash with empty paragraphs which have a
13983 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13985 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13988 2001-09-04 José Matos <jamatos@fep.up.pt>
13991 * tabular.C (docbook): rename docBook method to docbook.
13993 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13995 * Makefile.am: add dependencies to main.o.
13997 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13999 * FontLoader.C (available): Return false if !lyxrc.use_gui
14001 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14003 * FontInfo.C (query):
14004 * converter.C (view):
14005 * importer.C (Import):
14006 * exporter.C (Export): Can not -> cannot.
14008 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14010 * BufferView_pimpl.C: allow to create index inset even if
14013 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14015 * buffer.C (getLists): replace boost::tie code with an explicit pair
14016 as boost::tie can break some compilers.
14018 * iterators.h: Added a std:: declaration to the return type of
14021 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14023 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14026 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14028 * iterators.[Ch]: New files. Provide paragraph iterators.
14030 * buffer.C (changeLanguage): Use paragraph iterators.
14031 (isMultiLingual): ditto
14033 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14035 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14037 * FontLoader.C: Support for cmr font.
14039 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14041 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14042 (available): New method.
14044 * FontInfo.C (getFontname): Use scalable fonts even when
14045 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14048 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14050 * converter.C (Formats::view): reverted! Incorrect fix.
14052 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14054 * converter.C (Formats::view): only output the -paper option
14055 if the dvi viewer is xdvi, thereby fixing bug #233429.
14057 2001-08-23 Herbert Voss <voss@perce>
14059 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14061 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14063 * Spacing.h (Spacing): Set space to Default on in the default
14066 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14068 * vc-backend.h (RCS::versionString): add RCS to version
14069 (CVS::versionString): add CVS to version
14071 * vc-backend.C (scanMaster): do not add CVS to version.
14072 (scanMaster): do not add RCS to version
14074 * lyxvc.C (versionString): new method
14076 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14078 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14080 * Spacing.C (set): initialize fval
14082 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14084 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14087 2001-08-16 Juergen Vigna <jug@sad.it>
14089 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14091 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14093 * BufferView_pimpl.C:
14096 * text2.C: setParagraph takes linespacing now
14098 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14100 * LyxAction.C: add internal LFUN_CITATION_INSERT
14102 * LyXView.C: actually apply fix
14104 * bufferlist.C: fix open non-existent file
14106 * lyxfind.C: fix indentation
14108 * lyxfunc.C: remove unneeded assert, fix typo
14110 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14112 * MenuBackend.C: use "Floatname List"
14114 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14116 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14117 when converting LaTeX layout to insetERT.
14118 Generate a non-collapsed float when reading old float
14120 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14122 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14125 2001-08-13 Juergen Vigna <jug@sad.it>
14127 * text.C (fill): return 0 instead of 20 as this seems to be the more
14130 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14132 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14135 2001-08-13 Juergen Vigna <jug@sad.it>
14137 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14139 (SearchBackward): comment out the unlocking of the inset_owner this
14140 should not be needed!
14142 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14144 * Many files: Remove inherit_language, and add latex_language
14146 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14147 collapsible insets.
14149 2001-08-10 Juergen Vigna <jug@sad.it>
14151 * text.C (prepareToPrint): fixed hfill-width in draw!
14153 * BufferView2.C (selectLastWord): save the selection cursor as this
14154 now is cleared in the function LyXText::clearSelection!
14156 2001-08-08 Juergen Vigna <jug@sad.it>
14158 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14159 BACKSPACE type functions.
14161 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14162 is only cutted from the document but not put in the cut-buffer, where
14163 still the old stuff should be.
14165 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14167 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14169 * tabular.C (SetWidthOfCell): fixed special case where the width
14171 (LeftLine): handle '|' in align_special.
14173 (LeftAlreadyDrawed): ditto
14174 (SetWidthOfCell): ditto
14176 2001-08-07 Juergen Vigna <jug@sad.it>
14178 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14180 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14183 * lyxlex.[hC]: ditto
14185 2001-08-06 Juergen Vigna <jug@sad.it>
14187 * text.C (getVisibleRow): fix up row clearing a bit.
14189 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * minibuffer.C: make sure the X server sees the changes in the input.
14193 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * paragraph.C (getFont): split into...
14196 (getLabelFont): this
14197 (getLayoutFont): and this
14198 * paragraph_pimpl.C (realizeFont): calling this
14200 * text2.C (getFont): split into...
14201 (getLayoutFont): this
14202 (getLabelFont): and this
14203 (realizeFont): all three calling this
14205 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14208 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14210 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14212 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14214 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14215 layouts from the Quote inset insertion.
14217 2001-08-03 Juergen Vigna <jug@sad.it>
14219 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14221 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14222 only if status not is already CHANGED_IN_DRAW (second level).
14224 * text.C (draw): don't set the need_break_row when inside an
14227 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * buffer.C (parseSingleLyXformat2Token): handle more latex
14232 * bufferview_funcs.[hC]: change function names to
14233 begin with small char, adjust other files.
14235 2001-08-02 André Pönitz <poenitz@gmx.net>
14238 BufferView_pimpl.C: remove broken special code for math-greek
14240 2001-08-02 Juergen Vigna <jug@sad.it>
14242 * BufferView_pimpl.C (update): redone this function so that we
14243 update the text again if there was a CHANGE_IN_DRAW.
14245 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14246 (drawFromTo): added a new internal bool which is used by draw() and
14248 (general): some cursor drawing problems fixed.
14250 2001-08-01 Juergen Vigna <jug@sad.it>
14252 * lyxfind.C (LyXFind): fixed
14253 (SearchForward): ditto
14254 (SearchBackward): ditto
14256 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14257 spurius drawing of the cursor in the main area.
14259 * text2.C (status): small fix which could lead to a segfault!
14260 (clearSelection): remove unneeded BufferView param.
14262 2001-08-01 André Pönitz <poenitz@gmx.net>
14264 * lyxfunc.C: small change due to changed mathed interface
14266 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14268 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14270 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14272 * lyxfunc.c: fail gracefully if file doesn't exist
14277 * BufferView_pimpl.C: IsDirWriteable() proto changed
14279 * LyXView.C: fix updateWindowTitle() to store the last title
14281 2001-07-31 Juergen Vigna <jug@sad.it>
14283 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14284 the font (wrong since using of Paragraph::highestFontInRange).
14286 * paragraph.C (highestFontInRange): added a default_size parameter.
14288 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14289 (setHeightOfRow): reformat
14291 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * converter.[hC] + affected files: move to (inital-char)lowercase
14296 * ParagraphParameters.C (ParagraphParameters): remove commented code
14298 * PainterBase.[Ch]: remove commented code
14300 * LaTeXFeatures.h: add "bool floats" for float.sty
14302 * LaTeXFeatures.C (LaTeXFeatures): init floats
14303 (require): handle float
14304 (getPackages): do it with floats
14306 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * BufferView_pimpl.C (Dispatch): improve handling of
14309 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14311 * commandtags.h: #include lyxfont.h here temporarily to avoid
14314 * bufferlist.h: include LString.h here.
14316 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * text2.C (getStringToIndex): new method.
14320 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14322 * *: Reduced header file dependencies all over.
14324 2001-07-30 Baruch Even <baruch@lyx.org>
14326 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14328 2001-07-29 Baruch Even <baruch@lyx.org>
14330 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14332 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14334 * ParameterStruct.h (endif): add a default constructor to make
14335 sure that all variables is initialized.
14337 * ParagraphParameters.C (ParagraphParameters): adjust
14339 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14341 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14342 index; also, check that there is something to index, and that it
14343 does not span over several paragraphs.
14344 (doubleClick): use WHOLE_WORD_STRICT for double click.
14346 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14348 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14351 2001-07-26 Baruch Even <baruch@lyx.org>
14353 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14354 an InsetFig figure, backwards compatible reading of old figure code.
14356 2001-07-27 Juergen Vigna <jug@sad.it>
14358 * text2.C: font.realize function adaption.
14360 * text.C (draw): add a warnings lyxerr text if needed.
14362 * layout.C: font.realize function adaption.
14364 * language.C: add inherit_language and implement it's handlings
14366 * bufferview_funcs.C (StyleReset): remove language parameter from
14367 font creation (should be language_inherit now).
14369 * bufferparams.C (writeFile): handle ignore_language.
14371 * paragraph.C (getFontSettings): the language has to be resolved
14372 otherwise we have problems in LyXFont!
14374 * lyxfont.C (lyxWriteChanges): added document_language parameter
14375 (update): removed unneeded language parameter
14377 * paragraph.C (validate): fixed wrong output of color-package when
14378 using interface colors for certain fonts in certain environments,
14379 which should not seen as that on the final output.
14381 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14383 * BufferView_pimpl.C:
14388 * LyXAction.C: add thesaurus support
14391 * lyxfind.C: add "once" parameter, for thesaurus, to not
14392 move to the next match
14394 2001-07-26 Juergen Vigna <jug@sad.it>
14396 * lyxfont.C (realize): honor ignore_language too!
14399 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14401 * text.C (draw): one place more for ignore_language to not draw
14404 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14406 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14408 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14411 the minipage conversion problem.
14413 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14418 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * BufferView.h: don't forward declare WorkArea
14422 * BufferView.C: don't include WorkArea.h
14424 2001-07-25 André Pönitz <poenitz@gmx.net>
14428 * lyxfunc.C: new LFUN 'math-space'
14430 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14432 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * text2.C (toggleInset): call open/close
14436 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * lyxfunc.C (dispatch): add debug for the disabled case
14440 * font.C (buttonText): make similar to rectText
14442 * buffer.C (readInset): comment out parsing of insetlist and
14445 * PainterBase.C (rectText): small correction
14447 * BufferView_pimpl.C: comment out insettheorem and insetlist
14448 * LyXAction.C: ditto
14449 * commandtags.h: ditto
14451 2001-07-24 Juergen Vigna <jug@sad.it>
14453 * text.C (draw): honor the ignore_language.
14455 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14457 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14459 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14462 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14464 * lyxtext.h: remove unused (and unimplemented) methods
14466 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14468 * text.C (getVisibleRow): honor background color
14471 * Painter.h: remove default color argument for fillRectangle
14473 * text.C (backgroundColor): new method
14475 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14477 * text.C (getVisibleRow): adjust
14479 * font.[Ch] (rectText): new method, metrics
14480 (buttonText): new method, metrics
14482 * PainterBase.[hC]: make rectText and buttonText always draw and take
14485 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14487 * ToolbarDefaults.C (read):
14488 * MenuBackend.C (read): allow escaping in all strings
14490 * BufferView_pimpl.C (insertAndEditInset): new method.
14491 (Dispatch): use insertAndEditInset whenever appropriate.
14493 * BufferView_pimpl.C (insertNote): removed
14495 * BufferView_pimpl.C (smartQuote): new method, moved from
14496 BufferView; if an insetquote cannot be inserted, insert a '"'
14499 * BufferView2.C: remove insertCorrectQuote();
14501 * lyxfunc.C (getStatus): Add support for all remaingin
14502 inset-insert lfuns.
14504 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14506 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14507 command (necessary to pass " as parameter of self-insert.
14509 * text.C (selectWordWhenUnderCursor):
14510 (selectWord): add word_location parameter
14511 (selectWordWhenUnderCursor): same + remove special code for word
14513 (selectNextWord): use kind() to guess type of insetspecialchar,
14516 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14517 (insertErtContents): create ert insets as collapsed.
14518 (readInset): better compatibility code for Info inset.
14520 2001-07-20 Juergen Vigna <jug@sad.it>
14522 * lyxfunc.C (dispatch): use always LyXFind now!
14524 * text2.C (init): add a reinit flag so that the LyXText can be
14525 reinited instead of deleted and reallocated (used in InsetText).
14527 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14533 2001-07-18 Juergen Vigna <jug@sad.it>
14535 * text.C (selectNextWord): handle insets inside inset by calling
14536 always the bv->text functions so that we can go up the_locking_inset!
14538 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14539 in strange locations when inside an inset!
14541 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14542 handling to include insets.
14544 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14546 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * LyXAction.C (init):
14550 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14551 LIGATURE_BREAK, since the name is so stupid.
14553 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14555 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14558 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14560 * sp_form.[Ch]: remove.
14562 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14564 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14567 * src/buffer.C (readInset): ditto.
14569 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14571 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14572 menuSeparator(), endOfSentenceDot(), ldots() and
14573 hyphenationPoint(), which are therefore removed.
14574 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14576 * LyXAction.C (init):
14577 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14579 * paragraph.C (getWord): removed.
14581 * BufferView_pimpl.C (Dispatch): use last word or selection for
14582 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14584 * lyx_main.C (queryUserLyXDir): do not ask before creating
14585 user_dir, except if it has been named explicitely.
14587 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14589 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14590 a document of zero size.
14592 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14594 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14595 approriately in the c-tor and in require().
14596 (getPackages): output the appropriate LaTeX for natbib support.
14598 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14599 variables "use_natbib" and "use_numerical_citations" when reading the
14601 (readInset): read the various natbib cite commands.
14602 (validate): white-space change.
14604 * bufferparams.[Ch]: new variables "bool use_natbib" and
14605 "bool use_numerical_citations".
14606 (writeFile): output them in the LyX file.
14608 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14610 * lyxfunc.C (getStatus): add support for all the inset insertion
14613 * text2.C (insertInset):
14614 * paragraph.C (insetAllowed):
14615 * BufferView_pimpl.C (insertInset): update to take in account the
14616 renaming of insertInsetAllowed
14618 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14620 * text2.C (getInset): new method. returns inset at cursor position.
14622 * BufferView_pimpl.C (Dispatch): changes because of this.
14624 * LyXAction.C (init): rename open-stuff to inset-toggle.
14626 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14628 * text2.C (toggleInset): renamed from openStuff; use
14631 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14633 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14635 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14637 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14639 * buffer.C (readLyXformat2): Add filename to the error dialog
14641 2001-07-18 Juergen Vigna <jug@sad.it>
14643 * tabular.C (GetCellNumber): put an assert here instead of the check!
14645 2001-07-17 Juergen Vigna <jug@sad.it>
14647 * BufferView_pimpl.C (toggleSelection): adapted too.
14649 * text.C (selectNextWord): adapted for use with insets.
14650 (selectSelectedWord): ditto
14652 2001-07-17 Juergen Vigna <jug@sad.it>
14654 * sp_spell.C (PSpell): fix initialitation order.
14656 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14658 * paragraph.C: spacing
14660 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14662 * sp_spell.C: repair language selection for pspell
14664 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14666 * lyxfunc.h: change more methods to begin with lower char.
14668 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14670 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14671 for unknown layouts.
14673 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14675 * buffer.C (readLyXformat2): Generate an error dialog if there are
14678 2001-07-16 Juergen Vigna <jug@sad.it>
14680 * sp_spell.C: always compile ISpell part.
14682 * lyxrc.C: added use_pspell entry and it's handling.
14684 2001-07-13 Juergen Vigna <jug@sad.it>
14686 * sp_spell.C: removed double includes.
14688 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14690 Consistent use of Lsstream.h:
14691 * Lsstream.h: added using std::stringstream for consistencies sake.
14693 * buffer.C: removed using std::stringstream
14695 * lyxfont.C (stateText):
14696 * paragraph.C (asString):
14697 * text.C (selectNextWord, selectSelectedWord):
14698 * text2.C (setCounter):
14699 * vspace.C (asString, asLatexString):
14700 std::ostringstream -> ostringstream.
14702 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14704 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14705 * commandtags.h: add LFUN_HELP_ABOUTLYX
14706 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14708 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14710 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14712 * lyx_gui_misc.C: remove spellchecker
14713 * lyxfunc.C: showSpellchecker
14715 * sp_ispell.h: added
14716 * sp_pspell.h: added
14717 * sp_spell.C: added
14718 * sp_form.[Ch]: removed
14719 * spellchecker.[Ch]: removed
14721 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14723 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14725 (simpleTeXSpecialChars): Simply print the input character without
14726 any special translation if pass_thru is set.
14728 * layout.h: Added bool pass_thru to layout class for being able to
14729 implement pass through of a paragraph for Literate Programming.
14731 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14732 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14733 * layout.C (Read): add "passthru" to list of layout tags and add
14734 code to set the pass_thru boolean when it is read.
14736 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * trans_decl.h: remove allowed from KmodInfo
14740 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14741 remove allowed code
14744 * paragraph_pimpl.C (erase): use boost::prior
14746 * Painter.C (text): use data() instead of c_str() when length is
14748 * WorkArea.C (putClipboard): ditto
14749 * font.h (width): ditto
14751 * BufferView2.C: use it-> instead of (*it). for iterators
14753 * paragraph_pimpl.C: ditto
14754 * paragraph.C: ditto
14755 * minibuffer.C: ditto
14756 * language.C: ditto
14758 * encoding.C: ditto
14759 * counters.C: ditto
14760 * converter.C: ditto
14762 * Variables.C: ditto
14763 * TextCache.C: ditto
14764 * MenuBackend.C: ditto
14765 * LyXAction.C: ditto
14767 * FloatList.C: ditto
14768 * DepTable.C: ditto
14769 * ColorHandler.C (LyXColorHandler): ditto
14771 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14773 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14775 * text2.C (openStuff): reintroduce this method (which had been
14776 nuked in NEW_INSETS frenzy).
14778 * lyxfunc.C (Dispatch): when an action has not been handled, use
14779 its name in the error message, not its number.
14781 * paragraph.C (inInset): change method name to begin with lowercase.
14784 * text2.C: updates because of this.
14786 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14788 * ToolbarDefaults.C (add): add spaces in error message
14790 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14793 (readLyXformat2): rename return_par to first_par, use lyxlex's
14794 pushToken and remove the manual push handling.
14795 (parseSingleLyXformat2Token): add another ert comp. variable:
14796 in_tabular, rename return_par to first_par. handle newlines better
14798 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14800 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14802 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14804 * text2.C (getParFromID): removed
14806 * buffer.C (getParFromID): new method moved form lyxtext.
14807 * BufferView2.C (insertErrors): adjust
14808 (setCursorFromRow): adjust
14809 * BufferView_pimpl.C (restorePosition): adjust
14810 * lyxfunc.C (Dispatch): adjust
14811 * undo_funcs.C (textUndo): adjust
14813 (textHandleUndo): adjust
14814 (textHandleUndo): adjust
14816 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * buffer.C: up' the LYX_FORMAT
14820 * lyxfont.h: turn NO_LATEX on as default
14822 * buffer.C (insertErtContents): new methods of tex style compability.
14823 (parseSingleLyXformat2Token): use it several places.
14824 * tabular.C (OldFormatRead): and here
14826 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * text2.C: remove some commented code.
14831 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14832 * trans.C: changes because of the above.
14834 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14836 * text2.C (setCounter): Fix counters bug with bibliography layout.
14838 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14840 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14841 own member functions
14842 (simpleTeXSpecialChars): ditto
14844 2001-07-06 Juergen Vigna <jug@sad.it>
14846 * a lot of files: changed the access to LyXText::status and the
14847 call of undo-functions.
14849 * undo.[Ch]: added a inset_id to the undo informations.
14851 * undo_funcs.[Ch]: added and moved here all undo functions.
14853 * lyxtext.h: give the status enum a weight, made status_ a private
14854 variable and made accessor functions for it, removed the whole bunch
14855 of undo-functions as they are now in their own file, make some
14856 functions publically available. Added function ownerParagraph with
14859 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14860 made InInset() a const function, added getParFromID() function.
14862 * buffer.[Ch]: added const version for inset_iterator functions,
14863 added getInsetFromID() function.
14865 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14866 changed undo functions for new version.
14868 2001-07-05 Juergen Vigna <jug@sad.it>
14870 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14871 unknow mechanism does not call the proper constructor but only this
14872 one also if I request the other!?
14874 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14878 * text2.C (LyXText): use initialization lists.
14880 * lyxtext.h (Selection): initialize set_ and mark_
14881 (init): remove method
14883 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14885 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14887 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * screen.[Ch]: change method names to begin with lowercase
14891 * BufferView_pimpl.C (updateScrollbar): simplify further and
14892 hopefully make it a bit faster.
14894 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14896 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14897 calling directly xforms functions.
14899 * Painter.C (Painter):
14900 * lyx_cb.C (MenuWrite):
14901 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14904 * lyx_gui.C: remove bogus guiruntime extern declaration.
14906 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14908 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14910 (redoDrawingOfParagraph): ditto
14911 (redoParagraphs): ditto
14912 (cutSelection): don't create a object for CutAndPaste use the
14913 static method directly
14914 (pasteSelection): ditto
14916 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14919 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14921 * modifications to some other files because of this.
14923 * Makefile.am (lyx_SOURCES): add XFormsView
14925 * XFormsView.[Ch]: new files
14927 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14928 the main window. Move the gui dependent stuff to XFormsView
14930 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14932 * tabular.C (GetCellInset): update cur_cell also in the row/col
14933 version of this function.
14935 * lyxfunc.C: no need to include figure_form.h here.
14941 * lyxvc.C: no need to include forms.h here.
14943 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14945 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14947 * lyxfunc.C (Dispatch):
14949 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14950 constructor argument.
14952 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * paragraph.C (Paragraph): dont't clear, and just set layout.
14955 (makeSameLayout): use params's copy contructor.
14957 * ParagraphParameters.[Ch] (makeSame): delete method
14959 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14961 * Variables.[Ch]: fix indentation, rename set to isSet
14963 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14965 * lyxfunc.C (Dispatch): fix typo
14967 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14969 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14972 * bufferlist.C: include assert.h for emergencyWrite().
14974 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14976 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14977 give up at last (bug #425202) !
14979 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14985 * spellchecker.C: strip spellchecker options and bring up
14986 preferences tab instead
14988 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14991 the istringstream constructor
14993 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * paragraph.C (getLayout): fix return value
14997 * paragraph.h: do not declare getLayout as inline.
14999 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15001 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * lyxcursor.h (operator<): new func
15004 (operator>): new func
15005 (operator>=): new func
15006 (operator<=): new func
15008 * text.C (changeCase): use selection.start and selection.end
15009 (changeRegionCase): require from to be <= to. Require par to be a
15012 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15014 2001-06-27 Juergen Vigna <jug@sad.it>
15016 * text.C (cursorLeftOneWord): changed to return the cursor and added
15017 overlay with BufferView * parameter which calls this one.
15019 (selectWord): use new getWord function.
15020 (changeCase): renamed from changeWordCase as and extended to work
15021 also on selections.
15023 * lyxtext.h: added enum word_location
15025 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15026 changeCase as this operates now also on selections.
15028 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15030 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15032 * many files: send debug output to Debug::INFO instead of
15035 * converter.C (View):
15037 (Move): send debug output to Debug::FILES instead of console.
15039 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15041 * lyxfunc.C (getStatus): use func_status
15043 * func_status.h: new header, describing the results of
15044 LyXFunc::getStatus;
15046 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15049 2001-06-25 The LyX Project <jug@sad.it>
15051 * buffer.C (sgmlOpenTag):
15053 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15055 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15057 * text2.C: remove some dead code
15059 * tabular.C (GetCellInset): store the last cell checked (gotten)
15061 * tabular.h: add the helper for the speedup
15063 * lyxtext.h: remove some dead code
15065 2001-06-26 The LyX Project <Asger>
15067 * paragraph.C: Change export to LaTeX of alignment to
15068 \begin{center} and family for better roundtrip work with reLyX.
15070 * Tune the math drawing a bit.
15072 2001-06-25 The LyX Project <Asger>
15074 * LColor.C (LColor): New color for math background. New color
15077 2001-06-25 The LyX Project <jug@sad.it>
15079 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15081 * lyxfunc.C (Open):
15082 * bufferlist.C (newFile): do not restrict to files ending with
15085 * BufferView_pimpl.C (MenuInsertLyXFile):
15087 2001-06-24 The LyX Project <jug@sad.it>
15089 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15092 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15094 * lyxtext.h: rename most methods to begin with a small char.
15095 Lots of changes because of this.
15097 * paragraph.C (Paragraph): do not call fitToSize
15098 (erase): call Pimpl::erase
15099 (insertChar): call Pimpl::insertChar
15100 (insertInset): call Pipl::insertInset
15101 (breakParagraph): do not call fitToSize
15102 (breakParagraphConservative): do not call fitToSize
15103 (fitToSize): remove method
15105 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15107 2001-06-24 The LyX Project <Asger>
15109 * Fix Qt compilation^2
15111 2001-06-24 The LyX Project <jug@sad.it>
15113 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15114 depthHook(getDepth()-1).
15117 * ParagraphParameters.h:
15118 * ParameterStruct.h: change type of depth to unsigned int ==
15119 depth_type. Many adaptations to other files before of that.
15121 2001-06-24 The LyX Project <Asger>
15123 * Fix Qt compilation.
15125 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15127 * paragraph.h: renamed several methods to begin with small letter.
15128 several changes to many parts of the code because of this.
15130 2001-06-23 The LyX Project <jug@sad.it>
15132 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15133 rewritten to discard all double spaces when KeepEmpty is off
15134 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15135 to only handle newlines but not fiddle with spaces and friends.
15137 * lyxfunc.C (MenuNew): when doing 'new from template', use
15138 template_path as default directory
15140 2001-06-23 The LyX Project <Asger>
15142 * Clean-up of header file includes all over
15143 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15145 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15147 * paragraph.h: renamed from lyxparagraph.h
15149 2001-06-23 Asger <lyx@violet.home.sad.it>
15151 * Buffer.h: Removed Buffer::resize
15152 * BufferList.h: Removed BufferList::resize
15153 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15154 the document lazily when we change the width, or the font settings.
15156 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15158 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15160 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15162 * buffer.h: remove out of date comment
15164 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15167 * screen.C: fix "theoretical" GC leak
15169 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15171 * LaTeX.C (scanAuxFile):
15172 (deplog): remove trailing \r when reading stream (useful under
15175 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15177 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15178 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15179 and BufferView::theLockingInset(Inset*), so should use them and not
15180 access bv_->text->the_locking_inset directly.
15182 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15184 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15187 * tex-defs.h: remove old unused file
15189 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15191 * BufferView_pimpl.C: fix typo, remove minibuffer message
15192 when buffer has loaded
15194 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15196 * lyxfunc.C (Dispatch): use stringstream
15197 (MenuNew): use stringstream
15198 (Open): use stringstream
15200 * importer.C (Import): use stringstream
15202 * bufferview_funcs.C (CurrentState): use stringstream
15204 * LaTeX.C (run): use stringstream
15206 * BufferView_pimpl.C (savePosition): use stringstream
15207 (restorePosition): use stringstream
15208 (MenuInsertLyXFile): use stringstream
15210 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15223 * vspace.C: removed // -*- C++ -*- as first line.
15226 * version.h: added // -*- C++ -*- as first line.
15228 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15230 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15232 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15235 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15240 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * gettext.C: include LString.h even when --disable-nls is on.
15244 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15246 * converter.h (Get): changed argument type from int to
15247 FormatList::size_type to avoid unnecessary conversion.
15249 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15252 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15254 * gettext.h: include LString.h even when --disable-nls is on.
15256 2001-06-07 Juergen Vigna <jug@sad.it>
15258 * text.C (BreakAgain): subst spaces with tabs.
15260 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15261 (resizeInsetsLyXText): set force on resizeLyXText.
15263 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15265 * gettext.h (gettext_init):
15266 (locale_init): use a real definition instead of a macro
15268 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15270 * Bufferview_pimpl.C:
15272 * LColor.C: further lcolor tidies
15274 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15276 * BufferView_pimpl.C (updateScrollbar): simplify.
15278 * BufferView2.C: don't include insets/insetinfo.h, change
15279 prototype for insertInset and call the Pimpl version. let
15280 updateInset call Pimpl version.
15282 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15283 gotoInset to BufferView::Pimpl
15285 2001-06-01 Juergen Vigna <jug@sad.it>
15287 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15288 inside a LockingInset (is the update needed at all?).
15290 2001-05-31 Juergen Vigna <jug@sad.it>
15292 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15293 here not the old one otherwise how should we compare it afterwards
15296 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15301 * FontInfo.C: bring C functions into global namespace when
15304 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15306 * LString.h: make sure config.h has been loaded before LString.h.
15308 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15309 (one for each char read by EatLine!).
15311 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15314 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15316 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15317 to the same as the par we break from
15319 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15321 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15323 * MenuBackend.C (expand): also create menu entries for wide
15324 versions of the floats.
15326 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15328 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15330 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15331 frontends/Makefile.am
15337 * tabular.C (getTokenValue): add std::
15339 * tabular-old.C (getTokenValue): add std::
15340 (getTokenValue): ditto
15341 (getTokenValue): ditto
15343 * screen.C (ToggleSelection): adjust
15345 * lyxtext.h: put selection cursors inside a Selection struct.
15347 * lyxfunc.C (moveCursorUpdate): adjust
15349 * lyxfont.C (latexWriteStartChanges): add std::
15351 * lyxfind.C: adjust
15353 * font.h: delete with(char const *, LyXFont const &)
15355 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15357 * FontInfo.C (getFontname): add std::
15359 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15360 (workAreaButtonPress): adjust
15361 (tripleClick): adjust
15363 (moveCursorUpdate): adjust
15366 * BufferView2.C (gotoInset): adjust
15368 2001-05-30 Juergen Vigna <jug@sad.it>
15370 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15371 to check pspell I add this as default as I now have new pspell
15372 libraries and they seem to use this.
15374 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * text2.C (CutSelection): make the cursor valid before the call to
15379 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15382 relied on 0 terminated strings and other horrors. Bug found due to
15383 the new assert in lyxstring!
15385 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15388 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15393 * lyxfunc.C (processKeySym): change method of getting to the
15396 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15397 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15398 * BufferView_pimpl.[Ch]: here as private methods.
15400 2001-05-28 Juergen Vigna <jug@sad.it>
15402 * text.C (SetHeightOfRow): added the update() call again as it is
15403 needed to initialize inset dimensions!
15405 2001-05-16 Juergen Vigna <jug@sad.it>
15407 * text2.C (SetCharFont): Add new function with BufferView * and
15408 bool toggleall parameters for setting insets internal fonts.
15409 (SetFont): Freeze the undo as we may change fonts in Insets and
15410 all this change should be inside only one Undo!
15412 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15413 setting font's in insets as for them we have the SetFont function!
15415 2001-05-15 Juergen Vigna <jug@sad.it>
15417 * text2.C (ClearSelection): to be sure we REALLY don't have any
15420 * tabular.C (TeXCellPreamble): fixed the left border problem for
15423 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15425 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15428 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15430 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15431 LFUN_BREAKPARAGRAPH.
15433 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15434 help test to "internal only", similar for LFUN_INSERT_URL
15436 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15437 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15438 auto_region_delete and deadkeys.
15440 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15443 * LColor.C: remove some dead entries, tidy a little
15445 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15449 (Dispatch): implement LFUN_ESCAPE
15451 * commandtags.h: add LFUN_ESCAPE
15453 * LyXAction.C (init): add entry for LFUN_ESCAPE
15455 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15456 Remove commented code.
15457 (insertNote): moved here
15458 (open_new_inset): moved here
15460 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15463 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15465 * kbmap.C (findbinding): clean it up and make it work correctly.
15467 * lyx_main.C (init): do not pass argc and argv as parameters
15469 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15471 * buffer.C: fix path for OS/2 & Win32
15475 * lyx_main.C: Added os:: class.
15477 * os2_defines.h: update
15479 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15481 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15482 better by trying again with reduced state.
15484 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * lyxrc.C (read): print error about invalid key sequence only when
15487 debugging (because not all latinX keysyms are known to some X
15490 * kbsequence.C (getiso): add a few std:: qualifiers
15491 (getiso): comment out extra return statement.
15493 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15495 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15497 (Dispatch): enhance the accent inset a bit. (not perfect)
15499 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15501 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15503 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15505 * bufferlist.C (emergencyWrite): fix assert() call
15507 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15509 * text.C (InsertChar): Added trivial patch to only send the "you
15510 can not do multiple spaces this way" message once during a
15513 2001-05-08 Baruch Even <baruch@lyx.org>
15515 * Makefile.am: Changed order of libraries to get LyX to link properly
15516 with the gnome frontend.
15518 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15520 * LaTeXFeatures.h: add a std:: qualifier
15522 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15524 * paragraph.C (String): use stringstream
15526 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15528 * paragraph.C (writeFile): remove footflag arg
15530 * buffer.C (makeLaTeXFile): use stringstream
15531 (latexParagraphs): remove footnot gurba
15533 * LaTeXFeatures.C (getPackages): use stringstream
15534 (getMacros): likewise
15535 (getTClassPreamble): likewise
15536 (getFloatDefinitions): new method
15538 * paragraph.C (writeFile): reindent
15541 * WorkArea.h: revert the xpos + etc changes.
15543 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15545 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15547 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15548 (pasteSelection): likewise
15549 * text2.C (CreateUndo): likewise
15551 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15553 * minibuffer.C (peek_event): temporarily reduce the functionality
15554 of the minibuffer (to allow args on lfuns)
15556 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15557 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15559 * buffer.C (readInset): add compability reading of old float
15560 lists, add reading of new style float list.
15561 (readInset): avoid reevaluation of inscmd.getCmdName()
15562 (getLists): reindent
15564 * MenuBackend.C (MenuItem): implement parsing of
15565 md_floatlistinsert and md_floatinsert.
15566 (expand::LastFiles): move initalizaton of iterators out of loop,
15567 avoid reevaluation.
15568 (expand::Documents): introduce typdedef vector<string> Strings,
15570 (expand::ExportFormats): introduce typedef vector<Format const *>
15571 Formats, and use it.
15572 (expand): implement FloatListInsert and FloatInsert.
15574 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15575 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15576 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15578 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15580 (Dispatch::LFUN_FLOAT_LIST): implement
15582 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15584 * LaTeX.C (run): Fix problem with --export code.
15586 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15588 * BufferView.[Ch] (workarea): removed.
15589 (getClipboard) new method; wrapper for workarea()->getClipboard()
15591 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15594 * WorkArea.h (width, height, xpos, ypos): These methods all
15595 returned the dimensions of the work_area sub-area of WorkArea,
15596 resulting in a position error if the WorkArea were resized. Now
15597 return the dimensions of the entire WorkArea.
15599 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15601 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15603 * LaTeX.C (deplog): correct the syntax of regex reg1
15605 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15607 * undo.C: remove !NEW_INSETS cruft
15609 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15611 * text2.C: remove !NEW_INSETS cruft
15613 * text.C: remove !NEW_INSETS cruft
15615 * tabular.C: remove !NEW_INSETS cruft
15617 * spellchecker.C: remove !NEW_INSETS cruft
15619 * lyxtext.h: remove !NEW_INSETS cruft
15621 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15623 * lyxfunc.C: remove !NEW_INSETS cruft
15625 * lyxfind.C: remove !NEW_INSETS cruft
15627 * lyx_cb.C: remove !NEW_INSETS cruft
15629 * figureForm.C: remove !NEW_INSETS cruft
15631 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15633 * buffer.[Ch]: remove !NEW_INSETS cruft
15635 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15637 * CutAndPaste.C: remove !NEW_INSETS cruft
15639 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15641 * BufferView2.C: remove !NEW_INSETS cruft
15643 * BufferView.h: remove !NEW_INSETS cruft
15645 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * Lsstream.h: include LString.h before the sstream headers to
15648 fix problem with gcc 2.95.3 and lyxstring
15650 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15652 * lyx_main.C: add using directives when needed for C functions
15653 declared in std:: namespace.
15655 2001-04-27 Juergen Vigna <jug@sad.it>
15657 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15658 (SetHeightOfRow): comment out the update call should not be needed!
15660 2001-04-13 Juergen Vigna <jug@sad.it>
15662 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15663 (LyXTabular): tried to minimize operator= operations (and realized
15664 hopfully Lars wish).
15666 2001-04-27 Juergen Vigna <jug@sad.it>
15668 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15670 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15672 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15674 * buffer.C (readInset): hack to make listof algorithm work
15676 * BufferView_pimpl.C: hack to make listof algorithm work
15678 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15680 * LyXAction.C: removed all !NEW_INSETS cruft
15681 (init): moved lfun_item in method
15683 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15685 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15687 * BufferView2.C (theLockingInset): white space.
15689 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15691 * minibuffer.C: include <iostream>
15693 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15695 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15697 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15699 * text.[Ch] (TransposeChars): new method
15701 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * call message directly through LyXView instead of through LyXFunc
15704 * BufferView2.C: adjust
15705 * BufferView_pimpl.C: adjust
15706 * FontLoader.C: adjust
15708 * bufferview_funcs.C: adjust
15709 * converter.C: adjust
15710 * figureForm.C: adjust
15711 * importer.C: adjust
15713 * lyx_gui_misc.C: adjust
15714 * lyxfunc.C: adjust
15717 + more files in subdirs
15719 * lyxparagraph.h (size): move up int file
15722 * adjust all uses of Assert to lyx::Assert.
15724 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15725 lyxfunctional in namespace lyx
15726 * layout.C (hasLayout): ditto
15729 (delete_layout): ditto
15730 (NumberOfClass): ditto
15731 * converter.C (GetFormat): ditto
15736 * bufferlist.C (getFileNames): ditto
15737 (emergencyWriteAll): ditto
15740 * MenuBackend.C (hasSubmenu): ditto
15743 * BufferView_pimpl.C (getInsetByCode): ditto
15745 2001-04-18 Juergen Vigna <jug@sad.it>
15747 * vspace.C (asLatexString): fixed the 100% problem.
15749 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15751 * lyxfunc.C (Dispatch):
15753 * minibuffer.h: add a few std:: qualifiers
15755 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15757 * minibuffer.[Ch]: reimplement so that commands is initiated and
15758 run from lyxfunc, simplified som handling, and made the completion
15759 and history code for complete. wip.
15761 * lyxfunc.C (processKeySym): call message
15762 (miniDispatch): new temporary method
15763 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15764 (LFUN_MESSAGE): implement
15765 (LFUN_MESSAGE_PUSH): implement
15766 (LFUN_MESSAGE_POP): implement
15767 (initMiniBuffer): the initial/defualt minibuffer message.
15769 * lyxfont.[Ch]: inline some more getters
15771 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15773 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15775 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15776 (AutoSave): use LFUN_MESSAGE
15777 (Reconfigure): ditto
15779 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15781 * figureForm.C: use LFUN_MESSAGE
15783 * converter.C (runLaTeX): use LFUN_MESSAGE
15785 * bufferview_funcs.C: use LFUN_MESSAGE
15787 (changeDepth): ditto
15789 * bufferparams.h: use boost::
15791 * bufferlist.h: inherit privately from noncopyable
15793 * bufferlist.C (loadLyXFile): remove some commented code.
15795 * buffer.C (runChktex): use LFUN_MESSAGE
15797 * ShareContainer.h: inherit privately from noncopyable
15799 * ParagraphParameters.[hC] (depth): inline it.
15801 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15803 (message): new method
15804 (messagePush): ditto
15805 (messagePop): ditto
15806 (show): init minibuffer
15807 (showState): direct call
15809 * LaTeX.[Ch]: inherit privately from noncopyable
15810 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15811 instead of WriteStatus.
15813 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15815 * BufferView_pimpl.C (buffer): don't init minibuffer
15816 (workAreaButtonPress): use LFUN_MESSAGE
15817 (workAreaButtonRelease): ditto
15818 (savePosition): ditto
15819 (restorePosition): ditto
15820 (MenuInsertLyXFile): ditto
15821 (workAreaExpose): don't init minibuffer
15822 (update): remove commented code, simplify
15824 * BufferView2.C (openStuff): use LFUN_MESSAGE
15825 (toggleFloat): ditto
15828 (copyEnvironment): ditto
15829 (pasteEnvironment): ditto
15834 (updateInset): remove some commented code
15836 * lastfiles.h: inherit privately from noncopyable
15839 * lyx_main.h: ditto
15841 * lyxlex_pimpl.h: ditto
15843 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15844 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15845 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15847 * LyXAction.h: inherit privately from noncopyable, add methods
15848 func_begin, func_end, returning iterators to the func map.
15850 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15851 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15852 (func_begin): new method
15853 (func_end): new method
15855 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15857 (copySelection): ditto
15858 (pasteSelection): ditto
15860 * BufferView.C: whitespace change
15861 * BufferView.h: inherit privately from noncopyable
15863 2001-04-16 Allan Rae <rae@lyx.org>
15865 * tabular-old.C (l_getline):
15866 * spellchecker.C (sc_check_word):
15867 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15868 an unrecognised preprocessor directive. So ensure they're wrapped.
15870 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15872 * src/exporter.C (Export): Give an error message when path to file
15875 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15877 * LaTeX.C (deplog): Always check that foundfile exists.
15879 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15882 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15884 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15886 * tabular.[Ch] (getLabelList): implement new method
15888 * minibuffer.h: comment ouf setTiimer
15890 * minibuffer.C (ExecutingCB): constify res
15891 (peek_event): constify s
15892 (Set): constify ntext
15893 (Init): constify nicename
15895 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15897 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15898 (savePosition): use two params to Minibuffer::Set
15899 (restorePosition): ditto
15901 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * lyx_main.C: include language.h
15905 * Makefile.am (lyx_main.o): add language.h
15907 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15913 * CutAndPaste.C: include gettext.h
15915 * lyxfont.h: remove old hack with ON and OFF.
15918 * lyxfont.h: do not include language.h...
15923 * bufferview_funcs.C:
15929 * paragraph.C: ... but do it here instead
15931 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15933 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15935 * tabular.C: small reformat
15937 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15940 (BreakParagraph): ditto
15941 (SetOnlyLayout): ditto
15944 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15947 * lastfiles.C: removed most using decl, add std:: where needed
15949 * buffer.C: ws changes
15951 * MenuBackend.C (class compare_format): put into anon namespace
15952 (expand): constify label, names, action, action2
15955 * text.C (SingleWidth): constify font
15956 (IsBoundary): constify rtl2
15957 (GetVisibleRow): constify ww
15959 * LaTeX.C (deplog): constify logfile
15961 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15963 (workAreaExpose): constify widthChange, heightChange
15965 * lyxrow.C (par): moved
15968 * lyxrow.h: as inlines here
15970 * lyxfont.h (shape): moved from lyxfont.C
15971 (emph): moved from lyxfont.C
15973 * lyxfont.C (LyXFont): use initialization list for all
15975 (shape): move to lyxfont.h as inline
15976 (emph): move to lyxfont.h as inline
15979 2001-04-04 Juergen Vigna <jug@sad.it>
15981 * vspace.C: had to include stdio.h for use of sscanf
15983 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15986 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15987 independent of xforms.
15989 2001-04-02 Juergen Vigna <jug@sad.it>
15991 * spellchecker.C: fixed namespace placing!
15993 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15995 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15996 the LyXParagraph * is 0.
15998 2001-03-29 Juergen Vigna <jug@sad.it>
16000 * vspace.C: added support for %, c%, p%, l%.
16001 (stringFromUnit): added helper function.
16002 (asLatexString): changed to give right results for the %-values.
16004 * buffer.C: convert the widthp in a width%.
16006 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16008 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16011 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16012 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16014 * lyx_cb.[Ch]: see above.
16016 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16020 * lyx.[Ch]: replaced by figure_form.[Ch].
16024 * lyxfunc.C: changed headers associated with above changes.
16026 2001-03-27 Juergen Vigna <jug@sad.it>
16028 * BufferView_pimpl.C: set the temporary cursor right!
16030 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16032 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16034 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16036 * LString.h: removed "using std::getline"!
16038 * BufferView_pimpl.C (Dispatch): changes due to changes in
16039 InsetInclude::Params.
16041 * buffer.C (tag_name): removed redundant break statements as they were
16042 producing lots of warnings with my compiler.
16044 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16046 * LString.h: add "using std::getline" when using the real <string>.
16048 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16050 * buffer.C: removed bitset usage.
16051 PAR_TAG moved to an anonymous name space.
16052 (tag_name): new funtion, also in the anonymous namespace.
16053 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16054 (makeDocBookFile): clean code. Completed transition from string arrays
16056 (SimpleDocBookOnePar): code clean.
16058 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16060 * tabular.C: add some comments.
16062 2001-03-22 Juergen Vigna <jug@sad.it>
16064 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16065 compatibility read a bit and fixed bug with minipage in different
16068 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16070 * buffer.C (pop_tag): removed.
16071 (push_tag): removed.
16072 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16073 array replaced with vector. Added support for CDATA sections.
16074 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16076 (makeDocBookFile): XML conformant declaration of CDATA section,
16077 fixed bug related to <emphasis> in the first paragraph char.
16078 (sgmlOpenTag): exclude empty tags.
16079 (sgmlCloseTag): ditto.
16081 * buffer.h (pop_tag): removed.
16082 (push_tag): removed.
16084 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16086 * language.h (Languages): added size_type and size().
16088 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16090 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16091 response on compability reading of minipages. One probliem is that
16092 the old usage of minipages was «flertydig»
16094 * several files here and in subdirs: don't use static at file
16095 scope use anon namespaces instead.
16097 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16099 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16100 LaTeX output. This is necessary for Literate document
16103 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16105 * buffer.C: insert hfill when needed.
16107 * tabular.C (l_getline): use string::erase, small whitespace change.
16109 * BufferView_pimpl.C: try the anon namespace.
16110 * WorkArea.C: ditto
16112 2001-03-16 Juergen Vigna <jug@sad.it>
16114 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16115 otherwise it won't open options-dialogs.
16117 * buffer.C: honor pextraWidth(p) on converting minipages.
16119 * tabular.C (l_getline): changed the functions to strip trailing \r.
16121 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16123 * BufferView_pimpl.C:
16124 * minibuffer..C: added "using SigC::slot" declaration.
16126 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16128 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16134 * paragraph.C: ditto
16136 * lyxtext.h: NO_PEXTRA
16138 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16140 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16141 * ParameterStruct.h: ditto
16142 * ParagraphParameters.h: ditto
16143 * lyxparagraph.h: ditto
16145 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16147 * buffer.C: add compability for minipage alignment.
16148 (latexParagraphs): remove unwanted pextra check.
16150 * several files: remove CXX_WORKING_NAMESPACES
16152 * buffer.C (pop_tag): tie is in namespace boost
16154 * BufferView.h: noncopyable is in namespace boost
16156 * lyx_main.h: ditto
16159 * lastfiles.h: ditto
16160 * bufferlist.h: ditto
16161 * ShareContainer.h: ditto
16163 * LyXAction.h: ditto
16166 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16168 * Merging changes from BRANCH_MVC back into HEAD.
16170 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16172 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16174 * BufferView_pimpl.C: change from intl.C
16178 * Makefile.am: move combox.*
16184 * intl.C: remove dialog (covered by prefs)
16186 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16188 * lyxfunc.C (Dispatch): removed redundant break statement.
16190 2001-03-14 Juergen Vigna <jug@sad.it>
16192 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16194 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16196 * buffer.C: add hack to fix compability reading of minipages.
16198 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16200 * buffer.C (getLists): Cleanup.
16202 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16204 * lyxfont.C (update): don't honor toggleall on font size.
16206 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16210 * Makefile.am: moved to frontends/xforms/
16214 * BufferView_pimpl.C: changes for moved mathpanel
16216 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16218 * gettext.h: fix gettext_init() in --disable-nls
16220 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16222 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16224 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16227 * lyx.h: strip external form
16229 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16231 * BufferView_pimpl.C: add comment, destroySplash()
16233 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16235 * BufferView_pimpl.C:
16239 * lyxfunc.C: use re-worked insetinclude
16241 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16243 * buffer.C: add using std::stringstream.
16245 * lyx_cb.C: readd using std::ios.
16247 * buffer.C: add using std::map.
16249 * BufferView_pimpl.C: add using std::vector.
16251 * ShareContainer.h: add std:: to swap.
16253 * buffer.h: add some typedefs
16254 * buffer.C (getLists): use them
16255 (getLists): renamed from getTocList.
16256 add a counter for the different float types and use it in the
16258 (getLists): use the same counter for the NEW_INSETS and the "non"
16261 * lyx_cb.h: remove unused items, includes, using etc.
16263 * ShareContainer.h: remove some commented code, add more comments
16264 and "documentation".
16266 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16268 * buffer.C (getTocList): make the list also when NEW_INSETS is
16271 * buffer.h: remove TocType
16273 * buffer.C (getTocList): change to return a map<string,
16274 vector<TocItem> >, implement for dynamic number of list.
16276 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16277 * text2.C (PasteSelection): adjust
16278 * CutAndPaste.C (pasteSelection): adjust
16280 * FloatList.C (FloatList): update from the new_insets branch.
16281 * Floating.[Ch]: ditto
16282 * LaTeXFeatures.C: ditto
16284 * lyxlex_pimpl.C: ditto
16286 * paragraph.C (Last): remove when NEW_INSETS is defined.
16288 * other file: changes because of the above.
16290 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16292 * lyxparagraph.h: rename next to next_, previous to previous_,
16293 make them private for NEW_INSETS. Rename Next() to next(),
16294 Previous() to previous().
16296 * other files: changes because of the above.
16298 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16301 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16304 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16306 * main.C (main): pass lyx_localedir to gettext_init().
16308 * gettext.h: remove locale_init and gettext_init macros
16310 * gettext.C (locale_init): new function
16311 (gettext_init): new function
16313 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16316 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16318 * Moved credits to frontends:
16319 * credits.[Ch]: removed
16320 * credits_form.[Ch]: removed
16321 * lyx_gui_misc.C: remove credits stuff
16324 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16326 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16328 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16329 unneeded destructor.
16331 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16332 a standalone pointer again.
16334 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16336 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16342 * ToolbarDefaults.C:
16351 * BufferView_pimpl.C: use new file dialog in GUII
16354 * lyx_cb.C: remove LayoutsCB to Toolbar
16356 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16358 * ShareContainer.h (get): add std:: qualifier
16360 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16362 * ShareContainer.h: define a proper ShareContainer::value_type
16363 type (and use typename to please compaq cxx)
16365 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16367 * lyxparagraph.h: move serveral local vars to
16368 ParameterStruct/ParagraphParameters., use ShareContainer in
16369 FontTable., make vars in FontTable private and add getter and
16372 * paragraph.C: changes because of the above.
16374 * lyxfont.h: remove copy constructor and copy assignment. (the
16375 default ones is ok), move number inside FontBits. move inlines to
16378 * lyxfont.C: add number to initializaton of statics, move several
16379 inlines here. constify several local vars. some whitespace
16380 cleanup. Dont hide outerscope variables.
16382 * Spacing.h: add two new constructors to match the set methods.
16384 * ShareContainer.h: new file, will perhaps be moved to support
16386 * ParameterStruct.h: new file
16388 * ParagraphParameters.h: new file
16390 * ParagraphParameters.C: new file
16392 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16393 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16395 * BufferView_pimpl.C: ParagraphParameter changes.
16396 * buffer.C: Likewise.
16397 * bufferview_funcs.C: Likewise.
16398 * text.C: Likewise.
16399 * text2.C: Likewise.
16401 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16403 * lyxfind.C (LyXReplace): do not redefine default argument in
16405 (IsStringInText): ditto
16406 (SearchForward): ditto
16407 (SearchBackward): ditto
16409 2001-03-06 Juergen Vigna <jug@sad.it>
16411 * lyxfind.C (IsStringInText): put parentes around expressions.
16413 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16415 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16417 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16419 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16421 * stl_string_fwd.h: add comment
16423 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16426 * tabular.C: remove unused DocBook methods
16432 killed DO_USE_DEFAULT_LANGUAGE
16434 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16436 * lyx_gui.C: do not include language.h.
16438 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16439 arguments in function implementation.
16441 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16443 * BufferView_pimpl.C: add <ctime>
16445 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16447 * BufferView_pimpl.C: add using std::find_if
16449 2001-02-27 José Matos <jamatos@fep.up.pt>
16451 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16454 2001-02-11 José Matos <jamatos@fep.up.pt>
16456 * buffer.C (makeDocBookFile): command styles now have a parameter as
16457 "title" by default.
16459 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16461 * layout_forms.[Ch]: removed
16462 * lyx_cb.[Ch]: out character
16463 * lyx_gui.C: out character
16464 * lyx_gui_misc.C: out character
16465 * bufferview_funcs.C: : out character,
16466 added toggleall as parameter in ToggleAndShow
16468 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16470 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16472 * text2.C (SetCurrentFont): Disable number property at boundary.
16474 2001-02-26 Juergen Vigna <jug@sad.it>
16476 * lyxfunc.C (getStatus): added a string argument override function so
16477 that this is correctly called from LyXFunc::Dispatch if it contains a
16478 do_not_use_argument which is used!
16479 (Dispatch): added check for "custom" export and call appropriate func.
16481 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16483 * lyxrc.C: Add language_command_local, language_use_babel and
16484 language_global_options.
16486 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16488 * buffer.C (makeLaTeXFile): Use language_use_babel and
16489 language_global_options.
16491 2001-02-23 Juergen Vigna <jug@sad.it>
16493 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16494 which works with LyXText and putted it inside BufferView. Here now we
16495 only call for that part the BufferView::Dispatch() function.
16497 * BufferView.C (Dispatch): added.
16499 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16500 functions which needs to use a LyXText over from LyXFunc.
16501 (MenuInsertLyXFile): added
16502 (getInsetByCode): added
16503 (moveCursorUpdate): added
16504 (static TEXT): added
16506 2001-02-22 Juergen Vigna <jug@sad.it>
16508 * BufferView_pimpl.C (update): call a status update to see if LyXText
16511 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16513 * vc-backend.C (revert): implement for CVS
16514 (getLog): implement for CVS
16516 2001-02-20 Juergen Vigna <jug@sad.it>
16518 * text2.C (ClearSelection): added BufferView param for inset_owner call
16520 * lyxfunc.C (TEXT): added this function and use it instead of
16521 directly owner->view()-text of getLyXText().
16523 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16525 * src/layout_forms.C: out preamble
16526 * src/layout_forms.h: out preamble
16527 * src/lyx_cb.C: out preamble
16528 * src/lyx_cb.h: out preamble
16529 * src/lyx_gui.C: out preamble
16530 * src/lyx_gui_misc.C: out preamble
16531 * src/lyxfunc.C: connect with guii preamble
16533 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16535 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16537 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16539 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16540 whether to run bibtex.
16542 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16544 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16546 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16548 * Makefile.am (lyx_SOURCES): removed bibforms.h
16550 * vspace.h: doxygen
16552 * text.C (GetVisibleRow): make several local vars const
16554 * tabular.C: small cleanup.
16556 * lyxserver.C (callback): use compare instead of strncmp
16558 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16559 inlines to after class or to paragraph.C
16561 * lyxfont.h: remove friend operator!=
16563 * converter.h: move friend bool operator< to non friend and after
16566 * combox.h: small cleanup
16568 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16569 to inlines after class def.
16571 * buffer.C (pop_tag): use string operations instead of strcmp
16573 * bmtable.c: doxygen, small cleanup
16575 * LaTeX.h: remove friend operator==
16577 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16589 * BufferView_pimpl.C:
16590 * BufferView.[Ch]: remove cruft
16592 2001-02-14 Juergen Vigna <jug@sad.it>
16594 * lyxfunc.C: removed #if 0 unused code
16596 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16598 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16600 * text2.C (SetSelection): added a BufferView * parameter
16602 2001-02-13 Juergen Vigna <jug@sad.it>
16604 * lyxfunc.C (Dispatch): fixed protected blank problem.
16605 * BufferView2.C (protectedBlank): added LyxText * parameter.
16607 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16608 (AppendColumn): same as above for column_info.
16610 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16611 (moveCursorUpdate): use a LyXText param for support of InsetText.
16613 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16614 (tripleClick): ditto
16616 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16618 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16620 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16622 * text2.C (SetSelection): set correct update status if inset_owner
16623 (ToggleFree): ditto
16625 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16627 * tabular.C: remove some commented code.
16629 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16631 * BufferView_pimpl.C: call hideSplash()
16633 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16636 * bibforms.h: remove
16639 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16640 add LFUN_CHILD_CREATE
16642 * counters.h: fix tiny typo
16647 * lyx.C: move splash to frontends/xforms/
16649 * lyx_gui_misc.C: move Include and Bibform to frontends
16651 * lyxvc.h: clarify comment
16653 * vspace.C: tiny housekeeping
16655 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16657 * text.C (PrepareToPrint): RTL Fix.
16659 * paragraph.C (GetUChar): New method.
16660 (String): Use GetUChar.
16662 * buffer.C (asciiParagraph): Use GetUChar.
16664 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16666 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16668 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16671 * buffer.C: rename to getLogName(), handle
16672 build log / latex log nicely
16674 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16677 * MenuBackend.h: remove support for reference menuitem type.
16679 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16681 * BufferView_pimpl.C: housekeeping
16682 * BufferView_pimpl.h:
16687 * minibuffer.h: move Timeout GUI-I
16689 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16691 * lyxrc.C (read): Update converters data-structures.
16693 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16695 * LaTeX.h (operator!=): add operator != for Aux_Info
16697 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16699 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16701 * LaTeXLog.C: deleted, useful code moved to Buffer
16704 * buffer.C: new function getLatexLogName()
16710 * lyxfunc.C: use frontends for LaTeX and VC logs
16712 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16714 * LaTeX.h: yet another std:: that Allan forgot.
16716 * Variables.C (set): renamed from isset(), because this clashes
16717 with some HP-UX macros (grr).
16719 2001-02-06 Allan Rae <rae@lyx.org>
16721 * LaTeX.h: Another bug fix. Missing std:: this time.
16723 2001-02-04 Allan Rae <rae@lyx.org>
16725 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16726 floats problem. I've left it commented out because it's not quite
16727 correct. It should also test that the current object is a table or
16728 figure inset. But I haven't gotten around to figuring out how to do
16729 that. I *think* it'll be something like: "table" == inset.type()
16731 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16734 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16736 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16737 all the citation/databases/styles in the auxilary file.
16738 (run): Rerun latex if there was a babel language error.
16740 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16742 * text.C (Backspace): Preserve the font when changing newline char
16744 (BreakParagraph): If the cursor is before a space, delete the space.
16746 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16748 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16750 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16751 new argument (code).
16752 (ChangeCitationsIfUnique): New method.
16754 * paragraph.C (GetPositionOfInset): Handle bibkey.
16756 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16758 * BufferView_pimpl.h: change type of Position::par_pos to
16759 LyXParagraph::size_type.
16761 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16763 * BufferView_pimpl.C (savePosition, restorePosition): Write
16764 messages to minibuffer.
16766 2001-01-28 José Matos <jamatos@fep.up.pt>
16768 * buffer.C (makeDocBookFile): adds support for document language.
16769 A silly restriction on the name of LatexCommand types where removed.
16770 Added support for CDATA sections, allows to chars unescaped, used
16771 among others in code, to avoid escape < and >.
16773 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16775 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16776 saved positions instrad of a stack. Furthermore, a position is
16777 stored using paragraph id/paragraph position.
16779 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16780 Remove LFUN_REF_BACK.
16782 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16784 * converter.C (dvipdfm_options): New method.
16786 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16788 * vspace.C (isValidLength): Fix for empty input string.
16790 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16792 * LyXAction.C (init): change description of LFUN_FIGURE to
16795 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16797 * LaTeX.C: add using directive
16799 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16801 * MenuBackend.C (expand): Fix the sorting of the formats.
16803 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16805 * lyx_main.C: tiny error message fix
16807 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16809 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16810 calling fl_initialize(). This fixes the problem with ',' as
16811 decimal separator in text files.
16813 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16815 * trans.C (process): Fix the keymap bug.
16817 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16819 * LaTeX.C (scanAuxFiles): New method. Provides support for
16820 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16821 (scanLogFile) Scan for "run BibTeX" messages.
16823 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16824 OT1 font encoding. Also, load the aecompl package if the ae
16827 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16829 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16831 * texrow.C (increasePos): turn two error messages into debug
16834 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16836 * LaTeX.C (scanAux): Handle the \@input macro.
16837 (runBibTeX): Use scanAux().
16839 * language.C (latex_options_): New field.
16841 * LaTeXFeatures.C (getMacros): Add language macros.
16843 * buffer.C (makeLaTeXFile): Small fix.
16845 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16847 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16849 * text2.C: add a using directive.
16851 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16856 * lyxfunc.C: kill LyXBell.
16858 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16860 * text.C (IsBoundary): Remove the error message
16862 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16864 * lyxrc.C (setDefaults): Correct initialization value for
16867 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16869 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16872 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16873 and GotoNextNote().
16875 * src/LyXAction.C: Added reference-next.
16877 * text.C (InsertChar): Use contains instead of strchr.
16879 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16881 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16883 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16884 alignment commands (when needed).
16886 * text.C (InsertChar): Add ':' to number separator chars.