1 2005-01-06 José Matos <jamatos@lyx.org>
3 * ParagraphParameters.C (write): put every parameter in its own line.
4 * paragraph.C (write): reduce number of consecutive empty lines exported.
5 * buffer.C (LYX_FORMAT): increase file format to 239.
7 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
9 * everywhere: change support/tostr.h -> support/convert.h
11 * tabular.C: make all write_attributes templates, tostr -> convert
13 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
14 (emptyTag): and -> &&, and fix type for ret from getChar
15 (getFirstWord): fix type for ret from getChar
17 (simpleDocBookOnePar): and not -> && !, fix type for ret from
20 * toc.C (goTo, action):
22 * text.C (currentState):
23 * tex-accent.C (DoAccent):
26 * lyxfunc.C (menuNew):
27 * lyxfinc.C (replace):
28 * counters.C (laberItem):
29 * bufferview_funcs.C (font2string):
30 * bufferparams.C (writeFile):
31 * buffer.C (readFile):
33 * MenuBackend.C: tostr -> convert
35 * LaTeX.C (runMessage): fix format
36 (scanAuxFiles): tostr -> convert
38 * BufferView_pimpl.C (savePosition): fix format
39 (restorePosition): ditto
42 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
44 * Spacing.[Ch]: New method getValueAsString().
48 * ParagraphParameters.C:
51 * text3.C: store/read spacing value as string.
53 * rowpainter.C: change float value (spacing_val) to double.
55 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
56 broken custom document spacing).
58 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
60 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
61 namespace, also more use of temp references and const
63 * cursor.[Ch] (getStatus): move to lyxfunc.C
65 * bufferparams.C: reformat slightly
67 * bufferview_funcs.C (font2string): constify arg
73 * buffer_funcs.C: (many funcs): constify arg on function
74 definitions, also make more local vars const, also add ASSERTS on
77 * buffer.C (LYX_FORMAT): put const in correct place
78 (many funcs): constify arg on function definitions, also make
81 * aspell_local.h: remove "struct" from typdef setup
83 * aspell.C (check): make word_ok const
84 (nextMiss): simplify slightly
87 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
89 * lyxrc.[Ch]: store all float values as strings.
90 use int (not float) for lyxrc.dpi.
92 2005-01-04 Angus Leeming <leeming@lyx.org>
94 * lyx_cb.C (Reconfigure):
95 * lyx_main.C (queryUserLyXDir):
96 to run the <system_lyxdir>/configure correctly on Windows, prefix
97 the path to the script with "sh " when generating the string that
98 is passed to system().
100 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
102 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
104 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * lyxlength.C (asLatexString): get rid of setprecision
108 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * text2.C (setLayout): remove unused variable endpit.
111 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
113 * paragraph.C (onlyText): remove unused variable style.
115 * cursor.C (bruteFind): remove unused variables beg and end.
117 * Makefile.am (dist_noinset_DATA): not needed anymore
119 * cheaders/*: remove.
121 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * text3.C: fix LFUN_MATH_MODE.
125 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
127 * buffer_funcs.C (countWords): new function. Counts words between
130 * BufferView_pimpl.C (getStatus, dispatch): handle
133 * LyXAction.C (init):
134 * lfuns.h: add LFUN_WORDS_COUNT.
136 2004-12-19 Angus Leeming <leeming@lyx.org>
138 * buffer.C (save): s/slashify_path/internal_path/.
140 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
142 * lyxfind.C (findChange): do not search for end of pars, because
143 the change tracker cannot handle this (fixes bug 1719).
145 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
147 * paragraph.[Ch] (autoBreakRows): remove
149 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
151 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
152 avoid using the paragraph one
154 * text2.C (LyXText, insertStringAsLines): adjust
156 2004-12-16 Angus Leeming <leeming@lyx.org>
160 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
162 2004-12-14 Angus Leeming <leeming@lyx.org>
164 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
166 * bufferlist.C (emergencyWrite):
167 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
170 2004-12-14 Angus Leeming <leeming@lyx.org>
172 * main.C: (main): no longer pass pointers to os::init.
174 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
176 * undo.C (textUndoOrRedo): simplify logic, fix a crash
177 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
179 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
182 * text3.C: remove selection_possible global flag
184 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
186 * text2.C (getSelectionSpan): remove
187 (changeDepth, changeDepthAllowed): adjust
189 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
191 * Makefile.am (BOOST_LIBS): use boost variables
193 2004-12-03 José Matos <jamatos@lyx.org>
195 * buffer.C: format up to 238.
197 2004-12-03 José Matos <jamatos@lyx.org>
199 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
201 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
203 * cursor.C (goUpDown): remove call to idxUpDown2
205 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * tabular.[Ch]: use size_t-like types for cell, row and column
210 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * lyxfunc.C (getStatus): do not lose previous information when
213 calling BufferView::getStatus; do not set a default "Command
214 disabled" message at the beginning, but just before returning.
216 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
218 * cursor.h (getStatus): add better comment from src/cursor.C
220 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
222 * text3.C (getStatus): return false when the lfun is not handled
224 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
226 * broken_headers.h: remove
228 * Makefile.am (lyx_SOURCES): remove broken_headers.h
230 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
232 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
235 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
236 top_y_, merge fitcursor with update
237 (updateScrollbar, scrollDocView, fitCursor, center, update): new
240 (workAreaDispatch): adapt to new coord scheme
241 (redoCurrentBuffer): remove
243 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
245 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
248 * coordcache.[Ch]: add paragraph cache and helpers
250 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
253 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
254 (targetX, setTargetX): introduce
256 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
257 baseline -> ascent, as the rest of lyx
259 * lyxtext.h: remove redoParagraphs, updateParPositions,
260 fullRebreak, redoParagraphInternal. move dist to anon namespace in
261 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
262 have ascent/descent (ascent is ascent of first par)
264 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
267 * paragraph.[Ch]: unify dimension handling with the rest of lyx
269 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
271 * pariterator.C: fix infinite loop introduced in par->pit renaming
273 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
274 in insets and LyXText, draw two off-screen paragraphs using
275 NullPainter, and adapt to new coord scheme
279 * text3.C: adapt lfun handlers to the new coord scheme, which
280 means: there's only guaranteed coord information for onscreen pars
281 plus one above and one below. This implies that one can do search
282 from y coordinates in the range [-1,workHeight]
284 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
286 * rename a lot of InsetOld to InsetBase
288 2004-11-25 Angus Leeming <leeming@lyx.org>
290 * BufferView_pimpl.C:
292 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
294 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
296 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
297 call BufferView::getStatus if LCursor::getStatus did nothing
298 (setStatusMessage, getStatusMessage): removed.
300 * FuncStatus.C (message): new methods. Used to provide an error
301 message indicating why a command is disabled.
302 (clear, |=, FuncStatus): update for message.
304 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
306 * lyxfunc.C (dispatch): always call sendDispatchMessage
308 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
311 * BufferView_pimpl.C:
325 * undo.C: par->pit renaming
327 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
329 * tabular.C (cellstruct): use initialization, store a shared_ptr
330 to insettext instead of the insettext directly, adjust to fit.
331 (operator=): new function
333 (rowstruct): use initialization
334 (columnstruct): use initialization
335 (ltType): use initialization
338 * lyxlength.h (swap): new function
340 * LColor.[Ch] (operator=): use the common semantics
342 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * lyxfind.C (findNextChange): update the bufferview after setting
347 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
350 number of InsetOptArgs has already been inserted.
352 * output_latex.C (latexOptArgInsets): new method. This outputs all
353 the optarg insets, up to the limit defined in the layout file.
354 (optArgInset): removed
355 (TeXOnePar): call latexOptArgInsets; correctly update texrow
357 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * paragraph.C (isLetter): remove special spellchecker-related
360 code; return true also for digits
361 (isWord, isKomma): remove
363 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
364 * lyxfind.C (MatchString()): use isLetter instead of isWord
366 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * pariterator.h (operatir=): comment out un-implemented member
371 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
374 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
376 * lyxfont.h: include LColor.h to satisfy concept checks.
378 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
380 * pariterator.h: add typdefs for value_type, difference_type,
381 pointer and reference to satisfy concept checks. Also add default
382 constructor for same reason.
384 * pariterator.C (operator++): add post-increment operator to
385 satisfy concept checks.
387 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
390 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
392 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
393 checks. Also rename base_type to BaseType to follow naming
396 * FloatList.h: include Floating.h to satisfy concept checks.
398 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
400 * lyxfunc.C (getStatus): when the origin of the request is menu or
401 toolbar, and the LyXView does not have focus, do as if there was
404 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
405 FuncRequest to individual entries of LFUN_SEQUENCE
407 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
409 * output_latex.C (TeXOnePar): override runparams.moving_arg
410 according to the needprotect value of the current paragraph (bug
413 * paragraph.C (simpleTeXOnePar): no need to override
414 runparams.moving_args here
416 2004-11-14 John Spray <spray_john@users.sourceforge.net>
418 * vspace.C: fix off-by-one-error, related to fix #1682
420 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
422 * lengthcommon.C: a more general fix for bug 1682
424 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
426 * text.C (backspace): fix crash
428 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
430 * format.[Ch] (getFormatFromFile): new method
431 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
433 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
435 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
437 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
439 * lyxfunc.C (dispatch): remove the verbose argument
440 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
443 * kbmap.C (defkey): set the origin of func to KEYBOARD
445 * MenuBackend.C (MenuItem):
446 * ToolbarBackend.C (add): set the origin of func to UI
448 * funcrequest.[Ch]: add origin member, which indicates which part
449 of LyX requests an action
451 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
453 * converter.C (move): don't lie in the error message
454 * converter.h (isReachable, move): document
456 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
458 * buffer.C: remove unused using lyx::support::atoi
459 * paragraph_funcs.C: ditto
461 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
463 * bufferlist.C (exists): use bind and equal_to instead of
466 * lyxtextclasslist.C (NumberOfClass): ditto
468 * cursor.C (insert): use for_each instead of explicit for loop
470 * bufferlist.C (getFileNames): use std::transform and
471 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
473 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
476 * buffer.C (changeLanguage): use for_each instead of explicit for
478 (hasParWithID): implement using getParFromID
480 * LaTeXFeatures.C: ws change only
482 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
485 * BufferView_pimpl.C (trackChanges): use for_each instead of
488 2004-11-04 André Pönitz <poenitz@gmx.net>
491 * undo.C (textUndoOrRedo): fix crash when creating undo information.
493 * dociterator.C (asDocIterator): use hard assert again.
495 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * lyxlength.C (asLatexString): rewrite so that it does not use
500 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * text3.C (specialChar, dispatch): make sure cursor moves to the
503 right after inserting an inset
505 2004-11-02 José Matos <jamatos@lyx.org>
507 * output_docbook.C (docbook):
508 * paragraph.C (getID):
509 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
510 garantee that the output is always legal.
512 * tabular.C (docbook):
513 * outputprams.[Ch]: remove mixed contents.
515 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
517 * text2.C (setCounter): prevent endless loop
519 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
521 * exporter.C (copyFile): use the mover instead of support::copy()
522 * exporter.C (Export): pass format and latex name to copyFile()
523 * exporter.h (addExternalFile): document
524 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
526 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
528 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
530 2004-10-30 José Matos <jamatos@lyx.org>
532 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
533 text and no inset or font change. This allows to use CDATA
534 sections just for the whole paragraph.
536 2004-10-30 José Matos <jamatos@lyx.org>
538 * paragraph.C (getFirstWord): remove unused variable.
540 2004-10-30 José Matos <jamatos@lyx.org>
542 * paragraph.C (getFirstWord): the content should always be escaped
544 (simpleDocBookOnePar):
545 * output_docbook.C (makeEnvironment): replace reference to CDATA
548 2004-10-30 José Matos <jamatos@lyx.org>
550 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
552 2004-10-30 José Matos <jamatos@lyx.org>
554 * output_docbook.C (makeParagraphs):
555 * paragraph.[Ch] (emptyTag): for docbook and company, if the
556 standard paragraph has only a given type of content drop the wrapper.
558 2004-10-29 José Matos <jamatos@lyx.org>
560 * output_docbook.C (makeEnvironment):
562 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
564 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
566 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
567 (cleanID): sanitize any id.
569 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
571 * buffer.C, lyxlex_pimpl.C:
572 * lyxlex_pimpl.C (setFile):
573 s/getExtFromContents/getFormatFromContents/
575 2004-10-28 José Matos <jamatos@lyx.org>
577 * output_docbook.C (makeEnvironment): move id to broadest possible
580 * sgml.C (openTag): apply substitution of <> for all attributes.
582 2004-10-28 José Matos <jamatos@lyx.org>
584 * buffer.C (makeLinuxDocFile, makeDocBookFile):
585 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
586 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
588 * sgml.[Ch]: new version for open and closeTag for paragraph and
589 for strings. Now they handle the ids of paragraphs.
591 2004-10-26 Angus Leeming <leeming@lyx.org>
593 * Makefile.am: add mover.[Ch].
595 * converter.C (convert, move): use the new Movers to move external
596 files to the temp directory.
598 * lyx_main.C (init): ensure that the global system_movers data
601 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
604 * mover.[Ch]: new files, defining a Mover as a utility to move an
605 external file between directories and, if necessary, manipulate this
606 file using a helper script.
608 2004-10-25 José Matos <jamatos@lyx.org>
610 * output_docbook.C (makeCommand): merge two if's that tested the
613 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
615 * sgml.C (escapeString): fix warning in a better way
617 2004-10-25 José Matos <jamatos@lyx.org>
619 * sgml.C (escapeString): import the require boosts header file for
620 tie, and avoid a signed unsigned comparison.
622 2004-10-25 José Matos <jamatos@lyx.org>
624 * sgml.h: add #include <string>
626 2004-10-25 José Matos <jamatos@lyx.org>
628 * sgml.[Ch] (escapeString): new function to escape all the string.
630 2004-10-24 José Matos <jamatos@lyx.org>
632 * paragraph.[Ch] (getFirstWord): new function to get the first
633 word. Useful for description.
634 (simpleDocBookOnePar): remove depth argument, add another that
635 says where to start the paragraph.
637 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
638 use the new functions to fix cleanly the support for descriptions.
640 2004-10-24 José Matos <jamatos@lyx.org>
642 * buffer.C (makeLinuxDocFile, makeDocBookFile):
643 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
644 * output_linuxdoc.C (linuxdocParagraphs):
645 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
646 add buffer as argument.
648 2004-10-24 José Matos <jamatos@lyx.org>
650 * output_docbook.C (makeEnvironment, searchEnvironment): place
651 CDATA inside paragraphs and fix scope for listitems.
653 2004-10-24 José Matos <jamatos@lyx.org>
655 * output_docbook.C: remove using statement for stack.
657 2004-10-23 José Matos <jamatos@lyx.org>
659 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
660 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
661 docbook. The new scheme is recursive and makes use of iterators, the
662 same as latex export works.
663 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
664 directly with the paragraph contents. This code was moved up to
665 output_docbook.C (docbookParagraphs).
666 * sgml.C (openTag, closeTag): removed unneeded newlines.
667 (closeEnvTags) removed.
669 2004-10-23 André Pönitz <poenitz@gmx.net>
671 * undo.C (textUndoOrRedo):
672 * dociterator.C (asDocIterator): work around crash
674 * cursor.C (getStatus): replace ASSERT by more verbose error message
675 and manual correction of the problem. Should increase stability
676 while providing more sensible information.
678 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
682 * bufferlist.C (previous, next): new methods
685 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
687 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
689 * buffer.C (makeDocBookFile): add dsssl stylesheet control
690 entities to preamble.
692 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
694 * messages.C (Pimpl): strip off translation context information
696 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
699 the cursor is correct (bug 1694)
701 2004-10-13 José Matos <jamatos@lyx.org>
703 * output_docbook.C (docbookParagraphs): fix closing tags in the
706 2004-10-09 José Matos <jamatos@lyx.org>
708 * buffer.C: format up to 237.
709 * bufferparams.C (write): use tostr to convert booleans to strings.
711 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
713 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
715 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
717 * LaTeX.C: implement use of babel language in xindy.
719 2004-10-05 José Matos <jamatos@lyx.org>
721 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
722 Add new translators to help reading and writing the lyx file.
724 2004-10-05 José Matos <jamatos@lyx.org>
726 * ParagraphParameters.C (read):
727 * text.C (readParToken): replace nexToken by more appropriate lex
730 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
732 * LaTeX.C (runMakeIndex):
733 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
734 (usually 'makeindex') configurable.
736 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
737 with a variable rather than with a number.
739 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
741 * output_latex.C (TeXOnePar): make sure font setting is the first
742 thing that gets output (and the last at the end). Should fix bug
745 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
747 * pch.h: use proper signal include
749 * LaTeX.h: Use preferred calling of Boost.Signal
752 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
754 * pch.h: dont include <boost/function/function0.hpp>
756 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
758 * paragraph_pimpl.h: remove usage of ShareContainer
760 * paragraph_pimpl.C: remove initialization of ShareContainer.
762 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
766 * BufferView.C (putSelectionAt): change the semantics when
767 backwards == true: now, this just swaps cursor and anchor wrt the
770 * BufferView.h (putSelectionAt): add some documentation
772 * lyxfind.C (findBackwards): rewrite using while(). In particular,
773 make sure backwardChar is done at least once (to avoid getting
775 (findNextChange): use putSelectionAt in the forward direction
776 (operator()): use Paragraph::isWord
778 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
780 * Spacing.C (set): c_str fix
782 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
784 * lyx_cb.C (Reconfigure): quote the name of configure script in
785 case it contains spaces
787 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
791 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
792 (BOOST_LIBS): use top_buildir when looking for the file
794 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
796 * pch.h: do not use include boost/format.hpp, multiple symbols
797 will result (gcc bug)
800 2004-08-23 José Matos <jamatos@lyx.org>
802 * bufferparams.C (readToken): fix reading of the author field.
804 2004-08-20 José Matos <jamatos@lyx.org>
806 * lyxrc.C: remove support/translator.h inclusion since it is not used.
808 2004-08-20 José Matos <jamatos@lyx.org>
810 * lyxlex.[Ch] (findToken): remove function.
812 * ParagraphParameters.C (findToken):
813 * bufferparams.C (findToken): replace call for previous function
814 with local copy. This local function has one more argument, the
815 read string argument.
817 2004-08-16 José Matos <jamatos@lyx.org>
819 * ParagraphParameters.C (write):
820 * Spacing.C (writeFile):
821 * bufferparams.C (writeLaTeX):
822 * lyx_cb.C (Reconfigure):
823 * paragraph.C (write):
824 * tabular.C (write): remove unnecessary space at end of line.
827 2004-08-16 José Matos <jamatos@lyx.org>
829 * text.C (readParagraph): remove debug message.
831 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
836 * output_plaintext.C (asciiParagraph): set depth correctly
838 * outputparams.h: add member depth
840 * paragraph_funcs.C (ownerPar): remove.
842 * text2.C (setCounter): remove first_pit; comment out some
843 non-working code that uses ownerPar
845 * BufferView.C (getParentLanguage): remove. Not used anymore, and
848 2004-08-16 José Matos <jamatos@lyx.org>
850 * text.C (readParToken, readParagraph, read): report all unknown tokens.
851 For the same level of importance use the same chanel to report problems.
852 (read): add code to deal with \begin_body and \end_body.
855 2004-08-15 José Matos <jamatos@lyx.org>
857 * lyxlex.C (getString): fix comment, buffer::readBody is now
860 * tex-strings.C (string_papersize): Default -> default,
861 Custom -> custom, for consistency with other options.
863 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
867 * Makefile.am: support pch
869 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * text.C (readParToken): remove the static LyXFont variable and
872 pass it as a parameter instead. This fixes a nasty bug where an
873 inset will be inserted with a bad font in some situations
874 (readParagraph): adapt
876 * text2.C (setCounter): reduce number of calls to pars_[pit]
878 * text.C (singleWidth): add an assert, fix a test
880 * rowpainter.C (paintText): reduce number of calls to singleWidth
882 * paragraph.C (isHfill):
885 2004-08-14 André Pönitz <poenitz@gmx.net>
890 * lyxtext.h (several functions): use a Paragraph & argument
893 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
895 * metricsinfo.h: add a new field ltr_pos to PainterInfo
897 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
899 * text.C (singleWidth): remove useless test
901 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * tabular.h: remove bogus comments
905 * tabular.C (getDescentOfRow):
906 (isPartOfMultiColumn): add assertions
908 * lyxlength.C (inPixels): remove #warning
910 2004-08-14 André Pönitz <poenitz@gmx.net>
912 * paragraph.h: inline getChar()
914 * BufferView.h: remove unused declarations
916 2004-08-14 José Matos <jamatos@lyx.org>
918 * Buffer.[Ch] (readDocument): new name for old readBody.
919 * Buffer.C: new file format, new keywords: \begin_document,
920 \begin_header, \begin_body, \end_body.
922 * bufferparams.C (readToken): replace all calls to lex.nextToken
923 by lex.next(). Do the same to eatLine except where really needed.
925 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
926 line when writing to the lyx file.
928 * output_plaintext.C (asciiParagraph): fix Bibliography style
931 * text.C (read): fix end of file handling.
933 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * MenuBackend.C (Menu::operator[]): new method to access
936 individual menu items
937 (Menu::hasFunc): new method. search for an item that corresponds
939 (MenuBackend::specialMenu): new method
940 (MenuBackend::expand): if a special menu has been set, skip
941 entries whose func() appears in this menu
943 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
945 * text3.C: use Debug::DEBUG a bit more
947 * text.C (leftMargin): try to simplify a tiny bit change var x to
948 l_margin. Dont output the wide margins always.
949 (rightMargin): no margin in inner texts
951 * rowpainter.h (nestMargin): new func
952 (changebarMargin): new func
953 (rightMargin): new func
955 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
959 * factory.C (createInset): modify setDrawFrame
961 * cursor.C: use Debug::DEBUG a bit more
963 2004-08-14 André Pönitz <poenitz@gmx.net>
966 * Makefile.am: new files to accomodate an 'external' (x,y)-position
967 cache for all insets in (at least partially) visible (top-level)
970 * BufferView_pimpl.C: reset external coord cache before every update.
971 This means the coord cache only contains valid entries.
973 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
976 * BufferView_pimpl.C (getInsetByCode): move function out of class
977 and change in to a template in anon namespace. Also fix to do what
980 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
983 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
985 (breakParagraph): rename par to par_offset and use a local
986 reference. Add code to keep the language over a rebreak.
987 (breakParagraphConservative): rename par to par_offset, use a
989 (mergeParagraph): ditto
991 (isFirstInSequence): ditto
992 (outerFont): rename pit to par_offset
994 * paragraph.C: ws change
999 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1001 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1004 * paragraph.C (simpleTeXOnePar): when we have a \item with
1005 optional argument, enclose the argument with curly brackets (in
1006 case it contains a closing square bracket)
1010 * text3.C (checkInsetHit): constify
1012 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1015 documents (bug 1629)
1017 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 Fix toggling of collapsable insets with the mouse (bug 1558)
1021 * lyxfunc.C (dispatch): adapt to LCursor changes
1023 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1024 make sure that dispatch is not invoked twice
1026 * cursor.C (needsUpdate): new method
1027 (dispatch): return void
1028 (result): new method, to access the DispatchResult of the cursor.
1030 2004-08-13 José Matos <jamatos@lyx.org>
1032 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1034 2004-08-13 André Pönitz <poenitz@gmx.net>
1036 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1038 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1041 2004-08-12 André Pönitz <poenitz@gmx.net>
1043 * text3.C: take out the 'cursor right' form insertInset and only
1044 do it in those places when it is really needed. Fixes crash on
1047 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1049 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1051 * BufferView_pimpl.C (setBuffer): initialize the current font of
1052 the underlying LyXText
1054 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1056 * kbsequence.C (print): use UI native formatting for menu
1059 * text.C (insertChar): call Paragraph::insertChar with a font
1062 * paragraph.C (insertInset, insertChar): the version that takes a
1063 LyXFont argument is now a wrapper around the other one (the
1064 opposite used to be true).
1066 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1067 argument. Font setting is done in Paragraph now.
1069 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * outputparams.h: add new members intitle and lang.
1073 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1074 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1076 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1078 * text3.C (dispatch): remove special handling of button 4 and 5,
1079 it is now taken care of in the frontend code.
1081 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1083 * Spacing.h: add <string> (STLPort compile fix)
1085 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1087 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1089 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1091 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1094 * converter.C (showMessage): inherit from unary_function, make
1097 * buffer.C (writeFile): initialize retval
1099 * InsetList.h: rename private variable list to list_
1100 * InsetList.[Ch]: adjust accordingly.
1102 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1104 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1105 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1106 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1107 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1108 * ParagraphParameters.C, LaTeXFeatures.C: replace
1109 "support/std_sstream.h" with <sstream>
1111 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1113 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1114 * lyxsocket.C (LyXServerSocket): ditto
1115 (serverCallback): ditto
1117 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1119 * LaTeXFeatures.C: check release date when loading jurabib.
1121 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1123 * lyxserver.C (startPipe): call register_socket_callback
1124 (endPipe): call unregister_socket_callback
1126 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1128 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1129 (LyXServerSocket): register the callback
1130 (LyXServerSocket): unregister the callback
1131 (fd): delete function
1132 (serverCallback): improve error checking and setup the callbacks.
1133 (dataCallback): change arg to fd.
1134 (writeln): new func (copied fro the client socket) used for server
1136 (LyXDataSocket): simplify
1137 (~LyXDataSocket): close ann unregiser callback
1138 (server): delete function
1139 (fd): delete function
1140 (readln): small changes, improve some std::string usage
1141 (writeln): constify a bit
1143 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1145 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1148 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1151 after it has been populated
1153 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1155 * text2.C (insertInset): move cursor when inserting inset.
1157 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1159 * kbmap.C (findbindings): a couple of new methods. returns a
1160 container of kb_sequence objects. The real work is done by the
1161 private recursive version
1162 (printbindings): uses findbindings to print out a bracketed list
1163 of bindings (renamed from findbinding).
1165 * MenuBackend.C (binding): use kb_keymap::findbindings
1167 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1169 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1171 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1173 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1175 * paragraph.C (isWord): return true on insets that report
1178 * text.C (getWord): use Paragraph::isWord to decide what is in a
1179 word and what is not; fix bug 1609.
1181 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1183 * tex-strings.C: add "none" to string_paperpackages[], fixes
1184 off-by-one-error in the paperpackage selection.
1187 * tex-strings.[Ch]: char const * string[n]
1188 -> char const * const string[]
1190 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1192 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1193 command, return early.
1195 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1197 * debug.h: add DEBUG to enum and fix size of ANY.
1199 * debug.C: add support for Debug::DEBUG
1200 (showTags): cast errorTags.level to unsigned int
1202 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1203 (redoCurrentBuffer): ditto
1204 (updateScrollbar): ditto
1205 * cursor.C (dispatch): ditto
1206 * text2.C (setLayout): ditto
1208 (updateCounters): ditto
1210 (deleteEmptyParagraphMechanism): ditto
1212 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1214 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1215 annotations to cleanup the Makefile slightly.
1217 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * lyxrc.C: do not set user_email to a default value but use empty
1220 instead. The entry used to be translated, which does not work
1221 since at the point where lyxrc is constructed there is no
1222 translation service available
1224 * messages.C (getLocaleDir): remove and use directly
1225 lyx_localedir() instead
1227 2004-06-02 Angus Leeming <leeming@lyx.org>
1229 Fix crash caused by dereferencing null pointer 'exportdata' in
1230 OutputParams by creating a new ExportData variable on the heap,
1231 storing it in a boost::shared_ptr.
1232 The crash was triggered when generating an Instant Preview
1233 of an external inset.
1235 * Makefile.am: add outputparams.C
1237 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1238 (c-tor): allocate memory to it.
1240 * exporter.C (c-tor): associated changes.
1242 2004-06-01 Angus Leeming <leeming@lyx.org>
1244 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1245 contains data before calling isInset(0). (Bug 1513.)
1247 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1249 * exporter.C (checkOverwrite): new method
1250 * exporter.C (copyFile): new method
1251 * exporter.C (Export): copy referenced files to the document dir
1252 * exporter.[Ch]: new class ExportedFile
1253 * exporter.[Ch]: new class ExportData. Contains currently the
1254 names of referenced external files
1255 * outputparams.h: add exportdata member.
1257 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1259 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1262 2004-05-19 Angus Leeming <leeming@lyx.org>
1267 * lyxfunc.C: small changes due to the introduction of namespace
1268 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1270 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1272 * text3.C (dispatch): supress update when only moving the cursor
1273 * cursor.C (selHandle): remove commented code
1275 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1277 * paragraph.C (startTeXParParams): correct column count
1278 * CutAndPaste.C (pasteSelection): remove const_cast
1279 * output_docbook.C (docbookParagraphs): remove const_cast
1280 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1281 const_cast and return ParagraphList::const_iterator
1282 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1283 * output_plaintext.C (writeFileAscii): remove const_cast
1284 * paragraph.[Ch] (simpleTeXOnePar): make const
1285 * paragraph_funcs.C (outerPar): use const iterators
1286 * paragraph_pimpl.C (validate): use const iterators
1287 * text.C (setHeightOfRow): use const iterators
1289 2004-05-17 Angus Leeming <leeming@lyx.org>
1292 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1294 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1295 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1296 if the citation engine has changed.
1298 2004-05-14 José Matos <jamatos@lyx.org>
1300 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1301 if the textclass does not provide it. Have it different for sgml and
1303 support the language of document.
1304 * output_docbook.C (docbookParagraphs):
1305 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1306 first anchor as the id of the paragraph, remove special case code.
1307 * sgml.C (escapeChar): escape only < & >.
1309 2004-05-14 Angus Leeming <leeming@lyx.org>
1311 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1312 dependencies on src/frontends/controllers/biblio.h. Define a
1313 CiteEngine_enum wrapper class to enable the enum to be forward
1316 2004-05-12 Angus Leeming <leeming@lyx.org>
1318 * buffer.C: up LYX_FORMAT to 234.
1319 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1320 use_numerical_citations with a single biblio::CiteEngine cite_engine
1322 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1324 2004-05-13 José Matos <jamatos@lyx.org>
1327 * converter.C (Converter, readFlags): add xml member.
1328 * outputparams.h: add XML flavor.
1329 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1331 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1333 * lyxfunc.C (dispatch):
1334 (getStatus): fix handling of LFUN_SEQUENCE
1336 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1338 * debug.C (showLevel): do not forget the end-of-line marker
1340 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 * kbmap.C (read): do not stop parsing a bind file when an error
1345 2004-04-29 Angus Leeming <leeming@lyx.org>
1350 * text2.C: wrap a bunch of #warning statements
1351 inside #ifdef WITH_WARNINGS blocks.
1353 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1355 * buffer.C: increment format to 233.
1357 2004-04-28 Angus Leeming <leeming@lyx.org>
1359 * BufferView_pimpl.C:
1362 s/updateToolbar()/updateToolbars()/
1363 s/Toolbar.h/Toolbars.h/
1365 2004-04-28 Angus Leeming <leeming@lyx.org>
1367 * BufferView.[Ch] (c-tor):
1368 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1369 No longer passes these data to the WorkArea generator.
1371 2004-04-28 Angus Leeming <leeming@lyx.org>
1373 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1375 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1379 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * output_latex.C (TeXEnvironment): make sure that there is a line
1382 break before \end{foo} for the last paragraph of a document
1383 (TeXOnePar): if the paragraph is at the end of the document (or
1384 inset) and the language has to be reset, then make sure that the
1385 line break is _before_ the language command, not after (fixes bug
1386 1225); also make sure that the language reset command is the first
1387 thing after the paragraph (to ensure proper nesting of
1388 environments and thus fix bug 1404)
1390 2004-04-21 John Levon <levon@movementarian.org>
1393 * ToolbarBackend.C: make "name" be a programmatic name
1394 and a gui_name field.
1396 * lyxfunc.C: display the minibuffer on M-x
1398 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1400 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1403 2004-04-19 Angus Leeming <leeming@lyx.org>
1405 * BufferView_pimpl.C (setBuffer): changed preview interface.
1407 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1410 2004-04-19 John Levon <levon@movementarian.org>
1412 * BufferView_pimpl.C:
1413 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1415 2004-04-05 Angus Leeming <leeming@lyx.org>
1417 * text.C (redoParagraphs): add call to updateCounters(), thereby
1418 fixing the missing "Figure #:" label from the caption of a
1421 2004-04-13 Angus Leeming <leeming@lyx.org>
1423 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1424 cursor is clicked out of an inset.
1426 2004-04-13 Angus Leeming <leeming@lyx.org>
1428 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1429 than an InsetOld one.
1431 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1433 * format.[Ch]: add editor to Format
1434 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1435 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1437 2004-04-08 André Pönitz <poenitz@gmx.net>
1439 * metricsinfo.h: remove PainterInfo::width member
1441 2004-04-08 Angus Leeming <leeming@lyx.org>
1443 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1444 "\providecommand" rather than "\newcommand", thereby preventing
1445 clashes with packages that define "\boldsymbol" themselves.
1448 2004-04-08 Angus Leeming <leeming@lyx.org>
1450 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1451 thereby squashing an unnecessary warning.
1453 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1458 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1460 * BufferView.C (setCursor): call redoParagraph (some insets could
1462 (putSelectionAt): remove the 'double update' trick
1464 * BufferView_pimpl.C (fitCursor): call refreshPar
1465 (workAreaDispatch): remove an uneeded update call
1466 (dispatch): remove some manual update calls
1468 * cursor.[Ch]: remove cached_y_, updatePos
1469 (selHandle): set noUpdate when appropriate
1471 * lyxfunc.C (dispatch): track if we need an update
1473 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1475 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1476 (paintSelection): cheap optimization, do not call cursorX when not
1478 (paintPars): change signature
1481 (paintTextInset): adjust
1485 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1487 * lengthcommon.C: compilation fix: remove explicit array size from
1488 unit_name[] and friends
1490 2004-04-05 Angus Leeming <leeming@lyx.org>
1492 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1494 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1495 present only for the preferences dialog.
1496 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1498 2004-04-05 Angus Leeming <leeming@lyx.org>
1500 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1501 to enable the frontends to export changes to lyxrc correctly.
1503 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1505 2004-04-07 André Pönitz <poenitz@gmx.net>
1507 * cursor.[Ch] (selClear, adjust): remove math
1509 * cursor_slice.C: more agressive assert
1512 * BufferView_pimpl.C: rework mouse event dispatch
1519 2004-04-05 André Pönitz <poenitz@gmx.net>
1521 * cursor.[Ch] (valign, halign...): remove unneeded functions
1523 2004-04-05 Angus Leeming <leeming@lyx.org>
1525 * lyxlength.[Ch] (unit_name et al.): const-correct.
1527 2004-04-05 Angus Leeming <leeming@lyx.org>
1529 * BufferView_pimpl.C:
1538 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1540 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1542 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1544 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1546 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1547 * BufferView_pimpl.[Ch] (getStatus)
1548 * BufferView.[Ch] (getStatus): add
1549 * lyxfunc.C (getStatus): move lfuns handled in
1550 BufferView::dispatch to te function above
1551 * Cursor.C (setSelection): set selection() = true
1553 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1555 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1557 2004-03-31 Angus Leeming <leeming@lyx.org>
1559 * lyxfunc.C (dispatch): Fall through to the generic
1560 Dialogs::show("preamble").
1562 2004-03-31 Angus Leeming <leeming@lyx.org>
1564 * lyxfunc.C (dispatch): Fall through to the generic
1565 Dialogs::show("spellchecker").
1567 2004-03-31 Angus Leeming <leeming@lyx.org>
1569 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1572 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1577 * insetiterator.[Ch]:
1582 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1584 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1586 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1587 insets where we are putting the cursor.
1589 2004-03-31 Angus Leeming <leeming@lyx.org>
1592 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1594 * lyxrc.[Ch] (read, write): overloaded member functions taking
1595 a std::[io]stream arguments.
1597 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1599 2004-03-31 Angus Leeming <leeming@lyx.org>
1601 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1602 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1604 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1605 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1607 2004-03-31 Angus Leeming <leeming@lyx.org>
1609 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1610 the LFUN_ALL_INSETS_TOGGLE code.
1612 2004-03-30 Angus Leeming <leeming@lyx.org>
1614 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1615 has died. Fall through to the generic Dialogs::show("document").
1617 2004-03-30 Angus Leeming <leeming@lyx.org>
1620 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1621 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1623 * lyxfunc.C (getStatus, dispatch): define the actions for these
1624 lfuns. Little more than a cut and pste job from ControlDocument.C
1626 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1628 2004-03-30 Angus Leeming <leeming@lyx.org>
1631 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1632 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1634 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1635 open/closed state of ollapsable insets. Usage:
1637 all-inset-toggle <state> <name>, where
1638 <state> == "open" || "closed" || "toggle" and
1639 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1641 * lyxtext.h, text2.C (toggleInset): removed.
1643 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1644 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1645 now passes LFUN_INSET_TOGGLE to the found inset.
1647 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1648 is now invoked as "all-insets-toggle toggle branch".
1650 2004-03-30 Angus Leeming <leeming@lyx.org>
1654 * pariterator.[Ch]: added/corrected header blurb.
1656 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1658 * dociterator.[Ch]: add an inset_ member
1659 (backwardPos): implemented
1660 (backwardPos, forwardPos): use inset_ when the stack is empty.
1661 (doc_iterator_begin, doc_iterator_end): implemented
1662 * pariterator.[Ch]: adjust, add begin, end
1663 * insetiterator.[Ch]: adjust, add begin, end
1667 * BufferView_pimpl.C:
1668 * CutAndPaste.C: adjust
1670 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1672 * buffer.C: increment file format to 232.
1673 * LaTeXFeatures.C: add bibtopic package.
1674 * bufferparams.[Ch]: param \use_bibtopic.
1676 * lyxrc.[Ch]: add lyxrc bibtex_command
1677 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1679 * buffer.C: increment file format to 231.
1681 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1683 * dociterator.C: implement forwardPar
1684 * iterators.[Ch]: remove, replaced by
1685 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1687 * BufferView_pimpl.C:
1690 * bufferview_funcs.C:
1696 * Makefile.am: adjust
1698 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1700 * CutAndPaste.C (pasteSelection): fix 2 crashes
1701 (eraseSelection): fix a crash
1702 * paragraph_funcs.C: remove a warning
1704 2004-03-28 Angus Leeming <leeming@lyx.org>
1707 * LyXAction.C (init): new LFUN_PRINT.
1709 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1711 2004-03-27 Angus Leeming <leeming@lyx.org>
1714 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1716 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1718 2004-03-27 Angus Leeming <leeming@lyx.org>
1720 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1721 insetlist always contains non-null pointers to insets.
1723 2004-03-26 Angus Leeming <leeming@lyx.org>
1725 * src/BufferView_pimpl.C:
1726 * src/CutAndPaste.C:
1729 * src/output_plaintext.C:
1730 * src/outputparams.h:
1731 * src/paragraph_funcs.C:
1735 * src/frontends/controllers/ControlErrorList.C:
1736 * src/frontends/gtk/FileDialogPrivate.C:
1737 * src/frontends/gtk/GPainter.C:
1738 * src/frontends/gtk/GToolbar.C:
1739 * src/frontends/qt2/QRef.C:
1740 * src/mathed/math_scriptinset.C: squash compiler warnings.
1742 2004-03-26 Angus Leeming <leeming@lyx.org>
1744 * ispell.C (LaunchIspell::start):
1745 * lyx_cb.C (AutoSaveBuffer::start):
1746 invoke run(DontWait) rather than runNonBlocking().
1748 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1750 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1752 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1754 * kbsequence.C (print): adjust
1756 * kbmap.C (printKeySym): rename and change signature
1757 (printKey): use LyXKeySym::print()
1759 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1761 * undo.C: add using std::advance to compile for stlport
1763 2004-03-24 Angus Leeming <leeming@lyx.org>
1765 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1766 it leads to a crash when no buffer is present.
1768 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1769 Martin Vermeer <martin.vermeer@hut.fi>
1771 * lyxfunc.C (dispatch):
1772 * bufferparams.C (readToken): use the new LColor::setColor
1774 * LColor.[Ch] (setColor): new version that takes two strings as
1775 argument and creates a new color entry if necessary
1777 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1779 * buffer.C (makeLaTeXFile): if the main latex file that is
1780 processed is usually a subdocument of some master, then pretend
1781 for a while that it is actually the master
1783 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1785 * buffer.C (getLabelList):
1786 (getBibkeyList): use getMasterBuffer()
1787 (getMasterBuffer): new method. Returns the main document in the
1788 case where one is using included documents.
1790 2004-03-25 André Pönitz <poenitz@gmx.net>
1794 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1796 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1798 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1799 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1801 * ParameterStruct.h: merge with ParagraphParameters
1803 * lyxtext.h: remove LyXText::parOffset() and getPar()
1805 * text3.C: Remove all 'manual' update calls. We do now one per user
1806 interaction which is completely sufficient.
1810 * BufferView_pimpl.C:
1811 * FontIterator.[Ch]:
1813 * ParagraphParameters.[Ch]:
1818 * cursor_slice.[Ch]:
1825 * output_docbook.[Ch]:
1826 * output_latex.[Ch]:
1827 * output_linuxdoc.[Ch]:
1828 * output_plaintext.[Ch]:
1830 * paragraph_funcs.[Ch]:
1831 * paragraph_pimpl.[Ch]:
1839 * frontends/controllers/ControlDocument.C:
1840 * frontends/controllers/ControlErrorList.C:
1841 * frontends/controllers/ControlSpellchecker.C:
1844 * insets/insetbase.h:
1845 * insets/insetbibitem.C:
1846 * insets/insetbox.C:
1847 * insets/insetbranch.C:
1848 * insets/insetcaption.C:
1849 * insets/insetcharstyle.C:
1850 * insets/insetcharstyle.h:
1851 * insets/insetcollapsable.C:
1852 * insets/insetcollapsable.h:
1853 * insets/insetert.C:
1854 * insets/insetfloat.C:
1855 * insets/insetfoot.C:
1856 * insets/insetmarginal.C:
1857 * insets/insetnote.C:
1858 * insets/insetoptarg.C:
1859 * insets/insettabular.C:
1860 * insets/insettext.C:
1861 * insets/insettext.h:
1862 * insets/insetwrap.C:
1863 * mathed/math_mboxinset.C:
1864 * mathed/math_nestinset.C:
1865 * mathed/math_scriptinset.C:
1866 * mathed/math_scriptinset.h:
1869 2004-03-24 Angus Leeming <leeming@lyx.org>
1871 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1872 deal with any child processes that have finished but are waiting to
1873 communicate this fact to the rest of LyX.
1875 2004-03-24 Angus Leeming <leeming@lyx.org>
1877 64-bit compile fixes.
1879 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1880 (c-tor): pass lyx::pos_types rather than ints.
1882 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1885 * text.C (Delete): compile fix.
1886 (getPar): ensure that function declaration is the same as that in
1889 2004-03-23 Angus Leeming <leeming@lyx.org>
1891 * ispell.C (LaunchIspell):
1892 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1893 a boost::shred_ptr rather than a std::auto_ptr.
1895 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1897 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1898 handle LFUN_FILE_INSERT_*
1900 * lyxrc.C (setDefaults, getDescription, output, read):
1901 * lyxrc.h: remove ps_command
1903 2004-03-22 Angus Leeming <leeming@lyx.org>
1905 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1906 Ensure that error_handler is processed once only and that all data
1907 is saved before attempting to output any warning messages.
1909 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1911 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1913 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1915 2004-03-19 André Pönitz <poenitz@gmx.net>
1917 * cursor.[Ch] (reset): take main text inset as argument
1919 * BufferView: adjust
1920 * BufferView_pimpl.C: adjust
1922 * paragraph.[Ch]: fix completely broken operator=()
1924 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1926 * LColor.C (getFromLyXName): make sure that the color name is used
1929 2004-03-17 Angus Leeming <leeming@lyx.org>
1932 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1934 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1935 dialog and to kill a forked process.
1937 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1939 * text2.C (setCursorFromCoordinates): fix font problem
1941 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1943 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1944 bogus "rebuild cursor" code
1946 2004-03-11 André Pönitz <poenitz@gmx.net>
1948 * buffer.[Ch]: use InsetText instead of LyXText as container for
1951 * dociterator.[Ch]: drop the BufferView * member which is not needed
1952 anymore after the change to buffer.C
1954 * paragraph_funcs.C:
1958 * BufferView_pimpl.[Ch]:
1960 * cursor_slice.[Ch]: adjust
1962 * text3.C: fix bug in mathDispatch
1964 2004-03-08 André Pönitz <poenitz@gmx.net>
1966 * undo.[Ch]: use 'StableDocumentIterator' as base for
1969 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1972 * bufferparams.[Ch]: add jurabib support and param.
1974 * LaTeX.C: add FIXME/comment.
1976 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1978 * buffer.C: increment file format to 230.
1980 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1982 * cursor.C (dispatch): avoid infinite loops
1984 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1986 * rowpainter.C (paintSelection): fix x coordinates
1988 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1990 * text.C (rowBreakPoint): fix breaking before displayed insets
1992 2004-03-01 André Pönitz <poenitz@gmx.net>
1994 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1996 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2000 * BufferView_pimpl.C:
2008 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2014 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2015 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2017 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2019 * Bidi.[Ch] (computeTables): const correctness
2020 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2021 fill_hfill, fill_label_hfill and x from Row
2022 * lyxtext.h: prepareToPrint returns a RowMetrics
2023 * rowPainter.C: adjust
2024 * text.C (prepareToPrint): use width, not textWidth. adjust
2025 (redoParagraphInternal, cursorX): adjust
2026 * text2.C (getColumnNearX): adjust
2027 (init): put a default value to the top LyXText::width
2029 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2031 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2033 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2035 * lyxtext.h: add FontIterator class
2037 * text.C (FontIterator, operator*, operator->, operator++): add
2038 (rowBreakPoint, setRowWidth): adjust (fixing a
2041 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2043 * BufferView_pimpl.C (workAreaDispatch): allow also
2044 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2046 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2048 * text.C (rowBreakPoint): fix a bug showing with very large insets
2050 2004-02-25 André Pönitz <poenitz@gmx.net>
2053 * cursor.[Ch]: move some mathed specific code to mathed
2055 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2057 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2058 use_tempdir in preferences
2059 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2061 * lyx_main.C: ensure that tempdir is valid
2062 * lyxlex.h: correct typo
2063 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2064 * paragraph.[Ch] (isMultiLingual): make const
2065 * cursor.[Ch] (openable): make const
2067 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2069 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2071 2004-02-20 André Pönitz <poenitz@gmx.net>
2073 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2075 * cursor.[Ch]: prepare for localized getStatus()
2081 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2083 2004-02-20 André Pönitz <poenitz@gmx.net>
2085 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2087 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2089 * text2.C (setCursorFromCoordinates): switch to absolute coords
2091 (cursorDown): adjust
2092 * text3.C (dispatch): adjust
2094 2004-02-16 André Pönitz <poenitz@gmx.net>
2096 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2099 * cursor_slice.[Ch]: remove unneeded acessor function
2101 * lyxtext.h: rename rtl() to isRTL()
2109 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2111 * rowpainter.C (paintSelection): coord fix
2113 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2115 * Spacing.C: compile fix
2117 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2119 * cursor.C (dispatch): restore current_ before returning
2121 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2123 * text2.C (cursorUp, cursorDown): fix coords
2126 2004-02-12 André Pönitz <poenitz@gmx.net>
2131 * text3.C: add LCursor & parameter to most cursor movement functions
2132 remove usage of LyXText::cursorRow() and cursorPar()
2134 * cursor.[Ch]: add textRow() needed members
2137 * BufferView_pimpl.C:
2140 * BufferView_pimpl.C: adjust
2142 2004-02-11 André Pönitz <poenitz@gmx.net>
2146 * BufferView_pimpl.C: shift undo/redo handling
2148 * cursor.[Ch]: fix mathed crash
2151 * lyxtext.h: move selectionAsText to LCursor
2159 * rowpainter.C: fix excessive drawing
2161 2004-02-06 André Pönitz <poenitz@gmx.net>
2164 * BufferView_pimpl.[Ch]:
2165 * text3.C: move some text specific LFUN handling
2167 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2169 * text3.C (checkInsetHit): adjust coords
2170 * text2.C (getColumnNearX): adjust coords
2171 (edit): adjust coords
2172 * text.C (getRowNearY): add two asserts
2174 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2177 * format.C: add using std::distance to compile on gcc 2.95/stlport
2179 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2181 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2183 2004-02-04 André Pönitz <poenitz@gmx.net>
2185 * BufferView.[Ch] (insertInset):
2186 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2191 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2193 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2194 on the default clause of the switch
2195 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2196 wasn't catched by LCursor::dispatch
2198 2004-02-03 André Pönitz <poenitz@gmx.net>
2201 * cursor.[Ch]: some additional asserts
2203 * undo.[Ch]: remove LyXText dependency in interface
2207 * lyxtext.h (firstPar, lastPar): remove dead functions
2212 * paragraph.[Ch]: adjust
2214 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2216 * lyxfind.C (find): fix argument order in call to ::find
2218 2004-02-02 André Pönitz <poenitz@gmx.net>
2220 * cursor.[Ch]: remove direct access to anchor
2222 * text.C: remove findText() hack
2224 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2226 * iterators.[Ch] (lockPath): remove in favour of...
2227 * BufferView.[Ch] (setCursor): this addition
2228 * BufferView.C (putSelectionAt): adjust
2229 * undo.C (performUndoOrRedo): adjust
2230 * lyxfunc.C (dispatch): adjust
2232 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2234 * iterators.C (lockPath): add a missing slice
2235 * undo.C (performUndoOrRedo): remove redundant positioning code
2237 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2239 * vc-backend.C (scanMaster): ";" -> ';'
2241 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2243 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2244 std::binary_function
2246 * lyxtextclass.C (compare_name): rename to...
2247 (LayoutNamesEqual): ...this
2249 * lyxlex_pimpl.C (compare_tags): inherit from
2250 std::binary_function, put back into anon namespace
2252 * lyxfind.C (MatchString): inherig from std::binary_function
2253 (findChange): use empty() istead of !size()
2255 * format.C (FormatNamesEqual): new functor
2262 * converter.C (compare_Converter): rename to...
2263 (ConverterEqual): ...this, and fixup a bit.
2264 (getConverter): use it, and make function const
2265 (getNumber): use it, and make function const
2269 * bufferlist.C: add using boost::bind
2271 * MenuBackend.C (MenuNamesEqual): new functor
2272 (hasMenu): use it, and make function const
2273 (hasSubmenu): use nested bind to get rid of compare_memfun.
2275 2004-01-30 André Pönitz <poenitz@gmx.net>
2277 * BufferView_pimpl.C:
2280 * cursor_slice.[Ch]:
2283 * paragraph_funcs.C:
2284 * paragraph_funcs.h:
2288 * text3.C: move some of the edit(x,y) handling to the insets
2289 some coordinate changes.
2291 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2293 * text.C: add using statements for std::advance and std::distance
2295 * paragraph.C: add using statement for std::distance
2297 * lyxfind.C: add using statement for std::advance
2299 * cursor.C (region): remove std:: from swap
2300 (openable): use nucleus in stead of operator->
2302 * BufferView.C: add using statements for std::distance and std::swap
2304 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2306 * iterators.C: Remove the pimple, move the needed structures to
2307 the header file. Create accessor for the positions stack.
2308 (asPosIterator): remove function
2310 * PosIterator.C (PosIterator): move constructors to top of file
2311 (PosIterator): reimplement the constructor taking a ParIterator in
2313 (setFrom): new function
2314 (operator!=): inline it
2316 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2318 * lyxfind.C (replaceAll): use std::advance
2320 * iterators.h: inherit from std::iterator.
2322 * PosIterator.C (advance, distance): remove
2323 * PosIterator.h: interit from std::iterator.
2325 2004-01-26 André Pönitz <poenitz@gmx.net>
2328 * BufferView_pimpl.[Ch]:
2332 * bufferview_funcs.C:
2342 * output_linuxdoc.C:
2343 * output_plaintext.C:
2345 * paragraph_funcs.[Ch]:
2346 * paragraph_pimpl.[Ch]:
2352 * text3.C: more IU: dumps most of the rest of the mathcursor
2353 implementation into cursor.[Ch]; "globalize" a bit of it.
2355 2004-01-25 Angus Leeming <leeming@lyx.org>
2357 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2359 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2361 * LaTeXFeatures.h: add nice_ and nice() const
2362 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2364 2004-01-20 André Pönitz <poenitz@gmx.net>
2367 * BufferView_pimpl.C:
2369 * bufferview_funcs.C:
2371 * cursor_slice.[Ch]:
2382 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2383 LCursor and mathcursor parts to LCursor and InsetBase.
2385 2004-01-15 André Pönitz <poenitz@gmx.net>
2387 * cursor_slice.[Ch]: add a few covienience functions
2389 * funcrequest.[Ch]: remove BufferView * member
2391 * BufferView_pimpl.C:
2398 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2400 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2402 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2403 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2405 2004-01-13 André Pönitz <poenitz@gmx.net>
2408 * lyxtext.h: hide cursor and selection anchor behind accessor function
2411 * BufferView_pimpl.[Ch]:
2413 * bufferview_funcs.C:
2423 * cursor_slice.[Ch]: some integer type changes for inset unification
2425 * lyxcursor.[hC]: remove, it's CursorSlice now.
2428 * BufferView_pimpl.[Ch]:
2429 * bufferview_funcs.C:
2435 * textcursor.[Ch]: adjust
2437 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2439 * text2.C (undoSpan): add and use
2440 * text.C (breakParagraph): use undoSpan (fix bug 578)
2443 2004-01-08 Angus Leeming <leeming@lyx.org>
2445 * BufferView_pimpl.C (MenuInsertLyXFile):
2446 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2447 * lyxfunc.C (menuNew, open, doImport):
2448 FileFilterList change to the FileDialog open and save functions.
2450 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2452 * ShareContainer.h: make isEqual and isUnique adaptable
2454 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2456 2004-01-07 Angus Leeming <leeming@lyx.org>
2459 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2461 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2463 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2464 functions replacing find, replace and replaceAll.
2466 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2467 LFUN_WORDFIND(FORWARD|BACKWARD).
2469 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2471 * text.C (breakParagraph): remove an outdated #warning
2473 2004-01-07 André Pönitz <poenitz@gmx.net>
2475 * lyxfind.C: somewhat clearer logic
2477 * text.C: prevent crash in cursorX on unitialized row cache
2479 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2481 * lyxcursor.[Ch] (operator>): add
2482 * textcursor.C (selStart, selEnd): use std::min and std::max
2484 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2486 * Chktex.C: include boost/format.hpp
2488 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2490 * InsetList.C: replace functor MathcIt with adaptable functor
2492 (insetIterator): modify accordingly
2494 * BranchList.h: move the BranchNamesEqual functor here from...
2495 * BranchList.C: ... to here
2497 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2499 (add): replace a finding loop with std::find_if.
2501 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2503 * output_docbook.C: moving LatexParam functionality into
2506 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2508 * buffer.C: increment format to 229.
2510 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2513 * lyx_sty.[Ch]: remove minipageindent_def
2519 * text3.C: remove LFUN_INSET_MINIPAGE
2521 2003-12-28 Angus Leeming <leeming@lyx.org>
2523 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2525 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2527 * text2.C (setParagraph): fix off-by-one crash
2529 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2531 * output_docbook.C: header stuff for AGU
2533 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2535 * text2.C (redoCursor): remove
2538 * BufferView_pimpl.C: remove calls to redoCursor and
2539 setCursor(cursor.par(), cursor.pos()) all around
2541 2003-12-15 Angus Leeming <leeming@lyx.org>
2543 * buffer.C: up the format to 228.
2545 2003-12-15 André Pönitz <poenitz@gmx.net>
2547 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2552 * BufferView_pimpl.C:
2561 2003-12-15 Angus Leeming <leeming@lyx.org>
2563 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2564 than getFromGUIName to manipulate the color.
2566 2003-12-14 Angus Leeming <leeming@lyx.org>
2568 * BranchList.[Ch]: minimize the API.
2569 (Branch::getBranch, getColor): now return a 'const &'.
2570 (Branch::setSelected) now returns a bool set to true if the
2571 selection status changes.
2572 (BranchList::clear, size, getColor, setColor, setSelected,
2573 allBranches, allSelected, separator): removed.
2574 (BranchList::find): new functions, returning the Branch with
2576 (BranchList::add, remove): return a bool indicating that
2577 the operation was successful.
2579 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2580 new InsetBranch::isBranchSlected member function.
2582 * LColor.[Ch]: mimimize the API.
2583 (fill): renamed as addColor and made private.
2584 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2585 versions of these functions taking a string arg have been removed.
2587 * bufferparams.C (readToken):
2588 * lyxfunc.C (dispatch):
2589 * lyxrc.C (read): changes due to the altered BranchList and
2592 * factory.C (createInset, readInset): changes due to altered
2595 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2598 * lyxfunc.C: remove insetminipage. "minipage-insert"
2599 now produces a frameless minipage box inset.
2601 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2603 * textcursor.[Ch] (selStart,selEnd): add new methods
2604 remove selection::start, end, use LyXCursor::operator<
2605 * lyxcursor.[Ch] (operator<): add
2606 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2607 * BufferView.[Ch] (unsetXSel): add
2608 * text2.C (clearSelection): use unsetXSel,adjust
2611 * rowpainter.C: adjust
2612 * bufferview_funcs.C (put_selection_at): adjust
2614 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2616 * BufferView_pimpl.C: small coord. correction
2618 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2620 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2621 dragging over the splash screen.
2623 2003-12-11 Angus Leeming <leeming@lyx.org>
2625 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2626 as it is now handled in LyXText::dispatch.
2628 * text3.C (doInsertInset): remove a level of nesting.
2630 2003-12-11 Angus Leeming <leeming@lyx.org>
2632 * factory.C (createInset): changes due to the changed interface to
2633 InsetCommandMailer::string2params.
2635 2003-12-10 Angus Leeming <leeming@lyx.org>
2637 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2638 'dialog-show-new-inset <inset name>'
2640 2003-12-10 Angus Leeming <leeming@lyx.org>
2642 * buffer.C: up the format to 227.
2644 * factory.C: the box inset is now identified simply by 'Box'.
2646 2003-12-10 Angus Leeming <leeming@lyx.org>
2648 * buffer.C: up the format to 226.
2650 * factory.C: the note inset is now identified simply by 'Note'.
2652 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2654 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2655 when a pit is enough. Standarize a couple of loops.
2657 2003-12-05 Angus Leeming <leeming@lyx.org>
2659 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2660 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2661 data to the re-worked "log" dialog.
2663 2003-12-03 André Pönitz <poenitz@gmx.net>
2669 * paragraph_funcs.C:
2671 * text2.C: use Inset::getText instead of Inset::getParagraph
2673 2003-12-03 André Pönitz <poenitz@gmx.net>
2677 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2678 InsetText::read() as LyXText::read()
2680 2003-12-02 Angus Leeming <leeming@lyx.org>
2682 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2683 type. Add a comment in the implementation that the function uses
2684 the stream's bad() function rather than fail() as the std::streams
2687 2003-12-02 André Pönitz <poenitz@gmx.net>
2689 * lyxlex.[Ch]: make interface more similar to std::stream
2691 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2693 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2695 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2697 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2699 * vspace.[Ch]: remove VSpace::NONE
2701 2003-12-01 André Pönitz <poenitz@gmx.net>
2704 * lyxtext.h: move ParagraphList member to LyXText
2705 rename LyXText::ownerParagraphs to LyXText::paragraph
2708 * bufferview_funcs.C:
2718 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2720 * undo.C: fix cursor positioning
2722 2003-12-01 John Levon <levon@movementarian.org>
2724 * BufferView_pimpl.C: fix a crash on exit with
2727 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2729 * BranchList.C: fix setSelected() method.
2731 2003-11-28 André Pönitz <poenitz@gmx.net>
2733 * ParagraphParameters.[Ch]:
2734 * ParameterStruct.h: remove space above/below from Paragraph to
2737 * BufferView_pimpl.C:
2743 * paragraph_funcs.C:
2749 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2751 * factory.C: Syntax change for CharStyles
2753 2003-11-28 André Pönitz <poenitz@gmx.net>
2758 * buffer.[Ch]: move LyXText member
2760 2003-11-28 André Pönitz <poenitz@gmx.net>
2762 * BufferView.[Ch]: make LyXText * text a private member
2764 * BufferView_pimpl.C:
2775 * output_plaintext.C: cleanup
2777 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2780 * lyxtextclass.[Ch]: parametrize SGML document header
2782 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2785 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2788 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2790 * text2.C (setFont): rework using PosIterator (no more recursive)
2791 (setCharFont): no more needed
2792 (setLayout): no more selection cursors fiddling (done by redoCursor)
2793 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2794 destroy remaining ones)
2796 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2798 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2800 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2803 * text3.C: adjust + re-allow multi par depth changes
2804 * textcursor.C: simplify a bit
2806 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2812 * src/output_docbook.C:
2813 * src/output_latex.C:
2818 * src/text2.C: Introducing a number of tags parametrizing various
2819 XML formats that we may want to support
2821 2003-11-25 André Pönitz <poenitz@gmx.net>
2823 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2825 * lyxtext.h (leftMargin/rightMargin): simplify interface
2832 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2834 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2835 master file to any child files. Fixes bug 546.
2837 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2839 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2841 2003-11-24 André Pönitz <poenitz@gmx.net>
2843 * rowpainter.C: simplification
2845 * text2.C (updateCounters): remove call to redoParagraph on
2846 changed labels as this is far too expensive.
2848 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2850 * converter.C (convert): fix a crash: this function gets
2851 called with buffer == 0 from importer code.
2853 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2855 * text3.C (cursorPrevious): make sure that we do not compare
2856 iterators form different containers.
2859 * rowpainter.C (paintSelection): make sure that we do not compare
2860 iterators from different containers.
2862 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2863 iterators from different ParagraphList containers.
2866 * text2.C (LyXText): change order of initialization slightly
2867 (operator=): new function. copy all variables except cache_par_
2868 (moveUp): make sure that we do not compare iterators from
2869 different ParagraphList constainers.
2872 * text.C (firstPar): new function
2873 (lastPar): new function
2874 (endPar): new function
2876 * lyxtext.h: move things around and group public functions, public
2877 variables, private functions, private variables
2879 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2881 * factory.C: change call to InsetERT constructor to avoid
2882 additional invocation of method status
2883 * text2.C (toggleInset): remove redundant update() call
2884 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2885 instead of a Bufferview pointer
2887 2003-11-21 André Pönitz <poenitz@gmx.net>
2889 * rowpainter.C: simplification
2891 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2893 * text3.C (dispatch): make possible to extend a word/row selection
2896 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2898 * lyxtext.h: x0_,y0_ -> xo_,yo_
2899 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2900 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2901 * rowpainter.C (paintRows): paint full paragraphs
2903 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2905 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2908 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2910 * lyxtext.h: add x0_, y0_
2911 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2912 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2914 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2916 * text2.C (setCursorIntern): move the x_target update here *
2917 * text3.C: change some bv() to true/false in calls to
2918 cursorUp/Down/Right/Left
2919 * cursor.C: use helper function.
2921 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2923 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2924 * paragraph_funcs.[Ch]: correct comment
2925 * rowpainter.C: do not paint selections away from bv->cursor()
2926 Fix a long standing selection painting bug.
2927 * text3.C: generalize mouse-selection code to LyXTexts other that
2929 * textcursor.C: do not use y coords if we can use par offsets
2931 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2933 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2934 cursor position after e.g. inset insert)
2936 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2938 * lyxfind.C (replace): adjust to locking removal + some
2941 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2943 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2946 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2949 * output_docbook.C: XML sanitation: new layout
2950 parameters InnerTag and CommandDepth
2952 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2954 * BufferView_pimpl.C:
2956 * text3.C: Fix the insertion and modification of button-style
2959 2003-11-13 André Pönitz <poenitz@gmx.net>
2961 * InsetList.[Ch]: remove deleteLyXText
2963 * paragraph.[Ch]: cache beginOfBody position
2968 * text3.C: remove superfluous update() calls
2972 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2974 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2975 * BufferView.C (fitLockedInsetCursor): remove
2976 * cursor.[Ch] (getDim): add
2977 * text.C (getRowNearY): add faster version
2978 * text3.C: remove some update calls
2980 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2992 * text3.C: The Character Style /XML short element patch.
2994 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2997 * factory.C: Small step to solving 'unable to insert some insets'
3000 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3002 * cursor.[Ch] (updatePos): new function for updating the y
3003 position of the tip inset
3004 * bufferview_funcs.C (put_selection_at):
3005 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3007 2003-11-11 André Pönitz <poenitz@gmx.net>
3009 * text.C: remove big comment on invalid Paragraph pointers as it is
3012 2003-11-11 André Pönitz <poenitz@gmx.net>
3014 * text_funcs.[Ch]: merge with ...
3022 * Makefile.am: remove text_funcs.[Ch]
3024 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3026 * cursor.C (getPos): return absolute cached y coord
3028 * BufferView_pimpl.C (fitCursor): new simplistic code
3029 (workAreaDispatch): add a fitCursor call
3031 2003-11-10 André Pönitz <poenitz@gmx.net>
3034 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3036 2003-11-10 André Pönitz <poenitz@gmx.net>
3038 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3039 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3040 indicate that the cursor needs to leave an inset
3042 * lyxtext.h: remove inset locking
3044 * cursor.[Ch]: re-implement functionality provided by inset locking
3047 * BufferView_pimpl.[Ch]:
3049 * bufferview_funcs.[Ch]:
3061 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3063 * PosIterator.[Ch]: replace the stack with a vector, add inset
3065 * iterators.[C]: adjust
3067 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3069 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3071 * paragraph_funcs.C (readParToken): put the correct id in the
3072 error item, not the id of the top paragraph
3074 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3076 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3077 * bufferview_funcs.C (put_selection_at): use the above
3079 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3081 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3083 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3085 * output_linuxdoc.h:
3086 * output_plaintext.h:
3088 * output_docbook.h: add #include statements
3090 2003-11-05 José Matos <jamatos@lyx.org>
3092 * output_docbook.[Ch]:
3093 * output_latex.[Ch]:
3094 * output_linuxdoc.[Ch]:
3095 * output_plaintext.[Ch]: New files for output formats.
3096 * output.[Ch]: New file for helper functions.
3099 * paragraph_funcs.[Ch]: output functions moved to new files.
3101 * outputparams.h: rename of latexrunparams.h
3109 * paragraph_funcs.[Ch]:
3110 * paragraph_pimpl.[Ch]:
3111 * tabular.[Ch]: rename ascii to plaintext
3112 and LatexRunParams to OutputParams.
3114 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3116 * iterators.[Ch] (text): require bv argument
3117 * undo.C (recordUndo):
3118 * lyxfunc.C (dispatch):
3119 * bufferview_funcs.C (put_selection_at): adjust
3121 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3123 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3125 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3127 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3130 2003-11-04 André Pönitz <poenitz@gmx.net>
3132 * cursor.[Ch]: restructure
3135 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3137 * iterators.[Ch] (asCursor): remove
3139 * lfuns.h: remove LFUN_INSET_EDIT
3145 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3147 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3149 * lyxfind.[Ch]: complete overhaul
3150 * BufferView_pimpl.C:
3152 * paragraph.[Ch] (insert): add
3154 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3158 * text.C: remove dead spellcheck code
3160 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3162 * dispatchresult.h: add a val setter
3164 * cursor.C (dispatch): use a tempvar for data_[i]
3166 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3168 * PosIterator.[Ch]: compile fix
3170 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3172 * text.C (cursorPar): deactivate the cursor cache
3174 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3176 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3178 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * text3.C (dispatch): adjust for new DisptchResult semantics.
3182 * lyxfunc.C (dispatch): handle update when return from
3183 Cursor::dispatch, adjust for new DispatchResult semantics.
3185 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3186 DispatchResult(true) mean to not update. Add class functions for
3187 setting dispatched and update, as well as reading.
3189 * cursor.C (dispatch): don't handle update here
3191 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3193 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3194 * trans_mgr.C: adjust
3196 * paragraph_funcs.C (readParToken): exception safety
3198 * lyxvc.h: store the vcs pointer in a scoped_ptr
3201 * lyxsocket.C (serverCallback): exception safety
3203 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3205 * ispell.C (clone): make it return a auto_ptr
3207 * factory.C (createInset): exception safety
3208 (readInset): exception safety
3210 * bufferlist.C (newBuffer): exception safety
3212 * Thesaurus.C (Thesaurus): use initialization for aik_
3214 * MenuBackend.C (expandToc): exception safety.
3216 2003-11-03 André Pönitz <poenitz@gmx.net>
3220 * bufferview_funcs.C: remove getInsetFromId()
3223 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3229 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3231 * PosIterator.C (distance, advance): new
3232 * bufferview_funcs.[Ch] (put_selection_at): new
3233 * iterators.[Ch] (lockPath): new
3235 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3237 * iterators.[Ch] (asPosIterator): added
3238 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3239 * PosIterator.[Ch]: added
3241 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * cursor.C (dispatch):
3246 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3248 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3249 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3250 contructor, add a class function dispatched. Remove operator>=
3252 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3254 * debug.C: only use the default constructor for debugstream
3257 * main.C (main): include debug.h and setup the lyxerr streambuf
3260 2003-10-31 José Matos <jamatos@lyx.org>
3262 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3264 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3265 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3266 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3267 * paragraph_pimpl.C (simpleTeXSpecialC):
3268 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3269 add LatexRunParams argument.
3271 * exporter.C (Export): change call accordingly.
3273 * latexrunparams.h: add new member to take care of the other backends.
3274 2003-10-30 José Matos <jamatos@lyx.org>
3276 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3277 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3278 factorise code for paragraph output.
3280 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3283 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3285 * text3.C (dispatch):
3286 * lyxfunc.C (dispatch):
3287 * cursor.C (dispatch):
3288 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3290 * dispatchresult.h: make the dispatch_result_t ctor explicit
3292 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3295 * buffer.C: small refactoring of docbook stuff
3297 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3302 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3305 operator dispatch_result_t, and operators for == != and >=
3307 * cursor.C (dispatch): adjust for operator dispatch_result_t
3308 removal. comment out call to update
3310 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3312 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3320 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3323 * dispatchresult.h: new file, DispatchResult broken out of
3326 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3328 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3330 * text.C (rowBreakPoint): put a hack inside #if 0
3332 2003-10-28 André Pönitz <poenitz@gmx.net>
3336 * paragraph_funcs.C:
3339 * text2.C: general cleanup (lots of small stuff)
3341 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3343 * text2.C (cursorEnd): simple fix to the "end key goes to one
3344 before the end on last row" bug
3346 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3348 * text.C (backspace): fix the "zombie characters"
3350 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3352 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3354 2003-10-27 André Pönitz <poenitz@gmx.net>
3356 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3358 * factory.C: handle new InsetPagebreak, InsetLine
3360 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3361 and move handling into new InsetPagebreak, InsetLine
3363 * BufferView_pimpl.C:
3365 * ParagraphParameters.C:
3366 * ParameterStruct.h:
3371 * paragraph_funcs.C:
3372 * paragraph_pimpl.C:
3378 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3381 * lyxrow_funcs.[Ch]:
3387 * text3.C: remove lastPos uses in favour of Row::endpos
3389 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3391 * undo.C (performUndoOrRedo): fix two crashes by setting a
3392 cursor by hand and reordering some calls. Use bv->lockInset instead
3393 of inset->edit because the latter loses cursor information
3395 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3397 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3399 (rowBreakPoint): fix width. change point to point + 1.
3400 Add a missing check.
3402 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3405 * lyxfunc.C: fix (at least partly) the problems
3406 with the Nav menu and headers inside branch insets
3409 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3411 * paragraph.C (getChar): add strong asserts
3413 * lyxrow_funcs.C (lastPos): remove hideous hack
3415 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3416 (fill): adjust to that (avoid an infinite loop)
3418 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3420 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3422 2003-10-23 André Pönitz <poenitz@gmx.net>
3424 * RowList_fwd.h: change list<> to vector<> to gain speed
3425 after suggestion from Alfredo
3427 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3429 * lyxtext.h: move the bidi stuff from here...
3432 * Bidi.[Ch]: ... to here
3434 2003-10-23 André Pönitz <poenitz@gmx.net>
3437 * text.C (isLastRow, isFirstRow): new functions
3439 * paragraph.h: new width cache member
3441 * rowpainter.C: replace RowList::iterator with Row & where possible
3443 * lyxfunc.C: replace several view()->text with a single call
3445 * toc.C: fix 'unused' warning
3447 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3449 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3450 when woring with stream::pos_type
3451 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3453 2003-10-22 André Pönitz <poenitz@gmx.net>
3456 * text.C: use Row & instead of RowList::iterator
3458 * lyxrow.h: rename end() to endpos()
3464 2003-10-22 Angus Leeming <leeming@lyx.org>
3466 * buffer.[Ch] (fully_loaded): new member function, returning true
3467 only when the file has been loaded fully.
3468 Used to prevent the premature generation of previews and by the
3469 citation inset to prevent computation of the natbib-style label.
3471 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3472 templates are all set up.
3474 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3476 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3478 * text.C: fixed an "oops" in the "is a bit silly"
3481 2003-10-21 André Pönitz <poenitz@gmx.net>
3483 * FuncStatus.[Ch]: small stuff, whitespace
3485 * lyxfont.[Ch]: operator<<() for debug reasons
3489 * lyxtext.h: whitespace, spelling
3491 * paragraph.C: naming of variables
3494 * text2.C: small stuff
3497 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3499 * text.C: (1) finish off the inset display() work;
3500 (2) fix the "is a bit silly" bug (accessing char
3503 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3505 * text.C: re-introduce display() for insets, fixing the
3506 various bugs (stretch of line above, math inset
3509 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3511 * text.C (rightMargin): remove spurious semicolon
3513 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3516 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3518 * text3.C: fix one crash due to wrong cursor def
3520 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * vc-backend.C (scanMaster): make the regex static
3524 * LaTeX.C (scanAuxFile): make the regexs static
3526 * text3.C (doInsertInset, dispatch, dispatch):
3527 * text2.C (cursorUp, cursorDown):
3528 * text.C (selectNextWordToSpellcheck):
3529 * BufferView_pimpl.C (dispatch):
3530 * lyxfunc.C (dispatch): localDispatch -> dispatch
3532 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3534 * lyxsocket.C: include <cerrno>
3536 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * lyxfunc.C (dispatch): remove textcache stuff
3540 * bufferlist.C (release): remove textcache stuff
3543 * TextCache.C: delete file
3544 * TextCache.h: delete file
3546 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3548 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3549 delete of the bv_->text.
3550 (resizeCurrentBuffer): remove texcache stuff
3551 (workAreaResize): ditto
3553 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3558 2003-10-16 André Pönitz <poenitz@gmx.net>
3565 * text3.C: speed up by storing y positions per paragraph plus per-row
3566 offset instead of having a 'full' y position in the row.
3568 2003-10-15 André Pönitz <poenitz@gmx.net>
3572 * undo.[Ch]: make undo aware of inner insets
3574 2003-10-14 Angus Leeming <leeming@lyx.org>
3576 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3577 static member functions LyX::ref() and LyX::cref.
3578 (lastfiles): new accessor functions for the new lastfiles_ member var.
3579 (addLyXView, views_): add a new LyXView to the list of views_.
3580 (updateInset): loop over all LyXViews to call their own updateInset
3581 member function, returning a pointer to the Buffer owning the inset.
3583 * BufferView_pimpl.C (loadLyXFile):
3584 * MenuBackend.C (expandLastfiles):
3585 * bufferlist.C (MenuWrite, QuitLyX):
3586 lastfiles is no longer a global variable.
3587 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3589 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3590 static function. Access through LyX::cref().emergencyCleanup().
3592 2003-10-14 André Pönitz <poenitz@gmx.net>
3594 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3596 * undo.[Ch]: restoring part of 'undo in insets'
3599 * undo_funcs.[Ch]: merge with undo.[Ch]
3601 * tabular.C: small cleansing stuff
3603 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3605 * paragraph_funcs.C (readParToken): report unknown insets as error
3606 boxes. Use the outer paragraph as location (also for unknown
3609 * factory.C (readInset): do not abort on reading an unknown inset.
3610 Eat it and return 0.
3612 2003-10-13 Angus Leeming <leeming@lyx.org>
3614 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3616 * lyxrc.C: displayTranslator is now a function,
3617 declared in GraphicsTypes.h.
3619 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3621 * format.C: new placeholder $$a to pass the socket address.
3623 * bufferlist.[Ch]: new function getBufferFromTmp.
3625 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3626 files in the temporary dir.
3628 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3630 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3632 * Makefile.am: add lyxsocket.[Ch].
3634 * lyx_main.C (error_handler): handle SIGPIPE.
3636 2003-10-13 André Pönitz <poenitz@gmx.net>
3638 * BufferView_pimpl.C:
3643 * undo_funcs.[Ch]: use paroffset_type instead of
3644 ParagraphList::iterators to prevent multiple conversion
3645 (and get a more robust interface)
3647 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3651 * text3.C (dispatch): ditto
3653 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3656 move the onlyfile, use onlyfile instead of foundfile in a couple
3659 * DepTable.C (update): flush the error stream a bit more
3661 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3663 * lyxserver.C (callback): adjust
3665 * lyxfunc.C (getStatus): add a missing brace in commented code
3666 (ensureBufferClean): reindent
3667 (dispatch): delete version taking a string
3669 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * LaTeX.C (deplog): move found file handlig from here...
3672 (handleFoundFile): .. to new function here.
3673 (deplog): make sure to discover several files mentioned on the
3676 2003-10-10 André Pönitz <poenitz@gmx.net>
3683 * text3.C: fix some of the tabular crashes
3685 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3687 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3689 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3691 2003-10-09 André Pönitz <poenitz@gmx.net>
3693 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3696 * BufferView_pimpl.C:
3697 * bufferview_funcs.C:
3708 * undo_funcs.C: adjust
3710 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * text2.C (incrementItemDepth): new function, use a backtracking
3713 algorithm to discover the correct item depth.
3714 (resetEnumCounterIfNeeded): new function, use a backtracking
3715 algorithm to discover if counter reset is needed.
3716 (setCounter): use them. Simplify a bit. Add different labels for
3717 different item depths for itemize.
3719 * paragraph.C (Paragraph): remove initialization of enumdepth
3722 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3723 enumerate and itemize. Change the type of itemdepth to signed char.
3725 2003-10-08 André Pönitz <poenitz@gmx.net>
3727 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3732 * tabular.[Ch]: fix crash after 'row-insert'
3734 2003-10-08 Angus Leeming <leeming@lyx.org>
3736 Fix doxygen warnings.
3738 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3739 Remove CutAndPaste:: prefix from header file declaration.
3741 * LColor.h (fill): remove LColor:: prefix from declaration.
3743 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3744 use lyx::depth_type rather than Paragraph::depth_type so that
3745 header file and .C file match.
3747 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3749 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3750 * aspell.C: \file aspell_local.C -> \file aspell.C
3751 * gettext.C: \file gettext.C -> \file src/gettext.C
3752 * gettext.h: \file gettext.h -> \file src/gettext.h
3753 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3754 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3755 * text.C: \file text.C -> \file src/text.C
3757 * toc.C: move comment so that doxygen is not confused.
3759 2003-10-07 Angus Leeming <leeming@lyx.org>
3761 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3763 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3766 * aspell_local.h: add forgotten std::string's.
3768 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3775 * text3.C: The Box patch. Fancybox support, minipage, parbox
3777 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3783 * ParagraphParameters.h:
3793 * lyxtextclasslist.h:
3796 * paragraph_pimpl.C:
3797 * textcursor.h: add <string> and other small fixes to make Lars'
3798 std::string patch compile with STLport.
3800 2003-10-06 Angus Leeming <leeming@lyx.org>
3802 * LColor.h: Add missing #include <string>.
3804 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * All most all file in all subdirs: Make <string> be the prefered
3807 way of getting to std::string, add using declarations.
3809 2003-10-06 André Pönitz <poenitz@gmx.net>
3811 * metricsinfo.C: initialize LyXFont before changing attribute.
3812 (fixes the 'math in \emph is upright' bug)
3814 2003-10-06 André Pönitz <poenitz@gmx.net>
3816 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3818 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3821 * paragraph_pimpl.C: Small fixes to build using STLport
3823 2003-10-02 André Pönitz <poenitz@gmx.net>
3826 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3828 2003-10-01 André Pönitz <poenitz@gmx.net>
3830 * factory.C: assert early
3832 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * lyx_main.C: remove the global debug object
3836 * debug.h: adjust for new debugstream
3838 * debug.C: adjust for new debugstream and keep the global debug
3841 2003-09-22 Angus Leeming <leeming@lyx.org>
3843 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3844 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3845 an incomplete class LyXFont.
3847 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3849 * factory.C: bug fix in branches
3851 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3853 * lyxfunc.C (processKeySym): adjust
3855 (dispatch): change arg name from ev to func, adjust
3856 (sendDispatchMessage): ditto
3858 * lyx_main.C (defaultKeyBindings): adjust keybindings
3859 (deadKeyBindings): ditto
3861 * kbsequence.C (addkey): return a FuncRequest
3863 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3865 * kbmap.C (bind): take a FuncRequest as arg, adjust
3868 (defkey): change to take a FuncRequest as arg, adjust
3869 (findbinding): take a FuncRequest as arg, adjust.
3871 * funcrequest.h (operator=): added
3873 * funcrequest.C (FuncRequest): default kb_action changed from
3874 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3876 * buffer.C (dispatch): simplify
3877 (dispatch): adjust to take a FuncRequest as arg, adjust
3879 * boost.C (assertion_failed): change assertion message slightly
3881 * ToolbarBackend.C (read): simplify
3883 * MenuBackend.C (binding): adjust call to findbinding, add a
3884 message if no binding is found.
3886 (expandToc): correct by adding a empty FuncRequest
3888 * LyXAction.C: include <boost/assert.hpp>
3889 (isPseudoAction): delete function
3890 (LookupFunc): change name to...
3891 (lookupFunc): this. change return type to FuncRequest.
3892 (getActionName): take kb_action as arg, simplify
3893 (funcHasFlag): add an assert, simplify.
3895 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3897 * toc.C (action): return a FuncRequest, simplify
3899 * lyxfunc.C (processKeySym): adjust
3900 (getStatus): delete version that takes an int.
3902 (dispatch): delete version that takes action as int
3904 (sendDispatchMessage): simplify and adjust
3906 * funcrequest.C (getArg): take unsigned int as arg
3908 * ToolbarBackend.C (read): adjust
3909 (add): delete version that takes func as a string.
3910 (getIton): take a FuncRequest as arg
3912 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3915 * MenuBackend.C (MenuItem): add a new construct that only takes a
3916 Kind, simplify the constructor use for submenus.
3918 (expandLastfiles): adjust
3919 (expandDocuments): adjust
3920 (expandFormats): adjust
3921 (expandFloatListInsert): adjust
3922 (expandFloatInsert): adjust
3923 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3925 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3926 Remove class variables lyx_pseudo_map and lyx_arg_map
3928 * LyXAction.C (searchActionArg): delete function
3929 (getPseudoAction): delete function
3930 (retrieveActionArg): delete function
3931 (LookupFunc): make it return kb_action, simplify.
3932 (getActionName): simplify
3934 * factory.C (createInset): fix new bug
3936 2003-09-19 Angus Leeming <leeming@lyx.org>
3938 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3939 masterFilename_ parameter in the include inset.
3941 * factory.C (createInset): changes due to the changes to InsetInclude.
3943 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3945 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3947 2003-09-18 Angus Leeming <leeming@lyx.org>
3950 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3951 Inset::fillWithBibKeys.
3952 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3954 2003-09-18 Angus Leeming <leeming@lyx.org>
3956 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3958 (ctor): pass and store a 'Buffer const &'
3959 (buffer): new member function.
3961 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3962 '*this' to the LaTeXFeatures ctor.
3964 2003-09-18 Angus Leeming <leeming@lyx.org>
3970 * text.C: rename EnumLColor as LColor_color.
3972 2003-09-18 Angus Leeming <leeming@lyx.org>
3974 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3975 remove #include "insets/insetbase.h" from cursor.h.
3977 2003-09-18 Angus Leeming <leeming@lyx.org>
3979 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3980 InsetOld_code to remove #include "inset.h".
3982 * iterators.C: add #include "insets/inset.h"
3984 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3986 * BufferView.C: remove more locking stuff that apparently doesn't
3987 do anything sensible.
3989 2003-09-16 André Pönitz <poenitz@gmx.net>
3992 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3995 2003-09-16 Angus Leeming <leeming@lyx.org>
3997 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3999 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4002 * paragraph.h: remove #include "lyxfont.h". Forward declare
4005 2003-09-16 Angus Leeming <leeming@lyx.org>
4007 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4008 of support/textutils.h.
4009 (isWord): move the contents of support/textutils.h's IsWordChar here.
4015 * text2.C: add #include "paragraph.h".
4018 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4020 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * LaTeX.C: use namespace alias for lyx::support::os
4028 2003-09-16 Angus Leeming <leeming@lyx.org>
4031 * bufferview_funcs.C:
4034 * paragraph_pimpl.C:
4036 * text.C: add #include "LColor.h".
4038 2003-09-16 Angus Leeming <leeming@lyx.org>
4040 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4041 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4043 Store the FontBits::color variable as an int rather than as an
4044 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4047 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4048 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4049 string calls together.
4051 * lyxrc.C: add #include "LColor.h".
4053 2003-09-15 Angus Leeming <leeming@lyx.org>
4055 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4058 2003-09-15 Angus Leeming <leeming@lyx.org>
4060 * LColor.h: add an EnumLColor wrapper for LColor::color.
4062 * lyxfont.[Ch] (color, setColor, realColor):
4063 * lyxtext.h, text.C (backgroundColor):
4064 pass EnumLColor args to/from the functions, rather than LColor::color
4068 * lyxtext.h: forward declare EnumLColor.
4070 * lyx_main.C: add #include "LColor.h".
4072 2003-09-15 Angus Leeming <leeming@lyx.org>
4074 * .cvsignore: add lyx-gtk.
4076 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4081 * ParagraphParameters.C
4085 * bufferview_funcs.C
4095 * vc-backend.C: remove usage of STRCONV
4097 2003-09-15 Angus Leeming <leeming@lyx.org>
4099 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4100 explicitly define the color passed to the painter.
4102 2003-09-15 Angus Leeming <leeming@lyx.org>
4104 * bufferparams.C (BufferParams): reorder member initializers to avoid
4107 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4109 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4110 * text.C (updateRowPositions): remove an unusual nop
4112 2003-09-12 André Pönitz <poenitz@gmx.net>
4114 * BufferView_pimpl.C:
4123 * Counters.[Ch]: finish the 'automatic counters' job
4125 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4127 * aspell.C: include <boost/assert.cpp> (compile fix)
4129 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4131 * boost.C (assertion_failed): use lyx::support::abort instead of
4134 2003-09-10 Angus Leeming <leeming@lyx.org>
4136 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4137 with their _fwd progeny.
4139 2003-09-09 Angus Leeming <leeming@lyx.org>
4141 134 files throughtout the source tree: replace 'using namespace abc;'
4142 directives with the appropriate 'using abc::xyz;' declarations.
4144 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4146 * boost.C (emergencyCleanup): moved here from LAssert.c
4147 (assertion_failed): new function, called by BOOST_ASSERT
4149 * several files: change Assert to BOOST_ASSERT
4151 2003-09-09 Angus Leeming <leeming@lyx.org>
4153 * buffer.[Ch]: Add an Impl class and move Buffer's member
4154 variables into it. As a result move several header files out of
4157 Add header files to lots of .C files all over the tree as a result.
4159 2003-09-09 Angus Leeming <leeming@lyx.org>
4161 * buffer.[Ch]: make Buffer's member variables private. Add
4164 Lots of changes all over the tree as a result.
4166 2003-09-08 Angus Leeming <leeming@lyx.org>
4168 * graph.C: #include <config.h>.
4170 2003-09-08 Angus Leeming <leeming@lyx.org>
4174 * BufferView_pimpl.C:
4203 * toc.C: remove redundant using directives.
4205 2003-09-07 Angus Leeming <leeming@lyx.org>
4207 * LaTeXFeatures.h: remove #include "support/types.h".
4208 * ToolbarBackend.h: remove #include <algorithm>.
4209 * changes.h: remove #include <ctime>.
4210 * debug.h: remove #include <iosfwd>.
4211 * graph.h: remove #include "support/std_string.h".
4212 * lyx_main.h: remove #include <csignal>.
4213 * lyxlex_pimpl.h: remove #include <fstream>.
4214 * sgml.h: remove #include <algorithm>, <utility>.
4215 * toc.h: remove #include "support/std_ostream.h".
4216 Add #include <iosfwd>.
4218 2003-09-07 Angus Leeming <leeming@lyx.org>
4220 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4222 * converter.h: forward declare LatexRunParams.
4223 * encoding.h: remove #include "lyxrc.h".
4224 * lyxtext.h: remove #include "LColor.h".
4225 * lyxtextclass.h: remove #include "support/types.h".
4226 * trans.h: remove #include "tex-accent.h".
4227 * trans_mgr.h: remove #include "tex-accent.h".
4228 * insets/inset.h: remove #include "support/types.h", <vector>.
4229 * insets/insetcollapsable.h: remove #include "LColor.h".
4230 * insets/insetinclude.h: remove #include "dimension.h".
4231 * insets/insetlatexaccent.h: remove #include "dimension.h".
4232 * insets/insetoptarg.h:: remove #include "insettext.h".
4233 * insets/insettext.h: remove #include "dimension.h",
4234 <boost/shared_ptr.hpp>
4236 * insets/renderers.h: add #include "dimension.h".
4237 * insets/updatableinset.h: add #include "support/types.h".
4239 * many .C files: Associated changes.
4241 2003-09-06 Angus Leeming <leeming@lyx.org>
4243 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4244 one, inside testInvariant.
4246 * PrinterParams.C: new file.
4247 * PrinterParams.[Ch]: move the function bodies out of line.
4249 2003-09-06 Angus Leeming <leeming@lyx.org>
4251 * ParagraphParameters.h: forward declare ParameterStruct rather than
4252 including its header file.
4253 (depth): moved out-of-line.
4255 2003-09-06 Angus Leeming <leeming@lyx.org>
4257 * BufferView_pimpl.h:
4260 * lyxfunc.h: forward declare LyXKeySym rather than
4261 #include "frontends/LyXKeySym.h".
4263 * BufferView_pimpl.C:
4266 * lyxfunc.C: associated changes.
4268 2003-09-06 Angus Leeming <leeming@lyx.org>
4270 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4271 As a result, can remove the #include "insets/inset.h" from BufferView.h
4273 2003-09-06 Angus Leeming <leeming@lyx.org>
4275 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4276 As a result, can remove the #include "insets/inset.h" from BufferView.h
4278 2003-09-06 Angus Leeming <leeming@lyx.org>
4284 * bufferview_funcs.C:
4285 * BufferView_pimpl.C:
4290 * ParagraphParameters.C:
4295 * frontends/controllers/ControlDocument.C:
4296 * insets/insetcaption.C: rearrange the #includes into some sort of
4299 * buffer.h: remove #includes ErrorList.h, undo.h
4301 2003-09-06 Angus Leeming <leeming@lyx.org>
4303 * support/types.h: add a 'depth_type' typedef, used to store the
4304 nesting depth of a paragraph.
4307 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4308 defining explicitly.
4311 * paragraph_funcs.h:
4312 * ParagraphParameters.h:
4313 * sgml.h: use lyx::depth_type rather than Paragraph or
4314 ParameterStruct's depth_type.
4317 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4320 * BufferView_pimpl.C:
4322 * ParagraphParameters.C:
4325 * bufferview_funcs.C:
4332 * frontends/LyXView.C:
4333 * frontends/controllers/ControlDocument.C:
4334 * frontends/controllers/ControlErrorList.C:
4335 * insets/insetbibitem.C:
4336 * insets/insetbranch.C:
4337 * insets/insetcaption.C:
4338 * insets/insetcollapsable.C:
4339 * insets/insetenv.C:
4340 * insets/insetert.C:
4341 * insets/insetfloat.C:
4342 * insets/insetfoot.C:
4343 * insets/insetfootlike.C:
4344 * insets/insetnewline.C:
4345 * insets/insetquotes.C:
4346 * insets/insettabular.C:
4347 * insets/insettext.C:
4348 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4350 * frontends/controllers/ControlChanges.C: #include "changes.h".
4352 2003-09-06 Angus Leeming <leeming@lyx.org>
4354 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4355 than #including paragraph.h.
4358 * RowList.h: deleted. Superfluous.
4368 * insets/insettext.h: use ParagraphList_fwd.h rather than
4371 * paragraph.h: don't forward declare ParagraphList.
4374 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4375 rather than ParagraphList.h. paragraph.h is still needed for the
4376 Paragraph::depth_type parameters.
4378 * textcursor.h: enable it to compile stand-alone in light of the
4381 * bufferview_funcs.C:
4393 * frontends/controllers/ControlParagraph.C:
4394 * frontends/controllers/ControlTabular.C:
4395 * insets/insetmarginal.C:
4396 * insets/insetminipage.C:
4397 * insets/insetnote.C:
4398 * insets/insetoptarg.C: add header files needed to compile again.
4400 2003-09-06 Angus Leeming <leeming@lyx.org>
4402 * RowList_fwd.h: new file, forward-declaring Row rather than
4403 #including lyxrow.h.
4408 * insets/insettext.h: use it instead of RowList.h
4410 * bufferview_funcs.C:
4417 * text3.C: #include "RowList.h".
4419 2003-09-05 Angus Leeming <leeming@lyx.org>
4421 * factory.C (createInset):
4422 * vspace.C (c-tor): replace sscanf call with an istringstream.
4423 * ispell.C: re-add missing HP/UX headers.
4424 * lyxserver.C: re-add missing os2 headers.
4426 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4435 * text3.C: re-add missing system headers, needed for 2.95.2.
4437 2003-09-05 Angus Leeming <leeming@lyx.org>
4439 Changes most place everywhere due to the removal of using directives
4440 from support/std_sstream.h.
4442 2003-09-05 Angus Leeming <leeming@lyx.org>
4444 Replace LString.h with support/std_string.h,
4445 Lsstream.h with support/std_sstream.h,
4446 support/LIstream.h with support/std_istream.h,
4447 support/LOstream.h with support/std_ostream.h.
4449 Changes resulting throughout the tree.
4451 2003-09-05 Angus Leeming <leeming@lyx.org>
4453 * sgml.h: ensure that the header file can be compiled stand-alone.
4454 * *.C: strip out redundant #includes. (320 in total.)
4456 2003-09-04 Angus Leeming <leeming@lyx.org>
4458 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4459 here (from getPackages).
4461 * debug.[Ch]: add a new EXTERNAL tag.
4463 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4465 * text2.C (cursorEnd): simplify
4467 (getColumnNearX): adjust
4469 * text.C (computeBidiTables): adjust
4472 * rowpainter.C (paintChars): adjust
4473 (paintSelection): adjust
4474 (paintChangeBar): adjust
4477 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4479 (numberOfSeparators): adjust
4481 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4487 * text3.C: Restricts the mouse click functionality
4488 of insets like bibtex, include, toc and floatlist to the visible
4489 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4490 up the dialogs. Cursor has to be in front of the inset (i.e.
4491 start of row) for this to function.
4493 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4495 * bufferview_funcs.C (currentState): output row information
4497 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4499 * bufferview_funcs.C (currentState): output paragraph position
4501 2003-09-04 Angus Leeming <leeming@lyx.org>
4503 * FloatList.h: move out #include "Floating.h".
4504 * LaTeX.h: move out #include "DepTable.h".
4505 * LyXAction.h: move out #include "funcrequest.h".
4506 * buffer.h: move out #include "author.h", "iterators.h".
4507 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4508 * lyx_main.h: move out #include "errorlist.h".
4509 * lyxfunc.h: move out #include "FuncStatus.h".
4510 * lyxtext: move out #include "lyxcursor.h".
4511 * paragraph_pimpl.h: move out #include "counters.h".
4513 2003-09-03 Angus Leeming <leeming@lyx.org>
4515 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4516 preamble_snippets list, enabling us to add snippets to the preamble
4517 only if the snippet was not there already.
4519 2003-09-04 Angus Leeming <leeming@lyx.org>
4521 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4523 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4525 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4528 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4530 * BranchList.C: point fix, earlier forgotten
4532 2003-09-02 Angus Leeming <leeming@lyx.org>
4534 * box.C (contains): renamed from 'contained' after a fantastic
4537 2003-09-02 John Levon <levon@movementarian.org>
4543 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4545 2003-09-02 John Levon <levon@movementarian.org>
4547 * text2.C: simplification of cursorEnd(), including partial
4550 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * buffer.C (readFile): add a space
4554 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4556 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4558 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4560 * buffer.C (readFile): new function, take a filename and a
4561 ParagraphList::iterator
4563 (readFile): adjust, make it private. don't use setStream, make
4564 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4565 always contain the filename.
4567 * BufferView.C (insertLyXFile): simplify and make it work for
4570 2003-08-30 John Levon <levon@movementarian.org>
4572 * Makefile.am: fix dist (from Kayvan)
4574 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * most files: change to use const Buffer refs
4578 2003-08-27 André Pönitz <poenitz@gmx.net>
4580 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4581 on top of ownerPar().
4583 2003-08-27 John Levon <levon@movementarian.org>
4585 * funcrequest.C: properly initialise POD members
4587 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4589 * lyxtext.h (top_y): move top_y from here
4594 * BufferView_pimpl.[Ch]: to here
4595 * frontends/screen.C:
4596 * insets/insettabular.C:
4597 * insets/insettext.C: adjust
4598 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4600 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4603 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4605 2003-08-26 André Pönitz <poenitz@gmx.net>
4607 * paragraph_func.[Ch] (outerPar): new function
4610 * paragraph_funcs.C:
4611 * paragraph_funcs.h:
4612 * paragraph_pimpl.C:
4613 * text2.C: remove Inset::par_owner
4615 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4620 * text2.C: eliminates the needFullRow/display() stuff
4621 altogether, putting the logic in metrics/draw in the insets.
4623 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4625 * text2.C (redoParagraphInternal, redoParagraphs):
4626 * text.C (redoParagraph): add a call to updateRowPositions at the
4627 end of each 'metrics-like' call. Remove all others.
4628 (getRow): remove the 'y-computing' version.
4629 (getRowNearY): do not compute nor return the real y. Solve the
4630 'y < 0' problem and simplify.
4632 2003-08-22 Angus Leeming <leeming@lyx.org>
4634 * *.[Ch]: clean-up of licence and author blurbs.
4635 Also move config.h out of a few .h files and into a few .C files.
4637 2003-08-22 André Pönitz <poenitz@gmx.net>
4639 * lyxrow.[Ch]: add x_ and *fill_ members
4644 * text2.C: adjust/remove prepareToPrint() calls
4646 2003-08-22 André Pönitz <poenitz@gmx.net>
4648 * lyxrow.[Ch]: add end_ member
4650 * lyxrow_funcs.C: use LyXRow::end_
4652 * lyxtext.h (singleWidth): add LyXFont parameter
4655 * text2.C: adjust LyXText::singleWidth() calls
4657 * text.C (redoParagraph): simplify row breaking logic
4660 2003-08-19 André Pönitz <poenitz@gmx.net>
4662 * funcrequest.C: initialize button_ member
4665 * rowpainter.[Ch]: interface consolidation
4667 2003-08-18 André Pönitz <poenitz@gmx.net>
4670 * BufferView_pimpl.C:
4672 * paragraph_funcs.C:
4674 * text3.C: remove LyXScreen::draw() and fitCursor calls
4676 * BranchList.h: remove spurious semicolons
4678 * MenuBackend.C: fix branchlist related crash
4680 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4688 * bufferparams.[Ch]:
4692 * text3.C: implements the 'branch inset'
4693 idea. This allows the output of various versions of a document
4694 from a single source version, selectively outputing or suppressing
4695 output of parts of the text.
4696 This implementation contains a 'branch list editor' in a separate
4697 tab of the document settings dialog. Branches are user definable
4698 and have a "display colour" to distinguish them on-screen.
4700 ColorHandler was somewhat cleaned up.
4701 (1) make possible a dynamically growing LColor list by allowing
4702 the graphic context cache to grow along (vector);
4703 (2) eliminate an IMHO unnecessary step in colour allocation.
4705 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4707 * BufferView_pimpl.C: compile fix
4709 2003-08-15 André Pönitz <poenitz@gmx.net>
4711 * rowpainter.C: remove extra metrics calls
4713 * lyxtext.h: merge the two constructors into a single one,
4714 pass reference to owner's par list
4716 * BufferView_pimpl.C:
4720 2003-08-15 André Pönitz <poenitz@gmx.net>
4722 * lyxrow_funcs.[Ch]:
4725 * paragraph_funcs.C:
4730 * text_funcs.C: split LyXText::rowlist_ into individual
4731 Paragraph::rows_ chunks
4734 * BufferView_pimpl.[Ch]:
4737 * text3.C: remove toggleSelection()
4739 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4741 * bufferlist.C: beautify two alerts (shorter text of buttons)
4742 * buffer.C: Remove redundant ' ' from message
4744 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4745 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4746 rename VALIGN_CENTER to VALIGN_MIDDLE
4748 2003-08-11 André Pönitz <poenitz@gmx.net>
4750 * lyxtext.h (getPar):
4751 * text.C: new function
4753 2003-08-11 André Pönitz <poenitz@gmx.net>
4756 * tracer.[Ch]: remove unneeded files
4758 * InsetList.[Ch]: remove resizeInsetsLyXText()
4763 * text3.C: merge insertParagraphs() and appendParagraph()
4764 remove breakAgain(), update()
4766 * BufferView_pimpl.[Ch]:
4767 * bufferview_funcs.[Ch]:
4771 * tabular.C: adjust after text & InsetList changes.
4773 2003-08-08 André Pönitz <poenitz@gmx.net>
4775 * text.C (insertChar, backspace): replace rowlist fiddling
4776 with rebreak of full par
4779 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4780 checkParagraph, updateInset): removed
4782 2003-08-07 André Pönitz <poenitz@gmx.net>
4785 * text3.C: merge some LFUN handlers, remove dead code
4787 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4789 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4791 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4793 * text2.C (DEPM): fix part of bug 1255 and 1256
4795 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4797 * BufferView_pimpl.C (workAreaDispatch): change to use
4798 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4799 that are no mouse related.
4801 2003-08-05 André Pönitz <poenitz@gmx.net>
4804 * BufferView_pimpl.[Ch]:
4805 * bufferview_funcs.C:
4807 * text3.C: rip out "deep update"
4809 * textcursor.[Ch] (last_sel_cursor): remove unused member
4811 2003-08-04 André Pönitz <poenitz@gmx.net>
4814 * BufferView_pimpl.[Ch]:
4815 * ParagraphParameters.C:
4816 * bufferview_funcs.C:
4822 * text3.C: replace "complicated" BufferView::update(...) calls with
4825 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4827 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4829 * Makefile.am (lyx_SOURCES): add paper.h
4831 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4833 * Makefile.am: move things around so that both lyx-qt and
4834 lyx-xforms can be built (according to --with-frontend). Then lyx
4835 is a symbolic link to lyx-[firstfrontend]
4837 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4839 * Always use std::endl with lyxerr
4841 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4843 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4845 2003-08-01 André Pönitz <poenitz@gmx.net>
4848 * BufferView_pimpl.[Ch]:
4850 * text3.C: merge BufferView::repaint() and BufferView::update()
4852 2003-08-01 José Matos <jamatos@lyx.org>
4854 * buffer.[Ch]: file_format is no longer a buffer data element.
4856 2003-08-01 André Pönitz <poenitz@gmx.net>
4861 * text2.C: make redoParagraph more independent of current cursor
4863 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4865 * text2.C: remove unneeded members
4867 2003-07-30 André Pönitz <poenitz@gmx.net>
4869 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4871 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4872 create a single function...
4874 * paragraph_funcs.C (moveItem): ... here.
4877 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4879 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4881 * LColor.[Ch]: Add comment and greyedout logical colors.
4883 2003-07-30 André Pönitz <poenitz@gmx.net>
4885 * tabular.C: don't use Assert too heavily. This crashes where it
4888 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4890 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4891 is disabled (bug 1232)
4893 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4895 * factory.C: limited 'arg' scope
4897 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4899 * factory.C: fixed Note submenu issues
4901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4903 * factory.C: submenu for Note/Comment/Greyedout
4905 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4908 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4910 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4913 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4914 greyedout. Patch provided by Jürgen Spitzmüller.
4916 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4918 * kbmap.C (read): fix error message when reading bind files
4920 2003-07-29 Angus Leeming <leeming@lyx.org>
4922 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4923 certainly does not do what it purports to do. I am doing it, and
4924 us, a favour by killing it.
4926 2003-07-28 José Matos <jamatos@lyx.org>
4928 * buffer.C (readBody, do_writeFile):
4929 * paragraph.C(readParagraph): \end_document replaces \the_end.
4931 2003-07-29 André Pönitz <poenitz@gmx.net>
4934 * BufferView_pimpl.[Ch]:
4938 * textcursor.[Ch]: remove toggleToggle & Co
4940 2003-07-28 José Matos <jamatos@fep.up.pt>
4942 * buffer.C (readParagraph):
4943 * params_func (readParToken, readParagraph):
4944 * paragraph.C (write): \layout -> \begin_layout.
4946 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4948 * lyxlex_pimpl.C (setFile): clean up slightly.
4950 * bufferparams.h: add compressed var
4952 * buffer_funcs.C (readFile): adjust for LyXLex change
4953 (newFile): ditto + simplify
4955 * buffer.C (writeFile): handle writing of compressed files
4957 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4958 Check if the file is compressed and set a bufferparm if so.
4960 * Makefile.am (lyx_LDADD): remove explicit -lz
4962 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4965 makeDocBookFile): put the real LyX version in the first line of
4969 * version.C.in: remove lyx_docversion
4971 * tabular.C (write_attribute): add a template-based version to
4972 write enums properly
4974 2003-07-28 André Pönitz <poenitz@gmx.net>
4979 * text3.C: use doubles again for x-coordinates. They are needed.
4981 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4983 * messages.C (getLocaleDir): use lyx_localedir()
4985 * lyxlex_pimpl.C (setFile): compress stuff
4987 * buffer.C (writeFile): add some compression stuff
4988 (do_writeFile): new func, dont call expliti close... will this
4991 * Makefile.am (lyx_LDADD): add -lz
4993 2003-07-28 José Matos <jamatos@fep.up.pt>
4995 * buffer.C: increment file format.
4996 * paragraph_funcs (readParagraph, readParToken):
4997 * paragraph.C (readParagraph): add \end_layout.
4999 2003-07-27 Angus Leeming <leeming@lyx.org>
5001 * Makefile.am: remove special casing for configure-time setting of
5002 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5004 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5005 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5007 2003-07-26 André Pönitz <poenitz@gmx.net>
5009 * paragraph_func.[Ch]:
5010 * paragraph.C (realizeFont): inline it whereever it is used
5015 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5018 2003-07-26 André Pönitz <poenitz@gmx.net>
5022 * text2.C: get rid of LyXText::need_break_row
5024 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5026 * toc.[Ch]: put namespace toc inside namespace lyx
5028 * MenuBackend.C (expandToc2): adjust for lyx::toc
5031 * lyxfunc.C (dispatch): adjust for lyx::find
5033 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5034 lyx::find instead. Reorganize a bit.
5035 (LyXReplace): rename to replace
5036 (LyXFind): rename to find
5038 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5041 2003-07-26 André Pönitz <poenitz@gmx.net>
5043 * text.C (setHeightOfRow): restrict scope of temporary variable
5045 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5046 code (never has been used?)
5048 2003-07-27 Asger Alstrup <alstrup@local>
5050 * text.C (fill): Optimise algorithm to exploit that we can reuse
5051 the LyXFont for many characters.
5052 (setHeightOfRow): Same thing.
5053 (rowBreakPoint): Same thing.
5055 2003-07-26 Asger Alstrup <alstrup@local>
5057 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5059 * text.C (singleWidth): Spurious font copying in hot-spot
5060 singleWidth avoided. Reorder tests for arabic for efficiency.
5062 * text.C (fill): handle empty paragraphs better.
5064 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5067 * encoding.h: add includes
5069 * lyxrc.C: remove reading of bind files
5071 * lyx_main.C (init): setup bindings and menus only if we have a
5074 * kbmap.C (read): new method. Do the actual reading of bind
5077 * converter.C (dvipdfm_options):
5080 (output): adapt PAPER_* enums.
5082 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5084 * bufferparams.h: remove paper-related enums from there
5086 * paper.h: New file. A trivial header file to hold paper-related
5087 enums. It should later expand to contain many paper-related
5090 * lyxrc.C: declare extern displayTranslator
5092 2003-07-27 José Matos <jamatos@fep.up.pt>
5094 * tabular.[Ch] (linuxdoc): add support for tables and figures
5097 2003-07-27 José Matos <jamatos@fep.up.pt>
5099 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5100 consistency in both functions.
5101 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5103 2003-07-26 Asger Alstrup <alstrup@local>
5105 * rowpainter.C (paintRows): Change algorithm to work directly on
5106 the insets rather than asking every character in the document
5107 whether its an inset.
5109 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5111 * buffer.C (openFileWrite): factorize some code
5113 2003-07-26 Angus Leeming <leeming@lyx.org>
5116 * lyx_main.[Ch]: replace occurances of system_tempdir with
5119 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5121 * rename Inset to InsetOld
5123 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5125 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5126 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5127 which I think is a bit clearer. EDIT is gone, since it was
5128 premature optimisation, and broken for mathed anyway.
5129 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5130 with cursor positioning in insets as well (math insets still do not
5131 work, but that's a different story anyway.) It mysteriously
5132 crashes sometimes with undo in the first paragraph, but I'm fairly
5133 confident that this is a compiler bug.
5135 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5137 * paragraph.C (Paragraph): adjust for new clone return type
5139 (copyIntoMinibuffer): ditto
5141 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5143 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5144 by not having a special case, and always doing a full rebreak of
5145 the document after undo.
5147 2003-07-23 Angus Leeming <leeming@lyx.org>
5149 * factory.C (createInset): InsetExternal::setParams now takes a
5152 2003-07-23 Angus Leeming <leeming@lyx.org>
5154 * factory.C (createInset): changed interface to the external and
5155 graphics mailers' string2params functions.
5157 2003-07-23 Angus Leeming <leeming@lyx.org>
5159 * factory.C (createInset): pass a
5160 Buffer const * parameter to InsetExternalMailer's string2params.
5162 2003-07-22 John Levon <levon@movementarian.org>
5164 * Thesaurus.h: include the right aiksaurus header
5166 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5168 * MenuBackend.C (expand): check menu shortcuts unconditionally
5170 2003-07-21 Angus Leeming <leeming@lyx.org>
5172 * factory.C (createInset): pass a
5173 buffer_path parameter to InsetGraphicsMailer's string2params.
5175 2003-07-21 Angus Leeming <leeming@lyx.org>
5177 * BufferView_pimpl.C (buffer):
5180 * lyxfunc.C (dispatch):
5181 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5182 rather than the grfx shortcut.
5184 2003-07-21 André Pönitz <poenitz@gmx.net>
5186 * rowpainter.C: remove unused variables
5189 * tabular_funcs.h: move to tabular.C
5190 * Makefile.am: adjust
5192 * tabular.[Ch]: basic optical cleaning
5194 * author.h: pass references, not values
5196 2003-07-18 André Pönitz <poenitz@gmx.net>
5204 * text3.C: two-phase drawing for InsetText and InsetTabular
5205 some float -> int changes.
5207 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5209 * lyx_main.C: fix the fix
5211 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5213 * lyx_main.C: fix a crash in batch mode if no files specified
5216 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5218 * format.[Ch] (papersize): moved to BufferParams
5219 * converter.[Ch] (dvips_options): moved to BufferParams
5220 (dvipdfm_options): moved to anon namespace
5221 * bufferparams.[Ch]: added above functions.
5223 2003-07-17 André Pönitz <poenitz@gmx.net>
5227 * text2.C: don't call inset->update() anymore
5229 * metricsinfo.[Ch]: add convenience constructor
5231 2003-07-16 André Pönitz <poenitz@gmx.net>
5236 * text2.C: replace the LyXCursor::irow_ member with
5237 on-demand computation of the value
5239 2003-07-16 John Levon <levon@movementarian.org>
5241 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5243 2003-07-15 André Pönitz <poenitz@gmx.net>
5246 * text2.C: remove no more needed refresh_row
5248 2003-07-15 André Pönitz <poenitz@gmx.net>
5253 * text3.C: refresh_status tristate -> need_update bool
5255 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5257 * lyxtext.h (init): remove reinit argument (act as if always true)
5258 * text2.C: adjust to that
5260 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5262 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5263 * text3.C: use it to delete selections in some cases
5264 (bugs 441, 673, 702, 954).
5266 2003-07-14 André Pönitz <poenitz@gmx.net>
5268 * rowpainter.[Ch]: reduce interface
5270 2003-07-14 André Pönitz <poenitz@gmx.net>
5272 * BufferView_pimpl.C:
5273 * text2.C: adjust after removing unused BufferView * argument
5275 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5277 * text2.C (init): fix a crash fired on resize
5279 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5281 * buffer.[Ch]: added new closing signal
5282 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5283 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5284 BufferView::Pimpl via the closing the signal
5286 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5288 * buffer.[Ch]: take out all bv-related from buffer
5290 * BufferView_pimpl.[Ch]: connect to new signals
5291 * CutAndPaste.C: removed useless asserts
5292 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5295 * lyxfunc.C: moved view-related funciontality from vc here
5296 * paragraph.C: removed outdated comments
5299 2003-07-10 André Pönitz <poenitz@gmx.net>
5301 * BufferView_pimpl.C:
5305 * text2.C: remove InsetText::InnerCache, clean up consequences
5307 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5309 * ispell.C: fix two typos in error messages
5311 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5313 * Extend Note inset to other forms of annotation like Comment
5314 and Greyedout. Right button click gives dialog.
5316 Files modified or added (+):
5320 * ControlNote.[Ch] +
5322 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5323 frontends/controllers
5327 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5329 * aspell.C: add missing namespace lyx::support
5331 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5333 * BufferView.[Ch] (newFile): Add
5334 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5335 * LaTeX.[Ch] (message): added this signal and use it
5336 * buffer.[Ch] (busy, message): added these signals and use them
5337 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5341 * importer.C: use buffer signals instead of direct bv calling
5342 * lyx_cb.[Ch] (ShowMessage): removed
5345 * paragraph_funcs.C:
5346 * text2.C: use buffer signals
5348 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5350 * introduce namespace lyx::graphics
5352 2003-07-02 André Pönitz <poenitz@gmx.net>
5354 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5356 2003-07-01 André Pönitz <poenitz@gmx.net>
5363 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5364 text*.C to text_func.C
5366 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5368 * introduce namespace lyx::support
5370 2003-06-30 André Pönitz <poenitz@gmx.net>
5375 * text.C: re-enable --with-included-string
5377 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * textcursor.C: add <config.h>
5381 * text.C (getWord): remove const from word_location arg
5383 * lyxvc.C (getLogFile): fix const type order
5385 * lyxtext.h: remove const from word_location arg, add arg name
5387 * lyxlayout.h: currect type on labeltype.
5389 * importer.C: correct \file
5391 * converter.C (intToFormat): use std:: on ret val, ws changes
5393 * bufferlist.h: correct \file
5395 * buffer.C (makeLinuxDocFile): fix const type order
5396 (makeDocBookFile): ditto
5397 (fillWithBibKeys): use std:: on stdlib args.
5399 * CutAndPaste.C: fix authors.
5400 (availableSelections): use std:: on return vector
5402 2003-06-27 André Pönitz <poenitz@gmx.net>
5404 * BufferView_pimpl.C:
5405 * bufferview_funcs.C:
5413 * text3.C: remove LyXCursor::row_ member
5416 * text.C: rename fullRebreak() to partialRebreak() and implement
5417 a fullRebreak() that really bereks fully
5419 * textcursor.h: new struct for cursor-related data
5421 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5423 * lyx_main.C (LyX): get full path of document loaded on the
5426 2003-06-26 André Pönitz <poenitz@gmx.net>
5428 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5429 remove unused/broken operator>,<,>=.
5431 * text.C: remove only use of broken operator<= in an Assert().
5433 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5435 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5436 moved errorlist_.clear to showErrorList
5438 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5440 * converter.C (scanLog, runLaTeX):
5441 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5442 move the bv->showErrorList call to the callers
5443 * lyxfunc.C: i.e. here...
5445 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5446 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5447 namespace, the second to...
5448 * buffer_funcs (BufferFormat, parseErrors): added
5449 * errorlist.C (ErrorList(TeXErrors const &)): removed
5451 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5453 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5455 2003-06-24 "Garst R. Reese" <reese@isn.net>
5459 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5461 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5463 * version.C.in: change docversion to 1.4
5465 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5467 * buffer.C: fix a bug just introduced
5469 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5471 * buffer.[Ch]: added the parseError signal and use it, removed
5473 * BufferView.[Ch] (addError): moved to ...
5474 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5475 to the Buffer::parseError signal to catch (guess what) parse errors
5476 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5478 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5480 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5481 ability to create a buffer and to return an existing one from
5482 the list. Moved these functions to...
5483 * buffer_funcs.[Ch]: added
5484 * BufferView.[Ch] (loadLyXFile): added
5485 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5486 job removed from bufferlist::loadLyXFile.
5487 * buffer.C (setReadOnly): make it work without view
5488 (i.e added an if (users))
5490 2003-06-19 Angus Leeming <leeming@lyx.org>
5493 * LyXAction.C (init):
5494 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5495 with LFUN_DIALOG_SHOW <name> <data>.
5497 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5499 * CutAndPaste.C (availableSelections): small compilation fix for
5500 ancient (gcc 2.9x) compilers
5502 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * text3.C (cursorNext): add tmp var
5506 * text2.C (updateCounters): for function calling out of for clause
5507 (replaceSelectionWithString): ditto
5508 (insertStringAsParagraphs): ditto
5509 (getColumnNearX): add tmp var
5510 (setCursorFromCoordinates): add tmp var
5511 (cursorDownParagraph): add tmp var
5512 (deleteEmptyParagraphMechanism): add tmp var
5514 * text.C (insertChar): add tmp var
5516 * rowpainter.C (paintDepthBar): add tmp var
5518 * CutAndPaste.C (availableSelections): potentially check all
5519 paragraphs in a cut to fill the shown strings.
5521 2003-06-18 André Pönitz <poenitz@gmx.net>
5523 * kbmap.[Ch]: use vector<> instead of list<>
5525 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5527 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5528 pasteSelection with index
5530 * text2.C (pasteSelection): modify, call pasteSelection with index
5532 * paragraph.C (asString): reimplement version with no interval to
5533 call the one with interval.
5535 * lyxtext.h: add index arg to pasteSelection
5537 * MenuBackend.C (MenuItem): handle PasteRecent
5538 (Menu::read::Menutags): add md_pasterecent
5540 (expandPasteRecent): new function
5543 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5545 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5547 (availableSelections): new function
5549 2003-06-17 Angus Leeming <leeming@lyx.org>
5551 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5553 2003-06-17 Angus Leeming <leeming@lyx.org>
5556 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5558 * lyxfunc.C (dispatch): invoke it.
5560 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5562 * iterators.C (operator++, ParPosition): reintroduce some
5563 const_cast for the benefit of older compilers.
5565 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5567 * text3.C (dispatch): do not modify clipboard when doing
5568 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5569 LFUN_DELETE_SKIP on a selection selection
5571 2003-06-16 André Pönitz <poenitz@gmx.net>
5577 * tabular.[Ch]: IU of clone() and getLabelList();
5579 2003-06-13 André Pönitz <poenitz@gmx.net>
5581 * tabular.h: compactification
5583 2003-06-12 André Pönitz <poenitz@gmx.net>
5587 * tabular_funcs.h: some renaming plus whitespace
5589 2003-06-12 André Pönitz <poenitz@gmx.net>
5592 * BufferView_pimpl.C:
5598 * toc.C: Return a Paragraph & for ParIterator::operator*()
5600 2003-06-11 John Levon <levon@movementarian.org>
5604 * ToolbarBackend.C: add "Toolbars" section and
5607 2003-06-10 Angus Leeming <leeming@lyx.org>
5610 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5612 * lyxfunc.C (dispatch): invoke it.
5614 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * main.C: protect <ios> with HAVE_IOS
5617 (main): protect sync_with_stdio with HAVE_IOS
5619 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5621 * text2.C (cutSelection): adjust
5622 (pasteSelection): adjust
5624 * messages.C: handle get of empty string
5626 * main.C (main): use sync_with_stdio(false)
5628 * lyxfunc.C (dispatch): adjust
5630 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5631 (WriteAs): remove unneeded BufferView arg.
5633 * bufferparams.h: use correct types on papersize, papersize2 and
5636 * bufferparams.C (readToken): adjust for type
5637 (writeLaTeX): add missing cases to switch.
5639 * bufferlist.C (quitWriteBuffer): adjust
5642 * buffer.C (asciiParagraph): remove some commented code.
5644 * CutAndPaste.C: remove current_view extern variable.
5645 (cutSelection): add BufferParams arg.
5646 (eraseSelection): add BufferParams arg.
5647 (pasteSelection): add Buffer const & arg
5649 2003-06-07 John Levon <levon@movementarian.org>
5652 * paragraph_funcs.C:
5653 * paragraph_pimpl.C:
5657 * paragraph.C: allow InsetERT to freely space lines,
5658 and some consolidation of code
5660 2003-06-06 José Matos <jamatos@fep.up.pt>
5662 * buffer.C (makeDocBookFile): fix bug #821
5664 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5666 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5668 2003-06-04 Angus Leeming <leeming@lyx.org>
5670 * buffer.C: bump format to 224.
5672 2003-06-05 André Pönitz <poenitz@gmx.net>
5674 * text2.C (redoParagraphs): remove two const_cast<>
5676 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5678 * ParagraphList.h: remove last remnants of NO_STD_LIST
5680 2003-06-03 Angus Leeming <leeming@lyx.org>
5682 * factory.C (createInset): small change to the way InsetExternal's params
5685 2003-06-04 André Pönitz <poenitz@gmx.net>
5687 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5689 * paragraph_pimpl.h:
5690 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5692 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5694 * undo_funcs.C: make some simple cases of undo work again
5696 2003-06-03 John Levon <levon@movementarian.org>
5698 * ispell.C: HPUX doesn't have sys/select.h
5701 2003-06-03 John Levon <levon@movementarian.org>
5703 * CutAndPaste.C: update tabular and include inset
5708 * paragraph.C: remove owningBuffer(), don't pass Buffer
5711 * factory.C: insetGraphicsParams changed
5713 2003-06-02 John Levon <levon@movementarian.org>
5719 * text3.C: remove insetparent
5721 2003-06-02 John Levon <levon@movementarian.org>
5724 * buffer.C: fix inset_iterator.end(), move out of line
5727 2003-06-01 John Levon <levon@movementarian.org>
5729 * text3.C: use a proper cut/paste when doing inset
5730 insert (from Jürgen Spitzmüller)
5732 2003-06-01 John Levon <levon@movementarian.org>
5734 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5736 2003-05-30 André Pönitz <poenitz@gmx.net>
5738 * rowpainter.C: unify second drawing phase
5740 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5742 * trans_mgr.C: remove one case of current_view
5744 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5746 * paragraph_funcs.h: remove paragraph.h include
5748 * paragraph.h: delete NO_STD_LIST stuff
5750 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5752 * buffer.h: remove paragraph.h include
5754 * ParagraphList.C: delete file
5756 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5758 * toc.C (getTocList): adjust
5760 * paragraph_pimpl.C (validate): adjust
5762 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5764 * paragraph.C (Paragraph): adjust
5765 (getPositionOfInset): use const_iterator, adjust
5766 (bibitem): use const_iterator, adjust
5767 (setInsetOwner): adjust
5769 * iterators.C (operator++): adjust
5771 * InsetList.[Ch]: Replace selfmade iterator with standard
5772 vector::iterator also introduce const_iterator. Remove getPos,
5773 getInset and setInset from InsetTable. Adjust accordingly.
5775 * BufferView.C (lockInset): adjust
5776 (ChangeInsets): adjust
5778 * tabular.[Ch]: delete commented same_id functions
5780 2003-05-28 John Levon <levon@movementarian.org>
5782 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5784 2003-05-28 André Pönitz <poenitz@gmx.net>
5786 * metricsinfo.[Ch]: remove 'fullredraw' member
5788 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5790 * lyxtextclass.C (operator): remove caching.
5792 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * text2.C (cursorBottom): adjust
5797 (setCounter): use ParagraphList::find, adjust
5799 * text.C (workWidth): use ParagraphList::find, adjust
5801 * lyxcursor.C (LyXCursor): adjust
5803 * buffer.C (inset_iterator): adjust
5805 * ParagraphList.h: make iterator(value_type) private, make
5806 ParagraphList a friend of iterator.
5808 * ParagraphList.C (find): new function
5810 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5812 2003-05-27 André Pönitz <poenitz@gmx.net>
5814 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5816 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5818 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5820 2003-05-26 John Levon <levon@movementarian.org>
5822 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5824 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * remove same_id from function signatures, adjust.
5828 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5832 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5834 * paragraph.C (Paragraph): get rid of same_ids parameter
5836 * ParagraphList.C (insert): adjust
5839 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5841 * paragraph_funcs.C (breakParagraph): adjust
5842 (breakParagraphConservative): adjust
5844 * buffer.C (readParagraph): adjust
5846 * ParagraphList.C (insert): take a reference instead of a pointer
5849 * paragraph.[Ch] (id): new function
5851 * bufferlist.C (newFile): adjust
5853 * ParagraphList.C (ParagraphList): adjust
5855 (push_back): take a reference instead of a pointer.
5857 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5859 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5862 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5863 set else use old code.
5865 * ParagraphList.C: remove all NO_NEXT code and only compile this
5866 code of NO_STD_LIST is set.
5868 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5870 * BufferView_pimpl.C:
5880 * graphics/GraphicsConverter.C:
5881 * graphics/PreviewLoader.C: header adjustment
5883 2003-05-23 Angus Leeming <leeming@lyx.org>
5885 * LaTeXFeatures.[Ch] (useBabel): new method.
5886 * bufferparams.C (writeLaTeX): use it.
5888 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * ParagraphList.h (set): remove unused function.
5892 2003-05-23 André Pönitz <poenitz@gmx.net>
5895 * BufferView_pimpl.C:
5899 * undo_funcs.C: setUndo reworked
5901 * iterators.[Ch]: add access to topmost ParagraphList
5903 * lyxtext.[Ch] (workWidth): add a const
5905 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5907 * texrow.[Ch] (increasePos): remove function
5908 * exporter.C (export): removed unused var and outdated comment
5910 2003-05-23 Angus Leeming <leeming@lyx.org>
5912 * latexrunparams.h: rename fragile as moving_arg.
5913 * paragraph.C (simpleTeXOnePar): ditto.
5914 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5916 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5918 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5920 (textUndoOrRedo): comment out a currently unused var.
5922 * paragraph.h (NO_NEXT): enable NO_NEXT
5924 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5926 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5928 * exporter.C (Export): adjust for removeAutoInsets removal.
5930 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5932 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5934 * BufferView.[Ch] (removeAutoInsets): delete function
5936 2003-05-22 Angus Leeming <leeming@lyx.org>
5938 * latexrunparams.h: add a free_spacing variable.
5940 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5941 to pass moving_arg, as the data is stored in runparams.fragile.
5943 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5944 to Inset::latexOptional or to simpleTeXOnePar.
5946 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5947 free_spacing arg to Inset::latexOptional.
5949 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5952 2003-05-22 Angus Leeming <leeming@lyx.org>
5954 * latexrunparams.h: add fragile and use_babel variables.
5956 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5957 * buffer.C (makeLaTeXFile): store this returned value in
5958 runparams.use_babel, thus passing it to the inset::latex methods.
5960 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5961 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5963 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5964 longer has a fragile arg, as it is stored in runparams.fragile.
5966 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5967 moving_arg parameter as the data is stored in runparams.fragile.
5969 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5970 a fragile parameter as the data is stored in runparams.fragile.
5972 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5974 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5976 2003-05-22 Angus Leeming <leeming@lyx.org>
5978 * latexrunparams.h: add a 'bool nice' which defaults to false.
5980 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5981 now encapsulated within runparams.
5983 * bufferlist.C (updateIncludedTeXfiles):
5984 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5986 2003-05-22 Angus Leeming <leeming@lyx.org>
5988 * latexrunparams.h: new file containing struct LatexRunParams.
5989 * Makefile.am: add new file.
5991 * LaTeX.[Ch] (c-tor, run):
5992 * buffer.[Ch] (makeLaTeXFile):
5993 * bufferlist.[Ch] (updateIncludedTeXfiles):
5994 * converter.C (convert, scanLog):
5995 * converter.[Ch] (runLaTeX):
5996 * exporter.C (Export):
5997 * paragraph.[Ch] (simpleTeXOnePar):
5998 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5999 * paragraph_funcs.[Ch] (latexParagraphs):
6000 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6001 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6002 pass around a LatexRunParams parameter.
6004 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * paragraph.[Ch]: remove unused constructor
6008 * ParagraphList.C (erase): new function, taking two iterators
6010 2003-05-22 André Pönitz <poenitz@gmx.net>
6012 * undo_funcs.C: remove duplicated code
6014 * iterator.[Ch]: operator=
6016 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * tabular.C (SetMultiColumn): ws changes
6020 * rowpainter.C (paintFirst): get rid of a ->previous
6022 * lyx_cb.C (getPossibleLabel): parlist simplification
6024 * BufferView.C (ChangeInsets): simplify slightly.
6026 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6028 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6029 * lfuns.h: new LFUN_SPACE
6030 * lyxfunc.C: protected space has a new lfun
6031 * paragraph_funcs.C: read new space insets
6033 * factory.C: handle new space insets
6035 2003-05-22 André Pönitz <poenitz@gmx.net>
6038 * BufferView_pimpl.C:
6041 * undo_funcs.C: return a ParIterator from getParFromID.
6043 * iterators.[Ch]: add two const's
6045 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6047 * toc.C (getTocList): adjust
6049 * iterators.[Ch]: rework for parlist
6051 * buffer.C (par_iterator_begin): adjust
6052 (par_iterator_end): adjust
6054 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6056 * BufferView.C (removeAutoInsets): adjust
6057 (ChangeInsets): adjust
6059 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6061 * text.C (top_y): fix bug 1110
6063 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6065 * errorlist.[Ch]: added
6068 * BufferView_pimpl.C:
6069 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6072 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6074 * Makefile.am: ensure that lyx is relinked upon changes to the
6075 various "convenience" libs.
6077 2003-05-20 Angus Leeming <leeming@lyx.org>
6079 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6080 files are compiled in alphabetical order again.
6082 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6084 2003-05-19 Angus Leeming <leeming@lyx.org>
6086 * gettext.[Ch]: remove "char const * _(char const *)".
6088 2003-05-19 André Pönitz <poenitz@gmx.net>
6090 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6099 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6101 2003-05-19 André Pönitz <poenitz@gmx.net>
6105 * lyxtextclass.[Ch]:
6107 * paragraph_funcs.[Ch]:
6109 * text3.C: more insetenv work
6111 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6113 * ParagraphParameters.C (params2string): small bug fixed
6115 2003-05-16 André Pönitz <poenitz@gmx.net>
6118 * bufferview_funcs.C: patch from Kornel Benko to prevent
6119 crash when _(...) is called twice in a statement
6121 2003-05-16 André Pönitz <poenitz@gmx.net>
6128 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6130 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6132 * lyx_main.C (init): remove spurious static_cast
6134 2003-05-14 André Pönitz <poenitz@gmx.net>
6136 * BufferView.C: fix format string
6138 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6140 * BufferView.[Ch] (insertErrors): removed
6141 * BufferView.[Ch] (showErrorList): added
6142 * buffer.C (runChkTeX):
6143 * converter.C (scanLog): call showErrorList instead of inserterrors
6145 2003-05-13 André Pönitz <poenitz@gmx.net>
6147 * BufferView_pimpl.C:
6149 * bufferview_func.C:
6156 * tabular_funcs.h: tostr() from its own header
6158 * ParagraphParameters.C:
6163 * text3.C: STRCONV()
6165 2003-05-12 André Pönitz <poenitz@gmx.net>
6168 * BufferView_pimpl.C:
6172 * ParagraphParameters.C:
6176 * bufferview_funcs.C:
6189 * paragraph_funcs.C:
6193 * text3.C: boost::format -> bformat all over the place
6196 2003-05-09 André Pönitz <poenitz@gmx.net>
6198 * LColor.[Ch]: Pimpl the #include <map> away
6200 2003-05-09 John Levon <levon@movementarian.org>
6202 * bufferlist.C: never remove emergency saves
6204 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6206 * Makefile.am: better lib building
6208 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6212 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6213 (simpleTeXSpecialChars): adjust
6214 (simpleTeXSpecialChars): adjust
6215 * paragraph.C (simpleTeXOnePar): adjust
6216 * buffer.C (makeLaTeXFile): adjust
6218 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6220 * text2.C (changeDepth): parlist cleanup
6221 (getColumnNearX): ditto
6223 * rowpainter.C (getLabelFont): parlist cleanup
6225 * bufferlist.C (newFile): parlist cleanup
6227 * CutAndPaste.C (eraseSelection): parlist cleanup
6229 * BufferView_pimpl.C (trackChanges): parlist cleanup
6232 * BufferView.C (lockInset): parlist cleanup.
6233 (ChangeInsets): ditto
6235 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * CutAndPaste.h: Update file header.
6239 * CutAndPaste.C: Update file header.
6240 Store the parts cut out of the Document in a limited_stack.
6241 (copySelection): adjust
6242 (pasteSelection): new function, takes the index in the limited stack.
6243 (nrOfParagraphs): adjust
6244 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6245 simplify error inset insertion.
6246 (checkPastePossible): adjust
6248 2003-05-06 John Levon <levon@movementarian.org>
6250 * text2.C: don't cast wrap inset to float
6252 2003-05-05 André Pönitz <poenitz@gmx.net>
6255 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6257 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6258 few naked Paragraph *.
6260 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6262 * bufferparams.C: Output warning if a document with missing
6263 TeX document class is loaded
6264 * exporter.C: Disable TeX exports if the document class is missing
6267 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6268 isTeXClassAvailable()
6270 2003-05-03 John Levon <levon@movementarian.org>
6273 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6274 explicit cursor show/hide
6276 * BufferView_pimpl.h:
6277 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6278 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6280 * lyxfunc.C: hide cursor before dispatching.
6285 * text3.C: remove explicit cursor hides
6287 2003-05-02 André Pönitz <poenitz@gmx.net>
6289 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6292 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6295 * text2.C: tiny whitespace
6297 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * undo_funcs.C: almost only ws changes.
6301 * ParagraphList.C (splice): just return if pl is empty.
6303 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6305 * ParagraphList.C (splice): new function.
6307 * CutAndPaste.C (pasteSelection): use it
6309 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6311 * CutAndPaste.C (pasteSelection): remove the last next and
6312 previous from this file.
6314 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * CutAndPaste.C (pasteSelection): more clean up, user proper
6317 ParagraphList functions for pasteing.
6319 * ParagraphList.C (insert): new function, three arg insert
6321 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * ParagraphList.C (insert): new function, three arg insert
6325 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6328 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6332 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6339 (copySelection): clean up a bit.
6340 (pasteSelection): use make_pair
6342 * ParagraphList.C (ParagraphList): implement copy constructor
6343 (operator=): implement, base on copy constructor.
6346 * paragraph.C (erase): return a bool
6348 * paragraph_pimpl.C (erasePos): remove function, move contents...
6349 (erase): ... here. Return a bool.
6350 (erase): call erase instead of erasePos.
6352 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6354 * ParagraphList.h: define PitPosPair
6355 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6356 ParagraphList, fix a bug on pasting multiple pars
6357 * text2.C: change interface to C&P
6359 2003-04-30 André Pönitz <poenitz@gmx.net>
6361 * undo_func.C: revert part of yesterday's patch 2
6363 2003-04-30 John Levon <levon@movementarian.org>
6365 * LColor.C: s/tabular/table/
6367 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6369 * text3.C (dispatch): do not convert iterator -> pointer
6370 * undo_funcs.C (setCursorParUndo): ditto
6371 * text_funcs.C (transposeChars): ditto
6373 * text2.C (setLayout): ws changes only
6375 * text.C (breakParagraph): do not convert iterator -> pointer
6377 (acceptChange): ditto
6378 (rejectChange): ditto
6383 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6386 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6388 * text3.C (gotoInset): YABG (yet another bad getChar)
6390 2003-04-29 André Pönitz <poenitz@gmx.net>
6392 * paragraph.h: make operator= private unimplemented as long as
6395 * ParagraphList.C: whitespace
6398 * paragraph_pimpl.[Ch]:
6399 * paragraph_funcs.C:
6401 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6404 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6406 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6408 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6409 * paragraph.[Ch] (erase):
6410 * paragraph_pimpl.[Ch] (erase): change return type and value
6411 * text2.C (cutSelection): some rework
6413 2003-04-28 John Levon <levon@movementarian.org>
6415 * bufferlist.C: changes for unsaved changes dialog
6417 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6419 * bufferlist.C (newFile): set language (messages_) for new
6422 * buffer.C (readFile): ws changes only.
6424 2003-04-28 André Pönitz <poenitz@gmx.net>
6429 * BufferView_pimpl.C:
6430 * BufferView.C: getParFromID related ParagraphList::iterator changes
6432 2003-04-28 André Pönitz <poenitz@gmx.net>
6434 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6437 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6439 * messages.C: remove one more localedir class variable.
6441 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6443 * messages.C (getLocaleDir): singleton generation function
6445 (Messages): add a default constructor.
6447 * main.C (main): do not setup localedir here, do not call
6450 * gettext.C (_): use it.
6451 (gettext_init): delete funciton
6453 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * gettext.C (getLyXMessages): new singleton generating function.
6457 * buffer.C (updateDocLang): adjust
6459 * Makefile.am (messages.o): add target
6460 (main.o): remove target
6462 2003-04-27 John Levon <levon@movementarian.org>
6467 * lyxvc.C: specify cancel button in Alert::prompt
6469 2003-04-26 John Levon <levon@movementarian.org>
6474 * LyXAction.C: add LFUN_INSET_SETTINGS
6476 * lyxfunc.C: don't enable tabular-feature when there's
6477 just any locking inset
6479 2003-04-26 John Levon <levon@movementarian.org>
6481 * bufferlist.C: re-add Cancel to buffer close question
6483 * lyxfunc.C: fix import UI a bit
6485 2003-04-25 John Levon <levon@movementarian.org>
6487 * gettext.C: remove the broken asserts for now
6489 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * messages.C: make case where setlocale cannot comply work better.
6493 * buffer.C (updateDocLang): new function
6494 (changeLanguage): use it
6497 * text2.C (setCounter): use B_ a bit.
6499 * lyxlayout.C (Read): be sure to trim the label strings.
6501 * messages.C (Messages): fix typo in comment
6503 * buffer.C (readFile): set message_ after file is loaded.
6504 (makeDocBookFile): remove double return
6505 (changeLanguage): reset message_ upon language change.
6506 (B_): new func, use this to get translated buffer strings.
6508 * main.C: add myself and Jean Marc as authors.
6510 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6512 * messages.[hC]: pimplify Messages, and three different pimpls to be
6513 used in different circumstances.
6515 * gettext.[Ch]: change for use with new message code.
6517 2003-04-24 André Pönitz <poenitz@gmx.net>
6519 * factory.C: support for eqref
6521 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * messages.[Ch]: add missing char
6525 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6527 * messages.[Ch]: New files
6529 2003-04-18 John Levon <levon@movementarian.org>
6533 * BufferView_pimpl.C:
6537 * text2.C: remove layout-copy/paste (bug 778)
6539 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6541 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6543 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6545 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6546 if they succeed. Act accordingly.
6548 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * text2.C (setCharFont): adjust
6551 (setCounter): adjust
6552 (insertStringAsLines): adjust
6554 * text.C (leftMargin): adjust
6555 (setHeightOfRow): adjust
6557 * rowpainter.C (paintFirst): adjust
6560 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6562 (isFirstInSequence): ditto
6563 (getEndLabel): ditto
6566 * paragraph.C (getParLanguage): comment out some hard stuff.
6568 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6570 (simpleDocBookOnePar): ditto
6571 (makeDocBookFile): use ParagraphList::iterator
6573 * CutAndPaste.C (pasteSelection): adjust
6575 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6577 * text2.C (getFont): adjust
6578 (getLayoutFont): adjust
6579 (getLabelFont): adjust
6581 * paragraph_funcs.C (TeXOnePar): adjust
6583 * buffer.C (simpleLinuxDocOnePar): adjust
6584 (simpleDocBookOnePar): adjust
6586 * CutAndPaste.C (pasteSelection): adjust
6588 * BufferView.C (getEncoding): adjust
6590 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6592 2003-04-16 John Levon <levon@movementarian.org>
6594 * lyxfind.C: use parlist stuff for search/changes
6596 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6598 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6600 * text2.C (deleteEmptyParagraphMechanism): adjust
6602 * text2.[Ch] (ownerParagraph): delete func (both of them
6604 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6608 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * ParagraphList.C: prepare for NO_NEXT
6612 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * text2.C (getFont): adjust
6615 (getLayoutFont): adjust
6616 (getLabelFont): adjust
6618 * paragraph.C (getFont): adjust
6619 (getLabelFont): adjust
6620 (getLayoutFont): adjust
6622 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6624 2003-04-15 John Levon <levon@movementarian.org>
6628 * lyx_main.C: handle Include in .ui files
6630 2003-04-15 John Levon <levon@movementarian.org>
6632 * MenuBackend.C: make the doc files length shorter
6635 * ToolbarBackend.C: handle toolbar placement flags,
6638 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6640 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6643 * paragraph_funcs.C (TeXOnePar): adjust
6645 * paragraph.C (getLabelFont): add outerfont arg, adjust
6646 (getLayoutFont): ditto
6647 (simpleTeXOnePar): adjust
6649 * paragraph_pimpl.C (realizeFont): delete func
6651 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6653 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6654 row argument, constify cur argument.
6656 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * text2.C (getFont): adjust
6659 (getLayoutFont): adjust
6660 (getLabelFont): adjust
6662 * paragraph_funcs.C (TeXOnePar): adjust
6663 (outerFont): new func...
6664 (realizeFont): ...moved out from here, changed this to facilitate
6667 * paragraph.C (getFont): take outerfont as arg, adjust
6668 (simpleTeXOnePar): add outerfont arg, adjust
6670 * buffer.C (simpleLinuxDocOnePar): adjust
6671 (simpleDocBookOnePar): adjust
6673 * CutAndPaste.C (pasteSelection): adjust
6675 * BufferView.C (getEncoding): adjust
6677 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * text2.C (setCharFont): adjust
6680 (setCounter): adjust
6682 * text.C (leftMargin): adjust
6683 (setHeightOfRow): adjust
6685 * rowpainter.C (paintFirst): adjust
6688 * paragraph_pimpl.C (realizeFont): adjust
6690 * paragraph.C (isFirstInSequence): move from here...
6691 * paragraph_funcs.C (isFirstInSequence): ...to here
6693 * paragraph.C (outerHook): move from here...
6694 * paragraph_funcs.C (outerHook): ...to here
6696 * paragraph.C (depthHook): move from here...
6697 * paragraph_funcs.C (depthHook): ...to here
6699 * paragraph.C (getEndLabel): move from here...
6700 * paragraph_funcs.C (getEndLabel): ...to here
6702 * text2.C (realizeFont): move from here...
6703 * paragraph_funcs.C (realizeFont): ...to here
6705 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6709 2003-04-14 Angus Leeming <leeming@lyx.org>
6711 * LColor.[Ch]: scrap LColor mathcursor.
6713 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * lyxlex.[Ch] (text): delete function
6716 * trans.C (Load): adjust
6717 * paragraph_funcs.C (readParToken): adjust
6719 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6721 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6722 vector<char> instead of a char[].
6724 * lyxlex_pimpl.C (getString): adjust
6726 (lex): use getString
6730 * lyxlex.C (text): use pimpl_->getString()
6734 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6736 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6737 (makeFontEntriesLayoutSpecific): temp var for par.size()
6738 (setLayout): temp var for ownerParagraphs().end()
6739 (fullRebreak): temp var for rows().end()
6740 (selectionAsString): temp var for boost::next(startpit), realize
6741 that the while really is a regular for loop.
6742 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6743 setCursor in one place.
6744 (setParagraph): temp vr for ownerParagraphs().end()
6745 (updateCounters): make the while loop a for loop
6746 (cutSelection): temp var for ownerParagraphs().end()
6747 (updateInset): make the do {} while() a regular for loop
6748 (getCursorX): use temp vars
6749 (setCurrentFont): use temp vars
6750 (getColumnNearX): use temp vars
6752 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6754 * text.C (transformChar): use temp var for getChar
6755 (computeBidiTables): use temp var for row->par()
6756 (fill): move temp vars for row->par() and pit->layout() earlier in
6758 (labelFill): use temp var for row->par()
6759 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6760 asc and desc, realize that pit never changes and that firstpit is
6761 just a duplicate and not needed. Exchange rit->par() with pit in a
6763 (breakAgain): use a temp var for boost::next(rit)
6764 (breakAgainOneRow): ditto
6765 (breakParagraph): use a temp var for rows().begin()
6766 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6767 (cursorRightOneWord): use temp var for cursor.par() and
6768 cursor.pos(), remove usage of tmpcursor.
6769 (cursorLeftOneWord): use temp var for cursor.par() and
6770 cursor.pos() only set cur at end of function.
6772 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6774 * text.C, text2.C: exchange all usage of Paragraph::next with
6775 boost::next(ParagraphList::iterator)
6777 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6779 * text2.C (cursorTop): simplify implementation
6780 (cursorBottom): ditto
6781 (setParagraph): use ParagraphList::iterator
6782 (setCurrentFont): adjust
6783 (getColumnNearX): adjust
6784 (cursorRight): adjust
6785 (cursorLeft): remove usage of Paragraph::previous
6786 (cursorUpParagraph): ditto
6787 (deleteEmptyParagraphMechanism): slight cleanup
6789 * text.C (isBoundary): take a Paragraph const & instead of a
6791 (addressBreakPoint): ditto
6792 (leftMargin): remove usage of Paragraph::previous.
6793 (setHeightOfRow): ditto
6794 (cursorLeftOneWord): ditto
6795 (selectNextWordToSpellcheck): ditto
6798 (breakParagraph): remove one usage of Paragraph::next
6799 (redoParagraph): ditto
6800 (acceptChange): ditto
6801 (insertChar): adjust
6802 (rowBreakPoint): adjust
6804 * bufferview_funcs.C (toggleAndShow): adjust
6806 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6808 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6809 methods to access it.
6811 * text.C: Added updateRowPositions to compute all row positions.
6812 Make top_y and getRowNearY() to use the cached y position
6814 2003-04-11 John Levon <levon@movementarian.org>
6816 * text.C (rowBreakPoint): reintroduce the labelEnd
6817 checks, code copied from the row fill stuff. Deep voodoo.
6819 * text.C (fill): add a comment and debugging for the
6822 2003-04-11 John Levon <levon@movementarian.org>
6824 * text.C: make sure fullrow insets get wrapped to the next line,
6825 even when they're in a manual label
6827 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * text2.C (insertParagraph): make it take ParagraphList::iterator
6831 (setLayout): make it return ParagraphList::iterator
6832 (redoParagraphs): ditto
6834 (checkParagraph): ditto
6836 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6838 * text2.C: adjust several funcs.
6839 (realizeFont): take a ParagraphList::iterator as arg.
6840 (getLayoutFont): ditto
6841 (getLabelFont): ditto
6842 (setCharFont): ditto
6844 * text.C: adjust several funcs.
6846 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6848 * text.C (selectNextWordToSpellcheck): don't accidentally
6851 2003-04-10 John Levon <levon@movementarian.org>
6853 * ToolbarBackend.C (getIcon): special handling for
6856 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6858 * text2.C (cursorRight): a getChar assert fixed
6860 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6862 * text2.C (getFont): change to take a ParagraphList::iterator
6863 instead of Paragraph*
6864 Adjust several functions.
6866 * text.C (transformChar): change to take a ParagraphList::iterator
6867 instead of Paragraph*
6868 (singleWidth): ditto
6869 Adjust several functions.
6871 * rowpainter.C: adjust several functions
6872 * rowpainter.h:store a ParagraphList::iterator and not a
6876 2003-04-09 John Levon <levon@movementarian.org>
6881 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6882 and the "help" bits as well
6884 2003-04-09 John Levon <levon@movementarian.org>
6887 * ToolbarBackend.C: allow multiple toolbars
6889 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6891 * undo_funcs.C (setCursorParUndo): adjust
6893 * text_funcs.C (transposeChars): adjust
6895 * text3.C (gotoNextInset): adjust
6898 * text2.C (setLayout): adjust
6899 (changeDepth): adjust
6901 (redoParagraphs): adjust
6902 (selectionAsString): adjust
6903 (setParagraph): adjust
6904 (insertInset): adjust
6905 (cutSelection): adjust
6906 (copySelection): adjust
6907 (pasteSelection): adjust
6908 (insertStringAsLines): adjust
6909 (updateInset): adjust
6910 (setCursor): change to take a ParagraphList::iterator parameter
6911 (setCursorIntern): change to take a ParagraphList::iterator parameter
6912 (setCurrentFont): adjust
6913 (cursorLeft): adjust
6914 (cursorRight): adjust
6915 (deleteEmptyParagraphMechanism): adjust
6917 * text.C (breakParagraph): adjust
6918 (insertChar): adjust
6919 (acceptChange): adjust
6920 (rejectChange): adjust
6921 (selectNextWordToSpellcheck): adjust
6922 (changeCase): adjust
6926 * lyxfind.C (SearchForward): adjust
6927 (SearchBackward): adjust
6928 (nextChange): adjust
6930 * lyxcursor.C (par): adjust
6932 * lyxcursor.h: store a ParagraphList::iterator instead of a
6935 * lyx_cb.C (getPossibleLabel): adjust
6937 * bufferview_funcs.C (toggleAndShow): adjust
6939 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6942 * BufferView.C (removeAutoInsets): adjust
6943 (lockedInsetStoreUndo): adjust
6945 2003-04-09 John Levon <levon@movementarian.org>
6947 * ToolbarBackend.C: try icon without argument
6948 if with argument fails
6950 2003-04-08 John Levon <levon@movementarian.org>
6953 * ToolbarBackend.C: add getIcon(), handle tooltip,
6954 and change from "Icon" to "Item".
6956 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6958 * BufferView.C (lockInset): another bad getchar crunched
6960 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6962 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6965 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6967 * lyxfind.C (searchForward, searchBackwards): bug 782
6969 2003-04-07 John Levon <levon@movementarian.org>
6971 * paragraph.C: remove dead comment
6973 * text.C: remove troublesome depth-fiddling code
6974 in leftMargin() and rightMargin() (bug 1017)
6976 * text.C: fix breaking of rows in nested lists
6979 * text2.C (updateCounters): fix up depth values
6982 2003-04-07 John Levon <levon@movementarian.org>
6984 * BufferView_pimpl.C: clear message when doc finishes resizing,
6985 and after a mouse event
6987 * lyxfunc.C: clear message after exiting inset
6989 2003-04-07 John Levon <levon@movementarian.org>
6991 * bufferview_funcs.C: show math status not outside
6992 status in the statusbar
6994 2003-04-07 John Levon <levon@movementarian.org>
6996 * lyxfunc.C: note status changed after a depth change
6998 2003-04-04 Angus Leeming <leeming@lyx.org>
7000 * LaTeX.h: move AuxInfo operator==, != out of line.
7001 Remove LaTeX virtual destructor; nothing derives from it.
7002 Move operator()() out of public area and rename it startscript().
7003 Change protected for private.
7005 2003-04-04 Angus Leeming <leeming@lyx.org>
7008 * text2.C: remove unneeded #includes.
7010 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7012 * text2.C (dEPM): fix the heigth of the next row
7014 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7016 * text.C: squashed an invalid getChar requester + some ws changes
7018 2003-04-03 John Levon <levon@movementarian.org>
7020 * bufferview_funcs.h:
7021 * bufferview_funcs.C:
7024 * text2.C: make getStatus work for the env depth lfuns
7026 2003-04-03 John Levon <levon@movementarian.org>
7028 * bufferview_funcs.h:
7029 * bufferview_funcs.C:
7032 * text2.C: parlistize decDepth(), by merging it with incDepth()
7034 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7036 * lyxrow.h: store a ParagraphList::iterator instead of a
7037 Paragraph* and adjust other class functions to suit.
7039 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7042 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7044 * text2.C (setCursor): do not anchor to cursor row for the time being
7046 2003-04-02 John Levon <levon@movementarian.org>
7053 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7055 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7057 * paragraph.h: make ParagraphList and ParagraphList::iterator
7058 friends of Paragraph.
7060 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7062 * ParagraphList.C: Use the private next_ and previous_ from
7065 2003-04-01 John Levon <levon@movementarian.org>
7069 * Makefile.am: rename, remove defaults gunk
7072 * MenuBackend.C: remove defaults gunk
7075 * Languages.C: remove defaults gunk
7078 * lyx_main.C: error out if files couldn't be found.
7080 2003-04-02 John Levon <levon@movementarian.org>
7082 * text2.C: make incDepth() use parlist
7084 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * undo_funcs.C (firstUndoParagraph): adjust
7088 * text3.C (gotoInset): adjust
7089 (dispatch): adjust, and rewrite loop.
7091 * text2.C (init): adjust, and rewrite loop.
7092 (redoParagraphs): adjust
7093 (updateInset): adjust, and rewrite loop.
7094 (deleteEmptyParagraphMechanism): adjust
7096 * tabular.C (LyXTabular): adjust
7097 (SetMultiColumn): adjust
7100 * lyxtext.[Ch] (ownerParagraph): delete function
7101 (ownerParagraphs): new function returns a ParagraphList.
7103 * BufferView.C (removeAutoInsets): adjust
7104 (insertErrors): adjust
7105 (setCursorFromRow): adjust
7107 2003-04-01 Angus Leeming <leeming@lyx.org>
7109 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7112 2003-04-02 John Levon <levon@movementarian.org>
7118 * text_funcs.C: make transposeChars a free function
7120 * lyxrow_funcs.C: remove wrong comment
7122 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7125 * rowpainter.C: adjust
7130 * lyxrow_funcs. [Ch]: new files
7132 * lyxrow.[Ch]: remove next and previous pointers
7133 (next,previous): remove accessor functions
7134 (isParEnd): move to lyxrow_funcs
7135 (lastPos): move to lyxrow_funcs
7136 (nextRowIsAllInset): move to lyxrow_funcs
7137 (lastPrintablePos): move to lyxrow_funcs
7138 (numberOfSeparators): move to lyxrow_funcs
7139 (numberOfHfills): move to lyxrow_funcs
7140 (numberOfLabelHfills): move to lyxrow_funcs
7141 (hfillExpansion): move to lyxrow_funcs
7145 * bufferview_funcs.C (toggleAndShow): adjust
7147 * RowList.h: Remove class RowList from file leave just a
7150 * RowList.C: delete file
7152 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7155 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7157 * text3.C (cursorPrevious): adjust
7158 (cursorNext): adjust
7161 * text2.C (redoHeightOfParagraph): adjust
7162 (redoDrawingOfParagraph): adjust
7165 * text.C (breakParagraph): adjust
7166 (insertChar): adjust
7169 * rowpainter.C (RowPainter): adjust
7170 (leftMargin): simplify and adjust
7171 (most rowpainter functions): adjust.
7173 * rowpainter.h: store the row as RowList::iterator not as Row*
7175 * lyxcursor.C (row): taka RowList::iterator as arg
7178 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7181 2003-04-01 Angus Leeming <leeming@lyx.org>
7183 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7184 stuff like bool Bool.
7186 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7188 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7191 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7193 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7196 * lyxtext.h (rows): drop one version and leve a const variant that
7197 returns a RowList::iterator.
7199 2003-03-31 Angus Leeming <leeming@lyx.org>
7201 * text.C (fill): ensure that the signature is the same as that in the
7204 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * text2.C (redoParagraphs): adjust
7207 (updateCounters): adjust
7208 (checkParagraph): adjust
7209 (getColumnNearX): adjust and reformat a bit.
7211 * text.C (top_y): adjust
7213 (leftMargin): adjust
7214 (prepareToPrint): adjust
7216 (getRowNearY): adjust
7218 * lyxtext.h: make rowlist_ mutable.
7220 * RowList.h: add const_iterator
7221 * RowList.C: adjust for RowList::const_iterator.
7223 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7226 2003-03-31 John Levon <levon@movementarian.org>
7229 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7231 * lyx_main.C: set default fonts from using lyx_gui funcs
7233 * exporter.C: pdf_mode moved from lyxrc
7236 * lyxfunc.C: changes from above
7238 2003-03-31 John Levon <levon@movementarian.org>
7240 * lyx_main.C: fix to the last fix
7242 2003-03-31 John Levon <levon@movementarian.org>
7244 * bufferlist.C: "Load original" -> "Load Original"
7250 * format.C: more Alert cleanups
7252 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * text2.C (removeParagraph): make it take a RowList::iterator as
7256 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7257 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7259 * text.C (anchor_row): make it take a RowList::iterator as arg,
7261 (computeBidiTables): make it take a const reference to Row instead
7262 of Row pointer, adjust.
7263 (leftMargin): make it take a RowList::iterator as arg, adjust.
7264 (rowBreakPoint): adjust
7265 (breakAgainOneRow): make it take a RowList::iterator as arg,
7267 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7269 * bufferview_funcs.C (toggleAndShow): adjust
7271 2003-03-30 John Levon <levon@movementarian.org>
7275 * boost-inst.C: moved to support
7277 * several files: changes as a result
7279 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7281 * text2.C (LyXText): adjust.
7283 (removeRow): make it take a RowList::iterator as arg, adjust.
7284 (fullRebreak): adjust
7285 (deleteEmptyParagraphMechanism): adjust
7286 (clearPaint): adjust
7289 * text.C (top_y): adjust
7290 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7291 (breakAgain): make it take a RowList::iterator as arg, adjust.
7292 (breakParagraph): adjust
7293 (insertChar): adjust
7296 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7297 need_break_row, and refresh_row.
7299 * text3.C (dispatch): adjust
7301 * text2.C (checkParagraph): adjust
7303 (setCursorFromCoordinates): adjust
7305 * text.C (top_y): adjust
7307 (getRow): make it return a RowList::iterator, adjust
7308 (getRowNearY): make it return a RowList::iterator, adjust
7310 * text2.C (init): adjust
7311 (insertRow): remove function
7312 (insertParagraph): adjust
7313 (redoParagraphs): adjust
7314 (fullRebreak): adjust
7315 (updateCounters): adjust
7317 * text.C (top_y): rewrite to use RowList iterators.
7319 (setHeightOfRow): rewrite to sue RowList iterators.
7320 (appendParagraph): adjust
7321 (breakAgain): adjust
7322 (breakAgainOneRow): adjust
7323 (breakParagraph): adjust
7325 (getRowNearY): adjust, and remove commented code.
7327 * lyxtext.h (firstRow): delete function
7328 (lastRow): delete function
7329 (rows): new function (const and non-const versions.)
7330 (insertRow): delete function
7332 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7334 2003-03-29 John Levon <levon@movementarian.org>
7336 * BufferView_pimpl.C: always update scrollbar top
7337 because pasting text when we're anchored could mean we
7338 miss an update altogether
7340 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7342 * text2.C (init): use rowlist_.end() and not 0.
7343 (insertRow): change to take a RowList::iterator as arg, adjust
7345 (insertParagraph): change to take a RowList::iterator as arg,
7347 (redoParagraphs): remove some debug msgs.
7349 * text.C (appendParagraph): change to take a RowList::iterator
7350 arg, adjust for this.
7351 (breakAgain): add an assert
7352 (breakAgainOneRow): ditto
7354 2003-03-29 John Levon <levon@movementarian.org>
7356 * text2.C: do not clear selection after inc/decDepth
7359 2003-03-29 John Levon <levon@movementarian.org>
7362 * buffer.C: fix broken strerrors according to Lars
7364 2003-03-29 John Levon <levon@movementarian.org>
7366 * converters.C: more Alert cleanups
7368 2003-03-29 John Levon <levon@movementarian.org>
7370 * bufferview_funcs.C: remove pointless Alert
7372 * buffer.C: fix confusing error message when
7373 a template is chmoded 000
7375 2003-03-29 John Levon <levon@movementarian.org>
7379 * BufferView_pimpl.C: Alert fixes
7383 * tabular-old.C: remove unused table compat reading
7385 2003-03-29 John Levon <levon@movementarian.org>
7390 * lyx_cb.C: more Alert cleanups
7392 * lyxfunc.C: don't allow chktex if not latex document
7394 2003-03-29 John Levon <levon@movementarian.org>
7398 * buffer.C: warnings pushed down from support/,
7401 2003-03-29 John Levon <levon@movementarian.org>
7403 * lyxfunc.C: safety check for C-r (revert)
7405 2003-03-29 John Levon <levon@movementarian.org>
7408 * bufferlist.C: several UI fixes using Alert::prompt.
7409 Fix the pointless looping quit code. Fix stupid revert
7414 * lyx_cb.C: use Alert::prompt
7416 * lyx_main.C: remove a silly question
7418 * lyxfunc.C: remove a couple of silly questions,
7421 2003-03-28 John Levon <levon@movementarian.org>
7423 * text2.C: fix bug 974 (End on empty par)
7425 2003-03-28 John Levon <levon@movementarian.org>
7427 * BufferView_pimpl.C:
7429 * lfuns.h: remove do-nothing math greek lfuns
7431 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * lyxgluelength.h (isValidGlueLength): add default arg on
7434 parameter 2. Remove default arg from friend in class.
7436 * lyxlength.h (isValidLength): add default arg on parameter 2.
7437 Remove default arg from friend in class.
7439 * text2.C (LyXText): adjust, initialize refresh_row.
7443 (insertParagraph): adjst
7444 (redoParagraphs): adjust
7445 (fullRebreak): adjust
7446 (updateCounters): adjust
7447 (deleteEmptyParagraphMechanism): first attempt at fixing a
7450 * text.C (top_y): adjust
7451 (setHeightOfRow): adjust
7453 (getRowNearY): adjust
7455 * lyxtext.h: include RowList.h
7456 (~LyXText): not needed anymore, deleted.
7457 (firstRow): modify for RowList
7458 (lastRow): new function
7459 Delete firstrow and lastrow class variables, add a Rowlist
7460 rowlist_ class variable.
7462 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7465 * RowList.C (insert): fix case where it == begin().
7467 2003-03-26 Angus Leeming <leeming@lyx.org>
7469 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7470 the thesaurus dialog.
7472 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7474 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7476 * RowList.[Ch]: new files
7478 * ParagraphList.C (erase): handle the case where it == begin
7481 2003-03-25 John Levon <levon@movementarian.org>
7485 * aspell.C: add new aspell support
7488 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7491 2003-03-25 Angus Leeming <leeming@lyx.org>
7494 * LyXAction.C (init): new LFUN_INSET_INSERT.
7496 * BufferView_pimpl.C (dispatch): split out part of the
7497 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7499 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7502 2003-03-25 Angus Leeming <leeming@lyx.org>
7504 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7506 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7509 * text3.C: remove useless row->height(0)
7511 2003-03-25 John Levon <levon@movementarian.org>
7515 * text3.C: rename the refreshing stuff to better names
7517 2003-03-24 John Levon <levon@movementarian.org>
7519 * BufferView_pimpl.h:
7520 * BufferView_pimpl.C: update layout choice on a mouse
7523 2003-03-23 John Levon <levon@movementarian.org>
7525 * Makefile.am: fix commandtags.h reference
7527 2003-03-22 John Levon <levon@movementarian.org>
7529 * BufferView_pimpl.C:
7534 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7536 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7539 * text.C: take the rtl methods out of line
7541 2003-03-21 André Pönitz <poenitz@gmx.net>
7543 * metricsinfo.[Ch]: new files containing structures to be passed around
7544 during the two-phase-drawing...
7546 2003-03-21 André Pönitz <poenitz@gmx.net>
7548 * lyxtextclass.C: read 'environment' tag.
7550 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7552 * text2.C (removeRow): fix bug 964
7554 2003-03-20 John Levon <levon@movementarian.org>
7558 * text2.C: paint cleanups. Inset::update() dropped font
7561 2003-03-19 John Levon <levon@movementarian.org>
7563 * lyxfunc.C: only fitcursor/markDirty if available()
7565 2003-03-19 John Levon <levon@movementarian.org>
7567 * commandtags.h: rename to ...
7569 * lfuns.h: ... this, and renumber / cleanup
7571 2003-03-19 John Levon <levon@movementarian.org>
7573 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7574 fit the cursor after an lfun
7578 * BufferView_pimpl.h:
7579 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7581 * LyXAction.C: layout-character should have ReadOnly
7583 * ParagraphParameters.C:
7585 * bufferview_funcs.C:
7592 * undo_funcs.C: changes from above
7594 2003-03-18 John Levon <levon@movementarian.org>
7596 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7597 remove it from update()
7599 * lyxfunc.C: update layout choice after an lfun
7601 * text3.C: remove extra updateLayoutChoice()s
7603 2003-03-18 John Levon <levon@movementarian.org>
7605 * text.C: top_y change means full repaint, fix
7606 a drawing bug with cursor movement
7608 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7612 * text2.C: anchor row on setCursor
7614 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7616 * lyxtext.h: remove almost all mutable keywords
7619 * text3.C: remove const keywords accordingly
7621 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7623 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7625 (TeXEnvironment): ditto
7628 2003-03-17 John Levon <levon@movementarian.org>
7630 * text.C (rowBreakPoint): remove attempt to fix displayed
7631 math insets inside a manual label
7633 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7635 * lyxtext.h: remove BufferView* as first arg from almost all class
7637 * other files: adjust.
7639 2003-03-17 John Levon <levon@movementarian.org>
7643 * text2.C: more paint cleanups
7645 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7648 * rowpainter.C: remove "smart" background painting code
7650 2003-03-16 John Levon <levon@movementarian.org>
7655 * text3.C: add helper functions for setting refresh_row/y
7657 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7659 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7660 newline inset which *can* get inserted in the pass_thru layouts.
7661 This is primarily for literate documents.
7663 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7665 * buffer.C: increment LYX_FORMAT to 223
7667 2003-03-14 André Pönitz <poenitz@gmx.net>
7669 * textclass.h: prepare for environment handling, ws changes
7670 * lyxlayout.C: read latexheader and latexfooter tags
7672 2003-03-14 John Levon <levon@movementarian.org>
7674 * text2.C: rewrite ::status() a bit
7676 2003-03-13 John Levon <levon@movementarian.org>
7678 * lyxtext.h: add some docs
7680 2003-03-13 John Levon <levon@movementarian.org>
7685 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7687 2003-03-13 John Levon <levon@movementarian.org>
7689 * text3.C: fix appendix redrawing
7691 2003-03-13 John Levon <levon@movementarian.org>
7693 * text.C (setHeightOfRow):
7695 * rowpainter.C: make appendix mark have the text
7696 "Appendix" so the user knows what it is
7699 * LColor.C: s/appendixline/appendix/ from above
7701 2003-03-13 John Levon <levon@movementarian.org>
7703 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7705 * text.C: fix a getChar(pos) bug properly
7707 2003-03-13 Angus Leeming <leeming@lyx.org>
7710 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7711 Probably only temporary. Let's see how things pan out.
7713 * BufferView.C (unlockInset):
7714 * BufferView_pimpl.C (fitCursor):
7715 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7717 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7718 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7720 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7721 new functions that convert ParagraphParameters to and from a string.
7723 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7724 BufferView::Pimpl's dispatch.
7725 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7727 2003-03-13 André Pönitz <poenitz@gmx.net>
7731 * factory.C: make it aware of InsetEnv
7733 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7735 * text2.C (setCursor): never ask for one past last
7736 (setCursor): add some debugging messages.
7738 * text.C (singleWidth): never ask for one past last
7739 (singleWidth): ditto
7741 (rightMargin): ditto
7742 (rowBreakPoint): ditto
7743 (setHeightOfRow): ditto
7744 (prepareToPrint): ditto
7746 * rowpainter.C (paintBackground): never ask for one past last
7747 (paintText): never ask for one past last
7749 * paragraph_pimpl.C (getChar): make the assert stricter, never
7750 allow the one past last pos to be taken
7752 * paragraph.C (getChar): ws changes only
7754 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7755 (numberOfSeparators): ditto
7756 (numberOfHfills): ditto
7758 2003-03-12 John Levon <levon@movementarian.org>
7764 * paragraph_funcs.C: fix per-buffer authorlists
7766 2003-03-12 John Levon <levon@movementarian.org>
7768 * text.C: fix newline in right address
7770 2003-03-12 Angus Leeming <leeming@lyx.org>
7772 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7773 duplicate those in LyXFunc::dispatch.
7777 * ToolbarDefaults.C:
7778 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7779 Add LFUN_FONTFREE_UPDATE.
7781 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7782 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7784 * bufferview_func.[Ch]: several new functions to facilliate
7785 transfer of data to and from the character dialog.
7787 2003-03-12 John Levon <levon@movementarian.org>
7792 * paragraph_funcs.C:
7793 * paragraph_pimpl.C:
7797 * text3.C: remove META_NEWLINE in favour of an inset
7800 * rowpainter.C: remove paintNewline (done by inset)
7802 2003-03-12 John Levon <levon@movementarian.org>
7804 * paragraph_pimpl.C: complain about bad getChar()s
7805 for a while at least
7807 2003-03-12 John Levon <levon@movementarian.org>
7810 * buffer.C: move paragraph read into a separate function,
7811 a little renaming to reflect that.
7814 * bufferparams.C: remove the author_ids map, not necessary now
7817 * factory.C: moved Buffer::readInset to here
7819 * paragraph_funcs.h:
7820 * paragraph_funcs.C: readParagraph free function moved from
7823 * tabular.C: name change
7825 2003-03-12 John Levon <levon@movementarian.org>
7828 * ParagraphParameters.C: move par params input to
7831 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7832 behave like a normal read from the stream wrt reading
7833 a line vs. a \\token
7835 2003-03-12 John Levon <levon@movementarian.org>
7838 * ParagraphParameters.h:
7839 * ParagraphParameters.C: move output code to a
7842 2003-03-12 John Levon <levon@movementarian.org>
7844 * BufferView.C (insertLyXFile):
7847 * tabular.C: use a parlist iterator for creating the
7850 2003-03-12 John Levon <levon@movementarian.org>
7852 * buffer.C: make current_change static local not
7855 2003-03-12 John Levon <levon@movementarian.org>
7857 * buffer.C: fix insertStringAsLines for change tracking
7859 2003-03-12 John Levon <levon@movementarian.org>
7866 * bufferparams.C: move author list into params. Rename some
7867 functions. Move the header reading into a separate token
7868 loop. Move the header token reading into BufferParams.
7870 2003-03-12 John Levon <levon@movementarian.org>
7872 * changes.C: put debug inside lyxerr.debugging() checks
7874 2003-03-11 André Pönitz <poenitz@gmx.net>
7876 * factory.C: make it aware of InsetHFill
7878 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7880 * buffer.C (latexParagraphs): move function from here...
7881 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7884 2003-03-10 Angus Leeming <leeming@lyx.org>
7886 * LyXAction.C (init): fix bug in poplating array with multiple entries
7887 with the same LFUN (spotted by JMarc).
7889 2003-03-10 John Levon <levon@movementarian.org>
7892 * text2.C: move getColumnNearX() near its
7895 2003-03-10 John Levon <levon@movementarian.org>
7897 * text.C: fix break before a minipage
7899 2003-03-10 John Levon <levon@movementarian.org>
7901 * text.C: fix the last commit
7903 2003-03-09 John Levon <levon@movementarian.org>
7907 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7908 bug 365 (don't break before insets unless needed). Don't
7909 return a value > last under any circumstances.
7911 2003-03-09 Angus Leeming <leeming@lyx.org>
7913 * BufferView_pimpl.C (trackChanges, dispatch): call
7914 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7916 2003-03-09 Angus Leeming <leeming@lyx.org>
7918 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7919 than Dialogs::showAboutlyx().
7921 2003-03-09 Angus Leeming <leeming@lyx.org>
7923 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7924 than Dialogs::showTabularCreate().
7926 2003-03-09 John Levon <levon@movementarian.org>
7930 * text2.C: 3rd arg to nextBreakPoint was always the same.
7933 2003-03-08 John Levon <levon@movementarian.org>
7940 * text2.C: Remove the "main" bit from the "main body"
7943 2003-03-08 John Levon <levon@movementarian.org>
7945 * text.C (leftMargin): The left margin of an empty
7946 manual label paragraph should not include the label width
7949 * text.C (prepareToPrint): don't attempt to measure hfills
7950 for empty manual label paragraphs - the answer should be 0
7952 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * CutAndPaste.C: remove commented code and reindent.
7956 2003-03-08 John Levon <levon@movementarian.org>
7959 * lyxfunc.C: move reloadBuffer()
7962 * BufferView.C: to here
7964 * lyxvc.C: add comment
7967 * vc-backend.C: call bv->reload() to avoid
7968 getStatus() check on MENURELOAD
7970 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7972 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7973 to an old format .dep file.
7975 2003-03-07 Angus Leeming <leeming@lyx.org>
7977 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7978 when the LFUN_MOUSE_RELEASE should have been handled by
7979 inset->localDispatch.
7981 2003-03-07 Angus Leeming <leeming@lyx.org>
7983 * BufferView_pimpl.C (dispatch):
7984 * LyXAction.C (init):
7985 * ToolbarDefaults.C (init):
7987 * lyxfunc.C (getStatus):
7988 remove LFUN_INSET_GRAPHICS.
7990 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7992 2003-03-07 Angus Leeming <leeming@lyx.org>
7995 * LyXAction.C (init):
7996 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7998 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8001 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8003 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8004 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8006 2003-03-07 Angus Leeming <leeming@lyx.org>
8008 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8011 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8013 * ParagraphList.C (front): new function
8016 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8018 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8019 and top_row_offset_. removed var first_y.
8021 * text2.C (LyXText, removeRow):
8023 * BufferView_pimpl.C:
8024 use these methods instead of using first_y
8026 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8028 * text2.C (pasteSelection): adjust for checkPastePossible
8030 * CutAndPaste.C: remove Paragraph * buf and replace with
8031 ParagraphList paragraphs.
8032 (DeleteBuffer): delete
8033 (cutSelection): change the tc type to textclass_type
8034 (copySelection): change the tc type to textclass_type
8035 (copySelection): adjust for ParagraphList
8036 (pasteSelection): change the tc type to textclass_type
8037 (pasteSelection): adjust for Paragraphlist
8038 (nrOfParagraphs): simplify for ParagraphList
8039 (checkPastePossible): simplify for ParagraphList
8040 (checkPastePossible): remove unused arg
8042 * ParagraphList.C (insert): handle the case where there are no
8045 * CutAndPaste.h: make CutAndPaste a namespace.
8047 * text3.C (dispatch): adjust
8049 * text.C (breakParagraph): add a ParagraphList as arg
8051 * paragraph_funcs.C (breakParagraph): change to take a
8052 BufferParams and a ParagraphList as args.
8053 (breakParagraphConservative): ditto
8054 (mergeParagraph): ditto
8055 (TeXDeeper): add a ParagraphList arg
8056 (TeXEnvironment): ditto
8059 * buffer.C (readLyXformat2): adjust
8060 (insertStringAsLines): adjust
8061 (latexParagraphs): adjust
8063 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8064 (cutSelection): adjust
8065 (pasteSelection): adjust
8067 * BufferView_pimpl.C (insertInset): adjust
8069 2003-03-05 Angus Leeming <leeming@lyx.org>
8072 * LyXAction.C (init):
8073 * BufferView_pimpl.C (dispatch):
8074 * lyxfunc.C (getStatus):
8075 remove LFUN_CHILD_INSERT.
8077 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8079 2003-03-05 Angus Leeming <leeming@lyx.org>
8082 * LyXAction.C (init):
8083 * src/factory.C (createInset):
8084 * lyxfunc.C (getStatus):
8085 * text3.C (dispatch):
8086 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8088 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8090 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8092 * ParagraphList.C (insert): handle insert right before end()
8093 (erase): fix cases where it can be first or last paragraph.
8095 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8097 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8098 Paragraph::next and Paragraph::previous
8101 * text.C (breakParagraph): adjust
8103 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8104 BufferParams& as arg.
8105 (breakParagraph): use ParagraphList::insert
8106 (breakParagraphConservative): take a Buffer* instead of a
8107 BufferParams& as arg.
8108 (breakParagraphConservative): use ParagraphList::insert.
8110 * buffer.C (insertStringAsLines): un-const it
8111 (insertStringAsLines): adjust
8113 * ParagraphList.C (insert): new function
8115 * CutAndPaste.C (pasteSelection): adjust
8117 * text.C (backspace): adjust
8119 * tabular.C (SetMultiColumn): adjust
8121 * CutAndPaste.C (cutSelection): adjust
8122 (pasteSelection): adjust
8124 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8125 Buffer const * as arg
8127 * ParagraphList.C (erase): new function
8128 * paragraph_funcs.C (mergeParagraph): use it
8129 (mergeParagraph): make it take a Buffer* instead of a
8130 BufferParams* as arg
8132 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8134 (breakParagraphConservative): ditto
8136 * paragraph.h: remove the breakParagraph friend
8138 * paragraph.C (eraseIntern): new function
8139 (setChange): new function
8141 * paragraph_funcs.C (mergeParagraph): make it take a
8142 ParagraphList::iterator instead of a Paragraph *, adjust
8145 * paragraph.h: move an #endif so that the change tracking stuff
8146 also works in the NO_NEXT case.
8148 2003-03-04 Angus Leeming <leeming@lyx.org>
8151 * LyXAction.C: new LFUN_INSET_MODIFY.
8153 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8154 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8156 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8158 * several files: ws changes only
8160 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8161 (TeXEnvironment): ditto
8164 * buffer.C (makeLaTeXFile): adjust
8165 (latexParagraphs): make it take ParagraphList::iterator as args
8167 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8169 * buffer.C (latexParagraphs): adjust
8171 * paragraph.C (TeXOnePar): move function...
8172 (optArgInset): move function...
8173 (TeXEnvironment): move function...
8174 * paragraph_pimpl.C (TeXDeeper): move function...
8175 * paragraph_funcs.C: ...here
8177 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8179 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8181 * buffer.C (readInset): remove compability code for old Figure and
8184 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8186 * buffer.C: ws changes
8189 * BufferView_pimpl.C: ditto
8192 * bufferlist.h: ditto
8196 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8198 * converter.[Ch]: split into itself +
8201 * Makefile.am: += graph.[Ch] + format.[Ch]
8208 * lyxrc.C: added #include "format.h"
8210 2003-02-27 Angus Leeming <leeming@lyx.org>
8212 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8215 * factory.C (createInset): add "label" to the factory.
8217 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8218 string and do no more.
8220 2003-02-27 Angus Leeming <leeming@lyx.org>
8223 * LyXAction.C (init):
8224 * factory.C (createInset):
8225 * BufferView_pimpl.C (dispatch):
8226 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8228 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8230 * lyxfunc.C (dispatch):
8231 * text3.C (dispatch): pass name to params2string.
8233 2003-02-26 Angus Leeming <leeming@lyx.org>
8235 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8237 Rearrange the ~includes. Strip out the unnecessary ones.
8239 * factory.C (createInset): reformat.
8240 create new insets for the various LFUN_XYZ_APPLY lfuns.
8242 2003-02-26 John Levon <levon@movementarian.org>
8245 * lyxrow.C: add isParStart,isParEnd helpers
8247 * paragraph.h: make isInserted/DeletedText take refs
8249 * paragraph_funcs.h:
8250 * paragraph_funcs.C: remove #if 0'd code
8255 * text.C: use lyxrow helpers above.
8256 Move draw and paint routines to RowPainter.
8257 Make several methods use refs not pointers.
8258 Make backgroundColor() const.
8259 Add markChangeInDraw(), isInInset().
8260 Merge changeRegionCase into changeCase.
8261 Make workWidth() shouldn't-happen code into an Assert.
8264 * rowpainter.C: new class for painting a row.
8267 * vspace.C: make inPixels take a ref
8269 2003-02-26 Angus Leeming <leeming@lyx.org>
8271 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8274 2003-02-25 John Levon <levon@movementarian.org>
8276 * ispell.C: give the forked command a more accurate name
8278 2003-02-22 John Levon <levon@movementarian.org>
8281 * toc.C: make TocItem store an id not a Paragraph *
8284 2003-02-21 Angus Leeming <leeming@lyx.org>
8286 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8287 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8288 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8289 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8290 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8291 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8293 * BufferView_pimpl.C (dispatch):
8294 * LyXAction.C (init):
8295 * factory.C (createInset):
8296 * lyxfunc.C (getStatus, dispatch):
8297 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8299 2003-02-21 Angus Leeming <leeming@lyx.org>
8301 * BufferView_pimpl.C (MenuInsertLyXFile):
8302 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8303 * lyxfunc.C (menuNew, open, doImport):
8304 no longer pass a LyXView & to fileDlg.
8306 2003-02-21 Angus Leeming <leeming@lyx.org>
8308 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8309 * LyXAction.C: change, BIBKEY to BIBITEM.
8310 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8311 Change InsetBibKey to InsetBibitem.
8312 Change BIBKEY_CODE to BIBITEM_CODE.
8313 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8314 * factory.C: replace insetbib.h with insetbibitem.h.
8315 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8316 * paragraph.C: replace insetbib.h with insetbibitem.h.
8317 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8318 Change bibkey() to bibitem().
8319 * text.C: remove insetbib.h.
8320 * text2.C: replace insetbib.h with insetbibitem.h.
8321 change bibkey() to bibitem().
8322 * text3.C: remove insetbib.h.
8323 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8325 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * lyxrc.C (output): enclose user email in quotes (in case there are
8330 2003-02-18 John Levon <levon@movementarian.org>
8332 * buffer.h: add std::
8334 2003-02-17 John Levon <levon@movementarian.org>
8340 * pspell.C: reworking. Especially in ispell, a large
8341 number of clean ups and bug fixes.
8343 * lyxfunc.C: fix revert to behave sensibly
8345 2003-02-17 André Pönitz <poenitz@gmx.net>
8348 * commandtags.h: new LFUN_INSERT_BIBKEY
8358 * paragraph_func.C: remove special bibkey handling
8360 2003-02-17 John Levon <levon@movementarian.org>
8362 * text.C (Delete): fix case where delete at the end of
8363 the very first paragraph would not merge the pars
8365 2003-02-17 John Levon <levon@movementarian.org>
8367 * lyxrow.C: fix lastPrintablePos()
8369 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8371 * bufferparams.C (writeLaTeX): add a std:here
8373 * buffer.C: and remove a using directive there
8375 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8377 * buffer.C (makeLaTeXFile): move the code that generates the
8380 * bufferparams.C (writeLaTeX): ... in this new method
8382 * LaTeXFeatures.C (getEncodingSet): make const
8383 (getLanguages): make const
8385 * MenuBackend.C (binding): returns the binding associated to this
8387 (add): sets the status of each item by calling getStatus. Adds
8389 (read): add support for OptSubMenu
8390 (expand): remove extra separator at the end of expanded menu
8392 2003-02-15 John Levon <levon@movementarian.org>
8395 * BufferView_pimpl.C:
8397 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8398 inset code that had no actual effect. Remove unneeded status
8401 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8403 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8406 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8408 * text.C (drawLengthMarker): also draw an arrow marker for
8409 symbolic lengths (medskip...)
8411 2003-02-14 John Levon <levon@movementarian.org>
8414 * tabular.C: better method names
8416 2003-02-14 John Levon <levon@movementarian.org>
8418 * BufferView_pimpl.C:
8423 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8424 it's a more accurate name. Remove some pointless uses.
8426 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8428 * text2.C (LyXText): change order of initilizers to shut off
8431 2003-02-14 John Levon <levon@movementarian.org>
8433 * buffer.C: use ParIterator for getParFromID()
8437 * paragraph_pimpl.h:
8438 * paragraph_pimpl.C: remove unused getParFromID()
8440 2003-02-14 John Levon <levon@movementarian.org>
8442 * buffer.C: remove some very old #if 0'd parse code
8444 2003-02-13 John Levon <levon@movementarian.org>
8448 * text2.C: move hfillExpansion(), numberOfSeparators(),
8449 rowLast(), rowLastPrintable(), numberofHfills(),
8450 numberOfLabelHfills() ...
8453 * lyxrow.C: ... to member functions here.
8458 * text.C: remove LyXText::beginningOfMainBody(), and call
8459 p->beginningOfMainBody() directly. Move the check for
8460 LABEL_MANUAL into the latter.
8467 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8473 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8474 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8476 2003-02-13 John Levon <levon@movementarian.org>
8478 * CutAndPaste.C: remove debug
8480 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8482 * paragraph.C (asString): remove two unused variables
8484 * lyxtextclass.C (readTitleType):
8486 (LyXTextClass): handle new members titletype_ and titlename_
8488 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8490 2003-02-09 John Levon <levon@movementarian.org>
8493 * buffer.C: replace hand-coded list with a map for the dep clean
8495 2003-02-08 John Levon <levon@movementarian.org>
8497 * LaTeX.C: consolidate code into showRunMessage() helper
8499 2003-02-08 John Levon <levon@movementarian.org>
8504 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8505 and pass the size in explicitly
8507 * BufferView_pimpl.h:
8508 * BufferView_pimpl.C:
8510 * BufferView.C: add getCurrentChange()
8512 * BufferView_pimpl.h:
8513 * BufferView_pimpl.C: handle change lfuns
8515 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8516 for changes. Mark pasted paragraphs as new.
8518 * support/lyxtime.h:
8519 * support/lyxtime.C:
8520 * DepTable.C: abstract time_t as lyx::time_type
8523 * LColor.C: add colours for new text, deleted text, changebars
8525 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8526 package use "usenames" option.
8530 * LyXAction.C: add change lfuns
8534 * author.C: author handling
8537 * buffer.C: add a per-buffer author list, with first entry as
8538 current author. Handle new .lyx tokens for change tracking. Output
8539 author list to .lyx file. Output dvipost stuff to .tex preamble.
8540 Bump lyx format to 222.
8543 * bufferlist.C: add setCurrentAuthor() to reset current author details
8547 * bufferparams.C: add param for tracking
8549 * bufferview_funcs.C: output change info in minibuffer
8553 * changes.C: add change-tracking structure
8556 * debug.C: add CHANGES debug flag
8559 * lyxfind.C: add code for finding the next change piece
8562 * lyxrc.C: add user_name and user_email
8565 * lyxrow.C: add a metric for the top of the text line
8568 * text.C: implement accept/rejectChange()
8571 * text.C: paint changebars. Paint new/deleted text in the chosen
8572 colours. Strike through deleted text.
8576 * paragraph_pimpl.h:
8577 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8578 in the current change to the insert functions. Rework erase to
8579 mark text as deleted, adding an eraseIntern() and a range-based
8580 erase(). Implement per-paragraph change lookup and
8583 * paragraph_funcs.C: Fixup paste for change tracking.
8585 * tabular.C: mark added row/columns as new.
8587 * text.C: fix rowLast() to never return -1. Don't allow
8588 spellchecking of deleted text. Track transpose changes. Don't
8589 allow paragraph break or merge where appropriate.
8591 * text2.C: leave cursor at end of selection after a cut.
8593 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * text.C (getLengthMarkerHeight):
8596 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8597 visible on screen too.
8599 2003-02-07 John Levon <levon@movementarian.org>
8601 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8603 2003-02-05 Angus Leeming <leeming@lyx.org>
8605 * lyxserver.C (read_ready): revert my patch of 11 September last year
8606 as it sends PC cpu through the roof. Presumably this means that
8607 the lyxserver will no longer run on an Alpha...
8609 2003-01-30 Angus Leeming <leeming@lyx.org>
8611 * factory.C (createInset): create an InsetCommandParam of type "index"
8612 and use it to 'do the right thing'.
8614 * text2.C (getStringToIndex): ensure that cursor position is always
8615 reset to the reset_cursor position.
8617 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8619 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8622 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8626 * lyxfunc.C: Output messages with identical spelling, punctuation,
8629 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8631 * MenuBackend.C (expandFormats): List only viewable export formats
8634 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8637 * lyxfunc.C (getStatus): Make sure that formats other than
8638 "fax" can also be disabled
8640 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8642 * text3.C (dispatch): put the lfuns that insert insets in 3
8643 groups, and call doInsertInset with appropriate arguments.
8644 (doInsertInset): new function, that creates an inset and inserts
8645 it according to some boolean parameters.
8647 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8649 * buffer.C (readFile): remember to pass on 'par' when calling
8650 readFile recursively.
8652 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8654 * MenuBackend.C (expandFormats): add "..." to import formats.
8656 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8658 * paragraph.C (asString): Remove XForms RTL hacks.
8660 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8661 * buffer.C: fix typo
8663 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * Makefile.am (LIBS): delete var
8666 (lyx_LDADD): add @LIBS@ here instead.
8668 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8670 * Clarify the meaning of "wheel mouse jump"
8672 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8674 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8677 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8679 * importer.C (Loaders): do not preallocate 3 elements in the
8680 vector, since one ends up with 6 elements otherwise
8682 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8684 * DepTable.C (write): write the file name as last element of the
8685 .dep file (because it may contain spaces)
8686 (read): read info in the right order
8688 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8690 * paragraph_pimpl.C (simpleTeXBlanks):
8691 (simpleTeXSpecialChars):
8692 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8694 * tabular.C (latex): add some missing case statements. Reindent.
8696 * MenuBackend.C (expandToc): remove unused variable.
8698 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8707 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8710 2003-01-05 John Levon <levon@movementarian.org>
8713 * BufferView.C: add getEncoding()
8716 * kbsequence.C: do not store last keypress
8719 * lyxfunc.C: store last keypress here instead. Pass encoding
8722 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8724 * lyx_main.C (init): remove annoying error message when following
8725 symbolic links (bug #780)
8727 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8729 * text.C (insertChar):
8730 * lyxrc.C (getDescription): remove extra spaces
8732 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * lyxrc.C (getDescription): remove extra spaces
8736 2002-12-20 John Levon <levon@movementarian.org>
8738 * text3.C: hack fix for page up/down across tall rows
8740 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8745 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8748 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8749 thesaurus is not compiled in
8751 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8753 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8755 2002-12-16 Angus Leeming <leeming@lyx.org>
8758 * lyx_main.C (init): remove override_x_deadkeys stuff.
8760 2002-12-12 John Levon <levon@movementarian.org>
8762 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8763 insert. Only remove shift modifier under strict
8766 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8768 * MenuBackend.C (expandToc): fix crash.
8770 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8772 * MenuBackend.C (expandToc): gettext on float names.
8774 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8776 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8777 implement bool empty() [bug 490]
8779 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8781 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8783 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8785 * several files: ws changes
8787 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8789 * text2.C (setCounter): clean up a bit, use boost.format.
8790 (updateCounters): initialize par upon declaration.
8792 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8793 if the layout exists. We do not just store the layout any more.
8794 (SwitchLayoutsBetweenClasses): use boost.format
8796 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * converter.C (convert): if from and to files are the same, use a
8799 temporary files as intermediary
8801 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8804 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8806 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8808 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8810 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8812 * tabular.C (asciiPrintCell): use string(size, char) instead of
8815 * sgml.C (openTag): fix order of arguments to string constructor
8818 * lyxfunc.C (dispatch): use boost.format
8820 * lots of files: change "c" -> 'c'
8822 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8824 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8826 2002-11-25 Angus Leeming <leeming@lyx.org>
8828 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8830 * lyx_main.C (init): compile fix.
8832 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8834 * lyx_cb.C (start): boost.formatify
8835 do not include <iostream>
8837 * lengthcommon.C: ws only
8839 * boost-inst.C,BoostFormat.h: add more explict instantations
8841 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8843 * lots of files: handle USE_BOOST_FORMAT
8845 2002-11-21 John Levon <levon@movementarian.org>
8847 * pspell.C: fix compile
8849 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8851 * lyxfunc.C (dispatch): use boost::format
8855 * lyxfont.C (stateText): use boost::format
8857 * lyx_main.C (LyX): use boost::format
8859 (queryUserLyXDir): ditto
8862 (typedef boost::function): use the recommened syntax.
8864 * importer.C (Import): use boost::format
8866 * debug.C (showLevel): use boost::format
8868 * converter.C (view): use boost::format
8873 * bufferview_funcs.C (currentState): use boost::format
8875 * bufferlist.C (emergencyWrite): use boost::format
8877 * buffer.C (readLyXformat2): use boost::format
8878 (parseSingleLyXformat2Token): ditto
8880 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8882 * LaTeX.C (run): use boost::format
8884 * Chktex.C (scanLogFile): use boost::format
8886 * BufferView_pimpl.C (savePosition): use boost::format
8887 (restorePosition): ditto
8888 (MenuInsertLyXFile): ditto
8890 * BoostFormat.h: help file for explicit instation.
8892 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8894 * tabular.C (latex): Support for block alignment in fixed width
8897 2002-11-17 John Levon <levon@movementarian.org>
8899 * BufferView_pimpl.C:
8901 * lyxfunc.C: split filedialog into open/save
8903 2002-11-08 Juergen Vigna <jug@sad.it>
8905 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8906 by my last patch (hopefully).
8908 2002-11-08 John Levon <levon@movementarian.org>
8917 * toc.C: ParConstIterator, and use it (from Lars)
8919 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8921 * lyxtextclass.[Ch]: revise and add doxygen comments
8923 2002-11-07 John Levon <levon@movementarian.org>
8925 * text.C: fix progress value for spellchecker
8927 * toc.C: fix navigate menu for insetwrap inside minipage
8929 * paragraph_funcs.C: added FIXME for suspect code
8931 2002-11-07 John Levon <levon@movementarian.org>
8933 * BufferView_pimpl.C: fix redrawing of insets
8936 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8938 * text2.C (updateCounters): fix bug 668
8940 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8942 * text3.C (dispatch): Do not make the buffer dirty when moving the
8945 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * vc-backend.C: STRCONV
8950 * text2.C (setCounter): STRCONV
8952 * paragraph.C (asString): STRCONV
8954 * lyxlength.C (asString): STRCONV
8955 (asLatexString): ditto
8957 * lyxgluelength.C (asString): STRCONV
8958 (asLatexString): ditto
8960 * lyxfunc.C (dispatch): STRCONV
8963 * lyxfont.C (stateText): STRCONV
8965 * importer.C (Import): STRCONV
8967 * counters.C (labelItem): STRCONV
8968 (numberLabel): ditto
8969 (numberLabel): remove unused ostringstream o
8974 * bufferview_funcs.C (currentState): STRCONV
8976 * buffer.C (readFile): STRCONV
8977 (asciiParagraph): ditto
8978 (makeLaTeXFile): ditto
8980 * Spacing.C (writeEnvirBegin): STRCONV
8982 * LaTeXFeatures.C (getLanguages): STRCONV
8983 (getPackages): ditto
8985 (getBabelOptions): ditto
8986 (getTClassPreamble): ditto
8987 (getLyXSGMLEntities): ditto
8988 (getIncludedFiles): ditto
8992 (scanAuxFile): ditto
8995 * LString.h: add the STRCONV macros
8997 * BufferView_pimpl.C (savePosition): STRCONV
8998 (restorePosition): ditto
8999 (MenuInsertLyXFile): ditto
9001 * vc-backend.C (scanMaster): change from submatch[...] to
9004 * funcrequest.C: include config.h
9006 * factory.C: include config.h
9008 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9010 * box.C: include config.h
9012 * LaTeX.C (scanAuxFile): change from submatch[...] to
9016 2002-10-25 Angus Leeming <leeming@lyx.org>
9018 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9020 * ispell.[Ch] (setError): new method.
9021 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9022 Use setError() insetead of goto END.
9024 * lyx_cb.C (AutoSave): move out child process into new class
9027 2002-10-30 John Levon <levon@movementarian.org>
9029 * text3.C: make start appendix undoable
9031 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9033 * lyxlength.C (inPixels): Fix returned value.
9035 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9038 2002-10-24 Angus Leeming <leeming@lyx.org>
9040 * lyxgluelength.h: no need to forward declare BufferParams
9041 or BufferView, so don't.
9043 2002-10-21 John Levon <levon@movementarian.org>
9045 * BufferView.C: menuUndo ->undo, redo
9047 * BufferView.h: document, remove dead, make some methods private
9049 * paragraph_funcs.h:
9050 * paragraph_funcs.C:
9051 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9056 * sgml.C: move sgml open/close tag into sgml.C
9058 * bufferview_funcs.h: unused prototype
9061 * lyxfunc.C: remove unused
9064 * text.C: remove unused
9066 2002-10-21 John Levon <levon@movementarian.org>
9070 * BufferView_pimpl.h:
9071 * BufferView_pimpl.C: fix mouse wheel handling based on
9072 patch from Darren Freeman
9074 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9076 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9078 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9080 * lyxlength.C (inPixels): Fix hanfling of negative length.
9081 Fix LyXLength::MU case.
9083 2002-10-16 John Levon <levon@movementarian.org>
9085 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9087 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9089 * converter.C (view): add support for $$i (file name) and $$p
9090 (file path) for the viewer command. If $$i is not specified, then
9091 it is appended to the command (for compatibility with old syntax)
9093 2002-10-14 Juergen Vigna <jug@sad.it>
9095 * undo_funcs.C (textHandleUndo): alter the order in which the
9096 new undopar is added to the LyXText, as we have to set first
9097 the right prev/next and then add it as otherwise the rebuild of
9098 LyXText is not correct. Also reset the cursor to the right paragraph,
9099 with this IMO we could remove the hack in "redoParagraphs()".
9101 2002-10-09 Angus Leeming <leeming@lyx.org>
9103 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9104 to turn off an optimisation if a new inset is to be inserted.
9106 2002-10-11 André Pönitz <poenitz@gmx.net>
9108 * lyxtext.h: make some functions public to allow access
9109 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9111 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * text3.C (dispatch): when changing layout, avoid an infinite loop
9116 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9118 * lyxrc.C (read): treat a viewer or converter command of "none" as
9121 * MenuBackend.C (expandFormats): for an update, also allow the
9122 formats that are not viewable
9124 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9125 script if it is newer than the lyxrc.defaults in user directory
9127 2002-10-07 André Pönitz <poenitz@gmx.net>
9129 * text.C: Vitaly Lipatov's small i18n fix
9131 2002-09-25 Angus Leeming <leeming@lyx.org>
9133 * ispell.h: doxygen fix.
9135 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9137 * buffer.h (readFile): Add a new argument to the method, to allow
9138 reading of old-format templates.
9140 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9142 * toc.C (getTocList): Get TOC from InsetWrap.
9144 2002-09-16 John Levon <levon@movementarian.org>
9146 * lyxfunc.C: check tabular for cut/copy too
9148 2002-09-12 John Levon <levon@movementarian.org>
9153 * factory.C: add header
9155 * paragraph_funcs.h:
9156 * paragraph_funcs.C: cleanup
9158 2002-09-11 John Levon <levon@movementarian.org>
9160 * PrinterParams.h: odd/even default to true
9162 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9164 * PrinterParams.h: update printer parameters for new xforms dialog
9166 2002-09-11 Angus Leeming <leeming@lyx.org>
9168 * lyxserver.C (read_ready): re-write to make it more transparent
9169 and to make it work in coherent fashion under Tru64 Unix.
9171 2002-09-11 André Pönitz <poenitz@gmx.net>
9175 * text3.C: implement LFUN_WORDSEL
9177 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9179 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9180 make floatlist_ a boost::shared_ptr<FloatList>
9182 * lyxtextclass.C: include FloatList.h
9183 (LyXTextClass): initialize floatlist_
9184 (TextClassTags): add TC_NOFLOAT
9185 (Read): match "nofloat" to TC_NOFLOAT and use it.
9186 (readFloat): modify call to floatlist_
9190 * FloatList.[Ch] (FloatList): remove commented out float
9192 (erase): new function
9194 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9196 * MenuBackend.C (expandToc): fix crash when there is no document
9199 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9201 * many files: Add insetwrap.
9203 2002-09-09 John Levon <levon@movementarian.org>
9205 * text2.C: remove confusing and awkward depth wraparound
9207 2002-09-09 John Levon <levon@movementarian.org>
9209 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9212 * buffer.C: remove getIncludeonlyList()
9215 * lyxfunc.C: remove headers
9217 2002-09-09 Juergen Vigna <jug@sad.it>
9219 * text.C (getColumnNearX): fix form Michael this is most
9220 probably a cut&paste bug.
9222 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9224 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9226 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9227 references, ws changes.
9229 * text2.C (init): update counters after init
9230 (insertParagraph): no need to set counter on idividual paragraphs.
9231 (setCounter): access the counters object in the textclass object
9232 on in the buffer object.
9233 (updateCounters): ditto
9235 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9236 shared_ptr<Counters> to avoid loading counters.h in all
9238 (LyXTextClass): initialize ctrs_
9239 (TextClassTags): add TC_COUNTER, and ...
9240 (Read): use it here.
9241 (CounterTags): new tags
9242 (readCounter): new function
9243 (counters): new funtion
9244 (defaultLayoutName): return a const reference
9246 * counters.C (Counters): remove contructor
9247 (newCounter): remove a couple of unneeded statements.
9248 (newCounter): simplify a bit.
9249 (numberLabel): some small formatting changes.
9251 * buffer.[Ch]: remove all traces of counters, move the Counters
9252 object to the LyXTextClass.
9254 2002-09-06 Alain Castera <castera@in2p3.fr>
9256 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9257 package to set the horizontal alignment on fixed width columns.
9260 * lyx_sty.h: added tabularnewline macro def.
9262 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9264 2002-09-06 John Levon <levon@movementarian.org>
9266 * LyXAction.C: tooltips for sub/superscript
9268 * MenuBackend.C: a bit more verbose
9270 * lyxfunc.C: tiny clean
9272 * undo_funcs.C: document undo_frozen
9274 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9276 * counters.C (Counters): add missing algorithm counter.
9278 * text2.C (setCounter): lookup the counter with layouts latexname
9279 instead of by section number.
9280 (setCounter): use a hackish way to lookup the correct enum
9282 a float name->type change
9283 reset enum couners with counter name directly instead of depth value.
9285 * counters.C (Counters): remove the push_backs, change to use the
9286 float type not the float name.
9287 (labelItem): remove unused string, float name->type change
9289 * counters.h: don't include vector, loose the enums and sects vectors
9291 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9293 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9294 (Read): add float->TC_FLOAT to textclassTags
9295 (Read): and handle it in the switch
9296 (readFloat): new function
9298 * FloatList.C (FloatList): comment out the hardcoded float
9301 * lyxlayout.h: ws change.
9303 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9305 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9307 2002-09-03 Angus Leeming <leeming@lyx.org>
9309 * BufferView_pimpl.h: qualified name is not allowed in member
9310 declaration: WorkArea & Pimpl::workarea() const;
9312 * factory.C: added using std::endl directive.
9314 * text3.C: added using std::find and std::vector directives.
9316 2002-08-29 André Pönitz <poenitz@gmx.net>
9319 * text2.C: remove unused member number_of_rows
9322 * BufferView2.C: remove file, move contents to...
9323 * BufferView.C: ... here
9325 * BufferView_pimpl.C:
9326 * factory.C: move more inset creation to factory
9328 * vspace.C: avoid direct usage of LyXText, ws changes
9331 don't provide direct access to WorkArea, use two simple
9332 acessors haveSelction() and workHeight() instead
9335 2002-08-29 John Levon <levon@movementarian.org>
9337 * BufferView_pimpl.C (dispatch): do not continue when
9340 2002-08-28 André Pönitz <poenitz@gmx.net>
9342 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9345 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9347 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9349 * buffer.C: increment LYX_FORMAT to 221
9351 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9352 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9354 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9356 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9358 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9360 * factory.C (createInset): use LyXTextClass::floats
9362 * MenuBackend.C (expandFloatListInsert):
9363 (expandFloatInsert):
9366 * text2.C (setCounter):
9368 * LaTeXFeatures.C (useFloat):
9369 (getFloatDefinitions):
9371 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9373 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9374 floatlist_, with accessor floats().
9376 * FloatList.h: remove global FloatList
9378 2002-08-26 André Pönitz <poenitz@gmx.net>
9380 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9384 * BufferView_pimpl.C:
9385 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9387 2002-08-25 John Levon <levon@movementarian.org>
9389 * LyXAction.C: fix margin note description
9391 2002-08-24 John Levon <levon@movementarian.org>
9395 * bufferview_funcs.C:
9397 * undo_funcs.C: cleanups
9399 * lyxfunc.C: disable CUT/COPY when no selection
9401 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9403 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9404 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9406 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9407 Add backward compatibility to "mono", "gray" and "no".
9409 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9411 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9412 (and file_format >= 200).
9414 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9416 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9418 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9420 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9422 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9424 * BufferView_pimpl.C:
9431 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9432 inset and code to make it work with the paragraph code. The inset
9433 can be anywhere in the paragraph, but will only do the expected
9434 thing in LaTeX if the layout file contains the parameter line
9436 (or more generally, a nonzero value) for that layout.
9438 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9440 * paragraph.h: remove the declaration of undefined counters class
9443 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9445 * text2.C (setCounter): fixed enumeration mis-count as reported by
9446 Dr. Richard Hawkins.
9448 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * paragraph_funcs.h: remove some unneeded includes
9452 * text.C (backspace): pasteParagraph now in global scipe
9454 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9455 (pasteSelection): ditto
9457 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9458 * paragraph_funcs.C (pasteParagraph): ... here
9460 2002-08-20 André Pönitz <poenitz@gmx.net>
9462 * commandtags.h: new LFUNs for swapping/copying table row/colums
9465 * lyxfunc.C: support for new lfuns
9467 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9470 * buffer.[Ch]: remove NO_COMPABILITY stuff
9472 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9474 * boost.C (throw_exception): new file, with helper function for
9475 boost compiled without exceptions.
9480 * ParameterStruct.h:
9481 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9483 * bufferlist.C (emergencyWriteAll): use boost bind
9485 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9487 * text.C: include paragraph_funcs.h
9488 (breakParagraph): breakParagraph is now in global scope
9490 * paragraph_funcs.[Ch]: new files
9492 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9495 * buffer.C: include paragraph_funcs.h
9496 (insertStringAsLines): breakParagraph is now in global scope
9498 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9501 * CutAndPaste.C: include paragraph_funcs.h
9502 (cutSelection): breakParagraphConservative is now in global scope
9503 (pasteSelection): ditto
9505 * buffer.h: declare oprator== and operator!= for
9506 Buffer::inset_iterator
9508 * bufferlist.C (emergencyWrite): don't use fmt(...)
9510 * text3.C: add using std::endl
9512 * BufferView.C (moveCursorUpdate): remove default arg
9514 2002-08-20 André Pönitz <poenitz@gmx.net>
9516 * buffer.[Ch]: move inline functions to .C
9519 * BufferView_pimpl.C:
9521 * buffer.[Ch]: use improved inset_iterator
9524 * paragraph.[Ch]: write one paragraph at a time
9526 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9528 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9529 style if style is not specified.
9531 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9533 * text2.C (setCounter): when searching for right label for a
9534 caption, make sure to recurse to parent insets (so that a caption
9535 in a minipage in a figure float works) (bug #568)
9537 2002-08-20 André Pönitz <poenitz@gmx.net>
9539 * text3.C: new file for LyXText::dispatch() and helpers
9541 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9543 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9545 2002-08-19 André Pönitz <poenitz@gmx.net>
9548 * text.C: new LyXText::dispatch()
9550 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9552 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9554 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9556 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9559 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9561 * Makefile.am: use $(variables) instead of @substitutions@
9563 2002-08-15 André Pönitz <poenitz@gmx.net>
9566 * BufferView_pimpl.C: streamlining mathed <-> outer world
9570 * LyXAction.C: remove unused LFUN_MATH
9572 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9574 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9576 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9578 * paragraph.C (Paragraph): reformat a bit
9579 (cutIntoMinibuffer): use builtin InsetList function instad of
9583 * buffer.C: include boost/bind.hpp, add using std::for_each
9584 (writeFileAscii): use ParagraphList iterators
9585 (validate): use for_each for validate traversal of paragraphs
9586 (getBibkeyList): use ParagraphList iterators
9587 (resizeInsets): use for_each to resizeInsetsLyXText for all
9589 (getParFromID): use ParagraphList iterators
9591 * BufferView2.C (lockInset): use paragraph list and iterators
9593 2002-08-14 John Levon <levon@movementarian.org>
9595 * lyxserver.C: remove spurious xforms include
9597 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9599 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9601 2002-08-13 André Pönitz <poenitz@gmx.net>
9604 * lyxfunc.C: further cleaning
9606 2002-08-13 André Pönitz <poenitz@gmx.net>
9608 * funcrequest.h: new constructor
9610 * funcrequest.C: move stuff here from .h
9613 * BufferView_pimpl.C:
9616 * lyxfunc.C: subsequent changes
9618 * lyxfunc.h: new view() member function
9620 * lyxfunc.C: subsequent changes
9622 2002-08-13 Angus Leeming <leeming@lyx.org>
9625 * BufferView_pimpl.C:
9633 changes due to the changed LyXView interface that now returns references
9634 to member variables not pointers.
9636 2002-08-13 Angus Leeming <leeming@lyx.org>
9638 * WordLangTuple (word, lang_code): return references to strings,
9643 * lyxtext.h: forward-declare WordLangTuple.
9648 * text.C: #include "WordLangTuple.h".
9651 * text.C: (selectNextWordToSpellcheck): constify return type.
9653 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9659 * paragraph_pimpl.h:
9662 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9664 Made updateCounter always count from start of buffer, and removed
9665 second argument (par).
9666 Reverted floats number display to '#'. Perhaps I'll try again when the
9667 code base is sanitized a bit.
9669 2002-08-12 Angus Leeming <leeming@lyx.org>
9671 * buffer.[Ch] (getLabelList): constify.
9673 2002-08-07 André Pönitz <poenitz@gmx.net>
9675 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9677 * funcrequest.h: extension to keep mouse (x,y) position
9679 2002-08-12 Juergen Vigna <jug@sad.it>
9681 * BufferView2.C (insertErrors): forbid undo when inserting error
9684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9686 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9688 * ParagraphList.[Ch]: new files
9690 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9692 * BufferView2.C (lockInset): ParagraphList changes
9695 * bufferlist.C: ditto
9699 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9701 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9702 unused class variable counter_,
9704 * paragraph.[Ch] (getFirstCounter): delete unused function
9706 * counters.C: include LAssert.h
9707 (reset): add a new function with no arg, change other version to
9708 not have def. arg and to not allow empty arg.
9710 * text2.C (setCounter): remove empty arg from call to Counters::reset
9712 2002-08-11 John Levon <levon@movementarian.org>
9714 * Makefile.am: add WordLangTuple.h
9716 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9718 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9719 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9721 * insets/insettext.C: InsetList changes
9723 * graphics/GraphicsSupport.C (operator()): InsetList changes
9725 * toc.C (getTocList): InsetList changes
9727 * paragraph_pimpl.[Ch]: InsetList changes
9729 * paragraph.[Ch]: InsetList changes
9731 * buffer.C (inset_iterator): InsetList changes
9732 (setParagraph): ditto
9733 * buffer.h (inset_iterator): ditto
9734 * iterators.C (operator++): ditto
9735 * iterators.h: ditto
9737 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9739 * InsetList.[Ch]: new files, most InsetList handling moved out of
9742 * BufferView2.C (removeAutoInsets): InsetList changes
9744 (ChangeInsets): ditto
9746 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9748 * paragraph_pimpl.h (empty): new function
9750 * paragraph.[Ch] (empty): new function
9752 * other files: use the new Paragraph::empty function
9754 2002-08-09 John Levon <levon@movementarian.org>
9756 * lyxtext.h: remove unused refresh_height
9758 2002-08-09 John Levon <levon@movementarian.org>
9765 * paragraph.C: move sgml char escaping out of paragraph
9768 * paragraph.C: remove id setter
9772 * paragraph_pimpl.C: remove dead tex_code_break_column
9774 * bufferview_funcs.C: small cleanup
9776 * lyxfunc.C: remove dead proto
9778 * lyxtext.h: make some stuff private. Remove some dead stuff.
9780 * lyxgluelength.C: make as[LyX]String() readable
9782 2002-08-08 John Levon <levon@movementarian.org>
9787 * ToolbarDefaults.C:
9790 * toc.C: lyxaction cleanup
9792 2002-08-08 John Levon <levon@movementarian.org>
9794 * BufferView2.C: small cleanup
9797 * lyxfind.C: move unnecessary header into the .C
9799 2002-08-08 John Levon <levon@movementarian.org>
9801 * funcrequest.h: just tedious nonsense
9804 * lyx_main.C: cleanups
9807 * vspace.C: remove dead header lyx_main.h
9809 2002-08-07 Angus Leeming <leeming@lyx.org>
9812 * paragraph_pimpl.h:
9813 Forward declare class Counters in paragraph.h by moving the ctrs member
9814 variable into Paragraph::Pimpl.
9815 (counters): new method, returning a reference to pimpl_->ctrs.
9817 * text2.C: ensuing changes.
9819 2002-08-07 John Levon <levon@movementarian.org>
9821 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9823 * BufferView_pimpl.C: announce X selection on double/triple
9826 * lyx_main.C: use correct bool in batch dispatch
9828 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9830 2002-08-07 André Pönitz <poenitz@gmx.net>
9832 * funcrequest.h: new class to wrap a kb_action and its argument
9835 * BufferView_pimpl[Ch]:
9839 * lyxrc.C: subsequent changes
9842 2002-08-07 John Levon <levon@movementarian.org>
9844 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9845 document options change.
9847 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9852 * makefile.am: move counters functionality over from
9853 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9855 2002-08-06 John Levon <levon@movementarian.org>
9857 * WordLangTuple.h: new file for word + language code tuple
9868 * BufferView2.C: use WordLangTuple
9871 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9873 2002-08-06 John Levon <levon@movementarian.org>
9875 * lyx_main.C: fix cmdline batch handling
9877 2002-08-06 André Pönitz <poenitz@gmx.net>
9879 * lyxrc.C: set default for show_banner to true
9881 2002-08-06 John Levon <levon@movementarian.org>
9883 * pspell.C: fix a crash, and allow new aspell to work
9885 2002-08-06 John Levon <levon@movementarian.org>
9888 * kbmap.C: small cleanup
9891 * vspace.C: add const
9893 2002-08-05 John Levon <levon@movementarian.org>
9895 * LyXAction.C: back to tabular-insert
9897 2002-08-04 John Levon <levon@movementarian.org>
9900 * BufferView.C: cosmetic change
9902 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9912 * BufferView2.C: purge all "Lyx" not "LyX" strings
9915 * lyxcursor.C: attempt to add some documentation
9920 * ToolbarDefaults.C:
9921 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9922 merge with LFUN_TABULAR_INSERT
9929 * pspell.C: split up i/pspell implementations into separate
9930 files, many cleanups
9932 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9934 * text2.C: some cleanup
9936 * lyxfunc.C: don't check for isp_command == "none" any more, it
9937 didn't make any sense
9939 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9944 * makefile.am: move counters functionality over
9945 from text2.C/paragraph.[Ch] to counters.[Ch], and
9947 2002-08-02 John Levon <levon@movementarian.org>
9949 * buffer.C: s/lyxconvert/lyx2lyx/
9951 2002-08-02 Angus Leeming <leeming@lyx.org>
9953 * lyxlex.C: revert John's change as it breaks reading of the user
9956 2002-08-02 Angus Leeming <leeming@lyx.org>
9958 * importer.C (Import):
9959 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9960 changes due to LyXView::view() now returning a boost::shared_ptr.
9962 2002-08-02 John Levon <levon@movementarian.org>
9964 * lyxlex.C: small cleanup
9966 2002-08-02 John Levon <levon@movementarian.org>
9968 * text2.C (status): small cleanup, no logic change
9970 2002-08-01 John Levon <levon@movementarian.org>
9973 * buffer.C (writeFile): don't output alerts, caller
9977 * lyx_cb.C: from above
9979 * lyxfunc.C: allow to open non-existent files
9981 2002-07-31 John Levon <levon@movementarian.org>
9983 * lyxserver.C: don't let incidental errors get
9986 2002-07-30 John Levon <levon@movementarian.org>
9988 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9990 2002-07-30 John Levon <levon@movementarian.org>
9993 * lyxserver.C: remove I/O callback too
9995 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9997 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10000 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10002 * many files: strip,frontStrip -> trim,ltrim,rtrim
10004 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10006 * PrinterParams.h: remove extern containsOnly, and include
10007 support/lstrings.h instead.
10009 * LaTeX.C (scanAuxFile): modify because of strip changes
10011 * buffer.C (makeLaTeXFile): ditto
10012 * bufferparams.C (writeFile): ditt
10013 * lyxfont.C (stateText): ditto
10014 * lyxserver.C (read_ready): ditto
10015 * vc-backend.C (scanMaster): ditto
10017 * BufferView_pimpl.h: ws changes
10019 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10021 2002-07-26 André Pönitz <poenitz@gmx.net>
10023 * kb_sequence.C: remove unnedred usings
10025 2002-07-26 Juergen Vigna <jug@sad.it>
10027 * lyxfind.C (LyXReplace): we have to check better if the returned
10028 text is not of theLockingInset()->getLockingInset().
10030 2002-07-25 Juergen Vigna <jug@sad.it>
10032 * lyxfind.C (LyXReplace): don't replace if we don't get the
10035 * undo_funcs.C (createUndo): remove debugging code.
10037 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10039 * buffer.C (parseSingleLyXformat2Token): Use default placement
10040 when reading old floats.
10042 * FloatList.C (FloatList): Change the default placement of figure
10043 and tables to "tbp".
10045 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10047 * MenuBackend.C: using std::max
10049 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10051 * MenuBackend.C (expandToc):
10052 (expandToc2): code moved from xforms menu frontend. It is now
10053 generic and TOCs are transparent to menu frontends.
10055 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10057 * toc.C (getTocList): protect against buf=0
10059 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10060 Menu as first parameter. Now, this calls itself recursively to
10061 expand a whole tree (this will be useful for TOC handling)
10062 (expandFloatInsert): remove 'wide' version of floats
10064 * MenuBackend.h (submenuname): returns the name of the submenu.
10065 (submenu): returns the submenu itself, provided it has been
10066 created by MenuBackend::expand
10068 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10071 insets which have noFontChange == true. (bug #172)
10073 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10075 * BufferView_pimpl.C: add connection objects and use them...
10078 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10080 * MenuBackend.C (expandLastfiles):
10083 (expandFloatListInsert):
10084 (expandFloatInsert):
10085 (expand): split expand in parts
10087 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10089 * lyx_gui.C: use lyx_gui::exit()
10091 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10093 * LyXAction.C: show the failing pseudo action
10095 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10097 * buffer.C (readFile): Run the lyxconvert script in order to read
10100 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10104 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10106 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10110 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10112 2002-07-22 Herbert Voss <voss@lyx.org>
10115 * lyxlength.[Ch]: add support for the vertical lengths
10117 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10119 * toc.[Ch]: std:: fixes
10121 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10123 * lyxrc.C: do not include lyx_main.h
10125 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10131 * BufferView2.C: include "lyxlex.h"
10134 * bufferparams.h: do not #include "lyxlex.h"
10136 * lyxtextclasslist.C (Add): remove method
10137 (classlist): renamed to classlist_
10139 * paragraph_pimpl.C:
10143 * bufferview_funcs.C:
10148 * toc.C (getTocList): use BufferParams::getLyXTextClass
10150 * toc.C (getTocList): use InsetFloat::addToToc
10152 * toc.[Ch]: new files, containing helper functions to handle table
10155 * lyxfunc.C (dispatch): no need to remove spaces around command
10157 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10158 first command of the sequence; it is not very clever, but I do not
10159 have a better idea, actually
10161 * LyXAction.C (LookupFunc): make sure to remove space at the
10162 beginning and end of the command
10164 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10166 * MenuBackend.C (getMenubar): new method: return the menubar of
10168 (read): treat differently reading of menu and menubar (in
10169 particular, the menubar has no name now)
10170 (Menu::menubar): remove
10172 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10175 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10177 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10178 a bibitem inset in a RTL paragraph.
10180 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10182 * paragraph_pimpl.C: constify
10184 * BufferView_pimpl.C:
10186 * lyxfunc.C: fix dispatch in a nicer way
10188 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10190 * lyxfunc.C (dispatch):
10191 * BufferView_pimpl.C:
10192 * BufferView_pimpl.h:
10194 * BufferView.h: rename Dispatch() to dispatch()
10196 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10198 * lyxlayout.C (Read): honor DependsOn tag
10200 * lyxlayout.[Ch] (depends_on): new method
10202 * version.C.in: update lyx_docversion
10204 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10206 * paragraph.C (validate): remove from here...
10207 * paragraph_pimpl.C (validate): ... and move here
10208 (isTextAt): make it const
10210 * buffer.C (getLists): ws cleanup
10212 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10214 * language.C (read): Use iso8859-1 encoding in latex_lang
10215 (this prevents LyX from crashing when using iso10646-1 encoding).
10217 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10219 * text2.C (toggleInset): if cursor is inside an inset, close the
10220 inset and leave cursor _after_ it
10222 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10224 * lyxfunc.C: move minibuffer completion handling out of here
10226 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10228 * BufferView_pimpl.C:
10229 * LaTeX.C: fix dispatch calls
10231 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10233 * text.C (drawChars): Fix Arabic text rendering.
10235 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10239 * lyxfunc.C: remove message-push/pop
10243 * lyxfunc.C: rationalise some code by removing verboseDispatch
10244 in favour of a bool argument to dispatch()
10246 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10248 * lyx_main.C (init): make sure to read symlinks as absolute paths
10250 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10253 * lyxfunc.C: no need for commandshortcut to be a member
10255 2002-07-15 André Pönitz <poenitz@gmx.net>
10257 * converter.C: add support for $$s (scripts from lib/scripts dir)
10258 * lyx_main.C: white space
10260 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10264 * lyxrc.C: remove second exit confirmation
10266 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10271 * BufferView_pimpl.h:
10272 * BufferView_pimpl.C:
10273 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10275 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10277 * MenuBackend.C (expand): add numeric shortcuts to document menu
10279 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10281 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10283 * lyxfont.C (setLyXFamily):
10290 * buffer.C (asciiParagraph): use ascii_lowercase
10292 2002-07-15 Mike Fabian <mfabian@suse.de>
10294 * lyxlex_pimpl.C (search_kw):
10295 * lyxlex.C (getLongString):
10296 * converter.h (operator<):
10297 * converter.C (operator<):
10298 * buffer.C (parseSingleLyXformat2Token):
10300 * ToolbarDefaults.C (read):
10301 * MenuBackend.C (checkShortcuts):
10303 * LColor.C (getFromGUIName):
10304 (getFromLyXName): use the compare_ascii_no_case instead of
10305 compare_no_case, because in turkish, 'i' is not the lowercase
10306 version of 'I', and thus turkish locale breaks parsing of tags.
10308 2002-07-16 Angus Leeming <leeming@lyx.org>
10310 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10311 now takes a Buffer const & argument.
10313 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10315 * BufferView.C (resize): check there's a buffer to resize
10317 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10319 * lyxfunc.C: remove dead code
10322 * lyxserver.C: use lyx_guii::set_read_callback
10324 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10326 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10327 an inset in a RTL paragraph.
10329 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10331 * lyxfunc.C: repaint after a font size update
10333 2002-07-15 André Pönitz <poenitz@gmx.net>
10335 * lyxlength.C: inBP should be able to return negative values
10337 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10339 * lyxfunc.C: use lyx_gui::update_fonts()
10341 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10343 * lyxfunc.C: use lyx_gui::update_color()
10345 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10351 * lyxrc.C: remove file->new asks for name option, and let
10352 buffer-new take an argument
10354 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10356 * BufferView_pimpl.C: remove unneeded extra repaint()
10358 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10360 * LyXAction.C: allow command-sequence with NoBuffer
10362 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10364 2002-07-10 Angus Leeming <leeming@lyx.org>
10366 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10368 2002-07-09 Angus Leeming <leeming@lyx.org>
10370 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10372 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10374 * lengthcommon.h: whitespace
10376 * lyxfunc.C: update scrollbar after goto paragraph
10378 * lyxtext.h: factor out page break drawing, and fix it so
10379 page break/added space paints as selected nicely
10381 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10383 * BufferView_pimpl.C: add FIXMEs, clean up a little
10385 2002-07-09 André Pönitz <poenitz@gmx.net>
10387 * lyxfont.[Ch]: support for wasy symbols
10389 2002-07-08 André Pönitz <poenitz@gmx.net>
10391 * BufferView_pimpl.C: apply John's patch for #93.
10393 2002-07-05 Angus Leeming <leeming@lyx.org>
10395 * BufferView_pimpl.C (buffer): generate previews if desired.
10397 * LColor.h: add "preview" to the color enum.
10399 * LColor.C (LColor): add a corresponding entry to the items array.
10401 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10404 2002-07-05 Angus Leeming <leeming@lyx.org>
10406 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10407 The body of the code is now in the method that is passed an ostream &
10408 rather than a file name.
10409 Pass an additional only_preamble parameter, useful for the forthcoming
10412 2002-07-03 André Pönitz <poenitz@gmx.net>
10414 * lyxfunc.C: simplify getStatus() a bit for math stuff
10416 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10418 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10420 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * text.C (changeRegionCase): do not change case of all the
10423 document when region ends at paragraph end (bug #461)
10425 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10427 * paragraph.C (startTeXParParams):
10428 (endTeXParParams): add \protect when necessary
10430 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10432 * BufferView_pimpl.C (workAreaExpose): remove warning
10434 2002-06-27 Angus Leeming <leeming@lyx.org>
10436 * Makefile.am: add lyxlayout_ptr_fwd.h.
10438 2002-06-26 André Pönitz <poenitz@gmx.net>
10440 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10442 2002-06-25 Angus Leeming <leeming@lyx.org>
10444 * lyxfunc.C (dispatch): Comment out the call to
10445 grfx::GCache::changeDisplay. The method no longer exists now that the
10446 pixmap generation part of the graphics loader has been moved into
10449 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10451 * text2.C: layout as layout
10453 * text.C: layout as layout
10455 * tabular.C (OldFormatRead): layout as layout
10457 * paragraph_pimpl.C (TeXDeeper): layout as layout
10458 (realizeFont): layout as layout
10460 * paragraph.C (writeFile): layout as layout
10461 (validate): layout as layout
10462 (getFont): layout as layout
10463 (getLabelFont): layout as layout
10464 (getLayoutFont): layout as layout
10465 (breakParagraph): layout as layout
10466 (stripLeadingSpaces): layout as layout
10467 (getEndLabel): layout as layout
10468 (getMaxDepthAfter): layout as layout
10469 (applyLayout): layout as layout
10470 (TeXOnePar): layout as layout
10471 (simpleTeXOnePar): layout as layout
10472 (TeXEnvironment): layout as layout
10473 (layout): layout as layout
10474 (layout): layout as layout
10476 * lyxtextclass.C (compare_name): new functor to work with
10477 shared_ptr, layout as layout
10478 (Read): layout as layout
10479 (hasLayout): layout as layout
10480 (operator): layout as layout
10481 (delete_layout): layout as layout
10482 (defaultLayout): layout as layout
10484 * lyxlayout_ptr_fwd.h: new file
10486 * lyxlayout.C (Read): layout as layout
10488 * lyx_cb.C (MenuInsertLabel): layout as layout
10490 * bufferlist.C (newFile): layout as layout
10492 * buffer.C (readLyXformat2): layout as layout
10493 (parseSingleLyXformat2Token): layout as layout
10494 (insertStringAsLines): layout as layout
10495 (asciiParagraph): layout as layout
10496 (latexParagraphs): layout as layout
10497 (makeLinuxDocFile): layout as layout
10498 (simpleLinuxDocOnePar): layout as layout
10499 (makeDocBookFile): layout as layout
10500 (simpleDocBookOnePar): layout as layout
10501 (getLists): layout as layout
10503 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10505 * CutAndPaste.C (cutSelection): layout as layout
10506 (pasteSelection): layout as layout
10507 (SwitchLayoutsBetweenClasses): layout as layout
10509 * BufferView_pimpl.C (Dispatch): layout as layout
10510 (smartQuote): layout as layout
10512 * BufferView2.C (unlockInset): layout as layout
10514 2002-06-24 André Pönitz <poenitz@gmx.net>
10516 * lyxfunc.C: fix #487
10518 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10522 * lyxfunc.C: remove display_shortcuts, show_banner
10524 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10526 * Buffer_pimpl.C: oops, update on resize
10528 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10535 * BufferView.C: use repaint()
10537 * BufferView_pimpl.h:
10538 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10539 as it's a clearer description. Remove superfluous
10542 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10544 * text.C: fix bug 488. Not ideal, but getting
10545 getWord() to work properly for the insets that
10546 matter is more difficult ...
10548 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10550 * BufferView_pimpl.C:
10553 * lyxfunc.C: remove the six million index lyxfuncs to just
10554 one, and DTRT (bug 458)
10556 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10560 * BufferView_pimpl.h:
10561 * BufferView_pimpl.C: clean up resize() stuff,
10562 and unnecessary updateScreen()s
10564 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10568 * BufferView_pimpl.h:
10569 * BufferView_pimpl.C:
10572 * minibuffer.C: remove focus management of workarea,
10573 not needed. Use screen's greyOut()
10575 2002-06-17 Herbert Voss <voss@lyx.org>
10577 * converter.C: (convert) do not post a message, when converting
10578 fails, let the calling function decide what to do in this case
10580 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10582 * lyxfunc.C: tidy up a little
10584 2002-06-16 <alstrup@diku.dk>
10586 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10587 Got rid of FORMS_H_LOCATION include. Now we are
10590 2002-06-15 LyX Development team <lyx@rilke>
10592 * buffer.[Ch] (sgmlOpenTag):
10593 (sgmlCloseTag): Added support for avoiding pernicious mixed
10594 content. Return number of lines written.
10596 (makeLinuxDocFile):
10597 (makeDocBookFile): Fixed calls to sgml*Tag.
10598 Simple white space clean.
10600 (simpleDocBookOnePar): Simple white space clean.
10602 * tabular.[Ch] (docBook): Renamed to docbook and got another
10603 argument to related with the pernicious mixed content.
10605 (docbookRow): Fixed calls for docbook inset method.
10607 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10609 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10610 so it's X11 independent.
10614 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10616 2002-06-15 Lyx Development team <lyx@electronia>
10618 * intl.h: Renamed getTrans to getTransManager.
10620 2002-06-14 Angus Leeming <leeming@lyx.org>
10622 * Makefile.am: nuke forgotten stl_string_fwd.h.
10624 2002-06-12 Angus Leeming <leeming@lyx.org>
10626 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10628 2002-06-13 Angus Leeming <leeming@lyx.org>
10631 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10633 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10635 * kbmap.C (getiso): add support for cyrillic and greek
10637 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10641 * BufferView_pimpl.h:
10642 * BufferView_pimpl.C: move bogus scrolling logic
10645 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10648 * BufferView_pimpl.C: view->resize() change
10650 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10652 * BufferView_pimpl.C: topCursorVisible
10655 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10659 * lyx_gui.C: move to frontends/
10663 * lyx_main.C: changes from above
10665 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10672 * lyx_main.C: minor tidy
10674 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10676 * BufferView_pimpl.h:
10677 * BufferView_pimpl.C:
10679 * BufferView.C: make painter() const,
10682 * BufferView2.C: use screen() accessor
10685 * lyx_main.C: some minor cleanup
10687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10689 * BufferView_pimpl.h:
10690 * BufferView_pimpl.C: remove enter/leaveView,
10693 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10698 * BufferView_pimpl.h:
10699 * BufferView_pimpl.C: only construct screen once,
10702 * lyxrc.C: remove pointless comment
10704 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10707 * BufferView.C: remove active() and belowMouse()
10709 * BufferView_pimpl.h:
10710 * BufferView_pimpl.C: use workarea() not workarea_,
10711 and make it use a scoped_ptr instead
10713 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10715 * lyx_gui.C: add debug message on BadWindow
10717 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * sp_spell.C: fdopen is not part of the C++ standard.
10721 * paragraph.C (InsetIterator): use >= instead of ==
10723 2002-06-07 Angus Leeming <leeming@lyx.org>
10725 Fixes needed to compile with Compaq cxx 6.5.
10726 * BufferView_pimpl.C:
10733 * lyxtextclasslist.C:
10738 all c-library variables have been moved into namespace std. Wrap
10739 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10744 Add a using std::abs declaration.
10746 * kbmap.h (modifier_pair):
10747 * paragraph.h (InsetTable, InsetList):
10748 * lyxfont.h (FontBits):
10749 type definition made public.
10751 * bufferlist.C (emergencyWriteAll): the compiler complains that
10752 there is more than one possible lyx::class_fun template to choose from.
10753 I re-named the void specialisation as lyx::void_class_fun.
10755 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10757 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10758 the compiler is is unable to find tostr in write_attribute.
10760 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10762 * buffer.C (sgmlError): hide #warning
10764 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10766 * xtl/*: get rid of xtl, which is not in use anyway
10768 * LyXAction.C (init):
10769 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10770 were unimplemented xtl experimentation
10772 2002-06-04 André Pönitz <poenitz@gmx.net>
10774 * lyxfunc.C: disable array operation on simple formulae
10776 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10778 * converter.C: constify a bit
10780 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10782 * lyx_gui.C: check xforms version correctly
10784 2002-04-30 Herbert Voss <voss@lyx.org>
10786 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10789 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10791 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10792 attempt to register it with a VCS)
10794 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10796 * lyx_main.C (init): honor variables LYX_DIR_13x and
10799 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10803 * lyx_main.C: fix a crash on bad command line,
10804 and give a useful exit status on error
10806 * lyxfunc.C (doImport): allow -i lyx to work
10808 2002-03-30 André Pönitz <poenitz@gmx.net>
10810 * lyxfunc.C: mathed font changes
10812 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10827 * trans_mgr.h: srcdocs, and some minor cleanups
10829 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10832 call getFont all the time)
10834 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10836 * switch from SigC signals to boost::signals
10838 2002-05-29 André Pönitz <poenitz@gmx.net>
10840 * paragraph_pimpl.C (getChar): don't call size() too often...
10842 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10844 * paragraph_pimpl.C (insertChar): do not try to update tables when
10845 appending (pos == size())
10847 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10848 in order to reduce drastically the number of comparisons needed to
10849 parse a large document
10851 2002-05-29 André Pönitz <poenitz@gmx.net>
10857 * textclasslist.[Ch]:
10858 * sp_ispell.h: whitespace change
10860 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10863 lyxaction directly now.
10865 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10869 * lyxvc.C: remove unused headers
10871 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10878 * undo_funcs.C: some cleanups. Use shared_ptr
10879 and a template for the undo stacks.
10881 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10883 * BufferView_pimpl.h:
10884 * BufferView_pimpl.C:
10891 * text2.C: use key_state/mouse_state
10893 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10895 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10898 * chset.C: change include order
10899 (loadFile): use boost regex and get rid of LRegex and LSubstring
10901 * Makefile.am (BOOST_LIBS): new variable
10902 (lyx_LDADD): use it
10904 * LaTeX.C: change include order.
10905 (scanAuxFile): use boost regex and get rid of LRegex and
10909 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10914 * FontInfo.C: moved to frontends/xforms/
10917 * FontLoader.C: moved into frontends for GUIIzation
10922 * lyxfunc.C: changes from above
10924 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10926 * LColor.C: remove spurious X include
10928 * BufferView_pimpl.C:
10933 * text2.C: move font metrics to frontends/
10935 2002-05-24 Juergen Vigna <jug@sad.it>
10937 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10938 setting the undo_cursor.
10940 * ParagraphParameters.h: include local includes first.
10942 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10944 * BufferView_pimpl.C:
10945 * BufferView_pimpl.h:
10949 * screen.C: move WorkArea into frontends/
10955 * BufferView2.C: move LyXScreen into frontends/
10959 * lyx_gui.C: move lyxlookup into frontends/xforms/
10961 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10964 * BufferView_pimpl.C:
10974 * bufferview_funcs.C:
10987 * vc-backend.C: move LyX/XFormsView into frontends/
10989 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11001 * text2.C: move Painter to frontends/
11003 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11005 * buffer.C: comment out some some code that depend upon lyx_format
11008 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11009 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11011 * buffer.h (NO_COMPABILITY): turn off compability
11013 * ColorHandler.C: include scoped_array.hpp
11015 * font.C: Use more specific smart_ptr header.
11018 * ShareContainer.h: ditto
11019 * lyx_main.h: ditto
11021 * FontInfo.h: ditto
11022 * BufferView_pimpl.h: ditto
11023 * ColorHandler.h: ditto
11025 * kbmap.C (defkey): change call to shared_ptr::reset
11027 2002-05-21 Juergen Vigna <jug@sad.it>
11029 * buffer.C (insertErtContents): fix to insert ert asis if it is
11030 non empty. Skip it completely if it contains only whitespaces.
11032 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11034 * BufferView_pimpl.C:
11035 * BufferView2.C: clear selection on paste (bug 393)
11037 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11039 * DepTable.C: include ctime
11041 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11043 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11045 2002-05-14 Juergen Vigna <jug@sad.it>
11047 * text.C (breakParagraph): fixed function to honor the keepempty
11048 layout in the right maner and also to permit the right breaking
11049 algorithm on empty or non empyt keepempty paragraphs.
11051 * paragraph.C (breakParagraph): we have to check also if the par
11052 is really empty (!size()) for isempty otherwise we do the wrong
11055 2002-05-10 Juergen Vigna <jug@sad.it>
11057 * buffer.[Ch] : The following are only changes to the ert
11058 compatibility read reading old LaTeX layout and font stuff and
11059 convert it to ERTInsets.
11061 * buffer.h: added isErtInset().
11063 * buffer.C (struct ErtComp): add a fromlayout bool to check
11064 if we're inside a LaTeX layout.
11065 (isErtInset): new helper function.
11066 (insertErtContents): look for other ert insets before this one
11067 and insert the contents there, so that we don't have subsequent
11068 ERT insets with nothing between them. This way we create only one
11069 inset with multiple paragraphs. Also check if we don't insert only
11070 spaces ' ' as they are ignored anyway afterwards in the .tex file
11071 so if we have only spaces we will ignore this latex part in the
11073 (parseSingleLyXformat2Token \\layout): better compatibility when
11074 reading layout-latex stuff.
11075 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11077 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11078 stuff after reading the inset only get the information back from
11081 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11083 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11085 * LaTeXFeatures.C (getBabelOptions): New method.
11087 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * BufferView_pimpl.C (Dispatch): work around missing argument for
11092 2002-05-08 Juergen Vigna <jug@sad.it>
11094 * text.C (leftMargin): handle paragraph leftindent.
11096 * paragraph.C (writeFile): write the new \\leftindent tag.
11097 (validate): handle leftindent code.
11098 (TeXEnvironment): handle paragraphleftindent code again.
11100 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11102 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11103 for paragrap_extra indent code and new token \\leftindent.
11104 (latexParagraphs): handle the leftindent as environment.
11106 * ParameterStruct.h: added leftindent support.
11108 * ParagraphParameters.C (leftIndent): added support functions for
11109 the paragraph left indent.
11111 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11114 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11116 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11119 * text.C (computeBidiTables): No bidi in insetERT.
11121 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11124 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11126 * version.C.in: pre 5
11128 2002-05-02 José Matos <jamatos@fep.up.pt>
11129 * buffer.C (makeDocBookFile): white space changes, add newline to
11131 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11133 * tabular.C (docBook): fix typo.
11135 2002-05-03 Juergen Vigna <jug@sad.it>
11137 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11138 change in LyXText as we can not be sure it was not freed.
11139 (drawOneRow): remove unused code.
11141 * text.C (drawInset): redo the calculation of the need_break_row as
11142 it could have a row which was already freed.
11143 (draw): look at the return value of drawInset and return false if
11144 it also returned false.
11145 (paintRowText): look at the return value of draw and return false if
11146 it also returned false.
11148 * lyxtext.h: added bool return type to drawInset() and draw() so that
11149 if we have a change in the row so that the rowbreak has to be redone
11150 we abort drawing as it will be called again.
11152 2002-05-02 Juergen Vigna <jug@sad.it>
11154 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11155 a change in the maintext also if we're inside an inset.
11156 (Dispatch): set the cursor again after a break line and after the
11157 screen has been updated as it could be we're in a different row.
11159 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11160 to set the cursor behind the pargraph with > size().
11161 (setCursor): check also for the same paragraph when checking where
11162 to put the cursor if we have a NFR inset.
11164 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11165 parts of layout read further up as it still was in the wrong
11168 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * screen.C (drawFromTo): change sine fullRebreak always return
11173 * buffer.C (parseSingleLyXformat2Token): reindent some
11175 * BufferView_pimpl.C (update): change since fullRebreak always
11177 (Dispatch): git rid of the last hardcoded "Standard"s.
11179 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * text2.[Ch] (fullRebreak): make it return void now that we always
11184 2002-04-30 Juergen Vigna <jug@sad.it>
11186 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11187 ert compatibility check for "latex" layout.
11189 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11191 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11192 minipages: use col% instead of p%, and also use the current font.
11193 (makeLaTeXFile): Fix use babel condition.
11194 (parseSingleLyXformat2Token): Correct font when reading old floats.
11196 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11198 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11199 inserting list of floats.
11201 2002-04-25 Herbert Voss <voss@lyx.org>
11203 * MenuBackend.C (expand): don't add the graphics extensions to the
11206 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11209 non-existing layout, do not complain if it was the default layout
11210 of the original class (bug #342)
11212 2002-04-24 Juergen Vigna <jug@sad.it>
11214 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11215 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11217 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11219 * buffer.C (getBibkeyList): If using \bibliography, return the
11220 option field with the reference itself. Enables us to provide natbib
11221 support when using \bibliography.
11223 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11225 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11227 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11228 natbib is provided by the LaTeX class.
11230 2002-04-23 Juergen Vigna <jug@sad.it>
11232 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11235 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11237 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11241 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11242 ensuremath around textordmasculine, textordfeminine and
11245 2002-04-19 Juergen Vigna <jug@sad.it>
11247 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11248 reinitializing the buffer otherwise row-dimensions may be wrong.
11249 (update): reset also the selection cursors if they do exits otherwise
11250 their x/y positions may be wrong.
11252 * text2.C (cursorDown): don't enter the inset if we came from a row
11253 above and are one row over the inset.
11255 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11256 really leaving an inset.
11258 2002-04-18 Juergen Vigna <jug@sad.it>
11260 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11261 of the selected paragraph does not have the selected layout also if
11264 * text2.C (setLayout): fixed bug which did not change last selected
11267 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11268 changed the read and substituted \\end_float with \\end_inset!
11270 * BufferView_pimpl.C (cursorPrevious):
11271 (cursorNext): fixed to make it work with rows heigher than the work
11272 area without moving the cursor only the draw of the row.
11273 (workAreaMotionNotify): fix jumping over high rows.
11275 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11277 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11280 2002-04-16 Juergen Vigna <jug@sad.it>
11282 * text2.C (setCursor): set also the irow().
11283 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11285 (cursorDown): support for locking an inset if the x_fix value goes
11286 inside it. That way I can transverse insets too with cursor up/down.
11288 * lyxrow.h: added irow helper function same as other (i) functions.
11290 * BufferView_pimpl.C (cursorPrevious):
11291 (cursorNext): fixed for insets!
11293 2002-04-15 Juergen Vigna <jug@sad.it>
11295 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11296 position otherwise it is wrong in some cases.
11298 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11299 inside the inset before the call.
11301 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11303 * buffer.[Ch] (getBibkeyList): make it const.
11305 2002-04-12 Juergen Vigna <jug@sad.it>
11307 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11309 * text2.C (getCursorX): new helper function
11310 (setCursor): compute also ix_
11311 (setCursorFromCoordinates): set also ix.
11313 * lyxcursor.h: added ix_ and helper functions.
11315 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11317 * buffer.C (insertStringAsLines): dont break paragraph if the this
11318 paragraph is inside an inset which does not permit it!
11320 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11321 also with no chars on this paragraph.
11322 (paintRowText): only paint stuff if it's inside the workarea!
11324 * paragraph.C (breakParagraph): honor keepempty flag and break the
11325 paragraph always below not above.
11327 * BufferView2.C (unlockInset): update the paragraph layout on inset
11328 unlock as we changed paragraph in such a case.
11330 * lyxfind.C (LyXFind): clear the former selection if not found!
11332 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11333 again called in insertChar().
11335 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11336 an inset which uses the whole row!
11337 (rightMargin): ditto.
11338 (insertChar): force a rebreak if we inserted an inset!
11340 2002-03-28 Herbert Voss <voss@lyx.org>
11342 * lyxlength.[Ch]: add inBP() to get the right PS-point
11343 units (BigPoint). With inPixels we have rounding errors
11345 2002-04-11 Juergen Vigna <jug@sad.it>
11347 * text2.C (setCursorFromCoordinates): set iy to the right value.
11348 (setCursor): add check if row->previous exists!
11350 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11351 an old float_type as this was the case in the old code!
11353 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11355 * BufferView2.C (showLockedInsetCursor): use iy
11356 (fitLockedInsetCursor): ditto
11358 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11359 locked insets as there we have the right value now.
11361 * lyxcursor.C: added iy_ variable and iy functions to set to the
11362 baseline of cursor-y of the locked inset.
11364 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11365 (setCursor): fixed for insets which need a full row.
11367 * text.C (rowLastPrintable): don't ignore the last space when before
11368 an inset which needs a full row.
11369 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11370 as last character of a row when before a inset which needs a full row.
11372 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11374 * version.C.in: update date
11376 * text2.C (fullRebreak): try to always return true and see what
11379 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11381 * MenuBackend.C (expand): use Floating::listName
11383 * FloatList.C (FloatList): add listName argument to the built-in
11386 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11387 text associated with the float.
11389 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11391 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11393 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11395 * ShareContainer.h: add a couple of missing typenames.
11397 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11399 * lyxrc.C (getDescription): use _() correctly rather than N_().
11401 2002-03-28 Herbert Voss <voss@lyx.org>
11403 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11404 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11406 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11408 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11409 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11411 2002-03-29 Juergen Vigna <jug@sad.it>
11413 * lyxfunc.C (dispatch): add a missing fitCursor call.
11415 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11416 it was scrolled by a cursor move, so return the bool status.
11418 * BufferView.C (fitCursor): return the bool flag also to the outside
11419 world as this is needed.
11421 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11423 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11424 call the edit() as it is not needed (and wrong) IMO.
11425 (workAreaButtonPress): set the screen_first variable before evt.
11426 unlock the inset as this may change screen_first and then we have
11427 a wrong y position for the click!
11429 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11431 * MenuBackend.C (expand): another translation that I missed
11433 2002-03-28 Juergen Vigna <jug@sad.it>
11435 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11437 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11439 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11441 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11443 * MenuBackend.C (expand): fix export/view/update when there is no
11446 2002-03-27 Herbert Voss <voss@lyx.org>
11448 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11451 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11453 * bufferview_funcs.C (currentState): only show paragraph number
11454 for is DEVEL_VERSION is set.
11456 * lyxfunc.C (dispatch): put warning in INFO channel
11458 * MenuBackend.C (expand): translate the name of floats
11460 * FloatList.C (FloatList): mark the float names for translation
11462 * converter.C (convert): use LibScriptSearch
11464 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * MenuBackend.C (defaults): fix default menu (we might as well get
11469 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11471 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11474 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * lyxvc.C: reorder includes.
11478 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11480 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11483 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11485 * CutAndPaste.C: change layouts earlier on paste
11486 to avoid crashing when calling getFont()
11488 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11490 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11493 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * WorkArea.C: remove 'Pending' debug message.
11497 * most files: ws cleanup
11499 * buffer.[Ch]: ws changes
11501 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11503 2002-03-21 Juergen Vigna <jug@sad.it>
11505 * tabular.C (SetMultiColumn): collapse also the contents of the
11506 cells and set the last border right. Added a Buffer const * param.
11508 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11513 2002-03-19 Juergen Vigna <jug@sad.it>
11515 * text2.C (clearSelection): reset also xsel_cache.
11517 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11518 where it needs to be called (John tells us to do so too :)
11519 (selectionLost): reset sel_cache.
11521 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11523 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11525 * text2.C (setCursorIntern): put debuging code in INSETS channel
11527 2002-03-19 André Pönitz <poenitz@gmx.net>
11529 * lyxfunc.C: tiny whitespace change
11531 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11533 * ToolbarDefaults.C (init):
11534 * LyXAction.C (init):
11536 * BufferView_pimpl.C (Dispatch):
11537 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11539 2002-03-19 Allan Rae <rae@lyx.org>
11541 * exporter.C (Export): removeAutoInsets before doing anything else.
11542 While I've just introduced a dependency on BufferView this really is
11543 the best place to clean the buffer otherwise you need to cleanup in
11544 a dozen places before calling export or cleanup in a dozen functions
11547 * converter.C (runLaTeX):
11548 (scanLog): Better handling of removeAutoInsets and screen updates.
11550 * lyxfunc.C (dispatch): small whitespace changes
11552 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11554 * WorkArea.C (C_WorkAreaEvent): return a value.
11555 (event_cb): return 1 if we handled the event, 0 otherwise.
11557 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11559 2002-03-18 Juergen Vigna <jug@sad.it>
11561 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11562 (GetAdditionalWidth): ditto.
11563 (RightLine): ditto.
11566 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11567 inset if we're there actually (probably not used right now but this
11568 is the direction to go for unifying code).
11569 (paste): disable code to clear the selection.
11571 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11572 inside an InsetText and move the check further up as it is in the
11575 * text2.C (pasteSelection): set a selection over the pasted text.
11577 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11579 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11580 and libgraphics to build on Cygwin.
11582 2002-03-15 Juergen Vigna <jug@sad.it>
11584 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11585 inserting an Inset into the paragraph. I know this is not the best
11586 fix but we already use current_view in CutAndPaste so we will remove
11587 all of it's using at the same time.
11589 * buffer.C (sgmlError): deactivated function till it is rewritten in
11590 the right mode, now it can create problems.
11592 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11593 before accessing it.
11595 2002-03-14 Juergen Vigna <jug@sad.it>
11597 * undo_funcs.C (textHandleUndo): do the right thing when updating
11598 the inset after the undo/redo.
11600 * text2.C (setCursor): just some testcode for #44 not ready yet.
11602 * undo_funcs.C (textHandleUndo): set the next() and previous()
11603 pointers of the paragraph to 0 before deleting otherwise we have
11604 problems with the Paragraph::[destructor].
11606 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11607 on a paragraph insertion.
11609 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11611 * buffer.C (asciiParagraph): use += operator for char append to
11614 * paragraph.C (getFontSettings): compare >= not just >
11615 (highestFontInRange): ditto
11618 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11620 * paragraph.C: change several algorithm to be more appripriate for
11621 the problem domain. This is lookip in FontList and in the InsetList.
11623 2002-03-13 André Pönitz <poenitz@gmx.net>
11626 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11628 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11633 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11635 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * Painter.C (display): anon helper function, adjust code for this
11639 (pixmap): remove function.
11641 * Painter.h: remove private display variable.
11643 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11645 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11647 * WorkArea.[Ch]: remove figinset_canvas cruft.
11649 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * lyxtextclass.C (operator): add one item cache optimization.
11653 * bufferlist.h: doxy changes
11655 * bufferlist.C: ws changes
11657 * DepTable.[Ch] (ext_exist): place const in the right spot.
11659 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11661 (workAreaExpose): call resizeInsets when the with BufferView changes.
11662 (Dispatch): adjust for protectedBlank removal
11663 (specialChar): call updateInset if the insert went ok.
11665 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11666 specialChar instead.
11668 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11670 * BufferView.h: doxy change
11672 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11674 * lyxtextclass.C (operator[]): remove non-const version
11675 (defaultLayout): remove non-const version
11677 2002-03-12 Juergen Vigna <jug@sad.it>
11679 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11680 did resize the LyXText too.
11682 * buffer.C (readLyXformat2): set layout information on newly allocated
11685 * tabular.C (OldFormatRead): set layout information on the paragraph.
11687 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11689 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11691 2002-03-11 Juergen Vigna <jug@sad.it>
11693 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11695 (resizeCurrentBuffer): force also the insets to resize themselfes.
11696 (moveCursorUpdate): fixed up for InsetText.
11698 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11701 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11702 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11703 value of Dialogs::tooltipsEnabled().
11704 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11706 2002-03-08 Juergen Vigna <jug@sad.it>
11708 * BufferView_pimpl.C (updateInset): update inset inside inset also
11709 if it isn't inside theLockingInset().
11711 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * buffer.C (asciiParagraph): redo some of the word and line length
11715 (getLists): look for Caption instead of caption.
11717 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11719 * buffer.C (Buffer): initialize niceFile to true
11721 (makeLinuxDocFile):
11722 (makeDocBookFile): make sure niceFile is true on exit
11724 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11726 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11728 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11730 * LyXSendto.C: remove.
11731 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11732 * lyx_gui.C: remove now-redundant comment.
11733 * ColorHandler.h: remove forward declaration of class WorkArea.
11734 * lyxfunc.C: remove #include "WorkArea.h".
11736 2002-03-07 Juergen Vigna <jug@sad.it>
11738 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11739 got moved away with the DEPM and also set the inset_owner always
11740 right which before could have been omitted.
11742 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11744 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11745 wanted layout is not found.
11747 2002-03-07 Juergen Vigna <jug@sad.it>
11749 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11751 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11753 * paragraph.C (breakParagraph): use default layout not layout of
11755 (Paragraph): clear ParagraphParameters.
11757 2002-03-06 Juergen Vigna <jug@sad.it>
11759 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11760 otherwise it would not be a valid lenght. Fixed a special case in
11761 the minipage compatibility read where we end the document with a
11764 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11765 was set as it could be 0 for InsetTexts first entry.
11767 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11769 * paragraph.C (writeFile): if layout is empty write out
11770 defaultLayoutName().
11772 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11773 file without named layout we set layout to defaultLayoutName().
11775 2002-03-06 Juergen Vigna <jug@sad.it>
11777 * CutAndPaste.C (copySelection): set layout for new paragraph.
11779 * text.C (prepareToPrint): leave ERT inset left aligned
11780 (leftMargin): don't indent paragraphs inside ERT insets
11782 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11784 * paragraph.C (breakParagraph): dont call clear do the work manually
11786 * paragraph.[Ch] (clear): remove function
11788 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11790 * paragraph.C (Paragraph): dont call clear, the work has already
11793 * lyxtextclass.C (operator): assert if n is empty
11795 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11796 work manually instead.
11798 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11800 * BufferView_pimpl.C: protect selectionLost against text == 0
11802 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11804 * text.C (breakParagraph): fix a setting layout to '0' problem.
11806 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11808 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11809 final location of file, for the included files, and graphics.
11811 2002-03-05 Juergen Vigna <jug@sad.it>
11813 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11815 2002-03-04 Juergen Vigna <jug@sad.it>
11817 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11819 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11820 last column of multicolumn cells.
11821 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11823 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11825 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11826 file if it doesn't go to a temporary file.
11828 * buffer.C (sgmlOpenTag):
11829 (sgmlCloseTag): remove extra newline insertion.
11831 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11833 * text.C (getRowNearY): comment out debug msg
11835 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11837 * text2.C: first -> first_y
11839 * text.C (getRowNearY): add some attemts at a possible
11840 optimization, not working.
11842 * tabular.[Ch]: add BufferParams to several function so that newly
11843 created paragraph can be initialized to he default layotu for the
11846 * tabular-old.C (ReadOld): add buf->params to call of Init
11848 * screen.C: rename text->first to text->first_y
11850 * paragraph.C (breakParagraph): always set layout in the broken
11853 * lyxtextclass.C (Read): remove lowercase
11856 (delete_layout): ditto
11858 * lyxtext.h: rename first -> first_y
11860 * lyxlayout.C (Read): remove lowercase
11863 (obsoleted_by): ditto
11865 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11867 * buffer.C (insertErtContents): add params are to InsetERT
11868 (parseSingleLyXformat2Token): add code to check if a paragraphs
11869 layout really exist.
11870 (parseSingleLyXformat2Token): add params to several inset
11872 (asciiParagraph): remove lowercase, do the layout comparisons with
11875 * BufferView_pimpl.C (cursorNext): first -> first_y
11876 (resizeCurrentBuffer): first -> first_y
11877 (updateScrollbar): first -> first_y
11878 (scrollCB): first -> first_y
11879 (workAreaMotionNotify): first -> first_y
11880 (workAreaButtonPress): first -> first_y
11881 (checkInsetHit): first -> first_y
11882 (cursorPrevious): first -> first_y
11883 (cursorNext): first -> first_y
11884 (Dispatch): add buffer_->params to severl inset contructors
11886 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * lyxlayout.C (Read): remove some debug info that I forgot.
11890 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11891 clean up the code slightly.
11892 (makeLinuxDocFile): ditto
11893 (makeDocBookFile): ditto
11895 * text2.C: layout as string
11897 * text.C: layout as string
11899 * paragraph_pimpl.C: layout as string
11901 * paragraph.[Ch]: layout as string
11903 * lyxtextclasslist.[Ch]: layout as string
11905 * lyxtextclass.[Ch]: layout as string
11907 * lyxtext.h: layout as string
11909 * lyxlayout.[Ch]: layout as string
11911 * lyx_cb.C: layout as string
11913 * bufferview_funcs.C: layout as string
11915 * bufferparams.C: layout as string
11917 * buffer.C: layout as string
11919 * LyXView.[Ch]: layout as string
11921 * LaTeXFeatures.[Ch]: layout as string
11923 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11925 * BufferView_pimpl.C: change current_layout to string, remove
11930 (workAreaButtonRelease): layout as string
11932 * BufferView2.C (unlockInset): adjust
11934 * vspace.C (asLatexCommand): use an explict temp variable.
11936 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11938 * Makefile.am: use FRONTEND_*
11940 2002-03-01 Juergen Vigna <jug@sad.it>
11942 * tabular.C (SetWidthOfMulticolCell): changed to something better
11943 I hope but still work in progress.
11944 (recalculateMulticolumnsOfColumn): renamed function from
11945 recalculateMulticolCells as it is more appropriate now.
11946 (SetWidthOfCell): calculate multicols better.
11948 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11950 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11952 * lyxfunc.C (processKeySym): print sequence also if it is
11953 `deleted' (complete)
11955 * kbsequence.C (print): print sequence even if it is deleted
11956 (complete would be a better word, actually).
11958 * lyxfunc.C (dispatch): print complete options after a prefix key
11960 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11962 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11964 * text2.C (setCharFont): eliminate setCharFont code duplication.
11966 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11968 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11969 LFUN_TABULAR_FEATURE (bug #177)
11971 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11973 * Makefile.am: remove figure.h
11975 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11977 * Bufferview_pimpl.C:
11989 * text2.C: remove #include "lyx_gui_misc.h".
11991 * LaTeX.C: added #include <cstdio>
11993 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11995 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11996 that the paragraph following this one can have.
11998 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12000 * vspace.C (asLatexCommand): fix bogus gcc warning
12002 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12004 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12006 * text2.C (setLayout): get rid of redundant code
12008 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12010 * text2.C (incDepth): make sure depth cannot be increased beyond
12013 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12015 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12016 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12018 * PainterBase.h (image):
12019 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12020 a LyXImage const *.
12022 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.C:
12027 * BufferView_pimpl.h:
12047 * sp_spell.C: remove fig inset, and the crap house of
12048 cards that follows it
12050 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12055 * os2_errortable.h:
12056 * nt_defines.h: move .h into support/
12058 * vms_defines.h: remove
12060 * WorkArea.C: add space in debug output
12064 * buffer.C: add WITH_WARNINGS
12068 * bufferlist.C: s/retrive/retrieve/, add docs
12077 * chset.C: add docs
12079 * lyxgui.C: add ID to X error handler
12081 * lyxtestclass.c: fix typo
12083 2002-02-26 Juergen Vigna <jug@sad.it>
12085 * tabular_funcs.C (write_attribute): changed so that some default
12086 attributes are not written at all.
12087 (getTokenValue): set default values before trying to read the
12088 value so we have the return value always set as default if we don't
12089 find the token we search for.
12091 * tabular.C (Write): write bools as bools not as strings!
12093 2002-02-22 Juergen Vigna <jug@sad.it>
12095 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12096 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12098 * text.C (leftMargin): don't add an indent for paragraphs inside
12099 tabular cells (fix #208).
12101 2002-02-21 José Matos <jamatos@fep.up.pt>
12103 * tabular.C (docBook): fixed support for long tables.
12105 2002-02-20 Juergen Vigna <jug@sad.it>
12107 * text2.C (getFont): get the drawing font of the Inset if this
12108 paragraph is inside an inset (only important for InsetERT for now).
12110 * buffer.C (insertErtContents): use new lanugage params in ERT
12113 * CutAndPaste.C: commenting out seemingly uneeded code.
12115 2002-02-19 Allan Rae <rae@lyx.org>
12117 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12118 Iterators might be simple to use but they also get invalidated.
12119 (removeAutoInsets): renamed saved cursor tracking variables and added
12120 some comments to clarify what everything does.
12122 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12129 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12130 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12133 * vc-backend.h: remove #include "support/syscall.h"
12137 * converter.C: rearrange #includes in Lars' approved fashion.
12139 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12140 forward declare class Timeout in the header file.
12142 * XFormsView.C: changes due to the above.
12144 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12145 similar to LyXView.
12147 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12148 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12150 2002-02-18 José Matos <jamatos@fep.up.pt>
12152 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12155 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12157 * a lot of small ws changes
12158 * add a lot of using std::XXX
12159 * use std construcs some places where approp.
12160 * use some exisint stuff from lyxfunctional where approp.
12161 * Make file changes to use partial linking (lets test this now...)
12163 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12167 remove #include "support/syscontr.h" as it's redundant. Always has been.
12175 change Systemcalls::System to Systemcalls::Wait and
12176 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12177 No change of functionality, just reflects the stripped down Systemcalls
12180 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12182 * debug.[Ch]: add a GRAPHICS type to the enum.
12184 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12188 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12191 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12193 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12194 match the changes below.
12196 * text2.C (toggleInset): if there is not editable inset at cursor
12197 position, try to see if cursor is _inside_ a collapsable inset
12200 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12203 document menu has a nice checkbox
12205 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12207 * lyxlength.C (asLatexString): change PW to output as percent of
12210 * lengthcommon.C: change '%' to 't%'
12212 * lyxfunc.C (dispatch): a few comments from Martin
12214 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12218 * BufferView_pimpl.h:
12219 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12222 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * vspace.C (inPixels): fix compiler warning
12226 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12228 * lyxfunc.C (getStatus): fix status message for disabled commands.
12230 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12232 * BufferView_pimpl.C: fix crash on close buffer
12233 during selection (#227)
12235 2002-01-27 Herbert Voss <voss@lyx.org>
12237 * buffer.C: link old Figure to new graphic inset
12239 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12241 * FontLoader.C (getFontinfo): Change the latex font names in order
12242 to match the names of type1inst.
12244 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12246 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12248 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12249 (extchanged): ditto
12251 (remove_files_with_extension): ditto
12252 (remove_file): ditto
12255 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12256 document is smaller than the work area height. Do not initialize
12257 static variables to 0.
12259 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12261 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12263 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12264 LFUN_LAYOUT_PARAGRAPHS.
12266 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12267 tabular. It is possible to provide a possible cell, which will
12268 typically be the actcell from the corresponding insettabular
12270 * lyxfunc.C (getStatus): small cleanup; disable
12271 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12274 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12278 * paragraph.C (startTeXParParams):
12279 (endTeXParParams): new methods. The LaTeX code to
12280 start/end paragraph formatting
12281 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12282 empty (fixes bug #200)
12284 * vspace.C (inPixels): adapt to the change below
12285 (inPixels): [later] more cleanups (remove unused variables)
12287 * lyxlength.C (inPixels): change to use a width and a height as
12290 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12292 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12293 Replaced with \paperwidth
12295 * DepTable.C (insert): add std:: qualifier
12297 2002-01-18 Allan Rae <rae@lyx.org>
12299 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12302 * text.C (drawInset): Turned out I didn't know enough about how
12303 rebreaking worked. This fixes most of the redraw problems. I see
12304 an occasional cursor trail when a line is broken now and the cursor
12305 placement can seem out by a few pixels also after a rebreak.
12307 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12309 * buffer.C (parseSingleLyXformat2Token): update because minipage
12310 width is now a LyXLength
12312 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12314 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12317 2002-01-17 Juergen Vigna <jug@sad.it>
12319 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12321 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12322 is set correctly and the inset is updated correctly.
12324 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12326 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12327 the beginning of the loop.
12329 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12331 * lyxrc.C: improve help for use_scalable_fonts
12333 2002-01-17 Allan Rae <rae@lyx.org>
12335 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12337 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12340 make sure to set their inset_owner to the right value (bug #171)
12342 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12345 * DepTable.C: Implement mtime checking to reduce time spent doing
12348 2002-01-16 Juergen Vigna <jug@sad.it>
12350 * tabular.C (GetAdditionalHeight): one of error fixed.
12352 * lyxrc.C (output): small fix in writing use_pspell.
12354 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12356 * sp_base.h: #include LString.h
12358 2002-01-16 Allan Rae <rae@lyx.org>
12360 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12361 Can someone check this please?
12363 * text.C (drawInset): It was possible that p.row would be removed by
12364 breakAgainOneRow upsetting a few other settings. There may be another
12365 small tweak possible by setting need_break_row = 0 when p.row has been
12366 removed but I don't know enough about the logic here.
12368 2002-01-15 Allan Rae <rae@lyx.org>
12370 * text.C (insertChar): removed conditional truism.
12372 * BufferView2.C (removeAutoInsets): More tweaks.
12373 cur_par_prev could be a stray pointer. Check for trailing empty line
12374 in case last line was cur_par and only had an error inset on it.
12376 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12381 * vc-backend.C (most methods):
12382 * exporter.C (Export):
12383 * converter.C (convert):
12385 * LyXSendto.C (SendtoApplyCB):
12386 * lyxfunc.C (dispatch):
12390 * lyx_cb.C (AutoSave):
12392 * BufferView_pimpl.C (MenuInsertLyXFile):
12393 * buffer.C (runChktex): use Buffer::filePath().
12395 * buffer.h: rename filename to filename_; rename filepath to
12396 filepath_ and make it private
12397 (filePath): new method
12399 * buffer.C (writeFile): use fileName()
12402 * lyx_main.C (init): fix starting of LyX when the binary is a
12403 link from so,ewhere else.
12405 * minibuffer.C: include <cctype> for isprint
12407 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12409 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12410 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12411 name clash with InsetCollapsable's width function.
12413 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12415 * lastfiles.C: include <iterator>
12417 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12419 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12422 * buffer.C (makeLaTeXFile): ditto.
12423 Also make loop operation more transparent.
12425 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12427 * ToolbarDefaults.C: remove trailing comma closing namespace.
12429 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12431 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12434 * trans.C (Load): comment out unused variable, allowed.
12436 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12438 * minibuffer.[Ch] (append_char): new method to recieve input from the
12439 drop-down completion browser. If a key was pressed, then recieve this
12440 char and append it to the existing string.
12441 (peek_event): modify the positioning data passed to the completion
12442 browser so that it can be placed above the minibuffer rather than below.
12443 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12445 * LyXAction.C (init): alloe error-next for readonly documents.
12447 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12450 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12452 * bufferlist.C (readFile): create the buffer _after_ checking that
12455 * lyxfunc.C (verboseDispatch): fix handling of arguments
12457 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12459 * lyxrc.C: use string::erase() instead of initializing to "".
12462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12464 * BufferView_pimpl.h:
12465 * BufferView_pimpl.C:
12468 * text2.C: tell X when we have made a selection for copying
12470 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12472 * BufferView_pimpl.C (MenuInsertLyXFile):
12473 * lyxfunc.C (menuNew):
12475 (doImport): add shortcuts to directory buttons
12477 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12480 * lyxfunc.C (setStatusMessage):
12481 (getStatusMessage): new methods
12482 (getStatus):use setStatusMessage instead of setErrorMessage
12483 (dispatch): when function is disabled, set error message here
12484 [instead of in getStatus previously]
12486 * BufferView_pimpl.C (workAreaButtonRelease): update
12487 toolbar/menubar here too.
12489 2002-01-13 Allan Rae <rae@lyx.org>
12491 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12492 Now seems indestructible. Remaining task is to audit all other
12493 code affected by deleteEmptyParagraphMechanism. One small quirk
12494 left is that an empty document with an error in the preamble can
12495 be made to report an error but no error box appears. I don't know
12497 (removeAutoInsets): Improved comments.
12499 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12502 * Thesaurus.C: update for Aiksaurus 0.14
12504 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * text2.C (firstParagraph): removed member function, all uses
12507 replaces with ownerParagraph
12508 (redoParagraphs): here
12509 (updateInset): here
12510 (toggleAppendix): here
12511 * BufferView2.C (insertErrors): here
12512 (setCursorFromRow): here
12514 2002-01-13 Allan Rae <rae@lyx.org>
12516 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12517 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12518 There is still a way to segfault this although you may have to do this
12519 multiple times: Have an InsetERT with an unknown command in it.
12520 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12521 <down-arrow>, <Enter> again, View->DVI, BANG!
12523 * text2.C (setCursor):
12524 (deleteEmptyParagraphMechanism):
12525 * lyxtext.h (setCursor):
12526 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12527 Making use of the return value may help fix other bugs.
12529 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12531 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12533 * LyXView.C (updateMenubar): call MenuBar::update here
12534 (updateToolbar): but not here
12535 (showState): do not update toolbar/menubar
12537 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12538 should need to care about that.
12540 * lyxfunc.C (verboseDispatch): simplify a bit
12541 (getStatus): have a version which takes a pseudoaction, and
12542 another which requires a (kb_action,string).
12544 * LyXAction.C (retrieveActionArg): make it work also when action
12545 is not a pseudo-action.
12546 (getActionName): simplify a bit
12549 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12551 * lyxfunc.C (verboseDispatch): new families of methods with
12552 several ways to specify a command and a bool to indicate whether
12553 the command name and shortcut should be displayed in minibuffer
12554 (eventually, we could extend that to a finer bitmask like
12555 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12556 (dispatch): the pristine dispatch command which just, well,
12557 dispatchs! Note it still sets its result to minibuffer; I'm not
12560 * lyxfunc.h: remove setHintMessage
12562 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12564 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12566 * BufferView_pimpl.C (specialChar): delete new inset if we have
12567 not been able to insert it.
12569 * kbmap.C: revert to using int instead of kb_action, since all we
12570 are dealing with is pseudo-actions.
12572 * LyXAction.C (searchActionArg): change to return int instead of
12573 kb_action, since the result is a pseudoaction.
12575 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12577 * buffer.C (insertErtContents): Fix (partially) the font bug.
12579 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12581 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12582 as the other one is broken on my machine!
12584 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12587 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12589 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12591 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12592 reflect their actual use. Provide compatibility code for older lyxrc
12595 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12597 change names of popup font variables in line with the changes to lyxrc.C
12599 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12601 * buffer.C (asciiParagraph): avoid outputing a word twice after
12604 * lyxrc.C (getDescription): document that document_path and
12605 template_path can be empty.
12607 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12609 * LaTeXFeatures.C (getMacros):
12610 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12612 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12614 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12616 (getPackages): rename feature "floats" to "float". Use an array to
12617 iterate over 'simple' features (i.e. just a \usepackage). Add
12618 handling of "amsmath" (renamed from "amsstyle").
12620 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12622 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12625 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12627 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12628 FuncStaus::FuncStatus & FuncStaus::some_method().
12630 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12632 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12633 of the func_satus stuff. Edited and massaged in various ways by
12636 * lyxfunc.C (getStatus): use FuncStatus
12638 2002-01-08 Juergen Vigna <jug@sad.it>
12640 * text.C (nextBreakPoint): use function Inset::isChar().
12642 * paragraph.C (TeXOnePar): use function
12643 Inset::forceDefaultParagraphs.
12645 * buffer.C (latexParagraphs): use function
12646 Inset::forceDefaultParagraphs.
12648 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12650 * lyx_gui.C (init): set the style of the menu popups to
12651 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12653 2002-01-07 Juergen Vigna <jug@sad.it>
12655 * text.C (setHeightOfRow): small fix
12656 (prepareToPrint): don't look at alignment if we don't have the place
12659 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12661 * box.C: New file. Move the Box methods and functions out of box.h,
12662 following Lars' suggestion.
12664 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12666 * box.h: #include "support/LOstream.h", needed for inlined function.
12669 * lyxtextclasslist.C: added some using std declarations.
12671 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12673 * box.h: make signed dimensions to allow insets wider than
12674 the screen (bug #162)
12676 * BufferView_pimpl.C: add some insetHit debug
12678 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12680 * vc-backend.C: add FIXME
12682 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12684 * lyxfunc.C (getStatus): enable code for showing math font status
12687 2002-01-07 Juergen Vigna <jug@sad.it>
12689 * text.C (nextBreakPoint): removed debug output not needed anymore.
12691 2002-01-06 Juergen Vigna <jug@sad.it>
12693 * text.C (nextBreakPoint): fixed up this function we had this bug
12694 since ever but now hopefully we break row better.
12695 (insertChar): we have to check if an inset is the next char as it
12696 could now happen that a large inset is causing a break.
12698 2002-01-05 Juergen Vigna <jug@sad.it>
12700 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12701 if it doesn't like to be drawed.
12703 2002-01-04 Juergen Vigna <jug@sad.it>
12705 * BufferView2.C (lockInset): forgot to set a cursor.
12707 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12709 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12711 * FormMathsPanel.C:
12714 * form_maths_panel.C:
12715 * form_maths_panel.h:
12716 * form_maths_panel.fd: implemented sub- and super- buttons in math
12719 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12720 (or ^ space) to be used as in TeX (req'd by André).
12722 * lyxfunc.C: Allow ^ and _ again to be used both as
12723 super/subscript (mathed) and as themselves (in text).
12725 2002-01-03 Allan Rae <rae@lyx.org>
12727 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12728 "LyX" or the filename of the current buffer if it has one. This is a
12729 modified form of John Levon's patch.
12731 * XFormsView.C (setWindowTitle): also set icon title.
12733 * LyXView.h (setWindowTitle): signature changed.
12734 * XFormsView.h (setWindowTitle): ditto.
12736 2002-01-02 Juergen Vigna <jug@sad.it>
12738 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12740 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * screen.C (topCursorVisible): introduce a temp var for
12743 text->cursor.row(), handle the case where this row is null. (kindo
12746 * text2.C (setCursor): add a couple of asserts.
12748 * paragraph.h (inset_iterator): add -> operator
12750 * paragraph.[Ch] (autoDeleteInsets): remove member function
12752 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12753 cursor pos correctly and handle inset deletion by itself.
12754 (insertErrors): move iterator declaration out of for expression
12756 * lyxtextclass.C: add <algorithm>
12758 * Makefile.am: added the new files to sources, removed layout.C
12760 * layout.C: removed file
12762 * layout.h: remove LYX_DUMMY_LAYOUT
12764 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12768 * lyxtextclass.[Ch]:
12769 * lyxtextclasslist.[Ch]: new files
12771 * include order changes to a lot of files, also changes because of
12774 2001-12-27 Juergen Vigna <jug@sad.it>
12776 * buffer.C (asciiParagraph): more fixes.
12778 * tabular.C (ascii): make ascii export support export of only the
12779 data separated by a column-delimiter.
12780 (ascii): better support for ascii export.
12782 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12784 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12786 * tabular_funcs.C: use a "using std::getline" instead of the
12787 previous fix from Angus (necessary for cxx + lyxstring)
12789 2001-12-24 Juergen Vigna <jug@sad.it>
12791 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12793 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12794 problems. First check a minipage also if we have some ert-contents
12795 (not only on par->size(), second set the right depth of the paragraph
12796 on the relink to the root-paragraph-list!
12798 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12799 which then did not anymore update the main paragraphs on undo/redo!
12801 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12803 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12804 code. Support all font-changing funcs (even those which are not in
12805 menu currently). Support for reporting font settings in
12806 mathed (disabled until Andre provides a function on mathed's side).
12808 * func_status.h (toggle): small helper function to set toggle
12811 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12813 * tabular_funcs.C: getline -> std::getline
12815 2001-12-21 Juergen Vigna <jug@sad.it>
12817 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12818 accessed and could be 0 (I couldn't generate this but it seems
12821 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12823 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12824 * tabular_funcs.h: here and include iosfwd
12826 2001-12-20 Juergen Vigna <jug@sad.it>
12828 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12829 inside inset but undo_par was.
12831 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12833 * Thesaurus.C: always include <config.h> in sources.
12837 * box.h: do not include <config.h> in header files
12839 * text.C (paintLastRow): remove unused variable
12841 * text.C (transformChar):
12843 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12845 * Painter.C (text):
12846 * font.C (width): rewrite to use uppercase() instead of
12849 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12851 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12853 * lyxfind.C: clean up of find failure position change
12855 2001-12-20 Juergen Vigna <jug@sad.it>
12857 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12859 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12860 (TeXRow): added to LaTeX a single tabular row.
12861 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12862 (Latex): simplified and finally good LT-h/f support.
12863 (various_functions): just small adaptions for LT-h/f support.
12865 * tabular_funcs.[hC]: added and moved here all not classfunctions
12868 2001-12-19 Juergen Vigna <jug@sad.it>
12870 * tabular.[Ch]: better support for longtabular options (not finished
12873 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12875 * text.C (paintLastRow): use the label font instead of the font of
12876 the last character to compute the size of *_BOX. This makes more
12877 sense and avoids a crash with empty paragraphs.
12878 Use Painter::rectangle to draw EMPTY_BOX.
12880 2001-12-19 Juergen Vigna <jug@sad.it>
12882 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12883 the paragraphs if the replaced paragraph is not the first one!
12884 Tried to delete not used paragraphs but does not work yet so for
12885 now it's inside #ifdef's and by default off!
12887 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12889 * MenuBackend.C: include "lyx_main.h" instead of declaring
12890 lastfiles (actually was declared as LastFiles* instead of a
12893 2001-12-17 Juergen Vigna <jug@sad.it>
12895 * tabular.C (AppendColumn): applied John's fix
12897 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12901 * BufferView_pimpl.h:
12902 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12905 * box.h: new start of class for above
12907 * lyxfunc.C: ignore space-only minibuffer dispatches.
12908 Show the command name when it doesn't exist
12910 * minibuffer.C: don't add empty lines to the history
12912 * minibuffer.C: add a space on dropdown completion
12914 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12916 * text.C: fix line above/below drawing in insets
12918 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12920 * lyxlength.C (LyXLength): Initialize private variables.
12922 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12925 when inserting error insets.
12927 2001-12-13 Juergen Vigna <jug@sad.it>
12929 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12930 actually sometimes the before-paragraph.
12931 (setUndo): don't clear the redostack if we're not actually undoing!
12933 2001-12-06 Juergen Vigna <jug@sad.it>
12935 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12936 and fixed redoing of main paragraph, so we can use it now ;)
12938 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12940 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12942 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12945 2001-12-13 André Pönitz <poenitz@gmx.net>
12948 * undo_func.C: minor cleanup
12950 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12952 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12953 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12954 font in urw-fonts package which is marked as -urw-fontspecific and
12955 does not work (incidentally, changing the encoding in the
12956 fonts.dir of this package to -adobe-fontspecific fixes the
12959 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12960 is a crash when undoing first paragraph (Juergen, please take a
12961 look). THis does not mean the undo fix is wrong, just that it
12964 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12965 the (Paragraph*) version when needed instead of duplicating the
12968 * text.C (workWidth): use Inset::parOwner to find out where the
12969 inset has been inserted. This is a huge performance gain for large
12970 documents with lots of insets. If Inset::parOwner is not set, fall
12971 back on the brute force method
12973 * paragraph_pimpl.C (insertInset):
12974 * paragraph.C (Paragraph):
12975 (cutIntoMinibuffer): set parOwner of insets when
12976 inserting/removing them
12978 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12980 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12986 * mathed/formulabase.C:
12987 * mathed/math_cursor.[Ch]:
12988 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12991 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12993 * lyxlength.[Ch] (operator!=): new function
12995 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12997 * text.C (workWidth): use Inset::parOwner to find out where the
12998 inset has been inserted. This is a huge performance gain for large
12999 documents with lots of insets. If Inset::parOwner is not set, fall
13000 back on the brute force method
13002 * paragraph_pimpl.C (insertInset):
13003 * paragraph.C (Paragraph):
13004 (cutIntoMinibuffer): set parOwner of insets when
13005 inserting/removing them
13007 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13009 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13011 * tabular-old.C (getTokenValue):
13012 * tabular.C (getTokenValue):
13013 (write_attribute): new versions for LyXLength
13014 (everywhere): adjust the use of widths
13016 * tabular.h: change the type of widths from string to LyXLength
13018 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13020 * paragraph.C: fixed missing line number count when exporting
13021 Environments to LaTeX file
13023 * buffer.C: added informational message for checking line numbers.
13025 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13027 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13028 paragraph, do the 'double space' part, but not the 'empty
13031 * text.C (workWidth): small optimization
13032 (getLengthMarkerHeight): use minimal size for negative lengths.
13034 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13036 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13038 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13040 2001-12-11 André Pönitz <poenitz@gmx.net>
13043 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13045 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13047 * text2.C: keep selection on a setFont()
13049 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13051 * lyx_cb.C: another bv->text misuse, from insert label
13053 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13056 * kbsequence.C: re-instate nmodifier mask
13058 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13060 * lyx_main.h: make lyxGUI private.
13062 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13064 * lyxfind.C: place the cursor correctly on failed search
13066 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13068 * text.C (getLengthMarkerHeight): for small heights, the arrows
13069 are not always on top/bottom of the text
13070 (drawLengthMarker): smaller arrows; take the left margin in
13071 account; draw also vfills.
13073 (paintLastRow): remove special code for vfill and standard spaces,
13074 since everything is handled in drawLengthMarker now.
13076 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13078 * buffer.C (insertErtContents): try to handle font and language
13079 interaction a bit better.g
13081 * ColorHandler.C (updateColor): change the hash to cover the whole
13082 LColor enum, ws cleanup
13083 (getGCLinepars): ditto
13084 (getGCLinepars): only lookup in the linecache once.
13086 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13088 * iterators.C (operator++): Make the iterator more robust
13090 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13092 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13094 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13097 * text.C: better added space drawing
13099 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13102 * BufferView2.C: fix layout combo update on inset unlock
13104 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13106 * Makefile.am: don't compile unused files
13108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13112 * LyXAction.C: remove old LFUN_LAYOUTNO
13114 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13116 * paragraph_pimpl.h:
13117 * paragraph_pimpl.C: isTextAt() doesn't need font param
13119 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13122 * lyxlex.C: little cleanup
13124 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13126 * BufferView_pimpl.C: fix insertAscii for insets
13128 2001-12-05 Juergen Vigna <jug@sad.it>
13130 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13131 set the right font on the "multi" paragraph paste!
13133 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13139 * lyxlength.C: remove out-commented code.
13141 * BufferView_pimpl:
13155 * vc-backend.C: change "while(" to "while ("
13157 * lyxlength.[Ch]: add zero function to check if length is zero or
13159 * lyxgluelength.C: use it
13161 2001-12-05 Allan Rae <rae@lyx.org>
13163 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13164 Works for 2.95.3, from what I understand of Garst's reports this should
13165 work for other g++ versions. We're screwed if the abs(int) definition
13166 changed between bugfix releases of gcc.
13168 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13170 * text.C: fix chapter label offset !
13172 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13175 * text.C: fix hfill at end of line, clean up
13177 2001-12-04 Juergen Vigna <jug@sad.it>
13179 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13180 that we force an update of the inset and it's owners if neccessary.
13182 2001-12-03 Juergen Vigna <jug@sad.it>
13184 * text.C (rowLast): simplified code
13186 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13188 * lyxfunc.C: fix show options on timeout
13190 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13192 * screen.C (topCursorVisible): scroll half a page when the cursor
13193 reached top of bottom of screen
13195 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13197 * minibuffer.C: deactivate on loss of focus
13199 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13201 * vspace.[Ch] (operator!=): add operator.
13203 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13205 * BufferView_pimpl.C: refuse to open an inset when
13206 there's a selection.
13208 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13210 * BufferView_pimpl.C: allow to click on RHS of full row insets
13212 2001-11-30 Juergen Vigna <jug@sad.it>
13214 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13215 insets for undo reasons.
13217 2001-11-28 André Pönitz <poenitz@gmx.net>
13219 * vspace.[Ch]: cosmetical changes
13221 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13231 * kbsequence.C: part re-write of old kb code
13234 * WorkArea.C: remove Lgb_bug_find_hack
13236 2001-11-30 José Matos <jamatos@fep.up.pt>
13238 * buffer.C (makeDocBookFile): add a comment to point a hack.
13239 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13240 Fixed a double write of labels.
13242 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13245 * LaTeX.h Fixed bug in LaTeX class where it would not
13246 re-run latex if no depfiles were changed, but the .dvi was removed.
13248 2001-11-28 André Pönitz <poenitz@gmx.net>
13250 * all the files from the change on 2001/11/26:
13251 use lyx::layout_type instead of LyXTextClass::size_type
13252 use lyx::textclass_type instead of LyXTextClassList::size_type
13254 2001-11-29 Juergen Vigna <jug@sad.it>
13256 * text.C: added support for paragraph::isFreeSpacing()
13258 * buffer.C: same as above
13260 * paragraph.h: inserted isFreeSpacing() function to enable
13261 FreeSpacing inside InsetERT.
13263 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13264 of the paragraph's in the cut/copy buffer to 0!
13266 * text2.C (removeRow): remove the assert as it can!
13268 * lyxtext.h: added helper function firstRow returning firstrow and
13269 made firstrow private again.
13271 * BufferView2.C (lockInset): don't relock if we're already locked!
13273 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13274 the only paragraph.
13275 (removeRow): added Assert::(firstrow)
13277 * debug.C: forgot to add INSETTEXT here.
13279 2001-11-28 Juergen Vigna <jug@sad.it>
13281 * sp_spell.C (initialize): changed error text to more general
13282 spellchecker command use (not only ispell!)
13284 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13286 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13288 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13290 * vspace.C: initialise lyxgluelength on failure
13292 2001-11-28 Allan Rae <rae@lyx.org>
13294 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13295 declaration & definition that looks like a function declaration.
13297 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13299 * BufferView2.C (copy):
13300 (copyEnvironment): do not clear the selection when doing a copy.
13302 * text.C (paintFirstRow): compilation fix
13304 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13306 * tabular.C (Latex): correct line count when writing latex.
13308 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13310 * paragraph_pimpl.h:
13311 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13314 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13318 * LColor.C: change vfillline->added_space
13320 * text.C: add markers and text for added space
13322 * vspace.C: fix comment
13324 2001-11-28 André Pönitz <poenitz@gmx.net>
13326 * paragraph.C: whitespace changes
13327 * all the other files from the change on 2001/11/26:
13328 change *::pos_type into lyx::pos_type
13330 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13332 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13333 language of the document when inserting error insets.
13335 2001-11-26 André Pönitz <poenitz@gmx.net>
13337 * BufferView_pimpl.[Ch]:
13345 * paragraph_pimpl.[Ch]:
13348 * text2.C: reduce header dependencies, introduce type for positions
13350 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13352 * <various>: change to use Alert.h
13354 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13356 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13357 when encountering an unknown token.
13358 (readLyXformat2): Show an error message if there were unknown tokens.
13360 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13363 * BufferView_pimpl.C:
13367 * text2.C: use par->isInset()
13369 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13371 * paragraph_pimpl.h:
13372 * paragraph_pimpl.C: cleanup
13374 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13376 * text2.C (removeRow):
13377 * text.C (setHeightOfRow): remove useless (and costly) call to
13380 2001-11-20 Allan Rae <rae@lyx.org>
13382 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13383 Now need Inset*::checkInsertChar() to return true for appropriate
13384 cases so that the characters in the minibuffer will actually be
13387 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13389 * text.C: change the order of the includes.
13390 (workWidth): initialize it at once.
13391 (workWidth): make maxw unsigned
13392 (setHeightOfRow): remove unused variable (inset)
13393 (selectSelectedWord): remove unused variable (inset)
13394 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13396 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13399 server is not running.
13401 (closeConnection): add debug info when server is disabled.
13403 * ColorHandler.C (getGCForeground): send debug message to GUI
13406 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13408 * kbmap.C (bind): modify because return conventions of
13409 kb_sequence::parse have changed.
13411 * kbsequence.C (parse): only ignore spaces and not any stupid
13412 control character. This avoids tests like s[i] <= ' ', which are
13413 guaranteed to fail with 8bit characters and signed chars.
13414 Change return code to string::npos when there have been no error
13415 (0 was a bad idea when error is at first character)
13417 2001-11-14 José Matos <jamatos@fep.up.pt>
13420 * buffer.C (simpleDocBookOnePar): removed unused argument.
13422 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13424 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13425 insets which are part of a word. Paragraph::isLetter takes care of
13426 that now. Use Paragraph::isInset to identify insets.
13427 (selectSelectedWord): do not test for hyphenation break.
13429 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13430 that protected spaces are considered as spaces.
13432 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13435 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13438 * lyxserver.C: fix it. and small cleanup.
13440 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13442 * BufferView_pimpl.C: use inline helpers
13445 * LaTeXFeatures.C: fix typos
13448 * Spacing.C: move spacing_string into class
13450 * ToolbarDefaults.C: move stuff into namespace anon
13452 * layout.h: update enum
13454 * lyxfunc.C: use better debug
13456 * minibuffer.h: fix typo
13460 * WorkArea.C: add and use Debug::WORKAREA
13464 * text2.C: code re-organisation, inline helpers
13466 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13468 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13469 std::vector.empty().
13471 2001-11-09 Allan Rae <rae@lyx.org>
13473 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13474 '\n's after tables. Tabular and ERT inset work now makes this no
13477 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13480 * minibuffer.C: fix crash, improve drop-down completion
13482 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13485 * lyxserver.C: invalidate fd's when doing endPipe()
13487 2001-11-08 José Matos <jamatos@fep.up.pt>
13489 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13490 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13493 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13495 2001-11-07 José Matos <jamatos@fep.up.pt>
13498 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13501 * buffer.C (sgmlOpenTag):
13502 * buffer.C (sgmlCloseTag): removed debug info.
13504 * buffer.h (sgmlOpenTag):
13505 * buffer.h (sgmlCloseTag): made public.
13507 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13509 * buffer.C (saveParamsAsDefaults):
13510 * lyx_cb.C (MenuLayoutSave): remove
13512 * LyXAction.C (init):
13514 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13516 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13518 * buffer.C (setPaperStuff): removed from here...
13520 * bufferparams.C (setPaperStuff): ... and moved there.
13522 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13526 * XFormsView.C: add support for drop-down completion
13528 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13530 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13533 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13535 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13538 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13540 * lyx_main.C: change ref to known bugs
13542 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13544 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13545 to work around older babel problems.
13547 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13549 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13551 2001-10-24 Juergen Vigna <jug@sad.it>
13553 * tabular-old.C (ReadOld): below variable changes reflected.
13555 * tabular.[Ch]: added ltType struct for longtable header/footer
13556 defines and changed all instances where they are used. Added
13557 future support for double top/bottom rows.
13559 2001-10-24 José Matos <jamatos@fep.up.pt>
13561 * buffer.h (docbookHandleCaption):
13562 * buffer.C (docbookHandleCaption): removed unused function.
13563 (makeDocBookFile): moved docbook supported version to v4.1.
13565 2001-10-24 José Matos <jamatos@fep.up.pt>
13568 * tabular.C (docbookRow): new function to export docbook code of a row.
13569 (DocBook): now honors the longtable flags.
13571 2001-10-23 José Matos <jamatos@fep.up.pt>
13574 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13575 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13577 * buffer.C (makeLinuxDocFile):
13578 (makeDocBookFile): reworked the preamble, more clean, and with
13579 support for lyx defined entities. Changed the document declaration
13580 to be more XML friendly.
13582 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13583 if we need to output XML that should be done with a filter.
13585 2001-10-22 Juergen Vigna <jug@sad.it>
13587 * sp_pspell.h (class PSpell): add alive function needed in the
13588 controller to see if the spellchecker could be started.
13590 2001-10-22 Juergen Vigna <jug@sad.it>
13592 * buffer.C (insertStringAsLines): modify the font for inserting
13593 chars in certain conditions by calling checkInsertChar(font).
13595 2001-10-19 Juergen Vigna <jug@sad.it>
13597 * text.C (workWidth): use getRow instead of wrong algorithm.
13598 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13600 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13605 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13607 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * text.C (workWidth): do not search for the exact row when
13610 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13611 optimization for big documents.
13613 2001-10-18 Juergen Vigna <jug@sad.it>
13615 * text.C (workWidth): new function with added Inset * parameter.
13617 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13619 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13621 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13622 change return type of getColumnNearX.
13625 * text.C (changeRegionCase): use uppercase/lowercase instead of
13628 (rightMargin): simplify code by factoring out the uses of
13633 (appendParagraph): use Paragraph::size_type
13635 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13637 * vspace.C (asLatexString): add a missing break
13639 2001-10-15 Herbert Voss <voss@perce.de>
13641 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13643 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13645 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13648 2001-10-10 André Pönitz <poenitz@gmx.net>
13650 * lyxfunc.C: removed greek_kb_flag.
13652 2001-10-10 Herbert Voss <voss@perce.de>
13654 * lyx_main.C: delete global string help_lyxdir.
13656 2001-10-09 Herbert Voss <voss@perce.de>
13658 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13660 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13662 * lyx_main.C: added global string help_lyxdir.
13664 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13666 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13668 * lyxrc.C (set_font_norm_type): support iso8859-4
13670 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13672 * LaTeX.C (deplog): add another regex for MikTeX
13674 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13676 * lyxrc.C (set_font_norm_type): support iso8859-3
13678 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13682 * LaTeXFeatures.C: remove special case of french and index
13684 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13685 before \begin{document}). This solves several incompatibilities.
13687 2001-10-03 Garst Reese <reese@isn.net>
13689 * lyx_cb.C: change CheckTex error msg.
13691 2001-10-03 José Matos <jamatos@fep.up.pt>
13693 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13695 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * .cvsignore: update
13699 * lyx_main.C (commandLineVersionInfo): use new style version info.
13701 * buffer.C (writeFile):
13703 (makeLinuxDocFile):
13704 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13706 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13708 * version.h: update to use stuff in version.C
13710 * version.C.in: new file. Contains version information determined
13711 at compile time. This is a merging of version.h and
13714 2001-10-03 Juergen Vigna <jug@sad.it>
13716 * BufferView_pimpl.C (update): don't change "dirty" status in
13719 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13721 * WorkArea.C (c-tor): re-position version string slightly.
13723 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13725 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13726 revert to previous code.
13728 WorkArea.[Ch]: (show, destroySplash): methods removed.
13730 WorkArea.C: rework code so that it's an amalgam of the codes before and
13731 after the splash screen was moved to WorkArea.
13733 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * vspace.C (inPixels):
13739 * buffer.C (insertStringAsLines):
13740 (asciiParagraph): fix types to be large enough
13742 * lyxlex_pimpl.h: change member status from short to int
13744 * layout.h: fix type of endlabeltype
13747 * kbsequence.C (parse): change return type to string::size_type
13749 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13752 * Bullet.C (bulletSize):
13753 (bulletEntry): do not use short ints as parameters
13755 * BufferView2.C (insertLyXFile): change a char to an int.
13757 * WorkArea.C (WorkArea): remove unneeded floats in computation
13759 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13761 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13763 * paragraph.C (asString): Do not ignore newline/hfill chars when
13764 copying to the clipboard.
13766 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13768 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13769 after a multi-line inset.
13771 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13773 * paragraph.C (validate): Set NeedLyXFootnoteCode
13775 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13777 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13778 and decrease-error to decrease.
13780 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13783 it more readable (should be equivalent)
13785 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13787 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13789 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13791 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13792 of a cursor (row, etc.) after a character has been deleted
13793 (deleteEmptyParagraphMechanism): call the method above on _all_
13794 cursors held by the LyXText when a double space has been
13797 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13799 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13801 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13803 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13804 background. Use greyOut() and the new show() methods to toggle between
13805 the foreground and background. Add code to remove the splash after
13806 its initial showing.
13808 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13809 (create_forms): no longer call Dialogs::showSplash.
13811 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * .cvsignore: add version_info.h
13815 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13817 * version_info.h.in: new file
13819 * Makefile.am: add version_info.h.in
13821 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13822 version_info.h instead of VERSION_INFO
13824 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13826 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13827 The ERT inset now returns string().
13829 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13831 * lyxtext.h, text.C (selectNextWord): renamed as
13832 selectNextWordToSpellcheck.
13834 * text.C (selectNextWordToSpellcheck): Modified to not select
13835 words inside an ERT inset.
13837 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13839 * lyx_cb.C (MenuLayoutSave): change a bit the question
13841 * sp_base.h: include <sys/types.h>
13843 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13845 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13847 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13849 * several files: fix typos in user-visible strings
13851 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * text2.C (pasteSelection): do not set the selection, since it
13854 will be cleared later. Actually, the intent was to fix the way the
13855 selection was set, but I figured rmoving the code was just as good.
13857 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13859 * FontLoader.C (available): Check if font is available without
13862 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13864 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13866 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13868 * lyxrc.[Ch]: added display_graphics variable and associated code.
13870 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * bufferparams.C (hasClassDefaults): new method. Returns true if
13873 the buffer parameters correspond to known class defaults
13875 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13877 * XFormsView.C (show): set minimum size to the main window.
13879 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13881 * text2.C (copySelection):
13883 * lyxfind.C (LyXReplace):
13884 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13885 LyXText::selectionAsString.
13887 * paragraph.C (asString): add "label" argument to the second form
13889 * text2.C (selectionAsString): add "label" argument and pass it to
13890 Paragraph::asString.
13892 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * lyx_main.C (commandLineHelp): remove version information
13896 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13898 * lyx_main.C: add -version commandline option
13900 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13902 * paragraph.h: make the optional constructor arg required instead.
13903 some modifications to other files because of this.
13905 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13907 * lyxserver.C (C_LyXComm_callback): make it static
13909 * lyx_main.C (error_handler): make it static
13911 * lyx_gui.C (LyX_XErrHandler): make it static
13913 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13915 * WorkArea.C: make the extern "C" methods static.
13917 * Makefile.am (lyx_LDADD): simplify
13919 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13921 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13922 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13924 * LyXAction.C (init):
13925 * lyxfunc.C (dispatch): associated code removal.
13927 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13929 * lyxfont.h (isSymbolFont): shut off warning
13931 * text.C (setHeightOfRow):
13932 (getVisibleRow): fix crash with empty paragraphs which have a
13935 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13937 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13940 2001-09-04 José Matos <jamatos@fep.up.pt>
13943 * tabular.C (docbook): rename docBook method to docbook.
13945 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13947 * Makefile.am: add dependencies to main.o.
13949 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13951 * FontLoader.C (available): Return false if !lyxrc.use_gui
13953 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13955 * FontInfo.C (query):
13956 * converter.C (view):
13957 * importer.C (Import):
13958 * exporter.C (Export): Can not -> cannot.
13960 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13962 * BufferView_pimpl.C: allow to create index inset even if
13965 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13967 * buffer.C (getLists): replace boost::tie code with an explicit pair
13968 as boost::tie can break some compilers.
13970 * iterators.h: Added a std:: declaration to the return type of
13973 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13975 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13978 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13980 * iterators.[Ch]: New files. Provide paragraph iterators.
13982 * buffer.C (changeLanguage): Use paragraph iterators.
13983 (isMultiLingual): ditto
13985 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13987 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13989 * FontLoader.C: Support for cmr font.
13991 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13993 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13994 (available): New method.
13996 * FontInfo.C (getFontname): Use scalable fonts even when
13997 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14000 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14002 * converter.C (Formats::view): reverted! Incorrect fix.
14004 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14006 * converter.C (Formats::view): only output the -paper option
14007 if the dvi viewer is xdvi, thereby fixing bug #233429.
14009 2001-08-23 Herbert Voss <voss@perce>
14011 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14013 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14015 * Spacing.h (Spacing): Set space to Default on in the default
14018 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14020 * vc-backend.h (RCS::versionString): add RCS to version
14021 (CVS::versionString): add CVS to version
14023 * vc-backend.C (scanMaster): do not add CVS to version.
14024 (scanMaster): do not add RCS to version
14026 * lyxvc.C (versionString): new method
14028 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14030 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14032 * Spacing.C (set): initialize fval
14034 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14036 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14039 2001-08-16 Juergen Vigna <jug@sad.it>
14041 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14043 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14045 * BufferView_pimpl.C:
14048 * text2.C: setParagraph takes linespacing now
14050 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14052 * LyxAction.C: add internal LFUN_CITATION_INSERT
14054 * LyXView.C: actually apply fix
14056 * bufferlist.C: fix open non-existent file
14058 * lyxfind.C: fix indentation
14060 * lyxfunc.C: remove unneeded assert, fix typo
14062 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14064 * MenuBackend.C: use "Floatname List"
14066 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14068 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14069 when converting LaTeX layout to insetERT.
14070 Generate a non-collapsed float when reading old float
14072 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14074 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14077 2001-08-13 Juergen Vigna <jug@sad.it>
14079 * text.C (fill): return 0 instead of 20 as this seems to be the more
14082 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14084 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14087 2001-08-13 Juergen Vigna <jug@sad.it>
14089 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14091 (SearchBackward): comment out the unlocking of the inset_owner this
14092 should not be needed!
14094 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14096 * Many files: Remove inherit_language, and add latex_language
14098 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14099 collapsible insets.
14101 2001-08-10 Juergen Vigna <jug@sad.it>
14103 * text.C (prepareToPrint): fixed hfill-width in draw!
14105 * BufferView2.C (selectLastWord): save the selection cursor as this
14106 now is cleared in the function LyXText::clearSelection!
14108 2001-08-08 Juergen Vigna <jug@sad.it>
14110 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14111 BACKSPACE type functions.
14113 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14114 is only cutted from the document but not put in the cut-buffer, where
14115 still the old stuff should be.
14117 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14119 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14121 * tabular.C (SetWidthOfCell): fixed special case where the width
14123 (LeftLine): handle '|' in align_special.
14125 (LeftAlreadyDrawed): ditto
14126 (SetWidthOfCell): ditto
14128 2001-08-07 Juergen Vigna <jug@sad.it>
14130 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14132 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14134 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14135 * lyxlex.[hC]: ditto
14137 2001-08-06 Juergen Vigna <jug@sad.it>
14139 * text.C (getVisibleRow): fix up row clearing a bit.
14141 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14143 * minibuffer.C: make sure the X server sees the changes in the input.
14145 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14147 * paragraph.C (getFont): split into...
14148 (getLabelFont): this
14149 (getLayoutFont): and this
14150 * paragraph_pimpl.C (realizeFont): calling this
14152 * text2.C (getFont): split into...
14153 (getLayoutFont): this
14154 (getLabelFont): and this
14155 (realizeFont): all three calling this
14157 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14160 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14162 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14164 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14166 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14167 layouts from the Quote inset insertion.
14169 2001-08-03 Juergen Vigna <jug@sad.it>
14171 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14173 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14174 only if status not is already CHANGED_IN_DRAW (second level).
14176 * text.C (draw): don't set the need_break_row when inside an
14179 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14181 * buffer.C (parseSingleLyXformat2Token): handle more latex
14184 * bufferview_funcs.[hC]: change function names to
14185 begin with small char, adjust other files.
14187 2001-08-02 André Pönitz <poenitz@gmx.net>
14190 BufferView_pimpl.C: remove broken special code for math-greek
14192 2001-08-02 Juergen Vigna <jug@sad.it>
14194 * BufferView_pimpl.C (update): redone this function so that we
14195 update the text again if there was a CHANGE_IN_DRAW.
14197 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14198 (drawFromTo): added a new internal bool which is used by draw() and
14200 (general): some cursor drawing problems fixed.
14202 2001-08-01 Juergen Vigna <jug@sad.it>
14204 * lyxfind.C (LyXFind): fixed
14205 (SearchForward): ditto
14206 (SearchBackward): ditto
14208 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14209 spurius drawing of the cursor in the main area.
14211 * text2.C (status): small fix which could lead to a segfault!
14212 (clearSelection): remove unneeded BufferView param.
14214 2001-08-01 André Pönitz <poenitz@gmx.net>
14216 * lyxfunc.C: small change due to changed mathed interface
14218 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14220 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14222 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14224 * lyxfunc.c: fail gracefully if file doesn't exist
14229 * BufferView_pimpl.C: IsDirWriteable() proto changed
14231 * LyXView.C: fix updateWindowTitle() to store the last title
14233 2001-07-31 Juergen Vigna <jug@sad.it>
14235 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14236 the font (wrong since using of Paragraph::highestFontInRange).
14238 * paragraph.C (highestFontInRange): added a default_size parameter.
14240 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14241 (setHeightOfRow): reformat
14243 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * converter.[hC] + affected files: move to (inital-char)lowercase
14248 * ParagraphParameters.C (ParagraphParameters): remove commented code
14250 * PainterBase.[Ch]: remove commented code
14252 * LaTeXFeatures.h: add "bool floats" for float.sty
14254 * LaTeXFeatures.C (LaTeXFeatures): init floats
14255 (require): handle float
14256 (getPackages): do it with floats
14258 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14260 * BufferView_pimpl.C (Dispatch): improve handling of
14261 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14263 * commandtags.h: #include lyxfont.h here temporarily to avoid
14266 * bufferlist.h: include LString.h here.
14268 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14270 * text2.C (getStringToIndex): new method.
14272 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14274 * *: Reduced header file dependencies all over.
14276 2001-07-30 Baruch Even <baruch@lyx.org>
14278 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14280 2001-07-29 Baruch Even <baruch@lyx.org>
14282 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14284 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14286 * ParameterStruct.h (endif): add a default constructor to make
14287 sure that all variables is initialized.
14289 * ParagraphParameters.C (ParagraphParameters): adjust
14291 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14293 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14294 index; also, check that there is something to index, and that it
14295 does not span over several paragraphs.
14296 (doubleClick): use WHOLE_WORD_STRICT for double click.
14298 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14300 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14303 2001-07-26 Baruch Even <baruch@lyx.org>
14305 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14306 an InsetFig figure, backwards compatible reading of old figure code.
14308 2001-07-27 Juergen Vigna <jug@sad.it>
14310 * text2.C: font.realize function adaption.
14312 * text.C (draw): add a warnings lyxerr text if needed.
14314 * layout.C: font.realize function adaption.
14316 * language.C: add inherit_language and implement it's handlings
14318 * bufferview_funcs.C (StyleReset): remove language parameter from
14319 font creation (should be language_inherit now).
14321 * bufferparams.C (writeFile): handle ignore_language.
14323 * paragraph.C (getFontSettings): the language has to be resolved
14324 otherwise we have problems in LyXFont!
14326 * lyxfont.C (lyxWriteChanges): added document_language parameter
14327 (update): removed unneeded language parameter
14329 * paragraph.C (validate): fixed wrong output of color-package when
14330 using interface colors for certain fonts in certain environments,
14331 which should not seen as that on the final output.
14333 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14335 * BufferView_pimpl.C:
14340 * LyXAction.C: add thesaurus support
14343 * lyxfind.C: add "once" parameter, for thesaurus, to not
14344 move to the next match
14346 2001-07-26 Juergen Vigna <jug@sad.it>
14348 * lyxfont.C (realize): honor ignore_language too!
14351 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14353 * text.C (draw): one place more for ignore_language to not draw
14356 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14358 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14360 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14362 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14363 the minipage conversion problem.
14365 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14367 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14370 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14372 * BufferView.h: don't forward declare WorkArea
14374 * BufferView.C: don't include WorkArea.h
14376 2001-07-25 André Pönitz <poenitz@gmx.net>
14380 * lyxfunc.C: new LFUN 'math-space'
14382 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14384 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14386 * text2.C (toggleInset): call open/close
14388 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14390 * lyxfunc.C (dispatch): add debug for the disabled case
14392 * font.C (buttonText): make similar to rectText
14394 * buffer.C (readInset): comment out parsing of insetlist and
14397 * PainterBase.C (rectText): small correction
14399 * BufferView_pimpl.C: comment out insettheorem and insetlist
14400 * LyXAction.C: ditto
14401 * commandtags.h: ditto
14403 2001-07-24 Juergen Vigna <jug@sad.it>
14405 * text.C (draw): honor the ignore_language.
14407 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14409 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14411 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14414 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14416 * lyxtext.h: remove unused (and unimplemented) methods
14418 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14420 * text.C (getVisibleRow): honor background color
14423 * Painter.h: remove default color argument for fillRectangle
14425 * text.C (backgroundColor): new method
14427 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14429 * text.C (getVisibleRow): adjust
14431 * font.[Ch] (rectText): new method, metrics
14432 (buttonText): new method, metrics
14434 * PainterBase.[hC]: make rectText and buttonText always draw and take
14437 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14439 * ToolbarDefaults.C (read):
14440 * MenuBackend.C (read): allow escaping in all strings
14442 * BufferView_pimpl.C (insertAndEditInset): new method.
14443 (Dispatch): use insertAndEditInset whenever appropriate.
14445 * BufferView_pimpl.C (insertNote): removed
14447 * BufferView_pimpl.C (smartQuote): new method, moved from
14448 BufferView; if an insetquote cannot be inserted, insert a '"'
14451 * BufferView2.C: remove insertCorrectQuote();
14453 * lyxfunc.C (getStatus): Add support for all remaingin
14454 inset-insert lfuns.
14456 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14458 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14459 command (necessary to pass " as parameter of self-insert.
14461 * text.C (selectWordWhenUnderCursor):
14462 (selectWord): add word_location parameter
14463 (selectWordWhenUnderCursor): same + remove special code for word
14465 (selectNextWord): use kind() to guess type of insetspecialchar,
14468 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14469 (insertErtContents): create ert insets as collapsed.
14470 (readInset): better compatibility code for Info inset.
14472 2001-07-20 Juergen Vigna <jug@sad.it>
14474 * lyxfunc.C (dispatch): use always LyXFind now!
14476 * text2.C (init): add a reinit flag so that the LyXText can be
14477 reinited instead of deleted and reallocated (used in InsetText).
14479 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14485 2001-07-18 Juergen Vigna <jug@sad.it>
14487 * text.C (selectNextWord): handle insets inside inset by calling
14488 always the bv->text functions so that we can go up the_locking_inset!
14490 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14491 in strange locations when inside an inset!
14493 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14494 handling to include insets.
14496 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14498 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14500 * LyXAction.C (init):
14502 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14503 LIGATURE_BREAK, since the name is so stupid.
14505 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14507 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14510 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14512 * sp_form.[Ch]: remove.
14514 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14516 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14519 * src/buffer.C (readInset): ditto.
14521 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14523 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14524 menuSeparator(), endOfSentenceDot(), ldots() and
14525 hyphenationPoint(), which are therefore removed.
14526 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14528 * LyXAction.C (init):
14529 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14531 * paragraph.C (getWord): removed.
14533 * BufferView_pimpl.C (Dispatch): use last word or selection for
14534 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14536 * lyx_main.C (queryUserLyXDir): do not ask before creating
14537 user_dir, except if it has been named explicitely.
14539 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14541 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14542 a document of zero size.
14544 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14546 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14547 approriately in the c-tor and in require().
14548 (getPackages): output the appropriate LaTeX for natbib support.
14550 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14551 variables "use_natbib" and "use_numerical_citations" when reading the
14553 (readInset): read the various natbib cite commands.
14554 (validate): white-space change.
14556 * bufferparams.[Ch]: new variables "bool use_natbib" and
14557 "bool use_numerical_citations".
14558 (writeFile): output them in the LyX file.
14560 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14562 * lyxfunc.C (getStatus): add support for all the inset insertion
14565 * text2.C (insertInset):
14566 * paragraph.C (insetAllowed):
14567 * BufferView_pimpl.C (insertInset): update to take in account the
14568 renaming of insertInsetAllowed
14570 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14572 * text2.C (getInset): new method. returns inset at cursor position.
14574 * BufferView_pimpl.C (Dispatch): changes because of this.
14576 * LyXAction.C (init): rename open-stuff to inset-toggle.
14578 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14580 * text2.C (toggleInset): renamed from openStuff; use
14583 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14585 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14587 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14589 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14591 * buffer.C (readLyXformat2): Add filename to the error dialog
14593 2001-07-18 Juergen Vigna <jug@sad.it>
14595 * tabular.C (GetCellNumber): put an assert here instead of the check!
14597 2001-07-17 Juergen Vigna <jug@sad.it>
14599 * BufferView_pimpl.C (toggleSelection): adapted too.
14601 * text.C (selectNextWord): adapted for use with insets.
14602 (selectSelectedWord): ditto
14604 2001-07-17 Juergen Vigna <jug@sad.it>
14606 * sp_spell.C (PSpell): fix initialitation order.
14608 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14610 * paragraph.C: spacing
14612 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14614 * sp_spell.C: repair language selection for pspell
14616 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * lyxfunc.h: change more methods to begin with lower char.
14620 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14622 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14623 for unknown layouts.
14625 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14627 * buffer.C (readLyXformat2): Generate an error dialog if there are
14630 2001-07-16 Juergen Vigna <jug@sad.it>
14632 * sp_spell.C: always compile ISpell part.
14634 * lyxrc.C: added use_pspell entry and it's handling.
14636 2001-07-13 Juergen Vigna <jug@sad.it>
14638 * sp_spell.C: removed double includes.
14640 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14642 Consistent use of Lsstream.h:
14643 * Lsstream.h: added using std::stringstream for consistencies sake.
14645 * buffer.C: removed using std::stringstream
14647 * lyxfont.C (stateText):
14648 * paragraph.C (asString):
14649 * text.C (selectNextWord, selectSelectedWord):
14650 * text2.C (setCounter):
14651 * vspace.C (asString, asLatexString):
14652 std::ostringstream -> ostringstream.
14654 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14656 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14657 * commandtags.h: add LFUN_HELP_ABOUTLYX
14658 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14660 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14662 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14664 * lyx_gui_misc.C: remove spellchecker
14665 * lyxfunc.C: showSpellchecker
14667 * sp_ispell.h: added
14668 * sp_pspell.h: added
14669 * sp_spell.C: added
14670 * sp_form.[Ch]: removed
14671 * spellchecker.[Ch]: removed
14673 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14675 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14677 (simpleTeXSpecialChars): Simply print the input character without
14678 any special translation if pass_thru is set.
14680 * layout.h: Added bool pass_thru to layout class for being able to
14681 implement pass through of a paragraph for Literate Programming.
14683 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14684 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14685 * layout.C (Read): add "passthru" to list of layout tags and add
14686 code to set the pass_thru boolean when it is read.
14688 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * trans_decl.h: remove allowed from KmodInfo
14692 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14693 remove allowed code
14696 * paragraph_pimpl.C (erase): use boost::prior
14698 * Painter.C (text): use data() instead of c_str() when length is
14700 * WorkArea.C (putClipboard): ditto
14701 * font.h (width): ditto
14703 * BufferView2.C: use it-> instead of (*it). for iterators
14705 * paragraph_pimpl.C: ditto
14706 * paragraph.C: ditto
14707 * minibuffer.C: ditto
14708 * language.C: ditto
14710 * encoding.C: ditto
14711 * counters.C: ditto
14712 * converter.C: ditto
14714 * Variables.C: ditto
14715 * TextCache.C: ditto
14716 * MenuBackend.C: ditto
14717 * LyXAction.C: ditto
14719 * FloatList.C: ditto
14720 * DepTable.C: ditto
14721 * ColorHandler.C (LyXColorHandler): ditto
14723 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14727 * text2.C (openStuff): reintroduce this method (which had been
14728 nuked in NEW_INSETS frenzy).
14730 * lyxfunc.C (Dispatch): when an action has not been handled, use
14731 its name in the error message, not its number.
14733 * paragraph.C (inInset): change method name to begin with lowercase.
14736 * text2.C: updates because of this.
14738 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14740 * ToolbarDefaults.C (add): add spaces in error message
14742 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14744 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14745 (readLyXformat2): rename return_par to first_par, use lyxlex's
14746 pushToken and remove the manual push handling.
14747 (parseSingleLyXformat2Token): add another ert comp. variable:
14748 in_tabular, rename return_par to first_par. handle newlines better
14750 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14752 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14754 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14756 * text2.C (getParFromID): removed
14758 * buffer.C (getParFromID): new method moved form lyxtext.
14759 * BufferView2.C (insertErrors): adjust
14760 (setCursorFromRow): adjust
14761 * BufferView_pimpl.C (restorePosition): adjust
14762 * lyxfunc.C (Dispatch): adjust
14763 * undo_funcs.C (textUndo): adjust
14765 (textHandleUndo): adjust
14766 (textHandleUndo): adjust
14768 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14770 * buffer.C: up' the LYX_FORMAT
14772 * lyxfont.h: turn NO_LATEX on as default
14774 * buffer.C (insertErtContents): new methods of tex style compability.
14775 (parseSingleLyXformat2Token): use it several places.
14776 * tabular.C (OldFormatRead): and here
14778 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14780 * text2.C: remove some commented code.
14783 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14784 * trans.C: changes because of the above.
14786 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14788 * text2.C (setCounter): Fix counters bug with bibliography layout.
14790 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14793 own member functions
14794 (simpleTeXSpecialChars): ditto
14796 2001-07-06 Juergen Vigna <jug@sad.it>
14798 * a lot of files: changed the access to LyXText::status and the
14799 call of undo-functions.
14801 * undo.[Ch]: added a inset_id to the undo informations.
14803 * undo_funcs.[Ch]: added and moved here all undo functions.
14805 * lyxtext.h: give the status enum a weight, made status_ a private
14806 variable and made accessor functions for it, removed the whole bunch
14807 of undo-functions as they are now in their own file, make some
14808 functions publically available. Added function ownerParagraph with
14811 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14812 made InInset() a const function, added getParFromID() function.
14814 * buffer.[Ch]: added const version for inset_iterator functions,
14815 added getInsetFromID() function.
14817 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14818 changed undo functions for new version.
14820 2001-07-05 Juergen Vigna <jug@sad.it>
14822 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14823 unknow mechanism does not call the proper constructor but only this
14824 one also if I request the other!?
14826 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14830 * text2.C (LyXText): use initialization lists.
14832 * lyxtext.h (Selection): initialize set_ and mark_
14833 (init): remove method
14835 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14837 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14839 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14841 * screen.[Ch]: change method names to begin with lowercase
14843 * BufferView_pimpl.C (updateScrollbar): simplify further and
14844 hopefully make it a bit faster.
14846 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14848 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14849 calling directly xforms functions.
14851 * Painter.C (Painter):
14852 * lyx_cb.C (MenuWrite):
14853 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14856 * lyx_gui.C: remove bogus guiruntime extern declaration.
14858 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14862 (redoDrawingOfParagraph): ditto
14863 (redoParagraphs): ditto
14864 (cutSelection): don't create a object for CutAndPaste use the
14865 static method directly
14866 (pasteSelection): ditto
14868 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14871 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14873 * modifications to some other files because of this.
14875 * Makefile.am (lyx_SOURCES): add XFormsView
14877 * XFormsView.[Ch]: new files
14879 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14880 the main window. Move the gui dependent stuff to XFormsView
14882 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14884 * tabular.C (GetCellInset): update cur_cell also in the row/col
14885 version of this function.
14887 * lyxfunc.C: no need to include figure_form.h here.
14893 * lyxvc.C: no need to include forms.h here.
14895 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14897 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14899 * lyxfunc.C (Dispatch):
14901 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14902 constructor argument.
14904 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * paragraph.C (Paragraph): dont't clear, and just set layout.
14907 (makeSameLayout): use params's copy contructor.
14909 * ParagraphParameters.[Ch] (makeSame): delete method
14911 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14913 * Variables.[Ch]: fix indentation, rename set to isSet
14915 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14917 * lyxfunc.C (Dispatch): fix typo
14919 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14921 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14924 * bufferlist.C: include assert.h for emergencyWrite().
14926 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14928 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14929 give up at last (bug #425202) !
14931 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14937 * spellchecker.C: strip spellchecker options and bring up
14938 preferences tab instead
14940 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14942 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14943 the istringstream constructor
14945 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14947 * paragraph.C (getLayout): fix return value
14949 * paragraph.h: do not declare getLayout as inline.
14951 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14953 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * lyxcursor.h (operator<): new func
14956 (operator>): new func
14957 (operator>=): new func
14958 (operator<=): new func
14960 * text.C (changeCase): use selection.start and selection.end
14961 (changeRegionCase): require from to be <= to. Require par to be a
14964 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14966 2001-06-27 Juergen Vigna <jug@sad.it>
14968 * text.C (cursorLeftOneWord): changed to return the cursor and added
14969 overlay with BufferView * parameter which calls this one.
14971 (selectWord): use new getWord function.
14972 (changeCase): renamed from changeWordCase as and extended to work
14973 also on selections.
14975 * lyxtext.h: added enum word_location
14977 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14978 changeCase as this operates now also on selections.
14980 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14982 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14984 * many files: send debug output to Debug::INFO instead of
14987 * converter.C (View):
14989 (Move): send debug output to Debug::FILES instead of console.
14991 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14993 * lyxfunc.C (getStatus): use func_status
14995 * func_status.h: new header, describing the results of
14996 LyXFunc::getStatus;
14998 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15001 2001-06-25 The LyX Project <jug@sad.it>
15003 * buffer.C (sgmlOpenTag):
15005 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15007 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * text2.C: remove some dead code
15011 * tabular.C (GetCellInset): store the last cell checked (gotten)
15013 * tabular.h: add the helper for the speedup
15015 * lyxtext.h: remove some dead code
15017 2001-06-26 The LyX Project <Asger>
15019 * paragraph.C: Change export to LaTeX of alignment to
15020 \begin{center} and family for better roundtrip work with reLyX.
15022 * Tune the math drawing a bit.
15024 2001-06-25 The LyX Project <Asger>
15026 * LColor.C (LColor): New color for math background. New color
15029 2001-06-25 The LyX Project <jug@sad.it>
15031 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15033 * lyxfunc.C (Open):
15034 * bufferlist.C (newFile): do not restrict to files ending with
15037 * BufferView_pimpl.C (MenuInsertLyXFile):
15039 2001-06-24 The LyX Project <jug@sad.it>
15041 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15044 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * lyxtext.h: rename most methods to begin with a small char.
15047 Lots of changes because of this.
15049 * paragraph.C (Paragraph): do not call fitToSize
15050 (erase): call Pimpl::erase
15051 (insertChar): call Pimpl::insertChar
15052 (insertInset): call Pipl::insertInset
15053 (breakParagraph): do not call fitToSize
15054 (breakParagraphConservative): do not call fitToSize
15055 (fitToSize): remove method
15057 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15059 2001-06-24 The LyX Project <Asger>
15061 * Fix Qt compilation^2
15063 2001-06-24 The LyX Project <jug@sad.it>
15065 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15066 depthHook(getDepth()-1).
15069 * ParagraphParameters.h:
15070 * ParameterStruct.h: change type of depth to unsigned int ==
15071 depth_type. Many adaptations to other files before of that.
15073 2001-06-24 The LyX Project <Asger>
15075 * Fix Qt compilation.
15077 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15079 * paragraph.h: renamed several methods to begin with small letter.
15080 several changes to many parts of the code because of this.
15082 2001-06-23 The LyX Project <jug@sad.it>
15084 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15085 rewritten to discard all double spaces when KeepEmpty is off
15086 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15087 to only handle newlines but not fiddle with spaces and friends.
15089 * lyxfunc.C (MenuNew): when doing 'new from template', use
15090 template_path as default directory
15092 2001-06-23 The LyX Project <Asger>
15094 * Clean-up of header file includes all over
15095 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15097 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15099 * paragraph.h: renamed from lyxparagraph.h
15101 2001-06-23 Asger <lyx@violet.home.sad.it>
15103 * Buffer.h: Removed Buffer::resize
15104 * BufferList.h: Removed BufferList::resize
15105 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15106 the document lazily when we change the width, or the font settings.
15108 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15110 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15112 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15114 * buffer.h: remove out of date comment
15116 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15119 * screen.C: fix "theoretical" GC leak
15121 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15123 * LaTeX.C (scanAuxFile):
15124 (deplog): remove trailing \r when reading stream (useful under
15127 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15129 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15130 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15131 and BufferView::theLockingInset(Inset*), so should use them and not
15132 access bv_->text->the_locking_inset directly.
15134 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15136 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15139 * tex-defs.h: remove old unused file
15141 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15143 * BufferView_pimpl.C: fix typo, remove minibuffer message
15144 when buffer has loaded
15146 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * lyxfunc.C (Dispatch): use stringstream
15149 (MenuNew): use stringstream
15150 (Open): use stringstream
15152 * importer.C (Import): use stringstream
15154 * bufferview_funcs.C (CurrentState): use stringstream
15156 * LaTeX.C (run): use stringstream
15158 * BufferView_pimpl.C (savePosition): use stringstream
15159 (restorePosition): use stringstream
15160 (MenuInsertLyXFile): use stringstream
15162 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15175 * vspace.C: removed // -*- C++ -*- as first line.
15178 * version.h: added // -*- C++ -*- as first line.
15180 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15184 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15187 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15189 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15192 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * gettext.C: include LString.h even when --disable-nls is on.
15196 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15198 * converter.h (Get): changed argument type from int to
15199 FormatList::size_type to avoid unnecessary conversion.
15201 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15204 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15206 * gettext.h: include LString.h even when --disable-nls is on.
15208 2001-06-07 Juergen Vigna <jug@sad.it>
15210 * text.C (BreakAgain): subst spaces with tabs.
15212 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15213 (resizeInsetsLyXText): set force on resizeLyXText.
15215 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * gettext.h (gettext_init):
15218 (locale_init): use a real definition instead of a macro
15220 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15222 * Bufferview_pimpl.C:
15224 * LColor.C: further lcolor tidies
15226 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15228 * BufferView_pimpl.C (updateScrollbar): simplify.
15230 * BufferView2.C: don't include insets/insetinfo.h, change
15231 prototype for insertInset and call the Pimpl version. let
15232 updateInset call Pimpl version.
15234 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15235 gotoInset to BufferView::Pimpl
15237 2001-06-01 Juergen Vigna <jug@sad.it>
15239 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15240 inside a LockingInset (is the update needed at all?).
15242 2001-05-31 Juergen Vigna <jug@sad.it>
15244 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15245 here not the old one otherwise how should we compare it afterwards
15248 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * FontInfo.C: bring C functions into global namespace when
15256 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15258 * LString.h: make sure config.h has been loaded before LString.h.
15260 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15261 (one for each char read by EatLine!).
15263 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15266 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15269 to the same as the par we break from
15271 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15273 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15275 * MenuBackend.C (expand): also create menu entries for wide
15276 versions of the floats.
15278 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15280 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15282 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15283 frontends/Makefile.am
15289 * tabular.C (getTokenValue): add std::
15291 * tabular-old.C (getTokenValue): add std::
15292 (getTokenValue): ditto
15293 (getTokenValue): ditto
15295 * screen.C (ToggleSelection): adjust
15297 * lyxtext.h: put selection cursors inside a Selection struct.
15299 * lyxfunc.C (moveCursorUpdate): adjust
15301 * lyxfont.C (latexWriteStartChanges): add std::
15303 * lyxfind.C: adjust
15305 * font.h: delete with(char const *, LyXFont const &)
15307 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15309 * FontInfo.C (getFontname): add std::
15311 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15312 (workAreaButtonPress): adjust
15313 (tripleClick): adjust
15315 (moveCursorUpdate): adjust
15318 * BufferView2.C (gotoInset): adjust
15320 2001-05-30 Juergen Vigna <jug@sad.it>
15322 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15323 to check pspell I add this as default as I now have new pspell
15324 libraries and they seem to use this.
15326 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15328 * text2.C (CutSelection): make the cursor valid before the call to
15331 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15333 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15334 relied on 0 terminated strings and other horrors. Bug found due to
15335 the new assert in lyxstring!
15337 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15340 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15342 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15345 * lyxfunc.C (processKeySym): change method of getting to the
15348 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15349 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15350 * BufferView_pimpl.[Ch]: here as private methods.
15352 2001-05-28 Juergen Vigna <jug@sad.it>
15354 * text.C (SetHeightOfRow): added the update() call again as it is
15355 needed to initialize inset dimensions!
15357 2001-05-16 Juergen Vigna <jug@sad.it>
15359 * text2.C (SetCharFont): Add new function with BufferView * and
15360 bool toggleall parameters for setting insets internal fonts.
15361 (SetFont): Freeze the undo as we may change fonts in Insets and
15362 all this change should be inside only one Undo!
15364 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15365 setting font's in insets as for them we have the SetFont function!
15367 2001-05-15 Juergen Vigna <jug@sad.it>
15369 * text2.C (ClearSelection): to be sure we REALLY don't have any
15372 * tabular.C (TeXCellPreamble): fixed the left border problem for
15375 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15377 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15380 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15382 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15383 LFUN_BREAKPARAGRAPH.
15385 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15386 help test to "internal only", similar for LFUN_INSERT_URL
15388 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15389 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15390 auto_region_delete and deadkeys.
15392 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15395 * LColor.C: remove some dead entries, tidy a little
15397 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15399 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15401 (Dispatch): implement LFUN_ESCAPE
15403 * commandtags.h: add LFUN_ESCAPE
15405 * LyXAction.C (init): add entry for LFUN_ESCAPE
15407 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15408 Remove commented code.
15409 (insertNote): moved here
15410 (open_new_inset): moved here
15412 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15415 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15417 * kbmap.C (findbinding): clean it up and make it work correctly.
15419 * lyx_main.C (init): do not pass argc and argv as parameters
15421 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15423 * buffer.C: fix path for OS/2 & Win32
15427 * lyx_main.C: Added os:: class.
15429 * os2_defines.h: update
15431 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15433 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15434 better by trying again with reduced state.
15436 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15438 * lyxrc.C (read): print error about invalid key sequence only when
15439 debugging (because not all latinX keysyms are known to some X
15442 * kbsequence.C (getiso): add a few std:: qualifiers
15443 (getiso): comment out extra return statement.
15445 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15449 (Dispatch): enhance the accent inset a bit. (not perfect)
15451 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15453 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15455 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * bufferlist.C (emergencyWrite): fix assert() call
15459 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15461 * text.C (InsertChar): Added trivial patch to only send the "you
15462 can not do multiple spaces this way" message once during a
15465 2001-05-08 Baruch Even <baruch@lyx.org>
15467 * Makefile.am: Changed order of libraries to get LyX to link properly
15468 with the gnome frontend.
15470 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15472 * LaTeXFeatures.h: add a std:: qualifier
15474 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15476 * paragraph.C (String): use stringstream
15478 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15480 * paragraph.C (writeFile): remove footflag arg
15482 * buffer.C (makeLaTeXFile): use stringstream
15483 (latexParagraphs): remove footnot gurba
15485 * LaTeXFeatures.C (getPackages): use stringstream
15486 (getMacros): likewise
15487 (getTClassPreamble): likewise
15488 (getFloatDefinitions): new method
15490 * paragraph.C (writeFile): reindent
15493 * WorkArea.h: revert the xpos + etc changes.
15495 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15497 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15499 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15500 (pasteSelection): likewise
15501 * text2.C (CreateUndo): likewise
15503 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15505 * minibuffer.C (peek_event): temporarily reduce the functionality
15506 of the minibuffer (to allow args on lfuns)
15508 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15509 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15511 * buffer.C (readInset): add compability reading of old float
15512 lists, add reading of new style float list.
15513 (readInset): avoid reevaluation of inscmd.getCmdName()
15514 (getLists): reindent
15516 * MenuBackend.C (MenuItem): implement parsing of
15517 md_floatlistinsert and md_floatinsert.
15518 (expand::LastFiles): move initalizaton of iterators out of loop,
15519 avoid reevaluation.
15520 (expand::Documents): introduce typdedef vector<string> Strings,
15522 (expand::ExportFormats): introduce typedef vector<Format const *>
15523 Formats, and use it.
15524 (expand): implement FloatListInsert and FloatInsert.
15526 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15527 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15528 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15530 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15532 (Dispatch::LFUN_FLOAT_LIST): implement
15534 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15536 * LaTeX.C (run): Fix problem with --export code.
15538 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15540 * BufferView.[Ch] (workarea): removed.
15541 (getClipboard) new method; wrapper for workarea()->getClipboard()
15543 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15546 * WorkArea.h (width, height, xpos, ypos): These methods all
15547 returned the dimensions of the work_area sub-area of WorkArea,
15548 resulting in a position error if the WorkArea were resized. Now
15549 return the dimensions of the entire WorkArea.
15551 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15553 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15555 * LaTeX.C (deplog): correct the syntax of regex reg1
15557 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15559 * undo.C: remove !NEW_INSETS cruft
15561 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15563 * text2.C: remove !NEW_INSETS cruft
15565 * text.C: remove !NEW_INSETS cruft
15567 * tabular.C: remove !NEW_INSETS cruft
15569 * spellchecker.C: remove !NEW_INSETS cruft
15571 * lyxtext.h: remove !NEW_INSETS cruft
15573 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15575 * lyxfunc.C: remove !NEW_INSETS cruft
15577 * lyxfind.C: remove !NEW_INSETS cruft
15579 * lyx_cb.C: remove !NEW_INSETS cruft
15581 * figureForm.C: remove !NEW_INSETS cruft
15583 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15585 * buffer.[Ch]: remove !NEW_INSETS cruft
15587 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15589 * CutAndPaste.C: remove !NEW_INSETS cruft
15591 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15593 * BufferView2.C: remove !NEW_INSETS cruft
15595 * BufferView.h: remove !NEW_INSETS cruft
15597 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15599 * Lsstream.h: include LString.h before the sstream headers to
15600 fix problem with gcc 2.95.3 and lyxstring
15602 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * lyx_main.C: add using directives when needed for C functions
15605 declared in std:: namespace.
15607 2001-04-27 Juergen Vigna <jug@sad.it>
15609 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15610 (SetHeightOfRow): comment out the update call should not be needed!
15612 2001-04-13 Juergen Vigna <jug@sad.it>
15614 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15615 (LyXTabular): tried to minimize operator= operations (and realized
15616 hopfully Lars wish).
15618 2001-04-27 Juergen Vigna <jug@sad.it>
15620 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15622 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15624 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15626 * buffer.C (readInset): hack to make listof algorithm work
15628 * BufferView_pimpl.C: hack to make listof algorithm work
15630 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * LyXAction.C: removed all !NEW_INSETS cruft
15633 (init): moved lfun_item in method
15635 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15637 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15639 * BufferView2.C (theLockingInset): white space.
15641 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15643 * minibuffer.C: include <iostream>
15645 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15647 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15649 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15651 * text.[Ch] (TransposeChars): new method
15653 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15655 * call message directly through LyXView instead of through LyXFunc
15656 * BufferView2.C: adjust
15657 * BufferView_pimpl.C: adjust
15658 * FontLoader.C: adjust
15660 * bufferview_funcs.C: adjust
15661 * converter.C: adjust
15662 * figureForm.C: adjust
15663 * importer.C: adjust
15665 * lyx_gui_misc.C: adjust
15666 * lyxfunc.C: adjust
15669 + more files in subdirs
15671 * lyxparagraph.h (size): move up int file
15674 * adjust all uses of Assert to lyx::Assert.
15676 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15677 lyxfunctional in namespace lyx
15678 * layout.C (hasLayout): ditto
15681 (delete_layout): ditto
15682 (NumberOfClass): ditto
15683 * converter.C (GetFormat): ditto
15688 * bufferlist.C (getFileNames): ditto
15689 (emergencyWriteAll): ditto
15692 * MenuBackend.C (hasSubmenu): ditto
15695 * BufferView_pimpl.C (getInsetByCode): ditto
15697 2001-04-18 Juergen Vigna <jug@sad.it>
15699 * vspace.C (asLatexString): fixed the 100% problem.
15701 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15703 * lyxfunc.C (Dispatch):
15705 * minibuffer.h: add a few std:: qualifiers
15707 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15709 * minibuffer.[Ch]: reimplement so that commands is initiated and
15710 run from lyxfunc, simplified som handling, and made the completion
15711 and history code for complete. wip.
15713 * lyxfunc.C (processKeySym): call message
15714 (miniDispatch): new temporary method
15715 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15716 (LFUN_MESSAGE): implement
15717 (LFUN_MESSAGE_PUSH): implement
15718 (LFUN_MESSAGE_POP): implement
15719 (initMiniBuffer): the initial/defualt minibuffer message.
15721 * lyxfont.[Ch]: inline some more getters
15723 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15725 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15727 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15728 (AutoSave): use LFUN_MESSAGE
15729 (Reconfigure): ditto
15731 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15733 * figureForm.C: use LFUN_MESSAGE
15735 * converter.C (runLaTeX): use LFUN_MESSAGE
15737 * bufferview_funcs.C: use LFUN_MESSAGE
15739 (changeDepth): ditto
15741 * bufferparams.h: use boost::
15743 * bufferlist.h: inherit privately from noncopyable
15745 * bufferlist.C (loadLyXFile): remove some commented code.
15747 * buffer.C (runChktex): use LFUN_MESSAGE
15749 * ShareContainer.h: inherit privately from noncopyable
15751 * ParagraphParameters.[hC] (depth): inline it.
15753 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15755 (message): new method
15756 (messagePush): ditto
15757 (messagePop): ditto
15758 (show): init minibuffer
15759 (showState): direct call
15761 * LaTeX.[Ch]: inherit privately from noncopyable
15762 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15763 instead of WriteStatus.
15765 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15767 * BufferView_pimpl.C (buffer): don't init minibuffer
15768 (workAreaButtonPress): use LFUN_MESSAGE
15769 (workAreaButtonRelease): ditto
15770 (savePosition): ditto
15771 (restorePosition): ditto
15772 (MenuInsertLyXFile): ditto
15773 (workAreaExpose): don't init minibuffer
15774 (update): remove commented code, simplify
15776 * BufferView2.C (openStuff): use LFUN_MESSAGE
15777 (toggleFloat): ditto
15780 (copyEnvironment): ditto
15781 (pasteEnvironment): ditto
15786 (updateInset): remove some commented code
15788 * lastfiles.h: inherit privately from noncopyable
15791 * lyx_main.h: ditto
15793 * lyxlex_pimpl.h: ditto
15795 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15796 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15797 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15799 * LyXAction.h: inherit privately from noncopyable, add methods
15800 func_begin, func_end, returning iterators to the func map.
15802 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15803 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15804 (func_begin): new method
15805 (func_end): new method
15807 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15809 (copySelection): ditto
15810 (pasteSelection): ditto
15812 * BufferView.C: whitespace change
15813 * BufferView.h: inherit privately from noncopyable
15815 2001-04-16 Allan Rae <rae@lyx.org>
15817 * tabular-old.C (l_getline):
15818 * spellchecker.C (sc_check_word):
15819 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15820 an unrecognised preprocessor directive. So ensure they're wrapped.
15822 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15824 * src/exporter.C (Export): Give an error message when path to file
15827 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15829 * LaTeX.C (deplog): Always check that foundfile exists.
15831 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15834 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15836 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15838 * tabular.[Ch] (getLabelList): implement new method
15840 * minibuffer.h: comment ouf setTiimer
15842 * minibuffer.C (ExecutingCB): constify res
15843 (peek_event): constify s
15844 (Set): constify ntext
15845 (Init): constify nicename
15847 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15849 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15850 (savePosition): use two params to Minibuffer::Set
15851 (restorePosition): ditto
15853 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15855 * lyx_main.C: include language.h
15857 * Makefile.am (lyx_main.o): add language.h
15859 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15865 * CutAndPaste.C: include gettext.h
15867 * lyxfont.h: remove old hack with ON and OFF.
15870 * lyxfont.h: do not include language.h...
15875 * bufferview_funcs.C:
15881 * paragraph.C: ... but do it here instead
15883 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15885 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15887 * tabular.C: small reformat
15889 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15892 (BreakParagraph): ditto
15893 (SetOnlyLayout): ditto
15896 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15899 * lastfiles.C: removed most using decl, add std:: where needed
15901 * buffer.C: ws changes
15903 * MenuBackend.C (class compare_format): put into anon namespace
15904 (expand): constify label, names, action, action2
15907 * text.C (SingleWidth): constify font
15908 (IsBoundary): constify rtl2
15909 (GetVisibleRow): constify ww
15911 * LaTeX.C (deplog): constify logfile
15913 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15915 (workAreaExpose): constify widthChange, heightChange
15917 * lyxrow.C (par): moved
15920 * lyxrow.h: as inlines here
15922 * lyxfont.h (shape): moved from lyxfont.C
15923 (emph): moved from lyxfont.C
15925 * lyxfont.C (LyXFont): use initialization list for all
15927 (shape): move to lyxfont.h as inline
15928 (emph): move to lyxfont.h as inline
15931 2001-04-04 Juergen Vigna <jug@sad.it>
15933 * vspace.C: had to include stdio.h for use of sscanf
15935 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15938 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15939 independent of xforms.
15941 2001-04-02 Juergen Vigna <jug@sad.it>
15943 * spellchecker.C: fixed namespace placing!
15945 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15947 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15948 the LyXParagraph * is 0.
15950 2001-03-29 Juergen Vigna <jug@sad.it>
15952 * vspace.C: added support for %, c%, p%, l%.
15953 (stringFromUnit): added helper function.
15954 (asLatexString): changed to give right results for the %-values.
15956 * buffer.C: convert the widthp in a width%.
15958 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15960 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15963 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15964 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15966 * lyx_cb.[Ch]: see above.
15968 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15972 * lyx.[Ch]: replaced by figure_form.[Ch].
15976 * lyxfunc.C: changed headers associated with above changes.
15978 2001-03-27 Juergen Vigna <jug@sad.it>
15980 * BufferView_pimpl.C: set the temporary cursor right!
15982 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15984 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15986 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15988 * LString.h: removed "using std::getline"!
15990 * BufferView_pimpl.C (Dispatch): changes due to changes in
15991 InsetInclude::Params.
15993 * buffer.C (tag_name): removed redundant break statements as they were
15994 producing lots of warnings with my compiler.
15996 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15998 * LString.h: add "using std::getline" when using the real <string>.
16000 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16002 * buffer.C: removed bitset usage.
16003 PAR_TAG moved to an anonymous name space.
16004 (tag_name): new funtion, also in the anonymous namespace.
16005 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16006 (makeDocBookFile): clean code. Completed transition from string arrays
16008 (SimpleDocBookOnePar): code clean.
16010 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16012 * tabular.C: add some comments.
16014 2001-03-22 Juergen Vigna <jug@sad.it>
16016 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16017 compatibility read a bit and fixed bug with minipage in different
16020 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16022 * buffer.C (pop_tag): removed.
16023 (push_tag): removed.
16024 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16025 array replaced with vector. Added support for CDATA sections.
16026 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16028 (makeDocBookFile): XML conformant declaration of CDATA section,
16029 fixed bug related to <emphasis> in the first paragraph char.
16030 (sgmlOpenTag): exclude empty tags.
16031 (sgmlCloseTag): ditto.
16033 * buffer.h (pop_tag): removed.
16034 (push_tag): removed.
16036 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16038 * language.h (Languages): added size_type and size().
16040 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16042 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16043 response on compability reading of minipages. One probliem is that
16044 the old usage of minipages was «flertydig»
16046 * several files here and in subdirs: don't use static at file
16047 scope use anon namespaces instead.
16049 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16051 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16052 LaTeX output. This is necessary for Literate document
16055 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16057 * buffer.C: insert hfill when needed.
16059 * tabular.C (l_getline): use string::erase, small whitespace change.
16061 * BufferView_pimpl.C: try the anon namespace.
16062 * WorkArea.C: ditto
16064 2001-03-16 Juergen Vigna <jug@sad.it>
16066 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16067 otherwise it won't open options-dialogs.
16069 * buffer.C: honor pextraWidth(p) on converting minipages.
16071 * tabular.C (l_getline): changed the functions to strip trailing \r.
16073 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16075 * BufferView_pimpl.C:
16076 * minibuffer..C: added "using SigC::slot" declaration.
16078 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16080 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16086 * paragraph.C: ditto
16088 * lyxtext.h: NO_PEXTRA
16090 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16092 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16093 * ParameterStruct.h: ditto
16094 * ParagraphParameters.h: ditto
16095 * lyxparagraph.h: ditto
16097 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16099 * buffer.C: add compability for minipage alignment.
16100 (latexParagraphs): remove unwanted pextra check.
16102 * several files: remove CXX_WORKING_NAMESPACES
16104 * buffer.C (pop_tag): tie is in namespace boost
16106 * BufferView.h: noncopyable is in namespace boost
16108 * lyx_main.h: ditto
16111 * lastfiles.h: ditto
16112 * bufferlist.h: ditto
16113 * ShareContainer.h: ditto
16115 * LyXAction.h: ditto
16118 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16120 * Merging changes from BRANCH_MVC back into HEAD.
16122 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16124 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16126 * BufferView_pimpl.C: change from intl.C
16130 * Makefile.am: move combox.*
16136 * intl.C: remove dialog (covered by prefs)
16138 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16140 * lyxfunc.C (Dispatch): removed redundant break statement.
16142 2001-03-14 Juergen Vigna <jug@sad.it>
16144 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16146 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16148 * buffer.C: add hack to fix compability reading of minipages.
16150 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16152 * buffer.C (getLists): Cleanup.
16154 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16156 * lyxfont.C (update): don't honor toggleall on font size.
16158 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16162 * Makefile.am: moved to frontends/xforms/
16166 * BufferView_pimpl.C: changes for moved mathpanel
16168 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16170 * gettext.h: fix gettext_init() in --disable-nls
16172 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16174 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16176 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16179 * lyx.h: strip external form
16181 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16183 * BufferView_pimpl.C: add comment, destroySplash()
16185 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16187 * BufferView_pimpl.C:
16191 * lyxfunc.C: use re-worked insetinclude
16193 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16195 * buffer.C: add using std::stringstream.
16197 * lyx_cb.C: readd using std::ios.
16199 * buffer.C: add using std::map.
16201 * BufferView_pimpl.C: add using std::vector.
16203 * ShareContainer.h: add std:: to swap.
16205 * buffer.h: add some typedefs
16206 * buffer.C (getLists): use them
16207 (getLists): renamed from getTocList.
16208 add a counter for the different float types and use it in the
16210 (getLists): use the same counter for the NEW_INSETS and the "non"
16213 * lyx_cb.h: remove unused items, includes, using etc.
16215 * ShareContainer.h: remove some commented code, add more comments
16216 and "documentation".
16218 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16220 * buffer.C (getTocList): make the list also when NEW_INSETS is
16223 * buffer.h: remove TocType
16225 * buffer.C (getTocList): change to return a map<string,
16226 vector<TocItem> >, implement for dynamic number of list.
16228 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16229 * text2.C (PasteSelection): adjust
16230 * CutAndPaste.C (pasteSelection): adjust
16232 * FloatList.C (FloatList): update from the new_insets branch.
16233 * Floating.[Ch]: ditto
16234 * LaTeXFeatures.C: ditto
16236 * lyxlex_pimpl.C: ditto
16238 * paragraph.C (Last): remove when NEW_INSETS is defined.
16240 * other file: changes because of the above.
16242 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16244 * lyxparagraph.h: rename next to next_, previous to previous_,
16245 make them private for NEW_INSETS. Rename Next() to next(),
16246 Previous() to previous().
16248 * other files: changes because of the above.
16250 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16253 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16256 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16258 * main.C (main): pass lyx_localedir to gettext_init().
16260 * gettext.h: remove locale_init and gettext_init macros
16262 * gettext.C (locale_init): new function
16263 (gettext_init): new function
16265 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16268 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16270 * Moved credits to frontends:
16271 * credits.[Ch]: removed
16272 * credits_form.[Ch]: removed
16273 * lyx_gui_misc.C: remove credits stuff
16276 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16278 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16280 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16281 unneeded destructor.
16283 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16284 a standalone pointer again.
16286 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16288 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16294 * ToolbarDefaults.C:
16303 * BufferView_pimpl.C: use new file dialog in GUII
16306 * lyx_cb.C: remove LayoutsCB to Toolbar
16308 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16310 * ShareContainer.h (get): add std:: qualifier
16312 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16314 * ShareContainer.h: define a proper ShareContainer::value_type
16315 type (and use typename to please compaq cxx)
16317 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16319 * lyxparagraph.h: move serveral local vars to
16320 ParameterStruct/ParagraphParameters., use ShareContainer in
16321 FontTable., make vars in FontTable private and add getter and
16324 * paragraph.C: changes because of the above.
16326 * lyxfont.h: remove copy constructor and copy assignment. (the
16327 default ones is ok), move number inside FontBits. move inlines to
16330 * lyxfont.C: add number to initializaton of statics, move several
16331 inlines here. constify several local vars. some whitespace
16332 cleanup. Dont hide outerscope variables.
16334 * Spacing.h: add two new constructors to match the set methods.
16336 * ShareContainer.h: new file, will perhaps be moved to support
16338 * ParameterStruct.h: new file
16340 * ParagraphParameters.h: new file
16342 * ParagraphParameters.C: new file
16344 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16345 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16347 * BufferView_pimpl.C: ParagraphParameter changes.
16348 * buffer.C: Likewise.
16349 * bufferview_funcs.C: Likewise.
16350 * text.C: Likewise.
16351 * text2.C: Likewise.
16353 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16355 * lyxfind.C (LyXReplace): do not redefine default argument in
16357 (IsStringInText): ditto
16358 (SearchForward): ditto
16359 (SearchBackward): ditto
16361 2001-03-06 Juergen Vigna <jug@sad.it>
16363 * lyxfind.C (IsStringInText): put parentes around expressions.
16365 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16367 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16369 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16371 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16373 * stl_string_fwd.h: add comment
16375 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16378 * tabular.C: remove unused DocBook methods
16384 killed DO_USE_DEFAULT_LANGUAGE
16386 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16388 * lyx_gui.C: do not include language.h.
16390 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16391 arguments in function implementation.
16393 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16395 * BufferView_pimpl.C: add <ctime>
16397 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16399 * BufferView_pimpl.C: add using std::find_if
16401 2001-02-27 José Matos <jamatos@fep.up.pt>
16403 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16406 2001-02-11 José Matos <jamatos@fep.up.pt>
16408 * buffer.C (makeDocBookFile): command styles now have a parameter as
16409 "title" by default.
16411 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16413 * layout_forms.[Ch]: removed
16414 * lyx_cb.[Ch]: out character
16415 * lyx_gui.C: out character
16416 * lyx_gui_misc.C: out character
16417 * bufferview_funcs.C: : out character,
16418 added toggleall as parameter in ToggleAndShow
16420 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16422 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16424 * text2.C (SetCurrentFont): Disable number property at boundary.
16426 2001-02-26 Juergen Vigna <jug@sad.it>
16428 * lyxfunc.C (getStatus): added a string argument override function so
16429 that this is correctly called from LyXFunc::Dispatch if it contains a
16430 do_not_use_argument which is used!
16431 (Dispatch): added check for "custom" export and call appropriate func.
16433 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16435 * lyxrc.C: Add language_command_local, language_use_babel and
16436 language_global_options.
16438 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16440 * buffer.C (makeLaTeXFile): Use language_use_babel and
16441 language_global_options.
16443 2001-02-23 Juergen Vigna <jug@sad.it>
16445 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16446 which works with LyXText and putted it inside BufferView. Here now we
16447 only call for that part the BufferView::Dispatch() function.
16449 * BufferView.C (Dispatch): added.
16451 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16452 functions which needs to use a LyXText over from LyXFunc.
16453 (MenuInsertLyXFile): added
16454 (getInsetByCode): added
16455 (moveCursorUpdate): added
16456 (static TEXT): added
16458 2001-02-22 Juergen Vigna <jug@sad.it>
16460 * BufferView_pimpl.C (update): call a status update to see if LyXText
16463 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16465 * vc-backend.C (revert): implement for CVS
16466 (getLog): implement for CVS
16468 2001-02-20 Juergen Vigna <jug@sad.it>
16470 * text2.C (ClearSelection): added BufferView param for inset_owner call
16472 * lyxfunc.C (TEXT): added this function and use it instead of
16473 directly owner->view()-text of getLyXText().
16475 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16477 * src/layout_forms.C: out preamble
16478 * src/layout_forms.h: out preamble
16479 * src/lyx_cb.C: out preamble
16480 * src/lyx_cb.h: out preamble
16481 * src/lyx_gui.C: out preamble
16482 * src/lyx_gui_misc.C: out preamble
16483 * src/lyxfunc.C: connect with guii preamble
16485 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16487 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16489 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16491 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16492 whether to run bibtex.
16494 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16496 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16498 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16500 * Makefile.am (lyx_SOURCES): removed bibforms.h
16502 * vspace.h: doxygen
16504 * text.C (GetVisibleRow): make several local vars const
16506 * tabular.C: small cleanup.
16508 * lyxserver.C (callback): use compare instead of strncmp
16510 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16511 inlines to after class or to paragraph.C
16513 * lyxfont.h: remove friend operator!=
16515 * converter.h: move friend bool operator< to non friend and after
16518 * combox.h: small cleanup
16520 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16521 to inlines after class def.
16523 * buffer.C (pop_tag): use string operations instead of strcmp
16525 * bmtable.c: doxygen, small cleanup
16527 * LaTeX.h: remove friend operator==
16529 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16541 * BufferView_pimpl.C:
16542 * BufferView.[Ch]: remove cruft
16544 2001-02-14 Juergen Vigna <jug@sad.it>
16546 * lyxfunc.C: removed #if 0 unused code
16548 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16550 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16552 * text2.C (SetSelection): added a BufferView * parameter
16554 2001-02-13 Juergen Vigna <jug@sad.it>
16556 * lyxfunc.C (Dispatch): fixed protected blank problem.
16557 * BufferView2.C (protectedBlank): added LyxText * parameter.
16559 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16560 (AppendColumn): same as above for column_info.
16562 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16563 (moveCursorUpdate): use a LyXText param for support of InsetText.
16565 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16566 (tripleClick): ditto
16568 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16570 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16572 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16574 * text2.C (SetSelection): set correct update status if inset_owner
16575 (ToggleFree): ditto
16577 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16579 * tabular.C: remove some commented code.
16581 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16583 * BufferView_pimpl.C: call hideSplash()
16585 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16588 * bibforms.h: remove
16591 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16592 add LFUN_CHILD_CREATE
16594 * counters.h: fix tiny typo
16599 * lyx.C: move splash to frontends/xforms/
16601 * lyx_gui_misc.C: move Include and Bibform to frontends
16603 * lyxvc.h: clarify comment
16605 * vspace.C: tiny housekeeping
16607 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16609 * text.C (PrepareToPrint): RTL Fix.
16611 * paragraph.C (GetUChar): New method.
16612 (String): Use GetUChar.
16614 * buffer.C (asciiParagraph): Use GetUChar.
16616 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16618 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16620 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16623 * buffer.C: rename to getLogName(), handle
16624 build log / latex log nicely
16626 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16629 * MenuBackend.h: remove support for reference menuitem type.
16631 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16633 * BufferView_pimpl.C: housekeeping
16634 * BufferView_pimpl.h:
16639 * minibuffer.h: move Timeout GUI-I
16641 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16643 * lyxrc.C (read): Update converters data-structures.
16645 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16647 * LaTeX.h (operator!=): add operator != for Aux_Info
16649 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16651 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16653 * LaTeXLog.C: deleted, useful code moved to Buffer
16656 * buffer.C: new function getLatexLogName()
16662 * lyxfunc.C: use frontends for LaTeX and VC logs
16664 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16666 * LaTeX.h: yet another std:: that Allan forgot.
16668 * Variables.C (set): renamed from isset(), because this clashes
16669 with some HP-UX macros (grr).
16671 2001-02-06 Allan Rae <rae@lyx.org>
16673 * LaTeX.h: Another bug fix. Missing std:: this time.
16675 2001-02-04 Allan Rae <rae@lyx.org>
16677 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16678 floats problem. I've left it commented out because it's not quite
16679 correct. It should also test that the current object is a table or
16680 figure inset. But I haven't gotten around to figuring out how to do
16681 that. I *think* it'll be something like: "table" == inset.type()
16683 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16686 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16688 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16689 all the citation/databases/styles in the auxilary file.
16690 (run): Rerun latex if there was a babel language error.
16692 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16694 * text.C (Backspace): Preserve the font when changing newline char
16696 (BreakParagraph): If the cursor is before a space, delete the space.
16698 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16700 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16702 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16703 new argument (code).
16704 (ChangeCitationsIfUnique): New method.
16706 * paragraph.C (GetPositionOfInset): Handle bibkey.
16708 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16710 * BufferView_pimpl.h: change type of Position::par_pos to
16711 LyXParagraph::size_type.
16713 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16715 * BufferView_pimpl.C (savePosition, restorePosition): Write
16716 messages to minibuffer.
16718 2001-01-28 José Matos <jamatos@fep.up.pt>
16720 * buffer.C (makeDocBookFile): adds support for document language.
16721 A silly restriction on the name of LatexCommand types where removed.
16722 Added support for CDATA sections, allows to chars unescaped, used
16723 among others in code, to avoid escape < and >.
16725 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16727 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16728 saved positions instrad of a stack. Furthermore, a position is
16729 stored using paragraph id/paragraph position.
16731 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16732 Remove LFUN_REF_BACK.
16734 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16736 * converter.C (dvipdfm_options): New method.
16738 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16740 * vspace.C (isValidLength): Fix for empty input string.
16742 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16744 * LyXAction.C (init): change description of LFUN_FIGURE to
16747 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16749 * LaTeX.C: add using directive
16751 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16753 * MenuBackend.C (expand): Fix the sorting of the formats.
16755 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16757 * lyx_main.C: tiny error message fix
16759 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16761 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16762 calling fl_initialize(). This fixes the problem with ',' as
16763 decimal separator in text files.
16765 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16767 * trans.C (process): Fix the keymap bug.
16769 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16771 * LaTeX.C (scanAuxFiles): New method. Provides support for
16772 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16773 (scanLogFile) Scan for "run BibTeX" messages.
16775 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16776 OT1 font encoding. Also, load the aecompl package if the ae
16779 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16781 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * texrow.C (increasePos): turn two error messages into debug
16786 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16788 * LaTeX.C (scanAux): Handle the \@input macro.
16789 (runBibTeX): Use scanAux().
16791 * language.C (latex_options_): New field.
16793 * LaTeXFeatures.C (getMacros): Add language macros.
16795 * buffer.C (makeLaTeXFile): Small fix.
16797 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16799 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16801 * text2.C: add a using directive.
16803 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16808 * lyxfunc.C: kill LyXBell.
16810 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16812 * text.C (IsBoundary): Remove the error message
16814 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16816 * lyxrc.C (setDefaults): Correct initialization value for
16819 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16821 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16824 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16825 and GotoNextNote().
16827 * src/LyXAction.C: Added reference-next.
16829 * text.C (InsertChar): Use contains instead of strchr.
16831 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16833 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16835 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16836 alignment commands (when needed).
16838 * text.C (InsertChar): Add ':' to number separator chars.