1 2005-01-10 Angus Leeming <leeming@lyx.org>
3 * Makefile.am: remove the lyx_main.C special casing.
11 * messages.C: use support/package.h to provide the paths to the
12 various directories used by LyX.
14 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
17 layout if pasting into an empty paragraph)
19 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
21 * tex-accent.C: add <string>
23 2005-01-06 José Matos <jamatos@lyx.org>
25 * ParagraphParameters.C (write): put every parameter in its own line.
26 * paragraph.C (write): reduce number of consecutive empty lines exported.
27 * buffer.C (LYX_FORMAT): increase file format to 239.
29 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
31 * everywhere: change support/tostr.h -> support/convert.h
33 * tabular.C: make all write_attributes templates, tostr -> convert
35 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
36 (emptyTag): and -> &&, and fix type for ret from getChar
37 (getFirstWord): fix type for ret from getChar
39 (simpleDocBookOnePar): and not -> && !, fix type for ret from
42 * toc.C (goTo, action):
44 * text.C (currentState):
45 * tex-accent.C (DoAccent):
48 * lyxfunc.C (menuNew):
49 * lyxfinc.C (replace):
50 * counters.C (laberItem):
51 * bufferview_funcs.C (font2string):
52 * bufferparams.C (writeFile):
53 * buffer.C (readFile):
55 * MenuBackend.C: tostr -> convert
57 * LaTeX.C (runMessage): fix format
58 (scanAuxFiles): tostr -> convert
60 * BufferView_pimpl.C (savePosition): fix format
61 (restorePosition): ditto
64 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * Spacing.[Ch]: New method getValueAsString().
70 * ParagraphParameters.C:
73 * text3.C: store/read spacing value as string.
75 * rowpainter.C: change float value (spacing_val) to double.
77 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
78 broken custom document spacing).
80 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
82 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
83 namespace, also more use of temp references and const
85 * cursor.[Ch] (getStatus): move to lyxfunc.C
87 * bufferparams.C: reformat slightly
89 * bufferview_funcs.C (font2string): constify arg
95 * buffer_funcs.C: (many funcs): constify arg on function
96 definitions, also make more local vars const, also add ASSERTS on
99 * buffer.C (LYX_FORMAT): put const in correct place
100 (many funcs): constify arg on function definitions, also make
101 more local vars const
103 * aspell_local.h: remove "struct" from typdef setup
105 * aspell.C (check): make word_ok const
106 (nextMiss): simplify slightly
109 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * lyxrc.[Ch]: store all float values as strings.
112 use int (not float) for lyxrc.dpi.
114 2005-01-04 Angus Leeming <leeming@lyx.org>
116 * lyx_cb.C (Reconfigure):
117 * lyx_main.C (queryUserLyXDir):
118 to run the <system_lyxdir>/configure correctly on Windows, prefix
119 the path to the script with "sh " when generating the string that
120 is passed to system().
122 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
124 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
126 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * lyxlength.C (asLatexString): get rid of setprecision
130 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
132 * text2.C (setLayout): remove unused variable endpit.
133 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
135 * paragraph.C (onlyText): remove unused variable style.
137 * cursor.C (bruteFind): remove unused variables beg and end.
139 * Makefile.am (dist_noinset_DATA): not needed anymore
141 * cheaders/*: remove.
143 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
145 * text3.C: fix LFUN_MATH_MODE.
147 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * buffer_funcs.C (countWords): new function. Counts words between
152 * BufferView_pimpl.C (getStatus, dispatch): handle
155 * LyXAction.C (init):
156 * lfuns.h: add LFUN_WORDS_COUNT.
158 2004-12-19 Angus Leeming <leeming@lyx.org>
160 * buffer.C (save): s/slashify_path/internal_path/.
162 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
164 * lyxfind.C (findChange): do not search for end of pars, because
165 the change tracker cannot handle this (fixes bug 1719).
167 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
169 * paragraph.[Ch] (autoBreakRows): remove
171 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
173 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
174 avoid using the paragraph one
176 * text2.C (LyXText, insertStringAsLines): adjust
178 2004-12-16 Angus Leeming <leeming@lyx.org>
182 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
184 2004-12-14 Angus Leeming <leeming@lyx.org>
186 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
188 * bufferlist.C (emergencyWrite):
189 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
192 2004-12-14 Angus Leeming <leeming@lyx.org>
194 * main.C: (main): no longer pass pointers to os::init.
196 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
198 * undo.C (textUndoOrRedo): simplify logic, fix a crash
199 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
201 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
204 * text3.C: remove selection_possible global flag
206 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
208 * text2.C (getSelectionSpan): remove
209 (changeDepth, changeDepthAllowed): adjust
211 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
213 * Makefile.am (BOOST_LIBS): use boost variables
215 2004-12-03 José Matos <jamatos@lyx.org>
217 * buffer.C: format up to 238.
219 2004-12-03 José Matos <jamatos@lyx.org>
221 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
223 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * cursor.C (goUpDown): remove call to idxUpDown2
227 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
229 * tabular.[Ch]: use size_t-like types for cell, row and column
232 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * lyxfunc.C (getStatus): do not lose previous information when
235 calling BufferView::getStatus; do not set a default "Command
236 disabled" message at the beginning, but just before returning.
238 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
240 * cursor.h (getStatus): add better comment from src/cursor.C
242 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
244 * text3.C (getStatus): return false when the lfun is not handled
246 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * broken_headers.h: remove
250 * Makefile.am (lyx_SOURCES): remove broken_headers.h
252 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
254 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
257 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
258 top_y_, merge fitcursor with update
259 (updateScrollbar, scrollDocView, fitCursor, center, update): new
262 (workAreaDispatch): adapt to new coord scheme
263 (redoCurrentBuffer): remove
265 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
267 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
270 * coordcache.[Ch]: add paragraph cache and helpers
272 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
275 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
276 (targetX, setTargetX): introduce
278 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
279 baseline -> ascent, as the rest of lyx
281 * lyxtext.h: remove redoParagraphs, updateParPositions,
282 fullRebreak, redoParagraphInternal. move dist to anon namespace in
283 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
284 have ascent/descent (ascent is ascent of first par)
286 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
289 * paragraph.[Ch]: unify dimension handling with the rest of lyx
291 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
293 * pariterator.C: fix infinite loop introduced in par->pit renaming
295 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
296 in insets and LyXText, draw two off-screen paragraphs using
297 NullPainter, and adapt to new coord scheme
301 * text3.C: adapt lfun handlers to the new coord scheme, which
302 means: there's only guaranteed coord information for onscreen pars
303 plus one above and one below. This implies that one can do search
304 from y coordinates in the range [-1,workHeight]
306 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
308 * rename a lot of InsetOld to InsetBase
310 2004-11-25 Angus Leeming <leeming@lyx.org>
312 * BufferView_pimpl.C:
314 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
316 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
318 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
319 call BufferView::getStatus if LCursor::getStatus did nothing
320 (setStatusMessage, getStatusMessage): removed.
322 * FuncStatus.C (message): new methods. Used to provide an error
323 message indicating why a command is disabled.
324 (clear, |=, FuncStatus): update for message.
326 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
328 * lyxfunc.C (dispatch): always call sendDispatchMessage
330 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
333 * BufferView_pimpl.C:
347 * undo.C: par->pit renaming
349 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
351 * tabular.C (cellstruct): use initialization, store a shared_ptr
352 to insettext instead of the insettext directly, adjust to fit.
353 (operator=): new function
355 (rowstruct): use initialization
356 (columnstruct): use initialization
357 (ltType): use initialization
360 * lyxlength.h (swap): new function
362 * LColor.[Ch] (operator=): use the common semantics
364 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * lyxfind.C (findNextChange): update the bufferview after setting
369 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
371 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
372 number of InsetOptArgs has already been inserted.
374 * output_latex.C (latexOptArgInsets): new method. This outputs all
375 the optarg insets, up to the limit defined in the layout file.
376 (optArgInset): removed
377 (TeXOnePar): call latexOptArgInsets; correctly update texrow
379 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
381 * paragraph.C (isLetter): remove special spellchecker-related
382 code; return true also for digits
383 (isWord, isKomma): remove
385 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
386 * lyxfind.C (MatchString()): use isLetter instead of isWord
388 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
390 * pariterator.h (operatir=): comment out un-implemented member
393 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
396 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
398 * lyxfont.h: include LColor.h to satisfy concept checks.
400 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * pariterator.h: add typdefs for value_type, difference_type,
403 pointer and reference to satisfy concept checks. Also add default
404 constructor for same reason.
406 * pariterator.C (operator++): add post-increment operator to
407 satisfy concept checks.
409 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
412 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
414 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
415 checks. Also rename base_type to BaseType to follow naming
418 * FloatList.h: include Floating.h to satisfy concept checks.
420 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
422 * lyxfunc.C (getStatus): when the origin of the request is menu or
423 toolbar, and the LyXView does not have focus, do as if there was
426 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
427 FuncRequest to individual entries of LFUN_SEQUENCE
429 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * output_latex.C (TeXOnePar): override runparams.moving_arg
432 according to the needprotect value of the current paragraph (bug
435 * paragraph.C (simpleTeXOnePar): no need to override
436 runparams.moving_args here
438 2004-11-14 John Spray <spray_john@users.sourceforge.net>
440 * vspace.C: fix off-by-one-error, related to fix #1682
442 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
444 * lengthcommon.C: a more general fix for bug 1682
446 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
448 * text.C (backspace): fix crash
450 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
452 * format.[Ch] (getFormatFromFile): new method
453 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
455 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
459 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
461 * lyxfunc.C (dispatch): remove the verbose argument
462 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
465 * kbmap.C (defkey): set the origin of func to KEYBOARD
467 * MenuBackend.C (MenuItem):
468 * ToolbarBackend.C (add): set the origin of func to UI
470 * funcrequest.[Ch]: add origin member, which indicates which part
471 of LyX requests an action
473 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
475 * converter.C (move): don't lie in the error message
476 * converter.h (isReachable, move): document
478 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
480 * buffer.C: remove unused using lyx::support::atoi
481 * paragraph_funcs.C: ditto
483 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
485 * bufferlist.C (exists): use bind and equal_to instead of
488 * lyxtextclasslist.C (NumberOfClass): ditto
490 * cursor.C (insert): use for_each instead of explicit for loop
492 * bufferlist.C (getFileNames): use std::transform and
493 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
495 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
498 * buffer.C (changeLanguage): use for_each instead of explicit for
500 (hasParWithID): implement using getParFromID
502 * LaTeXFeatures.C: ws change only
504 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
507 * BufferView_pimpl.C (trackChanges): use for_each instead of
510 2004-11-04 André Pönitz <poenitz@gmx.net>
513 * undo.C (textUndoOrRedo): fix crash when creating undo information.
515 * dociterator.C (asDocIterator): use hard assert again.
517 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * lyxlength.C (asLatexString): rewrite so that it does not use
522 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * text3.C (specialChar, dispatch): make sure cursor moves to the
525 right after inserting an inset
527 2004-11-02 José Matos <jamatos@lyx.org>
529 * output_docbook.C (docbook):
530 * paragraph.C (getID):
531 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
532 garantee that the output is always legal.
534 * tabular.C (docbook):
535 * outputprams.[Ch]: remove mixed contents.
537 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
539 * text2.C (setCounter): prevent endless loop
541 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
543 * exporter.C (copyFile): use the mover instead of support::copy()
544 * exporter.C (Export): pass format and latex name to copyFile()
545 * exporter.h (addExternalFile): document
546 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
548 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
550 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
552 2004-10-30 José Matos <jamatos@lyx.org>
554 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
555 text and no inset or font change. This allows to use CDATA
556 sections just for the whole paragraph.
558 2004-10-30 José Matos <jamatos@lyx.org>
560 * paragraph.C (getFirstWord): remove unused variable.
562 2004-10-30 José Matos <jamatos@lyx.org>
564 * paragraph.C (getFirstWord): the content should always be escaped
566 (simpleDocBookOnePar):
567 * output_docbook.C (makeEnvironment): replace reference to CDATA
570 2004-10-30 José Matos <jamatos@lyx.org>
572 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
574 2004-10-30 José Matos <jamatos@lyx.org>
576 * output_docbook.C (makeParagraphs):
577 * paragraph.[Ch] (emptyTag): for docbook and company, if the
578 standard paragraph has only a given type of content drop the wrapper.
580 2004-10-29 José Matos <jamatos@lyx.org>
582 * output_docbook.C (makeEnvironment):
584 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
586 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
588 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
589 (cleanID): sanitize any id.
591 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
593 * buffer.C, lyxlex_pimpl.C:
594 * lyxlex_pimpl.C (setFile):
595 s/getExtFromContents/getFormatFromContents/
597 2004-10-28 José Matos <jamatos@lyx.org>
599 * output_docbook.C (makeEnvironment): move id to broadest possible
602 * sgml.C (openTag): apply substitution of <> for all attributes.
604 2004-10-28 José Matos <jamatos@lyx.org>
606 * buffer.C (makeLinuxDocFile, makeDocBookFile):
607 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
608 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
610 * sgml.[Ch]: new version for open and closeTag for paragraph and
611 for strings. Now they handle the ids of paragraphs.
613 2004-10-26 Angus Leeming <leeming@lyx.org>
615 * Makefile.am: add mover.[Ch].
617 * converter.C (convert, move): use the new Movers to move external
618 files to the temp directory.
620 * lyx_main.C (init): ensure that the global system_movers data
623 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
626 * mover.[Ch]: new files, defining a Mover as a utility to move an
627 external file between directories and, if necessary, manipulate this
628 file using a helper script.
630 2004-10-25 José Matos <jamatos@lyx.org>
632 * output_docbook.C (makeCommand): merge two if's that tested the
635 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * sgml.C (escapeString): fix warning in a better way
639 2004-10-25 José Matos <jamatos@lyx.org>
641 * sgml.C (escapeString): import the require boosts header file for
642 tie, and avoid a signed unsigned comparison.
644 2004-10-25 José Matos <jamatos@lyx.org>
646 * sgml.h: add #include <string>
648 2004-10-25 José Matos <jamatos@lyx.org>
650 * sgml.[Ch] (escapeString): new function to escape all the string.
652 2004-10-24 José Matos <jamatos@lyx.org>
654 * paragraph.[Ch] (getFirstWord): new function to get the first
655 word. Useful for description.
656 (simpleDocBookOnePar): remove depth argument, add another that
657 says where to start the paragraph.
659 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
660 use the new functions to fix cleanly the support for descriptions.
662 2004-10-24 José Matos <jamatos@lyx.org>
664 * buffer.C (makeLinuxDocFile, makeDocBookFile):
665 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
666 * output_linuxdoc.C (linuxdocParagraphs):
667 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
668 add buffer as argument.
670 2004-10-24 José Matos <jamatos@lyx.org>
672 * output_docbook.C (makeEnvironment, searchEnvironment): place
673 CDATA inside paragraphs and fix scope for listitems.
675 2004-10-24 José Matos <jamatos@lyx.org>
677 * output_docbook.C: remove using statement for stack.
679 2004-10-23 José Matos <jamatos@lyx.org>
681 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
682 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
683 docbook. The new scheme is recursive and makes use of iterators, the
684 same as latex export works.
685 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
686 directly with the paragraph contents. This code was moved up to
687 output_docbook.C (docbookParagraphs).
688 * sgml.C (openTag, closeTag): removed unneeded newlines.
689 (closeEnvTags) removed.
691 2004-10-23 André Pönitz <poenitz@gmx.net>
693 * undo.C (textUndoOrRedo):
694 * dociterator.C (asDocIterator): work around crash
696 * cursor.C (getStatus): replace ASSERT by more verbose error message
697 and manual correction of the problem. Should increase stability
698 while providing more sensible information.
700 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
702 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
704 * bufferlist.C (previous, next): new methods
707 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
709 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
711 * buffer.C (makeDocBookFile): add dsssl stylesheet control
712 entities to preamble.
714 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
716 * messages.C (Pimpl): strip off translation context information
718 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
721 the cursor is correct (bug 1694)
723 2004-10-13 José Matos <jamatos@lyx.org>
725 * output_docbook.C (docbookParagraphs): fix closing tags in the
728 2004-10-09 José Matos <jamatos@lyx.org>
730 * buffer.C: format up to 237.
731 * bufferparams.C (write): use tostr to convert booleans to strings.
733 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
735 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
737 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
739 * LaTeX.C: implement use of babel language in xindy.
741 2004-10-05 José Matos <jamatos@lyx.org>
743 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
744 Add new translators to help reading and writing the lyx file.
746 2004-10-05 José Matos <jamatos@lyx.org>
748 * ParagraphParameters.C (read):
749 * text.C (readParToken): replace nexToken by more appropriate lex
752 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
754 * LaTeX.C (runMakeIndex):
755 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
756 (usually 'makeindex') configurable.
758 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
759 with a variable rather than with a number.
761 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * output_latex.C (TeXOnePar): make sure font setting is the first
764 thing that gets output (and the last at the end). Should fix bug
767 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
769 * pch.h: use proper signal include
771 * LaTeX.h: Use preferred calling of Boost.Signal
774 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
776 * pch.h: dont include <boost/function/function0.hpp>
778 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
780 * paragraph_pimpl.h: remove usage of ShareContainer
782 * paragraph_pimpl.C: remove initialization of ShareContainer.
784 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
788 * BufferView.C (putSelectionAt): change the semantics when
789 backwards == true: now, this just swaps cursor and anchor wrt the
792 * BufferView.h (putSelectionAt): add some documentation
794 * lyxfind.C (findBackwards): rewrite using while(). In particular,
795 make sure backwardChar is done at least once (to avoid getting
797 (findNextChange): use putSelectionAt in the forward direction
798 (operator()): use Paragraph::isWord
800 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
802 * Spacing.C (set): c_str fix
804 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * lyx_cb.C (Reconfigure): quote the name of configure script in
807 case it contains spaces
809 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
813 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
814 (BOOST_LIBS): use top_buildir when looking for the file
816 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
818 * pch.h: do not use include boost/format.hpp, multiple symbols
819 will result (gcc bug)
822 2004-08-23 José Matos <jamatos@lyx.org>
824 * bufferparams.C (readToken): fix reading of the author field.
826 2004-08-20 José Matos <jamatos@lyx.org>
828 * lyxrc.C: remove support/translator.h inclusion since it is not used.
830 2004-08-20 José Matos <jamatos@lyx.org>
832 * lyxlex.[Ch] (findToken): remove function.
834 * ParagraphParameters.C (findToken):
835 * bufferparams.C (findToken): replace call for previous function
836 with local copy. This local function has one more argument, the
837 read string argument.
839 2004-08-16 José Matos <jamatos@lyx.org>
841 * ParagraphParameters.C (write):
842 * Spacing.C (writeFile):
843 * bufferparams.C (writeLaTeX):
844 * lyx_cb.C (Reconfigure):
845 * paragraph.C (write):
846 * tabular.C (write): remove unnecessary space at end of line.
849 2004-08-16 José Matos <jamatos@lyx.org>
851 * text.C (readParagraph): remove debug message.
853 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
858 * output_plaintext.C (asciiParagraph): set depth correctly
860 * outputparams.h: add member depth
862 * paragraph_funcs.C (ownerPar): remove.
864 * text2.C (setCounter): remove first_pit; comment out some
865 non-working code that uses ownerPar
867 * BufferView.C (getParentLanguage): remove. Not used anymore, and
870 2004-08-16 José Matos <jamatos@lyx.org>
872 * text.C (readParToken, readParagraph, read): report all unknown tokens.
873 For the same level of importance use the same chanel to report problems.
874 (read): add code to deal with \begin_body and \end_body.
877 2004-08-15 José Matos <jamatos@lyx.org>
879 * lyxlex.C (getString): fix comment, buffer::readBody is now
882 * tex-strings.C (string_papersize): Default -> default,
883 Custom -> custom, for consistency with other options.
885 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
889 * Makefile.am: support pch
891 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
893 * text.C (readParToken): remove the static LyXFont variable and
894 pass it as a parameter instead. This fixes a nasty bug where an
895 inset will be inserted with a bad font in some situations
896 (readParagraph): adapt
898 * text2.C (setCounter): reduce number of calls to pars_[pit]
900 * text.C (singleWidth): add an assert, fix a test
902 * rowpainter.C (paintText): reduce number of calls to singleWidth
904 * paragraph.C (isHfill):
907 2004-08-14 André Pönitz <poenitz@gmx.net>
912 * lyxtext.h (several functions): use a Paragraph & argument
915 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * metricsinfo.h: add a new field ltr_pos to PainterInfo
919 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
921 * text.C (singleWidth): remove useless test
923 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
925 * tabular.h: remove bogus comments
927 * tabular.C (getDescentOfRow):
928 (isPartOfMultiColumn): add assertions
930 * lyxlength.C (inPixels): remove #warning
932 2004-08-14 André Pönitz <poenitz@gmx.net>
934 * paragraph.h: inline getChar()
936 * BufferView.h: remove unused declarations
938 2004-08-14 José Matos <jamatos@lyx.org>
940 * Buffer.[Ch] (readDocument): new name for old readBody.
941 * Buffer.C: new file format, new keywords: \begin_document,
942 \begin_header, \begin_body, \end_body.
944 * bufferparams.C (readToken): replace all calls to lex.nextToken
945 by lex.next(). Do the same to eatLine except where really needed.
947 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
948 line when writing to the lyx file.
950 * output_plaintext.C (asciiParagraph): fix Bibliography style
953 * text.C (read): fix end of file handling.
955 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * MenuBackend.C (Menu::operator[]): new method to access
958 individual menu items
959 (Menu::hasFunc): new method. search for an item that corresponds
961 (MenuBackend::specialMenu): new method
962 (MenuBackend::expand): if a special menu has been set, skip
963 entries whose func() appears in this menu
965 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
967 * text3.C: use Debug::DEBUG a bit more
969 * text.C (leftMargin): try to simplify a tiny bit change var x to
970 l_margin. Dont output the wide margins always.
971 (rightMargin): no margin in inner texts
973 * rowpainter.h (nestMargin): new func
974 (changebarMargin): new func
975 (rightMargin): new func
977 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
981 * factory.C (createInset): modify setDrawFrame
983 * cursor.C: use Debug::DEBUG a bit more
985 2004-08-14 André Pönitz <poenitz@gmx.net>
988 * Makefile.am: new files to accomodate an 'external' (x,y)-position
989 cache for all insets in (at least partially) visible (top-level)
992 * BufferView_pimpl.C: reset external coord cache before every update.
993 This means the coord cache only contains valid entries.
995 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
998 * BufferView_pimpl.C (getInsetByCode): move function out of class
999 and change in to a template in anon namespace. Also fix to do what
1002 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1005 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1007 (breakParagraph): rename par to par_offset and use a local
1008 reference. Add code to keep the language over a rebreak.
1009 (breakParagraphConservative): rename par to par_offset, use a
1011 (mergeParagraph): ditto
1013 (isFirstInSequence): ditto
1014 (outerFont): rename pit to par_offset
1016 * paragraph.C: ws change
1017 * paragraph.h: ditto
1021 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1026 * paragraph.C (simpleTeXOnePar): when we have a \item with
1027 optional argument, enclose the argument with curly brackets (in
1028 case it contains a closing square bracket)
1032 * text3.C (checkInsetHit): constify
1034 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1036 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1037 documents (bug 1629)
1039 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1041 Fix toggling of collapsable insets with the mouse (bug 1558)
1043 * lyxfunc.C (dispatch): adapt to LCursor changes
1045 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1046 make sure that dispatch is not invoked twice
1048 * cursor.C (needsUpdate): new method
1049 (dispatch): return void
1050 (result): new method, to access the DispatchResult of the cursor.
1052 2004-08-13 José Matos <jamatos@lyx.org>
1054 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1056 2004-08-13 André Pönitz <poenitz@gmx.net>
1058 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1060 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1063 2004-08-12 André Pönitz <poenitz@gmx.net>
1065 * text3.C: take out the 'cursor right' form insertInset and only
1066 do it in those places when it is really needed. Fixes crash on
1069 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1071 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1073 * BufferView_pimpl.C (setBuffer): initialize the current font of
1074 the underlying LyXText
1076 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * kbsequence.C (print): use UI native formatting for menu
1081 * text.C (insertChar): call Paragraph::insertChar with a font
1084 * paragraph.C (insertInset, insertChar): the version that takes a
1085 LyXFont argument is now a wrapper around the other one (the
1086 opposite used to be true).
1088 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1089 argument. Font setting is done in Paragraph now.
1091 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * outputparams.h: add new members intitle and lang.
1095 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1096 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1098 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1100 * text3.C (dispatch): remove special handling of button 4 and 5,
1101 it is now taken care of in the frontend code.
1103 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1105 * Spacing.h: add <string> (STLPort compile fix)
1107 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1109 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1111 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1113 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1116 * converter.C (showMessage): inherit from unary_function, make
1119 * buffer.C (writeFile): initialize retval
1121 * InsetList.h: rename private variable list to list_
1122 * InsetList.[Ch]: adjust accordingly.
1124 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1126 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1127 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1128 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1129 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1130 * ParagraphParameters.C, LaTeXFeatures.C: replace
1131 "support/std_sstream.h" with <sstream>
1133 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1135 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1136 * lyxsocket.C (LyXServerSocket): ditto
1137 (serverCallback): ditto
1139 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1141 * LaTeXFeatures.C: check release date when loading jurabib.
1143 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1145 * lyxserver.C (startPipe): call register_socket_callback
1146 (endPipe): call unregister_socket_callback
1148 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1150 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1151 (LyXServerSocket): register the callback
1152 (LyXServerSocket): unregister the callback
1153 (fd): delete function
1154 (serverCallback): improve error checking and setup the callbacks.
1155 (dataCallback): change arg to fd.
1156 (writeln): new func (copied fro the client socket) used for server
1158 (LyXDataSocket): simplify
1159 (~LyXDataSocket): close ann unregiser callback
1160 (server): delete function
1161 (fd): delete function
1162 (readln): small changes, improve some std::string usage
1163 (writeln): constify a bit
1165 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1167 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1170 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1172 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1173 after it has been populated
1175 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * text2.C (insertInset): move cursor when inserting inset.
1179 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * kbmap.C (findbindings): a couple of new methods. returns a
1182 container of kb_sequence objects. The real work is done by the
1183 private recursive version
1184 (printbindings): uses findbindings to print out a bracketed list
1185 of bindings (renamed from findbinding).
1187 * MenuBackend.C (binding): use kb_keymap::findbindings
1189 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1191 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1193 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1195 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1197 * paragraph.C (isWord): return true on insets that report
1200 * text.C (getWord): use Paragraph::isWord to decide what is in a
1201 word and what is not; fix bug 1609.
1203 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1205 * tex-strings.C: add "none" to string_paperpackages[], fixes
1206 off-by-one-error in the paperpackage selection.
1209 * tex-strings.[Ch]: char const * string[n]
1210 -> char const * const string[]
1212 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1214 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1215 command, return early.
1217 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1219 * debug.h: add DEBUG to enum and fix size of ANY.
1221 * debug.C: add support for Debug::DEBUG
1222 (showTags): cast errorTags.level to unsigned int
1224 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1225 (redoCurrentBuffer): ditto
1226 (updateScrollbar): ditto
1227 * cursor.C (dispatch): ditto
1228 * text2.C (setLayout): ditto
1230 (updateCounters): ditto
1232 (deleteEmptyParagraphMechanism): ditto
1234 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1236 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1237 annotations to cleanup the Makefile slightly.
1239 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * lyxrc.C: do not set user_email to a default value but use empty
1242 instead. The entry used to be translated, which does not work
1243 since at the point where lyxrc is constructed there is no
1244 translation service available
1246 * messages.C (getLocaleDir): remove and use directly
1247 lyx_localedir() instead
1249 2004-06-02 Angus Leeming <leeming@lyx.org>
1251 Fix crash caused by dereferencing null pointer 'exportdata' in
1252 OutputParams by creating a new ExportData variable on the heap,
1253 storing it in a boost::shared_ptr.
1254 The crash was triggered when generating an Instant Preview
1255 of an external inset.
1257 * Makefile.am: add outputparams.C
1259 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1260 (c-tor): allocate memory to it.
1262 * exporter.C (c-tor): associated changes.
1264 2004-06-01 Angus Leeming <leeming@lyx.org>
1266 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1267 contains data before calling isInset(0). (Bug 1513.)
1269 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1271 * exporter.C (checkOverwrite): new method
1272 * exporter.C (copyFile): new method
1273 * exporter.C (Export): copy referenced files to the document dir
1274 * exporter.[Ch]: new class ExportedFile
1275 * exporter.[Ch]: new class ExportData. Contains currently the
1276 names of referenced external files
1277 * outputparams.h: add exportdata member.
1279 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1281 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1284 2004-05-19 Angus Leeming <leeming@lyx.org>
1289 * lyxfunc.C: small changes due to the introduction of namespace
1290 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1292 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1294 * text3.C (dispatch): supress update when only moving the cursor
1295 * cursor.C (selHandle): remove commented code
1297 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1299 * paragraph.C (startTeXParParams): correct column count
1300 * CutAndPaste.C (pasteSelection): remove const_cast
1301 * output_docbook.C (docbookParagraphs): remove const_cast
1302 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1303 const_cast and return ParagraphList::const_iterator
1304 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1305 * output_plaintext.C (writeFileAscii): remove const_cast
1306 * paragraph.[Ch] (simpleTeXOnePar): make const
1307 * paragraph_funcs.C (outerPar): use const iterators
1308 * paragraph_pimpl.C (validate): use const iterators
1309 * text.C (setHeightOfRow): use const iterators
1311 2004-05-17 Angus Leeming <leeming@lyx.org>
1314 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1316 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1317 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1318 if the citation engine has changed.
1320 2004-05-14 José Matos <jamatos@lyx.org>
1322 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1323 if the textclass does not provide it. Have it different for sgml and
1325 support the language of document.
1326 * output_docbook.C (docbookParagraphs):
1327 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1328 first anchor as the id of the paragraph, remove special case code.
1329 * sgml.C (escapeChar): escape only < & >.
1331 2004-05-14 Angus Leeming <leeming@lyx.org>
1333 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1334 dependencies on src/frontends/controllers/biblio.h. Define a
1335 CiteEngine_enum wrapper class to enable the enum to be forward
1338 2004-05-12 Angus Leeming <leeming@lyx.org>
1340 * buffer.C: up LYX_FORMAT to 234.
1341 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1342 use_numerical_citations with a single biblio::CiteEngine cite_engine
1344 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1346 2004-05-13 José Matos <jamatos@lyx.org>
1349 * converter.C (Converter, readFlags): add xml member.
1350 * outputparams.h: add XML flavor.
1351 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1353 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1355 * lyxfunc.C (dispatch):
1356 (getStatus): fix handling of LFUN_SEQUENCE
1358 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1360 * debug.C (showLevel): do not forget the end-of-line marker
1362 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1364 * kbmap.C (read): do not stop parsing a bind file when an error
1367 2004-04-29 Angus Leeming <leeming@lyx.org>
1372 * text2.C: wrap a bunch of #warning statements
1373 inside #ifdef WITH_WARNINGS blocks.
1375 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1377 * buffer.C: increment format to 233.
1379 2004-04-28 Angus Leeming <leeming@lyx.org>
1381 * BufferView_pimpl.C:
1384 s/updateToolbar()/updateToolbars()/
1385 s/Toolbar.h/Toolbars.h/
1387 2004-04-28 Angus Leeming <leeming@lyx.org>
1389 * BufferView.[Ch] (c-tor):
1390 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1391 No longer passes these data to the WorkArea generator.
1393 2004-04-28 Angus Leeming <leeming@lyx.org>
1395 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1397 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1399 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1401 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1403 * output_latex.C (TeXEnvironment): make sure that there is a line
1404 break before \end{foo} for the last paragraph of a document
1405 (TeXOnePar): if the paragraph is at the end of the document (or
1406 inset) and the language has to be reset, then make sure that the
1407 line break is _before_ the language command, not after (fixes bug
1408 1225); also make sure that the language reset command is the first
1409 thing after the paragraph (to ensure proper nesting of
1410 environments and thus fix bug 1404)
1412 2004-04-21 John Levon <levon@movementarian.org>
1415 * ToolbarBackend.C: make "name" be a programmatic name
1416 and a gui_name field.
1418 * lyxfunc.C: display the minibuffer on M-x
1420 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1422 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1425 2004-04-19 Angus Leeming <leeming@lyx.org>
1427 * BufferView_pimpl.C (setBuffer): changed preview interface.
1429 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1432 2004-04-19 John Levon <levon@movementarian.org>
1434 * BufferView_pimpl.C:
1435 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1437 2004-04-05 Angus Leeming <leeming@lyx.org>
1439 * text.C (redoParagraphs): add call to updateCounters(), thereby
1440 fixing the missing "Figure #:" label from the caption of a
1443 2004-04-13 Angus Leeming <leeming@lyx.org>
1445 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1446 cursor is clicked out of an inset.
1448 2004-04-13 Angus Leeming <leeming@lyx.org>
1450 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1451 than an InsetOld one.
1453 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1455 * format.[Ch]: add editor to Format
1456 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1457 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1459 2004-04-08 André Pönitz <poenitz@gmx.net>
1461 * metricsinfo.h: remove PainterInfo::width member
1463 2004-04-08 Angus Leeming <leeming@lyx.org>
1465 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1466 "\providecommand" rather than "\newcommand", thereby preventing
1467 clashes with packages that define "\boldsymbol" themselves.
1470 2004-04-08 Angus Leeming <leeming@lyx.org>
1472 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1473 thereby squashing an unnecessary warning.
1475 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1477 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1480 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1482 * BufferView.C (setCursor): call redoParagraph (some insets could
1484 (putSelectionAt): remove the 'double update' trick
1486 * BufferView_pimpl.C (fitCursor): call refreshPar
1487 (workAreaDispatch): remove an uneeded update call
1488 (dispatch): remove some manual update calls
1490 * cursor.[Ch]: remove cached_y_, updatePos
1491 (selHandle): set noUpdate when appropriate
1493 * lyxfunc.C (dispatch): track if we need an update
1495 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1497 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1498 (paintSelection): cheap optimization, do not call cursorX when not
1500 (paintPars): change signature
1503 (paintTextInset): adjust
1507 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * lengthcommon.C: compilation fix: remove explicit array size from
1510 unit_name[] and friends
1512 2004-04-05 Angus Leeming <leeming@lyx.org>
1514 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1516 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1517 present only for the preferences dialog.
1518 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1520 2004-04-05 Angus Leeming <leeming@lyx.org>
1522 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1523 to enable the frontends to export changes to lyxrc correctly.
1525 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1527 2004-04-07 André Pönitz <poenitz@gmx.net>
1529 * cursor.[Ch] (selClear, adjust): remove math
1531 * cursor_slice.C: more agressive assert
1534 * BufferView_pimpl.C: rework mouse event dispatch
1541 2004-04-05 André Pönitz <poenitz@gmx.net>
1543 * cursor.[Ch] (valign, halign...): remove unneeded functions
1545 2004-04-05 Angus Leeming <leeming@lyx.org>
1547 * lyxlength.[Ch] (unit_name et al.): const-correct.
1549 2004-04-05 Angus Leeming <leeming@lyx.org>
1551 * BufferView_pimpl.C:
1560 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1562 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1564 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1566 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1568 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1569 * BufferView_pimpl.[Ch] (getStatus)
1570 * BufferView.[Ch] (getStatus): add
1571 * lyxfunc.C (getStatus): move lfuns handled in
1572 BufferView::dispatch to te function above
1573 * Cursor.C (setSelection): set selection() = true
1575 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1577 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1579 2004-03-31 Angus Leeming <leeming@lyx.org>
1581 * lyxfunc.C (dispatch): Fall through to the generic
1582 Dialogs::show("preamble").
1584 2004-03-31 Angus Leeming <leeming@lyx.org>
1586 * lyxfunc.C (dispatch): Fall through to the generic
1587 Dialogs::show("spellchecker").
1589 2004-03-31 Angus Leeming <leeming@lyx.org>
1591 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1594 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1599 * insetiterator.[Ch]:
1604 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1606 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1608 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1609 insets where we are putting the cursor.
1611 2004-03-31 Angus Leeming <leeming@lyx.org>
1614 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1616 * lyxrc.[Ch] (read, write): overloaded member functions taking
1617 a std::[io]stream arguments.
1619 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1621 2004-03-31 Angus Leeming <leeming@lyx.org>
1623 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1624 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1626 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1627 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1629 2004-03-31 Angus Leeming <leeming@lyx.org>
1631 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1632 the LFUN_ALL_INSETS_TOGGLE code.
1634 2004-03-30 Angus Leeming <leeming@lyx.org>
1636 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1637 has died. Fall through to the generic Dialogs::show("document").
1639 2004-03-30 Angus Leeming <leeming@lyx.org>
1642 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1643 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1645 * lyxfunc.C (getStatus, dispatch): define the actions for these
1646 lfuns. Little more than a cut and pste job from ControlDocument.C
1648 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1650 2004-03-30 Angus Leeming <leeming@lyx.org>
1653 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1654 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1656 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1657 open/closed state of ollapsable insets. Usage:
1659 all-inset-toggle <state> <name>, where
1660 <state> == "open" || "closed" || "toggle" and
1661 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1663 * lyxtext.h, text2.C (toggleInset): removed.
1665 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1666 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1667 now passes LFUN_INSET_TOGGLE to the found inset.
1669 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1670 is now invoked as "all-insets-toggle toggle branch".
1672 2004-03-30 Angus Leeming <leeming@lyx.org>
1676 * pariterator.[Ch]: added/corrected header blurb.
1678 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1680 * dociterator.[Ch]: add an inset_ member
1681 (backwardPos): implemented
1682 (backwardPos, forwardPos): use inset_ when the stack is empty.
1683 (doc_iterator_begin, doc_iterator_end): implemented
1684 * pariterator.[Ch]: adjust, add begin, end
1685 * insetiterator.[Ch]: adjust, add begin, end
1689 * BufferView_pimpl.C:
1690 * CutAndPaste.C: adjust
1692 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1694 * buffer.C: increment file format to 232.
1695 * LaTeXFeatures.C: add bibtopic package.
1696 * bufferparams.[Ch]: param \use_bibtopic.
1698 * lyxrc.[Ch]: add lyxrc bibtex_command
1699 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1701 * buffer.C: increment file format to 231.
1703 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1705 * dociterator.C: implement forwardPar
1706 * iterators.[Ch]: remove, replaced by
1707 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1709 * BufferView_pimpl.C:
1712 * bufferview_funcs.C:
1718 * Makefile.am: adjust
1720 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1722 * CutAndPaste.C (pasteSelection): fix 2 crashes
1723 (eraseSelection): fix a crash
1724 * paragraph_funcs.C: remove a warning
1726 2004-03-28 Angus Leeming <leeming@lyx.org>
1729 * LyXAction.C (init): new LFUN_PRINT.
1731 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1733 2004-03-27 Angus Leeming <leeming@lyx.org>
1736 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1738 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1740 2004-03-27 Angus Leeming <leeming@lyx.org>
1742 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1743 insetlist always contains non-null pointers to insets.
1745 2004-03-26 Angus Leeming <leeming@lyx.org>
1747 * src/BufferView_pimpl.C:
1748 * src/CutAndPaste.C:
1751 * src/output_plaintext.C:
1752 * src/outputparams.h:
1753 * src/paragraph_funcs.C:
1757 * src/frontends/controllers/ControlErrorList.C:
1758 * src/frontends/gtk/FileDialogPrivate.C:
1759 * src/frontends/gtk/GPainter.C:
1760 * src/frontends/gtk/GToolbar.C:
1761 * src/frontends/qt2/QRef.C:
1762 * src/mathed/math_scriptinset.C: squash compiler warnings.
1764 2004-03-26 Angus Leeming <leeming@lyx.org>
1766 * ispell.C (LaunchIspell::start):
1767 * lyx_cb.C (AutoSaveBuffer::start):
1768 invoke run(DontWait) rather than runNonBlocking().
1770 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1772 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1774 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1776 * kbsequence.C (print): adjust
1778 * kbmap.C (printKeySym): rename and change signature
1779 (printKey): use LyXKeySym::print()
1781 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1783 * undo.C: add using std::advance to compile for stlport
1785 2004-03-24 Angus Leeming <leeming@lyx.org>
1787 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1788 it leads to a crash when no buffer is present.
1790 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 Martin Vermeer <martin.vermeer@hut.fi>
1793 * lyxfunc.C (dispatch):
1794 * bufferparams.C (readToken): use the new LColor::setColor
1796 * LColor.[Ch] (setColor): new version that takes two strings as
1797 argument and creates a new color entry if necessary
1799 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1801 * buffer.C (makeLaTeXFile): if the main latex file that is
1802 processed is usually a subdocument of some master, then pretend
1803 for a while that it is actually the master
1805 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1807 * buffer.C (getLabelList):
1808 (getBibkeyList): use getMasterBuffer()
1809 (getMasterBuffer): new method. Returns the main document in the
1810 case where one is using included documents.
1812 2004-03-25 André Pönitz <poenitz@gmx.net>
1816 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1818 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1820 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1821 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1823 * ParameterStruct.h: merge with ParagraphParameters
1825 * lyxtext.h: remove LyXText::parOffset() and getPar()
1827 * text3.C: Remove all 'manual' update calls. We do now one per user
1828 interaction which is completely sufficient.
1832 * BufferView_pimpl.C:
1833 * FontIterator.[Ch]:
1835 * ParagraphParameters.[Ch]:
1840 * cursor_slice.[Ch]:
1847 * output_docbook.[Ch]:
1848 * output_latex.[Ch]:
1849 * output_linuxdoc.[Ch]:
1850 * output_plaintext.[Ch]:
1852 * paragraph_funcs.[Ch]:
1853 * paragraph_pimpl.[Ch]:
1861 * frontends/controllers/ControlDocument.C:
1862 * frontends/controllers/ControlErrorList.C:
1863 * frontends/controllers/ControlSpellchecker.C:
1866 * insets/insetbase.h:
1867 * insets/insetbibitem.C:
1868 * insets/insetbox.C:
1869 * insets/insetbranch.C:
1870 * insets/insetcaption.C:
1871 * insets/insetcharstyle.C:
1872 * insets/insetcharstyle.h:
1873 * insets/insetcollapsable.C:
1874 * insets/insetcollapsable.h:
1875 * insets/insetert.C:
1876 * insets/insetfloat.C:
1877 * insets/insetfoot.C:
1878 * insets/insetmarginal.C:
1879 * insets/insetnote.C:
1880 * insets/insetoptarg.C:
1881 * insets/insettabular.C:
1882 * insets/insettext.C:
1883 * insets/insettext.h:
1884 * insets/insetwrap.C:
1885 * mathed/math_mboxinset.C:
1886 * mathed/math_nestinset.C:
1887 * mathed/math_scriptinset.C:
1888 * mathed/math_scriptinset.h:
1891 2004-03-24 Angus Leeming <leeming@lyx.org>
1893 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1894 deal with any child processes that have finished but are waiting to
1895 communicate this fact to the rest of LyX.
1897 2004-03-24 Angus Leeming <leeming@lyx.org>
1899 64-bit compile fixes.
1901 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1902 (c-tor): pass lyx::pos_types rather than ints.
1904 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1907 * text.C (Delete): compile fix.
1908 (getPar): ensure that function declaration is the same as that in
1911 2004-03-23 Angus Leeming <leeming@lyx.org>
1913 * ispell.C (LaunchIspell):
1914 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1915 a boost::shred_ptr rather than a std::auto_ptr.
1917 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1920 handle LFUN_FILE_INSERT_*
1922 * lyxrc.C (setDefaults, getDescription, output, read):
1923 * lyxrc.h: remove ps_command
1925 2004-03-22 Angus Leeming <leeming@lyx.org>
1927 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1928 Ensure that error_handler is processed once only and that all data
1929 is saved before attempting to output any warning messages.
1931 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1933 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1935 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1937 2004-03-19 André Pönitz <poenitz@gmx.net>
1939 * cursor.[Ch] (reset): take main text inset as argument
1941 * BufferView: adjust
1942 * BufferView_pimpl.C: adjust
1944 * paragraph.[Ch]: fix completely broken operator=()
1946 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1948 * LColor.C (getFromLyXName): make sure that the color name is used
1951 2004-03-17 Angus Leeming <leeming@lyx.org>
1954 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1956 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1957 dialog and to kill a forked process.
1959 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1961 * text2.C (setCursorFromCoordinates): fix font problem
1963 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1965 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1966 bogus "rebuild cursor" code
1968 2004-03-11 André Pönitz <poenitz@gmx.net>
1970 * buffer.[Ch]: use InsetText instead of LyXText as container for
1973 * dociterator.[Ch]: drop the BufferView * member which is not needed
1974 anymore after the change to buffer.C
1976 * paragraph_funcs.C:
1980 * BufferView_pimpl.[Ch]:
1982 * cursor_slice.[Ch]: adjust
1984 * text3.C: fix bug in mathDispatch
1986 2004-03-08 André Pönitz <poenitz@gmx.net>
1988 * undo.[Ch]: use 'StableDocumentIterator' as base for
1991 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1994 * bufferparams.[Ch]: add jurabib support and param.
1996 * LaTeX.C: add FIXME/comment.
1998 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2000 * buffer.C: increment file format to 230.
2002 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2004 * cursor.C (dispatch): avoid infinite loops
2006 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2008 * rowpainter.C (paintSelection): fix x coordinates
2010 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2012 * text.C (rowBreakPoint): fix breaking before displayed insets
2014 2004-03-01 André Pönitz <poenitz@gmx.net>
2016 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2018 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2022 * BufferView_pimpl.C:
2030 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2036 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2037 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2039 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2041 * Bidi.[Ch] (computeTables): const correctness
2042 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2043 fill_hfill, fill_label_hfill and x from Row
2044 * lyxtext.h: prepareToPrint returns a RowMetrics
2045 * rowPainter.C: adjust
2046 * text.C (prepareToPrint): use width, not textWidth. adjust
2047 (redoParagraphInternal, cursorX): adjust
2048 * text2.C (getColumnNearX): adjust
2049 (init): put a default value to the top LyXText::width
2051 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2053 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2055 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2057 * lyxtext.h: add FontIterator class
2059 * text.C (FontIterator, operator*, operator->, operator++): add
2060 (rowBreakPoint, setRowWidth): adjust (fixing a
2063 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2065 * BufferView_pimpl.C (workAreaDispatch): allow also
2066 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2068 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2070 * text.C (rowBreakPoint): fix a bug showing with very large insets
2072 2004-02-25 André Pönitz <poenitz@gmx.net>
2075 * cursor.[Ch]: move some mathed specific code to mathed
2077 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2079 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2080 use_tempdir in preferences
2081 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2083 * lyx_main.C: ensure that tempdir is valid
2084 * lyxlex.h: correct typo
2085 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2086 * paragraph.[Ch] (isMultiLingual): make const
2087 * cursor.[Ch] (openable): make const
2089 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2091 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2093 2004-02-20 André Pönitz <poenitz@gmx.net>
2095 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2097 * cursor.[Ch]: prepare for localized getStatus()
2103 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2105 2004-02-20 André Pönitz <poenitz@gmx.net>
2107 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2109 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2111 * text2.C (setCursorFromCoordinates): switch to absolute coords
2113 (cursorDown): adjust
2114 * text3.C (dispatch): adjust
2116 2004-02-16 André Pönitz <poenitz@gmx.net>
2118 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2121 * cursor_slice.[Ch]: remove unneeded acessor function
2123 * lyxtext.h: rename rtl() to isRTL()
2131 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2133 * rowpainter.C (paintSelection): coord fix
2135 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2137 * Spacing.C: compile fix
2139 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2141 * cursor.C (dispatch): restore current_ before returning
2143 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2145 * text2.C (cursorUp, cursorDown): fix coords
2148 2004-02-12 André Pönitz <poenitz@gmx.net>
2153 * text3.C: add LCursor & parameter to most cursor movement functions
2154 remove usage of LyXText::cursorRow() and cursorPar()
2156 * cursor.[Ch]: add textRow() needed members
2159 * BufferView_pimpl.C:
2162 * BufferView_pimpl.C: adjust
2164 2004-02-11 André Pönitz <poenitz@gmx.net>
2168 * BufferView_pimpl.C: shift undo/redo handling
2170 * cursor.[Ch]: fix mathed crash
2173 * lyxtext.h: move selectionAsText to LCursor
2181 * rowpainter.C: fix excessive drawing
2183 2004-02-06 André Pönitz <poenitz@gmx.net>
2186 * BufferView_pimpl.[Ch]:
2187 * text3.C: move some text specific LFUN handling
2189 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2191 * text3.C (checkInsetHit): adjust coords
2192 * text2.C (getColumnNearX): adjust coords
2193 (edit): adjust coords
2194 * text.C (getRowNearY): add two asserts
2196 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2199 * format.C: add using std::distance to compile on gcc 2.95/stlport
2201 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2203 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2205 2004-02-04 André Pönitz <poenitz@gmx.net>
2207 * BufferView.[Ch] (insertInset):
2208 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2213 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2215 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2216 on the default clause of the switch
2217 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2218 wasn't catched by LCursor::dispatch
2220 2004-02-03 André Pönitz <poenitz@gmx.net>
2223 * cursor.[Ch]: some additional asserts
2225 * undo.[Ch]: remove LyXText dependency in interface
2229 * lyxtext.h (firstPar, lastPar): remove dead functions
2234 * paragraph.[Ch]: adjust
2236 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2238 * lyxfind.C (find): fix argument order in call to ::find
2240 2004-02-02 André Pönitz <poenitz@gmx.net>
2242 * cursor.[Ch]: remove direct access to anchor
2244 * text.C: remove findText() hack
2246 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2248 * iterators.[Ch] (lockPath): remove in favour of...
2249 * BufferView.[Ch] (setCursor): this addition
2250 * BufferView.C (putSelectionAt): adjust
2251 * undo.C (performUndoOrRedo): adjust
2252 * lyxfunc.C (dispatch): adjust
2254 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2256 * iterators.C (lockPath): add a missing slice
2257 * undo.C (performUndoOrRedo): remove redundant positioning code
2259 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2261 * vc-backend.C (scanMaster): ";" -> ';'
2263 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2265 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2266 std::binary_function
2268 * lyxtextclass.C (compare_name): rename to...
2269 (LayoutNamesEqual): ...this
2271 * lyxlex_pimpl.C (compare_tags): inherit from
2272 std::binary_function, put back into anon namespace
2274 * lyxfind.C (MatchString): inherig from std::binary_function
2275 (findChange): use empty() istead of !size()
2277 * format.C (FormatNamesEqual): new functor
2284 * converter.C (compare_Converter): rename to...
2285 (ConverterEqual): ...this, and fixup a bit.
2286 (getConverter): use it, and make function const
2287 (getNumber): use it, and make function const
2291 * bufferlist.C: add using boost::bind
2293 * MenuBackend.C (MenuNamesEqual): new functor
2294 (hasMenu): use it, and make function const
2295 (hasSubmenu): use nested bind to get rid of compare_memfun.
2297 2004-01-30 André Pönitz <poenitz@gmx.net>
2299 * BufferView_pimpl.C:
2302 * cursor_slice.[Ch]:
2305 * paragraph_funcs.C:
2306 * paragraph_funcs.h:
2310 * text3.C: move some of the edit(x,y) handling to the insets
2311 some coordinate changes.
2313 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2315 * text.C: add using statements for std::advance and std::distance
2317 * paragraph.C: add using statement for std::distance
2319 * lyxfind.C: add using statement for std::advance
2321 * cursor.C (region): remove std:: from swap
2322 (openable): use nucleus in stead of operator->
2324 * BufferView.C: add using statements for std::distance and std::swap
2326 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2328 * iterators.C: Remove the pimple, move the needed structures to
2329 the header file. Create accessor for the positions stack.
2330 (asPosIterator): remove function
2332 * PosIterator.C (PosIterator): move constructors to top of file
2333 (PosIterator): reimplement the constructor taking a ParIterator in
2335 (setFrom): new function
2336 (operator!=): inline it
2338 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2340 * lyxfind.C (replaceAll): use std::advance
2342 * iterators.h: inherit from std::iterator.
2344 * PosIterator.C (advance, distance): remove
2345 * PosIterator.h: interit from std::iterator.
2347 2004-01-26 André Pönitz <poenitz@gmx.net>
2350 * BufferView_pimpl.[Ch]:
2354 * bufferview_funcs.C:
2364 * output_linuxdoc.C:
2365 * output_plaintext.C:
2367 * paragraph_funcs.[Ch]:
2368 * paragraph_pimpl.[Ch]:
2374 * text3.C: more IU: dumps most of the rest of the mathcursor
2375 implementation into cursor.[Ch]; "globalize" a bit of it.
2377 2004-01-25 Angus Leeming <leeming@lyx.org>
2379 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2381 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2383 * LaTeXFeatures.h: add nice_ and nice() const
2384 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2386 2004-01-20 André Pönitz <poenitz@gmx.net>
2389 * BufferView_pimpl.C:
2391 * bufferview_funcs.C:
2393 * cursor_slice.[Ch]:
2404 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2405 LCursor and mathcursor parts to LCursor and InsetBase.
2407 2004-01-15 André Pönitz <poenitz@gmx.net>
2409 * cursor_slice.[Ch]: add a few covienience functions
2411 * funcrequest.[Ch]: remove BufferView * member
2413 * BufferView_pimpl.C:
2420 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2422 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2424 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2425 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2427 2004-01-13 André Pönitz <poenitz@gmx.net>
2430 * lyxtext.h: hide cursor and selection anchor behind accessor function
2433 * BufferView_pimpl.[Ch]:
2435 * bufferview_funcs.C:
2445 * cursor_slice.[Ch]: some integer type changes for inset unification
2447 * lyxcursor.[hC]: remove, it's CursorSlice now.
2450 * BufferView_pimpl.[Ch]:
2451 * bufferview_funcs.C:
2457 * textcursor.[Ch]: adjust
2459 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2461 * text2.C (undoSpan): add and use
2462 * text.C (breakParagraph): use undoSpan (fix bug 578)
2465 2004-01-08 Angus Leeming <leeming@lyx.org>
2467 * BufferView_pimpl.C (MenuInsertLyXFile):
2468 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2469 * lyxfunc.C (menuNew, open, doImport):
2470 FileFilterList change to the FileDialog open and save functions.
2472 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2474 * ShareContainer.h: make isEqual and isUnique adaptable
2476 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2478 2004-01-07 Angus Leeming <leeming@lyx.org>
2481 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2483 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2485 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2486 functions replacing find, replace and replaceAll.
2488 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2489 LFUN_WORDFIND(FORWARD|BACKWARD).
2491 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2493 * text.C (breakParagraph): remove an outdated #warning
2495 2004-01-07 André Pönitz <poenitz@gmx.net>
2497 * lyxfind.C: somewhat clearer logic
2499 * text.C: prevent crash in cursorX on unitialized row cache
2501 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2503 * lyxcursor.[Ch] (operator>): add
2504 * textcursor.C (selStart, selEnd): use std::min and std::max
2506 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2508 * Chktex.C: include boost/format.hpp
2510 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2512 * InsetList.C: replace functor MathcIt with adaptable functor
2514 (insetIterator): modify accordingly
2516 * BranchList.h: move the BranchNamesEqual functor here from...
2517 * BranchList.C: ... to here
2519 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2521 (add): replace a finding loop with std::find_if.
2523 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2525 * output_docbook.C: moving LatexParam functionality into
2528 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2530 * buffer.C: increment format to 229.
2532 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2535 * lyx_sty.[Ch]: remove minipageindent_def
2541 * text3.C: remove LFUN_INSET_MINIPAGE
2543 2003-12-28 Angus Leeming <leeming@lyx.org>
2545 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2547 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2549 * text2.C (setParagraph): fix off-by-one crash
2551 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2553 * output_docbook.C: header stuff for AGU
2555 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2557 * text2.C (redoCursor): remove
2560 * BufferView_pimpl.C: remove calls to redoCursor and
2561 setCursor(cursor.par(), cursor.pos()) all around
2563 2003-12-15 Angus Leeming <leeming@lyx.org>
2565 * buffer.C: up the format to 228.
2567 2003-12-15 André Pönitz <poenitz@gmx.net>
2569 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2574 * BufferView_pimpl.C:
2583 2003-12-15 Angus Leeming <leeming@lyx.org>
2585 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2586 than getFromGUIName to manipulate the color.
2588 2003-12-14 Angus Leeming <leeming@lyx.org>
2590 * BranchList.[Ch]: minimize the API.
2591 (Branch::getBranch, getColor): now return a 'const &'.
2592 (Branch::setSelected) now returns a bool set to true if the
2593 selection status changes.
2594 (BranchList::clear, size, getColor, setColor, setSelected,
2595 allBranches, allSelected, separator): removed.
2596 (BranchList::find): new functions, returning the Branch with
2598 (BranchList::add, remove): return a bool indicating that
2599 the operation was successful.
2601 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2602 new InsetBranch::isBranchSlected member function.
2604 * LColor.[Ch]: mimimize the API.
2605 (fill): renamed as addColor and made private.
2606 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2607 versions of these functions taking a string arg have been removed.
2609 * bufferparams.C (readToken):
2610 * lyxfunc.C (dispatch):
2611 * lyxrc.C (read): changes due to the altered BranchList and
2614 * factory.C (createInset, readInset): changes due to altered
2617 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2620 * lyxfunc.C: remove insetminipage. "minipage-insert"
2621 now produces a frameless minipage box inset.
2623 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2625 * textcursor.[Ch] (selStart,selEnd): add new methods
2626 remove selection::start, end, use LyXCursor::operator<
2627 * lyxcursor.[Ch] (operator<): add
2628 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2629 * BufferView.[Ch] (unsetXSel): add
2630 * text2.C (clearSelection): use unsetXSel,adjust
2633 * rowpainter.C: adjust
2634 * bufferview_funcs.C (put_selection_at): adjust
2636 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2638 * BufferView_pimpl.C: small coord. correction
2640 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2642 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2643 dragging over the splash screen.
2645 2003-12-11 Angus Leeming <leeming@lyx.org>
2647 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2648 as it is now handled in LyXText::dispatch.
2650 * text3.C (doInsertInset): remove a level of nesting.
2652 2003-12-11 Angus Leeming <leeming@lyx.org>
2654 * factory.C (createInset): changes due to the changed interface to
2655 InsetCommandMailer::string2params.
2657 2003-12-10 Angus Leeming <leeming@lyx.org>
2659 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2660 'dialog-show-new-inset <inset name>'
2662 2003-12-10 Angus Leeming <leeming@lyx.org>
2664 * buffer.C: up the format to 227.
2666 * factory.C: the box inset is now identified simply by 'Box'.
2668 2003-12-10 Angus Leeming <leeming@lyx.org>
2670 * buffer.C: up the format to 226.
2672 * factory.C: the note inset is now identified simply by 'Note'.
2674 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2676 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2677 when a pit is enough. Standarize a couple of loops.
2679 2003-12-05 Angus Leeming <leeming@lyx.org>
2681 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2682 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2683 data to the re-worked "log" dialog.
2685 2003-12-03 André Pönitz <poenitz@gmx.net>
2691 * paragraph_funcs.C:
2693 * text2.C: use Inset::getText instead of Inset::getParagraph
2695 2003-12-03 André Pönitz <poenitz@gmx.net>
2699 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2700 InsetText::read() as LyXText::read()
2702 2003-12-02 Angus Leeming <leeming@lyx.org>
2704 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2705 type. Add a comment in the implementation that the function uses
2706 the stream's bad() function rather than fail() as the std::streams
2709 2003-12-02 André Pönitz <poenitz@gmx.net>
2711 * lyxlex.[Ch]: make interface more similar to std::stream
2713 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2715 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2717 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2719 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2721 * vspace.[Ch]: remove VSpace::NONE
2723 2003-12-01 André Pönitz <poenitz@gmx.net>
2726 * lyxtext.h: move ParagraphList member to LyXText
2727 rename LyXText::ownerParagraphs to LyXText::paragraph
2730 * bufferview_funcs.C:
2740 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2742 * undo.C: fix cursor positioning
2744 2003-12-01 John Levon <levon@movementarian.org>
2746 * BufferView_pimpl.C: fix a crash on exit with
2749 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2751 * BranchList.C: fix setSelected() method.
2753 2003-11-28 André Pönitz <poenitz@gmx.net>
2755 * ParagraphParameters.[Ch]:
2756 * ParameterStruct.h: remove space above/below from Paragraph to
2759 * BufferView_pimpl.C:
2765 * paragraph_funcs.C:
2771 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2773 * factory.C: Syntax change for CharStyles
2775 2003-11-28 André Pönitz <poenitz@gmx.net>
2780 * buffer.[Ch]: move LyXText member
2782 2003-11-28 André Pönitz <poenitz@gmx.net>
2784 * BufferView.[Ch]: make LyXText * text a private member
2786 * BufferView_pimpl.C:
2797 * output_plaintext.C: cleanup
2799 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2802 * lyxtextclass.[Ch]: parametrize SGML document header
2804 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2807 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2810 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2812 * text2.C (setFont): rework using PosIterator (no more recursive)
2813 (setCharFont): no more needed
2814 (setLayout): no more selection cursors fiddling (done by redoCursor)
2815 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2816 destroy remaining ones)
2818 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2820 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2822 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2825 * text3.C: adjust + re-allow multi par depth changes
2826 * textcursor.C: simplify a bit
2828 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2834 * src/output_docbook.C:
2835 * src/output_latex.C:
2840 * src/text2.C: Introducing a number of tags parametrizing various
2841 XML formats that we may want to support
2843 2003-11-25 André Pönitz <poenitz@gmx.net>
2845 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2847 * lyxtext.h (leftMargin/rightMargin): simplify interface
2854 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2856 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2857 master file to any child files. Fixes bug 546.
2859 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2861 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2863 2003-11-24 André Pönitz <poenitz@gmx.net>
2865 * rowpainter.C: simplification
2867 * text2.C (updateCounters): remove call to redoParagraph on
2868 changed labels as this is far too expensive.
2870 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2872 * converter.C (convert): fix a crash: this function gets
2873 called with buffer == 0 from importer code.
2875 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2877 * text3.C (cursorPrevious): make sure that we do not compare
2878 iterators form different containers.
2881 * rowpainter.C (paintSelection): make sure that we do not compare
2882 iterators from different containers.
2884 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2885 iterators from different ParagraphList containers.
2888 * text2.C (LyXText): change order of initialization slightly
2889 (operator=): new function. copy all variables except cache_par_
2890 (moveUp): make sure that we do not compare iterators from
2891 different ParagraphList constainers.
2894 * text.C (firstPar): new function
2895 (lastPar): new function
2896 (endPar): new function
2898 * lyxtext.h: move things around and group public functions, public
2899 variables, private functions, private variables
2901 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2903 * factory.C: change call to InsetERT constructor to avoid
2904 additional invocation of method status
2905 * text2.C (toggleInset): remove redundant update() call
2906 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2907 instead of a Bufferview pointer
2909 2003-11-21 André Pönitz <poenitz@gmx.net>
2911 * rowpainter.C: simplification
2913 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2915 * text3.C (dispatch): make possible to extend a word/row selection
2918 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2920 * lyxtext.h: x0_,y0_ -> xo_,yo_
2921 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2922 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2923 * rowpainter.C (paintRows): paint full paragraphs
2925 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2927 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2930 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2932 * lyxtext.h: add x0_, y0_
2933 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2934 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2936 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2938 * text2.C (setCursorIntern): move the x_target update here *
2939 * text3.C: change some bv() to true/false in calls to
2940 cursorUp/Down/Right/Left
2941 * cursor.C: use helper function.
2943 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2945 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2946 * paragraph_funcs.[Ch]: correct comment
2947 * rowpainter.C: do not paint selections away from bv->cursor()
2948 Fix a long standing selection painting bug.
2949 * text3.C: generalize mouse-selection code to LyXTexts other that
2951 * textcursor.C: do not use y coords if we can use par offsets
2953 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2955 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2956 cursor position after e.g. inset insert)
2958 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2960 * lyxfind.C (replace): adjust to locking removal + some
2963 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2965 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2968 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2971 * output_docbook.C: XML sanitation: new layout
2972 parameters InnerTag and CommandDepth
2974 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2976 * BufferView_pimpl.C:
2978 * text3.C: Fix the insertion and modification of button-style
2981 2003-11-13 André Pönitz <poenitz@gmx.net>
2983 * InsetList.[Ch]: remove deleteLyXText
2985 * paragraph.[Ch]: cache beginOfBody position
2990 * text3.C: remove superfluous update() calls
2994 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2996 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2997 * BufferView.C (fitLockedInsetCursor): remove
2998 * cursor.[Ch] (getDim): add
2999 * text.C (getRowNearY): add faster version
3000 * text3.C: remove some update calls
3002 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3014 * text3.C: The Character Style /XML short element patch.
3016 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3019 * factory.C: Small step to solving 'unable to insert some insets'
3022 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3024 * cursor.[Ch] (updatePos): new function for updating the y
3025 position of the tip inset
3026 * bufferview_funcs.C (put_selection_at):
3027 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3029 2003-11-11 André Pönitz <poenitz@gmx.net>
3031 * text.C: remove big comment on invalid Paragraph pointers as it is
3034 2003-11-11 André Pönitz <poenitz@gmx.net>
3036 * text_funcs.[Ch]: merge with ...
3044 * Makefile.am: remove text_funcs.[Ch]
3046 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3048 * cursor.C (getPos): return absolute cached y coord
3050 * BufferView_pimpl.C (fitCursor): new simplistic code
3051 (workAreaDispatch): add a fitCursor call
3053 2003-11-10 André Pönitz <poenitz@gmx.net>
3056 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3058 2003-11-10 André Pönitz <poenitz@gmx.net>
3060 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3061 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3062 indicate that the cursor needs to leave an inset
3064 * lyxtext.h: remove inset locking
3066 * cursor.[Ch]: re-implement functionality provided by inset locking
3069 * BufferView_pimpl.[Ch]:
3071 * bufferview_funcs.[Ch]:
3083 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3085 * PosIterator.[Ch]: replace the stack with a vector, add inset
3087 * iterators.[C]: adjust
3089 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3091 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3093 * paragraph_funcs.C (readParToken): put the correct id in the
3094 error item, not the id of the top paragraph
3096 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3098 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3099 * bufferview_funcs.C (put_selection_at): use the above
3101 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3103 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3105 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3107 * output_linuxdoc.h:
3108 * output_plaintext.h:
3110 * output_docbook.h: add #include statements
3112 2003-11-05 José Matos <jamatos@lyx.org>
3114 * output_docbook.[Ch]:
3115 * output_latex.[Ch]:
3116 * output_linuxdoc.[Ch]:
3117 * output_plaintext.[Ch]: New files for output formats.
3118 * output.[Ch]: New file for helper functions.
3121 * paragraph_funcs.[Ch]: output functions moved to new files.
3123 * outputparams.h: rename of latexrunparams.h
3131 * paragraph_funcs.[Ch]:
3132 * paragraph_pimpl.[Ch]:
3133 * tabular.[Ch]: rename ascii to plaintext
3134 and LatexRunParams to OutputParams.
3136 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3138 * iterators.[Ch] (text): require bv argument
3139 * undo.C (recordUndo):
3140 * lyxfunc.C (dispatch):
3141 * bufferview_funcs.C (put_selection_at): adjust
3143 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3145 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3147 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3149 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3152 2003-11-04 André Pönitz <poenitz@gmx.net>
3154 * cursor.[Ch]: restructure
3157 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3159 * iterators.[Ch] (asCursor): remove
3161 * lfuns.h: remove LFUN_INSET_EDIT
3167 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3169 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3171 * lyxfind.[Ch]: complete overhaul
3172 * BufferView_pimpl.C:
3174 * paragraph.[Ch] (insert): add
3176 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3180 * text.C: remove dead spellcheck code
3182 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3184 * dispatchresult.h: add a val setter
3186 * cursor.C (dispatch): use a tempvar for data_[i]
3188 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3190 * PosIterator.[Ch]: compile fix
3192 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3194 * text.C (cursorPar): deactivate the cursor cache
3196 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3198 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3200 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * text3.C (dispatch): adjust for new DisptchResult semantics.
3204 * lyxfunc.C (dispatch): handle update when return from
3205 Cursor::dispatch, adjust for new DispatchResult semantics.
3207 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3208 DispatchResult(true) mean to not update. Add class functions for
3209 setting dispatched and update, as well as reading.
3211 * cursor.C (dispatch): don't handle update here
3213 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3215 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3216 * trans_mgr.C: adjust
3218 * paragraph_funcs.C (readParToken): exception safety
3220 * lyxvc.h: store the vcs pointer in a scoped_ptr
3223 * lyxsocket.C (serverCallback): exception safety
3225 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3227 * ispell.C (clone): make it return a auto_ptr
3229 * factory.C (createInset): exception safety
3230 (readInset): exception safety
3232 * bufferlist.C (newBuffer): exception safety
3234 * Thesaurus.C (Thesaurus): use initialization for aik_
3236 * MenuBackend.C (expandToc): exception safety.
3238 2003-11-03 André Pönitz <poenitz@gmx.net>
3242 * bufferview_funcs.C: remove getInsetFromId()
3245 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3251 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3253 * PosIterator.C (distance, advance): new
3254 * bufferview_funcs.[Ch] (put_selection_at): new
3255 * iterators.[Ch] (lockPath): new
3257 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3259 * iterators.[Ch] (asPosIterator): added
3260 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3261 * PosIterator.[Ch]: added
3263 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3267 * cursor.C (dispatch):
3268 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3270 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3271 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3272 contructor, add a class function dispatched. Remove operator>=
3274 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * debug.C: only use the default constructor for debugstream
3279 * main.C (main): include debug.h and setup the lyxerr streambuf
3282 2003-10-31 José Matos <jamatos@lyx.org>
3284 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3286 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3287 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3288 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3289 * paragraph_pimpl.C (simpleTeXSpecialC):
3290 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3291 add LatexRunParams argument.
3293 * exporter.C (Export): change call accordingly.
3295 * latexrunparams.h: add new member to take care of the other backends.
3296 2003-10-30 José Matos <jamatos@lyx.org>
3298 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3299 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3300 factorise code for paragraph output.
3302 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3305 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * text3.C (dispatch):
3308 * lyxfunc.C (dispatch):
3309 * cursor.C (dispatch):
3310 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3312 * dispatchresult.h: make the dispatch_result_t ctor explicit
3314 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3317 * buffer.C: small refactoring of docbook stuff
3319 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3324 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3327 operator dispatch_result_t, and operators for == != and >=
3329 * cursor.C (dispatch): adjust for operator dispatch_result_t
3330 removal. comment out call to update
3332 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3334 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3345 * dispatchresult.h: new file, DispatchResult broken out of
3348 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3350 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3352 * text.C (rowBreakPoint): put a hack inside #if 0
3354 2003-10-28 André Pönitz <poenitz@gmx.net>
3358 * paragraph_funcs.C:
3361 * text2.C: general cleanup (lots of small stuff)
3363 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3365 * text2.C (cursorEnd): simple fix to the "end key goes to one
3366 before the end on last row" bug
3368 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3370 * text.C (backspace): fix the "zombie characters"
3372 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3374 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3376 2003-10-27 André Pönitz <poenitz@gmx.net>
3378 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3380 * factory.C: handle new InsetPagebreak, InsetLine
3382 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3383 and move handling into new InsetPagebreak, InsetLine
3385 * BufferView_pimpl.C:
3387 * ParagraphParameters.C:
3388 * ParameterStruct.h:
3393 * paragraph_funcs.C:
3394 * paragraph_pimpl.C:
3400 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3403 * lyxrow_funcs.[Ch]:
3409 * text3.C: remove lastPos uses in favour of Row::endpos
3411 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3413 * undo.C (performUndoOrRedo): fix two crashes by setting a
3414 cursor by hand and reordering some calls. Use bv->lockInset instead
3415 of inset->edit because the latter loses cursor information
3417 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3419 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3421 (rowBreakPoint): fix width. change point to point + 1.
3422 Add a missing check.
3424 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3427 * lyxfunc.C: fix (at least partly) the problems
3428 with the Nav menu and headers inside branch insets
3431 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3433 * paragraph.C (getChar): add strong asserts
3435 * lyxrow_funcs.C (lastPos): remove hideous hack
3437 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3438 (fill): adjust to that (avoid an infinite loop)
3440 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3442 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3444 2003-10-23 André Pönitz <poenitz@gmx.net>
3446 * RowList_fwd.h: change list<> to vector<> to gain speed
3447 after suggestion from Alfredo
3449 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3451 * lyxtext.h: move the bidi stuff from here...
3454 * Bidi.[Ch]: ... to here
3456 2003-10-23 André Pönitz <poenitz@gmx.net>
3459 * text.C (isLastRow, isFirstRow): new functions
3461 * paragraph.h: new width cache member
3463 * rowpainter.C: replace RowList::iterator with Row & where possible
3465 * lyxfunc.C: replace several view()->text with a single call
3467 * toc.C: fix 'unused' warning
3469 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3472 when woring with stream::pos_type
3473 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3475 2003-10-22 André Pönitz <poenitz@gmx.net>
3478 * text.C: use Row & instead of RowList::iterator
3480 * lyxrow.h: rename end() to endpos()
3486 2003-10-22 Angus Leeming <leeming@lyx.org>
3488 * buffer.[Ch] (fully_loaded): new member function, returning true
3489 only when the file has been loaded fully.
3490 Used to prevent the premature generation of previews and by the
3491 citation inset to prevent computation of the natbib-style label.
3493 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3494 templates are all set up.
3496 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3498 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3500 * text.C: fixed an "oops" in the "is a bit silly"
3503 2003-10-21 André Pönitz <poenitz@gmx.net>
3505 * FuncStatus.[Ch]: small stuff, whitespace
3507 * lyxfont.[Ch]: operator<<() for debug reasons
3511 * lyxtext.h: whitespace, spelling
3513 * paragraph.C: naming of variables
3516 * text2.C: small stuff
3519 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3521 * text.C: (1) finish off the inset display() work;
3522 (2) fix the "is a bit silly" bug (accessing char
3525 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3527 * text.C: re-introduce display() for insets, fixing the
3528 various bugs (stretch of line above, math inset
3531 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3533 * text.C (rightMargin): remove spurious semicolon
3535 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3538 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3540 * text3.C: fix one crash due to wrong cursor def
3542 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * vc-backend.C (scanMaster): make the regex static
3546 * LaTeX.C (scanAuxFile): make the regexs static
3548 * text3.C (doInsertInset, dispatch, dispatch):
3549 * text2.C (cursorUp, cursorDown):
3550 * text.C (selectNextWordToSpellcheck):
3551 * BufferView_pimpl.C (dispatch):
3552 * lyxfunc.C (dispatch): localDispatch -> dispatch
3554 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3556 * lyxsocket.C: include <cerrno>
3558 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3560 * lyxfunc.C (dispatch): remove textcache stuff
3562 * bufferlist.C (release): remove textcache stuff
3565 * TextCache.C: delete file
3566 * TextCache.h: delete file
3568 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3570 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3571 delete of the bv_->text.
3572 (resizeCurrentBuffer): remove texcache stuff
3573 (workAreaResize): ditto
3575 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3577 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3580 2003-10-16 André Pönitz <poenitz@gmx.net>
3587 * text3.C: speed up by storing y positions per paragraph plus per-row
3588 offset instead of having a 'full' y position in the row.
3590 2003-10-15 André Pönitz <poenitz@gmx.net>
3594 * undo.[Ch]: make undo aware of inner insets
3596 2003-10-14 Angus Leeming <leeming@lyx.org>
3598 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3599 static member functions LyX::ref() and LyX::cref.
3600 (lastfiles): new accessor functions for the new lastfiles_ member var.
3601 (addLyXView, views_): add a new LyXView to the list of views_.
3602 (updateInset): loop over all LyXViews to call their own updateInset
3603 member function, returning a pointer to the Buffer owning the inset.
3605 * BufferView_pimpl.C (loadLyXFile):
3606 * MenuBackend.C (expandLastfiles):
3607 * bufferlist.C (MenuWrite, QuitLyX):
3608 lastfiles is no longer a global variable.
3609 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3611 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3612 static function. Access through LyX::cref().emergencyCleanup().
3614 2003-10-14 André Pönitz <poenitz@gmx.net>
3616 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3618 * undo.[Ch]: restoring part of 'undo in insets'
3621 * undo_funcs.[Ch]: merge with undo.[Ch]
3623 * tabular.C: small cleansing stuff
3625 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3627 * paragraph_funcs.C (readParToken): report unknown insets as error
3628 boxes. Use the outer paragraph as location (also for unknown
3631 * factory.C (readInset): do not abort on reading an unknown inset.
3632 Eat it and return 0.
3634 2003-10-13 Angus Leeming <leeming@lyx.org>
3636 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3638 * lyxrc.C: displayTranslator is now a function,
3639 declared in GraphicsTypes.h.
3641 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3643 * format.C: new placeholder $$a to pass the socket address.
3645 * bufferlist.[Ch]: new function getBufferFromTmp.
3647 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3648 files in the temporary dir.
3650 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3652 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3654 * Makefile.am: add lyxsocket.[Ch].
3656 * lyx_main.C (error_handler): handle SIGPIPE.
3658 2003-10-13 André Pönitz <poenitz@gmx.net>
3660 * BufferView_pimpl.C:
3665 * undo_funcs.[Ch]: use paroffset_type instead of
3666 ParagraphList::iterators to prevent multiple conversion
3667 (and get a more robust interface)
3669 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3671 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3673 * text3.C (dispatch): ditto
3675 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3677 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3678 move the onlyfile, use onlyfile instead of foundfile in a couple
3681 * DepTable.C (update): flush the error stream a bit more
3683 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * lyxserver.C (callback): adjust
3687 * lyxfunc.C (getStatus): add a missing brace in commented code
3688 (ensureBufferClean): reindent
3689 (dispatch): delete version taking a string
3691 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * LaTeX.C (deplog): move found file handlig from here...
3694 (handleFoundFile): .. to new function here.
3695 (deplog): make sure to discover several files mentioned on the
3698 2003-10-10 André Pönitz <poenitz@gmx.net>
3705 * text3.C: fix some of the tabular crashes
3707 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3709 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3711 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3713 2003-10-09 André Pönitz <poenitz@gmx.net>
3715 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3718 * BufferView_pimpl.C:
3719 * bufferview_funcs.C:
3730 * undo_funcs.C: adjust
3732 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * text2.C (incrementItemDepth): new function, use a backtracking
3735 algorithm to discover the correct item depth.
3736 (resetEnumCounterIfNeeded): new function, use a backtracking
3737 algorithm to discover if counter reset is needed.
3738 (setCounter): use them. Simplify a bit. Add different labels for
3739 different item depths for itemize.
3741 * paragraph.C (Paragraph): remove initialization of enumdepth
3744 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3745 enumerate and itemize. Change the type of itemdepth to signed char.
3747 2003-10-08 André Pönitz <poenitz@gmx.net>
3749 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3754 * tabular.[Ch]: fix crash after 'row-insert'
3756 2003-10-08 Angus Leeming <leeming@lyx.org>
3758 Fix doxygen warnings.
3760 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3761 Remove CutAndPaste:: prefix from header file declaration.
3763 * LColor.h (fill): remove LColor:: prefix from declaration.
3765 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3766 use lyx::depth_type rather than Paragraph::depth_type so that
3767 header file and .C file match.
3769 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3771 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3772 * aspell.C: \file aspell_local.C -> \file aspell.C
3773 * gettext.C: \file gettext.C -> \file src/gettext.C
3774 * gettext.h: \file gettext.h -> \file src/gettext.h
3775 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3776 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3777 * text.C: \file text.C -> \file src/text.C
3779 * toc.C: move comment so that doxygen is not confused.
3781 2003-10-07 Angus Leeming <leeming@lyx.org>
3783 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3785 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3788 * aspell_local.h: add forgotten std::string's.
3790 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3797 * text3.C: The Box patch. Fancybox support, minipage, parbox
3799 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3805 * ParagraphParameters.h:
3815 * lyxtextclasslist.h:
3818 * paragraph_pimpl.C:
3819 * textcursor.h: add <string> and other small fixes to make Lars'
3820 std::string patch compile with STLport.
3822 2003-10-06 Angus Leeming <leeming@lyx.org>
3824 * LColor.h: Add missing #include <string>.
3826 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3828 * All most all file in all subdirs: Make <string> be the prefered
3829 way of getting to std::string, add using declarations.
3831 2003-10-06 André Pönitz <poenitz@gmx.net>
3833 * metricsinfo.C: initialize LyXFont before changing attribute.
3834 (fixes the 'math in \emph is upright' bug)
3836 2003-10-06 André Pönitz <poenitz@gmx.net>
3838 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3840 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3843 * paragraph_pimpl.C: Small fixes to build using STLport
3845 2003-10-02 André Pönitz <poenitz@gmx.net>
3848 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3850 2003-10-01 André Pönitz <poenitz@gmx.net>
3852 * factory.C: assert early
3854 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * lyx_main.C: remove the global debug object
3858 * debug.h: adjust for new debugstream
3860 * debug.C: adjust for new debugstream and keep the global debug
3863 2003-09-22 Angus Leeming <leeming@lyx.org>
3865 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3866 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3867 an incomplete class LyXFont.
3869 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3871 * factory.C: bug fix in branches
3873 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * lyxfunc.C (processKeySym): adjust
3877 (dispatch): change arg name from ev to func, adjust
3878 (sendDispatchMessage): ditto
3880 * lyx_main.C (defaultKeyBindings): adjust keybindings
3881 (deadKeyBindings): ditto
3883 * kbsequence.C (addkey): return a FuncRequest
3885 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3887 * kbmap.C (bind): take a FuncRequest as arg, adjust
3890 (defkey): change to take a FuncRequest as arg, adjust
3891 (findbinding): take a FuncRequest as arg, adjust.
3893 * funcrequest.h (operator=): added
3895 * funcrequest.C (FuncRequest): default kb_action changed from
3896 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3898 * buffer.C (dispatch): simplify
3899 (dispatch): adjust to take a FuncRequest as arg, adjust
3901 * boost.C (assertion_failed): change assertion message slightly
3903 * ToolbarBackend.C (read): simplify
3905 * MenuBackend.C (binding): adjust call to findbinding, add a
3906 message if no binding is found.
3908 (expandToc): correct by adding a empty FuncRequest
3910 * LyXAction.C: include <boost/assert.hpp>
3911 (isPseudoAction): delete function
3912 (LookupFunc): change name to...
3913 (lookupFunc): this. change return type to FuncRequest.
3914 (getActionName): take kb_action as arg, simplify
3915 (funcHasFlag): add an assert, simplify.
3917 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3919 * toc.C (action): return a FuncRequest, simplify
3921 * lyxfunc.C (processKeySym): adjust
3922 (getStatus): delete version that takes an int.
3924 (dispatch): delete version that takes action as int
3926 (sendDispatchMessage): simplify and adjust
3928 * funcrequest.C (getArg): take unsigned int as arg
3930 * ToolbarBackend.C (read): adjust
3931 (add): delete version that takes func as a string.
3932 (getIton): take a FuncRequest as arg
3934 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3937 * MenuBackend.C (MenuItem): add a new construct that only takes a
3938 Kind, simplify the constructor use for submenus.
3940 (expandLastfiles): adjust
3941 (expandDocuments): adjust
3942 (expandFormats): adjust
3943 (expandFloatListInsert): adjust
3944 (expandFloatInsert): adjust
3945 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3947 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3948 Remove class variables lyx_pseudo_map and lyx_arg_map
3950 * LyXAction.C (searchActionArg): delete function
3951 (getPseudoAction): delete function
3952 (retrieveActionArg): delete function
3953 (LookupFunc): make it return kb_action, simplify.
3954 (getActionName): simplify
3956 * factory.C (createInset): fix new bug
3958 2003-09-19 Angus Leeming <leeming@lyx.org>
3960 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3961 masterFilename_ parameter in the include inset.
3963 * factory.C (createInset): changes due to the changes to InsetInclude.
3965 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3967 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3969 2003-09-18 Angus Leeming <leeming@lyx.org>
3972 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3973 Inset::fillWithBibKeys.
3974 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3976 2003-09-18 Angus Leeming <leeming@lyx.org>
3978 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3980 (ctor): pass and store a 'Buffer const &'
3981 (buffer): new member function.
3983 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3984 '*this' to the LaTeXFeatures ctor.
3986 2003-09-18 Angus Leeming <leeming@lyx.org>
3992 * text.C: rename EnumLColor as LColor_color.
3994 2003-09-18 Angus Leeming <leeming@lyx.org>
3996 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3997 remove #include "insets/insetbase.h" from cursor.h.
3999 2003-09-18 Angus Leeming <leeming@lyx.org>
4001 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4002 InsetOld_code to remove #include "inset.h".
4004 * iterators.C: add #include "insets/inset.h"
4006 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4008 * BufferView.C: remove more locking stuff that apparently doesn't
4009 do anything sensible.
4011 2003-09-16 André Pönitz <poenitz@gmx.net>
4014 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4017 2003-09-16 Angus Leeming <leeming@lyx.org>
4019 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4021 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4024 * paragraph.h: remove #include "lyxfont.h". Forward declare
4027 2003-09-16 Angus Leeming <leeming@lyx.org>
4029 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4030 of support/textutils.h.
4031 (isWord): move the contents of support/textutils.h's IsWordChar here.
4037 * text2.C: add #include "paragraph.h".
4040 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4042 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4048 * LaTeX.C: use namespace alias for lyx::support::os
4050 2003-09-16 Angus Leeming <leeming@lyx.org>
4053 * bufferview_funcs.C:
4056 * paragraph_pimpl.C:
4058 * text.C: add #include "LColor.h".
4060 2003-09-16 Angus Leeming <leeming@lyx.org>
4062 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4063 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4065 Store the FontBits::color variable as an int rather than as an
4066 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4069 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4070 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4071 string calls together.
4073 * lyxrc.C: add #include "LColor.h".
4075 2003-09-15 Angus Leeming <leeming@lyx.org>
4077 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4080 2003-09-15 Angus Leeming <leeming@lyx.org>
4082 * LColor.h: add an EnumLColor wrapper for LColor::color.
4084 * lyxfont.[Ch] (color, setColor, realColor):
4085 * lyxtext.h, text.C (backgroundColor):
4086 pass EnumLColor args to/from the functions, rather than LColor::color
4090 * lyxtext.h: forward declare EnumLColor.
4092 * lyx_main.C: add #include "LColor.h".
4094 2003-09-15 Angus Leeming <leeming@lyx.org>
4096 * .cvsignore: add lyx-gtk.
4098 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * ParagraphParameters.C
4107 * bufferview_funcs.C
4117 * vc-backend.C: remove usage of STRCONV
4119 2003-09-15 Angus Leeming <leeming@lyx.org>
4121 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4122 explicitly define the color passed to the painter.
4124 2003-09-15 Angus Leeming <leeming@lyx.org>
4126 * bufferparams.C (BufferParams): reorder member initializers to avoid
4129 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4131 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4132 * text.C (updateRowPositions): remove an unusual nop
4134 2003-09-12 André Pönitz <poenitz@gmx.net>
4136 * BufferView_pimpl.C:
4145 * Counters.[Ch]: finish the 'automatic counters' job
4147 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4149 * aspell.C: include <boost/assert.cpp> (compile fix)
4151 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4153 * boost.C (assertion_failed): use lyx::support::abort instead of
4156 2003-09-10 Angus Leeming <leeming@lyx.org>
4158 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4159 with their _fwd progeny.
4161 2003-09-09 Angus Leeming <leeming@lyx.org>
4163 134 files throughtout the source tree: replace 'using namespace abc;'
4164 directives with the appropriate 'using abc::xyz;' declarations.
4166 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4168 * boost.C (emergencyCleanup): moved here from LAssert.c
4169 (assertion_failed): new function, called by BOOST_ASSERT
4171 * several files: change Assert to BOOST_ASSERT
4173 2003-09-09 Angus Leeming <leeming@lyx.org>
4175 * buffer.[Ch]: Add an Impl class and move Buffer's member
4176 variables into it. As a result move several header files out of
4179 Add header files to lots of .C files all over the tree as a result.
4181 2003-09-09 Angus Leeming <leeming@lyx.org>
4183 * buffer.[Ch]: make Buffer's member variables private. Add
4186 Lots of changes all over the tree as a result.
4188 2003-09-08 Angus Leeming <leeming@lyx.org>
4190 * graph.C: #include <config.h>.
4192 2003-09-08 Angus Leeming <leeming@lyx.org>
4196 * BufferView_pimpl.C:
4225 * toc.C: remove redundant using directives.
4227 2003-09-07 Angus Leeming <leeming@lyx.org>
4229 * LaTeXFeatures.h: remove #include "support/types.h".
4230 * ToolbarBackend.h: remove #include <algorithm>.
4231 * changes.h: remove #include <ctime>.
4232 * debug.h: remove #include <iosfwd>.
4233 * graph.h: remove #include "support/std_string.h".
4234 * lyx_main.h: remove #include <csignal>.
4235 * lyxlex_pimpl.h: remove #include <fstream>.
4236 * sgml.h: remove #include <algorithm>, <utility>.
4237 * toc.h: remove #include "support/std_ostream.h".
4238 Add #include <iosfwd>.
4240 2003-09-07 Angus Leeming <leeming@lyx.org>
4242 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4244 * converter.h: forward declare LatexRunParams.
4245 * encoding.h: remove #include "lyxrc.h".
4246 * lyxtext.h: remove #include "LColor.h".
4247 * lyxtextclass.h: remove #include "support/types.h".
4248 * trans.h: remove #include "tex-accent.h".
4249 * trans_mgr.h: remove #include "tex-accent.h".
4250 * insets/inset.h: remove #include "support/types.h", <vector>.
4251 * insets/insetcollapsable.h: remove #include "LColor.h".
4252 * insets/insetinclude.h: remove #include "dimension.h".
4253 * insets/insetlatexaccent.h: remove #include "dimension.h".
4254 * insets/insetoptarg.h:: remove #include "insettext.h".
4255 * insets/insettext.h: remove #include "dimension.h",
4256 <boost/shared_ptr.hpp>
4258 * insets/renderers.h: add #include "dimension.h".
4259 * insets/updatableinset.h: add #include "support/types.h".
4261 * many .C files: Associated changes.
4263 2003-09-06 Angus Leeming <leeming@lyx.org>
4265 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4266 one, inside testInvariant.
4268 * PrinterParams.C: new file.
4269 * PrinterParams.[Ch]: move the function bodies out of line.
4271 2003-09-06 Angus Leeming <leeming@lyx.org>
4273 * ParagraphParameters.h: forward declare ParameterStruct rather than
4274 including its header file.
4275 (depth): moved out-of-line.
4277 2003-09-06 Angus Leeming <leeming@lyx.org>
4279 * BufferView_pimpl.h:
4282 * lyxfunc.h: forward declare LyXKeySym rather than
4283 #include "frontends/LyXKeySym.h".
4285 * BufferView_pimpl.C:
4288 * lyxfunc.C: associated changes.
4290 2003-09-06 Angus Leeming <leeming@lyx.org>
4292 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4293 As a result, can remove the #include "insets/inset.h" from BufferView.h
4295 2003-09-06 Angus Leeming <leeming@lyx.org>
4297 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4298 As a result, can remove the #include "insets/inset.h" from BufferView.h
4300 2003-09-06 Angus Leeming <leeming@lyx.org>
4306 * bufferview_funcs.C:
4307 * BufferView_pimpl.C:
4312 * ParagraphParameters.C:
4317 * frontends/controllers/ControlDocument.C:
4318 * insets/insetcaption.C: rearrange the #includes into some sort of
4321 * buffer.h: remove #includes ErrorList.h, undo.h
4323 2003-09-06 Angus Leeming <leeming@lyx.org>
4325 * support/types.h: add a 'depth_type' typedef, used to store the
4326 nesting depth of a paragraph.
4329 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4330 defining explicitly.
4333 * paragraph_funcs.h:
4334 * ParagraphParameters.h:
4335 * sgml.h: use lyx::depth_type rather than Paragraph or
4336 ParameterStruct's depth_type.
4339 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4342 * BufferView_pimpl.C:
4344 * ParagraphParameters.C:
4347 * bufferview_funcs.C:
4354 * frontends/LyXView.C:
4355 * frontends/controllers/ControlDocument.C:
4356 * frontends/controllers/ControlErrorList.C:
4357 * insets/insetbibitem.C:
4358 * insets/insetbranch.C:
4359 * insets/insetcaption.C:
4360 * insets/insetcollapsable.C:
4361 * insets/insetenv.C:
4362 * insets/insetert.C:
4363 * insets/insetfloat.C:
4364 * insets/insetfoot.C:
4365 * insets/insetfootlike.C:
4366 * insets/insetnewline.C:
4367 * insets/insetquotes.C:
4368 * insets/insettabular.C:
4369 * insets/insettext.C:
4370 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4372 * frontends/controllers/ControlChanges.C: #include "changes.h".
4374 2003-09-06 Angus Leeming <leeming@lyx.org>
4376 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4377 than #including paragraph.h.
4380 * RowList.h: deleted. Superfluous.
4390 * insets/insettext.h: use ParagraphList_fwd.h rather than
4393 * paragraph.h: don't forward declare ParagraphList.
4396 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4397 rather than ParagraphList.h. paragraph.h is still needed for the
4398 Paragraph::depth_type parameters.
4400 * textcursor.h: enable it to compile stand-alone in light of the
4403 * bufferview_funcs.C:
4415 * frontends/controllers/ControlParagraph.C:
4416 * frontends/controllers/ControlTabular.C:
4417 * insets/insetmarginal.C:
4418 * insets/insetminipage.C:
4419 * insets/insetnote.C:
4420 * insets/insetoptarg.C: add header files needed to compile again.
4422 2003-09-06 Angus Leeming <leeming@lyx.org>
4424 * RowList_fwd.h: new file, forward-declaring Row rather than
4425 #including lyxrow.h.
4430 * insets/insettext.h: use it instead of RowList.h
4432 * bufferview_funcs.C:
4439 * text3.C: #include "RowList.h".
4441 2003-09-05 Angus Leeming <leeming@lyx.org>
4443 * factory.C (createInset):
4444 * vspace.C (c-tor): replace sscanf call with an istringstream.
4445 * ispell.C: re-add missing HP/UX headers.
4446 * lyxserver.C: re-add missing os2 headers.
4448 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4457 * text3.C: re-add missing system headers, needed for 2.95.2.
4459 2003-09-05 Angus Leeming <leeming@lyx.org>
4461 Changes most place everywhere due to the removal of using directives
4462 from support/std_sstream.h.
4464 2003-09-05 Angus Leeming <leeming@lyx.org>
4466 Replace LString.h with support/std_string.h,
4467 Lsstream.h with support/std_sstream.h,
4468 support/LIstream.h with support/std_istream.h,
4469 support/LOstream.h with support/std_ostream.h.
4471 Changes resulting throughout the tree.
4473 2003-09-05 Angus Leeming <leeming@lyx.org>
4475 * sgml.h: ensure that the header file can be compiled stand-alone.
4476 * *.C: strip out redundant #includes. (320 in total.)
4478 2003-09-04 Angus Leeming <leeming@lyx.org>
4480 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4481 here (from getPackages).
4483 * debug.[Ch]: add a new EXTERNAL tag.
4485 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4487 * text2.C (cursorEnd): simplify
4489 (getColumnNearX): adjust
4491 * text.C (computeBidiTables): adjust
4494 * rowpainter.C (paintChars): adjust
4495 (paintSelection): adjust
4496 (paintChangeBar): adjust
4499 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4501 (numberOfSeparators): adjust
4503 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4509 * text3.C: Restricts the mouse click functionality
4510 of insets like bibtex, include, toc and floatlist to the visible
4511 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4512 up the dialogs. Cursor has to be in front of the inset (i.e.
4513 start of row) for this to function.
4515 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4517 * bufferview_funcs.C (currentState): output row information
4519 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4521 * bufferview_funcs.C (currentState): output paragraph position
4523 2003-09-04 Angus Leeming <leeming@lyx.org>
4525 * FloatList.h: move out #include "Floating.h".
4526 * LaTeX.h: move out #include "DepTable.h".
4527 * LyXAction.h: move out #include "funcrequest.h".
4528 * buffer.h: move out #include "author.h", "iterators.h".
4529 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4530 * lyx_main.h: move out #include "errorlist.h".
4531 * lyxfunc.h: move out #include "FuncStatus.h".
4532 * lyxtext: move out #include "lyxcursor.h".
4533 * paragraph_pimpl.h: move out #include "counters.h".
4535 2003-09-03 Angus Leeming <leeming@lyx.org>
4537 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4538 preamble_snippets list, enabling us to add snippets to the preamble
4539 only if the snippet was not there already.
4541 2003-09-04 Angus Leeming <leeming@lyx.org>
4543 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4545 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4547 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4550 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4552 * BranchList.C: point fix, earlier forgotten
4554 2003-09-02 Angus Leeming <leeming@lyx.org>
4556 * box.C (contains): renamed from 'contained' after a fantastic
4559 2003-09-02 John Levon <levon@movementarian.org>
4565 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4567 2003-09-02 John Levon <levon@movementarian.org>
4569 * text2.C: simplification of cursorEnd(), including partial
4572 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4574 * buffer.C (readFile): add a space
4576 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4578 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4580 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4582 * buffer.C (readFile): new function, take a filename and a
4583 ParagraphList::iterator
4585 (readFile): adjust, make it private. don't use setStream, make
4586 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4587 always contain the filename.
4589 * BufferView.C (insertLyXFile): simplify and make it work for
4592 2003-08-30 John Levon <levon@movementarian.org>
4594 * Makefile.am: fix dist (from Kayvan)
4596 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4598 * most files: change to use const Buffer refs
4600 2003-08-27 André Pönitz <poenitz@gmx.net>
4602 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4603 on top of ownerPar().
4605 2003-08-27 John Levon <levon@movementarian.org>
4607 * funcrequest.C: properly initialise POD members
4609 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4611 * lyxtext.h (top_y): move top_y from here
4616 * BufferView_pimpl.[Ch]: to here
4617 * frontends/screen.C:
4618 * insets/insettabular.C:
4619 * insets/insettext.C: adjust
4620 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4622 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4625 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4627 2003-08-26 André Pönitz <poenitz@gmx.net>
4629 * paragraph_func.[Ch] (outerPar): new function
4632 * paragraph_funcs.C:
4633 * paragraph_funcs.h:
4634 * paragraph_pimpl.C:
4635 * text2.C: remove Inset::par_owner
4637 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4642 * text2.C: eliminates the needFullRow/display() stuff
4643 altogether, putting the logic in metrics/draw in the insets.
4645 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4647 * text2.C (redoParagraphInternal, redoParagraphs):
4648 * text.C (redoParagraph): add a call to updateRowPositions at the
4649 end of each 'metrics-like' call. Remove all others.
4650 (getRow): remove the 'y-computing' version.
4651 (getRowNearY): do not compute nor return the real y. Solve the
4652 'y < 0' problem and simplify.
4654 2003-08-22 Angus Leeming <leeming@lyx.org>
4656 * *.[Ch]: clean-up of licence and author blurbs.
4657 Also move config.h out of a few .h files and into a few .C files.
4659 2003-08-22 André Pönitz <poenitz@gmx.net>
4661 * lyxrow.[Ch]: add x_ and *fill_ members
4666 * text2.C: adjust/remove prepareToPrint() calls
4668 2003-08-22 André Pönitz <poenitz@gmx.net>
4670 * lyxrow.[Ch]: add end_ member
4672 * lyxrow_funcs.C: use LyXRow::end_
4674 * lyxtext.h (singleWidth): add LyXFont parameter
4677 * text2.C: adjust LyXText::singleWidth() calls
4679 * text.C (redoParagraph): simplify row breaking logic
4682 2003-08-19 André Pönitz <poenitz@gmx.net>
4684 * funcrequest.C: initialize button_ member
4687 * rowpainter.[Ch]: interface consolidation
4689 2003-08-18 André Pönitz <poenitz@gmx.net>
4692 * BufferView_pimpl.C:
4694 * paragraph_funcs.C:
4696 * text3.C: remove LyXScreen::draw() and fitCursor calls
4698 * BranchList.h: remove spurious semicolons
4700 * MenuBackend.C: fix branchlist related crash
4702 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4710 * bufferparams.[Ch]:
4714 * text3.C: implements the 'branch inset'
4715 idea. This allows the output of various versions of a document
4716 from a single source version, selectively outputing or suppressing
4717 output of parts of the text.
4718 This implementation contains a 'branch list editor' in a separate
4719 tab of the document settings dialog. Branches are user definable
4720 and have a "display colour" to distinguish them on-screen.
4722 ColorHandler was somewhat cleaned up.
4723 (1) make possible a dynamically growing LColor list by allowing
4724 the graphic context cache to grow along (vector);
4725 (2) eliminate an IMHO unnecessary step in colour allocation.
4727 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4729 * BufferView_pimpl.C: compile fix
4731 2003-08-15 André Pönitz <poenitz@gmx.net>
4733 * rowpainter.C: remove extra metrics calls
4735 * lyxtext.h: merge the two constructors into a single one,
4736 pass reference to owner's par list
4738 * BufferView_pimpl.C:
4742 2003-08-15 André Pönitz <poenitz@gmx.net>
4744 * lyxrow_funcs.[Ch]:
4747 * paragraph_funcs.C:
4752 * text_funcs.C: split LyXText::rowlist_ into individual
4753 Paragraph::rows_ chunks
4756 * BufferView_pimpl.[Ch]:
4759 * text3.C: remove toggleSelection()
4761 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4763 * bufferlist.C: beautify two alerts (shorter text of buttons)
4764 * buffer.C: Remove redundant ' ' from message
4766 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4767 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4768 rename VALIGN_CENTER to VALIGN_MIDDLE
4770 2003-08-11 André Pönitz <poenitz@gmx.net>
4772 * lyxtext.h (getPar):
4773 * text.C: new function
4775 2003-08-11 André Pönitz <poenitz@gmx.net>
4778 * tracer.[Ch]: remove unneeded files
4780 * InsetList.[Ch]: remove resizeInsetsLyXText()
4785 * text3.C: merge insertParagraphs() and appendParagraph()
4786 remove breakAgain(), update()
4788 * BufferView_pimpl.[Ch]:
4789 * bufferview_funcs.[Ch]:
4793 * tabular.C: adjust after text & InsetList changes.
4795 2003-08-08 André Pönitz <poenitz@gmx.net>
4797 * text.C (insertChar, backspace): replace rowlist fiddling
4798 with rebreak of full par
4801 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4802 checkParagraph, updateInset): removed
4804 2003-08-07 André Pönitz <poenitz@gmx.net>
4807 * text3.C: merge some LFUN handlers, remove dead code
4809 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4811 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4813 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4815 * text2.C (DEPM): fix part of bug 1255 and 1256
4817 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4819 * BufferView_pimpl.C (workAreaDispatch): change to use
4820 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4821 that are no mouse related.
4823 2003-08-05 André Pönitz <poenitz@gmx.net>
4826 * BufferView_pimpl.[Ch]:
4827 * bufferview_funcs.C:
4829 * text3.C: rip out "deep update"
4831 * textcursor.[Ch] (last_sel_cursor): remove unused member
4833 2003-08-04 André Pönitz <poenitz@gmx.net>
4836 * BufferView_pimpl.[Ch]:
4837 * ParagraphParameters.C:
4838 * bufferview_funcs.C:
4844 * text3.C: replace "complicated" BufferView::update(...) calls with
4847 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4849 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4851 * Makefile.am (lyx_SOURCES): add paper.h
4853 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4855 * Makefile.am: move things around so that both lyx-qt and
4856 lyx-xforms can be built (according to --with-frontend). Then lyx
4857 is a symbolic link to lyx-[firstfrontend]
4859 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4861 * Always use std::endl with lyxerr
4863 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4865 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4867 2003-08-01 André Pönitz <poenitz@gmx.net>
4870 * BufferView_pimpl.[Ch]:
4872 * text3.C: merge BufferView::repaint() and BufferView::update()
4874 2003-08-01 José Matos <jamatos@lyx.org>
4876 * buffer.[Ch]: file_format is no longer a buffer data element.
4878 2003-08-01 André Pönitz <poenitz@gmx.net>
4883 * text2.C: make redoParagraph more independent of current cursor
4885 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4887 * text2.C: remove unneeded members
4889 2003-07-30 André Pönitz <poenitz@gmx.net>
4891 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4893 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4894 create a single function...
4896 * paragraph_funcs.C (moveItem): ... here.
4899 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4901 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4903 * LColor.[Ch]: Add comment and greyedout logical colors.
4905 2003-07-30 André Pönitz <poenitz@gmx.net>
4907 * tabular.C: don't use Assert too heavily. This crashes where it
4910 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4912 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4913 is disabled (bug 1232)
4915 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4917 * factory.C: limited 'arg' scope
4919 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4921 * factory.C: fixed Note submenu issues
4923 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4925 * factory.C: submenu for Note/Comment/Greyedout
4927 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4930 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4932 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4935 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4936 greyedout. Patch provided by Jürgen Spitzmüller.
4938 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4940 * kbmap.C (read): fix error message when reading bind files
4942 2003-07-29 Angus Leeming <leeming@lyx.org>
4944 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4945 certainly does not do what it purports to do. I am doing it, and
4946 us, a favour by killing it.
4948 2003-07-28 José Matos <jamatos@lyx.org>
4950 * buffer.C (readBody, do_writeFile):
4951 * paragraph.C(readParagraph): \end_document replaces \the_end.
4953 2003-07-29 André Pönitz <poenitz@gmx.net>
4956 * BufferView_pimpl.[Ch]:
4960 * textcursor.[Ch]: remove toggleToggle & Co
4962 2003-07-28 José Matos <jamatos@fep.up.pt>
4964 * buffer.C (readParagraph):
4965 * params_func (readParToken, readParagraph):
4966 * paragraph.C (write): \layout -> \begin_layout.
4968 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4970 * lyxlex_pimpl.C (setFile): clean up slightly.
4972 * bufferparams.h: add compressed var
4974 * buffer_funcs.C (readFile): adjust for LyXLex change
4975 (newFile): ditto + simplify
4977 * buffer.C (writeFile): handle writing of compressed files
4979 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4980 Check if the file is compressed and set a bufferparm if so.
4982 * Makefile.am (lyx_LDADD): remove explicit -lz
4984 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4986 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4987 makeDocBookFile): put the real LyX version in the first line of
4991 * version.C.in: remove lyx_docversion
4993 * tabular.C (write_attribute): add a template-based version to
4994 write enums properly
4996 2003-07-28 André Pönitz <poenitz@gmx.net>
5001 * text3.C: use doubles again for x-coordinates. They are needed.
5003 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * messages.C (getLocaleDir): use lyx_localedir()
5007 * lyxlex_pimpl.C (setFile): compress stuff
5009 * buffer.C (writeFile): add some compression stuff
5010 (do_writeFile): new func, dont call expliti close... will this
5013 * Makefile.am (lyx_LDADD): add -lz
5015 2003-07-28 José Matos <jamatos@fep.up.pt>
5017 * buffer.C: increment file format.
5018 * paragraph_funcs (readParagraph, readParToken):
5019 * paragraph.C (readParagraph): add \end_layout.
5021 2003-07-27 Angus Leeming <leeming@lyx.org>
5023 * Makefile.am: remove special casing for configure-time setting of
5024 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5026 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5027 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5029 2003-07-26 André Pönitz <poenitz@gmx.net>
5031 * paragraph_func.[Ch]:
5032 * paragraph.C (realizeFont): inline it whereever it is used
5037 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5040 2003-07-26 André Pönitz <poenitz@gmx.net>
5044 * text2.C: get rid of LyXText::need_break_row
5046 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5048 * toc.[Ch]: put namespace toc inside namespace lyx
5050 * MenuBackend.C (expandToc2): adjust for lyx::toc
5053 * lyxfunc.C (dispatch): adjust for lyx::find
5055 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5056 lyx::find instead. Reorganize a bit.
5057 (LyXReplace): rename to replace
5058 (LyXFind): rename to find
5060 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5063 2003-07-26 André Pönitz <poenitz@gmx.net>
5065 * text.C (setHeightOfRow): restrict scope of temporary variable
5067 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5068 code (never has been used?)
5070 2003-07-27 Asger Alstrup <alstrup@local>
5072 * text.C (fill): Optimise algorithm to exploit that we can reuse
5073 the LyXFont for many characters.
5074 (setHeightOfRow): Same thing.
5075 (rowBreakPoint): Same thing.
5077 2003-07-26 Asger Alstrup <alstrup@local>
5079 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5081 * text.C (singleWidth): Spurious font copying in hot-spot
5082 singleWidth avoided. Reorder tests for arabic for efficiency.
5084 * text.C (fill): handle empty paragraphs better.
5086 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5089 * encoding.h: add includes
5091 * lyxrc.C: remove reading of bind files
5093 * lyx_main.C (init): setup bindings and menus only if we have a
5096 * kbmap.C (read): new method. Do the actual reading of bind
5099 * converter.C (dvipdfm_options):
5102 (output): adapt PAPER_* enums.
5104 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5106 * bufferparams.h: remove paper-related enums from there
5108 * paper.h: New file. A trivial header file to hold paper-related
5109 enums. It should later expand to contain many paper-related
5112 * lyxrc.C: declare extern displayTranslator
5114 2003-07-27 José Matos <jamatos@fep.up.pt>
5116 * tabular.[Ch] (linuxdoc): add support for tables and figures
5119 2003-07-27 José Matos <jamatos@fep.up.pt>
5121 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5122 consistency in both functions.
5123 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5125 2003-07-26 Asger Alstrup <alstrup@local>
5127 * rowpainter.C (paintRows): Change algorithm to work directly on
5128 the insets rather than asking every character in the document
5129 whether its an inset.
5131 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5133 * buffer.C (openFileWrite): factorize some code
5135 2003-07-26 Angus Leeming <leeming@lyx.org>
5138 * lyx_main.[Ch]: replace occurances of system_tempdir with
5141 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5143 * rename Inset to InsetOld
5145 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5147 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5148 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5149 which I think is a bit clearer. EDIT is gone, since it was
5150 premature optimisation, and broken for mathed anyway.
5151 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5152 with cursor positioning in insets as well (math insets still do not
5153 work, but that's a different story anyway.) It mysteriously
5154 crashes sometimes with undo in the first paragraph, but I'm fairly
5155 confident that this is a compiler bug.
5157 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5159 * paragraph.C (Paragraph): adjust for new clone return type
5161 (copyIntoMinibuffer): ditto
5163 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5165 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5166 by not having a special case, and always doing a full rebreak of
5167 the document after undo.
5169 2003-07-23 Angus Leeming <leeming@lyx.org>
5171 * factory.C (createInset): InsetExternal::setParams now takes a
5174 2003-07-23 Angus Leeming <leeming@lyx.org>
5176 * factory.C (createInset): changed interface to the external and
5177 graphics mailers' string2params functions.
5179 2003-07-23 Angus Leeming <leeming@lyx.org>
5181 * factory.C (createInset): pass a
5182 Buffer const * parameter to InsetExternalMailer's string2params.
5184 2003-07-22 John Levon <levon@movementarian.org>
5186 * Thesaurus.h: include the right aiksaurus header
5188 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5190 * MenuBackend.C (expand): check menu shortcuts unconditionally
5192 2003-07-21 Angus Leeming <leeming@lyx.org>
5194 * factory.C (createInset): pass a
5195 buffer_path parameter to InsetGraphicsMailer's string2params.
5197 2003-07-21 Angus Leeming <leeming@lyx.org>
5199 * BufferView_pimpl.C (buffer):
5202 * lyxfunc.C (dispatch):
5203 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5204 rather than the grfx shortcut.
5206 2003-07-21 André Pönitz <poenitz@gmx.net>
5208 * rowpainter.C: remove unused variables
5211 * tabular_funcs.h: move to tabular.C
5212 * Makefile.am: adjust
5214 * tabular.[Ch]: basic optical cleaning
5216 * author.h: pass references, not values
5218 2003-07-18 André Pönitz <poenitz@gmx.net>
5226 * text3.C: two-phase drawing for InsetText and InsetTabular
5227 some float -> int changes.
5229 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5231 * lyx_main.C: fix the fix
5233 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5235 * lyx_main.C: fix a crash in batch mode if no files specified
5238 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5240 * format.[Ch] (papersize): moved to BufferParams
5241 * converter.[Ch] (dvips_options): moved to BufferParams
5242 (dvipdfm_options): moved to anon namespace
5243 * bufferparams.[Ch]: added above functions.
5245 2003-07-17 André Pönitz <poenitz@gmx.net>
5249 * text2.C: don't call inset->update() anymore
5251 * metricsinfo.[Ch]: add convenience constructor
5253 2003-07-16 André Pönitz <poenitz@gmx.net>
5258 * text2.C: replace the LyXCursor::irow_ member with
5259 on-demand computation of the value
5261 2003-07-16 John Levon <levon@movementarian.org>
5263 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5265 2003-07-15 André Pönitz <poenitz@gmx.net>
5268 * text2.C: remove no more needed refresh_row
5270 2003-07-15 André Pönitz <poenitz@gmx.net>
5275 * text3.C: refresh_status tristate -> need_update bool
5277 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5279 * lyxtext.h (init): remove reinit argument (act as if always true)
5280 * text2.C: adjust to that
5282 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5284 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5285 * text3.C: use it to delete selections in some cases
5286 (bugs 441, 673, 702, 954).
5288 2003-07-14 André Pönitz <poenitz@gmx.net>
5290 * rowpainter.[Ch]: reduce interface
5292 2003-07-14 André Pönitz <poenitz@gmx.net>
5294 * BufferView_pimpl.C:
5295 * text2.C: adjust after removing unused BufferView * argument
5297 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5299 * text2.C (init): fix a crash fired on resize
5301 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5303 * buffer.[Ch]: added new closing signal
5304 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5305 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5306 BufferView::Pimpl via the closing the signal
5308 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5310 * buffer.[Ch]: take out all bv-related from buffer
5312 * BufferView_pimpl.[Ch]: connect to new signals
5313 * CutAndPaste.C: removed useless asserts
5314 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5317 * lyxfunc.C: moved view-related funciontality from vc here
5318 * paragraph.C: removed outdated comments
5321 2003-07-10 André Pönitz <poenitz@gmx.net>
5323 * BufferView_pimpl.C:
5327 * text2.C: remove InsetText::InnerCache, clean up consequences
5329 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5331 * ispell.C: fix two typos in error messages
5333 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5335 * Extend Note inset to other forms of annotation like Comment
5336 and Greyedout. Right button click gives dialog.
5338 Files modified or added (+):
5342 * ControlNote.[Ch] +
5344 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5345 frontends/controllers
5349 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5351 * aspell.C: add missing namespace lyx::support
5353 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5355 * BufferView.[Ch] (newFile): Add
5356 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5357 * LaTeX.[Ch] (message): added this signal and use it
5358 * buffer.[Ch] (busy, message): added these signals and use them
5359 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5363 * importer.C: use buffer signals instead of direct bv calling
5364 * lyx_cb.[Ch] (ShowMessage): removed
5367 * paragraph_funcs.C:
5368 * text2.C: use buffer signals
5370 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5372 * introduce namespace lyx::graphics
5374 2003-07-02 André Pönitz <poenitz@gmx.net>
5376 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5378 2003-07-01 André Pönitz <poenitz@gmx.net>
5385 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5386 text*.C to text_func.C
5388 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5390 * introduce namespace lyx::support
5392 2003-06-30 André Pönitz <poenitz@gmx.net>
5397 * text.C: re-enable --with-included-string
5399 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5401 * textcursor.C: add <config.h>
5403 * text.C (getWord): remove const from word_location arg
5405 * lyxvc.C (getLogFile): fix const type order
5407 * lyxtext.h: remove const from word_location arg, add arg name
5409 * lyxlayout.h: currect type on labeltype.
5411 * importer.C: correct \file
5413 * converter.C (intToFormat): use std:: on ret val, ws changes
5415 * bufferlist.h: correct \file
5417 * buffer.C (makeLinuxDocFile): fix const type order
5418 (makeDocBookFile): ditto
5419 (fillWithBibKeys): use std:: on stdlib args.
5421 * CutAndPaste.C: fix authors.
5422 (availableSelections): use std:: on return vector
5424 2003-06-27 André Pönitz <poenitz@gmx.net>
5426 * BufferView_pimpl.C:
5427 * bufferview_funcs.C:
5435 * text3.C: remove LyXCursor::row_ member
5438 * text.C: rename fullRebreak() to partialRebreak() and implement
5439 a fullRebreak() that really bereks fully
5441 * textcursor.h: new struct for cursor-related data
5443 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5445 * lyx_main.C (LyX): get full path of document loaded on the
5448 2003-06-26 André Pönitz <poenitz@gmx.net>
5450 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5451 remove unused/broken operator>,<,>=.
5453 * text.C: remove only use of broken operator<= in an Assert().
5455 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5457 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5458 moved errorlist_.clear to showErrorList
5460 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5462 * converter.C (scanLog, runLaTeX):
5463 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5464 move the bv->showErrorList call to the callers
5465 * lyxfunc.C: i.e. here...
5467 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5468 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5469 namespace, the second to...
5470 * buffer_funcs (BufferFormat, parseErrors): added
5471 * errorlist.C (ErrorList(TeXErrors const &)): removed
5473 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5475 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5477 2003-06-24 "Garst R. Reese" <reese@isn.net>
5481 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5483 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5485 * version.C.in: change docversion to 1.4
5487 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5489 * buffer.C: fix a bug just introduced
5491 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5493 * buffer.[Ch]: added the parseError signal and use it, removed
5495 * BufferView.[Ch] (addError): moved to ...
5496 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5497 to the Buffer::parseError signal to catch (guess what) parse errors
5498 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5500 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5502 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5503 ability to create a buffer and to return an existing one from
5504 the list. Moved these functions to...
5505 * buffer_funcs.[Ch]: added
5506 * BufferView.[Ch] (loadLyXFile): added
5507 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5508 job removed from bufferlist::loadLyXFile.
5509 * buffer.C (setReadOnly): make it work without view
5510 (i.e added an if (users))
5512 2003-06-19 Angus Leeming <leeming@lyx.org>
5515 * LyXAction.C (init):
5516 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5517 with LFUN_DIALOG_SHOW <name> <data>.
5519 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5521 * CutAndPaste.C (availableSelections): small compilation fix for
5522 ancient (gcc 2.9x) compilers
5524 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5526 * text3.C (cursorNext): add tmp var
5528 * text2.C (updateCounters): for function calling out of for clause
5529 (replaceSelectionWithString): ditto
5530 (insertStringAsParagraphs): ditto
5531 (getColumnNearX): add tmp var
5532 (setCursorFromCoordinates): add tmp var
5533 (cursorDownParagraph): add tmp var
5534 (deleteEmptyParagraphMechanism): add tmp var
5536 * text.C (insertChar): add tmp var
5538 * rowpainter.C (paintDepthBar): add tmp var
5540 * CutAndPaste.C (availableSelections): potentially check all
5541 paragraphs in a cut to fill the shown strings.
5543 2003-06-18 André Pönitz <poenitz@gmx.net>
5545 * kbmap.[Ch]: use vector<> instead of list<>
5547 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5549 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5550 pasteSelection with index
5552 * text2.C (pasteSelection): modify, call pasteSelection with index
5554 * paragraph.C (asString): reimplement version with no interval to
5555 call the one with interval.
5557 * lyxtext.h: add index arg to pasteSelection
5559 * MenuBackend.C (MenuItem): handle PasteRecent
5560 (Menu::read::Menutags): add md_pasterecent
5562 (expandPasteRecent): new function
5565 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5567 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5569 (availableSelections): new function
5571 2003-06-17 Angus Leeming <leeming@lyx.org>
5573 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5575 2003-06-17 Angus Leeming <leeming@lyx.org>
5578 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5580 * lyxfunc.C (dispatch): invoke it.
5582 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5584 * iterators.C (operator++, ParPosition): reintroduce some
5585 const_cast for the benefit of older compilers.
5587 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5589 * text3.C (dispatch): do not modify clipboard when doing
5590 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5591 LFUN_DELETE_SKIP on a selection selection
5593 2003-06-16 André Pönitz <poenitz@gmx.net>
5599 * tabular.[Ch]: IU of clone() and getLabelList();
5601 2003-06-13 André Pönitz <poenitz@gmx.net>
5603 * tabular.h: compactification
5605 2003-06-12 André Pönitz <poenitz@gmx.net>
5609 * tabular_funcs.h: some renaming plus whitespace
5611 2003-06-12 André Pönitz <poenitz@gmx.net>
5614 * BufferView_pimpl.C:
5620 * toc.C: Return a Paragraph & for ParIterator::operator*()
5622 2003-06-11 John Levon <levon@movementarian.org>
5626 * ToolbarBackend.C: add "Toolbars" section and
5629 2003-06-10 Angus Leeming <leeming@lyx.org>
5632 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5634 * lyxfunc.C (dispatch): invoke it.
5636 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * main.C: protect <ios> with HAVE_IOS
5639 (main): protect sync_with_stdio with HAVE_IOS
5641 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5643 * text2.C (cutSelection): adjust
5644 (pasteSelection): adjust
5646 * messages.C: handle get of empty string
5648 * main.C (main): use sync_with_stdio(false)
5650 * lyxfunc.C (dispatch): adjust
5652 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5653 (WriteAs): remove unneeded BufferView arg.
5655 * bufferparams.h: use correct types on papersize, papersize2 and
5658 * bufferparams.C (readToken): adjust for type
5659 (writeLaTeX): add missing cases to switch.
5661 * bufferlist.C (quitWriteBuffer): adjust
5664 * buffer.C (asciiParagraph): remove some commented code.
5666 * CutAndPaste.C: remove current_view extern variable.
5667 (cutSelection): add BufferParams arg.
5668 (eraseSelection): add BufferParams arg.
5669 (pasteSelection): add Buffer const & arg
5671 2003-06-07 John Levon <levon@movementarian.org>
5674 * paragraph_funcs.C:
5675 * paragraph_pimpl.C:
5679 * paragraph.C: allow InsetERT to freely space lines,
5680 and some consolidation of code
5682 2003-06-06 José Matos <jamatos@fep.up.pt>
5684 * buffer.C (makeDocBookFile): fix bug #821
5686 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5688 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5690 2003-06-04 Angus Leeming <leeming@lyx.org>
5692 * buffer.C: bump format to 224.
5694 2003-06-05 André Pönitz <poenitz@gmx.net>
5696 * text2.C (redoParagraphs): remove two const_cast<>
5698 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5700 * ParagraphList.h: remove last remnants of NO_STD_LIST
5702 2003-06-03 Angus Leeming <leeming@lyx.org>
5704 * factory.C (createInset): small change to the way InsetExternal's params
5707 2003-06-04 André Pönitz <poenitz@gmx.net>
5709 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5711 * paragraph_pimpl.h:
5712 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5714 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5716 * undo_funcs.C: make some simple cases of undo work again
5718 2003-06-03 John Levon <levon@movementarian.org>
5720 * ispell.C: HPUX doesn't have sys/select.h
5723 2003-06-03 John Levon <levon@movementarian.org>
5725 * CutAndPaste.C: update tabular and include inset
5730 * paragraph.C: remove owningBuffer(), don't pass Buffer
5733 * factory.C: insetGraphicsParams changed
5735 2003-06-02 John Levon <levon@movementarian.org>
5741 * text3.C: remove insetparent
5743 2003-06-02 John Levon <levon@movementarian.org>
5746 * buffer.C: fix inset_iterator.end(), move out of line
5749 2003-06-01 John Levon <levon@movementarian.org>
5751 * text3.C: use a proper cut/paste when doing inset
5752 insert (from Jürgen Spitzmüller)
5754 2003-06-01 John Levon <levon@movementarian.org>
5756 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5758 2003-05-30 André Pönitz <poenitz@gmx.net>
5760 * rowpainter.C: unify second drawing phase
5762 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * trans_mgr.C: remove one case of current_view
5766 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5768 * paragraph_funcs.h: remove paragraph.h include
5770 * paragraph.h: delete NO_STD_LIST stuff
5772 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5774 * buffer.h: remove paragraph.h include
5776 * ParagraphList.C: delete file
5778 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5780 * toc.C (getTocList): adjust
5782 * paragraph_pimpl.C (validate): adjust
5784 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5786 * paragraph.C (Paragraph): adjust
5787 (getPositionOfInset): use const_iterator, adjust
5788 (bibitem): use const_iterator, adjust
5789 (setInsetOwner): adjust
5791 * iterators.C (operator++): adjust
5793 * InsetList.[Ch]: Replace selfmade iterator with standard
5794 vector::iterator also introduce const_iterator. Remove getPos,
5795 getInset and setInset from InsetTable. Adjust accordingly.
5797 * BufferView.C (lockInset): adjust
5798 (ChangeInsets): adjust
5800 * tabular.[Ch]: delete commented same_id functions
5802 2003-05-28 John Levon <levon@movementarian.org>
5804 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5806 2003-05-28 André Pönitz <poenitz@gmx.net>
5808 * metricsinfo.[Ch]: remove 'fullredraw' member
5810 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5812 * lyxtextclass.C (operator): remove caching.
5814 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * text2.C (cursorBottom): adjust
5819 (setCounter): use ParagraphList::find, adjust
5821 * text.C (workWidth): use ParagraphList::find, adjust
5823 * lyxcursor.C (LyXCursor): adjust
5825 * buffer.C (inset_iterator): adjust
5827 * ParagraphList.h: make iterator(value_type) private, make
5828 ParagraphList a friend of iterator.
5830 * ParagraphList.C (find): new function
5832 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5834 2003-05-27 André Pönitz <poenitz@gmx.net>
5836 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5838 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5840 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5842 2003-05-26 John Levon <levon@movementarian.org>
5844 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5846 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5848 * remove same_id from function signatures, adjust.
5850 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5852 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5854 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5856 * paragraph.C (Paragraph): get rid of same_ids parameter
5858 * ParagraphList.C (insert): adjust
5861 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5863 * paragraph_funcs.C (breakParagraph): adjust
5864 (breakParagraphConservative): adjust
5866 * buffer.C (readParagraph): adjust
5868 * ParagraphList.C (insert): take a reference instead of a pointer
5871 * paragraph.[Ch] (id): new function
5873 * bufferlist.C (newFile): adjust
5875 * ParagraphList.C (ParagraphList): adjust
5877 (push_back): take a reference instead of a pointer.
5879 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5881 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5884 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5885 set else use old code.
5887 * ParagraphList.C: remove all NO_NEXT code and only compile this
5888 code of NO_STD_LIST is set.
5890 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5892 * BufferView_pimpl.C:
5902 * graphics/GraphicsConverter.C:
5903 * graphics/PreviewLoader.C: header adjustment
5905 2003-05-23 Angus Leeming <leeming@lyx.org>
5907 * LaTeXFeatures.[Ch] (useBabel): new method.
5908 * bufferparams.C (writeLaTeX): use it.
5910 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * ParagraphList.h (set): remove unused function.
5914 2003-05-23 André Pönitz <poenitz@gmx.net>
5917 * BufferView_pimpl.C:
5921 * undo_funcs.C: setUndo reworked
5923 * iterators.[Ch]: add access to topmost ParagraphList
5925 * lyxtext.[Ch] (workWidth): add a const
5927 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5929 * texrow.[Ch] (increasePos): remove function
5930 * exporter.C (export): removed unused var and outdated comment
5932 2003-05-23 Angus Leeming <leeming@lyx.org>
5934 * latexrunparams.h: rename fragile as moving_arg.
5935 * paragraph.C (simpleTeXOnePar): ditto.
5936 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5938 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5940 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5942 (textUndoOrRedo): comment out a currently unused var.
5944 * paragraph.h (NO_NEXT): enable NO_NEXT
5946 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5948 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5950 * exporter.C (Export): adjust for removeAutoInsets removal.
5952 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5954 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5956 * BufferView.[Ch] (removeAutoInsets): delete function
5958 2003-05-22 Angus Leeming <leeming@lyx.org>
5960 * latexrunparams.h: add a free_spacing variable.
5962 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5963 to pass moving_arg, as the data is stored in runparams.fragile.
5965 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5966 to Inset::latexOptional or to simpleTeXOnePar.
5968 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5969 free_spacing arg to Inset::latexOptional.
5971 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5974 2003-05-22 Angus Leeming <leeming@lyx.org>
5976 * latexrunparams.h: add fragile and use_babel variables.
5978 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5979 * buffer.C (makeLaTeXFile): store this returned value in
5980 runparams.use_babel, thus passing it to the inset::latex methods.
5982 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5983 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5985 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5986 longer has a fragile arg, as it is stored in runparams.fragile.
5988 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5989 moving_arg parameter as the data is stored in runparams.fragile.
5991 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5992 a fragile parameter as the data is stored in runparams.fragile.
5994 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5996 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5998 2003-05-22 Angus Leeming <leeming@lyx.org>
6000 * latexrunparams.h: add a 'bool nice' which defaults to false.
6002 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6003 now encapsulated within runparams.
6005 * bufferlist.C (updateIncludedTeXfiles):
6006 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6008 2003-05-22 Angus Leeming <leeming@lyx.org>
6010 * latexrunparams.h: new file containing struct LatexRunParams.
6011 * Makefile.am: add new file.
6013 * LaTeX.[Ch] (c-tor, run):
6014 * buffer.[Ch] (makeLaTeXFile):
6015 * bufferlist.[Ch] (updateIncludedTeXfiles):
6016 * converter.C (convert, scanLog):
6017 * converter.[Ch] (runLaTeX):
6018 * exporter.C (Export):
6019 * paragraph.[Ch] (simpleTeXOnePar):
6020 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6021 * paragraph_funcs.[Ch] (latexParagraphs):
6022 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6023 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6024 pass around a LatexRunParams parameter.
6026 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * paragraph.[Ch]: remove unused constructor
6030 * ParagraphList.C (erase): new function, taking two iterators
6032 2003-05-22 André Pönitz <poenitz@gmx.net>
6034 * undo_funcs.C: remove duplicated code
6036 * iterator.[Ch]: operator=
6038 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * tabular.C (SetMultiColumn): ws changes
6042 * rowpainter.C (paintFirst): get rid of a ->previous
6044 * lyx_cb.C (getPossibleLabel): parlist simplification
6046 * BufferView.C (ChangeInsets): simplify slightly.
6048 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6050 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6051 * lfuns.h: new LFUN_SPACE
6052 * lyxfunc.C: protected space has a new lfun
6053 * paragraph_funcs.C: read new space insets
6055 * factory.C: handle new space insets
6057 2003-05-22 André Pönitz <poenitz@gmx.net>
6060 * BufferView_pimpl.C:
6063 * undo_funcs.C: return a ParIterator from getParFromID.
6065 * iterators.[Ch]: add two const's
6067 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * toc.C (getTocList): adjust
6071 * iterators.[Ch]: rework for parlist
6073 * buffer.C (par_iterator_begin): adjust
6074 (par_iterator_end): adjust
6076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6078 * BufferView.C (removeAutoInsets): adjust
6079 (ChangeInsets): adjust
6081 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6083 * text.C (top_y): fix bug 1110
6085 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6087 * errorlist.[Ch]: added
6090 * BufferView_pimpl.C:
6091 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6094 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6096 * Makefile.am: ensure that lyx is relinked upon changes to the
6097 various "convenience" libs.
6099 2003-05-20 Angus Leeming <leeming@lyx.org>
6101 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6102 files are compiled in alphabetical order again.
6104 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6106 2003-05-19 Angus Leeming <leeming@lyx.org>
6108 * gettext.[Ch]: remove "char const * _(char const *)".
6110 2003-05-19 André Pönitz <poenitz@gmx.net>
6112 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6121 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6123 2003-05-19 André Pönitz <poenitz@gmx.net>
6127 * lyxtextclass.[Ch]:
6129 * paragraph_funcs.[Ch]:
6131 * text3.C: more insetenv work
6133 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6135 * ParagraphParameters.C (params2string): small bug fixed
6137 2003-05-16 André Pönitz <poenitz@gmx.net>
6140 * bufferview_funcs.C: patch from Kornel Benko to prevent
6141 crash when _(...) is called twice in a statement
6143 2003-05-16 André Pönitz <poenitz@gmx.net>
6150 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6152 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6154 * lyx_main.C (init): remove spurious static_cast
6156 2003-05-14 André Pönitz <poenitz@gmx.net>
6158 * BufferView.C: fix format string
6160 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6162 * BufferView.[Ch] (insertErrors): removed
6163 * BufferView.[Ch] (showErrorList): added
6164 * buffer.C (runChkTeX):
6165 * converter.C (scanLog): call showErrorList instead of inserterrors
6167 2003-05-13 André Pönitz <poenitz@gmx.net>
6169 * BufferView_pimpl.C:
6171 * bufferview_func.C:
6178 * tabular_funcs.h: tostr() from its own header
6180 * ParagraphParameters.C:
6185 * text3.C: STRCONV()
6187 2003-05-12 André Pönitz <poenitz@gmx.net>
6190 * BufferView_pimpl.C:
6194 * ParagraphParameters.C:
6198 * bufferview_funcs.C:
6211 * paragraph_funcs.C:
6215 * text3.C: boost::format -> bformat all over the place
6218 2003-05-09 André Pönitz <poenitz@gmx.net>
6220 * LColor.[Ch]: Pimpl the #include <map> away
6222 2003-05-09 John Levon <levon@movementarian.org>
6224 * bufferlist.C: never remove emergency saves
6226 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6228 * Makefile.am: better lib building
6230 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6234 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6235 (simpleTeXSpecialChars): adjust
6236 (simpleTeXSpecialChars): adjust
6237 * paragraph.C (simpleTeXOnePar): adjust
6238 * buffer.C (makeLaTeXFile): adjust
6240 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6242 * text2.C (changeDepth): parlist cleanup
6243 (getColumnNearX): ditto
6245 * rowpainter.C (getLabelFont): parlist cleanup
6247 * bufferlist.C (newFile): parlist cleanup
6249 * CutAndPaste.C (eraseSelection): parlist cleanup
6251 * BufferView_pimpl.C (trackChanges): parlist cleanup
6254 * BufferView.C (lockInset): parlist cleanup.
6255 (ChangeInsets): ditto
6257 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * CutAndPaste.h: Update file header.
6261 * CutAndPaste.C: Update file header.
6262 Store the parts cut out of the Document in a limited_stack.
6263 (copySelection): adjust
6264 (pasteSelection): new function, takes the index in the limited stack.
6265 (nrOfParagraphs): adjust
6266 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6267 simplify error inset insertion.
6268 (checkPastePossible): adjust
6270 2003-05-06 John Levon <levon@movementarian.org>
6272 * text2.C: don't cast wrap inset to float
6274 2003-05-05 André Pönitz <poenitz@gmx.net>
6277 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6279 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6280 few naked Paragraph *.
6282 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6284 * bufferparams.C: Output warning if a document with missing
6285 TeX document class is loaded
6286 * exporter.C: Disable TeX exports if the document class is missing
6289 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6290 isTeXClassAvailable()
6292 2003-05-03 John Levon <levon@movementarian.org>
6295 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6296 explicit cursor show/hide
6298 * BufferView_pimpl.h:
6299 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6300 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6302 * lyxfunc.C: hide cursor before dispatching.
6307 * text3.C: remove explicit cursor hides
6309 2003-05-02 André Pönitz <poenitz@gmx.net>
6311 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6314 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6317 * text2.C: tiny whitespace
6319 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * undo_funcs.C: almost only ws changes.
6323 * ParagraphList.C (splice): just return if pl is empty.
6325 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * ParagraphList.C (splice): new function.
6329 * CutAndPaste.C (pasteSelection): use it
6331 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * CutAndPaste.C (pasteSelection): remove the last next and
6334 previous from this file.
6336 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * CutAndPaste.C (pasteSelection): more clean up, user proper
6339 ParagraphList functions for pasteing.
6341 * ParagraphList.C (insert): new function, three arg insert
6343 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6345 * ParagraphList.C (insert): new function, three arg insert
6347 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6350 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6354 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6356 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6358 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6360 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6361 (copySelection): clean up a bit.
6362 (pasteSelection): use make_pair
6364 * ParagraphList.C (ParagraphList): implement copy constructor
6365 (operator=): implement, base on copy constructor.
6368 * paragraph.C (erase): return a bool
6370 * paragraph_pimpl.C (erasePos): remove function, move contents...
6371 (erase): ... here. Return a bool.
6372 (erase): call erase instead of erasePos.
6374 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6376 * ParagraphList.h: define PitPosPair
6377 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6378 ParagraphList, fix a bug on pasting multiple pars
6379 * text2.C: change interface to C&P
6381 2003-04-30 André Pönitz <poenitz@gmx.net>
6383 * undo_func.C: revert part of yesterday's patch 2
6385 2003-04-30 John Levon <levon@movementarian.org>
6387 * LColor.C: s/tabular/table/
6389 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * text3.C (dispatch): do not convert iterator -> pointer
6392 * undo_funcs.C (setCursorParUndo): ditto
6393 * text_funcs.C (transposeChars): ditto
6395 * text2.C (setLayout): ws changes only
6397 * text.C (breakParagraph): do not convert iterator -> pointer
6399 (acceptChange): ditto
6400 (rejectChange): ditto
6405 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6408 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6410 * text3.C (gotoInset): YABG (yet another bad getChar)
6412 2003-04-29 André Pönitz <poenitz@gmx.net>
6414 * paragraph.h: make operator= private unimplemented as long as
6417 * ParagraphList.C: whitespace
6420 * paragraph_pimpl.[Ch]:
6421 * paragraph_funcs.C:
6423 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6426 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6428 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6430 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6431 * paragraph.[Ch] (erase):
6432 * paragraph_pimpl.[Ch] (erase): change return type and value
6433 * text2.C (cutSelection): some rework
6435 2003-04-28 John Levon <levon@movementarian.org>
6437 * bufferlist.C: changes for unsaved changes dialog
6439 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * bufferlist.C (newFile): set language (messages_) for new
6444 * buffer.C (readFile): ws changes only.
6446 2003-04-28 André Pönitz <poenitz@gmx.net>
6451 * BufferView_pimpl.C:
6452 * BufferView.C: getParFromID related ParagraphList::iterator changes
6454 2003-04-28 André Pönitz <poenitz@gmx.net>
6456 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6459 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6461 * messages.C: remove one more localedir class variable.
6463 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6465 * messages.C (getLocaleDir): singleton generation function
6467 (Messages): add a default constructor.
6469 * main.C (main): do not setup localedir here, do not call
6472 * gettext.C (_): use it.
6473 (gettext_init): delete funciton
6475 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * gettext.C (getLyXMessages): new singleton generating function.
6479 * buffer.C (updateDocLang): adjust
6481 * Makefile.am (messages.o): add target
6482 (main.o): remove target
6484 2003-04-27 John Levon <levon@movementarian.org>
6489 * lyxvc.C: specify cancel button in Alert::prompt
6491 2003-04-26 John Levon <levon@movementarian.org>
6496 * LyXAction.C: add LFUN_INSET_SETTINGS
6498 * lyxfunc.C: don't enable tabular-feature when there's
6499 just any locking inset
6501 2003-04-26 John Levon <levon@movementarian.org>
6503 * bufferlist.C: re-add Cancel to buffer close question
6505 * lyxfunc.C: fix import UI a bit
6507 2003-04-25 John Levon <levon@movementarian.org>
6509 * gettext.C: remove the broken asserts for now
6511 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * messages.C: make case where setlocale cannot comply work better.
6515 * buffer.C (updateDocLang): new function
6516 (changeLanguage): use it
6519 * text2.C (setCounter): use B_ a bit.
6521 * lyxlayout.C (Read): be sure to trim the label strings.
6523 * messages.C (Messages): fix typo in comment
6525 * buffer.C (readFile): set message_ after file is loaded.
6526 (makeDocBookFile): remove double return
6527 (changeLanguage): reset message_ upon language change.
6528 (B_): new func, use this to get translated buffer strings.
6530 * main.C: add myself and Jean Marc as authors.
6532 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * messages.[hC]: pimplify Messages, and three different pimpls to be
6535 used in different circumstances.
6537 * gettext.[Ch]: change for use with new message code.
6539 2003-04-24 André Pönitz <poenitz@gmx.net>
6541 * factory.C: support for eqref
6543 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * messages.[Ch]: add missing char
6547 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6549 * messages.[Ch]: New files
6551 2003-04-18 John Levon <levon@movementarian.org>
6555 * BufferView_pimpl.C:
6559 * text2.C: remove layout-copy/paste (bug 778)
6561 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6563 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6565 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6567 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6568 if they succeed. Act accordingly.
6570 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6572 * text2.C (setCharFont): adjust
6573 (setCounter): adjust
6574 (insertStringAsLines): adjust
6576 * text.C (leftMargin): adjust
6577 (setHeightOfRow): adjust
6579 * rowpainter.C (paintFirst): adjust
6582 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6584 (isFirstInSequence): ditto
6585 (getEndLabel): ditto
6588 * paragraph.C (getParLanguage): comment out some hard stuff.
6590 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6592 (simpleDocBookOnePar): ditto
6593 (makeDocBookFile): use ParagraphList::iterator
6595 * CutAndPaste.C (pasteSelection): adjust
6597 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * text2.C (getFont): adjust
6600 (getLayoutFont): adjust
6601 (getLabelFont): adjust
6603 * paragraph_funcs.C (TeXOnePar): adjust
6605 * buffer.C (simpleLinuxDocOnePar): adjust
6606 (simpleDocBookOnePar): adjust
6608 * CutAndPaste.C (pasteSelection): adjust
6610 * BufferView.C (getEncoding): adjust
6612 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6614 2003-04-16 John Levon <levon@movementarian.org>
6616 * lyxfind.C: use parlist stuff for search/changes
6618 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6622 * text2.C (deleteEmptyParagraphMechanism): adjust
6624 * text2.[Ch] (ownerParagraph): delete func (both of them
6626 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6630 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6632 * ParagraphList.C: prepare for NO_NEXT
6634 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * text2.C (getFont): adjust
6637 (getLayoutFont): adjust
6638 (getLabelFont): adjust
6640 * paragraph.C (getFont): adjust
6641 (getLabelFont): adjust
6642 (getLayoutFont): adjust
6644 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6646 2003-04-15 John Levon <levon@movementarian.org>
6650 * lyx_main.C: handle Include in .ui files
6652 2003-04-15 John Levon <levon@movementarian.org>
6654 * MenuBackend.C: make the doc files length shorter
6657 * ToolbarBackend.C: handle toolbar placement flags,
6660 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6665 * paragraph_funcs.C (TeXOnePar): adjust
6667 * paragraph.C (getLabelFont): add outerfont arg, adjust
6668 (getLayoutFont): ditto
6669 (simpleTeXOnePar): adjust
6671 * paragraph_pimpl.C (realizeFont): delete func
6673 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6675 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6676 row argument, constify cur argument.
6678 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * text2.C (getFont): adjust
6681 (getLayoutFont): adjust
6682 (getLabelFont): adjust
6684 * paragraph_funcs.C (TeXOnePar): adjust
6685 (outerFont): new func...
6686 (realizeFont): ...moved out from here, changed this to facilitate
6689 * paragraph.C (getFont): take outerfont as arg, adjust
6690 (simpleTeXOnePar): add outerfont arg, adjust
6692 * buffer.C (simpleLinuxDocOnePar): adjust
6693 (simpleDocBookOnePar): adjust
6695 * CutAndPaste.C (pasteSelection): adjust
6697 * BufferView.C (getEncoding): adjust
6699 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6701 * text2.C (setCharFont): adjust
6702 (setCounter): adjust
6704 * text.C (leftMargin): adjust
6705 (setHeightOfRow): adjust
6707 * rowpainter.C (paintFirst): adjust
6710 * paragraph_pimpl.C (realizeFont): adjust
6712 * paragraph.C (isFirstInSequence): move from here...
6713 * paragraph_funcs.C (isFirstInSequence): ...to here
6715 * paragraph.C (outerHook): move from here...
6716 * paragraph_funcs.C (outerHook): ...to here
6718 * paragraph.C (depthHook): move from here...
6719 * paragraph_funcs.C (depthHook): ...to here
6721 * paragraph.C (getEndLabel): move from here...
6722 * paragraph_funcs.C (getEndLabel): ...to here
6724 * text2.C (realizeFont): move from here...
6725 * paragraph_funcs.C (realizeFont): ...to here
6727 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6729 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6731 2003-04-14 Angus Leeming <leeming@lyx.org>
6733 * LColor.[Ch]: scrap LColor mathcursor.
6735 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6737 * lyxlex.[Ch] (text): delete function
6738 * trans.C (Load): adjust
6739 * paragraph_funcs.C (readParToken): adjust
6741 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6744 vector<char> instead of a char[].
6746 * lyxlex_pimpl.C (getString): adjust
6748 (lex): use getString
6752 * lyxlex.C (text): use pimpl_->getString()
6756 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6758 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6759 (makeFontEntriesLayoutSpecific): temp var for par.size()
6760 (setLayout): temp var for ownerParagraphs().end()
6761 (fullRebreak): temp var for rows().end()
6762 (selectionAsString): temp var for boost::next(startpit), realize
6763 that the while really is a regular for loop.
6764 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6765 setCursor in one place.
6766 (setParagraph): temp vr for ownerParagraphs().end()
6767 (updateCounters): make the while loop a for loop
6768 (cutSelection): temp var for ownerParagraphs().end()
6769 (updateInset): make the do {} while() a regular for loop
6770 (getCursorX): use temp vars
6771 (setCurrentFont): use temp vars
6772 (getColumnNearX): use temp vars
6774 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6776 * text.C (transformChar): use temp var for getChar
6777 (computeBidiTables): use temp var for row->par()
6778 (fill): move temp vars for row->par() and pit->layout() earlier in
6780 (labelFill): use temp var for row->par()
6781 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6782 asc and desc, realize that pit never changes and that firstpit is
6783 just a duplicate and not needed. Exchange rit->par() with pit in a
6785 (breakAgain): use a temp var for boost::next(rit)
6786 (breakAgainOneRow): ditto
6787 (breakParagraph): use a temp var for rows().begin()
6788 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6789 (cursorRightOneWord): use temp var for cursor.par() and
6790 cursor.pos(), remove usage of tmpcursor.
6791 (cursorLeftOneWord): use temp var for cursor.par() and
6792 cursor.pos() only set cur at end of function.
6794 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6796 * text.C, text2.C: exchange all usage of Paragraph::next with
6797 boost::next(ParagraphList::iterator)
6799 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6801 * text2.C (cursorTop): simplify implementation
6802 (cursorBottom): ditto
6803 (setParagraph): use ParagraphList::iterator
6804 (setCurrentFont): adjust
6805 (getColumnNearX): adjust
6806 (cursorRight): adjust
6807 (cursorLeft): remove usage of Paragraph::previous
6808 (cursorUpParagraph): ditto
6809 (deleteEmptyParagraphMechanism): slight cleanup
6811 * text.C (isBoundary): take a Paragraph const & instead of a
6813 (addressBreakPoint): ditto
6814 (leftMargin): remove usage of Paragraph::previous.
6815 (setHeightOfRow): ditto
6816 (cursorLeftOneWord): ditto
6817 (selectNextWordToSpellcheck): ditto
6820 (breakParagraph): remove one usage of Paragraph::next
6821 (redoParagraph): ditto
6822 (acceptChange): ditto
6823 (insertChar): adjust
6824 (rowBreakPoint): adjust
6826 * bufferview_funcs.C (toggleAndShow): adjust
6828 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6830 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6831 methods to access it.
6833 * text.C: Added updateRowPositions to compute all row positions.
6834 Make top_y and getRowNearY() to use the cached y position
6836 2003-04-11 John Levon <levon@movementarian.org>
6838 * text.C (rowBreakPoint): reintroduce the labelEnd
6839 checks, code copied from the row fill stuff. Deep voodoo.
6841 * text.C (fill): add a comment and debugging for the
6844 2003-04-11 John Levon <levon@movementarian.org>
6846 * text.C: make sure fullrow insets get wrapped to the next line,
6847 even when they're in a manual label
6849 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6851 * text2.C (insertParagraph): make it take ParagraphList::iterator
6853 (setLayout): make it return ParagraphList::iterator
6854 (redoParagraphs): ditto
6856 (checkParagraph): ditto
6858 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6860 * text2.C: adjust several funcs.
6861 (realizeFont): take a ParagraphList::iterator as arg.
6862 (getLayoutFont): ditto
6863 (getLabelFont): ditto
6864 (setCharFont): ditto
6866 * text.C: adjust several funcs.
6868 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6870 * text.C (selectNextWordToSpellcheck): don't accidentally
6873 2003-04-10 John Levon <levon@movementarian.org>
6875 * ToolbarBackend.C (getIcon): special handling for
6878 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6880 * text2.C (cursorRight): a getChar assert fixed
6882 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6884 * text2.C (getFont): change to take a ParagraphList::iterator
6885 instead of Paragraph*
6886 Adjust several functions.
6888 * text.C (transformChar): change to take a ParagraphList::iterator
6889 instead of Paragraph*
6890 (singleWidth): ditto
6891 Adjust several functions.
6893 * rowpainter.C: adjust several functions
6894 * rowpainter.h:store a ParagraphList::iterator and not a
6898 2003-04-09 John Levon <levon@movementarian.org>
6903 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6904 and the "help" bits as well
6906 2003-04-09 John Levon <levon@movementarian.org>
6909 * ToolbarBackend.C: allow multiple toolbars
6911 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6913 * undo_funcs.C (setCursorParUndo): adjust
6915 * text_funcs.C (transposeChars): adjust
6917 * text3.C (gotoNextInset): adjust
6920 * text2.C (setLayout): adjust
6921 (changeDepth): adjust
6923 (redoParagraphs): adjust
6924 (selectionAsString): adjust
6925 (setParagraph): adjust
6926 (insertInset): adjust
6927 (cutSelection): adjust
6928 (copySelection): adjust
6929 (pasteSelection): adjust
6930 (insertStringAsLines): adjust
6931 (updateInset): adjust
6932 (setCursor): change to take a ParagraphList::iterator parameter
6933 (setCursorIntern): change to take a ParagraphList::iterator parameter
6934 (setCurrentFont): adjust
6935 (cursorLeft): adjust
6936 (cursorRight): adjust
6937 (deleteEmptyParagraphMechanism): adjust
6939 * text.C (breakParagraph): adjust
6940 (insertChar): adjust
6941 (acceptChange): adjust
6942 (rejectChange): adjust
6943 (selectNextWordToSpellcheck): adjust
6944 (changeCase): adjust
6948 * lyxfind.C (SearchForward): adjust
6949 (SearchBackward): adjust
6950 (nextChange): adjust
6952 * lyxcursor.C (par): adjust
6954 * lyxcursor.h: store a ParagraphList::iterator instead of a
6957 * lyx_cb.C (getPossibleLabel): adjust
6959 * bufferview_funcs.C (toggleAndShow): adjust
6961 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6964 * BufferView.C (removeAutoInsets): adjust
6965 (lockedInsetStoreUndo): adjust
6967 2003-04-09 John Levon <levon@movementarian.org>
6969 * ToolbarBackend.C: try icon without argument
6970 if with argument fails
6972 2003-04-08 John Levon <levon@movementarian.org>
6975 * ToolbarBackend.C: add getIcon(), handle tooltip,
6976 and change from "Icon" to "Item".
6978 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6980 * BufferView.C (lockInset): another bad getchar crunched
6982 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6984 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6987 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6989 * lyxfind.C (searchForward, searchBackwards): bug 782
6991 2003-04-07 John Levon <levon@movementarian.org>
6993 * paragraph.C: remove dead comment
6995 * text.C: remove troublesome depth-fiddling code
6996 in leftMargin() and rightMargin() (bug 1017)
6998 * text.C: fix breaking of rows in nested lists
7001 * text2.C (updateCounters): fix up depth values
7004 2003-04-07 John Levon <levon@movementarian.org>
7006 * BufferView_pimpl.C: clear message when doc finishes resizing,
7007 and after a mouse event
7009 * lyxfunc.C: clear message after exiting inset
7011 2003-04-07 John Levon <levon@movementarian.org>
7013 * bufferview_funcs.C: show math status not outside
7014 status in the statusbar
7016 2003-04-07 John Levon <levon@movementarian.org>
7018 * lyxfunc.C: note status changed after a depth change
7020 2003-04-04 Angus Leeming <leeming@lyx.org>
7022 * LaTeX.h: move AuxInfo operator==, != out of line.
7023 Remove LaTeX virtual destructor; nothing derives from it.
7024 Move operator()() out of public area and rename it startscript().
7025 Change protected for private.
7027 2003-04-04 Angus Leeming <leeming@lyx.org>
7030 * text2.C: remove unneeded #includes.
7032 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7034 * text2.C (dEPM): fix the heigth of the next row
7036 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7038 * text.C: squashed an invalid getChar requester + some ws changes
7040 2003-04-03 John Levon <levon@movementarian.org>
7042 * bufferview_funcs.h:
7043 * bufferview_funcs.C:
7046 * text2.C: make getStatus work for the env depth lfuns
7048 2003-04-03 John Levon <levon@movementarian.org>
7050 * bufferview_funcs.h:
7051 * bufferview_funcs.C:
7054 * text2.C: parlistize decDepth(), by merging it with incDepth()
7056 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * lyxrow.h: store a ParagraphList::iterator instead of a
7059 Paragraph* and adjust other class functions to suit.
7061 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7064 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7066 * text2.C (setCursor): do not anchor to cursor row for the time being
7068 2003-04-02 John Levon <levon@movementarian.org>
7075 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7077 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7079 * paragraph.h: make ParagraphList and ParagraphList::iterator
7080 friends of Paragraph.
7082 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7084 * ParagraphList.C: Use the private next_ and previous_ from
7087 2003-04-01 John Levon <levon@movementarian.org>
7091 * Makefile.am: rename, remove defaults gunk
7094 * MenuBackend.C: remove defaults gunk
7097 * Languages.C: remove defaults gunk
7100 * lyx_main.C: error out if files couldn't be found.
7102 2003-04-02 John Levon <levon@movementarian.org>
7104 * text2.C: make incDepth() use parlist
7106 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7108 * undo_funcs.C (firstUndoParagraph): adjust
7110 * text3.C (gotoInset): adjust
7111 (dispatch): adjust, and rewrite loop.
7113 * text2.C (init): adjust, and rewrite loop.
7114 (redoParagraphs): adjust
7115 (updateInset): adjust, and rewrite loop.
7116 (deleteEmptyParagraphMechanism): adjust
7118 * tabular.C (LyXTabular): adjust
7119 (SetMultiColumn): adjust
7122 * lyxtext.[Ch] (ownerParagraph): delete function
7123 (ownerParagraphs): new function returns a ParagraphList.
7125 * BufferView.C (removeAutoInsets): adjust
7126 (insertErrors): adjust
7127 (setCursorFromRow): adjust
7129 2003-04-01 Angus Leeming <leeming@lyx.org>
7131 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7134 2003-04-02 John Levon <levon@movementarian.org>
7140 * text_funcs.C: make transposeChars a free function
7142 * lyxrow_funcs.C: remove wrong comment
7144 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7147 * rowpainter.C: adjust
7152 * lyxrow_funcs. [Ch]: new files
7154 * lyxrow.[Ch]: remove next and previous pointers
7155 (next,previous): remove accessor functions
7156 (isParEnd): move to lyxrow_funcs
7157 (lastPos): move to lyxrow_funcs
7158 (nextRowIsAllInset): move to lyxrow_funcs
7159 (lastPrintablePos): move to lyxrow_funcs
7160 (numberOfSeparators): move to lyxrow_funcs
7161 (numberOfHfills): move to lyxrow_funcs
7162 (numberOfLabelHfills): move to lyxrow_funcs
7163 (hfillExpansion): move to lyxrow_funcs
7167 * bufferview_funcs.C (toggleAndShow): adjust
7169 * RowList.h: Remove class RowList from file leave just a
7172 * RowList.C: delete file
7174 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7177 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7179 * text3.C (cursorPrevious): adjust
7180 (cursorNext): adjust
7183 * text2.C (redoHeightOfParagraph): adjust
7184 (redoDrawingOfParagraph): adjust
7187 * text.C (breakParagraph): adjust
7188 (insertChar): adjust
7191 * rowpainter.C (RowPainter): adjust
7192 (leftMargin): simplify and adjust
7193 (most rowpainter functions): adjust.
7195 * rowpainter.h: store the row as RowList::iterator not as Row*
7197 * lyxcursor.C (row): taka RowList::iterator as arg
7200 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7203 2003-04-01 Angus Leeming <leeming@lyx.org>
7205 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7206 stuff like bool Bool.
7208 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7210 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7213 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7215 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7218 * lyxtext.h (rows): drop one version and leve a const variant that
7219 returns a RowList::iterator.
7221 2003-03-31 Angus Leeming <leeming@lyx.org>
7223 * text.C (fill): ensure that the signature is the same as that in the
7226 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * text2.C (redoParagraphs): adjust
7229 (updateCounters): adjust
7230 (checkParagraph): adjust
7231 (getColumnNearX): adjust and reformat a bit.
7233 * text.C (top_y): adjust
7235 (leftMargin): adjust
7236 (prepareToPrint): adjust
7238 (getRowNearY): adjust
7240 * lyxtext.h: make rowlist_ mutable.
7242 * RowList.h: add const_iterator
7243 * RowList.C: adjust for RowList::const_iterator.
7245 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7248 2003-03-31 John Levon <levon@movementarian.org>
7251 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7253 * lyx_main.C: set default fonts from using lyx_gui funcs
7255 * exporter.C: pdf_mode moved from lyxrc
7258 * lyxfunc.C: changes from above
7260 2003-03-31 John Levon <levon@movementarian.org>
7262 * lyx_main.C: fix to the last fix
7264 2003-03-31 John Levon <levon@movementarian.org>
7266 * bufferlist.C: "Load original" -> "Load Original"
7272 * format.C: more Alert cleanups
7274 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7276 * text2.C (removeParagraph): make it take a RowList::iterator as
7278 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7279 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7281 * text.C (anchor_row): make it take a RowList::iterator as arg,
7283 (computeBidiTables): make it take a const reference to Row instead
7284 of Row pointer, adjust.
7285 (leftMargin): make it take a RowList::iterator as arg, adjust.
7286 (rowBreakPoint): adjust
7287 (breakAgainOneRow): make it take a RowList::iterator as arg,
7289 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7291 * bufferview_funcs.C (toggleAndShow): adjust
7293 2003-03-30 John Levon <levon@movementarian.org>
7297 * boost-inst.C: moved to support
7299 * several files: changes as a result
7301 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7303 * text2.C (LyXText): adjust.
7305 (removeRow): make it take a RowList::iterator as arg, adjust.
7306 (fullRebreak): adjust
7307 (deleteEmptyParagraphMechanism): adjust
7308 (clearPaint): adjust
7311 * text.C (top_y): adjust
7312 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7313 (breakAgain): make it take a RowList::iterator as arg, adjust.
7314 (breakParagraph): adjust
7315 (insertChar): adjust
7318 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7319 need_break_row, and refresh_row.
7321 * text3.C (dispatch): adjust
7323 * text2.C (checkParagraph): adjust
7325 (setCursorFromCoordinates): adjust
7327 * text.C (top_y): adjust
7329 (getRow): make it return a RowList::iterator, adjust
7330 (getRowNearY): make it return a RowList::iterator, adjust
7332 * text2.C (init): adjust
7333 (insertRow): remove function
7334 (insertParagraph): adjust
7335 (redoParagraphs): adjust
7336 (fullRebreak): adjust
7337 (updateCounters): adjust
7339 * text.C (top_y): rewrite to use RowList iterators.
7341 (setHeightOfRow): rewrite to sue RowList iterators.
7342 (appendParagraph): adjust
7343 (breakAgain): adjust
7344 (breakAgainOneRow): adjust
7345 (breakParagraph): adjust
7347 (getRowNearY): adjust, and remove commented code.
7349 * lyxtext.h (firstRow): delete function
7350 (lastRow): delete function
7351 (rows): new function (const and non-const versions.)
7352 (insertRow): delete function
7354 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7356 2003-03-29 John Levon <levon@movementarian.org>
7358 * BufferView_pimpl.C: always update scrollbar top
7359 because pasting text when we're anchored could mean we
7360 miss an update altogether
7362 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7364 * text2.C (init): use rowlist_.end() and not 0.
7365 (insertRow): change to take a RowList::iterator as arg, adjust
7367 (insertParagraph): change to take a RowList::iterator as arg,
7369 (redoParagraphs): remove some debug msgs.
7371 * text.C (appendParagraph): change to take a RowList::iterator
7372 arg, adjust for this.
7373 (breakAgain): add an assert
7374 (breakAgainOneRow): ditto
7376 2003-03-29 John Levon <levon@movementarian.org>
7378 * text2.C: do not clear selection after inc/decDepth
7381 2003-03-29 John Levon <levon@movementarian.org>
7384 * buffer.C: fix broken strerrors according to Lars
7386 2003-03-29 John Levon <levon@movementarian.org>
7388 * converters.C: more Alert cleanups
7390 2003-03-29 John Levon <levon@movementarian.org>
7392 * bufferview_funcs.C: remove pointless Alert
7394 * buffer.C: fix confusing error message when
7395 a template is chmoded 000
7397 2003-03-29 John Levon <levon@movementarian.org>
7401 * BufferView_pimpl.C: Alert fixes
7405 * tabular-old.C: remove unused table compat reading
7407 2003-03-29 John Levon <levon@movementarian.org>
7412 * lyx_cb.C: more Alert cleanups
7414 * lyxfunc.C: don't allow chktex if not latex document
7416 2003-03-29 John Levon <levon@movementarian.org>
7420 * buffer.C: warnings pushed down from support/,
7423 2003-03-29 John Levon <levon@movementarian.org>
7425 * lyxfunc.C: safety check for C-r (revert)
7427 2003-03-29 John Levon <levon@movementarian.org>
7430 * bufferlist.C: several UI fixes using Alert::prompt.
7431 Fix the pointless looping quit code. Fix stupid revert
7436 * lyx_cb.C: use Alert::prompt
7438 * lyx_main.C: remove a silly question
7440 * lyxfunc.C: remove a couple of silly questions,
7443 2003-03-28 John Levon <levon@movementarian.org>
7445 * text2.C: fix bug 974 (End on empty par)
7447 2003-03-28 John Levon <levon@movementarian.org>
7449 * BufferView_pimpl.C:
7451 * lfuns.h: remove do-nothing math greek lfuns
7453 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * lyxgluelength.h (isValidGlueLength): add default arg on
7456 parameter 2. Remove default arg from friend in class.
7458 * lyxlength.h (isValidLength): add default arg on parameter 2.
7459 Remove default arg from friend in class.
7461 * text2.C (LyXText): adjust, initialize refresh_row.
7465 (insertParagraph): adjst
7466 (redoParagraphs): adjust
7467 (fullRebreak): adjust
7468 (updateCounters): adjust
7469 (deleteEmptyParagraphMechanism): first attempt at fixing a
7472 * text.C (top_y): adjust
7473 (setHeightOfRow): adjust
7475 (getRowNearY): adjust
7477 * lyxtext.h: include RowList.h
7478 (~LyXText): not needed anymore, deleted.
7479 (firstRow): modify for RowList
7480 (lastRow): new function
7481 Delete firstrow and lastrow class variables, add a Rowlist
7482 rowlist_ class variable.
7484 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7487 * RowList.C (insert): fix case where it == begin().
7489 2003-03-26 Angus Leeming <leeming@lyx.org>
7491 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7492 the thesaurus dialog.
7494 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7496 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7498 * RowList.[Ch]: new files
7500 * ParagraphList.C (erase): handle the case where it == begin
7503 2003-03-25 John Levon <levon@movementarian.org>
7507 * aspell.C: add new aspell support
7510 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7513 2003-03-25 Angus Leeming <leeming@lyx.org>
7516 * LyXAction.C (init): new LFUN_INSET_INSERT.
7518 * BufferView_pimpl.C (dispatch): split out part of the
7519 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7521 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7524 2003-03-25 Angus Leeming <leeming@lyx.org>
7526 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7528 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7531 * text3.C: remove useless row->height(0)
7533 2003-03-25 John Levon <levon@movementarian.org>
7537 * text3.C: rename the refreshing stuff to better names
7539 2003-03-24 John Levon <levon@movementarian.org>
7541 * BufferView_pimpl.h:
7542 * BufferView_pimpl.C: update layout choice on a mouse
7545 2003-03-23 John Levon <levon@movementarian.org>
7547 * Makefile.am: fix commandtags.h reference
7549 2003-03-22 John Levon <levon@movementarian.org>
7551 * BufferView_pimpl.C:
7556 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7558 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7561 * text.C: take the rtl methods out of line
7563 2003-03-21 André Pönitz <poenitz@gmx.net>
7565 * metricsinfo.[Ch]: new files containing structures to be passed around
7566 during the two-phase-drawing...
7568 2003-03-21 André Pönitz <poenitz@gmx.net>
7570 * lyxtextclass.C: read 'environment' tag.
7572 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7574 * text2.C (removeRow): fix bug 964
7576 2003-03-20 John Levon <levon@movementarian.org>
7580 * text2.C: paint cleanups. Inset::update() dropped font
7583 2003-03-19 John Levon <levon@movementarian.org>
7585 * lyxfunc.C: only fitcursor/markDirty if available()
7587 2003-03-19 John Levon <levon@movementarian.org>
7589 * commandtags.h: rename to ...
7591 * lfuns.h: ... this, and renumber / cleanup
7593 2003-03-19 John Levon <levon@movementarian.org>
7595 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7596 fit the cursor after an lfun
7600 * BufferView_pimpl.h:
7601 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7603 * LyXAction.C: layout-character should have ReadOnly
7605 * ParagraphParameters.C:
7607 * bufferview_funcs.C:
7614 * undo_funcs.C: changes from above
7616 2003-03-18 John Levon <levon@movementarian.org>
7618 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7619 remove it from update()
7621 * lyxfunc.C: update layout choice after an lfun
7623 * text3.C: remove extra updateLayoutChoice()s
7625 2003-03-18 John Levon <levon@movementarian.org>
7627 * text.C: top_y change means full repaint, fix
7628 a drawing bug with cursor movement
7630 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7634 * text2.C: anchor row on setCursor
7636 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7638 * lyxtext.h: remove almost all mutable keywords
7641 * text3.C: remove const keywords accordingly
7643 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7645 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7647 (TeXEnvironment): ditto
7650 2003-03-17 John Levon <levon@movementarian.org>
7652 * text.C (rowBreakPoint): remove attempt to fix displayed
7653 math insets inside a manual label
7655 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * lyxtext.h: remove BufferView* as first arg from almost all class
7659 * other files: adjust.
7661 2003-03-17 John Levon <levon@movementarian.org>
7665 * text2.C: more paint cleanups
7667 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7670 * rowpainter.C: remove "smart" background painting code
7672 2003-03-16 John Levon <levon@movementarian.org>
7677 * text3.C: add helper functions for setting refresh_row/y
7679 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7681 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7682 newline inset which *can* get inserted in the pass_thru layouts.
7683 This is primarily for literate documents.
7685 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7687 * buffer.C: increment LYX_FORMAT to 223
7689 2003-03-14 André Pönitz <poenitz@gmx.net>
7691 * textclass.h: prepare for environment handling, ws changes
7692 * lyxlayout.C: read latexheader and latexfooter tags
7694 2003-03-14 John Levon <levon@movementarian.org>
7696 * text2.C: rewrite ::status() a bit
7698 2003-03-13 John Levon <levon@movementarian.org>
7700 * lyxtext.h: add some docs
7702 2003-03-13 John Levon <levon@movementarian.org>
7707 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7709 2003-03-13 John Levon <levon@movementarian.org>
7711 * text3.C: fix appendix redrawing
7713 2003-03-13 John Levon <levon@movementarian.org>
7715 * text.C (setHeightOfRow):
7717 * rowpainter.C: make appendix mark have the text
7718 "Appendix" so the user knows what it is
7721 * LColor.C: s/appendixline/appendix/ from above
7723 2003-03-13 John Levon <levon@movementarian.org>
7725 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7727 * text.C: fix a getChar(pos) bug properly
7729 2003-03-13 Angus Leeming <leeming@lyx.org>
7732 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7733 Probably only temporary. Let's see how things pan out.
7735 * BufferView.C (unlockInset):
7736 * BufferView_pimpl.C (fitCursor):
7737 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7739 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7740 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7742 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7743 new functions that convert ParagraphParameters to and from a string.
7745 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7746 BufferView::Pimpl's dispatch.
7747 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7749 2003-03-13 André Pönitz <poenitz@gmx.net>
7753 * factory.C: make it aware of InsetEnv
7755 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7757 * text2.C (setCursor): never ask for one past last
7758 (setCursor): add some debugging messages.
7760 * text.C (singleWidth): never ask for one past last
7761 (singleWidth): ditto
7763 (rightMargin): ditto
7764 (rowBreakPoint): ditto
7765 (setHeightOfRow): ditto
7766 (prepareToPrint): ditto
7768 * rowpainter.C (paintBackground): never ask for one past last
7769 (paintText): never ask for one past last
7771 * paragraph_pimpl.C (getChar): make the assert stricter, never
7772 allow the one past last pos to be taken
7774 * paragraph.C (getChar): ws changes only
7776 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7777 (numberOfSeparators): ditto
7778 (numberOfHfills): ditto
7780 2003-03-12 John Levon <levon@movementarian.org>
7786 * paragraph_funcs.C: fix per-buffer authorlists
7788 2003-03-12 John Levon <levon@movementarian.org>
7790 * text.C: fix newline in right address
7792 2003-03-12 Angus Leeming <leeming@lyx.org>
7794 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7795 duplicate those in LyXFunc::dispatch.
7799 * ToolbarDefaults.C:
7800 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7801 Add LFUN_FONTFREE_UPDATE.
7803 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7804 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7806 * bufferview_func.[Ch]: several new functions to facilliate
7807 transfer of data to and from the character dialog.
7809 2003-03-12 John Levon <levon@movementarian.org>
7814 * paragraph_funcs.C:
7815 * paragraph_pimpl.C:
7819 * text3.C: remove META_NEWLINE in favour of an inset
7822 * rowpainter.C: remove paintNewline (done by inset)
7824 2003-03-12 John Levon <levon@movementarian.org>
7826 * paragraph_pimpl.C: complain about bad getChar()s
7827 for a while at least
7829 2003-03-12 John Levon <levon@movementarian.org>
7832 * buffer.C: move paragraph read into a separate function,
7833 a little renaming to reflect that.
7836 * bufferparams.C: remove the author_ids map, not necessary now
7839 * factory.C: moved Buffer::readInset to here
7841 * paragraph_funcs.h:
7842 * paragraph_funcs.C: readParagraph free function moved from
7845 * tabular.C: name change
7847 2003-03-12 John Levon <levon@movementarian.org>
7850 * ParagraphParameters.C: move par params input to
7853 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7854 behave like a normal read from the stream wrt reading
7855 a line vs. a \\token
7857 2003-03-12 John Levon <levon@movementarian.org>
7860 * ParagraphParameters.h:
7861 * ParagraphParameters.C: move output code to a
7864 2003-03-12 John Levon <levon@movementarian.org>
7866 * BufferView.C (insertLyXFile):
7869 * tabular.C: use a parlist iterator for creating the
7872 2003-03-12 John Levon <levon@movementarian.org>
7874 * buffer.C: make current_change static local not
7877 2003-03-12 John Levon <levon@movementarian.org>
7879 * buffer.C: fix insertStringAsLines for change tracking
7881 2003-03-12 John Levon <levon@movementarian.org>
7888 * bufferparams.C: move author list into params. Rename some
7889 functions. Move the header reading into a separate token
7890 loop. Move the header token reading into BufferParams.
7892 2003-03-12 John Levon <levon@movementarian.org>
7894 * changes.C: put debug inside lyxerr.debugging() checks
7896 2003-03-11 André Pönitz <poenitz@gmx.net>
7898 * factory.C: make it aware of InsetHFill
7900 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7902 * buffer.C (latexParagraphs): move function from here...
7903 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7906 2003-03-10 Angus Leeming <leeming@lyx.org>
7908 * LyXAction.C (init): fix bug in poplating array with multiple entries
7909 with the same LFUN (spotted by JMarc).
7911 2003-03-10 John Levon <levon@movementarian.org>
7914 * text2.C: move getColumnNearX() near its
7917 2003-03-10 John Levon <levon@movementarian.org>
7919 * text.C: fix break before a minipage
7921 2003-03-10 John Levon <levon@movementarian.org>
7923 * text.C: fix the last commit
7925 2003-03-09 John Levon <levon@movementarian.org>
7929 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7930 bug 365 (don't break before insets unless needed). Don't
7931 return a value > last under any circumstances.
7933 2003-03-09 Angus Leeming <leeming@lyx.org>
7935 * BufferView_pimpl.C (trackChanges, dispatch): call
7936 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7938 2003-03-09 Angus Leeming <leeming@lyx.org>
7940 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7941 than Dialogs::showAboutlyx().
7943 2003-03-09 Angus Leeming <leeming@lyx.org>
7945 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7946 than Dialogs::showTabularCreate().
7948 2003-03-09 John Levon <levon@movementarian.org>
7952 * text2.C: 3rd arg to nextBreakPoint was always the same.
7955 2003-03-08 John Levon <levon@movementarian.org>
7962 * text2.C: Remove the "main" bit from the "main body"
7965 2003-03-08 John Levon <levon@movementarian.org>
7967 * text.C (leftMargin): The left margin of an empty
7968 manual label paragraph should not include the label width
7971 * text.C (prepareToPrint): don't attempt to measure hfills
7972 for empty manual label paragraphs - the answer should be 0
7974 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7976 * CutAndPaste.C: remove commented code and reindent.
7978 2003-03-08 John Levon <levon@movementarian.org>
7981 * lyxfunc.C: move reloadBuffer()
7984 * BufferView.C: to here
7986 * lyxvc.C: add comment
7989 * vc-backend.C: call bv->reload() to avoid
7990 getStatus() check on MENURELOAD
7992 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7994 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7995 to an old format .dep file.
7997 2003-03-07 Angus Leeming <leeming@lyx.org>
7999 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8000 when the LFUN_MOUSE_RELEASE should have been handled by
8001 inset->localDispatch.
8003 2003-03-07 Angus Leeming <leeming@lyx.org>
8005 * BufferView_pimpl.C (dispatch):
8006 * LyXAction.C (init):
8007 * ToolbarDefaults.C (init):
8009 * lyxfunc.C (getStatus):
8010 remove LFUN_INSET_GRAPHICS.
8012 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8014 2003-03-07 Angus Leeming <leeming@lyx.org>
8017 * LyXAction.C (init):
8018 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8020 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8023 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8025 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8026 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8028 2003-03-07 Angus Leeming <leeming@lyx.org>
8030 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8033 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * ParagraphList.C (front): new function
8038 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8040 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8041 and top_row_offset_. removed var first_y.
8043 * text2.C (LyXText, removeRow):
8045 * BufferView_pimpl.C:
8046 use these methods instead of using first_y
8048 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8050 * text2.C (pasteSelection): adjust for checkPastePossible
8052 * CutAndPaste.C: remove Paragraph * buf and replace with
8053 ParagraphList paragraphs.
8054 (DeleteBuffer): delete
8055 (cutSelection): change the tc type to textclass_type
8056 (copySelection): change the tc type to textclass_type
8057 (copySelection): adjust for ParagraphList
8058 (pasteSelection): change the tc type to textclass_type
8059 (pasteSelection): adjust for Paragraphlist
8060 (nrOfParagraphs): simplify for ParagraphList
8061 (checkPastePossible): simplify for ParagraphList
8062 (checkPastePossible): remove unused arg
8064 * ParagraphList.C (insert): handle the case where there are no
8067 * CutAndPaste.h: make CutAndPaste a namespace.
8069 * text3.C (dispatch): adjust
8071 * text.C (breakParagraph): add a ParagraphList as arg
8073 * paragraph_funcs.C (breakParagraph): change to take a
8074 BufferParams and a ParagraphList as args.
8075 (breakParagraphConservative): ditto
8076 (mergeParagraph): ditto
8077 (TeXDeeper): add a ParagraphList arg
8078 (TeXEnvironment): ditto
8081 * buffer.C (readLyXformat2): adjust
8082 (insertStringAsLines): adjust
8083 (latexParagraphs): adjust
8085 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8086 (cutSelection): adjust
8087 (pasteSelection): adjust
8089 * BufferView_pimpl.C (insertInset): adjust
8091 2003-03-05 Angus Leeming <leeming@lyx.org>
8094 * LyXAction.C (init):
8095 * BufferView_pimpl.C (dispatch):
8096 * lyxfunc.C (getStatus):
8097 remove LFUN_CHILD_INSERT.
8099 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8101 2003-03-05 Angus Leeming <leeming@lyx.org>
8104 * LyXAction.C (init):
8105 * src/factory.C (createInset):
8106 * lyxfunc.C (getStatus):
8107 * text3.C (dispatch):
8108 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8110 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8112 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8114 * ParagraphList.C (insert): handle insert right before end()
8115 (erase): fix cases where it can be first or last paragraph.
8117 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8119 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8120 Paragraph::next and Paragraph::previous
8123 * text.C (breakParagraph): adjust
8125 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8126 BufferParams& as arg.
8127 (breakParagraph): use ParagraphList::insert
8128 (breakParagraphConservative): take a Buffer* instead of a
8129 BufferParams& as arg.
8130 (breakParagraphConservative): use ParagraphList::insert.
8132 * buffer.C (insertStringAsLines): un-const it
8133 (insertStringAsLines): adjust
8135 * ParagraphList.C (insert): new function
8137 * CutAndPaste.C (pasteSelection): adjust
8139 * text.C (backspace): adjust
8141 * tabular.C (SetMultiColumn): adjust
8143 * CutAndPaste.C (cutSelection): adjust
8144 (pasteSelection): adjust
8146 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8147 Buffer const * as arg
8149 * ParagraphList.C (erase): new function
8150 * paragraph_funcs.C (mergeParagraph): use it
8151 (mergeParagraph): make it take a Buffer* instead of a
8152 BufferParams* as arg
8154 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8156 (breakParagraphConservative): ditto
8158 * paragraph.h: remove the breakParagraph friend
8160 * paragraph.C (eraseIntern): new function
8161 (setChange): new function
8163 * paragraph_funcs.C (mergeParagraph): make it take a
8164 ParagraphList::iterator instead of a Paragraph *, adjust
8167 * paragraph.h: move an #endif so that the change tracking stuff
8168 also works in the NO_NEXT case.
8170 2003-03-04 Angus Leeming <leeming@lyx.org>
8173 * LyXAction.C: new LFUN_INSET_MODIFY.
8175 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8176 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8178 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8180 * several files: ws changes only
8182 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8183 (TeXEnvironment): ditto
8186 * buffer.C (makeLaTeXFile): adjust
8187 (latexParagraphs): make it take ParagraphList::iterator as args
8189 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8191 * buffer.C (latexParagraphs): adjust
8193 * paragraph.C (TeXOnePar): move function...
8194 (optArgInset): move function...
8195 (TeXEnvironment): move function...
8196 * paragraph_pimpl.C (TeXDeeper): move function...
8197 * paragraph_funcs.C: ...here
8199 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8201 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * buffer.C (readInset): remove compability code for old Figure and
8206 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8208 * buffer.C: ws changes
8211 * BufferView_pimpl.C: ditto
8214 * bufferlist.h: ditto
8218 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8220 * converter.[Ch]: split into itself +
8223 * Makefile.am: += graph.[Ch] + format.[Ch]
8230 * lyxrc.C: added #include "format.h"
8232 2003-02-27 Angus Leeming <leeming@lyx.org>
8234 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8237 * factory.C (createInset): add "label" to the factory.
8239 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8240 string and do no more.
8242 2003-02-27 Angus Leeming <leeming@lyx.org>
8245 * LyXAction.C (init):
8246 * factory.C (createInset):
8247 * BufferView_pimpl.C (dispatch):
8248 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8250 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8252 * lyxfunc.C (dispatch):
8253 * text3.C (dispatch): pass name to params2string.
8255 2003-02-26 Angus Leeming <leeming@lyx.org>
8257 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8259 Rearrange the ~includes. Strip out the unnecessary ones.
8261 * factory.C (createInset): reformat.
8262 create new insets for the various LFUN_XYZ_APPLY lfuns.
8264 2003-02-26 John Levon <levon@movementarian.org>
8267 * lyxrow.C: add isParStart,isParEnd helpers
8269 * paragraph.h: make isInserted/DeletedText take refs
8271 * paragraph_funcs.h:
8272 * paragraph_funcs.C: remove #if 0'd code
8277 * text.C: use lyxrow helpers above.
8278 Move draw and paint routines to RowPainter.
8279 Make several methods use refs not pointers.
8280 Make backgroundColor() const.
8281 Add markChangeInDraw(), isInInset().
8282 Merge changeRegionCase into changeCase.
8283 Make workWidth() shouldn't-happen code into an Assert.
8286 * rowpainter.C: new class for painting a row.
8289 * vspace.C: make inPixels take a ref
8291 2003-02-26 Angus Leeming <leeming@lyx.org>
8293 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8296 2003-02-25 John Levon <levon@movementarian.org>
8298 * ispell.C: give the forked command a more accurate name
8300 2003-02-22 John Levon <levon@movementarian.org>
8303 * toc.C: make TocItem store an id not a Paragraph *
8306 2003-02-21 Angus Leeming <leeming@lyx.org>
8308 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8309 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8310 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8311 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8312 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8313 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8315 * BufferView_pimpl.C (dispatch):
8316 * LyXAction.C (init):
8317 * factory.C (createInset):
8318 * lyxfunc.C (getStatus, dispatch):
8319 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8321 2003-02-21 Angus Leeming <leeming@lyx.org>
8323 * BufferView_pimpl.C (MenuInsertLyXFile):
8324 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8325 * lyxfunc.C (menuNew, open, doImport):
8326 no longer pass a LyXView & to fileDlg.
8328 2003-02-21 Angus Leeming <leeming@lyx.org>
8330 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8331 * LyXAction.C: change, BIBKEY to BIBITEM.
8332 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8333 Change InsetBibKey to InsetBibitem.
8334 Change BIBKEY_CODE to BIBITEM_CODE.
8335 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8336 * factory.C: replace insetbib.h with insetbibitem.h.
8337 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8338 * paragraph.C: replace insetbib.h with insetbibitem.h.
8339 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8340 Change bibkey() to bibitem().
8341 * text.C: remove insetbib.h.
8342 * text2.C: replace insetbib.h with insetbibitem.h.
8343 change bibkey() to bibitem().
8344 * text3.C: remove insetbib.h.
8345 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8347 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8349 * lyxrc.C (output): enclose user email in quotes (in case there are
8352 2003-02-18 John Levon <levon@movementarian.org>
8354 * buffer.h: add std::
8356 2003-02-17 John Levon <levon@movementarian.org>
8362 * pspell.C: reworking. Especially in ispell, a large
8363 number of clean ups and bug fixes.
8365 * lyxfunc.C: fix revert to behave sensibly
8367 2003-02-17 André Pönitz <poenitz@gmx.net>
8370 * commandtags.h: new LFUN_INSERT_BIBKEY
8380 * paragraph_func.C: remove special bibkey handling
8382 2003-02-17 John Levon <levon@movementarian.org>
8384 * text.C (Delete): fix case where delete at the end of
8385 the very first paragraph would not merge the pars
8387 2003-02-17 John Levon <levon@movementarian.org>
8389 * lyxrow.C: fix lastPrintablePos()
8391 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8393 * bufferparams.C (writeLaTeX): add a std:here
8395 * buffer.C: and remove a using directive there
8397 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8399 * buffer.C (makeLaTeXFile): move the code that generates the
8402 * bufferparams.C (writeLaTeX): ... in this new method
8404 * LaTeXFeatures.C (getEncodingSet): make const
8405 (getLanguages): make const
8407 * MenuBackend.C (binding): returns the binding associated to this
8409 (add): sets the status of each item by calling getStatus. Adds
8411 (read): add support for OptSubMenu
8412 (expand): remove extra separator at the end of expanded menu
8414 2003-02-15 John Levon <levon@movementarian.org>
8417 * BufferView_pimpl.C:
8419 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8420 inset code that had no actual effect. Remove unneeded status
8423 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8428 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8430 * text.C (drawLengthMarker): also draw an arrow marker for
8431 symbolic lengths (medskip...)
8433 2003-02-14 John Levon <levon@movementarian.org>
8436 * tabular.C: better method names
8438 2003-02-14 John Levon <levon@movementarian.org>
8440 * BufferView_pimpl.C:
8445 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8446 it's a more accurate name. Remove some pointless uses.
8448 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8450 * text2.C (LyXText): change order of initilizers to shut off
8453 2003-02-14 John Levon <levon@movementarian.org>
8455 * buffer.C: use ParIterator for getParFromID()
8459 * paragraph_pimpl.h:
8460 * paragraph_pimpl.C: remove unused getParFromID()
8462 2003-02-14 John Levon <levon@movementarian.org>
8464 * buffer.C: remove some very old #if 0'd parse code
8466 2003-02-13 John Levon <levon@movementarian.org>
8470 * text2.C: move hfillExpansion(), numberOfSeparators(),
8471 rowLast(), rowLastPrintable(), numberofHfills(),
8472 numberOfLabelHfills() ...
8475 * lyxrow.C: ... to member functions here.
8480 * text.C: remove LyXText::beginningOfMainBody(), and call
8481 p->beginningOfMainBody() directly. Move the check for
8482 LABEL_MANUAL into the latter.
8489 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8495 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8496 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8498 2003-02-13 John Levon <levon@movementarian.org>
8500 * CutAndPaste.C: remove debug
8502 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8504 * paragraph.C (asString): remove two unused variables
8506 * lyxtextclass.C (readTitleType):
8508 (LyXTextClass): handle new members titletype_ and titlename_
8510 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8512 2003-02-09 John Levon <levon@movementarian.org>
8515 * buffer.C: replace hand-coded list with a map for the dep clean
8517 2003-02-08 John Levon <levon@movementarian.org>
8519 * LaTeX.C: consolidate code into showRunMessage() helper
8521 2003-02-08 John Levon <levon@movementarian.org>
8526 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8527 and pass the size in explicitly
8529 * BufferView_pimpl.h:
8530 * BufferView_pimpl.C:
8532 * BufferView.C: add getCurrentChange()
8534 * BufferView_pimpl.h:
8535 * BufferView_pimpl.C: handle change lfuns
8537 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8538 for changes. Mark pasted paragraphs as new.
8540 * support/lyxtime.h:
8541 * support/lyxtime.C:
8542 * DepTable.C: abstract time_t as lyx::time_type
8545 * LColor.C: add colours for new text, deleted text, changebars
8547 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8548 package use "usenames" option.
8552 * LyXAction.C: add change lfuns
8556 * author.C: author handling
8559 * buffer.C: add a per-buffer author list, with first entry as
8560 current author. Handle new .lyx tokens for change tracking. Output
8561 author list to .lyx file. Output dvipost stuff to .tex preamble.
8562 Bump lyx format to 222.
8565 * bufferlist.C: add setCurrentAuthor() to reset current author details
8569 * bufferparams.C: add param for tracking
8571 * bufferview_funcs.C: output change info in minibuffer
8575 * changes.C: add change-tracking structure
8578 * debug.C: add CHANGES debug flag
8581 * lyxfind.C: add code for finding the next change piece
8584 * lyxrc.C: add user_name and user_email
8587 * lyxrow.C: add a metric for the top of the text line
8590 * text.C: implement accept/rejectChange()
8593 * text.C: paint changebars. Paint new/deleted text in the chosen
8594 colours. Strike through deleted text.
8598 * paragraph_pimpl.h:
8599 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8600 in the current change to the insert functions. Rework erase to
8601 mark text as deleted, adding an eraseIntern() and a range-based
8602 erase(). Implement per-paragraph change lookup and
8605 * paragraph_funcs.C: Fixup paste for change tracking.
8607 * tabular.C: mark added row/columns as new.
8609 * text.C: fix rowLast() to never return -1. Don't allow
8610 spellchecking of deleted text. Track transpose changes. Don't
8611 allow paragraph break or merge where appropriate.
8613 * text2.C: leave cursor at end of selection after a cut.
8615 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8617 * text.C (getLengthMarkerHeight):
8618 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8619 visible on screen too.
8621 2003-02-07 John Levon <levon@movementarian.org>
8623 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8625 2003-02-05 Angus Leeming <leeming@lyx.org>
8627 * lyxserver.C (read_ready): revert my patch of 11 September last year
8628 as it sends PC cpu through the roof. Presumably this means that
8629 the lyxserver will no longer run on an Alpha...
8631 2003-01-30 Angus Leeming <leeming@lyx.org>
8633 * factory.C (createInset): create an InsetCommandParam of type "index"
8634 and use it to 'do the right thing'.
8636 * text2.C (getStringToIndex): ensure that cursor position is always
8637 reset to the reset_cursor position.
8639 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8641 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8644 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8648 * lyxfunc.C: Output messages with identical spelling, punctuation,
8651 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8653 * MenuBackend.C (expandFormats): List only viewable export formats
8656 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8659 * lyxfunc.C (getStatus): Make sure that formats other than
8660 "fax" can also be disabled
8662 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8664 * text3.C (dispatch): put the lfuns that insert insets in 3
8665 groups, and call doInsertInset with appropriate arguments.
8666 (doInsertInset): new function, that creates an inset and inserts
8667 it according to some boolean parameters.
8669 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8671 * buffer.C (readFile): remember to pass on 'par' when calling
8672 readFile recursively.
8674 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8676 * MenuBackend.C (expandFormats): add "..." to import formats.
8678 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8680 * paragraph.C (asString): Remove XForms RTL hacks.
8682 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8683 * buffer.C: fix typo
8685 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8687 * Makefile.am (LIBS): delete var
8688 (lyx_LDADD): add @LIBS@ here instead.
8690 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8692 * Clarify the meaning of "wheel mouse jump"
8694 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8696 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8699 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * importer.C (Loaders): do not preallocate 3 elements in the
8702 vector, since one ends up with 6 elements otherwise
8704 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * DepTable.C (write): write the file name as last element of the
8707 .dep file (because it may contain spaces)
8708 (read): read info in the right order
8710 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8712 * paragraph_pimpl.C (simpleTeXBlanks):
8713 (simpleTeXSpecialChars):
8714 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8716 * tabular.C (latex): add some missing case statements. Reindent.
8718 * MenuBackend.C (expandToc): remove unused variable.
8720 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8729 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8732 2003-01-05 John Levon <levon@movementarian.org>
8735 * BufferView.C: add getEncoding()
8738 * kbsequence.C: do not store last keypress
8741 * lyxfunc.C: store last keypress here instead. Pass encoding
8744 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * lyx_main.C (init): remove annoying error message when following
8747 symbolic links (bug #780)
8749 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8751 * text.C (insertChar):
8752 * lyxrc.C (getDescription): remove extra spaces
8754 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8756 * lyxrc.C (getDescription): remove extra spaces
8758 2002-12-20 John Levon <levon@movementarian.org>
8760 * text3.C: hack fix for page up/down across tall rows
8762 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8764 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8767 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8769 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8770 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8771 thesaurus is not compiled in
8773 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8775 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8777 2002-12-16 Angus Leeming <leeming@lyx.org>
8780 * lyx_main.C (init): remove override_x_deadkeys stuff.
8782 2002-12-12 John Levon <levon@movementarian.org>
8784 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8785 insert. Only remove shift modifier under strict
8788 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8790 * MenuBackend.C (expandToc): fix crash.
8792 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * MenuBackend.C (expandToc): gettext on float names.
8796 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8798 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8799 implement bool empty() [bug 490]
8801 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8803 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8805 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8807 * several files: ws changes
8809 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8811 * text2.C (setCounter): clean up a bit, use boost.format.
8812 (updateCounters): initialize par upon declaration.
8814 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8815 if the layout exists. We do not just store the layout any more.
8816 (SwitchLayoutsBetweenClasses): use boost.format
8818 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8820 * converter.C (convert): if from and to files are the same, use a
8821 temporary files as intermediary
8823 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8828 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8830 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8832 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8834 * tabular.C (asciiPrintCell): use string(size, char) instead of
8837 * sgml.C (openTag): fix order of arguments to string constructor
8840 * lyxfunc.C (dispatch): use boost.format
8842 * lots of files: change "c" -> 'c'
8844 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8846 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8848 2002-11-25 Angus Leeming <leeming@lyx.org>
8850 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8852 * lyx_main.C (init): compile fix.
8854 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8856 * lyx_cb.C (start): boost.formatify
8857 do not include <iostream>
8859 * lengthcommon.C: ws only
8861 * boost-inst.C,BoostFormat.h: add more explict instantations
8863 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8865 * lots of files: handle USE_BOOST_FORMAT
8867 2002-11-21 John Levon <levon@movementarian.org>
8869 * pspell.C: fix compile
8871 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8873 * lyxfunc.C (dispatch): use boost::format
8877 * lyxfont.C (stateText): use boost::format
8879 * lyx_main.C (LyX): use boost::format
8881 (queryUserLyXDir): ditto
8884 (typedef boost::function): use the recommened syntax.
8886 * importer.C (Import): use boost::format
8888 * debug.C (showLevel): use boost::format
8890 * converter.C (view): use boost::format
8895 * bufferview_funcs.C (currentState): use boost::format
8897 * bufferlist.C (emergencyWrite): use boost::format
8899 * buffer.C (readLyXformat2): use boost::format
8900 (parseSingleLyXformat2Token): ditto
8902 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8904 * LaTeX.C (run): use boost::format
8906 * Chktex.C (scanLogFile): use boost::format
8908 * BufferView_pimpl.C (savePosition): use boost::format
8909 (restorePosition): ditto
8910 (MenuInsertLyXFile): ditto
8912 * BoostFormat.h: help file for explicit instation.
8914 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8916 * tabular.C (latex): Support for block alignment in fixed width
8919 2002-11-17 John Levon <levon@movementarian.org>
8921 * BufferView_pimpl.C:
8923 * lyxfunc.C: split filedialog into open/save
8925 2002-11-08 Juergen Vigna <jug@sad.it>
8927 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8928 by my last patch (hopefully).
8930 2002-11-08 John Levon <levon@movementarian.org>
8939 * toc.C: ParConstIterator, and use it (from Lars)
8941 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8943 * lyxtextclass.[Ch]: revise and add doxygen comments
8945 2002-11-07 John Levon <levon@movementarian.org>
8947 * text.C: fix progress value for spellchecker
8949 * toc.C: fix navigate menu for insetwrap inside minipage
8951 * paragraph_funcs.C: added FIXME for suspect code
8953 2002-11-07 John Levon <levon@movementarian.org>
8955 * BufferView_pimpl.C: fix redrawing of insets
8958 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8960 * text2.C (updateCounters): fix bug 668
8962 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8964 * text3.C (dispatch): Do not make the buffer dirty when moving the
8967 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8969 * vc-backend.C: STRCONV
8972 * text2.C (setCounter): STRCONV
8974 * paragraph.C (asString): STRCONV
8976 * lyxlength.C (asString): STRCONV
8977 (asLatexString): ditto
8979 * lyxgluelength.C (asString): STRCONV
8980 (asLatexString): ditto
8982 * lyxfunc.C (dispatch): STRCONV
8985 * lyxfont.C (stateText): STRCONV
8987 * importer.C (Import): STRCONV
8989 * counters.C (labelItem): STRCONV
8990 (numberLabel): ditto
8991 (numberLabel): remove unused ostringstream o
8996 * bufferview_funcs.C (currentState): STRCONV
8998 * buffer.C (readFile): STRCONV
8999 (asciiParagraph): ditto
9000 (makeLaTeXFile): ditto
9002 * Spacing.C (writeEnvirBegin): STRCONV
9004 * LaTeXFeatures.C (getLanguages): STRCONV
9005 (getPackages): ditto
9007 (getBabelOptions): ditto
9008 (getTClassPreamble): ditto
9009 (getLyXSGMLEntities): ditto
9010 (getIncludedFiles): ditto
9014 (scanAuxFile): ditto
9017 * LString.h: add the STRCONV macros
9019 * BufferView_pimpl.C (savePosition): STRCONV
9020 (restorePosition): ditto
9021 (MenuInsertLyXFile): ditto
9023 * vc-backend.C (scanMaster): change from submatch[...] to
9026 * funcrequest.C: include config.h
9028 * factory.C: include config.h
9030 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9032 * box.C: include config.h
9034 * LaTeX.C (scanAuxFile): change from submatch[...] to
9038 2002-10-25 Angus Leeming <leeming@lyx.org>
9040 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9042 * ispell.[Ch] (setError): new method.
9043 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9044 Use setError() insetead of goto END.
9046 * lyx_cb.C (AutoSave): move out child process into new class
9049 2002-10-30 John Levon <levon@movementarian.org>
9051 * text3.C: make start appendix undoable
9053 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9055 * lyxlength.C (inPixels): Fix returned value.
9057 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9060 2002-10-24 Angus Leeming <leeming@lyx.org>
9062 * lyxgluelength.h: no need to forward declare BufferParams
9063 or BufferView, so don't.
9065 2002-10-21 John Levon <levon@movementarian.org>
9067 * BufferView.C: menuUndo ->undo, redo
9069 * BufferView.h: document, remove dead, make some methods private
9071 * paragraph_funcs.h:
9072 * paragraph_funcs.C:
9073 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9078 * sgml.C: move sgml open/close tag into sgml.C
9080 * bufferview_funcs.h: unused prototype
9083 * lyxfunc.C: remove unused
9086 * text.C: remove unused
9088 2002-10-21 John Levon <levon@movementarian.org>
9092 * BufferView_pimpl.h:
9093 * BufferView_pimpl.C: fix mouse wheel handling based on
9094 patch from Darren Freeman
9096 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9098 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9100 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9102 * lyxlength.C (inPixels): Fix hanfling of negative length.
9103 Fix LyXLength::MU case.
9105 2002-10-16 John Levon <levon@movementarian.org>
9107 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9109 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9111 * converter.C (view): add support for $$i (file name) and $$p
9112 (file path) for the viewer command. If $$i is not specified, then
9113 it is appended to the command (for compatibility with old syntax)
9115 2002-10-14 Juergen Vigna <jug@sad.it>
9117 * undo_funcs.C (textHandleUndo): alter the order in which the
9118 new undopar is added to the LyXText, as we have to set first
9119 the right prev/next and then add it as otherwise the rebuild of
9120 LyXText is not correct. Also reset the cursor to the right paragraph,
9121 with this IMO we could remove the hack in "redoParagraphs()".
9123 2002-10-09 Angus Leeming <leeming@lyx.org>
9125 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9126 to turn off an optimisation if a new inset is to be inserted.
9128 2002-10-11 André Pönitz <poenitz@gmx.net>
9130 * lyxtext.h: make some functions public to allow access
9131 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9133 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9135 * text3.C (dispatch): when changing layout, avoid an infinite loop
9138 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * lyxrc.C (read): treat a viewer or converter command of "none" as
9143 * MenuBackend.C (expandFormats): for an update, also allow the
9144 formats that are not viewable
9146 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9147 script if it is newer than the lyxrc.defaults in user directory
9149 2002-10-07 André Pönitz <poenitz@gmx.net>
9151 * text.C: Vitaly Lipatov's small i18n fix
9153 2002-09-25 Angus Leeming <leeming@lyx.org>
9155 * ispell.h: doxygen fix.
9157 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9159 * buffer.h (readFile): Add a new argument to the method, to allow
9160 reading of old-format templates.
9162 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9164 * toc.C (getTocList): Get TOC from InsetWrap.
9166 2002-09-16 John Levon <levon@movementarian.org>
9168 * lyxfunc.C: check tabular for cut/copy too
9170 2002-09-12 John Levon <levon@movementarian.org>
9175 * factory.C: add header
9177 * paragraph_funcs.h:
9178 * paragraph_funcs.C: cleanup
9180 2002-09-11 John Levon <levon@movementarian.org>
9182 * PrinterParams.h: odd/even default to true
9184 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9186 * PrinterParams.h: update printer parameters for new xforms dialog
9188 2002-09-11 Angus Leeming <leeming@lyx.org>
9190 * lyxserver.C (read_ready): re-write to make it more transparent
9191 and to make it work in coherent fashion under Tru64 Unix.
9193 2002-09-11 André Pönitz <poenitz@gmx.net>
9197 * text3.C: implement LFUN_WORDSEL
9199 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9202 make floatlist_ a boost::shared_ptr<FloatList>
9204 * lyxtextclass.C: include FloatList.h
9205 (LyXTextClass): initialize floatlist_
9206 (TextClassTags): add TC_NOFLOAT
9207 (Read): match "nofloat" to TC_NOFLOAT and use it.
9208 (readFloat): modify call to floatlist_
9212 * FloatList.[Ch] (FloatList): remove commented out float
9214 (erase): new function
9216 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * MenuBackend.C (expandToc): fix crash when there is no document
9221 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9223 * many files: Add insetwrap.
9225 2002-09-09 John Levon <levon@movementarian.org>
9227 * text2.C: remove confusing and awkward depth wraparound
9229 2002-09-09 John Levon <levon@movementarian.org>
9231 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9234 * buffer.C: remove getIncludeonlyList()
9237 * lyxfunc.C: remove headers
9239 2002-09-09 Juergen Vigna <jug@sad.it>
9241 * text.C (getColumnNearX): fix form Michael this is most
9242 probably a cut&paste bug.
9244 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9246 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9248 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9249 references, ws changes.
9251 * text2.C (init): update counters after init
9252 (insertParagraph): no need to set counter on idividual paragraphs.
9253 (setCounter): access the counters object in the textclass object
9254 on in the buffer object.
9255 (updateCounters): ditto
9257 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9258 shared_ptr<Counters> to avoid loading counters.h in all
9260 (LyXTextClass): initialize ctrs_
9261 (TextClassTags): add TC_COUNTER, and ...
9262 (Read): use it here.
9263 (CounterTags): new tags
9264 (readCounter): new function
9265 (counters): new funtion
9266 (defaultLayoutName): return a const reference
9268 * counters.C (Counters): remove contructor
9269 (newCounter): remove a couple of unneeded statements.
9270 (newCounter): simplify a bit.
9271 (numberLabel): some small formatting changes.
9273 * buffer.[Ch]: remove all traces of counters, move the Counters
9274 object to the LyXTextClass.
9276 2002-09-06 Alain Castera <castera@in2p3.fr>
9278 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9279 package to set the horizontal alignment on fixed width columns.
9282 * lyx_sty.h: added tabularnewline macro def.
9284 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9286 2002-09-06 John Levon <levon@movementarian.org>
9288 * LyXAction.C: tooltips for sub/superscript
9290 * MenuBackend.C: a bit more verbose
9292 * lyxfunc.C: tiny clean
9294 * undo_funcs.C: document undo_frozen
9296 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9298 * counters.C (Counters): add missing algorithm counter.
9300 * text2.C (setCounter): lookup the counter with layouts latexname
9301 instead of by section number.
9302 (setCounter): use a hackish way to lookup the correct enum
9304 a float name->type change
9305 reset enum couners with counter name directly instead of depth value.
9307 * counters.C (Counters): remove the push_backs, change to use the
9308 float type not the float name.
9309 (labelItem): remove unused string, float name->type change
9311 * counters.h: don't include vector, loose the enums and sects vectors
9313 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9315 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9316 (Read): add float->TC_FLOAT to textclassTags
9317 (Read): and handle it in the switch
9318 (readFloat): new function
9320 * FloatList.C (FloatList): comment out the hardcoded float
9323 * lyxlayout.h: ws change.
9325 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9327 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9329 2002-09-03 Angus Leeming <leeming@lyx.org>
9331 * BufferView_pimpl.h: qualified name is not allowed in member
9332 declaration: WorkArea & Pimpl::workarea() const;
9334 * factory.C: added using std::endl directive.
9336 * text3.C: added using std::find and std::vector directives.
9338 2002-08-29 André Pönitz <poenitz@gmx.net>
9341 * text2.C: remove unused member number_of_rows
9344 * BufferView2.C: remove file, move contents to...
9345 * BufferView.C: ... here
9347 * BufferView_pimpl.C:
9348 * factory.C: move more inset creation to factory
9350 * vspace.C: avoid direct usage of LyXText, ws changes
9353 don't provide direct access to WorkArea, use two simple
9354 acessors haveSelction() and workHeight() instead
9357 2002-08-29 John Levon <levon@movementarian.org>
9359 * BufferView_pimpl.C (dispatch): do not continue when
9362 2002-08-28 André Pönitz <poenitz@gmx.net>
9364 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9367 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9369 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9371 * buffer.C: increment LYX_FORMAT to 221
9373 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9374 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9376 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9378 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9380 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9382 * factory.C (createInset): use LyXTextClass::floats
9384 * MenuBackend.C (expandFloatListInsert):
9385 (expandFloatInsert):
9388 * text2.C (setCounter):
9390 * LaTeXFeatures.C (useFloat):
9391 (getFloatDefinitions):
9393 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9395 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9396 floatlist_, with accessor floats().
9398 * FloatList.h: remove global FloatList
9400 2002-08-26 André Pönitz <poenitz@gmx.net>
9402 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9406 * BufferView_pimpl.C:
9407 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9409 2002-08-25 John Levon <levon@movementarian.org>
9411 * LyXAction.C: fix margin note description
9413 2002-08-24 John Levon <levon@movementarian.org>
9417 * bufferview_funcs.C:
9419 * undo_funcs.C: cleanups
9421 * lyxfunc.C: disable CUT/COPY when no selection
9423 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9425 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9426 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9428 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9429 Add backward compatibility to "mono", "gray" and "no".
9431 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9433 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9434 (and file_format >= 200).
9436 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9438 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9440 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9442 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9444 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9446 * BufferView_pimpl.C:
9453 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9454 inset and code to make it work with the paragraph code. The inset
9455 can be anywhere in the paragraph, but will only do the expected
9456 thing in LaTeX if the layout file contains the parameter line
9458 (or more generally, a nonzero value) for that layout.
9460 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9462 * paragraph.h: remove the declaration of undefined counters class
9465 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9467 * text2.C (setCounter): fixed enumeration mis-count as reported by
9468 Dr. Richard Hawkins.
9470 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9472 * paragraph_funcs.h: remove some unneeded includes
9474 * text.C (backspace): pasteParagraph now in global scipe
9476 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9477 (pasteSelection): ditto
9479 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9480 * paragraph_funcs.C (pasteParagraph): ... here
9482 2002-08-20 André Pönitz <poenitz@gmx.net>
9484 * commandtags.h: new LFUNs for swapping/copying table row/colums
9487 * lyxfunc.C: support for new lfuns
9489 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9492 * buffer.[Ch]: remove NO_COMPABILITY stuff
9494 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9496 * boost.C (throw_exception): new file, with helper function for
9497 boost compiled without exceptions.
9502 * ParameterStruct.h:
9503 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9505 * bufferlist.C (emergencyWriteAll): use boost bind
9507 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9509 * text.C: include paragraph_funcs.h
9510 (breakParagraph): breakParagraph is now in global scope
9512 * paragraph_funcs.[Ch]: new files
9514 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9517 * buffer.C: include paragraph_funcs.h
9518 (insertStringAsLines): breakParagraph is now in global scope
9520 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9523 * CutAndPaste.C: include paragraph_funcs.h
9524 (cutSelection): breakParagraphConservative is now in global scope
9525 (pasteSelection): ditto
9527 * buffer.h: declare oprator== and operator!= for
9528 Buffer::inset_iterator
9530 * bufferlist.C (emergencyWrite): don't use fmt(...)
9532 * text3.C: add using std::endl
9534 * BufferView.C (moveCursorUpdate): remove default arg
9536 2002-08-20 André Pönitz <poenitz@gmx.net>
9538 * buffer.[Ch]: move inline functions to .C
9541 * BufferView_pimpl.C:
9543 * buffer.[Ch]: use improved inset_iterator
9546 * paragraph.[Ch]: write one paragraph at a time
9548 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9550 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9551 style if style is not specified.
9553 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9555 * text2.C (setCounter): when searching for right label for a
9556 caption, make sure to recurse to parent insets (so that a caption
9557 in a minipage in a figure float works) (bug #568)
9559 2002-08-20 André Pönitz <poenitz@gmx.net>
9561 * text3.C: new file for LyXText::dispatch() and helpers
9563 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9565 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9567 2002-08-19 André Pönitz <poenitz@gmx.net>
9570 * text.C: new LyXText::dispatch()
9572 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9574 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9576 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9578 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9581 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9583 * Makefile.am: use $(variables) instead of @substitutions@
9585 2002-08-15 André Pönitz <poenitz@gmx.net>
9588 * BufferView_pimpl.C: streamlining mathed <-> outer world
9592 * LyXAction.C: remove unused LFUN_MATH
9594 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9596 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9598 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9600 * paragraph.C (Paragraph): reformat a bit
9601 (cutIntoMinibuffer): use builtin InsetList function instad of
9605 * buffer.C: include boost/bind.hpp, add using std::for_each
9606 (writeFileAscii): use ParagraphList iterators
9607 (validate): use for_each for validate traversal of paragraphs
9608 (getBibkeyList): use ParagraphList iterators
9609 (resizeInsets): use for_each to resizeInsetsLyXText for all
9611 (getParFromID): use ParagraphList iterators
9613 * BufferView2.C (lockInset): use paragraph list and iterators
9615 2002-08-14 John Levon <levon@movementarian.org>
9617 * lyxserver.C: remove spurious xforms include
9619 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9621 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9623 2002-08-13 André Pönitz <poenitz@gmx.net>
9626 * lyxfunc.C: further cleaning
9628 2002-08-13 André Pönitz <poenitz@gmx.net>
9630 * funcrequest.h: new constructor
9632 * funcrequest.C: move stuff here from .h
9635 * BufferView_pimpl.C:
9638 * lyxfunc.C: subsequent changes
9640 * lyxfunc.h: new view() member function
9642 * lyxfunc.C: subsequent changes
9644 2002-08-13 Angus Leeming <leeming@lyx.org>
9647 * BufferView_pimpl.C:
9655 changes due to the changed LyXView interface that now returns references
9656 to member variables not pointers.
9658 2002-08-13 Angus Leeming <leeming@lyx.org>
9660 * WordLangTuple (word, lang_code): return references to strings,
9665 * lyxtext.h: forward-declare WordLangTuple.
9670 * text.C: #include "WordLangTuple.h".
9673 * text.C: (selectNextWordToSpellcheck): constify return type.
9675 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9681 * paragraph_pimpl.h:
9684 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9686 Made updateCounter always count from start of buffer, and removed
9687 second argument (par).
9688 Reverted floats number display to '#'. Perhaps I'll try again when the
9689 code base is sanitized a bit.
9691 2002-08-12 Angus Leeming <leeming@lyx.org>
9693 * buffer.[Ch] (getLabelList): constify.
9695 2002-08-07 André Pönitz <poenitz@gmx.net>
9697 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9699 * funcrequest.h: extension to keep mouse (x,y) position
9701 2002-08-12 Juergen Vigna <jug@sad.it>
9703 * BufferView2.C (insertErrors): forbid undo when inserting error
9706 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9708 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9710 * ParagraphList.[Ch]: new files
9712 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9714 * BufferView2.C (lockInset): ParagraphList changes
9717 * bufferlist.C: ditto
9721 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9723 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9724 unused class variable counter_,
9726 * paragraph.[Ch] (getFirstCounter): delete unused function
9728 * counters.C: include LAssert.h
9729 (reset): add a new function with no arg, change other version to
9730 not have def. arg and to not allow empty arg.
9732 * text2.C (setCounter): remove empty arg from call to Counters::reset
9734 2002-08-11 John Levon <levon@movementarian.org>
9736 * Makefile.am: add WordLangTuple.h
9738 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9740 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9741 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9743 * insets/insettext.C: InsetList changes
9745 * graphics/GraphicsSupport.C (operator()): InsetList changes
9747 * toc.C (getTocList): InsetList changes
9749 * paragraph_pimpl.[Ch]: InsetList changes
9751 * paragraph.[Ch]: InsetList changes
9753 * buffer.C (inset_iterator): InsetList changes
9754 (setParagraph): ditto
9755 * buffer.h (inset_iterator): ditto
9756 * iterators.C (operator++): ditto
9757 * iterators.h: ditto
9759 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9761 * InsetList.[Ch]: new files, most InsetList handling moved out of
9764 * BufferView2.C (removeAutoInsets): InsetList changes
9766 (ChangeInsets): ditto
9768 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9770 * paragraph_pimpl.h (empty): new function
9772 * paragraph.[Ch] (empty): new function
9774 * other files: use the new Paragraph::empty function
9776 2002-08-09 John Levon <levon@movementarian.org>
9778 * lyxtext.h: remove unused refresh_height
9780 2002-08-09 John Levon <levon@movementarian.org>
9787 * paragraph.C: move sgml char escaping out of paragraph
9790 * paragraph.C: remove id setter
9794 * paragraph_pimpl.C: remove dead tex_code_break_column
9796 * bufferview_funcs.C: small cleanup
9798 * lyxfunc.C: remove dead proto
9800 * lyxtext.h: make some stuff private. Remove some dead stuff.
9802 * lyxgluelength.C: make as[LyX]String() readable
9804 2002-08-08 John Levon <levon@movementarian.org>
9809 * ToolbarDefaults.C:
9812 * toc.C: lyxaction cleanup
9814 2002-08-08 John Levon <levon@movementarian.org>
9816 * BufferView2.C: small cleanup
9819 * lyxfind.C: move unnecessary header into the .C
9821 2002-08-08 John Levon <levon@movementarian.org>
9823 * funcrequest.h: just tedious nonsense
9826 * lyx_main.C: cleanups
9829 * vspace.C: remove dead header lyx_main.h
9831 2002-08-07 Angus Leeming <leeming@lyx.org>
9834 * paragraph_pimpl.h:
9835 Forward declare class Counters in paragraph.h by moving the ctrs member
9836 variable into Paragraph::Pimpl.
9837 (counters): new method, returning a reference to pimpl_->ctrs.
9839 * text2.C: ensuing changes.
9841 2002-08-07 John Levon <levon@movementarian.org>
9843 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9845 * BufferView_pimpl.C: announce X selection on double/triple
9848 * lyx_main.C: use correct bool in batch dispatch
9850 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9852 2002-08-07 André Pönitz <poenitz@gmx.net>
9854 * funcrequest.h: new class to wrap a kb_action and its argument
9857 * BufferView_pimpl[Ch]:
9861 * lyxrc.C: subsequent changes
9864 2002-08-07 John Levon <levon@movementarian.org>
9866 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9867 document options change.
9869 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9874 * makefile.am: move counters functionality over from
9875 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9877 2002-08-06 John Levon <levon@movementarian.org>
9879 * WordLangTuple.h: new file for word + language code tuple
9890 * BufferView2.C: use WordLangTuple
9893 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9895 2002-08-06 John Levon <levon@movementarian.org>
9897 * lyx_main.C: fix cmdline batch handling
9899 2002-08-06 André Pönitz <poenitz@gmx.net>
9901 * lyxrc.C: set default for show_banner to true
9903 2002-08-06 John Levon <levon@movementarian.org>
9905 * pspell.C: fix a crash, and allow new aspell to work
9907 2002-08-06 John Levon <levon@movementarian.org>
9910 * kbmap.C: small cleanup
9913 * vspace.C: add const
9915 2002-08-05 John Levon <levon@movementarian.org>
9917 * LyXAction.C: back to tabular-insert
9919 2002-08-04 John Levon <levon@movementarian.org>
9922 * BufferView.C: cosmetic change
9924 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9934 * BufferView2.C: purge all "Lyx" not "LyX" strings
9937 * lyxcursor.C: attempt to add some documentation
9942 * ToolbarDefaults.C:
9943 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9944 merge with LFUN_TABULAR_INSERT
9951 * pspell.C: split up i/pspell implementations into separate
9952 files, many cleanups
9954 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9956 * text2.C: some cleanup
9958 * lyxfunc.C: don't check for isp_command == "none" any more, it
9959 didn't make any sense
9961 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9966 * makefile.am: move counters functionality over
9967 from text2.C/paragraph.[Ch] to counters.[Ch], and
9969 2002-08-02 John Levon <levon@movementarian.org>
9971 * buffer.C: s/lyxconvert/lyx2lyx/
9973 2002-08-02 Angus Leeming <leeming@lyx.org>
9975 * lyxlex.C: revert John's change as it breaks reading of the user
9978 2002-08-02 Angus Leeming <leeming@lyx.org>
9980 * importer.C (Import):
9981 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9982 changes due to LyXView::view() now returning a boost::shared_ptr.
9984 2002-08-02 John Levon <levon@movementarian.org>
9986 * lyxlex.C: small cleanup
9988 2002-08-02 John Levon <levon@movementarian.org>
9990 * text2.C (status): small cleanup, no logic change
9992 2002-08-01 John Levon <levon@movementarian.org>
9995 * buffer.C (writeFile): don't output alerts, caller
9999 * lyx_cb.C: from above
10001 * lyxfunc.C: allow to open non-existent files
10003 2002-07-31 John Levon <levon@movementarian.org>
10005 * lyxserver.C: don't let incidental errors get
10008 2002-07-30 John Levon <levon@movementarian.org>
10010 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10012 2002-07-30 John Levon <levon@movementarian.org>
10015 * lyxserver.C: remove I/O callback too
10017 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10019 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10022 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10024 * many files: strip,frontStrip -> trim,ltrim,rtrim
10026 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10028 * PrinterParams.h: remove extern containsOnly, and include
10029 support/lstrings.h instead.
10031 * LaTeX.C (scanAuxFile): modify because of strip changes
10033 * buffer.C (makeLaTeXFile): ditto
10034 * bufferparams.C (writeFile): ditt
10035 * lyxfont.C (stateText): ditto
10036 * lyxserver.C (read_ready): ditto
10037 * vc-backend.C (scanMaster): ditto
10039 * BufferView_pimpl.h: ws changes
10041 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10043 2002-07-26 André Pönitz <poenitz@gmx.net>
10045 * kb_sequence.C: remove unnedred usings
10047 2002-07-26 Juergen Vigna <jug@sad.it>
10049 * lyxfind.C (LyXReplace): we have to check better if the returned
10050 text is not of theLockingInset()->getLockingInset().
10052 2002-07-25 Juergen Vigna <jug@sad.it>
10054 * lyxfind.C (LyXReplace): don't replace if we don't get the
10057 * undo_funcs.C (createUndo): remove debugging code.
10059 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10061 * buffer.C (parseSingleLyXformat2Token): Use default placement
10062 when reading old floats.
10064 * FloatList.C (FloatList): Change the default placement of figure
10065 and tables to "tbp".
10067 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10069 * MenuBackend.C: using std::max
10071 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * MenuBackend.C (expandToc):
10074 (expandToc2): code moved from xforms menu frontend. It is now
10075 generic and TOCs are transparent to menu frontends.
10077 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * toc.C (getTocList): protect against buf=0
10081 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10082 Menu as first parameter. Now, this calls itself recursively to
10083 expand a whole tree (this will be useful for TOC handling)
10084 (expandFloatInsert): remove 'wide' version of floats
10086 * MenuBackend.h (submenuname): returns the name of the submenu.
10087 (submenu): returns the submenu itself, provided it has been
10088 created by MenuBackend::expand
10090 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10092 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10093 insets which have noFontChange == true. (bug #172)
10095 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10097 * BufferView_pimpl.C: add connection objects and use them...
10100 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10102 * MenuBackend.C (expandLastfiles):
10105 (expandFloatListInsert):
10106 (expandFloatInsert):
10107 (expand): split expand in parts
10109 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10111 * lyx_gui.C: use lyx_gui::exit()
10113 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10115 * LyXAction.C: show the failing pseudo action
10117 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10119 * buffer.C (readFile): Run the lyxconvert script in order to read
10122 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10126 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10128 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10132 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10134 2002-07-22 Herbert Voss <voss@lyx.org>
10137 * lyxlength.[Ch]: add support for the vertical lengths
10139 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10141 * toc.[Ch]: std:: fixes
10143 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10145 * lyxrc.C: do not include lyx_main.h
10147 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10153 * BufferView2.C: include "lyxlex.h"
10156 * bufferparams.h: do not #include "lyxlex.h"
10158 * lyxtextclasslist.C (Add): remove method
10159 (classlist): renamed to classlist_
10161 * paragraph_pimpl.C:
10165 * bufferview_funcs.C:
10170 * toc.C (getTocList): use BufferParams::getLyXTextClass
10172 * toc.C (getTocList): use InsetFloat::addToToc
10174 * toc.[Ch]: new files, containing helper functions to handle table
10177 * lyxfunc.C (dispatch): no need to remove spaces around command
10179 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10180 first command of the sequence; it is not very clever, but I do not
10181 have a better idea, actually
10183 * LyXAction.C (LookupFunc): make sure to remove space at the
10184 beginning and end of the command
10186 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10188 * MenuBackend.C (getMenubar): new method: return the menubar of
10190 (read): treat differently reading of menu and menubar (in
10191 particular, the menubar has no name now)
10192 (Menu::menubar): remove
10194 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10197 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10199 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10200 a bibitem inset in a RTL paragraph.
10202 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10204 * paragraph_pimpl.C: constify
10206 * BufferView_pimpl.C:
10208 * lyxfunc.C: fix dispatch in a nicer way
10210 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10212 * lyxfunc.C (dispatch):
10213 * BufferView_pimpl.C:
10214 * BufferView_pimpl.h:
10216 * BufferView.h: rename Dispatch() to dispatch()
10218 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10220 * lyxlayout.C (Read): honor DependsOn tag
10222 * lyxlayout.[Ch] (depends_on): new method
10224 * version.C.in: update lyx_docversion
10226 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10228 * paragraph.C (validate): remove from here...
10229 * paragraph_pimpl.C (validate): ... and move here
10230 (isTextAt): make it const
10232 * buffer.C (getLists): ws cleanup
10234 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10236 * language.C (read): Use iso8859-1 encoding in latex_lang
10237 (this prevents LyX from crashing when using iso10646-1 encoding).
10239 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10241 * text2.C (toggleInset): if cursor is inside an inset, close the
10242 inset and leave cursor _after_ it
10244 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10246 * lyxfunc.C: move minibuffer completion handling out of here
10248 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10250 * BufferView_pimpl.C:
10251 * LaTeX.C: fix dispatch calls
10253 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10255 * text.C (drawChars): Fix Arabic text rendering.
10257 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10261 * lyxfunc.C: remove message-push/pop
10265 * lyxfunc.C: rationalise some code by removing verboseDispatch
10266 in favour of a bool argument to dispatch()
10268 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10270 * lyx_main.C (init): make sure to read symlinks as absolute paths
10272 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10275 * lyxfunc.C: no need for commandshortcut to be a member
10277 2002-07-15 André Pönitz <poenitz@gmx.net>
10279 * converter.C: add support for $$s (scripts from lib/scripts dir)
10280 * lyx_main.C: white space
10282 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10286 * lyxrc.C: remove second exit confirmation
10288 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10293 * BufferView_pimpl.h:
10294 * BufferView_pimpl.C:
10295 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10297 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10299 * MenuBackend.C (expand): add numeric shortcuts to document menu
10301 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10303 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10305 * lyxfont.C (setLyXFamily):
10312 * buffer.C (asciiParagraph): use ascii_lowercase
10314 2002-07-15 Mike Fabian <mfabian@suse.de>
10316 * lyxlex_pimpl.C (search_kw):
10317 * lyxlex.C (getLongString):
10318 * converter.h (operator<):
10319 * converter.C (operator<):
10320 * buffer.C (parseSingleLyXformat2Token):
10322 * ToolbarDefaults.C (read):
10323 * MenuBackend.C (checkShortcuts):
10325 * LColor.C (getFromGUIName):
10326 (getFromLyXName): use the compare_ascii_no_case instead of
10327 compare_no_case, because in turkish, 'i' is not the lowercase
10328 version of 'I', and thus turkish locale breaks parsing of tags.
10330 2002-07-16 Angus Leeming <leeming@lyx.org>
10332 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10333 now takes a Buffer const & argument.
10335 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10337 * BufferView.C (resize): check there's a buffer to resize
10339 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10341 * lyxfunc.C: remove dead code
10344 * lyxserver.C: use lyx_guii::set_read_callback
10346 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10348 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10349 an inset in a RTL paragraph.
10351 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10353 * lyxfunc.C: repaint after a font size update
10355 2002-07-15 André Pönitz <poenitz@gmx.net>
10357 * lyxlength.C: inBP should be able to return negative values
10359 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10361 * lyxfunc.C: use lyx_gui::update_fonts()
10363 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10365 * lyxfunc.C: use lyx_gui::update_color()
10367 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10373 * lyxrc.C: remove file->new asks for name option, and let
10374 buffer-new take an argument
10376 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10378 * BufferView_pimpl.C: remove unneeded extra repaint()
10380 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10382 * LyXAction.C: allow command-sequence with NoBuffer
10384 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10386 2002-07-10 Angus Leeming <leeming@lyx.org>
10388 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10390 2002-07-09 Angus Leeming <leeming@lyx.org>
10392 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10394 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10396 * lengthcommon.h: whitespace
10398 * lyxfunc.C: update scrollbar after goto paragraph
10400 * lyxtext.h: factor out page break drawing, and fix it so
10401 page break/added space paints as selected nicely
10403 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10405 * BufferView_pimpl.C: add FIXMEs, clean up a little
10407 2002-07-09 André Pönitz <poenitz@gmx.net>
10409 * lyxfont.[Ch]: support for wasy symbols
10411 2002-07-08 André Pönitz <poenitz@gmx.net>
10413 * BufferView_pimpl.C: apply John's patch for #93.
10415 2002-07-05 Angus Leeming <leeming@lyx.org>
10417 * BufferView_pimpl.C (buffer): generate previews if desired.
10419 * LColor.h: add "preview" to the color enum.
10421 * LColor.C (LColor): add a corresponding entry to the items array.
10423 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10426 2002-07-05 Angus Leeming <leeming@lyx.org>
10428 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10429 The body of the code is now in the method that is passed an ostream &
10430 rather than a file name.
10431 Pass an additional only_preamble parameter, useful for the forthcoming
10434 2002-07-03 André Pönitz <poenitz@gmx.net>
10436 * lyxfunc.C: simplify getStatus() a bit for math stuff
10438 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10442 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10444 * text.C (changeRegionCase): do not change case of all the
10445 document when region ends at paragraph end (bug #461)
10447 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10449 * paragraph.C (startTeXParParams):
10450 (endTeXParParams): add \protect when necessary
10452 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * BufferView_pimpl.C (workAreaExpose): remove warning
10456 2002-06-27 Angus Leeming <leeming@lyx.org>
10458 * Makefile.am: add lyxlayout_ptr_fwd.h.
10460 2002-06-26 André Pönitz <poenitz@gmx.net>
10462 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10464 2002-06-25 Angus Leeming <leeming@lyx.org>
10466 * lyxfunc.C (dispatch): Comment out the call to
10467 grfx::GCache::changeDisplay. The method no longer exists now that the
10468 pixmap generation part of the graphics loader has been moved into
10471 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * text2.C: layout as layout
10475 * text.C: layout as layout
10477 * tabular.C (OldFormatRead): layout as layout
10479 * paragraph_pimpl.C (TeXDeeper): layout as layout
10480 (realizeFont): layout as layout
10482 * paragraph.C (writeFile): layout as layout
10483 (validate): layout as layout
10484 (getFont): layout as layout
10485 (getLabelFont): layout as layout
10486 (getLayoutFont): layout as layout
10487 (breakParagraph): layout as layout
10488 (stripLeadingSpaces): layout as layout
10489 (getEndLabel): layout as layout
10490 (getMaxDepthAfter): layout as layout
10491 (applyLayout): layout as layout
10492 (TeXOnePar): layout as layout
10493 (simpleTeXOnePar): layout as layout
10494 (TeXEnvironment): layout as layout
10495 (layout): layout as layout
10496 (layout): layout as layout
10498 * lyxtextclass.C (compare_name): new functor to work with
10499 shared_ptr, layout as layout
10500 (Read): layout as layout
10501 (hasLayout): layout as layout
10502 (operator): layout as layout
10503 (delete_layout): layout as layout
10504 (defaultLayout): layout as layout
10506 * lyxlayout_ptr_fwd.h: new file
10508 * lyxlayout.C (Read): layout as layout
10510 * lyx_cb.C (MenuInsertLabel): layout as layout
10512 * bufferlist.C (newFile): layout as layout
10514 * buffer.C (readLyXformat2): layout as layout
10515 (parseSingleLyXformat2Token): layout as layout
10516 (insertStringAsLines): layout as layout
10517 (asciiParagraph): layout as layout
10518 (latexParagraphs): layout as layout
10519 (makeLinuxDocFile): layout as layout
10520 (simpleLinuxDocOnePar): layout as layout
10521 (makeDocBookFile): layout as layout
10522 (simpleDocBookOnePar): layout as layout
10523 (getLists): layout as layout
10525 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10527 * CutAndPaste.C (cutSelection): layout as layout
10528 (pasteSelection): layout as layout
10529 (SwitchLayoutsBetweenClasses): layout as layout
10531 * BufferView_pimpl.C (Dispatch): layout as layout
10532 (smartQuote): layout as layout
10534 * BufferView2.C (unlockInset): layout as layout
10536 2002-06-24 André Pönitz <poenitz@gmx.net>
10538 * lyxfunc.C: fix #487
10540 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10544 * lyxfunc.C: remove display_shortcuts, show_banner
10546 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10548 * Buffer_pimpl.C: oops, update on resize
10550 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10557 * BufferView.C: use repaint()
10559 * BufferView_pimpl.h:
10560 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10561 as it's a clearer description. Remove superfluous
10564 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10566 * text.C: fix bug 488. Not ideal, but getting
10567 getWord() to work properly for the insets that
10568 matter is more difficult ...
10570 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10572 * BufferView_pimpl.C:
10575 * lyxfunc.C: remove the six million index lyxfuncs to just
10576 one, and DTRT (bug 458)
10578 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10582 * BufferView_pimpl.h:
10583 * BufferView_pimpl.C: clean up resize() stuff,
10584 and unnecessary updateScreen()s
10586 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10590 * BufferView_pimpl.h:
10591 * BufferView_pimpl.C:
10594 * minibuffer.C: remove focus management of workarea,
10595 not needed. Use screen's greyOut()
10597 2002-06-17 Herbert Voss <voss@lyx.org>
10599 * converter.C: (convert) do not post a message, when converting
10600 fails, let the calling function decide what to do in this case
10602 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10604 * lyxfunc.C: tidy up a little
10606 2002-06-16 <alstrup@diku.dk>
10608 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10609 Got rid of FORMS_H_LOCATION include. Now we are
10612 2002-06-15 LyX Development team <lyx@rilke>
10614 * buffer.[Ch] (sgmlOpenTag):
10615 (sgmlCloseTag): Added support for avoiding pernicious mixed
10616 content. Return number of lines written.
10618 (makeLinuxDocFile):
10619 (makeDocBookFile): Fixed calls to sgml*Tag.
10620 Simple white space clean.
10622 (simpleDocBookOnePar): Simple white space clean.
10624 * tabular.[Ch] (docBook): Renamed to docbook and got another
10625 argument to related with the pernicious mixed content.
10627 (docbookRow): Fixed calls for docbook inset method.
10629 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10631 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10632 so it's X11 independent.
10636 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10638 2002-06-15 Lyx Development team <lyx@electronia>
10640 * intl.h: Renamed getTrans to getTransManager.
10642 2002-06-14 Angus Leeming <leeming@lyx.org>
10644 * Makefile.am: nuke forgotten stl_string_fwd.h.
10646 2002-06-12 Angus Leeming <leeming@lyx.org>
10648 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10650 2002-06-13 Angus Leeming <leeming@lyx.org>
10653 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10655 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10657 * kbmap.C (getiso): add support for cyrillic and greek
10659 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10663 * BufferView_pimpl.h:
10664 * BufferView_pimpl.C: move bogus scrolling logic
10667 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10670 * BufferView_pimpl.C: view->resize() change
10672 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10674 * BufferView_pimpl.C: topCursorVisible
10677 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10681 * lyx_gui.C: move to frontends/
10685 * lyx_main.C: changes from above
10687 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10694 * lyx_main.C: minor tidy
10696 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10698 * BufferView_pimpl.h:
10699 * BufferView_pimpl.C:
10701 * BufferView.C: make painter() const,
10704 * BufferView2.C: use screen() accessor
10707 * lyx_main.C: some minor cleanup
10709 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10711 * BufferView_pimpl.h:
10712 * BufferView_pimpl.C: remove enter/leaveView,
10715 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10720 * BufferView_pimpl.h:
10721 * BufferView_pimpl.C: only construct screen once,
10724 * lyxrc.C: remove pointless comment
10726 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10729 * BufferView.C: remove active() and belowMouse()
10731 * BufferView_pimpl.h:
10732 * BufferView_pimpl.C: use workarea() not workarea_,
10733 and make it use a scoped_ptr instead
10735 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10737 * lyx_gui.C: add debug message on BadWindow
10739 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10741 * sp_spell.C: fdopen is not part of the C++ standard.
10743 * paragraph.C (InsetIterator): use >= instead of ==
10745 2002-06-07 Angus Leeming <leeming@lyx.org>
10747 Fixes needed to compile with Compaq cxx 6.5.
10748 * BufferView_pimpl.C:
10755 * lyxtextclasslist.C:
10760 all c-library variables have been moved into namespace std. Wrap
10761 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10766 Add a using std::abs declaration.
10768 * kbmap.h (modifier_pair):
10769 * paragraph.h (InsetTable, InsetList):
10770 * lyxfont.h (FontBits):
10771 type definition made public.
10773 * bufferlist.C (emergencyWriteAll): the compiler complains that
10774 there is more than one possible lyx::class_fun template to choose from.
10775 I re-named the void specialisation as lyx::void_class_fun.
10777 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10779 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10780 the compiler is is unable to find tostr in write_attribute.
10782 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10784 * buffer.C (sgmlError): hide #warning
10786 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10788 * xtl/*: get rid of xtl, which is not in use anyway
10790 * LyXAction.C (init):
10791 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10792 were unimplemented xtl experimentation
10794 2002-06-04 André Pönitz <poenitz@gmx.net>
10796 * lyxfunc.C: disable array operation on simple formulae
10798 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10800 * converter.C: constify a bit
10802 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10804 * lyx_gui.C: check xforms version correctly
10806 2002-04-30 Herbert Voss <voss@lyx.org>
10808 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10811 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10813 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10814 attempt to register it with a VCS)
10816 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10818 * lyx_main.C (init): honor variables LYX_DIR_13x and
10821 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10825 * lyx_main.C: fix a crash on bad command line,
10826 and give a useful exit status on error
10828 * lyxfunc.C (doImport): allow -i lyx to work
10830 2002-03-30 André Pönitz <poenitz@gmx.net>
10832 * lyxfunc.C: mathed font changes
10834 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10849 * trans_mgr.h: srcdocs, and some minor cleanups
10851 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10853 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10854 call getFont all the time)
10856 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10858 * switch from SigC signals to boost::signals
10860 2002-05-29 André Pönitz <poenitz@gmx.net>
10862 * paragraph_pimpl.C (getChar): don't call size() too often...
10864 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * paragraph_pimpl.C (insertChar): do not try to update tables when
10867 appending (pos == size())
10869 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10870 in order to reduce drastically the number of comparisons needed to
10871 parse a large document
10873 2002-05-29 André Pönitz <poenitz@gmx.net>
10879 * textclasslist.[Ch]:
10880 * sp_ispell.h: whitespace change
10882 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10884 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10885 lyxaction directly now.
10887 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10891 * lyxvc.C: remove unused headers
10893 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10900 * undo_funcs.C: some cleanups. Use shared_ptr
10901 and a template for the undo stacks.
10903 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10905 * BufferView_pimpl.h:
10906 * BufferView_pimpl.C:
10913 * text2.C: use key_state/mouse_state
10915 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10917 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10920 * chset.C: change include order
10921 (loadFile): use boost regex and get rid of LRegex and LSubstring
10923 * Makefile.am (BOOST_LIBS): new variable
10924 (lyx_LDADD): use it
10926 * LaTeX.C: change include order.
10927 (scanAuxFile): use boost regex and get rid of LRegex and
10931 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10936 * FontInfo.C: moved to frontends/xforms/
10939 * FontLoader.C: moved into frontends for GUIIzation
10944 * lyxfunc.C: changes from above
10946 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10948 * LColor.C: remove spurious X include
10950 * BufferView_pimpl.C:
10955 * text2.C: move font metrics to frontends/
10957 2002-05-24 Juergen Vigna <jug@sad.it>
10959 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10960 setting the undo_cursor.
10962 * ParagraphParameters.h: include local includes first.
10964 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10966 * BufferView_pimpl.C:
10967 * BufferView_pimpl.h:
10971 * screen.C: move WorkArea into frontends/
10977 * BufferView2.C: move LyXScreen into frontends/
10981 * lyx_gui.C: move lyxlookup into frontends/xforms/
10983 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10986 * BufferView_pimpl.C:
10996 * bufferview_funcs.C:
11009 * vc-backend.C: move LyX/XFormsView into frontends/
11011 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11023 * text2.C: move Painter to frontends/
11025 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11027 * buffer.C: comment out some some code that depend upon lyx_format
11030 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11031 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11033 * buffer.h (NO_COMPABILITY): turn off compability
11035 * ColorHandler.C: include scoped_array.hpp
11037 * font.C: Use more specific smart_ptr header.
11040 * ShareContainer.h: ditto
11041 * lyx_main.h: ditto
11043 * FontInfo.h: ditto
11044 * BufferView_pimpl.h: ditto
11045 * ColorHandler.h: ditto
11047 * kbmap.C (defkey): change call to shared_ptr::reset
11049 2002-05-21 Juergen Vigna <jug@sad.it>
11051 * buffer.C (insertErtContents): fix to insert ert asis if it is
11052 non empty. Skip it completely if it contains only whitespaces.
11054 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11056 * BufferView_pimpl.C:
11057 * BufferView2.C: clear selection on paste (bug 393)
11059 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * DepTable.C: include ctime
11063 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11065 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11067 2002-05-14 Juergen Vigna <jug@sad.it>
11069 * text.C (breakParagraph): fixed function to honor the keepempty
11070 layout in the right maner and also to permit the right breaking
11071 algorithm on empty or non empyt keepempty paragraphs.
11073 * paragraph.C (breakParagraph): we have to check also if the par
11074 is really empty (!size()) for isempty otherwise we do the wrong
11077 2002-05-10 Juergen Vigna <jug@sad.it>
11079 * buffer.[Ch] : The following are only changes to the ert
11080 compatibility read reading old LaTeX layout and font stuff and
11081 convert it to ERTInsets.
11083 * buffer.h: added isErtInset().
11085 * buffer.C (struct ErtComp): add a fromlayout bool to check
11086 if we're inside a LaTeX layout.
11087 (isErtInset): new helper function.
11088 (insertErtContents): look for other ert insets before this one
11089 and insert the contents there, so that we don't have subsequent
11090 ERT insets with nothing between them. This way we create only one
11091 inset with multiple paragraphs. Also check if we don't insert only
11092 spaces ' ' as they are ignored anyway afterwards in the .tex file
11093 so if we have only spaces we will ignore this latex part in the
11095 (parseSingleLyXformat2Token \\layout): better compatibility when
11096 reading layout-latex stuff.
11097 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11099 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11100 stuff after reading the inset only get the information back from
11103 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11105 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11107 * LaTeXFeatures.C (getBabelOptions): New method.
11109 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11111 * BufferView_pimpl.C (Dispatch): work around missing argument for
11114 2002-05-08 Juergen Vigna <jug@sad.it>
11116 * text.C (leftMargin): handle paragraph leftindent.
11118 * paragraph.C (writeFile): write the new \\leftindent tag.
11119 (validate): handle leftindent code.
11120 (TeXEnvironment): handle paragraphleftindent code again.
11122 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11124 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11125 for paragrap_extra indent code and new token \\leftindent.
11126 (latexParagraphs): handle the leftindent as environment.
11128 * ParameterStruct.h: added leftindent support.
11130 * ParagraphParameters.C (leftIndent): added support functions for
11131 the paragraph left indent.
11133 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11136 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11138 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11141 * text.C (computeBidiTables): No bidi in insetERT.
11143 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11146 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11148 * version.C.in: pre 5
11150 2002-05-02 José Matos <jamatos@fep.up.pt>
11151 * buffer.C (makeDocBookFile): white space changes, add newline to
11153 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11155 * tabular.C (docBook): fix typo.
11157 2002-05-03 Juergen Vigna <jug@sad.it>
11159 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11160 change in LyXText as we can not be sure it was not freed.
11161 (drawOneRow): remove unused code.
11163 * text.C (drawInset): redo the calculation of the need_break_row as
11164 it could have a row which was already freed.
11165 (draw): look at the return value of drawInset and return false if
11166 it also returned false.
11167 (paintRowText): look at the return value of draw and return false if
11168 it also returned false.
11170 * lyxtext.h: added bool return type to drawInset() and draw() so that
11171 if we have a change in the row so that the rowbreak has to be redone
11172 we abort drawing as it will be called again.
11174 2002-05-02 Juergen Vigna <jug@sad.it>
11176 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11177 a change in the maintext also if we're inside an inset.
11178 (Dispatch): set the cursor again after a break line and after the
11179 screen has been updated as it could be we're in a different row.
11181 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11182 to set the cursor behind the pargraph with > size().
11183 (setCursor): check also for the same paragraph when checking where
11184 to put the cursor if we have a NFR inset.
11186 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11187 parts of layout read further up as it still was in the wrong
11190 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11192 * screen.C (drawFromTo): change sine fullRebreak always return
11195 * buffer.C (parseSingleLyXformat2Token): reindent some
11197 * BufferView_pimpl.C (update): change since fullRebreak always
11199 (Dispatch): git rid of the last hardcoded "Standard"s.
11201 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * text2.[Ch] (fullRebreak): make it return void now that we always
11206 2002-04-30 Juergen Vigna <jug@sad.it>
11208 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11209 ert compatibility check for "latex" layout.
11211 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11213 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11214 minipages: use col% instead of p%, and also use the current font.
11215 (makeLaTeXFile): Fix use babel condition.
11216 (parseSingleLyXformat2Token): Correct font when reading old floats.
11218 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11220 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11221 inserting list of floats.
11223 2002-04-25 Herbert Voss <voss@lyx.org>
11225 * MenuBackend.C (expand): don't add the graphics extensions to the
11228 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11231 non-existing layout, do not complain if it was the default layout
11232 of the original class (bug #342)
11234 2002-04-24 Juergen Vigna <jug@sad.it>
11236 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11237 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11239 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11241 * buffer.C (getBibkeyList): If using \bibliography, return the
11242 option field with the reference itself. Enables us to provide natbib
11243 support when using \bibliography.
11245 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11247 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11249 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11250 natbib is provided by the LaTeX class.
11252 2002-04-23 Juergen Vigna <jug@sad.it>
11254 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11257 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11259 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11263 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11264 ensuremath around textordmasculine, textordfeminine and
11267 2002-04-19 Juergen Vigna <jug@sad.it>
11269 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11270 reinitializing the buffer otherwise row-dimensions may be wrong.
11271 (update): reset also the selection cursors if they do exits otherwise
11272 their x/y positions may be wrong.
11274 * text2.C (cursorDown): don't enter the inset if we came from a row
11275 above and are one row over the inset.
11277 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11278 really leaving an inset.
11280 2002-04-18 Juergen Vigna <jug@sad.it>
11282 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11283 of the selected paragraph does not have the selected layout also if
11286 * text2.C (setLayout): fixed bug which did not change last selected
11289 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11290 changed the read and substituted \\end_float with \\end_inset!
11292 * BufferView_pimpl.C (cursorPrevious):
11293 (cursorNext): fixed to make it work with rows heigher than the work
11294 area without moving the cursor only the draw of the row.
11295 (workAreaMotionNotify): fix jumping over high rows.
11297 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11302 2002-04-16 Juergen Vigna <jug@sad.it>
11304 * text2.C (setCursor): set also the irow().
11305 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11307 (cursorDown): support for locking an inset if the x_fix value goes
11308 inside it. That way I can transverse insets too with cursor up/down.
11310 * lyxrow.h: added irow helper function same as other (i) functions.
11312 * BufferView_pimpl.C (cursorPrevious):
11313 (cursorNext): fixed for insets!
11315 2002-04-15 Juergen Vigna <jug@sad.it>
11317 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11318 position otherwise it is wrong in some cases.
11320 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11321 inside the inset before the call.
11323 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11325 * buffer.[Ch] (getBibkeyList): make it const.
11327 2002-04-12 Juergen Vigna <jug@sad.it>
11329 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11331 * text2.C (getCursorX): new helper function
11332 (setCursor): compute also ix_
11333 (setCursorFromCoordinates): set also ix.
11335 * lyxcursor.h: added ix_ and helper functions.
11337 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11339 * buffer.C (insertStringAsLines): dont break paragraph if the this
11340 paragraph is inside an inset which does not permit it!
11342 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11343 also with no chars on this paragraph.
11344 (paintRowText): only paint stuff if it's inside the workarea!
11346 * paragraph.C (breakParagraph): honor keepempty flag and break the
11347 paragraph always below not above.
11349 * BufferView2.C (unlockInset): update the paragraph layout on inset
11350 unlock as we changed paragraph in such a case.
11352 * lyxfind.C (LyXFind): clear the former selection if not found!
11354 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11355 again called in insertChar().
11357 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11358 an inset which uses the whole row!
11359 (rightMargin): ditto.
11360 (insertChar): force a rebreak if we inserted an inset!
11362 2002-03-28 Herbert Voss <voss@lyx.org>
11364 * lyxlength.[Ch]: add inBP() to get the right PS-point
11365 units (BigPoint). With inPixels we have rounding errors
11367 2002-04-11 Juergen Vigna <jug@sad.it>
11369 * text2.C (setCursorFromCoordinates): set iy to the right value.
11370 (setCursor): add check if row->previous exists!
11372 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11373 an old float_type as this was the case in the old code!
11375 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11377 * BufferView2.C (showLockedInsetCursor): use iy
11378 (fitLockedInsetCursor): ditto
11380 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11381 locked insets as there we have the right value now.
11383 * lyxcursor.C: added iy_ variable and iy functions to set to the
11384 baseline of cursor-y of the locked inset.
11386 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11387 (setCursor): fixed for insets which need a full row.
11389 * text.C (rowLastPrintable): don't ignore the last space when before
11390 an inset which needs a full row.
11391 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11392 as last character of a row when before a inset which needs a full row.
11394 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * version.C.in: update date
11398 * text2.C (fullRebreak): try to always return true and see what
11401 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11403 * MenuBackend.C (expand): use Floating::listName
11405 * FloatList.C (FloatList): add listName argument to the built-in
11408 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11409 text associated with the float.
11411 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11415 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * ShareContainer.h: add a couple of missing typenames.
11419 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11421 * lyxrc.C (getDescription): use _() correctly rather than N_().
11423 2002-03-28 Herbert Voss <voss@lyx.org>
11425 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11426 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11428 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11430 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11431 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11433 2002-03-29 Juergen Vigna <jug@sad.it>
11435 * lyxfunc.C (dispatch): add a missing fitCursor call.
11437 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11438 it was scrolled by a cursor move, so return the bool status.
11440 * BufferView.C (fitCursor): return the bool flag also to the outside
11441 world as this is needed.
11443 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11445 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11446 call the edit() as it is not needed (and wrong) IMO.
11447 (workAreaButtonPress): set the screen_first variable before evt.
11448 unlock the inset as this may change screen_first and then we have
11449 a wrong y position for the click!
11451 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11453 * MenuBackend.C (expand): another translation that I missed
11455 2002-03-28 Juergen Vigna <jug@sad.it>
11457 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11459 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11461 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11463 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11465 * MenuBackend.C (expand): fix export/view/update when there is no
11468 2002-03-27 Herbert Voss <voss@lyx.org>
11470 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11473 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11475 * bufferview_funcs.C (currentState): only show paragraph number
11476 for is DEVEL_VERSION is set.
11478 * lyxfunc.C (dispatch): put warning in INFO channel
11480 * MenuBackend.C (expand): translate the name of floats
11482 * FloatList.C (FloatList): mark the float names for translation
11484 * converter.C (convert): use LibScriptSearch
11486 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11488 * MenuBackend.C (defaults): fix default menu (we might as well get
11491 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11493 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11496 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11498 * lyxvc.C: reorder includes.
11500 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11502 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11505 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11507 * CutAndPaste.C: change layouts earlier on paste
11508 to avoid crashing when calling getFont()
11510 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11512 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11515 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * WorkArea.C: remove 'Pending' debug message.
11519 * most files: ws cleanup
11521 * buffer.[Ch]: ws changes
11523 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11525 2002-03-21 Juergen Vigna <jug@sad.it>
11527 * tabular.C (SetMultiColumn): collapse also the contents of the
11528 cells and set the last border right. Added a Buffer const * param.
11530 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11532 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11535 2002-03-19 Juergen Vigna <jug@sad.it>
11537 * text2.C (clearSelection): reset also xsel_cache.
11539 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11540 where it needs to be called (John tells us to do so too :)
11541 (selectionLost): reset sel_cache.
11543 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11545 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11547 * text2.C (setCursorIntern): put debuging code in INSETS channel
11549 2002-03-19 André Pönitz <poenitz@gmx.net>
11551 * lyxfunc.C: tiny whitespace change
11553 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11555 * ToolbarDefaults.C (init):
11556 * LyXAction.C (init):
11558 * BufferView_pimpl.C (Dispatch):
11559 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11561 2002-03-19 Allan Rae <rae@lyx.org>
11563 * exporter.C (Export): removeAutoInsets before doing anything else.
11564 While I've just introduced a dependency on BufferView this really is
11565 the best place to clean the buffer otherwise you need to cleanup in
11566 a dozen places before calling export or cleanup in a dozen functions
11569 * converter.C (runLaTeX):
11570 (scanLog): Better handling of removeAutoInsets and screen updates.
11572 * lyxfunc.C (dispatch): small whitespace changes
11574 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11576 * WorkArea.C (C_WorkAreaEvent): return a value.
11577 (event_cb): return 1 if we handled the event, 0 otherwise.
11579 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11581 2002-03-18 Juergen Vigna <jug@sad.it>
11583 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11584 (GetAdditionalWidth): ditto.
11585 (RightLine): ditto.
11588 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11589 inset if we're there actually (probably not used right now but this
11590 is the direction to go for unifying code).
11591 (paste): disable code to clear the selection.
11593 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11594 inside an InsetText and move the check further up as it is in the
11597 * text2.C (pasteSelection): set a selection over the pasted text.
11599 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11601 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11602 and libgraphics to build on Cygwin.
11604 2002-03-15 Juergen Vigna <jug@sad.it>
11606 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11607 inserting an Inset into the paragraph. I know this is not the best
11608 fix but we already use current_view in CutAndPaste so we will remove
11609 all of it's using at the same time.
11611 * buffer.C (sgmlError): deactivated function till it is rewritten in
11612 the right mode, now it can create problems.
11614 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11615 before accessing it.
11617 2002-03-14 Juergen Vigna <jug@sad.it>
11619 * undo_funcs.C (textHandleUndo): do the right thing when updating
11620 the inset after the undo/redo.
11622 * text2.C (setCursor): just some testcode for #44 not ready yet.
11624 * undo_funcs.C (textHandleUndo): set the next() and previous()
11625 pointers of the paragraph to 0 before deleting otherwise we have
11626 problems with the Paragraph::[destructor].
11628 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11629 on a paragraph insertion.
11631 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * buffer.C (asciiParagraph): use += operator for char append to
11636 * paragraph.C (getFontSettings): compare >= not just >
11637 (highestFontInRange): ditto
11640 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11642 * paragraph.C: change several algorithm to be more appripriate for
11643 the problem domain. This is lookip in FontList and in the InsetList.
11645 2002-03-13 André Pönitz <poenitz@gmx.net>
11648 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11650 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11655 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11657 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11659 * Painter.C (display): anon helper function, adjust code for this
11661 (pixmap): remove function.
11663 * Painter.h: remove private display variable.
11665 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11667 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11669 * WorkArea.[Ch]: remove figinset_canvas cruft.
11671 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11673 * lyxtextclass.C (operator): add one item cache optimization.
11675 * bufferlist.h: doxy changes
11677 * bufferlist.C: ws changes
11679 * DepTable.[Ch] (ext_exist): place const in the right spot.
11681 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11683 (workAreaExpose): call resizeInsets when the with BufferView changes.
11684 (Dispatch): adjust for protectedBlank removal
11685 (specialChar): call updateInset if the insert went ok.
11687 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11688 specialChar instead.
11690 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11692 * BufferView.h: doxy change
11694 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11696 * lyxtextclass.C (operator[]): remove non-const version
11697 (defaultLayout): remove non-const version
11699 2002-03-12 Juergen Vigna <jug@sad.it>
11701 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11702 did resize the LyXText too.
11704 * buffer.C (readLyXformat2): set layout information on newly allocated
11707 * tabular.C (OldFormatRead): set layout information on the paragraph.
11709 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11711 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11713 2002-03-11 Juergen Vigna <jug@sad.it>
11715 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11717 (resizeCurrentBuffer): force also the insets to resize themselfes.
11718 (moveCursorUpdate): fixed up for InsetText.
11720 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11723 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11724 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11725 value of Dialogs::tooltipsEnabled().
11726 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11728 2002-03-08 Juergen Vigna <jug@sad.it>
11730 * BufferView_pimpl.C (updateInset): update inset inside inset also
11731 if it isn't inside theLockingInset().
11733 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11735 * buffer.C (asciiParagraph): redo some of the word and line length
11737 (getLists): look for Caption instead of caption.
11739 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11741 * buffer.C (Buffer): initialize niceFile to true
11743 (makeLinuxDocFile):
11744 (makeDocBookFile): make sure niceFile is true on exit
11746 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11748 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11750 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11752 * LyXSendto.C: remove.
11753 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11754 * lyx_gui.C: remove now-redundant comment.
11755 * ColorHandler.h: remove forward declaration of class WorkArea.
11756 * lyxfunc.C: remove #include "WorkArea.h".
11758 2002-03-07 Juergen Vigna <jug@sad.it>
11760 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11761 got moved away with the DEPM and also set the inset_owner always
11762 right which before could have been omitted.
11764 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11766 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11767 wanted layout is not found.
11769 2002-03-07 Juergen Vigna <jug@sad.it>
11771 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11773 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11775 * paragraph.C (breakParagraph): use default layout not layout of
11777 (Paragraph): clear ParagraphParameters.
11779 2002-03-06 Juergen Vigna <jug@sad.it>
11781 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11782 otherwise it would not be a valid lenght. Fixed a special case in
11783 the minipage compatibility read where we end the document with a
11786 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11787 was set as it could be 0 for InsetTexts first entry.
11789 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11791 * paragraph.C (writeFile): if layout is empty write out
11792 defaultLayoutName().
11794 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11795 file without named layout we set layout to defaultLayoutName().
11797 2002-03-06 Juergen Vigna <jug@sad.it>
11799 * CutAndPaste.C (copySelection): set layout for new paragraph.
11801 * text.C (prepareToPrint): leave ERT inset left aligned
11802 (leftMargin): don't indent paragraphs inside ERT insets
11804 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11806 * paragraph.C (breakParagraph): dont call clear do the work manually
11808 * paragraph.[Ch] (clear): remove function
11810 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * paragraph.C (Paragraph): dont call clear, the work has already
11815 * lyxtextclass.C (operator): assert if n is empty
11817 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11818 work manually instead.
11820 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.C: protect selectionLost against text == 0
11824 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * text.C (breakParagraph): fix a setting layout to '0' problem.
11828 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11830 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11831 final location of file, for the included files, and graphics.
11833 2002-03-05 Juergen Vigna <jug@sad.it>
11835 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11837 2002-03-04 Juergen Vigna <jug@sad.it>
11839 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11841 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11842 last column of multicolumn cells.
11843 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11845 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11847 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11848 file if it doesn't go to a temporary file.
11850 * buffer.C (sgmlOpenTag):
11851 (sgmlCloseTag): remove extra newline insertion.
11853 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * text.C (getRowNearY): comment out debug msg
11857 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11859 * text2.C: first -> first_y
11861 * text.C (getRowNearY): add some attemts at a possible
11862 optimization, not working.
11864 * tabular.[Ch]: add BufferParams to several function so that newly
11865 created paragraph can be initialized to he default layotu for the
11868 * tabular-old.C (ReadOld): add buf->params to call of Init
11870 * screen.C: rename text->first to text->first_y
11872 * paragraph.C (breakParagraph): always set layout in the broken
11875 * lyxtextclass.C (Read): remove lowercase
11878 (delete_layout): ditto
11880 * lyxtext.h: rename first -> first_y
11882 * lyxlayout.C (Read): remove lowercase
11885 (obsoleted_by): ditto
11887 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11889 * buffer.C (insertErtContents): add params are to InsetERT
11890 (parseSingleLyXformat2Token): add code to check if a paragraphs
11891 layout really exist.
11892 (parseSingleLyXformat2Token): add params to several inset
11894 (asciiParagraph): remove lowercase, do the layout comparisons with
11897 * BufferView_pimpl.C (cursorNext): first -> first_y
11898 (resizeCurrentBuffer): first -> first_y
11899 (updateScrollbar): first -> first_y
11900 (scrollCB): first -> first_y
11901 (workAreaMotionNotify): first -> first_y
11902 (workAreaButtonPress): first -> first_y
11903 (checkInsetHit): first -> first_y
11904 (cursorPrevious): first -> first_y
11905 (cursorNext): first -> first_y
11906 (Dispatch): add buffer_->params to severl inset contructors
11908 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11910 * lyxlayout.C (Read): remove some debug info that I forgot.
11912 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11913 clean up the code slightly.
11914 (makeLinuxDocFile): ditto
11915 (makeDocBookFile): ditto
11917 * text2.C: layout as string
11919 * text.C: layout as string
11921 * paragraph_pimpl.C: layout as string
11923 * paragraph.[Ch]: layout as string
11925 * lyxtextclasslist.[Ch]: layout as string
11927 * lyxtextclass.[Ch]: layout as string
11929 * lyxtext.h: layout as string
11931 * lyxlayout.[Ch]: layout as string
11933 * lyx_cb.C: layout as string
11935 * bufferview_funcs.C: layout as string
11937 * bufferparams.C: layout as string
11939 * buffer.C: layout as string
11941 * LyXView.[Ch]: layout as string
11943 * LaTeXFeatures.[Ch]: layout as string
11945 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11947 * BufferView_pimpl.C: change current_layout to string, remove
11952 (workAreaButtonRelease): layout as string
11954 * BufferView2.C (unlockInset): adjust
11956 * vspace.C (asLatexCommand): use an explict temp variable.
11958 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11960 * Makefile.am: use FRONTEND_*
11962 2002-03-01 Juergen Vigna <jug@sad.it>
11964 * tabular.C (SetWidthOfMulticolCell): changed to something better
11965 I hope but still work in progress.
11966 (recalculateMulticolumnsOfColumn): renamed function from
11967 recalculateMulticolCells as it is more appropriate now.
11968 (SetWidthOfCell): calculate multicols better.
11970 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11972 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11974 * lyxfunc.C (processKeySym): print sequence also if it is
11975 `deleted' (complete)
11977 * kbsequence.C (print): print sequence even if it is deleted
11978 (complete would be a better word, actually).
11980 * lyxfunc.C (dispatch): print complete options after a prefix key
11982 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11984 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11986 * text2.C (setCharFont): eliminate setCharFont code duplication.
11988 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11991 LFUN_TABULAR_FEATURE (bug #177)
11993 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11995 * Makefile.am: remove figure.h
11997 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11999 * Bufferview_pimpl.C:
12011 * text2.C: remove #include "lyx_gui_misc.h".
12013 * LaTeX.C: added #include <cstdio>
12015 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12017 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12018 that the paragraph following this one can have.
12020 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12022 * vspace.C (asLatexCommand): fix bogus gcc warning
12024 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12026 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12028 * text2.C (setLayout): get rid of redundant code
12030 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12032 * text2.C (incDepth): make sure depth cannot be increased beyond
12035 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12037 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12038 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12040 * PainterBase.h (image):
12041 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12042 a LyXImage const *.
12044 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12048 * BufferView_pimpl.C:
12049 * BufferView_pimpl.h:
12069 * sp_spell.C: remove fig inset, and the crap house of
12070 cards that follows it
12072 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12077 * os2_errortable.h:
12078 * nt_defines.h: move .h into support/
12080 * vms_defines.h: remove
12082 * WorkArea.C: add space in debug output
12086 * buffer.C: add WITH_WARNINGS
12090 * bufferlist.C: s/retrive/retrieve/, add docs
12099 * chset.C: add docs
12101 * lyxgui.C: add ID to X error handler
12103 * lyxtestclass.c: fix typo
12105 2002-02-26 Juergen Vigna <jug@sad.it>
12107 * tabular_funcs.C (write_attribute): changed so that some default
12108 attributes are not written at all.
12109 (getTokenValue): set default values before trying to read the
12110 value so we have the return value always set as default if we don't
12111 find the token we search for.
12113 * tabular.C (Write): write bools as bools not as strings!
12115 2002-02-22 Juergen Vigna <jug@sad.it>
12117 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12118 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12120 * text.C (leftMargin): don't add an indent for paragraphs inside
12121 tabular cells (fix #208).
12123 2002-02-21 José Matos <jamatos@fep.up.pt>
12125 * tabular.C (docBook): fixed support for long tables.
12127 2002-02-20 Juergen Vigna <jug@sad.it>
12129 * text2.C (getFont): get the drawing font of the Inset if this
12130 paragraph is inside an inset (only important for InsetERT for now).
12132 * buffer.C (insertErtContents): use new lanugage params in ERT
12135 * CutAndPaste.C: commenting out seemingly uneeded code.
12137 2002-02-19 Allan Rae <rae@lyx.org>
12139 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12140 Iterators might be simple to use but they also get invalidated.
12141 (removeAutoInsets): renamed saved cursor tracking variables and added
12142 some comments to clarify what everything does.
12144 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12151 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12152 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12155 * vc-backend.h: remove #include "support/syscall.h"
12159 * converter.C: rearrange #includes in Lars' approved fashion.
12161 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12162 forward declare class Timeout in the header file.
12164 * XFormsView.C: changes due to the above.
12166 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12167 similar to LyXView.
12169 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12170 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12172 2002-02-18 José Matos <jamatos@fep.up.pt>
12174 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12177 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12179 * a lot of small ws changes
12180 * add a lot of using std::XXX
12181 * use std construcs some places where approp.
12182 * use some exisint stuff from lyxfunctional where approp.
12183 * Make file changes to use partial linking (lets test this now...)
12185 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12189 remove #include "support/syscontr.h" as it's redundant. Always has been.
12197 change Systemcalls::System to Systemcalls::Wait and
12198 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12199 No change of functionality, just reflects the stripped down Systemcalls
12202 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12204 * debug.[Ch]: add a GRAPHICS type to the enum.
12206 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12208 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12210 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12213 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12215 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12216 match the changes below.
12218 * text2.C (toggleInset): if there is not editable inset at cursor
12219 position, try to see if cursor is _inside_ a collapsable inset
12222 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12225 document menu has a nice checkbox
12227 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * lyxlength.C (asLatexString): change PW to output as percent of
12232 * lengthcommon.C: change '%' to 't%'
12234 * lyxfunc.C (dispatch): a few comments from Martin
12236 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12240 * BufferView_pimpl.h:
12241 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12244 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12246 * vspace.C (inPixels): fix compiler warning
12248 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12250 * lyxfunc.C (getStatus): fix status message for disabled commands.
12252 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12254 * BufferView_pimpl.C: fix crash on close buffer
12255 during selection (#227)
12257 2002-01-27 Herbert Voss <voss@lyx.org>
12259 * buffer.C: link old Figure to new graphic inset
12261 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12263 * FontLoader.C (getFontinfo): Change the latex font names in order
12264 to match the names of type1inst.
12266 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12268 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12270 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12271 (extchanged): ditto
12273 (remove_files_with_extension): ditto
12274 (remove_file): ditto
12277 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12278 document is smaller than the work area height. Do not initialize
12279 static variables to 0.
12281 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12283 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12285 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12286 LFUN_LAYOUT_PARAGRAPHS.
12288 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12289 tabular. It is possible to provide a possible cell, which will
12290 typically be the actcell from the corresponding insettabular
12292 * lyxfunc.C (getStatus): small cleanup; disable
12293 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12296 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12298 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12300 * paragraph.C (startTeXParParams):
12301 (endTeXParParams): new methods. The LaTeX code to
12302 start/end paragraph formatting
12303 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12304 empty (fixes bug #200)
12306 * vspace.C (inPixels): adapt to the change below
12307 (inPixels): [later] more cleanups (remove unused variables)
12309 * lyxlength.C (inPixels): change to use a width and a height as
12312 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12314 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12315 Replaced with \paperwidth
12317 * DepTable.C (insert): add std:: qualifier
12319 2002-01-18 Allan Rae <rae@lyx.org>
12321 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12324 * text.C (drawInset): Turned out I didn't know enough about how
12325 rebreaking worked. This fixes most of the redraw problems. I see
12326 an occasional cursor trail when a line is broken now and the cursor
12327 placement can seem out by a few pixels also after a rebreak.
12329 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * buffer.C (parseSingleLyXformat2Token): update because minipage
12332 width is now a LyXLength
12334 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12336 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12339 2002-01-17 Juergen Vigna <jug@sad.it>
12341 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12343 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12344 is set correctly and the inset is updated correctly.
12346 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12348 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12349 the beginning of the loop.
12351 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12353 * lyxrc.C: improve help for use_scalable_fonts
12355 2002-01-17 Allan Rae <rae@lyx.org>
12357 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12359 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12362 make sure to set their inset_owner to the right value (bug #171)
12364 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12367 * DepTable.C: Implement mtime checking to reduce time spent doing
12370 2002-01-16 Juergen Vigna <jug@sad.it>
12372 * tabular.C (GetAdditionalHeight): one of error fixed.
12374 * lyxrc.C (output): small fix in writing use_pspell.
12376 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12378 * sp_base.h: #include LString.h
12380 2002-01-16 Allan Rae <rae@lyx.org>
12382 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12383 Can someone check this please?
12385 * text.C (drawInset): It was possible that p.row would be removed by
12386 breakAgainOneRow upsetting a few other settings. There may be another
12387 small tweak possible by setting need_break_row = 0 when p.row has been
12388 removed but I don't know enough about the logic here.
12390 2002-01-15 Allan Rae <rae@lyx.org>
12392 * text.C (insertChar): removed conditional truism.
12394 * BufferView2.C (removeAutoInsets): More tweaks.
12395 cur_par_prev could be a stray pointer. Check for trailing empty line
12396 in case last line was cur_par and only had an error inset on it.
12398 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12400 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12403 * vc-backend.C (most methods):
12404 * exporter.C (Export):
12405 * converter.C (convert):
12407 * LyXSendto.C (SendtoApplyCB):
12408 * lyxfunc.C (dispatch):
12412 * lyx_cb.C (AutoSave):
12414 * BufferView_pimpl.C (MenuInsertLyXFile):
12415 * buffer.C (runChktex): use Buffer::filePath().
12417 * buffer.h: rename filename to filename_; rename filepath to
12418 filepath_ and make it private
12419 (filePath): new method
12421 * buffer.C (writeFile): use fileName()
12424 * lyx_main.C (init): fix starting of LyX when the binary is a
12425 link from so,ewhere else.
12427 * minibuffer.C: include <cctype> for isprint
12429 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12431 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12432 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12433 name clash with InsetCollapsable's width function.
12435 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12437 * lastfiles.C: include <iterator>
12439 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12441 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12444 * buffer.C (makeLaTeXFile): ditto.
12445 Also make loop operation more transparent.
12447 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12449 * ToolbarDefaults.C: remove trailing comma closing namespace.
12451 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12453 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12456 * trans.C (Load): comment out unused variable, allowed.
12458 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12460 * minibuffer.[Ch] (append_char): new method to recieve input from the
12461 drop-down completion browser. If a key was pressed, then recieve this
12462 char and append it to the existing string.
12463 (peek_event): modify the positioning data passed to the completion
12464 browser so that it can be placed above the minibuffer rather than below.
12465 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12467 * LyXAction.C (init): alloe error-next for readonly documents.
12469 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12472 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * bufferlist.C (readFile): create the buffer _after_ checking that
12477 * lyxfunc.C (verboseDispatch): fix handling of arguments
12479 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12481 * lyxrc.C: use string::erase() instead of initializing to "".
12484 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12486 * BufferView_pimpl.h:
12487 * BufferView_pimpl.C:
12490 * text2.C: tell X when we have made a selection for copying
12492 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * BufferView_pimpl.C (MenuInsertLyXFile):
12495 * lyxfunc.C (menuNew):
12497 (doImport): add shortcuts to directory buttons
12499 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12502 * lyxfunc.C (setStatusMessage):
12503 (getStatusMessage): new methods
12504 (getStatus):use setStatusMessage instead of setErrorMessage
12505 (dispatch): when function is disabled, set error message here
12506 [instead of in getStatus previously]
12508 * BufferView_pimpl.C (workAreaButtonRelease): update
12509 toolbar/menubar here too.
12511 2002-01-13 Allan Rae <rae@lyx.org>
12513 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12514 Now seems indestructible. Remaining task is to audit all other
12515 code affected by deleteEmptyParagraphMechanism. One small quirk
12516 left is that an empty document with an error in the preamble can
12517 be made to report an error but no error box appears. I don't know
12519 (removeAutoInsets): Improved comments.
12521 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12524 * Thesaurus.C: update for Aiksaurus 0.14
12526 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12528 * text2.C (firstParagraph): removed member function, all uses
12529 replaces with ownerParagraph
12530 (redoParagraphs): here
12531 (updateInset): here
12532 (toggleAppendix): here
12533 * BufferView2.C (insertErrors): here
12534 (setCursorFromRow): here
12536 2002-01-13 Allan Rae <rae@lyx.org>
12538 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12539 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12540 There is still a way to segfault this although you may have to do this
12541 multiple times: Have an InsetERT with an unknown command in it.
12542 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12543 <down-arrow>, <Enter> again, View->DVI, BANG!
12545 * text2.C (setCursor):
12546 (deleteEmptyParagraphMechanism):
12547 * lyxtext.h (setCursor):
12548 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12549 Making use of the return value may help fix other bugs.
12551 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12555 * LyXView.C (updateMenubar): call MenuBar::update here
12556 (updateToolbar): but not here
12557 (showState): do not update toolbar/menubar
12559 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12560 should need to care about that.
12562 * lyxfunc.C (verboseDispatch): simplify a bit
12563 (getStatus): have a version which takes a pseudoaction, and
12564 another which requires a (kb_action,string).
12566 * LyXAction.C (retrieveActionArg): make it work also when action
12567 is not a pseudo-action.
12568 (getActionName): simplify a bit
12571 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12573 * lyxfunc.C (verboseDispatch): new families of methods with
12574 several ways to specify a command and a bool to indicate whether
12575 the command name and shortcut should be displayed in minibuffer
12576 (eventually, we could extend that to a finer bitmask like
12577 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12578 (dispatch): the pristine dispatch command which just, well,
12579 dispatchs! Note it still sets its result to minibuffer; I'm not
12582 * lyxfunc.h: remove setHintMessage
12584 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12586 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12588 * BufferView_pimpl.C (specialChar): delete new inset if we have
12589 not been able to insert it.
12591 * kbmap.C: revert to using int instead of kb_action, since all we
12592 are dealing with is pseudo-actions.
12594 * LyXAction.C (searchActionArg): change to return int instead of
12595 kb_action, since the result is a pseudoaction.
12597 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12599 * buffer.C (insertErtContents): Fix (partially) the font bug.
12601 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12603 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12604 as the other one is broken on my machine!
12606 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12609 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12611 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12613 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12614 reflect their actual use. Provide compatibility code for older lyxrc
12617 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12619 change names of popup font variables in line with the changes to lyxrc.C
12621 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12623 * buffer.C (asciiParagraph): avoid outputing a word twice after
12626 * lyxrc.C (getDescription): document that document_path and
12627 template_path can be empty.
12629 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12631 * LaTeXFeatures.C (getMacros):
12632 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12634 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12636 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12638 (getPackages): rename feature "floats" to "float". Use an array to
12639 iterate over 'simple' features (i.e. just a \usepackage). Add
12640 handling of "amsmath" (renamed from "amsstyle").
12642 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12644 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12647 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12649 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12650 FuncStaus::FuncStatus & FuncStaus::some_method().
12652 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12654 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12655 of the func_satus stuff. Edited and massaged in various ways by
12658 * lyxfunc.C (getStatus): use FuncStatus
12660 2002-01-08 Juergen Vigna <jug@sad.it>
12662 * text.C (nextBreakPoint): use function Inset::isChar().
12664 * paragraph.C (TeXOnePar): use function
12665 Inset::forceDefaultParagraphs.
12667 * buffer.C (latexParagraphs): use function
12668 Inset::forceDefaultParagraphs.
12670 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12672 * lyx_gui.C (init): set the style of the menu popups to
12673 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12675 2002-01-07 Juergen Vigna <jug@sad.it>
12677 * text.C (setHeightOfRow): small fix
12678 (prepareToPrint): don't look at alignment if we don't have the place
12681 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12683 * box.C: New file. Move the Box methods and functions out of box.h,
12684 following Lars' suggestion.
12686 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12688 * box.h: #include "support/LOstream.h", needed for inlined function.
12691 * lyxtextclasslist.C: added some using std declarations.
12693 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12695 * box.h: make signed dimensions to allow insets wider than
12696 the screen (bug #162)
12698 * BufferView_pimpl.C: add some insetHit debug
12700 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12702 * vc-backend.C: add FIXME
12704 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12706 * lyxfunc.C (getStatus): enable code for showing math font status
12709 2002-01-07 Juergen Vigna <jug@sad.it>
12711 * text.C (nextBreakPoint): removed debug output not needed anymore.
12713 2002-01-06 Juergen Vigna <jug@sad.it>
12715 * text.C (nextBreakPoint): fixed up this function we had this bug
12716 since ever but now hopefully we break row better.
12717 (insertChar): we have to check if an inset is the next char as it
12718 could now happen that a large inset is causing a break.
12720 2002-01-05 Juergen Vigna <jug@sad.it>
12722 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12723 if it doesn't like to be drawed.
12725 2002-01-04 Juergen Vigna <jug@sad.it>
12727 * BufferView2.C (lockInset): forgot to set a cursor.
12729 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12731 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12733 * FormMathsPanel.C:
12736 * form_maths_panel.C:
12737 * form_maths_panel.h:
12738 * form_maths_panel.fd: implemented sub- and super- buttons in math
12741 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12742 (or ^ space) to be used as in TeX (req'd by André).
12744 * lyxfunc.C: Allow ^ and _ again to be used both as
12745 super/subscript (mathed) and as themselves (in text).
12747 2002-01-03 Allan Rae <rae@lyx.org>
12749 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12750 "LyX" or the filename of the current buffer if it has one. This is a
12751 modified form of John Levon's patch.
12753 * XFormsView.C (setWindowTitle): also set icon title.
12755 * LyXView.h (setWindowTitle): signature changed.
12756 * XFormsView.h (setWindowTitle): ditto.
12758 2002-01-02 Juergen Vigna <jug@sad.it>
12760 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12762 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12764 * screen.C (topCursorVisible): introduce a temp var for
12765 text->cursor.row(), handle the case where this row is null. (kindo
12768 * text2.C (setCursor): add a couple of asserts.
12770 * paragraph.h (inset_iterator): add -> operator
12772 * paragraph.[Ch] (autoDeleteInsets): remove member function
12774 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12775 cursor pos correctly and handle inset deletion by itself.
12776 (insertErrors): move iterator declaration out of for expression
12778 * lyxtextclass.C: add <algorithm>
12780 * Makefile.am: added the new files to sources, removed layout.C
12782 * layout.C: removed file
12784 * layout.h: remove LYX_DUMMY_LAYOUT
12786 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12790 * lyxtextclass.[Ch]:
12791 * lyxtextclasslist.[Ch]: new files
12793 * include order changes to a lot of files, also changes because of
12796 2001-12-27 Juergen Vigna <jug@sad.it>
12798 * buffer.C (asciiParagraph): more fixes.
12800 * tabular.C (ascii): make ascii export support export of only the
12801 data separated by a column-delimiter.
12802 (ascii): better support for ascii export.
12804 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12806 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12808 * tabular_funcs.C: use a "using std::getline" instead of the
12809 previous fix from Angus (necessary for cxx + lyxstring)
12811 2001-12-24 Juergen Vigna <jug@sad.it>
12813 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12815 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12816 problems. First check a minipage also if we have some ert-contents
12817 (not only on par->size(), second set the right depth of the paragraph
12818 on the relink to the root-paragraph-list!
12820 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12821 which then did not anymore update the main paragraphs on undo/redo!
12823 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12825 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12826 code. Support all font-changing funcs (even those which are not in
12827 menu currently). Support for reporting font settings in
12828 mathed (disabled until Andre provides a function on mathed's side).
12830 * func_status.h (toggle): small helper function to set toggle
12833 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12835 * tabular_funcs.C: getline -> std::getline
12837 2001-12-21 Juergen Vigna <jug@sad.it>
12839 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12840 accessed and could be 0 (I couldn't generate this but it seems
12843 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12845 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12846 * tabular_funcs.h: here and include iosfwd
12848 2001-12-20 Juergen Vigna <jug@sad.it>
12850 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12851 inside inset but undo_par was.
12853 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12855 * Thesaurus.C: always include <config.h> in sources.
12859 * box.h: do not include <config.h> in header files
12861 * text.C (paintLastRow): remove unused variable
12863 * text.C (transformChar):
12865 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12867 * Painter.C (text):
12868 * font.C (width): rewrite to use uppercase() instead of
12871 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12873 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12875 * lyxfind.C: clean up of find failure position change
12877 2001-12-20 Juergen Vigna <jug@sad.it>
12879 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12881 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12882 (TeXRow): added to LaTeX a single tabular row.
12883 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12884 (Latex): simplified and finally good LT-h/f support.
12885 (various_functions): just small adaptions for LT-h/f support.
12887 * tabular_funcs.[hC]: added and moved here all not classfunctions
12890 2001-12-19 Juergen Vigna <jug@sad.it>
12892 * tabular.[Ch]: better support for longtabular options (not finished
12895 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12897 * text.C (paintLastRow): use the label font instead of the font of
12898 the last character to compute the size of *_BOX. This makes more
12899 sense and avoids a crash with empty paragraphs.
12900 Use Painter::rectangle to draw EMPTY_BOX.
12902 2001-12-19 Juergen Vigna <jug@sad.it>
12904 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12905 the paragraphs if the replaced paragraph is not the first one!
12906 Tried to delete not used paragraphs but does not work yet so for
12907 now it's inside #ifdef's and by default off!
12909 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12911 * MenuBackend.C: include "lyx_main.h" instead of declaring
12912 lastfiles (actually was declared as LastFiles* instead of a
12915 2001-12-17 Juergen Vigna <jug@sad.it>
12917 * tabular.C (AppendColumn): applied John's fix
12919 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12923 * BufferView_pimpl.h:
12924 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12927 * box.h: new start of class for above
12929 * lyxfunc.C: ignore space-only minibuffer dispatches.
12930 Show the command name when it doesn't exist
12932 * minibuffer.C: don't add empty lines to the history
12934 * minibuffer.C: add a space on dropdown completion
12936 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12938 * text.C: fix line above/below drawing in insets
12940 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12942 * lyxlength.C (LyXLength): Initialize private variables.
12944 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12946 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12947 when inserting error insets.
12949 2001-12-13 Juergen Vigna <jug@sad.it>
12951 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12952 actually sometimes the before-paragraph.
12953 (setUndo): don't clear the redostack if we're not actually undoing!
12955 2001-12-06 Juergen Vigna <jug@sad.it>
12957 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12958 and fixed redoing of main paragraph, so we can use it now ;)
12960 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12962 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12964 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12967 2001-12-13 André Pönitz <poenitz@gmx.net>
12970 * undo_func.C: minor cleanup
12972 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12974 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12975 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12976 font in urw-fonts package which is marked as -urw-fontspecific and
12977 does not work (incidentally, changing the encoding in the
12978 fonts.dir of this package to -adobe-fontspecific fixes the
12981 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12982 is a crash when undoing first paragraph (Juergen, please take a
12983 look). THis does not mean the undo fix is wrong, just that it
12986 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12987 the (Paragraph*) version when needed instead of duplicating the
12990 * text.C (workWidth): use Inset::parOwner to find out where the
12991 inset has been inserted. This is a huge performance gain for large
12992 documents with lots of insets. If Inset::parOwner is not set, fall
12993 back on the brute force method
12995 * paragraph_pimpl.C (insertInset):
12996 * paragraph.C (Paragraph):
12997 (cutIntoMinibuffer): set parOwner of insets when
12998 inserting/removing them
13000 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13002 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13008 * mathed/formulabase.C:
13009 * mathed/math_cursor.[Ch]:
13010 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13013 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13015 * lyxlength.[Ch] (operator!=): new function
13017 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13019 * text.C (workWidth): use Inset::parOwner to find out where the
13020 inset has been inserted. This is a huge performance gain for large
13021 documents with lots of insets. If Inset::parOwner is not set, fall
13022 back on the brute force method
13024 * paragraph_pimpl.C (insertInset):
13025 * paragraph.C (Paragraph):
13026 (cutIntoMinibuffer): set parOwner of insets when
13027 inserting/removing them
13029 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13031 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13033 * tabular-old.C (getTokenValue):
13034 * tabular.C (getTokenValue):
13035 (write_attribute): new versions for LyXLength
13036 (everywhere): adjust the use of widths
13038 * tabular.h: change the type of widths from string to LyXLength
13040 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13042 * paragraph.C: fixed missing line number count when exporting
13043 Environments to LaTeX file
13045 * buffer.C: added informational message for checking line numbers.
13047 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13049 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13050 paragraph, do the 'double space' part, but not the 'empty
13053 * text.C (workWidth): small optimization
13054 (getLengthMarkerHeight): use minimal size for negative lengths.
13056 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13058 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13060 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13062 2001-12-11 André Pönitz <poenitz@gmx.net>
13065 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13067 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13069 * text2.C: keep selection on a setFont()
13071 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13073 * lyx_cb.C: another bv->text misuse, from insert label
13075 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13078 * kbsequence.C: re-instate nmodifier mask
13080 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13082 * lyx_main.h: make lyxGUI private.
13084 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13086 * lyxfind.C: place the cursor correctly on failed search
13088 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13090 * text.C (getLengthMarkerHeight): for small heights, the arrows
13091 are not always on top/bottom of the text
13092 (drawLengthMarker): smaller arrows; take the left margin in
13093 account; draw also vfills.
13095 (paintLastRow): remove special code for vfill and standard spaces,
13096 since everything is handled in drawLengthMarker now.
13098 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13100 * buffer.C (insertErtContents): try to handle font and language
13101 interaction a bit better.g
13103 * ColorHandler.C (updateColor): change the hash to cover the whole
13104 LColor enum, ws cleanup
13105 (getGCLinepars): ditto
13106 (getGCLinepars): only lookup in the linecache once.
13108 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13110 * iterators.C (operator++): Make the iterator more robust
13112 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13116 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13119 * text.C: better added space drawing
13121 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13124 * BufferView2.C: fix layout combo update on inset unlock
13126 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13128 * Makefile.am: don't compile unused files
13130 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13134 * LyXAction.C: remove old LFUN_LAYOUTNO
13136 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13138 * paragraph_pimpl.h:
13139 * paragraph_pimpl.C: isTextAt() doesn't need font param
13141 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13144 * lyxlex.C: little cleanup
13146 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13148 * BufferView_pimpl.C: fix insertAscii for insets
13150 2001-12-05 Juergen Vigna <jug@sad.it>
13152 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13153 set the right font on the "multi" paragraph paste!
13155 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13161 * lyxlength.C: remove out-commented code.
13163 * BufferView_pimpl:
13177 * vc-backend.C: change "while(" to "while ("
13179 * lyxlength.[Ch]: add zero function to check if length is zero or
13181 * lyxgluelength.C: use it
13183 2001-12-05 Allan Rae <rae@lyx.org>
13185 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13186 Works for 2.95.3, from what I understand of Garst's reports this should
13187 work for other g++ versions. We're screwed if the abs(int) definition
13188 changed between bugfix releases of gcc.
13190 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13192 * text.C: fix chapter label offset !
13194 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13197 * text.C: fix hfill at end of line, clean up
13199 2001-12-04 Juergen Vigna <jug@sad.it>
13201 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13202 that we force an update of the inset and it's owners if neccessary.
13204 2001-12-03 Juergen Vigna <jug@sad.it>
13206 * text.C (rowLast): simplified code
13208 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13210 * lyxfunc.C: fix show options on timeout
13212 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13214 * screen.C (topCursorVisible): scroll half a page when the cursor
13215 reached top of bottom of screen
13217 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13219 * minibuffer.C: deactivate on loss of focus
13221 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13223 * vspace.[Ch] (operator!=): add operator.
13225 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13227 * BufferView_pimpl.C: refuse to open an inset when
13228 there's a selection.
13230 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13232 * BufferView_pimpl.C: allow to click on RHS of full row insets
13234 2001-11-30 Juergen Vigna <jug@sad.it>
13236 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13237 insets for undo reasons.
13239 2001-11-28 André Pönitz <poenitz@gmx.net>
13241 * vspace.[Ch]: cosmetical changes
13243 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13253 * kbsequence.C: part re-write of old kb code
13256 * WorkArea.C: remove Lgb_bug_find_hack
13258 2001-11-30 José Matos <jamatos@fep.up.pt>
13260 * buffer.C (makeDocBookFile): add a comment to point a hack.
13261 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13262 Fixed a double write of labels.
13264 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13267 * LaTeX.h Fixed bug in LaTeX class where it would not
13268 re-run latex if no depfiles were changed, but the .dvi was removed.
13270 2001-11-28 André Pönitz <poenitz@gmx.net>
13272 * all the files from the change on 2001/11/26:
13273 use lyx::layout_type instead of LyXTextClass::size_type
13274 use lyx::textclass_type instead of LyXTextClassList::size_type
13276 2001-11-29 Juergen Vigna <jug@sad.it>
13278 * text.C: added support for paragraph::isFreeSpacing()
13280 * buffer.C: same as above
13282 * paragraph.h: inserted isFreeSpacing() function to enable
13283 FreeSpacing inside InsetERT.
13285 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13286 of the paragraph's in the cut/copy buffer to 0!
13288 * text2.C (removeRow): remove the assert as it can!
13290 * lyxtext.h: added helper function firstRow returning firstrow and
13291 made firstrow private again.
13293 * BufferView2.C (lockInset): don't relock if we're already locked!
13295 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13296 the only paragraph.
13297 (removeRow): added Assert::(firstrow)
13299 * debug.C: forgot to add INSETTEXT here.
13301 2001-11-28 Juergen Vigna <jug@sad.it>
13303 * sp_spell.C (initialize): changed error text to more general
13304 spellchecker command use (not only ispell!)
13306 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13308 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13310 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13312 * vspace.C: initialise lyxgluelength on failure
13314 2001-11-28 Allan Rae <rae@lyx.org>
13316 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13317 declaration & definition that looks like a function declaration.
13319 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13321 * BufferView2.C (copy):
13322 (copyEnvironment): do not clear the selection when doing a copy.
13324 * text.C (paintFirstRow): compilation fix
13326 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13328 * tabular.C (Latex): correct line count when writing latex.
13330 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13332 * paragraph_pimpl.h:
13333 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13336 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13340 * LColor.C: change vfillline->added_space
13342 * text.C: add markers and text for added space
13344 * vspace.C: fix comment
13346 2001-11-28 André Pönitz <poenitz@gmx.net>
13348 * paragraph.C: whitespace changes
13349 * all the other files from the change on 2001/11/26:
13350 change *::pos_type into lyx::pos_type
13352 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13354 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13355 language of the document when inserting error insets.
13357 2001-11-26 André Pönitz <poenitz@gmx.net>
13359 * BufferView_pimpl.[Ch]:
13367 * paragraph_pimpl.[Ch]:
13370 * text2.C: reduce header dependencies, introduce type for positions
13372 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13374 * <various>: change to use Alert.h
13376 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13378 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13379 when encountering an unknown token.
13380 (readLyXformat2): Show an error message if there were unknown tokens.
13382 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13385 * BufferView_pimpl.C:
13389 * text2.C: use par->isInset()
13391 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13393 * paragraph_pimpl.h:
13394 * paragraph_pimpl.C: cleanup
13396 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * text2.C (removeRow):
13399 * text.C (setHeightOfRow): remove useless (and costly) call to
13402 2001-11-20 Allan Rae <rae@lyx.org>
13404 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13405 Now need Inset*::checkInsertChar() to return true for appropriate
13406 cases so that the characters in the minibuffer will actually be
13409 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13411 * text.C: change the order of the includes.
13412 (workWidth): initialize it at once.
13413 (workWidth): make maxw unsigned
13414 (setHeightOfRow): remove unused variable (inset)
13415 (selectSelectedWord): remove unused variable (inset)
13416 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13418 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13420 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13421 server is not running.
13423 (closeConnection): add debug info when server is disabled.
13425 * ColorHandler.C (getGCForeground): send debug message to GUI
13428 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13430 * kbmap.C (bind): modify because return conventions of
13431 kb_sequence::parse have changed.
13433 * kbsequence.C (parse): only ignore spaces and not any stupid
13434 control character. This avoids tests like s[i] <= ' ', which are
13435 guaranteed to fail with 8bit characters and signed chars.
13436 Change return code to string::npos when there have been no error
13437 (0 was a bad idea when error is at first character)
13439 2001-11-14 José Matos <jamatos@fep.up.pt>
13442 * buffer.C (simpleDocBookOnePar): removed unused argument.
13444 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13446 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13447 insets which are part of a word. Paragraph::isLetter takes care of
13448 that now. Use Paragraph::isInset to identify insets.
13449 (selectSelectedWord): do not test for hyphenation break.
13451 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13452 that protected spaces are considered as spaces.
13454 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13457 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13460 * lyxserver.C: fix it. and small cleanup.
13462 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13464 * BufferView_pimpl.C: use inline helpers
13467 * LaTeXFeatures.C: fix typos
13470 * Spacing.C: move spacing_string into class
13472 * ToolbarDefaults.C: move stuff into namespace anon
13474 * layout.h: update enum
13476 * lyxfunc.C: use better debug
13478 * minibuffer.h: fix typo
13482 * WorkArea.C: add and use Debug::WORKAREA
13486 * text2.C: code re-organisation, inline helpers
13488 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13490 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13491 std::vector.empty().
13493 2001-11-09 Allan Rae <rae@lyx.org>
13495 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13496 '\n's after tables. Tabular and ERT inset work now makes this no
13499 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13502 * minibuffer.C: fix crash, improve drop-down completion
13504 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13507 * lyxserver.C: invalidate fd's when doing endPipe()
13509 2001-11-08 José Matos <jamatos@fep.up.pt>
13511 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13512 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13515 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13517 2001-11-07 José Matos <jamatos@fep.up.pt>
13520 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13523 * buffer.C (sgmlOpenTag):
13524 * buffer.C (sgmlCloseTag): removed debug info.
13526 * buffer.h (sgmlOpenTag):
13527 * buffer.h (sgmlCloseTag): made public.
13529 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13531 * buffer.C (saveParamsAsDefaults):
13532 * lyx_cb.C (MenuLayoutSave): remove
13534 * LyXAction.C (init):
13536 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13538 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13540 * buffer.C (setPaperStuff): removed from here...
13542 * bufferparams.C (setPaperStuff): ... and moved there.
13544 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13548 * XFormsView.C: add support for drop-down completion
13550 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13552 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13555 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13557 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13560 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13562 * lyx_main.C: change ref to known bugs
13564 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13566 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13567 to work around older babel problems.
13569 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13571 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13573 2001-10-24 Juergen Vigna <jug@sad.it>
13575 * tabular-old.C (ReadOld): below variable changes reflected.
13577 * tabular.[Ch]: added ltType struct for longtable header/footer
13578 defines and changed all instances where they are used. Added
13579 future support for double top/bottom rows.
13581 2001-10-24 José Matos <jamatos@fep.up.pt>
13583 * buffer.h (docbookHandleCaption):
13584 * buffer.C (docbookHandleCaption): removed unused function.
13585 (makeDocBookFile): moved docbook supported version to v4.1.
13587 2001-10-24 José Matos <jamatos@fep.up.pt>
13590 * tabular.C (docbookRow): new function to export docbook code of a row.
13591 (DocBook): now honors the longtable flags.
13593 2001-10-23 José Matos <jamatos@fep.up.pt>
13596 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13597 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13599 * buffer.C (makeLinuxDocFile):
13600 (makeDocBookFile): reworked the preamble, more clean, and with
13601 support for lyx defined entities. Changed the document declaration
13602 to be more XML friendly.
13604 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13605 if we need to output XML that should be done with a filter.
13607 2001-10-22 Juergen Vigna <jug@sad.it>
13609 * sp_pspell.h (class PSpell): add alive function needed in the
13610 controller to see if the spellchecker could be started.
13612 2001-10-22 Juergen Vigna <jug@sad.it>
13614 * buffer.C (insertStringAsLines): modify the font for inserting
13615 chars in certain conditions by calling checkInsertChar(font).
13617 2001-10-19 Juergen Vigna <jug@sad.it>
13619 * text.C (workWidth): use getRow instead of wrong algorithm.
13620 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13622 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13627 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13629 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13631 * text.C (workWidth): do not search for the exact row when
13632 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13633 optimization for big documents.
13635 2001-10-18 Juergen Vigna <jug@sad.it>
13637 * text.C (workWidth): new function with added Inset * parameter.
13639 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13641 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13643 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13644 change return type of getColumnNearX.
13647 * text.C (changeRegionCase): use uppercase/lowercase instead of
13650 (rightMargin): simplify code by factoring out the uses of
13655 (appendParagraph): use Paragraph::size_type
13657 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13659 * vspace.C (asLatexString): add a missing break
13661 2001-10-15 Herbert Voss <voss@perce.de>
13663 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13665 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13667 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13670 2001-10-10 André Pönitz <poenitz@gmx.net>
13672 * lyxfunc.C: removed greek_kb_flag.
13674 2001-10-10 Herbert Voss <voss@perce.de>
13676 * lyx_main.C: delete global string help_lyxdir.
13678 2001-10-09 Herbert Voss <voss@perce.de>
13680 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13682 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13684 * lyx_main.C: added global string help_lyxdir.
13686 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13688 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13690 * lyxrc.C (set_font_norm_type): support iso8859-4
13692 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13694 * LaTeX.C (deplog): add another regex for MikTeX
13696 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13698 * lyxrc.C (set_font_norm_type): support iso8859-3
13700 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13704 * LaTeXFeatures.C: remove special case of french and index
13706 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13707 before \begin{document}). This solves several incompatibilities.
13709 2001-10-03 Garst Reese <reese@isn.net>
13711 * lyx_cb.C: change CheckTex error msg.
13713 2001-10-03 José Matos <jamatos@fep.up.pt>
13715 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13717 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * .cvsignore: update
13721 * lyx_main.C (commandLineVersionInfo): use new style version info.
13723 * buffer.C (writeFile):
13725 (makeLinuxDocFile):
13726 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13728 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13730 * version.h: update to use stuff in version.C
13732 * version.C.in: new file. Contains version information determined
13733 at compile time. This is a merging of version.h and
13736 2001-10-03 Juergen Vigna <jug@sad.it>
13738 * BufferView_pimpl.C (update): don't change "dirty" status in
13741 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13743 * WorkArea.C (c-tor): re-position version string slightly.
13745 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13747 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13748 revert to previous code.
13750 WorkArea.[Ch]: (show, destroySplash): methods removed.
13752 WorkArea.C: rework code so that it's an amalgam of the codes before and
13753 after the splash screen was moved to WorkArea.
13755 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13758 * vspace.C (inPixels):
13761 * buffer.C (insertStringAsLines):
13762 (asciiParagraph): fix types to be large enough
13764 * lyxlex_pimpl.h: change member status from short to int
13766 * layout.h: fix type of endlabeltype
13769 * kbsequence.C (parse): change return type to string::size_type
13771 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13774 * Bullet.C (bulletSize):
13775 (bulletEntry): do not use short ints as parameters
13777 * BufferView2.C (insertLyXFile): change a char to an int.
13779 * WorkArea.C (WorkArea): remove unneeded floats in computation
13781 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13783 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13785 * paragraph.C (asString): Do not ignore newline/hfill chars when
13786 copying to the clipboard.
13788 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13790 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13791 after a multi-line inset.
13793 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13795 * paragraph.C (validate): Set NeedLyXFootnoteCode
13797 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13799 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13800 and decrease-error to decrease.
13802 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13804 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13805 it more readable (should be equivalent)
13807 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13809 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13811 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13814 of a cursor (row, etc.) after a character has been deleted
13815 (deleteEmptyParagraphMechanism): call the method above on _all_
13816 cursors held by the LyXText when a double space has been
13819 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13821 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13823 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13825 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13826 background. Use greyOut() and the new show() methods to toggle between
13827 the foreground and background. Add code to remove the splash after
13828 its initial showing.
13830 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13831 (create_forms): no longer call Dialogs::showSplash.
13833 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13835 * .cvsignore: add version_info.h
13837 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13839 * version_info.h.in: new file
13841 * Makefile.am: add version_info.h.in
13843 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13844 version_info.h instead of VERSION_INFO
13846 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13848 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13849 The ERT inset now returns string().
13851 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13853 * lyxtext.h, text.C (selectNextWord): renamed as
13854 selectNextWordToSpellcheck.
13856 * text.C (selectNextWordToSpellcheck): Modified to not select
13857 words inside an ERT inset.
13859 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13861 * lyx_cb.C (MenuLayoutSave): change a bit the question
13863 * sp_base.h: include <sys/types.h>
13865 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13867 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13869 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13871 * several files: fix typos in user-visible strings
13873 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13875 * text2.C (pasteSelection): do not set the selection, since it
13876 will be cleared later. Actually, the intent was to fix the way the
13877 selection was set, but I figured rmoving the code was just as good.
13879 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13881 * FontLoader.C (available): Check if font is available without
13884 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13886 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13888 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13890 * lyxrc.[Ch]: added display_graphics variable and associated code.
13892 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13894 * bufferparams.C (hasClassDefaults): new method. Returns true if
13895 the buffer parameters correspond to known class defaults
13897 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13899 * XFormsView.C (show): set minimum size to the main window.
13901 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13903 * text2.C (copySelection):
13905 * lyxfind.C (LyXReplace):
13906 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13907 LyXText::selectionAsString.
13909 * paragraph.C (asString): add "label" argument to the second form
13911 * text2.C (selectionAsString): add "label" argument and pass it to
13912 Paragraph::asString.
13914 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * lyx_main.C (commandLineHelp): remove version information
13918 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13920 * lyx_main.C: add -version commandline option
13922 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13924 * paragraph.h: make the optional constructor arg required instead.
13925 some modifications to other files because of this.
13927 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13929 * lyxserver.C (C_LyXComm_callback): make it static
13931 * lyx_main.C (error_handler): make it static
13933 * lyx_gui.C (LyX_XErrHandler): make it static
13935 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13937 * WorkArea.C: make the extern "C" methods static.
13939 * Makefile.am (lyx_LDADD): simplify
13941 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13943 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13944 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13946 * LyXAction.C (init):
13947 * lyxfunc.C (dispatch): associated code removal.
13949 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13951 * lyxfont.h (isSymbolFont): shut off warning
13953 * text.C (setHeightOfRow):
13954 (getVisibleRow): fix crash with empty paragraphs which have a
13957 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13959 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13962 2001-09-04 José Matos <jamatos@fep.up.pt>
13965 * tabular.C (docbook): rename docBook method to docbook.
13967 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13969 * Makefile.am: add dependencies to main.o.
13971 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13973 * FontLoader.C (available): Return false if !lyxrc.use_gui
13975 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13977 * FontInfo.C (query):
13978 * converter.C (view):
13979 * importer.C (Import):
13980 * exporter.C (Export): Can not -> cannot.
13982 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13984 * BufferView_pimpl.C: allow to create index inset even if
13987 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13989 * buffer.C (getLists): replace boost::tie code with an explicit pair
13990 as boost::tie can break some compilers.
13992 * iterators.h: Added a std:: declaration to the return type of
13995 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13997 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14000 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14002 * iterators.[Ch]: New files. Provide paragraph iterators.
14004 * buffer.C (changeLanguage): Use paragraph iterators.
14005 (isMultiLingual): ditto
14007 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14009 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14011 * FontLoader.C: Support for cmr font.
14013 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14015 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14016 (available): New method.
14018 * FontInfo.C (getFontname): Use scalable fonts even when
14019 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14022 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14024 * converter.C (Formats::view): reverted! Incorrect fix.
14026 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14028 * converter.C (Formats::view): only output the -paper option
14029 if the dvi viewer is xdvi, thereby fixing bug #233429.
14031 2001-08-23 Herbert Voss <voss@perce>
14033 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14035 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14037 * Spacing.h (Spacing): Set space to Default on in the default
14040 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14042 * vc-backend.h (RCS::versionString): add RCS to version
14043 (CVS::versionString): add CVS to version
14045 * vc-backend.C (scanMaster): do not add CVS to version.
14046 (scanMaster): do not add RCS to version
14048 * lyxvc.C (versionString): new method
14050 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14052 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14054 * Spacing.C (set): initialize fval
14056 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14058 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14061 2001-08-16 Juergen Vigna <jug@sad.it>
14063 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14065 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14067 * BufferView_pimpl.C:
14070 * text2.C: setParagraph takes linespacing now
14072 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14074 * LyxAction.C: add internal LFUN_CITATION_INSERT
14076 * LyXView.C: actually apply fix
14078 * bufferlist.C: fix open non-existent file
14080 * lyxfind.C: fix indentation
14082 * lyxfunc.C: remove unneeded assert, fix typo
14084 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14086 * MenuBackend.C: use "Floatname List"
14088 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14090 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14091 when converting LaTeX layout to insetERT.
14092 Generate a non-collapsed float when reading old float
14094 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14096 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14099 2001-08-13 Juergen Vigna <jug@sad.it>
14101 * text.C (fill): return 0 instead of 20 as this seems to be the more
14104 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14106 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14109 2001-08-13 Juergen Vigna <jug@sad.it>
14111 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14113 (SearchBackward): comment out the unlocking of the inset_owner this
14114 should not be needed!
14116 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14118 * Many files: Remove inherit_language, and add latex_language
14120 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14121 collapsible insets.
14123 2001-08-10 Juergen Vigna <jug@sad.it>
14125 * text.C (prepareToPrint): fixed hfill-width in draw!
14127 * BufferView2.C (selectLastWord): save the selection cursor as this
14128 now is cleared in the function LyXText::clearSelection!
14130 2001-08-08 Juergen Vigna <jug@sad.it>
14132 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14133 BACKSPACE type functions.
14135 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14136 is only cutted from the document but not put in the cut-buffer, where
14137 still the old stuff should be.
14139 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14141 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14143 * tabular.C (SetWidthOfCell): fixed special case where the width
14145 (LeftLine): handle '|' in align_special.
14147 (LeftAlreadyDrawed): ditto
14148 (SetWidthOfCell): ditto
14150 2001-08-07 Juergen Vigna <jug@sad.it>
14152 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14154 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14156 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14157 * lyxlex.[hC]: ditto
14159 2001-08-06 Juergen Vigna <jug@sad.it>
14161 * text.C (getVisibleRow): fix up row clearing a bit.
14163 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * minibuffer.C: make sure the X server sees the changes in the input.
14167 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14169 * paragraph.C (getFont): split into...
14170 (getLabelFont): this
14171 (getLayoutFont): and this
14172 * paragraph_pimpl.C (realizeFont): calling this
14174 * text2.C (getFont): split into...
14175 (getLayoutFont): this
14176 (getLabelFont): and this
14177 (realizeFont): all three calling this
14179 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14182 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14184 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14186 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14188 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14189 layouts from the Quote inset insertion.
14191 2001-08-03 Juergen Vigna <jug@sad.it>
14193 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14195 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14196 only if status not is already CHANGED_IN_DRAW (second level).
14198 * text.C (draw): don't set the need_break_row when inside an
14201 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * buffer.C (parseSingleLyXformat2Token): handle more latex
14206 * bufferview_funcs.[hC]: change function names to
14207 begin with small char, adjust other files.
14209 2001-08-02 André Pönitz <poenitz@gmx.net>
14212 BufferView_pimpl.C: remove broken special code for math-greek
14214 2001-08-02 Juergen Vigna <jug@sad.it>
14216 * BufferView_pimpl.C (update): redone this function so that we
14217 update the text again if there was a CHANGE_IN_DRAW.
14219 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14220 (drawFromTo): added a new internal bool which is used by draw() and
14222 (general): some cursor drawing problems fixed.
14224 2001-08-01 Juergen Vigna <jug@sad.it>
14226 * lyxfind.C (LyXFind): fixed
14227 (SearchForward): ditto
14228 (SearchBackward): ditto
14230 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14231 spurius drawing of the cursor in the main area.
14233 * text2.C (status): small fix which could lead to a segfault!
14234 (clearSelection): remove unneeded BufferView param.
14236 2001-08-01 André Pönitz <poenitz@gmx.net>
14238 * lyxfunc.C: small change due to changed mathed interface
14240 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14242 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14244 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14246 * lyxfunc.c: fail gracefully if file doesn't exist
14251 * BufferView_pimpl.C: IsDirWriteable() proto changed
14253 * LyXView.C: fix updateWindowTitle() to store the last title
14255 2001-07-31 Juergen Vigna <jug@sad.it>
14257 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14258 the font (wrong since using of Paragraph::highestFontInRange).
14260 * paragraph.C (highestFontInRange): added a default_size parameter.
14262 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14263 (setHeightOfRow): reformat
14265 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14267 * converter.[hC] + affected files: move to (inital-char)lowercase
14270 * ParagraphParameters.C (ParagraphParameters): remove commented code
14272 * PainterBase.[Ch]: remove commented code
14274 * LaTeXFeatures.h: add "bool floats" for float.sty
14276 * LaTeXFeatures.C (LaTeXFeatures): init floats
14277 (require): handle float
14278 (getPackages): do it with floats
14280 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14282 * BufferView_pimpl.C (Dispatch): improve handling of
14283 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14285 * commandtags.h: #include lyxfont.h here temporarily to avoid
14288 * bufferlist.h: include LString.h here.
14290 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14292 * text2.C (getStringToIndex): new method.
14294 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14296 * *: Reduced header file dependencies all over.
14298 2001-07-30 Baruch Even <baruch@lyx.org>
14300 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14302 2001-07-29 Baruch Even <baruch@lyx.org>
14304 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14306 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14308 * ParameterStruct.h (endif): add a default constructor to make
14309 sure that all variables is initialized.
14311 * ParagraphParameters.C (ParagraphParameters): adjust
14313 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14315 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14316 index; also, check that there is something to index, and that it
14317 does not span over several paragraphs.
14318 (doubleClick): use WHOLE_WORD_STRICT for double click.
14320 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14322 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14325 2001-07-26 Baruch Even <baruch@lyx.org>
14327 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14328 an InsetFig figure, backwards compatible reading of old figure code.
14330 2001-07-27 Juergen Vigna <jug@sad.it>
14332 * text2.C: font.realize function adaption.
14334 * text.C (draw): add a warnings lyxerr text if needed.
14336 * layout.C: font.realize function adaption.
14338 * language.C: add inherit_language and implement it's handlings
14340 * bufferview_funcs.C (StyleReset): remove language parameter from
14341 font creation (should be language_inherit now).
14343 * bufferparams.C (writeFile): handle ignore_language.
14345 * paragraph.C (getFontSettings): the language has to be resolved
14346 otherwise we have problems in LyXFont!
14348 * lyxfont.C (lyxWriteChanges): added document_language parameter
14349 (update): removed unneeded language parameter
14351 * paragraph.C (validate): fixed wrong output of color-package when
14352 using interface colors for certain fonts in certain environments,
14353 which should not seen as that on the final output.
14355 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14357 * BufferView_pimpl.C:
14362 * LyXAction.C: add thesaurus support
14365 * lyxfind.C: add "once" parameter, for thesaurus, to not
14366 move to the next match
14368 2001-07-26 Juergen Vigna <jug@sad.it>
14370 * lyxfont.C (realize): honor ignore_language too!
14373 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14375 * text.C (draw): one place more for ignore_language to not draw
14378 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14380 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14382 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14385 the minipage conversion problem.
14387 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14389 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14392 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14394 * BufferView.h: don't forward declare WorkArea
14396 * BufferView.C: don't include WorkArea.h
14398 2001-07-25 André Pönitz <poenitz@gmx.net>
14402 * lyxfunc.C: new LFUN 'math-space'
14404 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14406 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14408 * text2.C (toggleInset): call open/close
14410 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14412 * lyxfunc.C (dispatch): add debug for the disabled case
14414 * font.C (buttonText): make similar to rectText
14416 * buffer.C (readInset): comment out parsing of insetlist and
14419 * PainterBase.C (rectText): small correction
14421 * BufferView_pimpl.C: comment out insettheorem and insetlist
14422 * LyXAction.C: ditto
14423 * commandtags.h: ditto
14425 2001-07-24 Juergen Vigna <jug@sad.it>
14427 * text.C (draw): honor the ignore_language.
14429 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14431 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14433 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14436 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14438 * lyxtext.h: remove unused (and unimplemented) methods
14440 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14442 * text.C (getVisibleRow): honor background color
14445 * Painter.h: remove default color argument for fillRectangle
14447 * text.C (backgroundColor): new method
14449 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * text.C (getVisibleRow): adjust
14453 * font.[Ch] (rectText): new method, metrics
14454 (buttonText): new method, metrics
14456 * PainterBase.[hC]: make rectText and buttonText always draw and take
14459 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14461 * ToolbarDefaults.C (read):
14462 * MenuBackend.C (read): allow escaping in all strings
14464 * BufferView_pimpl.C (insertAndEditInset): new method.
14465 (Dispatch): use insertAndEditInset whenever appropriate.
14467 * BufferView_pimpl.C (insertNote): removed
14469 * BufferView_pimpl.C (smartQuote): new method, moved from
14470 BufferView; if an insetquote cannot be inserted, insert a '"'
14473 * BufferView2.C: remove insertCorrectQuote();
14475 * lyxfunc.C (getStatus): Add support for all remaingin
14476 inset-insert lfuns.
14478 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14480 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14481 command (necessary to pass " as parameter of self-insert.
14483 * text.C (selectWordWhenUnderCursor):
14484 (selectWord): add word_location parameter
14485 (selectWordWhenUnderCursor): same + remove special code for word
14487 (selectNextWord): use kind() to guess type of insetspecialchar,
14490 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14491 (insertErtContents): create ert insets as collapsed.
14492 (readInset): better compatibility code for Info inset.
14494 2001-07-20 Juergen Vigna <jug@sad.it>
14496 * lyxfunc.C (dispatch): use always LyXFind now!
14498 * text2.C (init): add a reinit flag so that the LyXText can be
14499 reinited instead of deleted and reallocated (used in InsetText).
14501 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14507 2001-07-18 Juergen Vigna <jug@sad.it>
14509 * text.C (selectNextWord): handle insets inside inset by calling
14510 always the bv->text functions so that we can go up the_locking_inset!
14512 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14513 in strange locations when inside an inset!
14515 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14516 handling to include insets.
14518 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14520 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * LyXAction.C (init):
14524 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14525 LIGATURE_BREAK, since the name is so stupid.
14527 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14529 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14532 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14534 * sp_form.[Ch]: remove.
14536 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14538 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14541 * src/buffer.C (readInset): ditto.
14543 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14545 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14546 menuSeparator(), endOfSentenceDot(), ldots() and
14547 hyphenationPoint(), which are therefore removed.
14548 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14550 * LyXAction.C (init):
14551 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14553 * paragraph.C (getWord): removed.
14555 * BufferView_pimpl.C (Dispatch): use last word or selection for
14556 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14558 * lyx_main.C (queryUserLyXDir): do not ask before creating
14559 user_dir, except if it has been named explicitely.
14561 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14563 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14564 a document of zero size.
14566 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14568 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14569 approriately in the c-tor and in require().
14570 (getPackages): output the appropriate LaTeX for natbib support.
14572 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14573 variables "use_natbib" and "use_numerical_citations" when reading the
14575 (readInset): read the various natbib cite commands.
14576 (validate): white-space change.
14578 * bufferparams.[Ch]: new variables "bool use_natbib" and
14579 "bool use_numerical_citations".
14580 (writeFile): output them in the LyX file.
14582 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14584 * lyxfunc.C (getStatus): add support for all the inset insertion
14587 * text2.C (insertInset):
14588 * paragraph.C (insetAllowed):
14589 * BufferView_pimpl.C (insertInset): update to take in account the
14590 renaming of insertInsetAllowed
14592 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14594 * text2.C (getInset): new method. returns inset at cursor position.
14596 * BufferView_pimpl.C (Dispatch): changes because of this.
14598 * LyXAction.C (init): rename open-stuff to inset-toggle.
14600 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14602 * text2.C (toggleInset): renamed from openStuff; use
14605 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14607 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14609 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14611 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14613 * buffer.C (readLyXformat2): Add filename to the error dialog
14615 2001-07-18 Juergen Vigna <jug@sad.it>
14617 * tabular.C (GetCellNumber): put an assert here instead of the check!
14619 2001-07-17 Juergen Vigna <jug@sad.it>
14621 * BufferView_pimpl.C (toggleSelection): adapted too.
14623 * text.C (selectNextWord): adapted for use with insets.
14624 (selectSelectedWord): ditto
14626 2001-07-17 Juergen Vigna <jug@sad.it>
14628 * sp_spell.C (PSpell): fix initialitation order.
14630 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * paragraph.C: spacing
14634 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14636 * sp_spell.C: repair language selection for pspell
14638 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14640 * lyxfunc.h: change more methods to begin with lower char.
14642 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14644 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14645 for unknown layouts.
14647 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14649 * buffer.C (readLyXformat2): Generate an error dialog if there are
14652 2001-07-16 Juergen Vigna <jug@sad.it>
14654 * sp_spell.C: always compile ISpell part.
14656 * lyxrc.C: added use_pspell entry and it's handling.
14658 2001-07-13 Juergen Vigna <jug@sad.it>
14660 * sp_spell.C: removed double includes.
14662 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14664 Consistent use of Lsstream.h:
14665 * Lsstream.h: added using std::stringstream for consistencies sake.
14667 * buffer.C: removed using std::stringstream
14669 * lyxfont.C (stateText):
14670 * paragraph.C (asString):
14671 * text.C (selectNextWord, selectSelectedWord):
14672 * text2.C (setCounter):
14673 * vspace.C (asString, asLatexString):
14674 std::ostringstream -> ostringstream.
14676 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14678 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14679 * commandtags.h: add LFUN_HELP_ABOUTLYX
14680 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14682 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14684 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14686 * lyx_gui_misc.C: remove spellchecker
14687 * lyxfunc.C: showSpellchecker
14689 * sp_ispell.h: added
14690 * sp_pspell.h: added
14691 * sp_spell.C: added
14692 * sp_form.[Ch]: removed
14693 * spellchecker.[Ch]: removed
14695 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14697 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14699 (simpleTeXSpecialChars): Simply print the input character without
14700 any special translation if pass_thru is set.
14702 * layout.h: Added bool pass_thru to layout class for being able to
14703 implement pass through of a paragraph for Literate Programming.
14705 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14706 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14707 * layout.C (Read): add "passthru" to list of layout tags and add
14708 code to set the pass_thru boolean when it is read.
14710 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14712 * trans_decl.h: remove allowed from KmodInfo
14714 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14715 remove allowed code
14718 * paragraph_pimpl.C (erase): use boost::prior
14720 * Painter.C (text): use data() instead of c_str() when length is
14722 * WorkArea.C (putClipboard): ditto
14723 * font.h (width): ditto
14725 * BufferView2.C: use it-> instead of (*it). for iterators
14727 * paragraph_pimpl.C: ditto
14728 * paragraph.C: ditto
14729 * minibuffer.C: ditto
14730 * language.C: ditto
14732 * encoding.C: ditto
14733 * counters.C: ditto
14734 * converter.C: ditto
14736 * Variables.C: ditto
14737 * TextCache.C: ditto
14738 * MenuBackend.C: ditto
14739 * LyXAction.C: ditto
14741 * FloatList.C: ditto
14742 * DepTable.C: ditto
14743 * ColorHandler.C (LyXColorHandler): ditto
14745 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14747 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14749 * text2.C (openStuff): reintroduce this method (which had been
14750 nuked in NEW_INSETS frenzy).
14752 * lyxfunc.C (Dispatch): when an action has not been handled, use
14753 its name in the error message, not its number.
14755 * paragraph.C (inInset): change method name to begin with lowercase.
14758 * text2.C: updates because of this.
14760 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * ToolbarDefaults.C (add): add spaces in error message
14764 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14766 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14767 (readLyXformat2): rename return_par to first_par, use lyxlex's
14768 pushToken and remove the manual push handling.
14769 (parseSingleLyXformat2Token): add another ert comp. variable:
14770 in_tabular, rename return_par to first_par. handle newlines better
14772 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14774 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14776 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14778 * text2.C (getParFromID): removed
14780 * buffer.C (getParFromID): new method moved form lyxtext.
14781 * BufferView2.C (insertErrors): adjust
14782 (setCursorFromRow): adjust
14783 * BufferView_pimpl.C (restorePosition): adjust
14784 * lyxfunc.C (Dispatch): adjust
14785 * undo_funcs.C (textUndo): adjust
14787 (textHandleUndo): adjust
14788 (textHandleUndo): adjust
14790 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14792 * buffer.C: up' the LYX_FORMAT
14794 * lyxfont.h: turn NO_LATEX on as default
14796 * buffer.C (insertErtContents): new methods of tex style compability.
14797 (parseSingleLyXformat2Token): use it several places.
14798 * tabular.C (OldFormatRead): and here
14800 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14802 * text2.C: remove some commented code.
14805 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14806 * trans.C: changes because of the above.
14808 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14810 * text2.C (setCounter): Fix counters bug with bibliography layout.
14812 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14814 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14815 own member functions
14816 (simpleTeXSpecialChars): ditto
14818 2001-07-06 Juergen Vigna <jug@sad.it>
14820 * a lot of files: changed the access to LyXText::status and the
14821 call of undo-functions.
14823 * undo.[Ch]: added a inset_id to the undo informations.
14825 * undo_funcs.[Ch]: added and moved here all undo functions.
14827 * lyxtext.h: give the status enum a weight, made status_ a private
14828 variable and made accessor functions for it, removed the whole bunch
14829 of undo-functions as they are now in their own file, make some
14830 functions publically available. Added function ownerParagraph with
14833 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14834 made InInset() a const function, added getParFromID() function.
14836 * buffer.[Ch]: added const version for inset_iterator functions,
14837 added getInsetFromID() function.
14839 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14840 changed undo functions for new version.
14842 2001-07-05 Juergen Vigna <jug@sad.it>
14844 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14845 unknow mechanism does not call the proper constructor but only this
14846 one also if I request the other!?
14848 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14850 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14852 * text2.C (LyXText): use initialization lists.
14854 * lyxtext.h (Selection): initialize set_ and mark_
14855 (init): remove method
14857 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14859 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14861 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14863 * screen.[Ch]: change method names to begin with lowercase
14865 * BufferView_pimpl.C (updateScrollbar): simplify further and
14866 hopefully make it a bit faster.
14868 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14870 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14871 calling directly xforms functions.
14873 * Painter.C (Painter):
14874 * lyx_cb.C (MenuWrite):
14875 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14878 * lyx_gui.C: remove bogus guiruntime extern declaration.
14880 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14882 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14884 (redoDrawingOfParagraph): ditto
14885 (redoParagraphs): ditto
14886 (cutSelection): don't create a object for CutAndPaste use the
14887 static method directly
14888 (pasteSelection): ditto
14890 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14893 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14895 * modifications to some other files because of this.
14897 * Makefile.am (lyx_SOURCES): add XFormsView
14899 * XFormsView.[Ch]: new files
14901 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14902 the main window. Move the gui dependent stuff to XFormsView
14904 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14906 * tabular.C (GetCellInset): update cur_cell also in the row/col
14907 version of this function.
14909 * lyxfunc.C: no need to include figure_form.h here.
14915 * lyxvc.C: no need to include forms.h here.
14917 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14921 * lyxfunc.C (Dispatch):
14923 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14924 constructor argument.
14926 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14928 * paragraph.C (Paragraph): dont't clear, and just set layout.
14929 (makeSameLayout): use params's copy contructor.
14931 * ParagraphParameters.[Ch] (makeSame): delete method
14933 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14935 * Variables.[Ch]: fix indentation, rename set to isSet
14937 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14939 * lyxfunc.C (Dispatch): fix typo
14941 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14946 * bufferlist.C: include assert.h for emergencyWrite().
14948 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14950 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14951 give up at last (bug #425202) !
14953 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14959 * spellchecker.C: strip spellchecker options and bring up
14960 preferences tab instead
14962 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14964 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14965 the istringstream constructor
14967 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14969 * paragraph.C (getLayout): fix return value
14971 * paragraph.h: do not declare getLayout as inline.
14973 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14975 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14977 * lyxcursor.h (operator<): new func
14978 (operator>): new func
14979 (operator>=): new func
14980 (operator<=): new func
14982 * text.C (changeCase): use selection.start and selection.end
14983 (changeRegionCase): require from to be <= to. Require par to be a
14986 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14988 2001-06-27 Juergen Vigna <jug@sad.it>
14990 * text.C (cursorLeftOneWord): changed to return the cursor and added
14991 overlay with BufferView * parameter which calls this one.
14993 (selectWord): use new getWord function.
14994 (changeCase): renamed from changeWordCase as and extended to work
14995 also on selections.
14997 * lyxtext.h: added enum word_location
14999 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15000 changeCase as this operates now also on selections.
15002 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15004 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15006 * many files: send debug output to Debug::INFO instead of
15009 * converter.C (View):
15011 (Move): send debug output to Debug::FILES instead of console.
15013 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15015 * lyxfunc.C (getStatus): use func_status
15017 * func_status.h: new header, describing the results of
15018 LyXFunc::getStatus;
15020 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15023 2001-06-25 The LyX Project <jug@sad.it>
15025 * buffer.C (sgmlOpenTag):
15027 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15029 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15031 * text2.C: remove some dead code
15033 * tabular.C (GetCellInset): store the last cell checked (gotten)
15035 * tabular.h: add the helper for the speedup
15037 * lyxtext.h: remove some dead code
15039 2001-06-26 The LyX Project <Asger>
15041 * paragraph.C: Change export to LaTeX of alignment to
15042 \begin{center} and family for better roundtrip work with reLyX.
15044 * Tune the math drawing a bit.
15046 2001-06-25 The LyX Project <Asger>
15048 * LColor.C (LColor): New color for math background. New color
15051 2001-06-25 The LyX Project <jug@sad.it>
15053 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15055 * lyxfunc.C (Open):
15056 * bufferlist.C (newFile): do not restrict to files ending with
15059 * BufferView_pimpl.C (MenuInsertLyXFile):
15061 2001-06-24 The LyX Project <jug@sad.it>
15063 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15066 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * lyxtext.h: rename most methods to begin with a small char.
15069 Lots of changes because of this.
15071 * paragraph.C (Paragraph): do not call fitToSize
15072 (erase): call Pimpl::erase
15073 (insertChar): call Pimpl::insertChar
15074 (insertInset): call Pipl::insertInset
15075 (breakParagraph): do not call fitToSize
15076 (breakParagraphConservative): do not call fitToSize
15077 (fitToSize): remove method
15079 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15081 2001-06-24 The LyX Project <Asger>
15083 * Fix Qt compilation^2
15085 2001-06-24 The LyX Project <jug@sad.it>
15087 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15088 depthHook(getDepth()-1).
15091 * ParagraphParameters.h:
15092 * ParameterStruct.h: change type of depth to unsigned int ==
15093 depth_type. Many adaptations to other files before of that.
15095 2001-06-24 The LyX Project <Asger>
15097 * Fix Qt compilation.
15099 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15101 * paragraph.h: renamed several methods to begin with small letter.
15102 several changes to many parts of the code because of this.
15104 2001-06-23 The LyX Project <jug@sad.it>
15106 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15107 rewritten to discard all double spaces when KeepEmpty is off
15108 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15109 to only handle newlines but not fiddle with spaces and friends.
15111 * lyxfunc.C (MenuNew): when doing 'new from template', use
15112 template_path as default directory
15114 2001-06-23 The LyX Project <Asger>
15116 * Clean-up of header file includes all over
15117 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15119 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15121 * paragraph.h: renamed from lyxparagraph.h
15123 2001-06-23 Asger <lyx@violet.home.sad.it>
15125 * Buffer.h: Removed Buffer::resize
15126 * BufferList.h: Removed BufferList::resize
15127 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15128 the document lazily when we change the width, or the font settings.
15130 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15132 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15134 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15136 * buffer.h: remove out of date comment
15138 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15141 * screen.C: fix "theoretical" GC leak
15143 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15145 * LaTeX.C (scanAuxFile):
15146 (deplog): remove trailing \r when reading stream (useful under
15149 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15151 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15152 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15153 and BufferView::theLockingInset(Inset*), so should use them and not
15154 access bv_->text->the_locking_inset directly.
15156 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15158 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15161 * tex-defs.h: remove old unused file
15163 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15165 * BufferView_pimpl.C: fix typo, remove minibuffer message
15166 when buffer has loaded
15168 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15170 * lyxfunc.C (Dispatch): use stringstream
15171 (MenuNew): use stringstream
15172 (Open): use stringstream
15174 * importer.C (Import): use stringstream
15176 * bufferview_funcs.C (CurrentState): use stringstream
15178 * LaTeX.C (run): use stringstream
15180 * BufferView_pimpl.C (savePosition): use stringstream
15181 (restorePosition): use stringstream
15182 (MenuInsertLyXFile): use stringstream
15184 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15197 * vspace.C: removed // -*- C++ -*- as first line.
15200 * version.h: added // -*- C++ -*- as first line.
15202 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15204 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15206 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15209 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15214 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15216 * gettext.C: include LString.h even when --disable-nls is on.
15218 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15220 * converter.h (Get): changed argument type from int to
15221 FormatList::size_type to avoid unnecessary conversion.
15223 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15226 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15228 * gettext.h: include LString.h even when --disable-nls is on.
15230 2001-06-07 Juergen Vigna <jug@sad.it>
15232 * text.C (BreakAgain): subst spaces with tabs.
15234 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15235 (resizeInsetsLyXText): set force on resizeLyXText.
15237 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15239 * gettext.h (gettext_init):
15240 (locale_init): use a real definition instead of a macro
15242 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15244 * Bufferview_pimpl.C:
15246 * LColor.C: further lcolor tidies
15248 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15250 * BufferView_pimpl.C (updateScrollbar): simplify.
15252 * BufferView2.C: don't include insets/insetinfo.h, change
15253 prototype for insertInset and call the Pimpl version. let
15254 updateInset call Pimpl version.
15256 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15257 gotoInset to BufferView::Pimpl
15259 2001-06-01 Juergen Vigna <jug@sad.it>
15261 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15262 inside a LockingInset (is the update needed at all?).
15264 2001-05-31 Juergen Vigna <jug@sad.it>
15266 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15267 here not the old one otherwise how should we compare it afterwards
15270 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15275 * FontInfo.C: bring C functions into global namespace when
15278 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * LString.h: make sure config.h has been loaded before LString.h.
15282 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15283 (one for each char read by EatLine!).
15285 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15288 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15290 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15291 to the same as the par we break from
15293 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15295 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15297 * MenuBackend.C (expand): also create menu entries for wide
15298 versions of the floats.
15300 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15302 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15304 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15305 frontends/Makefile.am
15311 * tabular.C (getTokenValue): add std::
15313 * tabular-old.C (getTokenValue): add std::
15314 (getTokenValue): ditto
15315 (getTokenValue): ditto
15317 * screen.C (ToggleSelection): adjust
15319 * lyxtext.h: put selection cursors inside a Selection struct.
15321 * lyxfunc.C (moveCursorUpdate): adjust
15323 * lyxfont.C (latexWriteStartChanges): add std::
15325 * lyxfind.C: adjust
15327 * font.h: delete with(char const *, LyXFont const &)
15329 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15331 * FontInfo.C (getFontname): add std::
15333 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15334 (workAreaButtonPress): adjust
15335 (tripleClick): adjust
15337 (moveCursorUpdate): adjust
15340 * BufferView2.C (gotoInset): adjust
15342 2001-05-30 Juergen Vigna <jug@sad.it>
15344 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15345 to check pspell I add this as default as I now have new pspell
15346 libraries and they seem to use this.
15348 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * text2.C (CutSelection): make the cursor valid before the call to
15353 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15356 relied on 0 terminated strings and other horrors. Bug found due to
15357 the new assert in lyxstring!
15359 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15362 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15364 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15367 * lyxfunc.C (processKeySym): change method of getting to the
15370 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15371 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15372 * BufferView_pimpl.[Ch]: here as private methods.
15374 2001-05-28 Juergen Vigna <jug@sad.it>
15376 * text.C (SetHeightOfRow): added the update() call again as it is
15377 needed to initialize inset dimensions!
15379 2001-05-16 Juergen Vigna <jug@sad.it>
15381 * text2.C (SetCharFont): Add new function with BufferView * and
15382 bool toggleall parameters for setting insets internal fonts.
15383 (SetFont): Freeze the undo as we may change fonts in Insets and
15384 all this change should be inside only one Undo!
15386 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15387 setting font's in insets as for them we have the SetFont function!
15389 2001-05-15 Juergen Vigna <jug@sad.it>
15391 * text2.C (ClearSelection): to be sure we REALLY don't have any
15394 * tabular.C (TeXCellPreamble): fixed the left border problem for
15397 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15399 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15402 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15404 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15405 LFUN_BREAKPARAGRAPH.
15407 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15408 help test to "internal only", similar for LFUN_INSERT_URL
15410 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15411 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15412 auto_region_delete and deadkeys.
15414 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15417 * LColor.C: remove some dead entries, tidy a little
15419 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15421 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15423 (Dispatch): implement LFUN_ESCAPE
15425 * commandtags.h: add LFUN_ESCAPE
15427 * LyXAction.C (init): add entry for LFUN_ESCAPE
15429 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15430 Remove commented code.
15431 (insertNote): moved here
15432 (open_new_inset): moved here
15434 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15437 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15439 * kbmap.C (findbinding): clean it up and make it work correctly.
15441 * lyx_main.C (init): do not pass argc and argv as parameters
15443 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15445 * buffer.C: fix path for OS/2 & Win32
15449 * lyx_main.C: Added os:: class.
15451 * os2_defines.h: update
15453 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15456 better by trying again with reduced state.
15458 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15460 * lyxrc.C (read): print error about invalid key sequence only when
15461 debugging (because not all latinX keysyms are known to some X
15464 * kbsequence.C (getiso): add a few std:: qualifiers
15465 (getiso): comment out extra return statement.
15467 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15469 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15471 (Dispatch): enhance the accent inset a bit. (not perfect)
15473 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15475 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15477 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * bufferlist.C (emergencyWrite): fix assert() call
15481 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15483 * text.C (InsertChar): Added trivial patch to only send the "you
15484 can not do multiple spaces this way" message once during a
15487 2001-05-08 Baruch Even <baruch@lyx.org>
15489 * Makefile.am: Changed order of libraries to get LyX to link properly
15490 with the gnome frontend.
15492 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15494 * LaTeXFeatures.h: add a std:: qualifier
15496 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15498 * paragraph.C (String): use stringstream
15500 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * paragraph.C (writeFile): remove footflag arg
15504 * buffer.C (makeLaTeXFile): use stringstream
15505 (latexParagraphs): remove footnot gurba
15507 * LaTeXFeatures.C (getPackages): use stringstream
15508 (getMacros): likewise
15509 (getTClassPreamble): likewise
15510 (getFloatDefinitions): new method
15512 * paragraph.C (writeFile): reindent
15515 * WorkArea.h: revert the xpos + etc changes.
15517 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15519 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15521 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15522 (pasteSelection): likewise
15523 * text2.C (CreateUndo): likewise
15525 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15527 * minibuffer.C (peek_event): temporarily reduce the functionality
15528 of the minibuffer (to allow args on lfuns)
15530 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15531 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15533 * buffer.C (readInset): add compability reading of old float
15534 lists, add reading of new style float list.
15535 (readInset): avoid reevaluation of inscmd.getCmdName()
15536 (getLists): reindent
15538 * MenuBackend.C (MenuItem): implement parsing of
15539 md_floatlistinsert and md_floatinsert.
15540 (expand::LastFiles): move initalizaton of iterators out of loop,
15541 avoid reevaluation.
15542 (expand::Documents): introduce typdedef vector<string> Strings,
15544 (expand::ExportFormats): introduce typedef vector<Format const *>
15545 Formats, and use it.
15546 (expand): implement FloatListInsert and FloatInsert.
15548 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15549 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15550 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15552 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15554 (Dispatch::LFUN_FLOAT_LIST): implement
15556 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15558 * LaTeX.C (run): Fix problem with --export code.
15560 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15562 * BufferView.[Ch] (workarea): removed.
15563 (getClipboard) new method; wrapper for workarea()->getClipboard()
15565 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15568 * WorkArea.h (width, height, xpos, ypos): These methods all
15569 returned the dimensions of the work_area sub-area of WorkArea,
15570 resulting in a position error if the WorkArea were resized. Now
15571 return the dimensions of the entire WorkArea.
15573 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15575 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15577 * LaTeX.C (deplog): correct the syntax of regex reg1
15579 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15581 * undo.C: remove !NEW_INSETS cruft
15583 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15585 * text2.C: remove !NEW_INSETS cruft
15587 * text.C: remove !NEW_INSETS cruft
15589 * tabular.C: remove !NEW_INSETS cruft
15591 * spellchecker.C: remove !NEW_INSETS cruft
15593 * lyxtext.h: remove !NEW_INSETS cruft
15595 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15597 * lyxfunc.C: remove !NEW_INSETS cruft
15599 * lyxfind.C: remove !NEW_INSETS cruft
15601 * lyx_cb.C: remove !NEW_INSETS cruft
15603 * figureForm.C: remove !NEW_INSETS cruft
15605 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15607 * buffer.[Ch]: remove !NEW_INSETS cruft
15609 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15611 * CutAndPaste.C: remove !NEW_INSETS cruft
15613 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15615 * BufferView2.C: remove !NEW_INSETS cruft
15617 * BufferView.h: remove !NEW_INSETS cruft
15619 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15621 * Lsstream.h: include LString.h before the sstream headers to
15622 fix problem with gcc 2.95.3 and lyxstring
15624 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15626 * lyx_main.C: add using directives when needed for C functions
15627 declared in std:: namespace.
15629 2001-04-27 Juergen Vigna <jug@sad.it>
15631 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15632 (SetHeightOfRow): comment out the update call should not be needed!
15634 2001-04-13 Juergen Vigna <jug@sad.it>
15636 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15637 (LyXTabular): tried to minimize operator= operations (and realized
15638 hopfully Lars wish).
15640 2001-04-27 Juergen Vigna <jug@sad.it>
15642 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15644 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15648 * buffer.C (readInset): hack to make listof algorithm work
15650 * BufferView_pimpl.C: hack to make listof algorithm work
15652 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15654 * LyXAction.C: removed all !NEW_INSETS cruft
15655 (init): moved lfun_item in method
15657 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15659 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15661 * BufferView2.C (theLockingInset): white space.
15663 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * minibuffer.C: include <iostream>
15667 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15669 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15671 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15673 * text.[Ch] (TransposeChars): new method
15675 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15677 * call message directly through LyXView instead of through LyXFunc
15678 * BufferView2.C: adjust
15679 * BufferView_pimpl.C: adjust
15680 * FontLoader.C: adjust
15682 * bufferview_funcs.C: adjust
15683 * converter.C: adjust
15684 * figureForm.C: adjust
15685 * importer.C: adjust
15687 * lyx_gui_misc.C: adjust
15688 * lyxfunc.C: adjust
15691 + more files in subdirs
15693 * lyxparagraph.h (size): move up int file
15696 * adjust all uses of Assert to lyx::Assert.
15698 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15699 lyxfunctional in namespace lyx
15700 * layout.C (hasLayout): ditto
15703 (delete_layout): ditto
15704 (NumberOfClass): ditto
15705 * converter.C (GetFormat): ditto
15710 * bufferlist.C (getFileNames): ditto
15711 (emergencyWriteAll): ditto
15714 * MenuBackend.C (hasSubmenu): ditto
15717 * BufferView_pimpl.C (getInsetByCode): ditto
15719 2001-04-18 Juergen Vigna <jug@sad.it>
15721 * vspace.C (asLatexString): fixed the 100% problem.
15723 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15725 * lyxfunc.C (Dispatch):
15727 * minibuffer.h: add a few std:: qualifiers
15729 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15731 * minibuffer.[Ch]: reimplement so that commands is initiated and
15732 run from lyxfunc, simplified som handling, and made the completion
15733 and history code for complete. wip.
15735 * lyxfunc.C (processKeySym): call message
15736 (miniDispatch): new temporary method
15737 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15738 (LFUN_MESSAGE): implement
15739 (LFUN_MESSAGE_PUSH): implement
15740 (LFUN_MESSAGE_POP): implement
15741 (initMiniBuffer): the initial/defualt minibuffer message.
15743 * lyxfont.[Ch]: inline some more getters
15745 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15747 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15749 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15750 (AutoSave): use LFUN_MESSAGE
15751 (Reconfigure): ditto
15753 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15755 * figureForm.C: use LFUN_MESSAGE
15757 * converter.C (runLaTeX): use LFUN_MESSAGE
15759 * bufferview_funcs.C: use LFUN_MESSAGE
15761 (changeDepth): ditto
15763 * bufferparams.h: use boost::
15765 * bufferlist.h: inherit privately from noncopyable
15767 * bufferlist.C (loadLyXFile): remove some commented code.
15769 * buffer.C (runChktex): use LFUN_MESSAGE
15771 * ShareContainer.h: inherit privately from noncopyable
15773 * ParagraphParameters.[hC] (depth): inline it.
15775 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15777 (message): new method
15778 (messagePush): ditto
15779 (messagePop): ditto
15780 (show): init minibuffer
15781 (showState): direct call
15783 * LaTeX.[Ch]: inherit privately from noncopyable
15784 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15785 instead of WriteStatus.
15787 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15789 * BufferView_pimpl.C (buffer): don't init minibuffer
15790 (workAreaButtonPress): use LFUN_MESSAGE
15791 (workAreaButtonRelease): ditto
15792 (savePosition): ditto
15793 (restorePosition): ditto
15794 (MenuInsertLyXFile): ditto
15795 (workAreaExpose): don't init minibuffer
15796 (update): remove commented code, simplify
15798 * BufferView2.C (openStuff): use LFUN_MESSAGE
15799 (toggleFloat): ditto
15802 (copyEnvironment): ditto
15803 (pasteEnvironment): ditto
15808 (updateInset): remove some commented code
15810 * lastfiles.h: inherit privately from noncopyable
15813 * lyx_main.h: ditto
15815 * lyxlex_pimpl.h: ditto
15817 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15818 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15819 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15821 * LyXAction.h: inherit privately from noncopyable, add methods
15822 func_begin, func_end, returning iterators to the func map.
15824 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15825 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15826 (func_begin): new method
15827 (func_end): new method
15829 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15831 (copySelection): ditto
15832 (pasteSelection): ditto
15834 * BufferView.C: whitespace change
15835 * BufferView.h: inherit privately from noncopyable
15837 2001-04-16 Allan Rae <rae@lyx.org>
15839 * tabular-old.C (l_getline):
15840 * spellchecker.C (sc_check_word):
15841 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15842 an unrecognised preprocessor directive. So ensure they're wrapped.
15844 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15846 * src/exporter.C (Export): Give an error message when path to file
15849 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15851 * LaTeX.C (deplog): Always check that foundfile exists.
15853 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15856 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15858 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15860 * tabular.[Ch] (getLabelList): implement new method
15862 * minibuffer.h: comment ouf setTiimer
15864 * minibuffer.C (ExecutingCB): constify res
15865 (peek_event): constify s
15866 (Set): constify ntext
15867 (Init): constify nicename
15869 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15871 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15872 (savePosition): use two params to Minibuffer::Set
15873 (restorePosition): ditto
15875 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15877 * lyx_main.C: include language.h
15879 * Makefile.am (lyx_main.o): add language.h
15881 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15887 * CutAndPaste.C: include gettext.h
15889 * lyxfont.h: remove old hack with ON and OFF.
15892 * lyxfont.h: do not include language.h...
15897 * bufferview_funcs.C:
15903 * paragraph.C: ... but do it here instead
15905 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15907 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15909 * tabular.C: small reformat
15911 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15914 (BreakParagraph): ditto
15915 (SetOnlyLayout): ditto
15918 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15921 * lastfiles.C: removed most using decl, add std:: where needed
15923 * buffer.C: ws changes
15925 * MenuBackend.C (class compare_format): put into anon namespace
15926 (expand): constify label, names, action, action2
15929 * text.C (SingleWidth): constify font
15930 (IsBoundary): constify rtl2
15931 (GetVisibleRow): constify ww
15933 * LaTeX.C (deplog): constify logfile
15935 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15937 (workAreaExpose): constify widthChange, heightChange
15939 * lyxrow.C (par): moved
15942 * lyxrow.h: as inlines here
15944 * lyxfont.h (shape): moved from lyxfont.C
15945 (emph): moved from lyxfont.C
15947 * lyxfont.C (LyXFont): use initialization list for all
15949 (shape): move to lyxfont.h as inline
15950 (emph): move to lyxfont.h as inline
15953 2001-04-04 Juergen Vigna <jug@sad.it>
15955 * vspace.C: had to include stdio.h for use of sscanf
15957 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15960 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15961 independent of xforms.
15963 2001-04-02 Juergen Vigna <jug@sad.it>
15965 * spellchecker.C: fixed namespace placing!
15967 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15969 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15970 the LyXParagraph * is 0.
15972 2001-03-29 Juergen Vigna <jug@sad.it>
15974 * vspace.C: added support for %, c%, p%, l%.
15975 (stringFromUnit): added helper function.
15976 (asLatexString): changed to give right results for the %-values.
15978 * buffer.C: convert the widthp in a width%.
15980 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15982 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15985 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15986 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15988 * lyx_cb.[Ch]: see above.
15990 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15994 * lyx.[Ch]: replaced by figure_form.[Ch].
15998 * lyxfunc.C: changed headers associated with above changes.
16000 2001-03-27 Juergen Vigna <jug@sad.it>
16002 * BufferView_pimpl.C: set the temporary cursor right!
16004 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16006 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16008 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16010 * LString.h: removed "using std::getline"!
16012 * BufferView_pimpl.C (Dispatch): changes due to changes in
16013 InsetInclude::Params.
16015 * buffer.C (tag_name): removed redundant break statements as they were
16016 producing lots of warnings with my compiler.
16018 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16020 * LString.h: add "using std::getline" when using the real <string>.
16022 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16024 * buffer.C: removed bitset usage.
16025 PAR_TAG moved to an anonymous name space.
16026 (tag_name): new funtion, also in the anonymous namespace.
16027 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16028 (makeDocBookFile): clean code. Completed transition from string arrays
16030 (SimpleDocBookOnePar): code clean.
16032 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16034 * tabular.C: add some comments.
16036 2001-03-22 Juergen Vigna <jug@sad.it>
16038 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16039 compatibility read a bit and fixed bug with minipage in different
16042 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16044 * buffer.C (pop_tag): removed.
16045 (push_tag): removed.
16046 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16047 array replaced with vector. Added support for CDATA sections.
16048 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16050 (makeDocBookFile): XML conformant declaration of CDATA section,
16051 fixed bug related to <emphasis> in the first paragraph char.
16052 (sgmlOpenTag): exclude empty tags.
16053 (sgmlCloseTag): ditto.
16055 * buffer.h (pop_tag): removed.
16056 (push_tag): removed.
16058 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16060 * language.h (Languages): added size_type and size().
16062 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16064 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16065 response on compability reading of minipages. One probliem is that
16066 the old usage of minipages was «flertydig»
16068 * several files here and in subdirs: don't use static at file
16069 scope use anon namespaces instead.
16071 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16073 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16074 LaTeX output. This is necessary for Literate document
16077 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16079 * buffer.C: insert hfill when needed.
16081 * tabular.C (l_getline): use string::erase, small whitespace change.
16083 * BufferView_pimpl.C: try the anon namespace.
16084 * WorkArea.C: ditto
16086 2001-03-16 Juergen Vigna <jug@sad.it>
16088 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16089 otherwise it won't open options-dialogs.
16091 * buffer.C: honor pextraWidth(p) on converting minipages.
16093 * tabular.C (l_getline): changed the functions to strip trailing \r.
16095 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16097 * BufferView_pimpl.C:
16098 * minibuffer..C: added "using SigC::slot" declaration.
16100 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16102 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16108 * paragraph.C: ditto
16110 * lyxtext.h: NO_PEXTRA
16112 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16114 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16115 * ParameterStruct.h: ditto
16116 * ParagraphParameters.h: ditto
16117 * lyxparagraph.h: ditto
16119 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16121 * buffer.C: add compability for minipage alignment.
16122 (latexParagraphs): remove unwanted pextra check.
16124 * several files: remove CXX_WORKING_NAMESPACES
16126 * buffer.C (pop_tag): tie is in namespace boost
16128 * BufferView.h: noncopyable is in namespace boost
16130 * lyx_main.h: ditto
16133 * lastfiles.h: ditto
16134 * bufferlist.h: ditto
16135 * ShareContainer.h: ditto
16137 * LyXAction.h: ditto
16140 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16142 * Merging changes from BRANCH_MVC back into HEAD.
16144 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16146 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16148 * BufferView_pimpl.C: change from intl.C
16152 * Makefile.am: move combox.*
16158 * intl.C: remove dialog (covered by prefs)
16160 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16162 * lyxfunc.C (Dispatch): removed redundant break statement.
16164 2001-03-14 Juergen Vigna <jug@sad.it>
16166 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16168 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16170 * buffer.C: add hack to fix compability reading of minipages.
16172 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16174 * buffer.C (getLists): Cleanup.
16176 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16178 * lyxfont.C (update): don't honor toggleall on font size.
16180 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16184 * Makefile.am: moved to frontends/xforms/
16188 * BufferView_pimpl.C: changes for moved mathpanel
16190 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16192 * gettext.h: fix gettext_init() in --disable-nls
16194 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16198 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16201 * lyx.h: strip external form
16203 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16205 * BufferView_pimpl.C: add comment, destroySplash()
16207 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16209 * BufferView_pimpl.C:
16213 * lyxfunc.C: use re-worked insetinclude
16215 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16217 * buffer.C: add using std::stringstream.
16219 * lyx_cb.C: readd using std::ios.
16221 * buffer.C: add using std::map.
16223 * BufferView_pimpl.C: add using std::vector.
16225 * ShareContainer.h: add std:: to swap.
16227 * buffer.h: add some typedefs
16228 * buffer.C (getLists): use them
16229 (getLists): renamed from getTocList.
16230 add a counter for the different float types and use it in the
16232 (getLists): use the same counter for the NEW_INSETS and the "non"
16235 * lyx_cb.h: remove unused items, includes, using etc.
16237 * ShareContainer.h: remove some commented code, add more comments
16238 and "documentation".
16240 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16242 * buffer.C (getTocList): make the list also when NEW_INSETS is
16245 * buffer.h: remove TocType
16247 * buffer.C (getTocList): change to return a map<string,
16248 vector<TocItem> >, implement for dynamic number of list.
16250 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16251 * text2.C (PasteSelection): adjust
16252 * CutAndPaste.C (pasteSelection): adjust
16254 * FloatList.C (FloatList): update from the new_insets branch.
16255 * Floating.[Ch]: ditto
16256 * LaTeXFeatures.C: ditto
16258 * lyxlex_pimpl.C: ditto
16260 * paragraph.C (Last): remove when NEW_INSETS is defined.
16262 * other file: changes because of the above.
16264 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16266 * lyxparagraph.h: rename next to next_, previous to previous_,
16267 make them private for NEW_INSETS. Rename Next() to next(),
16268 Previous() to previous().
16270 * other files: changes because of the above.
16272 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16275 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16278 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16280 * main.C (main): pass lyx_localedir to gettext_init().
16282 * gettext.h: remove locale_init and gettext_init macros
16284 * gettext.C (locale_init): new function
16285 (gettext_init): new function
16287 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16290 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16292 * Moved credits to frontends:
16293 * credits.[Ch]: removed
16294 * credits_form.[Ch]: removed
16295 * lyx_gui_misc.C: remove credits stuff
16298 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16300 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16302 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16303 unneeded destructor.
16305 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16306 a standalone pointer again.
16308 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16310 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16316 * ToolbarDefaults.C:
16325 * BufferView_pimpl.C: use new file dialog in GUII
16328 * lyx_cb.C: remove LayoutsCB to Toolbar
16330 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16332 * ShareContainer.h (get): add std:: qualifier
16334 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16336 * ShareContainer.h: define a proper ShareContainer::value_type
16337 type (and use typename to please compaq cxx)
16339 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16341 * lyxparagraph.h: move serveral local vars to
16342 ParameterStruct/ParagraphParameters., use ShareContainer in
16343 FontTable., make vars in FontTable private and add getter and
16346 * paragraph.C: changes because of the above.
16348 * lyxfont.h: remove copy constructor and copy assignment. (the
16349 default ones is ok), move number inside FontBits. move inlines to
16352 * lyxfont.C: add number to initializaton of statics, move several
16353 inlines here. constify several local vars. some whitespace
16354 cleanup. Dont hide outerscope variables.
16356 * Spacing.h: add two new constructors to match the set methods.
16358 * ShareContainer.h: new file, will perhaps be moved to support
16360 * ParameterStruct.h: new file
16362 * ParagraphParameters.h: new file
16364 * ParagraphParameters.C: new file
16366 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16367 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16369 * BufferView_pimpl.C: ParagraphParameter changes.
16370 * buffer.C: Likewise.
16371 * bufferview_funcs.C: Likewise.
16372 * text.C: Likewise.
16373 * text2.C: Likewise.
16375 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * lyxfind.C (LyXReplace): do not redefine default argument in
16379 (IsStringInText): ditto
16380 (SearchForward): ditto
16381 (SearchBackward): ditto
16383 2001-03-06 Juergen Vigna <jug@sad.it>
16385 * lyxfind.C (IsStringInText): put parentes around expressions.
16387 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16389 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16391 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16393 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16395 * stl_string_fwd.h: add comment
16397 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16400 * tabular.C: remove unused DocBook methods
16406 killed DO_USE_DEFAULT_LANGUAGE
16408 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16410 * lyx_gui.C: do not include language.h.
16412 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16413 arguments in function implementation.
16415 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16417 * BufferView_pimpl.C: add <ctime>
16419 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16421 * BufferView_pimpl.C: add using std::find_if
16423 2001-02-27 José Matos <jamatos@fep.up.pt>
16425 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16428 2001-02-11 José Matos <jamatos@fep.up.pt>
16430 * buffer.C (makeDocBookFile): command styles now have a parameter as
16431 "title" by default.
16433 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16435 * layout_forms.[Ch]: removed
16436 * lyx_cb.[Ch]: out character
16437 * lyx_gui.C: out character
16438 * lyx_gui_misc.C: out character
16439 * bufferview_funcs.C: : out character,
16440 added toggleall as parameter in ToggleAndShow
16442 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16444 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16446 * text2.C (SetCurrentFont): Disable number property at boundary.
16448 2001-02-26 Juergen Vigna <jug@sad.it>
16450 * lyxfunc.C (getStatus): added a string argument override function so
16451 that this is correctly called from LyXFunc::Dispatch if it contains a
16452 do_not_use_argument which is used!
16453 (Dispatch): added check for "custom" export and call appropriate func.
16455 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16457 * lyxrc.C: Add language_command_local, language_use_babel and
16458 language_global_options.
16460 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16462 * buffer.C (makeLaTeXFile): Use language_use_babel and
16463 language_global_options.
16465 2001-02-23 Juergen Vigna <jug@sad.it>
16467 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16468 which works with LyXText and putted it inside BufferView. Here now we
16469 only call for that part the BufferView::Dispatch() function.
16471 * BufferView.C (Dispatch): added.
16473 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16474 functions which needs to use a LyXText over from LyXFunc.
16475 (MenuInsertLyXFile): added
16476 (getInsetByCode): added
16477 (moveCursorUpdate): added
16478 (static TEXT): added
16480 2001-02-22 Juergen Vigna <jug@sad.it>
16482 * BufferView_pimpl.C (update): call a status update to see if LyXText
16485 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16487 * vc-backend.C (revert): implement for CVS
16488 (getLog): implement for CVS
16490 2001-02-20 Juergen Vigna <jug@sad.it>
16492 * text2.C (ClearSelection): added BufferView param for inset_owner call
16494 * lyxfunc.C (TEXT): added this function and use it instead of
16495 directly owner->view()-text of getLyXText().
16497 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16499 * src/layout_forms.C: out preamble
16500 * src/layout_forms.h: out preamble
16501 * src/lyx_cb.C: out preamble
16502 * src/lyx_cb.h: out preamble
16503 * src/lyx_gui.C: out preamble
16504 * src/lyx_gui_misc.C: out preamble
16505 * src/lyxfunc.C: connect with guii preamble
16507 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16509 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16511 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16513 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16514 whether to run bibtex.
16516 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16518 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16520 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16522 * Makefile.am (lyx_SOURCES): removed bibforms.h
16524 * vspace.h: doxygen
16526 * text.C (GetVisibleRow): make several local vars const
16528 * tabular.C: small cleanup.
16530 * lyxserver.C (callback): use compare instead of strncmp
16532 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16533 inlines to after class or to paragraph.C
16535 * lyxfont.h: remove friend operator!=
16537 * converter.h: move friend bool operator< to non friend and after
16540 * combox.h: small cleanup
16542 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16543 to inlines after class def.
16545 * buffer.C (pop_tag): use string operations instead of strcmp
16547 * bmtable.c: doxygen, small cleanup
16549 * LaTeX.h: remove friend operator==
16551 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16563 * BufferView_pimpl.C:
16564 * BufferView.[Ch]: remove cruft
16566 2001-02-14 Juergen Vigna <jug@sad.it>
16568 * lyxfunc.C: removed #if 0 unused code
16570 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16572 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16574 * text2.C (SetSelection): added a BufferView * parameter
16576 2001-02-13 Juergen Vigna <jug@sad.it>
16578 * lyxfunc.C (Dispatch): fixed protected blank problem.
16579 * BufferView2.C (protectedBlank): added LyxText * parameter.
16581 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16582 (AppendColumn): same as above for column_info.
16584 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16585 (moveCursorUpdate): use a LyXText param for support of InsetText.
16587 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16588 (tripleClick): ditto
16590 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16592 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16594 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16596 * text2.C (SetSelection): set correct update status if inset_owner
16597 (ToggleFree): ditto
16599 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16601 * tabular.C: remove some commented code.
16603 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16605 * BufferView_pimpl.C: call hideSplash()
16607 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16610 * bibforms.h: remove
16613 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16614 add LFUN_CHILD_CREATE
16616 * counters.h: fix tiny typo
16621 * lyx.C: move splash to frontends/xforms/
16623 * lyx_gui_misc.C: move Include and Bibform to frontends
16625 * lyxvc.h: clarify comment
16627 * vspace.C: tiny housekeeping
16629 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16631 * text.C (PrepareToPrint): RTL Fix.
16633 * paragraph.C (GetUChar): New method.
16634 (String): Use GetUChar.
16636 * buffer.C (asciiParagraph): Use GetUChar.
16638 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16640 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16642 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16645 * buffer.C: rename to getLogName(), handle
16646 build log / latex log nicely
16648 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16651 * MenuBackend.h: remove support for reference menuitem type.
16653 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16655 * BufferView_pimpl.C: housekeeping
16656 * BufferView_pimpl.h:
16661 * minibuffer.h: move Timeout GUI-I
16663 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16665 * lyxrc.C (read): Update converters data-structures.
16667 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16669 * LaTeX.h (operator!=): add operator != for Aux_Info
16671 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16673 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16675 * LaTeXLog.C: deleted, useful code moved to Buffer
16678 * buffer.C: new function getLatexLogName()
16684 * lyxfunc.C: use frontends for LaTeX and VC logs
16686 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16688 * LaTeX.h: yet another std:: that Allan forgot.
16690 * Variables.C (set): renamed from isset(), because this clashes
16691 with some HP-UX macros (grr).
16693 2001-02-06 Allan Rae <rae@lyx.org>
16695 * LaTeX.h: Another bug fix. Missing std:: this time.
16697 2001-02-04 Allan Rae <rae@lyx.org>
16699 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16700 floats problem. I've left it commented out because it's not quite
16701 correct. It should also test that the current object is a table or
16702 figure inset. But I haven't gotten around to figuring out how to do
16703 that. I *think* it'll be something like: "table" == inset.type()
16705 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16708 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16710 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16711 all the citation/databases/styles in the auxilary file.
16712 (run): Rerun latex if there was a babel language error.
16714 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16716 * text.C (Backspace): Preserve the font when changing newline char
16718 (BreakParagraph): If the cursor is before a space, delete the space.
16720 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16722 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16724 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16725 new argument (code).
16726 (ChangeCitationsIfUnique): New method.
16728 * paragraph.C (GetPositionOfInset): Handle bibkey.
16730 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16732 * BufferView_pimpl.h: change type of Position::par_pos to
16733 LyXParagraph::size_type.
16735 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16737 * BufferView_pimpl.C (savePosition, restorePosition): Write
16738 messages to minibuffer.
16740 2001-01-28 José Matos <jamatos@fep.up.pt>
16742 * buffer.C (makeDocBookFile): adds support for document language.
16743 A silly restriction on the name of LatexCommand types where removed.
16744 Added support for CDATA sections, allows to chars unescaped, used
16745 among others in code, to avoid escape < and >.
16747 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16749 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16750 saved positions instrad of a stack. Furthermore, a position is
16751 stored using paragraph id/paragraph position.
16753 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16754 Remove LFUN_REF_BACK.
16756 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16758 * converter.C (dvipdfm_options): New method.
16760 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16762 * vspace.C (isValidLength): Fix for empty input string.
16764 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16766 * LyXAction.C (init): change description of LFUN_FIGURE to
16769 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16771 * LaTeX.C: add using directive
16773 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16775 * MenuBackend.C (expand): Fix the sorting of the formats.
16777 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16779 * lyx_main.C: tiny error message fix
16781 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16783 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16784 calling fl_initialize(). This fixes the problem with ',' as
16785 decimal separator in text files.
16787 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16789 * trans.C (process): Fix the keymap bug.
16791 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16793 * LaTeX.C (scanAuxFiles): New method. Provides support for
16794 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16795 (scanLogFile) Scan for "run BibTeX" messages.
16797 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16798 OT1 font encoding. Also, load the aecompl package if the ae
16801 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16803 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16805 * texrow.C (increasePos): turn two error messages into debug
16808 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16810 * LaTeX.C (scanAux): Handle the \@input macro.
16811 (runBibTeX): Use scanAux().
16813 * language.C (latex_options_): New field.
16815 * LaTeXFeatures.C (getMacros): Add language macros.
16817 * buffer.C (makeLaTeXFile): Small fix.
16819 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16821 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16823 * text2.C: add a using directive.
16825 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16830 * lyxfunc.C: kill LyXBell.
16832 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16834 * text.C (IsBoundary): Remove the error message
16836 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16838 * lyxrc.C (setDefaults): Correct initialization value for
16841 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16843 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16846 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16847 and GotoNextNote().
16849 * src/LyXAction.C: Added reference-next.
16851 * text.C (InsertChar): Use contains instead of strchr.
16853 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16855 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16857 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16858 alignment commands (when needed).
16860 * text.C (InsertChar): Add ':' to number separator chars.