1 2004-12-03 José Matos <jamatos@lyx.org>
3 * buffer.C: format up to 238.
5 2004-12-03 José Matos <jamatos@lyx.org>
7 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
9 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
11 * cursor.C (goUpDown): remove call to idxUpDown2
13 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * tabular.[Ch]: use size_t-like types for cell, row and column
18 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
20 * lyxfunc.C (getStatus): do not lose previous information when
21 calling BufferView::getStatus; do not set a default "Command
22 disabled" message at the beginning, but just before returning.
24 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * cursor.h (getStatus): add better comment from src/cursor.C
28 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * text3.C (getStatus): return false when the lfun is not handled
32 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * broken_headers.h: remove
36 * Makefile.am (lyx_SOURCES): remove broken_headers.h
38 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
40 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
43 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
44 top_y_, merge fitcursor with update
45 (updateScrollbar, scrollDocView, fitCursor, center, update): new
48 (workAreaDispatch): adapt to new coord scheme
49 (redoCurrentBuffer): remove
51 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
53 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
56 * coordcache.[Ch]: add paragraph cache and helpers
58 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
61 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
62 (targetX, setTargetX): introduce
64 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
65 baseline -> ascent, as the rest of lyx
67 * lyxtext.h: remove redoParagraphs, updateParPositions,
68 fullRebreak, redoParagraphInternal. move dist to anon namespace in
69 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
70 have ascent/descent (ascent is ascent of first par)
72 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
75 * paragraph.[Ch]: unify dimension handling with the rest of lyx
77 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
79 * pariterator.C: fix infinite loop introduced in par->pit renaming
81 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
82 in insets and LyXText, draw two off-screen paragraphs using
83 NullPainter, and adapt to new coord scheme
87 * text3.C: adapt lfun handlers to the new coord scheme, which
88 means: there's only guaranteed coord information for onscreen pars
89 plus one above and one below. This implies that one can do search
90 from y coordinates in the range [-1,workHeight]
92 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
94 * rename a lot of InsetOld to InsetBase
96 2004-11-25 Angus Leeming <leeming@lyx.org>
100 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
102 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
104 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
105 call BufferView::getStatus if LCursor::getStatus did nothing
106 (setStatusMessage, getStatusMessage): removed.
108 * FuncStatus.C (message): new methods. Used to provide an error
109 message indicating why a command is disabled.
110 (clear, |=, FuncStatus): update for message.
112 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
114 * lyxfunc.C (dispatch): always call sendDispatchMessage
116 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
119 * BufferView_pimpl.C:
133 * undo.C: par->pit renaming
135 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
137 * tabular.C (cellstruct): use initialization, store a shared_ptr
138 to insettext instead of the insettext directly, adjust to fit.
139 (operator=): new function
141 (rowstruct): use initialization
142 (columnstruct): use initialization
143 (ltType): use initialization
146 * lyxlength.h (swap): new function
148 * LColor.[Ch] (operator=): use the common semantics
150 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
152 * lyxfind.C (findNextChange): update the bufferview after setting
155 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
157 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
158 number of InsetOptArgs has already been inserted.
160 * output_latex.C (latexOptArgInsets): new method. This outputs all
161 the optarg insets, up to the limit defined in the layout file.
162 (optArgInset): removed
163 (TeXOnePar): call latexOptArgInsets; correctly update texrow
165 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
167 * paragraph.C (isLetter): remove special spellchecker-related
168 code; return true also for digits
169 (isWord, isKomma): remove
171 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
172 * lyxfind.C (MatchString()): use isLetter instead of isWord
174 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * pariterator.h (operatir=): comment out un-implemented member
179 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
182 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * lyxfont.h: include LColor.h to satisfy concept checks.
186 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * pariterator.h: add typdefs for value_type, difference_type,
189 pointer and reference to satisfy concept checks. Also add default
190 constructor for same reason.
192 * pariterator.C (operator++): add post-increment operator to
193 satisfy concept checks.
195 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
198 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
200 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
201 checks. Also rename base_type to BaseType to follow naming
204 * FloatList.h: include Floating.h to satisfy concept checks.
206 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * lyxfunc.C (getStatus): when the origin of the request is menu or
209 toolbar, and the LyXView does not have focus, do as if there was
212 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
213 FuncRequest to individual entries of LFUN_SEQUENCE
215 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
217 * output_latex.C (TeXOnePar): override runparams.moving_arg
218 according to the needprotect value of the current paragraph (bug
221 * paragraph.C (simpleTeXOnePar): no need to override
222 runparams.moving_args here
224 2004-11-14 John Spray <spray_john@users.sourceforge.net>
226 * vspace.C: fix off-by-one-error, related to fix #1682
228 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
230 * lengthcommon.C: a more general fix for bug 1682
232 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
234 * text.C (backspace): fix crash
236 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
238 * format.[Ch] (getFormatFromFile): new method
239 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
241 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
245 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
247 * lyxfunc.C (dispatch): remove the verbose argument
248 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
251 * kbmap.C (defkey): set the origin of func to KEYBOARD
253 * MenuBackend.C (MenuItem):
254 * ToolbarBackend.C (add): set the origin of func to UI
256 * funcrequest.[Ch]: add origin member, which indicates which part
257 of LyX requests an action
259 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
261 * converter.C (move): don't lie in the error message
262 * converter.h (isReachable, move): document
264 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
266 * buffer.C: remove unused using lyx::support::atoi
267 * paragraph_funcs.C: ditto
269 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
271 * bufferlist.C (exists): use bind and equal_to instead of
274 * lyxtextclasslist.C (NumberOfClass): ditto
276 * cursor.C (insert): use for_each instead of explicit for loop
278 * bufferlist.C (getFileNames): use std::transform and
279 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
281 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
284 * buffer.C (changeLanguage): use for_each instead of explicit for
286 (hasParWithID): implement using getParFromID
288 * LaTeXFeatures.C: ws change only
290 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
293 * BufferView_pimpl.C (trackChanges): use for_each instead of
296 2004-11-04 André Pönitz <poenitz@gmx.net>
299 * undo.C (textUndoOrRedo): fix crash when creating undo information.
301 * dociterator.C (asDocIterator): use hard assert again.
303 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
305 * lyxlength.C (asLatexString): rewrite so that it does not use
308 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
310 * text3.C (specialChar, dispatch): make sure cursor moves to the
311 right after inserting an inset
313 2004-11-02 José Matos <jamatos@lyx.org>
315 * output_docbook.C (docbook):
316 * paragraph.C (getID):
317 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
318 garantee that the output is always legal.
320 * tabular.C (docbook):
321 * outputprams.[Ch]: remove mixed contents.
323 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * text2.C (setCounter): prevent endless loop
327 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
329 * exporter.C (copyFile): use the mover instead of support::copy()
330 * exporter.C (Export): pass format and latex name to copyFile()
331 * exporter.h (addExternalFile): document
332 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
334 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
338 2004-10-30 José Matos <jamatos@lyx.org>
340 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
341 text and no inset or font change. This allows to use CDATA
342 sections just for the whole paragraph.
344 2004-10-30 José Matos <jamatos@lyx.org>
346 * paragraph.C (getFirstWord): remove unused variable.
348 2004-10-30 José Matos <jamatos@lyx.org>
350 * paragraph.C (getFirstWord): the content should always be escaped
352 (simpleDocBookOnePar):
353 * output_docbook.C (makeEnvironment): replace reference to CDATA
356 2004-10-30 José Matos <jamatos@lyx.org>
358 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
360 2004-10-30 José Matos <jamatos@lyx.org>
362 * output_docbook.C (makeParagraphs):
363 * paragraph.[Ch] (emptyTag): for docbook and company, if the
364 standard paragraph has only a given type of content drop the wrapper.
366 2004-10-29 José Matos <jamatos@lyx.org>
368 * output_docbook.C (makeEnvironment):
370 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
372 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
374 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
375 (cleanID): sanitize any id.
377 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
379 * buffer.C, lyxlex_pimpl.C:
380 * lyxlex_pimpl.C (setFile):
381 s/getExtFromContents/getFormatFromContents/
383 2004-10-28 José Matos <jamatos@lyx.org>
385 * output_docbook.C (makeEnvironment): move id to broadest possible
388 * sgml.C (openTag): apply substitution of <> for all attributes.
390 2004-10-28 José Matos <jamatos@lyx.org>
392 * buffer.C (makeLinuxDocFile, makeDocBookFile):
393 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
394 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
396 * sgml.[Ch]: new version for open and closeTag for paragraph and
397 for strings. Now they handle the ids of paragraphs.
399 2004-10-26 Angus Leeming <leeming@lyx.org>
401 * Makefile.am: add mover.[Ch].
403 * converter.C (convert, move): use the new Movers to move external
404 files to the temp directory.
406 * lyx_main.C (init): ensure that the global system_movers data
409 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
412 * mover.[Ch]: new files, defining a Mover as a utility to move an
413 external file between directories and, if necessary, manipulate this
414 file using a helper script.
416 2004-10-25 José Matos <jamatos@lyx.org>
418 * output_docbook.C (makeCommand): merge two if's that tested the
421 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
423 * sgml.C (escapeString): fix warning in a better way
425 2004-10-25 José Matos <jamatos@lyx.org>
427 * sgml.C (escapeString): import the require boosts header file for
428 tie, and avoid a signed unsigned comparison.
430 2004-10-25 José Matos <jamatos@lyx.org>
432 * sgml.h: add #include <string>
434 2004-10-25 José Matos <jamatos@lyx.org>
436 * sgml.[Ch] (escapeString): new function to escape all the string.
438 2004-10-24 José Matos <jamatos@lyx.org>
440 * paragraph.[Ch] (getFirstWord): new function to get the first
441 word. Useful for description.
442 (simpleDocBookOnePar): remove depth argument, add another that
443 says where to start the paragraph.
445 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
446 use the new functions to fix cleanly the support for descriptions.
448 2004-10-24 José Matos <jamatos@lyx.org>
450 * buffer.C (makeLinuxDocFile, makeDocBookFile):
451 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
452 * output_linuxdoc.C (linuxdocParagraphs):
453 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
454 add buffer as argument.
456 2004-10-24 José Matos <jamatos@lyx.org>
458 * output_docbook.C (makeEnvironment, searchEnvironment): place
459 CDATA inside paragraphs and fix scope for listitems.
461 2004-10-24 José Matos <jamatos@lyx.org>
463 * output_docbook.C: remove using statement for stack.
465 2004-10-23 José Matos <jamatos@lyx.org>
467 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
468 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
469 docbook. The new scheme is recursive and makes use of iterators, the
470 same as latex export works.
471 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
472 directly with the paragraph contents. This code was moved up to
473 output_docbook.C (docbookParagraphs).
474 * sgml.C (openTag, closeTag): removed unneeded newlines.
475 (closeEnvTags) removed.
477 2004-10-23 André Pönitz <poenitz@gmx.net>
479 * undo.C (textUndoOrRedo):
480 * dociterator.C (asDocIterator): work around crash
482 * cursor.C (getStatus): replace ASSERT by more verbose error message
483 and manual correction of the problem. Should increase stability
484 while providing more sensible information.
486 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
490 * bufferlist.C (previous, next): new methods
493 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
495 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
497 * buffer.C (makeDocBookFile): add dsssl stylesheet control
498 entities to preamble.
500 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
502 * messages.C (Pimpl): strip off translation context information
504 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
506 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
507 the cursor is correct (bug 1694)
509 2004-10-13 José Matos <jamatos@lyx.org>
511 * output_docbook.C (docbookParagraphs): fix closing tags in the
514 2004-10-09 José Matos <jamatos@lyx.org>
516 * buffer.C: format up to 237.
517 * bufferparams.C (write): use tostr to convert booleans to strings.
519 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
521 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
523 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
525 * LaTeX.C: implement use of babel language in xindy.
527 2004-10-05 José Matos <jamatos@lyx.org>
529 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
530 Add new translators to help reading and writing the lyx file.
532 2004-10-05 José Matos <jamatos@lyx.org>
534 * ParagraphParameters.C (read):
535 * text.C (readParToken): replace nexToken by more appropriate lex
538 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
540 * LaTeX.C (runMakeIndex):
541 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
542 (usually 'makeindex') configurable.
544 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
545 with a variable rather than with a number.
547 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
549 * output_latex.C (TeXOnePar): make sure font setting is the first
550 thing that gets output (and the last at the end). Should fix bug
553 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
555 * pch.h: use proper signal include
557 * LaTeX.h: Use preferred calling of Boost.Signal
560 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * pch.h: dont include <boost/function/function0.hpp>
564 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
566 * paragraph_pimpl.h: remove usage of ShareContainer
568 * paragraph_pimpl.C: remove initialization of ShareContainer.
570 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
574 * BufferView.C (putSelectionAt): change the semantics when
575 backwards == true: now, this just swaps cursor and anchor wrt the
578 * BufferView.h (putSelectionAt): add some documentation
580 * lyxfind.C (findBackwards): rewrite using while(). In particular,
581 make sure backwardChar is done at least once (to avoid getting
583 (findNextChange): use putSelectionAt in the forward direction
584 (operator()): use Paragraph::isWord
586 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
588 * Spacing.C (set): c_str fix
590 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * lyx_cb.C (Reconfigure): quote the name of configure script in
593 case it contains spaces
595 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
599 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
600 (BOOST_LIBS): use top_buildir when looking for the file
602 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
604 * pch.h: do not use include boost/format.hpp, multiple symbols
605 will result (gcc bug)
608 2004-08-23 José Matos <jamatos@lyx.org>
610 * bufferparams.C (readToken): fix reading of the author field.
612 2004-08-20 José Matos <jamatos@lyx.org>
614 * lyxrc.C: remove support/translator.h inclusion since it is not used.
616 2004-08-20 José Matos <jamatos@lyx.org>
618 * lyxlex.[Ch] (findToken): remove function.
620 * ParagraphParameters.C (findToken):
621 * bufferparams.C (findToken): replace call for previous function
622 with local copy. This local function has one more argument, the
623 read string argument.
625 2004-08-16 José Matos <jamatos@lyx.org>
627 * ParagraphParameters.C (write):
628 * Spacing.C (writeFile):
629 * bufferparams.C (writeLaTeX):
630 * lyx_cb.C (Reconfigure):
631 * paragraph.C (write):
632 * tabular.C (write): remove unnecessary space at end of line.
635 2004-08-16 José Matos <jamatos@lyx.org>
637 * text.C (readParagraph): remove debug message.
639 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
644 * output_plaintext.C (asciiParagraph): set depth correctly
646 * outputparams.h: add member depth
648 * paragraph_funcs.C (ownerPar): remove.
650 * text2.C (setCounter): remove first_pit; comment out some
651 non-working code that uses ownerPar
653 * BufferView.C (getParentLanguage): remove. Not used anymore, and
656 2004-08-16 José Matos <jamatos@lyx.org>
658 * text.C (readParToken, readParagraph, read): report all unknown tokens.
659 For the same level of importance use the same chanel to report problems.
660 (read): add code to deal with \begin_body and \end_body.
663 2004-08-15 José Matos <jamatos@lyx.org>
665 * lyxlex.C (getString): fix comment, buffer::readBody is now
668 * tex-strings.C (string_papersize): Default -> default,
669 Custom -> custom, for consistency with other options.
671 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
675 * Makefile.am: support pch
677 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * text.C (readParToken): remove the static LyXFont variable and
680 pass it as a parameter instead. This fixes a nasty bug where an
681 inset will be inserted with a bad font in some situations
682 (readParagraph): adapt
684 * text2.C (setCounter): reduce number of calls to pars_[pit]
686 * text.C (singleWidth): add an assert, fix a test
688 * rowpainter.C (paintText): reduce number of calls to singleWidth
690 * paragraph.C (isHfill):
693 2004-08-14 André Pönitz <poenitz@gmx.net>
698 * lyxtext.h (several functions): use a Paragraph & argument
701 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * metricsinfo.h: add a new field ltr_pos to PainterInfo
705 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
707 * text.C (singleWidth): remove useless test
709 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
711 * tabular.h: remove bogus comments
713 * tabular.C (getDescentOfRow):
714 (isPartOfMultiColumn): add assertions
716 * lyxlength.C (inPixels): remove #warning
718 2004-08-14 André Pönitz <poenitz@gmx.net>
720 * paragraph.h: inline getChar()
722 * BufferView.h: remove unused declarations
724 2004-08-14 José Matos <jamatos@lyx.org>
726 * Buffer.[Ch] (readDocument): new name for old readBody.
727 * Buffer.C: new file format, new keywords: \begin_document,
728 \begin_header, \begin_body, \end_body.
730 * bufferparams.C (readToken): replace all calls to lex.nextToken
731 by lex.next(). Do the same to eatLine except where really needed.
733 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
734 line when writing to the lyx file.
736 * output_plaintext.C (asciiParagraph): fix Bibliography style
739 * text.C (read): fix end of file handling.
741 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * MenuBackend.C (Menu::operator[]): new method to access
744 individual menu items
745 (Menu::hasFunc): new method. search for an item that corresponds
747 (MenuBackend::specialMenu): new method
748 (MenuBackend::expand): if a special menu has been set, skip
749 entries whose func() appears in this menu
751 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
753 * text3.C: use Debug::DEBUG a bit more
755 * text.C (leftMargin): try to simplify a tiny bit change var x to
756 l_margin. Dont output the wide margins always.
757 (rightMargin): no margin in inner texts
759 * rowpainter.h (nestMargin): new func
760 (changebarMargin): new func
761 (rightMargin): new func
763 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
767 * factory.C (createInset): modify setDrawFrame
769 * cursor.C: use Debug::DEBUG a bit more
771 2004-08-14 André Pönitz <poenitz@gmx.net>
774 * Makefile.am: new files to accomodate an 'external' (x,y)-position
775 cache for all insets in (at least partially) visible (top-level)
778 * BufferView_pimpl.C: reset external coord cache before every update.
779 This means the coord cache only contains valid entries.
781 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
784 * BufferView_pimpl.C (getInsetByCode): move function out of class
785 and change in to a template in anon namespace. Also fix to do what
788 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
791 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
793 (breakParagraph): rename par to par_offset and use a local
794 reference. Add code to keep the language over a rebreak.
795 (breakParagraphConservative): rename par to par_offset, use a
797 (mergeParagraph): ditto
799 (isFirstInSequence): ditto
800 (outerFont): rename pit to par_offset
802 * paragraph.C: ws change
807 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
812 * paragraph.C (simpleTeXOnePar): when we have a \item with
813 optional argument, enclose the argument with curly brackets (in
814 case it contains a closing square bracket)
818 * text3.C (checkInsetHit): constify
820 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
822 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
825 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
827 Fix toggling of collapsable insets with the mouse (bug 1558)
829 * lyxfunc.C (dispatch): adapt to LCursor changes
831 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
832 make sure that dispatch is not invoked twice
834 * cursor.C (needsUpdate): new method
835 (dispatch): return void
836 (result): new method, to access the DispatchResult of the cursor.
838 2004-08-13 José Matos <jamatos@lyx.org>
840 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
842 2004-08-13 André Pönitz <poenitz@gmx.net>
844 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
846 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
849 2004-08-12 André Pönitz <poenitz@gmx.net>
851 * text3.C: take out the 'cursor right' form insertInset and only
852 do it in those places when it is really needed. Fixes crash on
855 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
857 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
859 * BufferView_pimpl.C (setBuffer): initialize the current font of
860 the underlying LyXText
862 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
864 * kbsequence.C (print): use UI native formatting for menu
867 * text.C (insertChar): call Paragraph::insertChar with a font
870 * paragraph.C (insertInset, insertChar): the version that takes a
871 LyXFont argument is now a wrapper around the other one (the
872 opposite used to be true).
874 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
875 argument. Font setting is done in Paragraph now.
877 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * outputparams.h: add new members intitle and lang.
881 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
882 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
884 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
886 * text3.C (dispatch): remove special handling of button 4 and 5,
887 it is now taken care of in the frontend code.
889 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
891 * Spacing.h: add <string> (STLPort compile fix)
893 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
895 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
897 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
899 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
902 * converter.C (showMessage): inherit from unary_function, make
905 * buffer.C (writeFile): initialize retval
907 * InsetList.h: rename private variable list to list_
908 * InsetList.[Ch]: adjust accordingly.
910 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
912 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
913 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
914 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
915 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
916 * ParagraphParameters.C, LaTeXFeatures.C: replace
917 "support/std_sstream.h" with <sstream>
919 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
921 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
922 * lyxsocket.C (LyXServerSocket): ditto
923 (serverCallback): ditto
925 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
927 * LaTeXFeatures.C: check release date when loading jurabib.
929 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
931 * lyxserver.C (startPipe): call register_socket_callback
932 (endPipe): call unregister_socket_callback
934 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
936 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
937 (LyXServerSocket): register the callback
938 (LyXServerSocket): unregister the callback
939 (fd): delete function
940 (serverCallback): improve error checking and setup the callbacks.
941 (dataCallback): change arg to fd.
942 (writeln): new func (copied fro the client socket) used for server
944 (LyXDataSocket): simplify
945 (~LyXDataSocket): close ann unregiser callback
946 (server): delete function
947 (fd): delete function
948 (readln): small changes, improve some std::string usage
949 (writeln): constify a bit
951 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
956 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * BufferView_pimpl.C (setBuffer): set the layout combox value only
959 after it has been populated
961 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * text2.C (insertInset): move cursor when inserting inset.
965 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
967 * kbmap.C (findbindings): a couple of new methods. returns a
968 container of kb_sequence objects. The real work is done by the
969 private recursive version
970 (printbindings): uses findbindings to print out a bracketed list
971 of bindings (renamed from findbinding).
973 * MenuBackend.C (binding): use kb_keymap::findbindings
975 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
977 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
979 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
981 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
983 * paragraph.C (isWord): return true on insets that report
986 * text.C (getWord): use Paragraph::isWord to decide what is in a
987 word and what is not; fix bug 1609.
989 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
991 * tex-strings.C: add "none" to string_paperpackages[], fixes
992 off-by-one-error in the paperpackage selection.
995 * tex-strings.[Ch]: char const * string[n]
996 -> char const * const string[]
998 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1000 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1001 command, return early.
1003 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1005 * debug.h: add DEBUG to enum and fix size of ANY.
1007 * debug.C: add support for Debug::DEBUG
1008 (showTags): cast errorTags.level to unsigned int
1010 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1011 (redoCurrentBuffer): ditto
1012 (updateScrollbar): ditto
1013 * cursor.C (dispatch): ditto
1014 * text2.C (setLayout): ditto
1016 (updateCounters): ditto
1018 (deleteEmptyParagraphMechanism): ditto
1020 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1022 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1023 annotations to cleanup the Makefile slightly.
1025 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * lyxrc.C: do not set user_email to a default value but use empty
1028 instead. The entry used to be translated, which does not work
1029 since at the point where lyxrc is constructed there is no
1030 translation service available
1032 * messages.C (getLocaleDir): remove and use directly
1033 lyx_localedir() instead
1035 2004-06-02 Angus Leeming <leeming@lyx.org>
1037 Fix crash caused by dereferencing null pointer 'exportdata' in
1038 OutputParams by creating a new ExportData variable on the heap,
1039 storing it in a boost::shared_ptr.
1040 The crash was triggered when generating an Instant Preview
1041 of an external inset.
1043 * Makefile.am: add outputparams.C
1045 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1046 (c-tor): allocate memory to it.
1048 * exporter.C (c-tor): associated changes.
1050 2004-06-01 Angus Leeming <leeming@lyx.org>
1052 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1053 contains data before calling isInset(0). (Bug 1513.)
1055 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1057 * exporter.C (checkOverwrite): new method
1058 * exporter.C (copyFile): new method
1059 * exporter.C (Export): copy referenced files to the document dir
1060 * exporter.[Ch]: new class ExportedFile
1061 * exporter.[Ch]: new class ExportData. Contains currently the
1062 names of referenced external files
1063 * outputparams.h: add exportdata member.
1065 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1067 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1070 2004-05-19 Angus Leeming <leeming@lyx.org>
1075 * lyxfunc.C: small changes due to the introduction of namespace
1076 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1078 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1080 * text3.C (dispatch): supress update when only moving the cursor
1081 * cursor.C (selHandle): remove commented code
1083 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1085 * paragraph.C (startTeXParParams): correct column count
1086 * CutAndPaste.C (pasteSelection): remove const_cast
1087 * output_docbook.C (docbookParagraphs): remove const_cast
1088 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1089 const_cast and return ParagraphList::const_iterator
1090 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1091 * output_plaintext.C (writeFileAscii): remove const_cast
1092 * paragraph.[Ch] (simpleTeXOnePar): make const
1093 * paragraph_funcs.C (outerPar): use const iterators
1094 * paragraph_pimpl.C (validate): use const iterators
1095 * text.C (setHeightOfRow): use const iterators
1097 2004-05-17 Angus Leeming <leeming@lyx.org>
1100 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1102 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1103 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1104 if the citation engine has changed.
1106 2004-05-14 José Matos <jamatos@lyx.org>
1108 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1109 if the textclass does not provide it. Have it different for sgml and
1111 support the language of document.
1112 * output_docbook.C (docbookParagraphs):
1113 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1114 first anchor as the id of the paragraph, remove special case code.
1115 * sgml.C (escapeChar): escape only < & >.
1117 2004-05-14 Angus Leeming <leeming@lyx.org>
1119 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1120 dependencies on src/frontends/controllers/biblio.h. Define a
1121 CiteEngine_enum wrapper class to enable the enum to be forward
1124 2004-05-12 Angus Leeming <leeming@lyx.org>
1126 * buffer.C: up LYX_FORMAT to 234.
1127 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1128 use_numerical_citations with a single biblio::CiteEngine cite_engine
1130 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1132 2004-05-13 José Matos <jamatos@lyx.org>
1135 * converter.C (Converter, readFlags): add xml member.
1136 * outputparams.h: add XML flavor.
1137 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1139 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1141 * lyxfunc.C (dispatch):
1142 (getStatus): fix handling of LFUN_SEQUENCE
1144 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * debug.C (showLevel): do not forget the end-of-line marker
1148 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1150 * kbmap.C (read): do not stop parsing a bind file when an error
1153 2004-04-29 Angus Leeming <leeming@lyx.org>
1158 * text2.C: wrap a bunch of #warning statements
1159 inside #ifdef WITH_WARNINGS blocks.
1161 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1163 * buffer.C: increment format to 233.
1165 2004-04-28 Angus Leeming <leeming@lyx.org>
1167 * BufferView_pimpl.C:
1170 s/updateToolbar()/updateToolbars()/
1171 s/Toolbar.h/Toolbars.h/
1173 2004-04-28 Angus Leeming <leeming@lyx.org>
1175 * BufferView.[Ch] (c-tor):
1176 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1177 No longer passes these data to the WorkArea generator.
1179 2004-04-28 Angus Leeming <leeming@lyx.org>
1181 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1183 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1185 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1187 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * output_latex.C (TeXEnvironment): make sure that there is a line
1190 break before \end{foo} for the last paragraph of a document
1191 (TeXOnePar): if the paragraph is at the end of the document (or
1192 inset) and the language has to be reset, then make sure that the
1193 line break is _before_ the language command, not after (fixes bug
1194 1225); also make sure that the language reset command is the first
1195 thing after the paragraph (to ensure proper nesting of
1196 environments and thus fix bug 1404)
1198 2004-04-21 John Levon <levon@movementarian.org>
1201 * ToolbarBackend.C: make "name" be a programmatic name
1202 and a gui_name field.
1204 * lyxfunc.C: display the minibuffer on M-x
1206 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1211 2004-04-19 Angus Leeming <leeming@lyx.org>
1213 * BufferView_pimpl.C (setBuffer): changed preview interface.
1215 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1218 2004-04-19 John Levon <levon@movementarian.org>
1220 * BufferView_pimpl.C:
1221 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1223 2004-04-05 Angus Leeming <leeming@lyx.org>
1225 * text.C (redoParagraphs): add call to updateCounters(), thereby
1226 fixing the missing "Figure #:" label from the caption of a
1229 2004-04-13 Angus Leeming <leeming@lyx.org>
1231 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1232 cursor is clicked out of an inset.
1234 2004-04-13 Angus Leeming <leeming@lyx.org>
1236 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1237 than an InsetOld one.
1239 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1241 * format.[Ch]: add editor to Format
1242 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1243 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1245 2004-04-08 André Pönitz <poenitz@gmx.net>
1247 * metricsinfo.h: remove PainterInfo::width member
1249 2004-04-08 Angus Leeming <leeming@lyx.org>
1251 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1252 "\providecommand" rather than "\newcommand", thereby preventing
1253 clashes with packages that define "\boldsymbol" themselves.
1256 2004-04-08 Angus Leeming <leeming@lyx.org>
1258 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1259 thereby squashing an unnecessary warning.
1261 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1263 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1266 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1268 * BufferView.C (setCursor): call redoParagraph (some insets could
1270 (putSelectionAt): remove the 'double update' trick
1272 * BufferView_pimpl.C (fitCursor): call refreshPar
1273 (workAreaDispatch): remove an uneeded update call
1274 (dispatch): remove some manual update calls
1276 * cursor.[Ch]: remove cached_y_, updatePos
1277 (selHandle): set noUpdate when appropriate
1279 * lyxfunc.C (dispatch): track if we need an update
1281 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1283 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1284 (paintSelection): cheap optimization, do not call cursorX when not
1286 (paintPars): change signature
1289 (paintTextInset): adjust
1293 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 * lengthcommon.C: compilation fix: remove explicit array size from
1296 unit_name[] and friends
1298 2004-04-05 Angus Leeming <leeming@lyx.org>
1300 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1302 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1303 present only for the preferences dialog.
1304 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1306 2004-04-05 Angus Leeming <leeming@lyx.org>
1308 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1309 to enable the frontends to export changes to lyxrc correctly.
1311 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1313 2004-04-07 André Pönitz <poenitz@gmx.net>
1315 * cursor.[Ch] (selClear, adjust): remove math
1317 * cursor_slice.C: more agressive assert
1320 * BufferView_pimpl.C: rework mouse event dispatch
1327 2004-04-05 André Pönitz <poenitz@gmx.net>
1329 * cursor.[Ch] (valign, halign...): remove unneeded functions
1331 2004-04-05 Angus Leeming <leeming@lyx.org>
1333 * lyxlength.[Ch] (unit_name et al.): const-correct.
1335 2004-04-05 Angus Leeming <leeming@lyx.org>
1337 * BufferView_pimpl.C:
1346 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1348 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1350 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1352 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1354 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1355 * BufferView_pimpl.[Ch] (getStatus)
1356 * BufferView.[Ch] (getStatus): add
1357 * lyxfunc.C (getStatus): move lfuns handled in
1358 BufferView::dispatch to te function above
1359 * Cursor.C (setSelection): set selection() = true
1361 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1363 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1365 2004-03-31 Angus Leeming <leeming@lyx.org>
1367 * lyxfunc.C (dispatch): Fall through to the generic
1368 Dialogs::show("preamble").
1370 2004-03-31 Angus Leeming <leeming@lyx.org>
1372 * lyxfunc.C (dispatch): Fall through to the generic
1373 Dialogs::show("spellchecker").
1375 2004-03-31 Angus Leeming <leeming@lyx.org>
1377 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1380 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1385 * insetiterator.[Ch]:
1390 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1392 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1394 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1395 insets where we are putting the cursor.
1397 2004-03-31 Angus Leeming <leeming@lyx.org>
1400 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1402 * lyxrc.[Ch] (read, write): overloaded member functions taking
1403 a std::[io]stream arguments.
1405 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1407 2004-03-31 Angus Leeming <leeming@lyx.org>
1409 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1410 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1412 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1413 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1415 2004-03-31 Angus Leeming <leeming@lyx.org>
1417 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1418 the LFUN_ALL_INSETS_TOGGLE code.
1420 2004-03-30 Angus Leeming <leeming@lyx.org>
1422 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1423 has died. Fall through to the generic Dialogs::show("document").
1425 2004-03-30 Angus Leeming <leeming@lyx.org>
1428 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1429 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1431 * lyxfunc.C (getStatus, dispatch): define the actions for these
1432 lfuns. Little more than a cut and pste job from ControlDocument.C
1434 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1436 2004-03-30 Angus Leeming <leeming@lyx.org>
1439 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1440 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1442 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1443 open/closed state of ollapsable insets. Usage:
1445 all-inset-toggle <state> <name>, where
1446 <state> == "open" || "closed" || "toggle" and
1447 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1449 * lyxtext.h, text2.C (toggleInset): removed.
1451 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1452 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1453 now passes LFUN_INSET_TOGGLE to the found inset.
1455 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1456 is now invoked as "all-insets-toggle toggle branch".
1458 2004-03-30 Angus Leeming <leeming@lyx.org>
1462 * pariterator.[Ch]: added/corrected header blurb.
1464 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1466 * dociterator.[Ch]: add an inset_ member
1467 (backwardPos): implemented
1468 (backwardPos, forwardPos): use inset_ when the stack is empty.
1469 (doc_iterator_begin, doc_iterator_end): implemented
1470 * pariterator.[Ch]: adjust, add begin, end
1471 * insetiterator.[Ch]: adjust, add begin, end
1475 * BufferView_pimpl.C:
1476 * CutAndPaste.C: adjust
1478 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1480 * buffer.C: increment file format to 232.
1481 * LaTeXFeatures.C: add bibtopic package.
1482 * bufferparams.[Ch]: param \use_bibtopic.
1484 * lyxrc.[Ch]: add lyxrc bibtex_command
1485 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1487 * buffer.C: increment file format to 231.
1489 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1491 * dociterator.C: implement forwardPar
1492 * iterators.[Ch]: remove, replaced by
1493 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1495 * BufferView_pimpl.C:
1498 * bufferview_funcs.C:
1504 * Makefile.am: adjust
1506 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1508 * CutAndPaste.C (pasteSelection): fix 2 crashes
1509 (eraseSelection): fix a crash
1510 * paragraph_funcs.C: remove a warning
1512 2004-03-28 Angus Leeming <leeming@lyx.org>
1515 * LyXAction.C (init): new LFUN_PRINT.
1517 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1519 2004-03-27 Angus Leeming <leeming@lyx.org>
1522 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1524 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1526 2004-03-27 Angus Leeming <leeming@lyx.org>
1528 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1529 insetlist always contains non-null pointers to insets.
1531 2004-03-26 Angus Leeming <leeming@lyx.org>
1533 * src/BufferView_pimpl.C:
1534 * src/CutAndPaste.C:
1537 * src/output_plaintext.C:
1538 * src/outputparams.h:
1539 * src/paragraph_funcs.C:
1543 * src/frontends/controllers/ControlErrorList.C:
1544 * src/frontends/gtk/FileDialogPrivate.C:
1545 * src/frontends/gtk/GPainter.C:
1546 * src/frontends/gtk/GToolbar.C:
1547 * src/frontends/qt2/QRef.C:
1548 * src/mathed/math_scriptinset.C: squash compiler warnings.
1550 2004-03-26 Angus Leeming <leeming@lyx.org>
1552 * ispell.C (LaunchIspell::start):
1553 * lyx_cb.C (AutoSaveBuffer::start):
1554 invoke run(DontWait) rather than runNonBlocking().
1556 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1558 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1560 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * kbsequence.C (print): adjust
1564 * kbmap.C (printKeySym): rename and change signature
1565 (printKey): use LyXKeySym::print()
1567 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1569 * undo.C: add using std::advance to compile for stlport
1571 2004-03-24 Angus Leeming <leeming@lyx.org>
1573 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1574 it leads to a crash when no buffer is present.
1576 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1577 Martin Vermeer <martin.vermeer@hut.fi>
1579 * lyxfunc.C (dispatch):
1580 * bufferparams.C (readToken): use the new LColor::setColor
1582 * LColor.[Ch] (setColor): new version that takes two strings as
1583 argument and creates a new color entry if necessary
1585 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1587 * buffer.C (makeLaTeXFile): if the main latex file that is
1588 processed is usually a subdocument of some master, then pretend
1589 for a while that it is actually the master
1591 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1593 * buffer.C (getLabelList):
1594 (getBibkeyList): use getMasterBuffer()
1595 (getMasterBuffer): new method. Returns the main document in the
1596 case where one is using included documents.
1598 2004-03-25 André Pönitz <poenitz@gmx.net>
1602 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1604 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1606 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1607 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1609 * ParameterStruct.h: merge with ParagraphParameters
1611 * lyxtext.h: remove LyXText::parOffset() and getPar()
1613 * text3.C: Remove all 'manual' update calls. We do now one per user
1614 interaction which is completely sufficient.
1618 * BufferView_pimpl.C:
1619 * FontIterator.[Ch]:
1621 * ParagraphParameters.[Ch]:
1626 * cursor_slice.[Ch]:
1633 * output_docbook.[Ch]:
1634 * output_latex.[Ch]:
1635 * output_linuxdoc.[Ch]:
1636 * output_plaintext.[Ch]:
1638 * paragraph_funcs.[Ch]:
1639 * paragraph_pimpl.[Ch]:
1647 * frontends/controllers/ControlDocument.C:
1648 * frontends/controllers/ControlErrorList.C:
1649 * frontends/controllers/ControlSpellchecker.C:
1652 * insets/insetbase.h:
1653 * insets/insetbibitem.C:
1654 * insets/insetbox.C:
1655 * insets/insetbranch.C:
1656 * insets/insetcaption.C:
1657 * insets/insetcharstyle.C:
1658 * insets/insetcharstyle.h:
1659 * insets/insetcollapsable.C:
1660 * insets/insetcollapsable.h:
1661 * insets/insetert.C:
1662 * insets/insetfloat.C:
1663 * insets/insetfoot.C:
1664 * insets/insetmarginal.C:
1665 * insets/insetnote.C:
1666 * insets/insetoptarg.C:
1667 * insets/insettabular.C:
1668 * insets/insettext.C:
1669 * insets/insettext.h:
1670 * insets/insetwrap.C:
1671 * mathed/math_mboxinset.C:
1672 * mathed/math_nestinset.C:
1673 * mathed/math_scriptinset.C:
1674 * mathed/math_scriptinset.h:
1677 2004-03-24 Angus Leeming <leeming@lyx.org>
1679 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1680 deal with any child processes that have finished but are waiting to
1681 communicate this fact to the rest of LyX.
1683 2004-03-24 Angus Leeming <leeming@lyx.org>
1685 64-bit compile fixes.
1687 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1688 (c-tor): pass lyx::pos_types rather than ints.
1690 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1693 * text.C (Delete): compile fix.
1694 (getPar): ensure that function declaration is the same as that in
1697 2004-03-23 Angus Leeming <leeming@lyx.org>
1699 * ispell.C (LaunchIspell):
1700 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1701 a boost::shred_ptr rather than a std::auto_ptr.
1703 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1706 handle LFUN_FILE_INSERT_*
1708 * lyxrc.C (setDefaults, getDescription, output, read):
1709 * lyxrc.h: remove ps_command
1711 2004-03-22 Angus Leeming <leeming@lyx.org>
1713 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1714 Ensure that error_handler is processed once only and that all data
1715 is saved before attempting to output any warning messages.
1717 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1719 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1721 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1723 2004-03-19 André Pönitz <poenitz@gmx.net>
1725 * cursor.[Ch] (reset): take main text inset as argument
1727 * BufferView: adjust
1728 * BufferView_pimpl.C: adjust
1730 * paragraph.[Ch]: fix completely broken operator=()
1732 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1734 * LColor.C (getFromLyXName): make sure that the color name is used
1737 2004-03-17 Angus Leeming <leeming@lyx.org>
1740 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1742 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1743 dialog and to kill a forked process.
1745 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1747 * text2.C (setCursorFromCoordinates): fix font problem
1749 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1751 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1752 bogus "rebuild cursor" code
1754 2004-03-11 André Pönitz <poenitz@gmx.net>
1756 * buffer.[Ch]: use InsetText instead of LyXText as container for
1759 * dociterator.[Ch]: drop the BufferView * member which is not needed
1760 anymore after the change to buffer.C
1762 * paragraph_funcs.C:
1766 * BufferView_pimpl.[Ch]:
1768 * cursor_slice.[Ch]: adjust
1770 * text3.C: fix bug in mathDispatch
1772 2004-03-08 André Pönitz <poenitz@gmx.net>
1774 * undo.[Ch]: use 'StableDocumentIterator' as base for
1777 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1780 * bufferparams.[Ch]: add jurabib support and param.
1782 * LaTeX.C: add FIXME/comment.
1784 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1786 * buffer.C: increment file format to 230.
1788 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1790 * cursor.C (dispatch): avoid infinite loops
1792 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1794 * rowpainter.C (paintSelection): fix x coordinates
1796 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1798 * text.C (rowBreakPoint): fix breaking before displayed insets
1800 2004-03-01 André Pönitz <poenitz@gmx.net>
1802 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1804 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1808 * BufferView_pimpl.C:
1816 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1822 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1823 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1825 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1827 * Bidi.[Ch] (computeTables): const correctness
1828 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1829 fill_hfill, fill_label_hfill and x from Row
1830 * lyxtext.h: prepareToPrint returns a RowMetrics
1831 * rowPainter.C: adjust
1832 * text.C (prepareToPrint): use width, not textWidth. adjust
1833 (redoParagraphInternal, cursorX): adjust
1834 * text2.C (getColumnNearX): adjust
1835 (init): put a default value to the top LyXText::width
1837 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1839 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1841 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1843 * lyxtext.h: add FontIterator class
1845 * text.C (FontIterator, operator*, operator->, operator++): add
1846 (rowBreakPoint, setRowWidth): adjust (fixing a
1849 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1851 * BufferView_pimpl.C (workAreaDispatch): allow also
1852 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1854 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1856 * text.C (rowBreakPoint): fix a bug showing with very large insets
1858 2004-02-25 André Pönitz <poenitz@gmx.net>
1861 * cursor.[Ch]: move some mathed specific code to mathed
1863 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1865 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1866 use_tempdir in preferences
1867 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1869 * lyx_main.C: ensure that tempdir is valid
1870 * lyxlex.h: correct typo
1871 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1872 * paragraph.[Ch] (isMultiLingual): make const
1873 * cursor.[Ch] (openable): make const
1875 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1877 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1879 2004-02-20 André Pönitz <poenitz@gmx.net>
1881 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1883 * cursor.[Ch]: prepare for localized getStatus()
1889 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1891 2004-02-20 André Pönitz <poenitz@gmx.net>
1893 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1895 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1897 * text2.C (setCursorFromCoordinates): switch to absolute coords
1899 (cursorDown): adjust
1900 * text3.C (dispatch): adjust
1902 2004-02-16 André Pönitz <poenitz@gmx.net>
1904 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1907 * cursor_slice.[Ch]: remove unneeded acessor function
1909 * lyxtext.h: rename rtl() to isRTL()
1917 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1919 * rowpainter.C (paintSelection): coord fix
1921 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1923 * Spacing.C: compile fix
1925 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1927 * cursor.C (dispatch): restore current_ before returning
1929 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1931 * text2.C (cursorUp, cursorDown): fix coords
1934 2004-02-12 André Pönitz <poenitz@gmx.net>
1939 * text3.C: add LCursor & parameter to most cursor movement functions
1940 remove usage of LyXText::cursorRow() and cursorPar()
1942 * cursor.[Ch]: add textRow() needed members
1945 * BufferView_pimpl.C:
1948 * BufferView_pimpl.C: adjust
1950 2004-02-11 André Pönitz <poenitz@gmx.net>
1954 * BufferView_pimpl.C: shift undo/redo handling
1956 * cursor.[Ch]: fix mathed crash
1959 * lyxtext.h: move selectionAsText to LCursor
1967 * rowpainter.C: fix excessive drawing
1969 2004-02-06 André Pönitz <poenitz@gmx.net>
1972 * BufferView_pimpl.[Ch]:
1973 * text3.C: move some text specific LFUN handling
1975 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1977 * text3.C (checkInsetHit): adjust coords
1978 * text2.C (getColumnNearX): adjust coords
1979 (edit): adjust coords
1980 * text.C (getRowNearY): add two asserts
1982 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1985 * format.C: add using std::distance to compile on gcc 2.95/stlport
1987 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1989 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1991 2004-02-04 André Pönitz <poenitz@gmx.net>
1993 * BufferView.[Ch] (insertInset):
1994 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1999 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2001 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2002 on the default clause of the switch
2003 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2004 wasn't catched by LCursor::dispatch
2006 2004-02-03 André Pönitz <poenitz@gmx.net>
2009 * cursor.[Ch]: some additional asserts
2011 * undo.[Ch]: remove LyXText dependency in interface
2015 * lyxtext.h (firstPar, lastPar): remove dead functions
2020 * paragraph.[Ch]: adjust
2022 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2024 * lyxfind.C (find): fix argument order in call to ::find
2026 2004-02-02 André Pönitz <poenitz@gmx.net>
2028 * cursor.[Ch]: remove direct access to anchor
2030 * text.C: remove findText() hack
2032 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2034 * iterators.[Ch] (lockPath): remove in favour of...
2035 * BufferView.[Ch] (setCursor): this addition
2036 * BufferView.C (putSelectionAt): adjust
2037 * undo.C (performUndoOrRedo): adjust
2038 * lyxfunc.C (dispatch): adjust
2040 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2042 * iterators.C (lockPath): add a missing slice
2043 * undo.C (performUndoOrRedo): remove redundant positioning code
2045 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2047 * vc-backend.C (scanMaster): ";" -> ';'
2049 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2051 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2052 std::binary_function
2054 * lyxtextclass.C (compare_name): rename to...
2055 (LayoutNamesEqual): ...this
2057 * lyxlex_pimpl.C (compare_tags): inherit from
2058 std::binary_function, put back into anon namespace
2060 * lyxfind.C (MatchString): inherig from std::binary_function
2061 (findChange): use empty() istead of !size()
2063 * format.C (FormatNamesEqual): new functor
2070 * converter.C (compare_Converter): rename to...
2071 (ConverterEqual): ...this, and fixup a bit.
2072 (getConverter): use it, and make function const
2073 (getNumber): use it, and make function const
2077 * bufferlist.C: add using boost::bind
2079 * MenuBackend.C (MenuNamesEqual): new functor
2080 (hasMenu): use it, and make function const
2081 (hasSubmenu): use nested bind to get rid of compare_memfun.
2083 2004-01-30 André Pönitz <poenitz@gmx.net>
2085 * BufferView_pimpl.C:
2088 * cursor_slice.[Ch]:
2091 * paragraph_funcs.C:
2092 * paragraph_funcs.h:
2096 * text3.C: move some of the edit(x,y) handling to the insets
2097 some coordinate changes.
2099 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2101 * text.C: add using statements for std::advance and std::distance
2103 * paragraph.C: add using statement for std::distance
2105 * lyxfind.C: add using statement for std::advance
2107 * cursor.C (region): remove std:: from swap
2108 (openable): use nucleus in stead of operator->
2110 * BufferView.C: add using statements for std::distance and std::swap
2112 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2114 * iterators.C: Remove the pimple, move the needed structures to
2115 the header file. Create accessor for the positions stack.
2116 (asPosIterator): remove function
2118 * PosIterator.C (PosIterator): move constructors to top of file
2119 (PosIterator): reimplement the constructor taking a ParIterator in
2121 (setFrom): new function
2122 (operator!=): inline it
2124 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2126 * lyxfind.C (replaceAll): use std::advance
2128 * iterators.h: inherit from std::iterator.
2130 * PosIterator.C (advance, distance): remove
2131 * PosIterator.h: interit from std::iterator.
2133 2004-01-26 André Pönitz <poenitz@gmx.net>
2136 * BufferView_pimpl.[Ch]:
2140 * bufferview_funcs.C:
2150 * output_linuxdoc.C:
2151 * output_plaintext.C:
2153 * paragraph_funcs.[Ch]:
2154 * paragraph_pimpl.[Ch]:
2160 * text3.C: more IU: dumps most of the rest of the mathcursor
2161 implementation into cursor.[Ch]; "globalize" a bit of it.
2163 2004-01-25 Angus Leeming <leeming@lyx.org>
2165 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2167 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2169 * LaTeXFeatures.h: add nice_ and nice() const
2170 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2172 2004-01-20 André Pönitz <poenitz@gmx.net>
2175 * BufferView_pimpl.C:
2177 * bufferview_funcs.C:
2179 * cursor_slice.[Ch]:
2190 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2191 LCursor and mathcursor parts to LCursor and InsetBase.
2193 2004-01-15 André Pönitz <poenitz@gmx.net>
2195 * cursor_slice.[Ch]: add a few covienience functions
2197 * funcrequest.[Ch]: remove BufferView * member
2199 * BufferView_pimpl.C:
2206 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2208 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2210 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2211 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2213 2004-01-13 André Pönitz <poenitz@gmx.net>
2216 * lyxtext.h: hide cursor and selection anchor behind accessor function
2219 * BufferView_pimpl.[Ch]:
2221 * bufferview_funcs.C:
2231 * cursor_slice.[Ch]: some integer type changes for inset unification
2233 * lyxcursor.[hC]: remove, it's CursorSlice now.
2236 * BufferView_pimpl.[Ch]:
2237 * bufferview_funcs.C:
2243 * textcursor.[Ch]: adjust
2245 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2247 * text2.C (undoSpan): add and use
2248 * text.C (breakParagraph): use undoSpan (fix bug 578)
2251 2004-01-08 Angus Leeming <leeming@lyx.org>
2253 * BufferView_pimpl.C (MenuInsertLyXFile):
2254 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2255 * lyxfunc.C (menuNew, open, doImport):
2256 FileFilterList change to the FileDialog open and save functions.
2258 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2260 * ShareContainer.h: make isEqual and isUnique adaptable
2262 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2264 2004-01-07 Angus Leeming <leeming@lyx.org>
2267 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2269 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2271 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2272 functions replacing find, replace and replaceAll.
2274 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2275 LFUN_WORDFIND(FORWARD|BACKWARD).
2277 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2279 * text.C (breakParagraph): remove an outdated #warning
2281 2004-01-07 André Pönitz <poenitz@gmx.net>
2283 * lyxfind.C: somewhat clearer logic
2285 * text.C: prevent crash in cursorX on unitialized row cache
2287 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2289 * lyxcursor.[Ch] (operator>): add
2290 * textcursor.C (selStart, selEnd): use std::min and std::max
2292 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2294 * Chktex.C: include boost/format.hpp
2296 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2298 * InsetList.C: replace functor MathcIt with adaptable functor
2300 (insetIterator): modify accordingly
2302 * BranchList.h: move the BranchNamesEqual functor here from...
2303 * BranchList.C: ... to here
2305 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2307 (add): replace a finding loop with std::find_if.
2309 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2311 * output_docbook.C: moving LatexParam functionality into
2314 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2316 * buffer.C: increment format to 229.
2318 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2321 * lyx_sty.[Ch]: remove minipageindent_def
2327 * text3.C: remove LFUN_INSET_MINIPAGE
2329 2003-12-28 Angus Leeming <leeming@lyx.org>
2331 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2333 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2335 * text2.C (setParagraph): fix off-by-one crash
2337 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2339 * output_docbook.C: header stuff for AGU
2341 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2343 * text2.C (redoCursor): remove
2346 * BufferView_pimpl.C: remove calls to redoCursor and
2347 setCursor(cursor.par(), cursor.pos()) all around
2349 2003-12-15 Angus Leeming <leeming@lyx.org>
2351 * buffer.C: up the format to 228.
2353 2003-12-15 André Pönitz <poenitz@gmx.net>
2355 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2360 * BufferView_pimpl.C:
2369 2003-12-15 Angus Leeming <leeming@lyx.org>
2371 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2372 than getFromGUIName to manipulate the color.
2374 2003-12-14 Angus Leeming <leeming@lyx.org>
2376 * BranchList.[Ch]: minimize the API.
2377 (Branch::getBranch, getColor): now return a 'const &'.
2378 (Branch::setSelected) now returns a bool set to true if the
2379 selection status changes.
2380 (BranchList::clear, size, getColor, setColor, setSelected,
2381 allBranches, allSelected, separator): removed.
2382 (BranchList::find): new functions, returning the Branch with
2384 (BranchList::add, remove): return a bool indicating that
2385 the operation was successful.
2387 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2388 new InsetBranch::isBranchSlected member function.
2390 * LColor.[Ch]: mimimize the API.
2391 (fill): renamed as addColor and made private.
2392 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2393 versions of these functions taking a string arg have been removed.
2395 * bufferparams.C (readToken):
2396 * lyxfunc.C (dispatch):
2397 * lyxrc.C (read): changes due to the altered BranchList and
2400 * factory.C (createInset, readInset): changes due to altered
2403 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2406 * lyxfunc.C: remove insetminipage. "minipage-insert"
2407 now produces a frameless minipage box inset.
2409 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2411 * textcursor.[Ch] (selStart,selEnd): add new methods
2412 remove selection::start, end, use LyXCursor::operator<
2413 * lyxcursor.[Ch] (operator<): add
2414 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2415 * BufferView.[Ch] (unsetXSel): add
2416 * text2.C (clearSelection): use unsetXSel,adjust
2419 * rowpainter.C: adjust
2420 * bufferview_funcs.C (put_selection_at): adjust
2422 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2424 * BufferView_pimpl.C: small coord. correction
2426 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2428 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2429 dragging over the splash screen.
2431 2003-12-11 Angus Leeming <leeming@lyx.org>
2433 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2434 as it is now handled in LyXText::dispatch.
2436 * text3.C (doInsertInset): remove a level of nesting.
2438 2003-12-11 Angus Leeming <leeming@lyx.org>
2440 * factory.C (createInset): changes due to the changed interface to
2441 InsetCommandMailer::string2params.
2443 2003-12-10 Angus Leeming <leeming@lyx.org>
2445 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2446 'dialog-show-new-inset <inset name>'
2448 2003-12-10 Angus Leeming <leeming@lyx.org>
2450 * buffer.C: up the format to 227.
2452 * factory.C: the box inset is now identified simply by 'Box'.
2454 2003-12-10 Angus Leeming <leeming@lyx.org>
2456 * buffer.C: up the format to 226.
2458 * factory.C: the note inset is now identified simply by 'Note'.
2460 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2462 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2463 when a pit is enough. Standarize a couple of loops.
2465 2003-12-05 Angus Leeming <leeming@lyx.org>
2467 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2468 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2469 data to the re-worked "log" dialog.
2471 2003-12-03 André Pönitz <poenitz@gmx.net>
2477 * paragraph_funcs.C:
2479 * text2.C: use Inset::getText instead of Inset::getParagraph
2481 2003-12-03 André Pönitz <poenitz@gmx.net>
2485 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2486 InsetText::read() as LyXText::read()
2488 2003-12-02 Angus Leeming <leeming@lyx.org>
2490 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2491 type. Add a comment in the implementation that the function uses
2492 the stream's bad() function rather than fail() as the std::streams
2495 2003-12-02 André Pönitz <poenitz@gmx.net>
2497 * lyxlex.[Ch]: make interface more similar to std::stream
2499 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2501 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2503 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2505 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2507 * vspace.[Ch]: remove VSpace::NONE
2509 2003-12-01 André Pönitz <poenitz@gmx.net>
2512 * lyxtext.h: move ParagraphList member to LyXText
2513 rename LyXText::ownerParagraphs to LyXText::paragraph
2516 * bufferview_funcs.C:
2526 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2528 * undo.C: fix cursor positioning
2530 2003-12-01 John Levon <levon@movementarian.org>
2532 * BufferView_pimpl.C: fix a crash on exit with
2535 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2537 * BranchList.C: fix setSelected() method.
2539 2003-11-28 André Pönitz <poenitz@gmx.net>
2541 * ParagraphParameters.[Ch]:
2542 * ParameterStruct.h: remove space above/below from Paragraph to
2545 * BufferView_pimpl.C:
2551 * paragraph_funcs.C:
2557 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2559 * factory.C: Syntax change for CharStyles
2561 2003-11-28 André Pönitz <poenitz@gmx.net>
2566 * buffer.[Ch]: move LyXText member
2568 2003-11-28 André Pönitz <poenitz@gmx.net>
2570 * BufferView.[Ch]: make LyXText * text a private member
2572 * BufferView_pimpl.C:
2583 * output_plaintext.C: cleanup
2585 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2588 * lyxtextclass.[Ch]: parametrize SGML document header
2590 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2593 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2596 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2598 * text2.C (setFont): rework using PosIterator (no more recursive)
2599 (setCharFont): no more needed
2600 (setLayout): no more selection cursors fiddling (done by redoCursor)
2601 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2602 destroy remaining ones)
2604 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2606 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2608 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2611 * text3.C: adjust + re-allow multi par depth changes
2612 * textcursor.C: simplify a bit
2614 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2620 * src/output_docbook.C:
2621 * src/output_latex.C:
2626 * src/text2.C: Introducing a number of tags parametrizing various
2627 XML formats that we may want to support
2629 2003-11-25 André Pönitz <poenitz@gmx.net>
2631 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2633 * lyxtext.h (leftMargin/rightMargin): simplify interface
2640 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2642 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2643 master file to any child files. Fixes bug 546.
2645 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2647 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2649 2003-11-24 André Pönitz <poenitz@gmx.net>
2651 * rowpainter.C: simplification
2653 * text2.C (updateCounters): remove call to redoParagraph on
2654 changed labels as this is far too expensive.
2656 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2658 * converter.C (convert): fix a crash: this function gets
2659 called with buffer == 0 from importer code.
2661 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2663 * text3.C (cursorPrevious): make sure that we do not compare
2664 iterators form different containers.
2667 * rowpainter.C (paintSelection): make sure that we do not compare
2668 iterators from different containers.
2670 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2671 iterators from different ParagraphList containers.
2674 * text2.C (LyXText): change order of initialization slightly
2675 (operator=): new function. copy all variables except cache_par_
2676 (moveUp): make sure that we do not compare iterators from
2677 different ParagraphList constainers.
2680 * text.C (firstPar): new function
2681 (lastPar): new function
2682 (endPar): new function
2684 * lyxtext.h: move things around and group public functions, public
2685 variables, private functions, private variables
2687 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2689 * factory.C: change call to InsetERT constructor to avoid
2690 additional invocation of method status
2691 * text2.C (toggleInset): remove redundant update() call
2692 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2693 instead of a Bufferview pointer
2695 2003-11-21 André Pönitz <poenitz@gmx.net>
2697 * rowpainter.C: simplification
2699 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2701 * text3.C (dispatch): make possible to extend a word/row selection
2704 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2706 * lyxtext.h: x0_,y0_ -> xo_,yo_
2707 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2708 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2709 * rowpainter.C (paintRows): paint full paragraphs
2711 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2713 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2716 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2718 * lyxtext.h: add x0_, y0_
2719 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2720 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2722 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2724 * text2.C (setCursorIntern): move the x_target update here *
2725 * text3.C: change some bv() to true/false in calls to
2726 cursorUp/Down/Right/Left
2727 * cursor.C: use helper function.
2729 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2731 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2732 * paragraph_funcs.[Ch]: correct comment
2733 * rowpainter.C: do not paint selections away from bv->cursor()
2734 Fix a long standing selection painting bug.
2735 * text3.C: generalize mouse-selection code to LyXTexts other that
2737 * textcursor.C: do not use y coords if we can use par offsets
2739 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2741 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2742 cursor position after e.g. inset insert)
2744 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2746 * lyxfind.C (replace): adjust to locking removal + some
2749 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2751 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2754 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2757 * output_docbook.C: XML sanitation: new layout
2758 parameters InnerTag and CommandDepth
2760 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2762 * BufferView_pimpl.C:
2764 * text3.C: Fix the insertion and modification of button-style
2767 2003-11-13 André Pönitz <poenitz@gmx.net>
2769 * InsetList.[Ch]: remove deleteLyXText
2771 * paragraph.[Ch]: cache beginOfBody position
2776 * text3.C: remove superfluous update() calls
2780 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2782 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2783 * BufferView.C (fitLockedInsetCursor): remove
2784 * cursor.[Ch] (getDim): add
2785 * text.C (getRowNearY): add faster version
2786 * text3.C: remove some update calls
2788 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2800 * text3.C: The Character Style /XML short element patch.
2802 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2805 * factory.C: Small step to solving 'unable to insert some insets'
2808 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2810 * cursor.[Ch] (updatePos): new function for updating the y
2811 position of the tip inset
2812 * bufferview_funcs.C (put_selection_at):
2813 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2815 2003-11-11 André Pönitz <poenitz@gmx.net>
2817 * text.C: remove big comment on invalid Paragraph pointers as it is
2820 2003-11-11 André Pönitz <poenitz@gmx.net>
2822 * text_funcs.[Ch]: merge with ...
2830 * Makefile.am: remove text_funcs.[Ch]
2832 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2834 * cursor.C (getPos): return absolute cached y coord
2836 * BufferView_pimpl.C (fitCursor): new simplistic code
2837 (workAreaDispatch): add a fitCursor call
2839 2003-11-10 André Pönitz <poenitz@gmx.net>
2842 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2844 2003-11-10 André Pönitz <poenitz@gmx.net>
2846 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2847 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2848 indicate that the cursor needs to leave an inset
2850 * lyxtext.h: remove inset locking
2852 * cursor.[Ch]: re-implement functionality provided by inset locking
2855 * BufferView_pimpl.[Ch]:
2857 * bufferview_funcs.[Ch]:
2869 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2871 * PosIterator.[Ch]: replace the stack with a vector, add inset
2873 * iterators.[C]: adjust
2875 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2877 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2879 * paragraph_funcs.C (readParToken): put the correct id in the
2880 error item, not the id of the top paragraph
2882 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2884 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2885 * bufferview_funcs.C (put_selection_at): use the above
2887 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2889 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2891 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2893 * output_linuxdoc.h:
2894 * output_plaintext.h:
2896 * output_docbook.h: add #include statements
2898 2003-11-05 José Matos <jamatos@lyx.org>
2900 * output_docbook.[Ch]:
2901 * output_latex.[Ch]:
2902 * output_linuxdoc.[Ch]:
2903 * output_plaintext.[Ch]: New files for output formats.
2904 * output.[Ch]: New file for helper functions.
2907 * paragraph_funcs.[Ch]: output functions moved to new files.
2909 * outputparams.h: rename of latexrunparams.h
2917 * paragraph_funcs.[Ch]:
2918 * paragraph_pimpl.[Ch]:
2919 * tabular.[Ch]: rename ascii to plaintext
2920 and LatexRunParams to OutputParams.
2922 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2924 * iterators.[Ch] (text): require bv argument
2925 * undo.C (recordUndo):
2926 * lyxfunc.C (dispatch):
2927 * bufferview_funcs.C (put_selection_at): adjust
2929 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2931 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2933 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2935 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2938 2003-11-04 André Pönitz <poenitz@gmx.net>
2940 * cursor.[Ch]: restructure
2943 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2945 * iterators.[Ch] (asCursor): remove
2947 * lfuns.h: remove LFUN_INSET_EDIT
2953 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2955 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2957 * lyxfind.[Ch]: complete overhaul
2958 * BufferView_pimpl.C:
2960 * paragraph.[Ch] (insert): add
2962 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2966 * text.C: remove dead spellcheck code
2968 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * dispatchresult.h: add a val setter
2972 * cursor.C (dispatch): use a tempvar for data_[i]
2974 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2976 * PosIterator.[Ch]: compile fix
2978 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2980 * text.C (cursorPar): deactivate the cursor cache
2982 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2984 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2986 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2988 * text3.C (dispatch): adjust for new DisptchResult semantics.
2990 * lyxfunc.C (dispatch): handle update when return from
2991 Cursor::dispatch, adjust for new DispatchResult semantics.
2993 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2994 DispatchResult(true) mean to not update. Add class functions for
2995 setting dispatched and update, as well as reading.
2997 * cursor.C (dispatch): don't handle update here
2999 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3002 * trans_mgr.C: adjust
3004 * paragraph_funcs.C (readParToken): exception safety
3006 * lyxvc.h: store the vcs pointer in a scoped_ptr
3009 * lyxsocket.C (serverCallback): exception safety
3011 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3013 * ispell.C (clone): make it return a auto_ptr
3015 * factory.C (createInset): exception safety
3016 (readInset): exception safety
3018 * bufferlist.C (newBuffer): exception safety
3020 * Thesaurus.C (Thesaurus): use initialization for aik_
3022 * MenuBackend.C (expandToc): exception safety.
3024 2003-11-03 André Pönitz <poenitz@gmx.net>
3028 * bufferview_funcs.C: remove getInsetFromId()
3031 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3037 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3039 * PosIterator.C (distance, advance): new
3040 * bufferview_funcs.[Ch] (put_selection_at): new
3041 * iterators.[Ch] (lockPath): new
3043 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3045 * iterators.[Ch] (asPosIterator): added
3046 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3047 * PosIterator.[Ch]: added
3049 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * cursor.C (dispatch):
3054 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3056 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3057 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3058 contructor, add a class function dispatched. Remove operator>=
3060 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * debug.C: only use the default constructor for debugstream
3065 * main.C (main): include debug.h and setup the lyxerr streambuf
3068 2003-10-31 José Matos <jamatos@lyx.org>
3070 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3072 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3073 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3074 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3075 * paragraph_pimpl.C (simpleTeXSpecialC):
3076 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3077 add LatexRunParams argument.
3079 * exporter.C (Export): change call accordingly.
3081 * latexrunparams.h: add new member to take care of the other backends.
3082 2003-10-30 José Matos <jamatos@lyx.org>
3084 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3085 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3086 factorise code for paragraph output.
3088 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3091 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * text3.C (dispatch):
3094 * lyxfunc.C (dispatch):
3095 * cursor.C (dispatch):
3096 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3098 * dispatchresult.h: make the dispatch_result_t ctor explicit
3100 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3103 * buffer.C: small refactoring of docbook stuff
3105 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3110 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3113 operator dispatch_result_t, and operators for == != and >=
3115 * cursor.C (dispatch): adjust for operator dispatch_result_t
3116 removal. comment out call to update
3118 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3120 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3128 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3131 * dispatchresult.h: new file, DispatchResult broken out of
3134 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3136 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3138 * text.C (rowBreakPoint): put a hack inside #if 0
3140 2003-10-28 André Pönitz <poenitz@gmx.net>
3144 * paragraph_funcs.C:
3147 * text2.C: general cleanup (lots of small stuff)
3149 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3151 * text2.C (cursorEnd): simple fix to the "end key goes to one
3152 before the end on last row" bug
3154 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3156 * text.C (backspace): fix the "zombie characters"
3158 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3160 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3162 2003-10-27 André Pönitz <poenitz@gmx.net>
3164 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3166 * factory.C: handle new InsetPagebreak, InsetLine
3168 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3169 and move handling into new InsetPagebreak, InsetLine
3171 * BufferView_pimpl.C:
3173 * ParagraphParameters.C:
3174 * ParameterStruct.h:
3179 * paragraph_funcs.C:
3180 * paragraph_pimpl.C:
3186 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3189 * lyxrow_funcs.[Ch]:
3195 * text3.C: remove lastPos uses in favour of Row::endpos
3197 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3199 * undo.C (performUndoOrRedo): fix two crashes by setting a
3200 cursor by hand and reordering some calls. Use bv->lockInset instead
3201 of inset->edit because the latter loses cursor information
3203 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3205 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3207 (rowBreakPoint): fix width. change point to point + 1.
3208 Add a missing check.
3210 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3213 * lyxfunc.C: fix (at least partly) the problems
3214 with the Nav menu and headers inside branch insets
3217 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3219 * paragraph.C (getChar): add strong asserts
3221 * lyxrow_funcs.C (lastPos): remove hideous hack
3223 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3224 (fill): adjust to that (avoid an infinite loop)
3226 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3228 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3230 2003-10-23 André Pönitz <poenitz@gmx.net>
3232 * RowList_fwd.h: change list<> to vector<> to gain speed
3233 after suggestion from Alfredo
3235 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3237 * lyxtext.h: move the bidi stuff from here...
3240 * Bidi.[Ch]: ... to here
3242 2003-10-23 André Pönitz <poenitz@gmx.net>
3245 * text.C (isLastRow, isFirstRow): new functions
3247 * paragraph.h: new width cache member
3249 * rowpainter.C: replace RowList::iterator with Row & where possible
3251 * lyxfunc.C: replace several view()->text with a single call
3253 * toc.C: fix 'unused' warning
3255 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3258 when woring with stream::pos_type
3259 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3261 2003-10-22 André Pönitz <poenitz@gmx.net>
3264 * text.C: use Row & instead of RowList::iterator
3266 * lyxrow.h: rename end() to endpos()
3272 2003-10-22 Angus Leeming <leeming@lyx.org>
3274 * buffer.[Ch] (fully_loaded): new member function, returning true
3275 only when the file has been loaded fully.
3276 Used to prevent the premature generation of previews and by the
3277 citation inset to prevent computation of the natbib-style label.
3279 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3280 templates are all set up.
3282 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3284 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3286 * text.C: fixed an "oops" in the "is a bit silly"
3289 2003-10-21 André Pönitz <poenitz@gmx.net>
3291 * FuncStatus.[Ch]: small stuff, whitespace
3293 * lyxfont.[Ch]: operator<<() for debug reasons
3297 * lyxtext.h: whitespace, spelling
3299 * paragraph.C: naming of variables
3302 * text2.C: small stuff
3305 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3307 * text.C: (1) finish off the inset display() work;
3308 (2) fix the "is a bit silly" bug (accessing char
3311 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3313 * text.C: re-introduce display() for insets, fixing the
3314 various bugs (stretch of line above, math inset
3317 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3319 * text.C (rightMargin): remove spurious semicolon
3321 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3324 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3326 * text3.C: fix one crash due to wrong cursor def
3328 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3330 * vc-backend.C (scanMaster): make the regex static
3332 * LaTeX.C (scanAuxFile): make the regexs static
3334 * text3.C (doInsertInset, dispatch, dispatch):
3335 * text2.C (cursorUp, cursorDown):
3336 * text.C (selectNextWordToSpellcheck):
3337 * BufferView_pimpl.C (dispatch):
3338 * lyxfunc.C (dispatch): localDispatch -> dispatch
3340 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3342 * lyxsocket.C: include <cerrno>
3344 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3346 * lyxfunc.C (dispatch): remove textcache stuff
3348 * bufferlist.C (release): remove textcache stuff
3351 * TextCache.C: delete file
3352 * TextCache.h: delete file
3354 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3356 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3357 delete of the bv_->text.
3358 (resizeCurrentBuffer): remove texcache stuff
3359 (workAreaResize): ditto
3361 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3363 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3366 2003-10-16 André Pönitz <poenitz@gmx.net>
3373 * text3.C: speed up by storing y positions per paragraph plus per-row
3374 offset instead of having a 'full' y position in the row.
3376 2003-10-15 André Pönitz <poenitz@gmx.net>
3380 * undo.[Ch]: make undo aware of inner insets
3382 2003-10-14 Angus Leeming <leeming@lyx.org>
3384 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3385 static member functions LyX::ref() and LyX::cref.
3386 (lastfiles): new accessor functions for the new lastfiles_ member var.
3387 (addLyXView, views_): add a new LyXView to the list of views_.
3388 (updateInset): loop over all LyXViews to call their own updateInset
3389 member function, returning a pointer to the Buffer owning the inset.
3391 * BufferView_pimpl.C (loadLyXFile):
3392 * MenuBackend.C (expandLastfiles):
3393 * bufferlist.C (MenuWrite, QuitLyX):
3394 lastfiles is no longer a global variable.
3395 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3397 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3398 static function. Access through LyX::cref().emergencyCleanup().
3400 2003-10-14 André Pönitz <poenitz@gmx.net>
3402 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3404 * undo.[Ch]: restoring part of 'undo in insets'
3407 * undo_funcs.[Ch]: merge with undo.[Ch]
3409 * tabular.C: small cleansing stuff
3411 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3413 * paragraph_funcs.C (readParToken): report unknown insets as error
3414 boxes. Use the outer paragraph as location (also for unknown
3417 * factory.C (readInset): do not abort on reading an unknown inset.
3418 Eat it and return 0.
3420 2003-10-13 Angus Leeming <leeming@lyx.org>
3422 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3424 * lyxrc.C: displayTranslator is now a function,
3425 declared in GraphicsTypes.h.
3427 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3429 * format.C: new placeholder $$a to pass the socket address.
3431 * bufferlist.[Ch]: new function getBufferFromTmp.
3433 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3434 files in the temporary dir.
3436 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3438 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3440 * Makefile.am: add lyxsocket.[Ch].
3442 * lyx_main.C (error_handler): handle SIGPIPE.
3444 2003-10-13 André Pönitz <poenitz@gmx.net>
3446 * BufferView_pimpl.C:
3451 * undo_funcs.[Ch]: use paroffset_type instead of
3452 ParagraphList::iterators to prevent multiple conversion
3453 (and get a more robust interface)
3455 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3459 * text3.C (dispatch): ditto
3461 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3464 move the onlyfile, use onlyfile instead of foundfile in a couple
3467 * DepTable.C (update): flush the error stream a bit more
3469 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * lyxserver.C (callback): adjust
3473 * lyxfunc.C (getStatus): add a missing brace in commented code
3474 (ensureBufferClean): reindent
3475 (dispatch): delete version taking a string
3477 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * LaTeX.C (deplog): move found file handlig from here...
3480 (handleFoundFile): .. to new function here.
3481 (deplog): make sure to discover several files mentioned on the
3484 2003-10-10 André Pönitz <poenitz@gmx.net>
3491 * text3.C: fix some of the tabular crashes
3493 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3495 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3497 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3499 2003-10-09 André Pönitz <poenitz@gmx.net>
3501 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3504 * BufferView_pimpl.C:
3505 * bufferview_funcs.C:
3516 * undo_funcs.C: adjust
3518 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * text2.C (incrementItemDepth): new function, use a backtracking
3521 algorithm to discover the correct item depth.
3522 (resetEnumCounterIfNeeded): new function, use a backtracking
3523 algorithm to discover if counter reset is needed.
3524 (setCounter): use them. Simplify a bit. Add different labels for
3525 different item depths for itemize.
3527 * paragraph.C (Paragraph): remove initialization of enumdepth
3530 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3531 enumerate and itemize. Change the type of itemdepth to signed char.
3533 2003-10-08 André Pönitz <poenitz@gmx.net>
3535 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3540 * tabular.[Ch]: fix crash after 'row-insert'
3542 2003-10-08 Angus Leeming <leeming@lyx.org>
3544 Fix doxygen warnings.
3546 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3547 Remove CutAndPaste:: prefix from header file declaration.
3549 * LColor.h (fill): remove LColor:: prefix from declaration.
3551 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3552 use lyx::depth_type rather than Paragraph::depth_type so that
3553 header file and .C file match.
3555 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3557 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3558 * aspell.C: \file aspell_local.C -> \file aspell.C
3559 * gettext.C: \file gettext.C -> \file src/gettext.C
3560 * gettext.h: \file gettext.h -> \file src/gettext.h
3561 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3562 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3563 * text.C: \file text.C -> \file src/text.C
3565 * toc.C: move comment so that doxygen is not confused.
3567 2003-10-07 Angus Leeming <leeming@lyx.org>
3569 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3571 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3574 * aspell_local.h: add forgotten std::string's.
3576 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3583 * text3.C: The Box patch. Fancybox support, minipage, parbox
3585 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3591 * ParagraphParameters.h:
3601 * lyxtextclasslist.h:
3604 * paragraph_pimpl.C:
3605 * textcursor.h: add <string> and other small fixes to make Lars'
3606 std::string patch compile with STLport.
3608 2003-10-06 Angus Leeming <leeming@lyx.org>
3610 * LColor.h: Add missing #include <string>.
3612 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * All most all file in all subdirs: Make <string> be the prefered
3615 way of getting to std::string, add using declarations.
3617 2003-10-06 André Pönitz <poenitz@gmx.net>
3619 * metricsinfo.C: initialize LyXFont before changing attribute.
3620 (fixes the 'math in \emph is upright' bug)
3622 2003-10-06 André Pönitz <poenitz@gmx.net>
3624 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3626 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3629 * paragraph_pimpl.C: Small fixes to build using STLport
3631 2003-10-02 André Pönitz <poenitz@gmx.net>
3634 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3636 2003-10-01 André Pönitz <poenitz@gmx.net>
3638 * factory.C: assert early
3640 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * lyx_main.C: remove the global debug object
3644 * debug.h: adjust for new debugstream
3646 * debug.C: adjust for new debugstream and keep the global debug
3649 2003-09-22 Angus Leeming <leeming@lyx.org>
3651 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3652 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3653 an incomplete class LyXFont.
3655 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3657 * factory.C: bug fix in branches
3659 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * lyxfunc.C (processKeySym): adjust
3663 (dispatch): change arg name from ev to func, adjust
3664 (sendDispatchMessage): ditto
3666 * lyx_main.C (defaultKeyBindings): adjust keybindings
3667 (deadKeyBindings): ditto
3669 * kbsequence.C (addkey): return a FuncRequest
3671 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3673 * kbmap.C (bind): take a FuncRequest as arg, adjust
3676 (defkey): change to take a FuncRequest as arg, adjust
3677 (findbinding): take a FuncRequest as arg, adjust.
3679 * funcrequest.h (operator=): added
3681 * funcrequest.C (FuncRequest): default kb_action changed from
3682 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3684 * buffer.C (dispatch): simplify
3685 (dispatch): adjust to take a FuncRequest as arg, adjust
3687 * boost.C (assertion_failed): change assertion message slightly
3689 * ToolbarBackend.C (read): simplify
3691 * MenuBackend.C (binding): adjust call to findbinding, add a
3692 message if no binding is found.
3694 (expandToc): correct by adding a empty FuncRequest
3696 * LyXAction.C: include <boost/assert.hpp>
3697 (isPseudoAction): delete function
3698 (LookupFunc): change name to...
3699 (lookupFunc): this. change return type to FuncRequest.
3700 (getActionName): take kb_action as arg, simplify
3701 (funcHasFlag): add an assert, simplify.
3703 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * toc.C (action): return a FuncRequest, simplify
3707 * lyxfunc.C (processKeySym): adjust
3708 (getStatus): delete version that takes an int.
3710 (dispatch): delete version that takes action as int
3712 (sendDispatchMessage): simplify and adjust
3714 * funcrequest.C (getArg): take unsigned int as arg
3716 * ToolbarBackend.C (read): adjust
3717 (add): delete version that takes func as a string.
3718 (getIton): take a FuncRequest as arg
3720 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3723 * MenuBackend.C (MenuItem): add a new construct that only takes a
3724 Kind, simplify the constructor use for submenus.
3726 (expandLastfiles): adjust
3727 (expandDocuments): adjust
3728 (expandFormats): adjust
3729 (expandFloatListInsert): adjust
3730 (expandFloatInsert): adjust
3731 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3733 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3734 Remove class variables lyx_pseudo_map and lyx_arg_map
3736 * LyXAction.C (searchActionArg): delete function
3737 (getPseudoAction): delete function
3738 (retrieveActionArg): delete function
3739 (LookupFunc): make it return kb_action, simplify.
3740 (getActionName): simplify
3742 * factory.C (createInset): fix new bug
3744 2003-09-19 Angus Leeming <leeming@lyx.org>
3746 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3747 masterFilename_ parameter in the include inset.
3749 * factory.C (createInset): changes due to the changes to InsetInclude.
3751 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3753 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3755 2003-09-18 Angus Leeming <leeming@lyx.org>
3758 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3759 Inset::fillWithBibKeys.
3760 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3762 2003-09-18 Angus Leeming <leeming@lyx.org>
3764 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3766 (ctor): pass and store a 'Buffer const &'
3767 (buffer): new member function.
3769 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3770 '*this' to the LaTeXFeatures ctor.
3772 2003-09-18 Angus Leeming <leeming@lyx.org>
3778 * text.C: rename EnumLColor as LColor_color.
3780 2003-09-18 Angus Leeming <leeming@lyx.org>
3782 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3783 remove #include "insets/insetbase.h" from cursor.h.
3785 2003-09-18 Angus Leeming <leeming@lyx.org>
3787 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3788 InsetOld_code to remove #include "inset.h".
3790 * iterators.C: add #include "insets/inset.h"
3792 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3794 * BufferView.C: remove more locking stuff that apparently doesn't
3795 do anything sensible.
3797 2003-09-16 André Pönitz <poenitz@gmx.net>
3800 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3803 2003-09-16 Angus Leeming <leeming@lyx.org>
3805 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3807 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3810 * paragraph.h: remove #include "lyxfont.h". Forward declare
3813 2003-09-16 Angus Leeming <leeming@lyx.org>
3815 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3816 of support/textutils.h.
3817 (isWord): move the contents of support/textutils.h's IsWordChar here.
3823 * text2.C: add #include "paragraph.h".
3826 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3828 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3834 * LaTeX.C: use namespace alias for lyx::support::os
3836 2003-09-16 Angus Leeming <leeming@lyx.org>
3839 * bufferview_funcs.C:
3842 * paragraph_pimpl.C:
3844 * text.C: add #include "LColor.h".
3846 2003-09-16 Angus Leeming <leeming@lyx.org>
3848 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3849 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3851 Store the FontBits::color variable as an int rather than as an
3852 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3855 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3856 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3857 string calls together.
3859 * lyxrc.C: add #include "LColor.h".
3861 2003-09-15 Angus Leeming <leeming@lyx.org>
3863 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3866 2003-09-15 Angus Leeming <leeming@lyx.org>
3868 * LColor.h: add an EnumLColor wrapper for LColor::color.
3870 * lyxfont.[Ch] (color, setColor, realColor):
3871 * lyxtext.h, text.C (backgroundColor):
3872 pass EnumLColor args to/from the functions, rather than LColor::color
3876 * lyxtext.h: forward declare EnumLColor.
3878 * lyx_main.C: add #include "LColor.h".
3880 2003-09-15 Angus Leeming <leeming@lyx.org>
3882 * .cvsignore: add lyx-gtk.
3884 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * ParagraphParameters.C
3893 * bufferview_funcs.C
3903 * vc-backend.C: remove usage of STRCONV
3905 2003-09-15 Angus Leeming <leeming@lyx.org>
3907 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3908 explicitly define the color passed to the painter.
3910 2003-09-15 Angus Leeming <leeming@lyx.org>
3912 * bufferparams.C (BufferParams): reorder member initializers to avoid
3915 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3917 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3918 * text.C (updateRowPositions): remove an unusual nop
3920 2003-09-12 André Pönitz <poenitz@gmx.net>
3922 * BufferView_pimpl.C:
3931 * Counters.[Ch]: finish the 'automatic counters' job
3933 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3935 * aspell.C: include <boost/assert.cpp> (compile fix)
3937 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3939 * boost.C (assertion_failed): use lyx::support::abort instead of
3942 2003-09-10 Angus Leeming <leeming@lyx.org>
3944 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3945 with their _fwd progeny.
3947 2003-09-09 Angus Leeming <leeming@lyx.org>
3949 134 files throughtout the source tree: replace 'using namespace abc;'
3950 directives with the appropriate 'using abc::xyz;' declarations.
3952 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3954 * boost.C (emergencyCleanup): moved here from LAssert.c
3955 (assertion_failed): new function, called by BOOST_ASSERT
3957 * several files: change Assert to BOOST_ASSERT
3959 2003-09-09 Angus Leeming <leeming@lyx.org>
3961 * buffer.[Ch]: Add an Impl class and move Buffer's member
3962 variables into it. As a result move several header files out of
3965 Add header files to lots of .C files all over the tree as a result.
3967 2003-09-09 Angus Leeming <leeming@lyx.org>
3969 * buffer.[Ch]: make Buffer's member variables private. Add
3972 Lots of changes all over the tree as a result.
3974 2003-09-08 Angus Leeming <leeming@lyx.org>
3976 * graph.C: #include <config.h>.
3978 2003-09-08 Angus Leeming <leeming@lyx.org>
3982 * BufferView_pimpl.C:
4011 * toc.C: remove redundant using directives.
4013 2003-09-07 Angus Leeming <leeming@lyx.org>
4015 * LaTeXFeatures.h: remove #include "support/types.h".
4016 * ToolbarBackend.h: remove #include <algorithm>.
4017 * changes.h: remove #include <ctime>.
4018 * debug.h: remove #include <iosfwd>.
4019 * graph.h: remove #include "support/std_string.h".
4020 * lyx_main.h: remove #include <csignal>.
4021 * lyxlex_pimpl.h: remove #include <fstream>.
4022 * sgml.h: remove #include <algorithm>, <utility>.
4023 * toc.h: remove #include "support/std_ostream.h".
4024 Add #include <iosfwd>.
4026 2003-09-07 Angus Leeming <leeming@lyx.org>
4028 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4030 * converter.h: forward declare LatexRunParams.
4031 * encoding.h: remove #include "lyxrc.h".
4032 * lyxtext.h: remove #include "LColor.h".
4033 * lyxtextclass.h: remove #include "support/types.h".
4034 * trans.h: remove #include "tex-accent.h".
4035 * trans_mgr.h: remove #include "tex-accent.h".
4036 * insets/inset.h: remove #include "support/types.h", <vector>.
4037 * insets/insetcollapsable.h: remove #include "LColor.h".
4038 * insets/insetinclude.h: remove #include "dimension.h".
4039 * insets/insetlatexaccent.h: remove #include "dimension.h".
4040 * insets/insetoptarg.h:: remove #include "insettext.h".
4041 * insets/insettext.h: remove #include "dimension.h",
4042 <boost/shared_ptr.hpp>
4044 * insets/renderers.h: add #include "dimension.h".
4045 * insets/updatableinset.h: add #include "support/types.h".
4047 * many .C files: Associated changes.
4049 2003-09-06 Angus Leeming <leeming@lyx.org>
4051 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4052 one, inside testInvariant.
4054 * PrinterParams.C: new file.
4055 * PrinterParams.[Ch]: move the function bodies out of line.
4057 2003-09-06 Angus Leeming <leeming@lyx.org>
4059 * ParagraphParameters.h: forward declare ParameterStruct rather than
4060 including its header file.
4061 (depth): moved out-of-line.
4063 2003-09-06 Angus Leeming <leeming@lyx.org>
4065 * BufferView_pimpl.h:
4068 * lyxfunc.h: forward declare LyXKeySym rather than
4069 #include "frontends/LyXKeySym.h".
4071 * BufferView_pimpl.C:
4074 * lyxfunc.C: associated changes.
4076 2003-09-06 Angus Leeming <leeming@lyx.org>
4078 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4079 As a result, can remove the #include "insets/inset.h" from BufferView.h
4081 2003-09-06 Angus Leeming <leeming@lyx.org>
4083 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4084 As a result, can remove the #include "insets/inset.h" from BufferView.h
4086 2003-09-06 Angus Leeming <leeming@lyx.org>
4092 * bufferview_funcs.C:
4093 * BufferView_pimpl.C:
4098 * ParagraphParameters.C:
4103 * frontends/controllers/ControlDocument.C:
4104 * insets/insetcaption.C: rearrange the #includes into some sort of
4107 * buffer.h: remove #includes ErrorList.h, undo.h
4109 2003-09-06 Angus Leeming <leeming@lyx.org>
4111 * support/types.h: add a 'depth_type' typedef, used to store the
4112 nesting depth of a paragraph.
4115 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4116 defining explicitly.
4119 * paragraph_funcs.h:
4120 * ParagraphParameters.h:
4121 * sgml.h: use lyx::depth_type rather than Paragraph or
4122 ParameterStruct's depth_type.
4125 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4128 * BufferView_pimpl.C:
4130 * ParagraphParameters.C:
4133 * bufferview_funcs.C:
4140 * frontends/LyXView.C:
4141 * frontends/controllers/ControlDocument.C:
4142 * frontends/controllers/ControlErrorList.C:
4143 * insets/insetbibitem.C:
4144 * insets/insetbranch.C:
4145 * insets/insetcaption.C:
4146 * insets/insetcollapsable.C:
4147 * insets/insetenv.C:
4148 * insets/insetert.C:
4149 * insets/insetfloat.C:
4150 * insets/insetfoot.C:
4151 * insets/insetfootlike.C:
4152 * insets/insetnewline.C:
4153 * insets/insetquotes.C:
4154 * insets/insettabular.C:
4155 * insets/insettext.C:
4156 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4158 * frontends/controllers/ControlChanges.C: #include "changes.h".
4160 2003-09-06 Angus Leeming <leeming@lyx.org>
4162 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4163 than #including paragraph.h.
4166 * RowList.h: deleted. Superfluous.
4176 * insets/insettext.h: use ParagraphList_fwd.h rather than
4179 * paragraph.h: don't forward declare ParagraphList.
4182 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4183 rather than ParagraphList.h. paragraph.h is still needed for the
4184 Paragraph::depth_type parameters.
4186 * textcursor.h: enable it to compile stand-alone in light of the
4189 * bufferview_funcs.C:
4201 * frontends/controllers/ControlParagraph.C:
4202 * frontends/controllers/ControlTabular.C:
4203 * insets/insetmarginal.C:
4204 * insets/insetminipage.C:
4205 * insets/insetnote.C:
4206 * insets/insetoptarg.C: add header files needed to compile again.
4208 2003-09-06 Angus Leeming <leeming@lyx.org>
4210 * RowList_fwd.h: new file, forward-declaring Row rather than
4211 #including lyxrow.h.
4216 * insets/insettext.h: use it instead of RowList.h
4218 * bufferview_funcs.C:
4225 * text3.C: #include "RowList.h".
4227 2003-09-05 Angus Leeming <leeming@lyx.org>
4229 * factory.C (createInset):
4230 * vspace.C (c-tor): replace sscanf call with an istringstream.
4231 * ispell.C: re-add missing HP/UX headers.
4232 * lyxserver.C: re-add missing os2 headers.
4234 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4243 * text3.C: re-add missing system headers, needed for 2.95.2.
4245 2003-09-05 Angus Leeming <leeming@lyx.org>
4247 Changes most place everywhere due to the removal of using directives
4248 from support/std_sstream.h.
4250 2003-09-05 Angus Leeming <leeming@lyx.org>
4252 Replace LString.h with support/std_string.h,
4253 Lsstream.h with support/std_sstream.h,
4254 support/LIstream.h with support/std_istream.h,
4255 support/LOstream.h with support/std_ostream.h.
4257 Changes resulting throughout the tree.
4259 2003-09-05 Angus Leeming <leeming@lyx.org>
4261 * sgml.h: ensure that the header file can be compiled stand-alone.
4262 * *.C: strip out redundant #includes. (320 in total.)
4264 2003-09-04 Angus Leeming <leeming@lyx.org>
4266 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4267 here (from getPackages).
4269 * debug.[Ch]: add a new EXTERNAL tag.
4271 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4273 * text2.C (cursorEnd): simplify
4275 (getColumnNearX): adjust
4277 * text.C (computeBidiTables): adjust
4280 * rowpainter.C (paintChars): adjust
4281 (paintSelection): adjust
4282 (paintChangeBar): adjust
4285 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4287 (numberOfSeparators): adjust
4289 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4295 * text3.C: Restricts the mouse click functionality
4296 of insets like bibtex, include, toc and floatlist to the visible
4297 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4298 up the dialogs. Cursor has to be in front of the inset (i.e.
4299 start of row) for this to function.
4301 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4303 * bufferview_funcs.C (currentState): output row information
4305 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4307 * bufferview_funcs.C (currentState): output paragraph position
4309 2003-09-04 Angus Leeming <leeming@lyx.org>
4311 * FloatList.h: move out #include "Floating.h".
4312 * LaTeX.h: move out #include "DepTable.h".
4313 * LyXAction.h: move out #include "funcrequest.h".
4314 * buffer.h: move out #include "author.h", "iterators.h".
4315 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4316 * lyx_main.h: move out #include "errorlist.h".
4317 * lyxfunc.h: move out #include "FuncStatus.h".
4318 * lyxtext: move out #include "lyxcursor.h".
4319 * paragraph_pimpl.h: move out #include "counters.h".
4321 2003-09-03 Angus Leeming <leeming@lyx.org>
4323 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4324 preamble_snippets list, enabling us to add snippets to the preamble
4325 only if the snippet was not there already.
4327 2003-09-04 Angus Leeming <leeming@lyx.org>
4329 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4331 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4336 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4338 * BranchList.C: point fix, earlier forgotten
4340 2003-09-02 Angus Leeming <leeming@lyx.org>
4342 * box.C (contains): renamed from 'contained' after a fantastic
4345 2003-09-02 John Levon <levon@movementarian.org>
4351 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4353 2003-09-02 John Levon <levon@movementarian.org>
4355 * text2.C: simplification of cursorEnd(), including partial
4358 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * buffer.C (readFile): add a space
4362 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4364 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4366 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * buffer.C (readFile): new function, take a filename and a
4369 ParagraphList::iterator
4371 (readFile): adjust, make it private. don't use setStream, make
4372 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4373 always contain the filename.
4375 * BufferView.C (insertLyXFile): simplify and make it work for
4378 2003-08-30 John Levon <levon@movementarian.org>
4380 * Makefile.am: fix dist (from Kayvan)
4382 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4384 * most files: change to use const Buffer refs
4386 2003-08-27 André Pönitz <poenitz@gmx.net>
4388 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4389 on top of ownerPar().
4391 2003-08-27 John Levon <levon@movementarian.org>
4393 * funcrequest.C: properly initialise POD members
4395 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4397 * lyxtext.h (top_y): move top_y from here
4402 * BufferView_pimpl.[Ch]: to here
4403 * frontends/screen.C:
4404 * insets/insettabular.C:
4405 * insets/insettext.C: adjust
4406 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4408 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4411 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4413 2003-08-26 André Pönitz <poenitz@gmx.net>
4415 * paragraph_func.[Ch] (outerPar): new function
4418 * paragraph_funcs.C:
4419 * paragraph_funcs.h:
4420 * paragraph_pimpl.C:
4421 * text2.C: remove Inset::par_owner
4423 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4428 * text2.C: eliminates the needFullRow/display() stuff
4429 altogether, putting the logic in metrics/draw in the insets.
4431 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4433 * text2.C (redoParagraphInternal, redoParagraphs):
4434 * text.C (redoParagraph): add a call to updateRowPositions at the
4435 end of each 'metrics-like' call. Remove all others.
4436 (getRow): remove the 'y-computing' version.
4437 (getRowNearY): do not compute nor return the real y. Solve the
4438 'y < 0' problem and simplify.
4440 2003-08-22 Angus Leeming <leeming@lyx.org>
4442 * *.[Ch]: clean-up of licence and author blurbs.
4443 Also move config.h out of a few .h files and into a few .C files.
4445 2003-08-22 André Pönitz <poenitz@gmx.net>
4447 * lyxrow.[Ch]: add x_ and *fill_ members
4452 * text2.C: adjust/remove prepareToPrint() calls
4454 2003-08-22 André Pönitz <poenitz@gmx.net>
4456 * lyxrow.[Ch]: add end_ member
4458 * lyxrow_funcs.C: use LyXRow::end_
4460 * lyxtext.h (singleWidth): add LyXFont parameter
4463 * text2.C: adjust LyXText::singleWidth() calls
4465 * text.C (redoParagraph): simplify row breaking logic
4468 2003-08-19 André Pönitz <poenitz@gmx.net>
4470 * funcrequest.C: initialize button_ member
4473 * rowpainter.[Ch]: interface consolidation
4475 2003-08-18 André Pönitz <poenitz@gmx.net>
4478 * BufferView_pimpl.C:
4480 * paragraph_funcs.C:
4482 * text3.C: remove LyXScreen::draw() and fitCursor calls
4484 * BranchList.h: remove spurious semicolons
4486 * MenuBackend.C: fix branchlist related crash
4488 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4496 * bufferparams.[Ch]:
4500 * text3.C: implements the 'branch inset'
4501 idea. This allows the output of various versions of a document
4502 from a single source version, selectively outputing or suppressing
4503 output of parts of the text.
4504 This implementation contains a 'branch list editor' in a separate
4505 tab of the document settings dialog. Branches are user definable
4506 and have a "display colour" to distinguish them on-screen.
4508 ColorHandler was somewhat cleaned up.
4509 (1) make possible a dynamically growing LColor list by allowing
4510 the graphic context cache to grow along (vector);
4511 (2) eliminate an IMHO unnecessary step in colour allocation.
4513 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4515 * BufferView_pimpl.C: compile fix
4517 2003-08-15 André Pönitz <poenitz@gmx.net>
4519 * rowpainter.C: remove extra metrics calls
4521 * lyxtext.h: merge the two constructors into a single one,
4522 pass reference to owner's par list
4524 * BufferView_pimpl.C:
4528 2003-08-15 André Pönitz <poenitz@gmx.net>
4530 * lyxrow_funcs.[Ch]:
4533 * paragraph_funcs.C:
4538 * text_funcs.C: split LyXText::rowlist_ into individual
4539 Paragraph::rows_ chunks
4542 * BufferView_pimpl.[Ch]:
4545 * text3.C: remove toggleSelection()
4547 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4549 * bufferlist.C: beautify two alerts (shorter text of buttons)
4550 * buffer.C: Remove redundant ' ' from message
4552 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4553 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4554 rename VALIGN_CENTER to VALIGN_MIDDLE
4556 2003-08-11 André Pönitz <poenitz@gmx.net>
4558 * lyxtext.h (getPar):
4559 * text.C: new function
4561 2003-08-11 André Pönitz <poenitz@gmx.net>
4564 * tracer.[Ch]: remove unneeded files
4566 * InsetList.[Ch]: remove resizeInsetsLyXText()
4571 * text3.C: merge insertParagraphs() and appendParagraph()
4572 remove breakAgain(), update()
4574 * BufferView_pimpl.[Ch]:
4575 * bufferview_funcs.[Ch]:
4579 * tabular.C: adjust after text & InsetList changes.
4581 2003-08-08 André Pönitz <poenitz@gmx.net>
4583 * text.C (insertChar, backspace): replace rowlist fiddling
4584 with rebreak of full par
4587 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4588 checkParagraph, updateInset): removed
4590 2003-08-07 André Pönitz <poenitz@gmx.net>
4593 * text3.C: merge some LFUN handlers, remove dead code
4595 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4597 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4599 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4601 * text2.C (DEPM): fix part of bug 1255 and 1256
4603 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4605 * BufferView_pimpl.C (workAreaDispatch): change to use
4606 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4607 that are no mouse related.
4609 2003-08-05 André Pönitz <poenitz@gmx.net>
4612 * BufferView_pimpl.[Ch]:
4613 * bufferview_funcs.C:
4615 * text3.C: rip out "deep update"
4617 * textcursor.[Ch] (last_sel_cursor): remove unused member
4619 2003-08-04 André Pönitz <poenitz@gmx.net>
4622 * BufferView_pimpl.[Ch]:
4623 * ParagraphParameters.C:
4624 * bufferview_funcs.C:
4630 * text3.C: replace "complicated" BufferView::update(...) calls with
4633 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4635 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4637 * Makefile.am (lyx_SOURCES): add paper.h
4639 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4641 * Makefile.am: move things around so that both lyx-qt and
4642 lyx-xforms can be built (according to --with-frontend). Then lyx
4643 is a symbolic link to lyx-[firstfrontend]
4645 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4647 * Always use std::endl with lyxerr
4649 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4651 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4653 2003-08-01 André Pönitz <poenitz@gmx.net>
4656 * BufferView_pimpl.[Ch]:
4658 * text3.C: merge BufferView::repaint() and BufferView::update()
4660 2003-08-01 José Matos <jamatos@lyx.org>
4662 * buffer.[Ch]: file_format is no longer a buffer data element.
4664 2003-08-01 André Pönitz <poenitz@gmx.net>
4669 * text2.C: make redoParagraph more independent of current cursor
4671 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4673 * text2.C: remove unneeded members
4675 2003-07-30 André Pönitz <poenitz@gmx.net>
4677 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4679 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4680 create a single function...
4682 * paragraph_funcs.C (moveItem): ... here.
4685 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4687 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4689 * LColor.[Ch]: Add comment and greyedout logical colors.
4691 2003-07-30 André Pönitz <poenitz@gmx.net>
4693 * tabular.C: don't use Assert too heavily. This crashes where it
4696 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4698 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4699 is disabled (bug 1232)
4701 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4703 * factory.C: limited 'arg' scope
4705 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4707 * factory.C: fixed Note submenu issues
4709 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4711 * factory.C: submenu for Note/Comment/Greyedout
4713 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4716 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4718 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4721 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4722 greyedout. Patch provided by Jürgen Spitzmüller.
4724 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4726 * kbmap.C (read): fix error message when reading bind files
4728 2003-07-29 Angus Leeming <leeming@lyx.org>
4730 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4731 certainly does not do what it purports to do. I am doing it, and
4732 us, a favour by killing it.
4734 2003-07-28 José Matos <jamatos@lyx.org>
4736 * buffer.C (readBody, do_writeFile):
4737 * paragraph.C(readParagraph): \end_document replaces \the_end.
4739 2003-07-29 André Pönitz <poenitz@gmx.net>
4742 * BufferView_pimpl.[Ch]:
4746 * textcursor.[Ch]: remove toggleToggle & Co
4748 2003-07-28 José Matos <jamatos@fep.up.pt>
4750 * buffer.C (readParagraph):
4751 * params_func (readParToken, readParagraph):
4752 * paragraph.C (write): \layout -> \begin_layout.
4754 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4756 * lyxlex_pimpl.C (setFile): clean up slightly.
4758 * bufferparams.h: add compressed var
4760 * buffer_funcs.C (readFile): adjust for LyXLex change
4761 (newFile): ditto + simplify
4763 * buffer.C (writeFile): handle writing of compressed files
4765 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4766 Check if the file is compressed and set a bufferparm if so.
4768 * Makefile.am (lyx_LDADD): remove explicit -lz
4770 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4772 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4773 makeDocBookFile): put the real LyX version in the first line of
4777 * version.C.in: remove lyx_docversion
4779 * tabular.C (write_attribute): add a template-based version to
4780 write enums properly
4782 2003-07-28 André Pönitz <poenitz@gmx.net>
4787 * text3.C: use doubles again for x-coordinates. They are needed.
4789 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4791 * messages.C (getLocaleDir): use lyx_localedir()
4793 * lyxlex_pimpl.C (setFile): compress stuff
4795 * buffer.C (writeFile): add some compression stuff
4796 (do_writeFile): new func, dont call expliti close... will this
4799 * Makefile.am (lyx_LDADD): add -lz
4801 2003-07-28 José Matos <jamatos@fep.up.pt>
4803 * buffer.C: increment file format.
4804 * paragraph_funcs (readParagraph, readParToken):
4805 * paragraph.C (readParagraph): add \end_layout.
4807 2003-07-27 Angus Leeming <leeming@lyx.org>
4809 * Makefile.am: remove special casing for configure-time setting of
4810 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4812 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4813 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4815 2003-07-26 André Pönitz <poenitz@gmx.net>
4817 * paragraph_func.[Ch]:
4818 * paragraph.C (realizeFont): inline it whereever it is used
4823 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4826 2003-07-26 André Pönitz <poenitz@gmx.net>
4830 * text2.C: get rid of LyXText::need_break_row
4832 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4834 * toc.[Ch]: put namespace toc inside namespace lyx
4836 * MenuBackend.C (expandToc2): adjust for lyx::toc
4839 * lyxfunc.C (dispatch): adjust for lyx::find
4841 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4842 lyx::find instead. Reorganize a bit.
4843 (LyXReplace): rename to replace
4844 (LyXFind): rename to find
4846 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4849 2003-07-26 André Pönitz <poenitz@gmx.net>
4851 * text.C (setHeightOfRow): restrict scope of temporary variable
4853 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4854 code (never has been used?)
4856 2003-07-27 Asger Alstrup <alstrup@local>
4858 * text.C (fill): Optimise algorithm to exploit that we can reuse
4859 the LyXFont for many characters.
4860 (setHeightOfRow): Same thing.
4861 (rowBreakPoint): Same thing.
4863 2003-07-26 Asger Alstrup <alstrup@local>
4865 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4867 * text.C (singleWidth): Spurious font copying in hot-spot
4868 singleWidth avoided. Reorder tests for arabic for efficiency.
4870 * text.C (fill): handle empty paragraphs better.
4872 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4875 * encoding.h: add includes
4877 * lyxrc.C: remove reading of bind files
4879 * lyx_main.C (init): setup bindings and menus only if we have a
4882 * kbmap.C (read): new method. Do the actual reading of bind
4885 * converter.C (dvipdfm_options):
4888 (output): adapt PAPER_* enums.
4890 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4892 * bufferparams.h: remove paper-related enums from there
4894 * paper.h: New file. A trivial header file to hold paper-related
4895 enums. It should later expand to contain many paper-related
4898 * lyxrc.C: declare extern displayTranslator
4900 2003-07-27 José Matos <jamatos@fep.up.pt>
4902 * tabular.[Ch] (linuxdoc): add support for tables and figures
4905 2003-07-27 José Matos <jamatos@fep.up.pt>
4907 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4908 consistency in both functions.
4909 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4911 2003-07-26 Asger Alstrup <alstrup@local>
4913 * rowpainter.C (paintRows): Change algorithm to work directly on
4914 the insets rather than asking every character in the document
4915 whether its an inset.
4917 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4919 * buffer.C (openFileWrite): factorize some code
4921 2003-07-26 Angus Leeming <leeming@lyx.org>
4924 * lyx_main.[Ch]: replace occurances of system_tempdir with
4927 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * rename Inset to InsetOld
4931 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4933 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4934 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4935 which I think is a bit clearer. EDIT is gone, since it was
4936 premature optimisation, and broken for mathed anyway.
4937 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4938 with cursor positioning in insets as well (math insets still do not
4939 work, but that's a different story anyway.) It mysteriously
4940 crashes sometimes with undo in the first paragraph, but I'm fairly
4941 confident that this is a compiler bug.
4943 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4945 * paragraph.C (Paragraph): adjust for new clone return type
4947 (copyIntoMinibuffer): ditto
4949 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4951 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4952 by not having a special case, and always doing a full rebreak of
4953 the document after undo.
4955 2003-07-23 Angus Leeming <leeming@lyx.org>
4957 * factory.C (createInset): InsetExternal::setParams now takes a
4960 2003-07-23 Angus Leeming <leeming@lyx.org>
4962 * factory.C (createInset): changed interface to the external and
4963 graphics mailers' string2params functions.
4965 2003-07-23 Angus Leeming <leeming@lyx.org>
4967 * factory.C (createInset): pass a
4968 Buffer const * parameter to InsetExternalMailer's string2params.
4970 2003-07-22 John Levon <levon@movementarian.org>
4972 * Thesaurus.h: include the right aiksaurus header
4974 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4976 * MenuBackend.C (expand): check menu shortcuts unconditionally
4978 2003-07-21 Angus Leeming <leeming@lyx.org>
4980 * factory.C (createInset): pass a
4981 buffer_path parameter to InsetGraphicsMailer's string2params.
4983 2003-07-21 Angus Leeming <leeming@lyx.org>
4985 * BufferView_pimpl.C (buffer):
4988 * lyxfunc.C (dispatch):
4989 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4990 rather than the grfx shortcut.
4992 2003-07-21 André Pönitz <poenitz@gmx.net>
4994 * rowpainter.C: remove unused variables
4997 * tabular_funcs.h: move to tabular.C
4998 * Makefile.am: adjust
5000 * tabular.[Ch]: basic optical cleaning
5002 * author.h: pass references, not values
5004 2003-07-18 André Pönitz <poenitz@gmx.net>
5012 * text3.C: two-phase drawing for InsetText and InsetTabular
5013 some float -> int changes.
5015 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5017 * lyx_main.C: fix the fix
5019 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5021 * lyx_main.C: fix a crash in batch mode if no files specified
5024 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5026 * format.[Ch] (papersize): moved to BufferParams
5027 * converter.[Ch] (dvips_options): moved to BufferParams
5028 (dvipdfm_options): moved to anon namespace
5029 * bufferparams.[Ch]: added above functions.
5031 2003-07-17 André Pönitz <poenitz@gmx.net>
5035 * text2.C: don't call inset->update() anymore
5037 * metricsinfo.[Ch]: add convenience constructor
5039 2003-07-16 André Pönitz <poenitz@gmx.net>
5044 * text2.C: replace the LyXCursor::irow_ member with
5045 on-demand computation of the value
5047 2003-07-16 John Levon <levon@movementarian.org>
5049 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5051 2003-07-15 André Pönitz <poenitz@gmx.net>
5054 * text2.C: remove no more needed refresh_row
5056 2003-07-15 André Pönitz <poenitz@gmx.net>
5061 * text3.C: refresh_status tristate -> need_update bool
5063 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxtext.h (init): remove reinit argument (act as if always true)
5066 * text2.C: adjust to that
5068 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5070 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5071 * text3.C: use it to delete selections in some cases
5072 (bugs 441, 673, 702, 954).
5074 2003-07-14 André Pönitz <poenitz@gmx.net>
5076 * rowpainter.[Ch]: reduce interface
5078 2003-07-14 André Pönitz <poenitz@gmx.net>
5080 * BufferView_pimpl.C:
5081 * text2.C: adjust after removing unused BufferView * argument
5083 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5085 * text2.C (init): fix a crash fired on resize
5087 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5089 * buffer.[Ch]: added new closing signal
5090 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5091 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5092 BufferView::Pimpl via the closing the signal
5094 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5096 * buffer.[Ch]: take out all bv-related from buffer
5098 * BufferView_pimpl.[Ch]: connect to new signals
5099 * CutAndPaste.C: removed useless asserts
5100 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5103 * lyxfunc.C: moved view-related funciontality from vc here
5104 * paragraph.C: removed outdated comments
5107 2003-07-10 André Pönitz <poenitz@gmx.net>
5109 * BufferView_pimpl.C:
5113 * text2.C: remove InsetText::InnerCache, clean up consequences
5115 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5117 * ispell.C: fix two typos in error messages
5119 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5121 * Extend Note inset to other forms of annotation like Comment
5122 and Greyedout. Right button click gives dialog.
5124 Files modified or added (+):
5128 * ControlNote.[Ch] +
5130 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5131 frontends/controllers
5135 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5137 * aspell.C: add missing namespace lyx::support
5139 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5141 * BufferView.[Ch] (newFile): Add
5142 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5143 * LaTeX.[Ch] (message): added this signal and use it
5144 * buffer.[Ch] (busy, message): added these signals and use them
5145 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5149 * importer.C: use buffer signals instead of direct bv calling
5150 * lyx_cb.[Ch] (ShowMessage): removed
5153 * paragraph_funcs.C:
5154 * text2.C: use buffer signals
5156 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * introduce namespace lyx::graphics
5160 2003-07-02 André Pönitz <poenitz@gmx.net>
5162 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5164 2003-07-01 André Pönitz <poenitz@gmx.net>
5171 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5172 text*.C to text_func.C
5174 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5176 * introduce namespace lyx::support
5178 2003-06-30 André Pönitz <poenitz@gmx.net>
5183 * text.C: re-enable --with-included-string
5185 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5187 * textcursor.C: add <config.h>
5189 * text.C (getWord): remove const from word_location arg
5191 * lyxvc.C (getLogFile): fix const type order
5193 * lyxtext.h: remove const from word_location arg, add arg name
5195 * lyxlayout.h: currect type on labeltype.
5197 * importer.C: correct \file
5199 * converter.C (intToFormat): use std:: on ret val, ws changes
5201 * bufferlist.h: correct \file
5203 * buffer.C (makeLinuxDocFile): fix const type order
5204 (makeDocBookFile): ditto
5205 (fillWithBibKeys): use std:: on stdlib args.
5207 * CutAndPaste.C: fix authors.
5208 (availableSelections): use std:: on return vector
5210 2003-06-27 André Pönitz <poenitz@gmx.net>
5212 * BufferView_pimpl.C:
5213 * bufferview_funcs.C:
5221 * text3.C: remove LyXCursor::row_ member
5224 * text.C: rename fullRebreak() to partialRebreak() and implement
5225 a fullRebreak() that really bereks fully
5227 * textcursor.h: new struct for cursor-related data
5229 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5231 * lyx_main.C (LyX): get full path of document loaded on the
5234 2003-06-26 André Pönitz <poenitz@gmx.net>
5236 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5237 remove unused/broken operator>,<,>=.
5239 * text.C: remove only use of broken operator<= in an Assert().
5241 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5243 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5244 moved errorlist_.clear to showErrorList
5246 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5248 * converter.C (scanLog, runLaTeX):
5249 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5250 move the bv->showErrorList call to the callers
5251 * lyxfunc.C: i.e. here...
5253 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5254 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5255 namespace, the second to...
5256 * buffer_funcs (BufferFormat, parseErrors): added
5257 * errorlist.C (ErrorList(TeXErrors const &)): removed
5259 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5261 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5263 2003-06-24 "Garst R. Reese" <reese@isn.net>
5267 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5269 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5271 * version.C.in: change docversion to 1.4
5273 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5275 * buffer.C: fix a bug just introduced
5277 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5279 * buffer.[Ch]: added the parseError signal and use it, removed
5281 * BufferView.[Ch] (addError): moved to ...
5282 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5283 to the Buffer::parseError signal to catch (guess what) parse errors
5284 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5286 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5288 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5289 ability to create a buffer and to return an existing one from
5290 the list. Moved these functions to...
5291 * buffer_funcs.[Ch]: added
5292 * BufferView.[Ch] (loadLyXFile): added
5293 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5294 job removed from bufferlist::loadLyXFile.
5295 * buffer.C (setReadOnly): make it work without view
5296 (i.e added an if (users))
5298 2003-06-19 Angus Leeming <leeming@lyx.org>
5301 * LyXAction.C (init):
5302 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5303 with LFUN_DIALOG_SHOW <name> <data>.
5305 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5307 * CutAndPaste.C (availableSelections): small compilation fix for
5308 ancient (gcc 2.9x) compilers
5310 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * text3.C (cursorNext): add tmp var
5314 * text2.C (updateCounters): for function calling out of for clause
5315 (replaceSelectionWithString): ditto
5316 (insertStringAsParagraphs): ditto
5317 (getColumnNearX): add tmp var
5318 (setCursorFromCoordinates): add tmp var
5319 (cursorDownParagraph): add tmp var
5320 (deleteEmptyParagraphMechanism): add tmp var
5322 * text.C (insertChar): add tmp var
5324 * rowpainter.C (paintDepthBar): add tmp var
5326 * CutAndPaste.C (availableSelections): potentially check all
5327 paragraphs in a cut to fill the shown strings.
5329 2003-06-18 André Pönitz <poenitz@gmx.net>
5331 * kbmap.[Ch]: use vector<> instead of list<>
5333 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5335 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5336 pasteSelection with index
5338 * text2.C (pasteSelection): modify, call pasteSelection with index
5340 * paragraph.C (asString): reimplement version with no interval to
5341 call the one with interval.
5343 * lyxtext.h: add index arg to pasteSelection
5345 * MenuBackend.C (MenuItem): handle PasteRecent
5346 (Menu::read::Menutags): add md_pasterecent
5348 (expandPasteRecent): new function
5351 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5353 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5355 (availableSelections): new function
5357 2003-06-17 Angus Leeming <leeming@lyx.org>
5359 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5361 2003-06-17 Angus Leeming <leeming@lyx.org>
5364 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5366 * lyxfunc.C (dispatch): invoke it.
5368 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5370 * iterators.C (operator++, ParPosition): reintroduce some
5371 const_cast for the benefit of older compilers.
5373 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5375 * text3.C (dispatch): do not modify clipboard when doing
5376 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5377 LFUN_DELETE_SKIP on a selection selection
5379 2003-06-16 André Pönitz <poenitz@gmx.net>
5385 * tabular.[Ch]: IU of clone() and getLabelList();
5387 2003-06-13 André Pönitz <poenitz@gmx.net>
5389 * tabular.h: compactification
5391 2003-06-12 André Pönitz <poenitz@gmx.net>
5395 * tabular_funcs.h: some renaming plus whitespace
5397 2003-06-12 André Pönitz <poenitz@gmx.net>
5400 * BufferView_pimpl.C:
5406 * toc.C: Return a Paragraph & for ParIterator::operator*()
5408 2003-06-11 John Levon <levon@movementarian.org>
5412 * ToolbarBackend.C: add "Toolbars" section and
5415 2003-06-10 Angus Leeming <leeming@lyx.org>
5418 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5420 * lyxfunc.C (dispatch): invoke it.
5422 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5424 * main.C: protect <ios> with HAVE_IOS
5425 (main): protect sync_with_stdio with HAVE_IOS
5427 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5429 * text2.C (cutSelection): adjust
5430 (pasteSelection): adjust
5432 * messages.C: handle get of empty string
5434 * main.C (main): use sync_with_stdio(false)
5436 * lyxfunc.C (dispatch): adjust
5438 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5439 (WriteAs): remove unneeded BufferView arg.
5441 * bufferparams.h: use correct types on papersize, papersize2 and
5444 * bufferparams.C (readToken): adjust for type
5445 (writeLaTeX): add missing cases to switch.
5447 * bufferlist.C (quitWriteBuffer): adjust
5450 * buffer.C (asciiParagraph): remove some commented code.
5452 * CutAndPaste.C: remove current_view extern variable.
5453 (cutSelection): add BufferParams arg.
5454 (eraseSelection): add BufferParams arg.
5455 (pasteSelection): add Buffer const & arg
5457 2003-06-07 John Levon <levon@movementarian.org>
5460 * paragraph_funcs.C:
5461 * paragraph_pimpl.C:
5465 * paragraph.C: allow InsetERT to freely space lines,
5466 and some consolidation of code
5468 2003-06-06 José Matos <jamatos@fep.up.pt>
5470 * buffer.C (makeDocBookFile): fix bug #821
5472 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5474 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5476 2003-06-04 Angus Leeming <leeming@lyx.org>
5478 * buffer.C: bump format to 224.
5480 2003-06-05 André Pönitz <poenitz@gmx.net>
5482 * text2.C (redoParagraphs): remove two const_cast<>
5484 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5486 * ParagraphList.h: remove last remnants of NO_STD_LIST
5488 2003-06-03 Angus Leeming <leeming@lyx.org>
5490 * factory.C (createInset): small change to the way InsetExternal's params
5493 2003-06-04 André Pönitz <poenitz@gmx.net>
5495 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5497 * paragraph_pimpl.h:
5498 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5500 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5502 * undo_funcs.C: make some simple cases of undo work again
5504 2003-06-03 John Levon <levon@movementarian.org>
5506 * ispell.C: HPUX doesn't have sys/select.h
5509 2003-06-03 John Levon <levon@movementarian.org>
5511 * CutAndPaste.C: update tabular and include inset
5516 * paragraph.C: remove owningBuffer(), don't pass Buffer
5519 * factory.C: insetGraphicsParams changed
5521 2003-06-02 John Levon <levon@movementarian.org>
5527 * text3.C: remove insetparent
5529 2003-06-02 John Levon <levon@movementarian.org>
5532 * buffer.C: fix inset_iterator.end(), move out of line
5535 2003-06-01 John Levon <levon@movementarian.org>
5537 * text3.C: use a proper cut/paste when doing inset
5538 insert (from Jürgen Spitzmüller)
5540 2003-06-01 John Levon <levon@movementarian.org>
5542 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5544 2003-05-30 André Pönitz <poenitz@gmx.net>
5546 * rowpainter.C: unify second drawing phase
5548 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5550 * trans_mgr.C: remove one case of current_view
5552 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5554 * paragraph_funcs.h: remove paragraph.h include
5556 * paragraph.h: delete NO_STD_LIST stuff
5558 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5560 * buffer.h: remove paragraph.h include
5562 * ParagraphList.C: delete file
5564 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5566 * toc.C (getTocList): adjust
5568 * paragraph_pimpl.C (validate): adjust
5570 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5572 * paragraph.C (Paragraph): adjust
5573 (getPositionOfInset): use const_iterator, adjust
5574 (bibitem): use const_iterator, adjust
5575 (setInsetOwner): adjust
5577 * iterators.C (operator++): adjust
5579 * InsetList.[Ch]: Replace selfmade iterator with standard
5580 vector::iterator also introduce const_iterator. Remove getPos,
5581 getInset and setInset from InsetTable. Adjust accordingly.
5583 * BufferView.C (lockInset): adjust
5584 (ChangeInsets): adjust
5586 * tabular.[Ch]: delete commented same_id functions
5588 2003-05-28 John Levon <levon@movementarian.org>
5590 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5592 2003-05-28 André Pönitz <poenitz@gmx.net>
5594 * metricsinfo.[Ch]: remove 'fullredraw' member
5596 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5598 * lyxtextclass.C (operator): remove caching.
5600 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * text2.C (cursorBottom): adjust
5605 (setCounter): use ParagraphList::find, adjust
5607 * text.C (workWidth): use ParagraphList::find, adjust
5609 * lyxcursor.C (LyXCursor): adjust
5611 * buffer.C (inset_iterator): adjust
5613 * ParagraphList.h: make iterator(value_type) private, make
5614 ParagraphList a friend of iterator.
5616 * ParagraphList.C (find): new function
5618 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5620 2003-05-27 André Pönitz <poenitz@gmx.net>
5622 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5624 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5626 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5628 2003-05-26 John Levon <levon@movementarian.org>
5630 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5632 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * remove same_id from function signatures, adjust.
5636 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5638 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5640 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5642 * paragraph.C (Paragraph): get rid of same_ids parameter
5644 * ParagraphList.C (insert): adjust
5647 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5649 * paragraph_funcs.C (breakParagraph): adjust
5650 (breakParagraphConservative): adjust
5652 * buffer.C (readParagraph): adjust
5654 * ParagraphList.C (insert): take a reference instead of a pointer
5657 * paragraph.[Ch] (id): new function
5659 * bufferlist.C (newFile): adjust
5661 * ParagraphList.C (ParagraphList): adjust
5663 (push_back): take a reference instead of a pointer.
5665 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5667 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5670 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5671 set else use old code.
5673 * ParagraphList.C: remove all NO_NEXT code and only compile this
5674 code of NO_STD_LIST is set.
5676 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5678 * BufferView_pimpl.C:
5688 * graphics/GraphicsConverter.C:
5689 * graphics/PreviewLoader.C: header adjustment
5691 2003-05-23 Angus Leeming <leeming@lyx.org>
5693 * LaTeXFeatures.[Ch] (useBabel): new method.
5694 * bufferparams.C (writeLaTeX): use it.
5696 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5698 * ParagraphList.h (set): remove unused function.
5700 2003-05-23 André Pönitz <poenitz@gmx.net>
5703 * BufferView_pimpl.C:
5707 * undo_funcs.C: setUndo reworked
5709 * iterators.[Ch]: add access to topmost ParagraphList
5711 * lyxtext.[Ch] (workWidth): add a const
5713 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5715 * texrow.[Ch] (increasePos): remove function
5716 * exporter.C (export): removed unused var and outdated comment
5718 2003-05-23 Angus Leeming <leeming@lyx.org>
5720 * latexrunparams.h: rename fragile as moving_arg.
5721 * paragraph.C (simpleTeXOnePar): ditto.
5722 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5724 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5726 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5728 (textUndoOrRedo): comment out a currently unused var.
5730 * paragraph.h (NO_NEXT): enable NO_NEXT
5732 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5734 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5736 * exporter.C (Export): adjust for removeAutoInsets removal.
5738 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5740 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5742 * BufferView.[Ch] (removeAutoInsets): delete function
5744 2003-05-22 Angus Leeming <leeming@lyx.org>
5746 * latexrunparams.h: add a free_spacing variable.
5748 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5749 to pass moving_arg, as the data is stored in runparams.fragile.
5751 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5752 to Inset::latexOptional or to simpleTeXOnePar.
5754 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5755 free_spacing arg to Inset::latexOptional.
5757 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5760 2003-05-22 Angus Leeming <leeming@lyx.org>
5762 * latexrunparams.h: add fragile and use_babel variables.
5764 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5765 * buffer.C (makeLaTeXFile): store this returned value in
5766 runparams.use_babel, thus passing it to the inset::latex methods.
5768 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5769 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5771 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5772 longer has a fragile arg, as it is stored in runparams.fragile.
5774 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5775 moving_arg parameter as the data is stored in runparams.fragile.
5777 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5778 a fragile parameter as the data is stored in runparams.fragile.
5780 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5784 2003-05-22 Angus Leeming <leeming@lyx.org>
5786 * latexrunparams.h: add a 'bool nice' which defaults to false.
5788 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5789 now encapsulated within runparams.
5791 * bufferlist.C (updateIncludedTeXfiles):
5792 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5794 2003-05-22 Angus Leeming <leeming@lyx.org>
5796 * latexrunparams.h: new file containing struct LatexRunParams.
5797 * Makefile.am: add new file.
5799 * LaTeX.[Ch] (c-tor, run):
5800 * buffer.[Ch] (makeLaTeXFile):
5801 * bufferlist.[Ch] (updateIncludedTeXfiles):
5802 * converter.C (convert, scanLog):
5803 * converter.[Ch] (runLaTeX):
5804 * exporter.C (Export):
5805 * paragraph.[Ch] (simpleTeXOnePar):
5806 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5807 * paragraph_funcs.[Ch] (latexParagraphs):
5808 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5809 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5810 pass around a LatexRunParams parameter.
5812 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * paragraph.[Ch]: remove unused constructor
5816 * ParagraphList.C (erase): new function, taking two iterators
5818 2003-05-22 André Pönitz <poenitz@gmx.net>
5820 * undo_funcs.C: remove duplicated code
5822 * iterator.[Ch]: operator=
5824 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5826 * tabular.C (SetMultiColumn): ws changes
5828 * rowpainter.C (paintFirst): get rid of a ->previous
5830 * lyx_cb.C (getPossibleLabel): parlist simplification
5832 * BufferView.C (ChangeInsets): simplify slightly.
5834 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5836 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5837 * lfuns.h: new LFUN_SPACE
5838 * lyxfunc.C: protected space has a new lfun
5839 * paragraph_funcs.C: read new space insets
5841 * factory.C: handle new space insets
5843 2003-05-22 André Pönitz <poenitz@gmx.net>
5846 * BufferView_pimpl.C:
5849 * undo_funcs.C: return a ParIterator from getParFromID.
5851 * iterators.[Ch]: add two const's
5853 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * toc.C (getTocList): adjust
5857 * iterators.[Ch]: rework for parlist
5859 * buffer.C (par_iterator_begin): adjust
5860 (par_iterator_end): adjust
5862 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5864 * BufferView.C (removeAutoInsets): adjust
5865 (ChangeInsets): adjust
5867 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5869 * text.C (top_y): fix bug 1110
5871 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5873 * errorlist.[Ch]: added
5876 * BufferView_pimpl.C:
5877 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5880 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * Makefile.am: ensure that lyx is relinked upon changes to the
5883 various "convenience" libs.
5885 2003-05-20 Angus Leeming <leeming@lyx.org>
5887 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5888 files are compiled in alphabetical order again.
5890 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5892 2003-05-19 Angus Leeming <leeming@lyx.org>
5894 * gettext.[Ch]: remove "char const * _(char const *)".
5896 2003-05-19 André Pönitz <poenitz@gmx.net>
5898 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5907 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5909 2003-05-19 André Pönitz <poenitz@gmx.net>
5913 * lyxtextclass.[Ch]:
5915 * paragraph_funcs.[Ch]:
5917 * text3.C: more insetenv work
5919 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5921 * ParagraphParameters.C (params2string): small bug fixed
5923 2003-05-16 André Pönitz <poenitz@gmx.net>
5926 * bufferview_funcs.C: patch from Kornel Benko to prevent
5927 crash when _(...) is called twice in a statement
5929 2003-05-16 André Pönitz <poenitz@gmx.net>
5936 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5938 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5940 * lyx_main.C (init): remove spurious static_cast
5942 2003-05-14 André Pönitz <poenitz@gmx.net>
5944 * BufferView.C: fix format string
5946 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5948 * BufferView.[Ch] (insertErrors): removed
5949 * BufferView.[Ch] (showErrorList): added
5950 * buffer.C (runChkTeX):
5951 * converter.C (scanLog): call showErrorList instead of inserterrors
5953 2003-05-13 André Pönitz <poenitz@gmx.net>
5955 * BufferView_pimpl.C:
5957 * bufferview_func.C:
5964 * tabular_funcs.h: tostr() from its own header
5966 * ParagraphParameters.C:
5971 * text3.C: STRCONV()
5973 2003-05-12 André Pönitz <poenitz@gmx.net>
5976 * BufferView_pimpl.C:
5980 * ParagraphParameters.C:
5984 * bufferview_funcs.C:
5997 * paragraph_funcs.C:
6001 * text3.C: boost::format -> bformat all over the place
6004 2003-05-09 André Pönitz <poenitz@gmx.net>
6006 * LColor.[Ch]: Pimpl the #include <map> away
6008 2003-05-09 John Levon <levon@movementarian.org>
6010 * bufferlist.C: never remove emergency saves
6012 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * Makefile.am: better lib building
6016 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6020 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6021 (simpleTeXSpecialChars): adjust
6022 (simpleTeXSpecialChars): adjust
6023 * paragraph.C (simpleTeXOnePar): adjust
6024 * buffer.C (makeLaTeXFile): adjust
6026 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6028 * text2.C (changeDepth): parlist cleanup
6029 (getColumnNearX): ditto
6031 * rowpainter.C (getLabelFont): parlist cleanup
6033 * bufferlist.C (newFile): parlist cleanup
6035 * CutAndPaste.C (eraseSelection): parlist cleanup
6037 * BufferView_pimpl.C (trackChanges): parlist cleanup
6040 * BufferView.C (lockInset): parlist cleanup.
6041 (ChangeInsets): ditto
6043 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6045 * CutAndPaste.h: Update file header.
6047 * CutAndPaste.C: Update file header.
6048 Store the parts cut out of the Document in a limited_stack.
6049 (copySelection): adjust
6050 (pasteSelection): new function, takes the index in the limited stack.
6051 (nrOfParagraphs): adjust
6052 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6053 simplify error inset insertion.
6054 (checkPastePossible): adjust
6056 2003-05-06 John Levon <levon@movementarian.org>
6058 * text2.C: don't cast wrap inset to float
6060 2003-05-05 André Pönitz <poenitz@gmx.net>
6063 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6065 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6066 few naked Paragraph *.
6068 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6070 * bufferparams.C: Output warning if a document with missing
6071 TeX document class is loaded
6072 * exporter.C: Disable TeX exports if the document class is missing
6075 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6076 isTeXClassAvailable()
6078 2003-05-03 John Levon <levon@movementarian.org>
6081 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6082 explicit cursor show/hide
6084 * BufferView_pimpl.h:
6085 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6086 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6088 * lyxfunc.C: hide cursor before dispatching.
6093 * text3.C: remove explicit cursor hides
6095 2003-05-02 André Pönitz <poenitz@gmx.net>
6097 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6100 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6103 * text2.C: tiny whitespace
6105 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * undo_funcs.C: almost only ws changes.
6109 * ParagraphList.C (splice): just return if pl is empty.
6111 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6113 * ParagraphList.C (splice): new function.
6115 * CutAndPaste.C (pasteSelection): use it
6117 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * CutAndPaste.C (pasteSelection): remove the last next and
6120 previous from this file.
6122 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6124 * CutAndPaste.C (pasteSelection): more clean up, user proper
6125 ParagraphList functions for pasteing.
6127 * ParagraphList.C (insert): new function, three arg insert
6129 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6131 * ParagraphList.C (insert): new function, three arg insert
6133 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6136 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6144 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6147 (copySelection): clean up a bit.
6148 (pasteSelection): use make_pair
6150 * ParagraphList.C (ParagraphList): implement copy constructor
6151 (operator=): implement, base on copy constructor.
6154 * paragraph.C (erase): return a bool
6156 * paragraph_pimpl.C (erasePos): remove function, move contents...
6157 (erase): ... here. Return a bool.
6158 (erase): call erase instead of erasePos.
6160 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6162 * ParagraphList.h: define PitPosPair
6163 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6164 ParagraphList, fix a bug on pasting multiple pars
6165 * text2.C: change interface to C&P
6167 2003-04-30 André Pönitz <poenitz@gmx.net>
6169 * undo_func.C: revert part of yesterday's patch 2
6171 2003-04-30 John Levon <levon@movementarian.org>
6173 * LColor.C: s/tabular/table/
6175 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * text3.C (dispatch): do not convert iterator -> pointer
6178 * undo_funcs.C (setCursorParUndo): ditto
6179 * text_funcs.C (transposeChars): ditto
6181 * text2.C (setLayout): ws changes only
6183 * text.C (breakParagraph): do not convert iterator -> pointer
6185 (acceptChange): ditto
6186 (rejectChange): ditto
6191 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6194 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6196 * text3.C (gotoInset): YABG (yet another bad getChar)
6198 2003-04-29 André Pönitz <poenitz@gmx.net>
6200 * paragraph.h: make operator= private unimplemented as long as
6203 * ParagraphList.C: whitespace
6206 * paragraph_pimpl.[Ch]:
6207 * paragraph_funcs.C:
6209 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6212 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6214 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6216 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6217 * paragraph.[Ch] (erase):
6218 * paragraph_pimpl.[Ch] (erase): change return type and value
6219 * text2.C (cutSelection): some rework
6221 2003-04-28 John Levon <levon@movementarian.org>
6223 * bufferlist.C: changes for unsaved changes dialog
6225 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6227 * bufferlist.C (newFile): set language (messages_) for new
6230 * buffer.C (readFile): ws changes only.
6232 2003-04-28 André Pönitz <poenitz@gmx.net>
6237 * BufferView_pimpl.C:
6238 * BufferView.C: getParFromID related ParagraphList::iterator changes
6240 2003-04-28 André Pönitz <poenitz@gmx.net>
6242 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6245 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * messages.C: remove one more localedir class variable.
6249 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * messages.C (getLocaleDir): singleton generation function
6253 (Messages): add a default constructor.
6255 * main.C (main): do not setup localedir here, do not call
6258 * gettext.C (_): use it.
6259 (gettext_init): delete funciton
6261 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * gettext.C (getLyXMessages): new singleton generating function.
6265 * buffer.C (updateDocLang): adjust
6267 * Makefile.am (messages.o): add target
6268 (main.o): remove target
6270 2003-04-27 John Levon <levon@movementarian.org>
6275 * lyxvc.C: specify cancel button in Alert::prompt
6277 2003-04-26 John Levon <levon@movementarian.org>
6282 * LyXAction.C: add LFUN_INSET_SETTINGS
6284 * lyxfunc.C: don't enable tabular-feature when there's
6285 just any locking inset
6287 2003-04-26 John Levon <levon@movementarian.org>
6289 * bufferlist.C: re-add Cancel to buffer close question
6291 * lyxfunc.C: fix import UI a bit
6293 2003-04-25 John Levon <levon@movementarian.org>
6295 * gettext.C: remove the broken asserts for now
6297 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * messages.C: make case where setlocale cannot comply work better.
6301 * buffer.C (updateDocLang): new function
6302 (changeLanguage): use it
6305 * text2.C (setCounter): use B_ a bit.
6307 * lyxlayout.C (Read): be sure to trim the label strings.
6309 * messages.C (Messages): fix typo in comment
6311 * buffer.C (readFile): set message_ after file is loaded.
6312 (makeDocBookFile): remove double return
6313 (changeLanguage): reset message_ upon language change.
6314 (B_): new func, use this to get translated buffer strings.
6316 * main.C: add myself and Jean Marc as authors.
6318 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6320 * messages.[hC]: pimplify Messages, and three different pimpls to be
6321 used in different circumstances.
6323 * gettext.[Ch]: change for use with new message code.
6325 2003-04-24 André Pönitz <poenitz@gmx.net>
6327 * factory.C: support for eqref
6329 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6331 * messages.[Ch]: add missing char
6333 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6335 * messages.[Ch]: New files
6337 2003-04-18 John Levon <levon@movementarian.org>
6341 * BufferView_pimpl.C:
6345 * text2.C: remove layout-copy/paste (bug 778)
6347 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6349 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6351 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6353 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6354 if they succeed. Act accordingly.
6356 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6358 * text2.C (setCharFont): adjust
6359 (setCounter): adjust
6360 (insertStringAsLines): adjust
6362 * text.C (leftMargin): adjust
6363 (setHeightOfRow): adjust
6365 * rowpainter.C (paintFirst): adjust
6368 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6370 (isFirstInSequence): ditto
6371 (getEndLabel): ditto
6374 * paragraph.C (getParLanguage): comment out some hard stuff.
6376 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6378 (simpleDocBookOnePar): ditto
6379 (makeDocBookFile): use ParagraphList::iterator
6381 * CutAndPaste.C (pasteSelection): adjust
6383 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * text2.C (getFont): adjust
6386 (getLayoutFont): adjust
6387 (getLabelFont): adjust
6389 * paragraph_funcs.C (TeXOnePar): adjust
6391 * buffer.C (simpleLinuxDocOnePar): adjust
6392 (simpleDocBookOnePar): adjust
6394 * CutAndPaste.C (pasteSelection): adjust
6396 * BufferView.C (getEncoding): adjust
6398 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6400 2003-04-16 John Levon <levon@movementarian.org>
6402 * lyxfind.C: use parlist stuff for search/changes
6404 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6408 * text2.C (deleteEmptyParagraphMechanism): adjust
6410 * text2.[Ch] (ownerParagraph): delete func (both of them
6412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * ParagraphList.C: prepare for NO_NEXT
6420 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * text2.C (getFont): adjust
6423 (getLayoutFont): adjust
6424 (getLabelFont): adjust
6426 * paragraph.C (getFont): adjust
6427 (getLabelFont): adjust
6428 (getLayoutFont): adjust
6430 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6432 2003-04-15 John Levon <levon@movementarian.org>
6436 * lyx_main.C: handle Include in .ui files
6438 2003-04-15 John Levon <levon@movementarian.org>
6440 * MenuBackend.C: make the doc files length shorter
6443 * ToolbarBackend.C: handle toolbar placement flags,
6446 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6448 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6451 * paragraph_funcs.C (TeXOnePar): adjust
6453 * paragraph.C (getLabelFont): add outerfont arg, adjust
6454 (getLayoutFont): ditto
6455 (simpleTeXOnePar): adjust
6457 * paragraph_pimpl.C (realizeFont): delete func
6459 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6461 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6462 row argument, constify cur argument.
6464 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * text2.C (getFont): adjust
6467 (getLayoutFont): adjust
6468 (getLabelFont): adjust
6470 * paragraph_funcs.C (TeXOnePar): adjust
6471 (outerFont): new func...
6472 (realizeFont): ...moved out from here, changed this to facilitate
6475 * paragraph.C (getFont): take outerfont as arg, adjust
6476 (simpleTeXOnePar): add outerfont arg, adjust
6478 * buffer.C (simpleLinuxDocOnePar): adjust
6479 (simpleDocBookOnePar): adjust
6481 * CutAndPaste.C (pasteSelection): adjust
6483 * BufferView.C (getEncoding): adjust
6485 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * text2.C (setCharFont): adjust
6488 (setCounter): adjust
6490 * text.C (leftMargin): adjust
6491 (setHeightOfRow): adjust
6493 * rowpainter.C (paintFirst): adjust
6496 * paragraph_pimpl.C (realizeFont): adjust
6498 * paragraph.C (isFirstInSequence): move from here...
6499 * paragraph_funcs.C (isFirstInSequence): ...to here
6501 * paragraph.C (outerHook): move from here...
6502 * paragraph_funcs.C (outerHook): ...to here
6504 * paragraph.C (depthHook): move from here...
6505 * paragraph_funcs.C (depthHook): ...to here
6507 * paragraph.C (getEndLabel): move from here...
6508 * paragraph_funcs.C (getEndLabel): ...to here
6510 * text2.C (realizeFont): move from here...
6511 * paragraph_funcs.C (realizeFont): ...to here
6513 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6517 2003-04-14 Angus Leeming <leeming@lyx.org>
6519 * LColor.[Ch]: scrap LColor mathcursor.
6521 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * lyxlex.[Ch] (text): delete function
6524 * trans.C (Load): adjust
6525 * paragraph_funcs.C (readParToken): adjust
6527 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6530 vector<char> instead of a char[].
6532 * lyxlex_pimpl.C (getString): adjust
6534 (lex): use getString
6538 * lyxlex.C (text): use pimpl_->getString()
6542 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6545 (makeFontEntriesLayoutSpecific): temp var for par.size()
6546 (setLayout): temp var for ownerParagraphs().end()
6547 (fullRebreak): temp var for rows().end()
6548 (selectionAsString): temp var for boost::next(startpit), realize
6549 that the while really is a regular for loop.
6550 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6551 setCursor in one place.
6552 (setParagraph): temp vr for ownerParagraphs().end()
6553 (updateCounters): make the while loop a for loop
6554 (cutSelection): temp var for ownerParagraphs().end()
6555 (updateInset): make the do {} while() a regular for loop
6556 (getCursorX): use temp vars
6557 (setCurrentFont): use temp vars
6558 (getColumnNearX): use temp vars
6560 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6562 * text.C (transformChar): use temp var for getChar
6563 (computeBidiTables): use temp var for row->par()
6564 (fill): move temp vars for row->par() and pit->layout() earlier in
6566 (labelFill): use temp var for row->par()
6567 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6568 asc and desc, realize that pit never changes and that firstpit is
6569 just a duplicate and not needed. Exchange rit->par() with pit in a
6571 (breakAgain): use a temp var for boost::next(rit)
6572 (breakAgainOneRow): ditto
6573 (breakParagraph): use a temp var for rows().begin()
6574 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6575 (cursorRightOneWord): use temp var for cursor.par() and
6576 cursor.pos(), remove usage of tmpcursor.
6577 (cursorLeftOneWord): use temp var for cursor.par() and
6578 cursor.pos() only set cur at end of function.
6580 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6582 * text.C, text2.C: exchange all usage of Paragraph::next with
6583 boost::next(ParagraphList::iterator)
6585 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6587 * text2.C (cursorTop): simplify implementation
6588 (cursorBottom): ditto
6589 (setParagraph): use ParagraphList::iterator
6590 (setCurrentFont): adjust
6591 (getColumnNearX): adjust
6592 (cursorRight): adjust
6593 (cursorLeft): remove usage of Paragraph::previous
6594 (cursorUpParagraph): ditto
6595 (deleteEmptyParagraphMechanism): slight cleanup
6597 * text.C (isBoundary): take a Paragraph const & instead of a
6599 (addressBreakPoint): ditto
6600 (leftMargin): remove usage of Paragraph::previous.
6601 (setHeightOfRow): ditto
6602 (cursorLeftOneWord): ditto
6603 (selectNextWordToSpellcheck): ditto
6606 (breakParagraph): remove one usage of Paragraph::next
6607 (redoParagraph): ditto
6608 (acceptChange): ditto
6609 (insertChar): adjust
6610 (rowBreakPoint): adjust
6612 * bufferview_funcs.C (toggleAndShow): adjust
6614 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6616 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6617 methods to access it.
6619 * text.C: Added updateRowPositions to compute all row positions.
6620 Make top_y and getRowNearY() to use the cached y position
6622 2003-04-11 John Levon <levon@movementarian.org>
6624 * text.C (rowBreakPoint): reintroduce the labelEnd
6625 checks, code copied from the row fill stuff. Deep voodoo.
6627 * text.C (fill): add a comment and debugging for the
6630 2003-04-11 John Levon <levon@movementarian.org>
6632 * text.C: make sure fullrow insets get wrapped to the next line,
6633 even when they're in a manual label
6635 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * text2.C (insertParagraph): make it take ParagraphList::iterator
6639 (setLayout): make it return ParagraphList::iterator
6640 (redoParagraphs): ditto
6642 (checkParagraph): ditto
6644 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6646 * text2.C: adjust several funcs.
6647 (realizeFont): take a ParagraphList::iterator as arg.
6648 (getLayoutFont): ditto
6649 (getLabelFont): ditto
6650 (setCharFont): ditto
6652 * text.C: adjust several funcs.
6654 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6656 * text.C (selectNextWordToSpellcheck): don't accidentally
6659 2003-04-10 John Levon <levon@movementarian.org>
6661 * ToolbarBackend.C (getIcon): special handling for
6664 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6666 * text2.C (cursorRight): a getChar assert fixed
6668 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6670 * text2.C (getFont): change to take a ParagraphList::iterator
6671 instead of Paragraph*
6672 Adjust several functions.
6674 * text.C (transformChar): change to take a ParagraphList::iterator
6675 instead of Paragraph*
6676 (singleWidth): ditto
6677 Adjust several functions.
6679 * rowpainter.C: adjust several functions
6680 * rowpainter.h:store a ParagraphList::iterator and not a
6684 2003-04-09 John Levon <levon@movementarian.org>
6689 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6690 and the "help" bits as well
6692 2003-04-09 John Levon <levon@movementarian.org>
6695 * ToolbarBackend.C: allow multiple toolbars
6697 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6699 * undo_funcs.C (setCursorParUndo): adjust
6701 * text_funcs.C (transposeChars): adjust
6703 * text3.C (gotoNextInset): adjust
6706 * text2.C (setLayout): adjust
6707 (changeDepth): adjust
6709 (redoParagraphs): adjust
6710 (selectionAsString): adjust
6711 (setParagraph): adjust
6712 (insertInset): adjust
6713 (cutSelection): adjust
6714 (copySelection): adjust
6715 (pasteSelection): adjust
6716 (insertStringAsLines): adjust
6717 (updateInset): adjust
6718 (setCursor): change to take a ParagraphList::iterator parameter
6719 (setCursorIntern): change to take a ParagraphList::iterator parameter
6720 (setCurrentFont): adjust
6721 (cursorLeft): adjust
6722 (cursorRight): adjust
6723 (deleteEmptyParagraphMechanism): adjust
6725 * text.C (breakParagraph): adjust
6726 (insertChar): adjust
6727 (acceptChange): adjust
6728 (rejectChange): adjust
6729 (selectNextWordToSpellcheck): adjust
6730 (changeCase): adjust
6734 * lyxfind.C (SearchForward): adjust
6735 (SearchBackward): adjust
6736 (nextChange): adjust
6738 * lyxcursor.C (par): adjust
6740 * lyxcursor.h: store a ParagraphList::iterator instead of a
6743 * lyx_cb.C (getPossibleLabel): adjust
6745 * bufferview_funcs.C (toggleAndShow): adjust
6747 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6750 * BufferView.C (removeAutoInsets): adjust
6751 (lockedInsetStoreUndo): adjust
6753 2003-04-09 John Levon <levon@movementarian.org>
6755 * ToolbarBackend.C: try icon without argument
6756 if with argument fails
6758 2003-04-08 John Levon <levon@movementarian.org>
6761 * ToolbarBackend.C: add getIcon(), handle tooltip,
6762 and change from "Icon" to "Item".
6764 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6766 * BufferView.C (lockInset): another bad getchar crunched
6768 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6770 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6773 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6775 * lyxfind.C (searchForward, searchBackwards): bug 782
6777 2003-04-07 John Levon <levon@movementarian.org>
6779 * paragraph.C: remove dead comment
6781 * text.C: remove troublesome depth-fiddling code
6782 in leftMargin() and rightMargin() (bug 1017)
6784 * text.C: fix breaking of rows in nested lists
6787 * text2.C (updateCounters): fix up depth values
6790 2003-04-07 John Levon <levon@movementarian.org>
6792 * BufferView_pimpl.C: clear message when doc finishes resizing,
6793 and after a mouse event
6795 * lyxfunc.C: clear message after exiting inset
6797 2003-04-07 John Levon <levon@movementarian.org>
6799 * bufferview_funcs.C: show math status not outside
6800 status in the statusbar
6802 2003-04-07 John Levon <levon@movementarian.org>
6804 * lyxfunc.C: note status changed after a depth change
6806 2003-04-04 Angus Leeming <leeming@lyx.org>
6808 * LaTeX.h: move AuxInfo operator==, != out of line.
6809 Remove LaTeX virtual destructor; nothing derives from it.
6810 Move operator()() out of public area and rename it startscript().
6811 Change protected for private.
6813 2003-04-04 Angus Leeming <leeming@lyx.org>
6816 * text2.C: remove unneeded #includes.
6818 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6820 * text2.C (dEPM): fix the heigth of the next row
6822 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6824 * text.C: squashed an invalid getChar requester + some ws changes
6826 2003-04-03 John Levon <levon@movementarian.org>
6828 * bufferview_funcs.h:
6829 * bufferview_funcs.C:
6832 * text2.C: make getStatus work for the env depth lfuns
6834 2003-04-03 John Levon <levon@movementarian.org>
6836 * bufferview_funcs.h:
6837 * bufferview_funcs.C:
6840 * text2.C: parlistize decDepth(), by merging it with incDepth()
6842 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6844 * lyxrow.h: store a ParagraphList::iterator instead of a
6845 Paragraph* and adjust other class functions to suit.
6847 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6850 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6852 * text2.C (setCursor): do not anchor to cursor row for the time being
6854 2003-04-02 John Levon <levon@movementarian.org>
6861 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6863 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6865 * paragraph.h: make ParagraphList and ParagraphList::iterator
6866 friends of Paragraph.
6868 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6870 * ParagraphList.C: Use the private next_ and previous_ from
6873 2003-04-01 John Levon <levon@movementarian.org>
6877 * Makefile.am: rename, remove defaults gunk
6880 * MenuBackend.C: remove defaults gunk
6883 * Languages.C: remove defaults gunk
6886 * lyx_main.C: error out if files couldn't be found.
6888 2003-04-02 John Levon <levon@movementarian.org>
6890 * text2.C: make incDepth() use parlist
6892 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6894 * undo_funcs.C (firstUndoParagraph): adjust
6896 * text3.C (gotoInset): adjust
6897 (dispatch): adjust, and rewrite loop.
6899 * text2.C (init): adjust, and rewrite loop.
6900 (redoParagraphs): adjust
6901 (updateInset): adjust, and rewrite loop.
6902 (deleteEmptyParagraphMechanism): adjust
6904 * tabular.C (LyXTabular): adjust
6905 (SetMultiColumn): adjust
6908 * lyxtext.[Ch] (ownerParagraph): delete function
6909 (ownerParagraphs): new function returns a ParagraphList.
6911 * BufferView.C (removeAutoInsets): adjust
6912 (insertErrors): adjust
6913 (setCursorFromRow): adjust
6915 2003-04-01 Angus Leeming <leeming@lyx.org>
6917 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6920 2003-04-02 John Levon <levon@movementarian.org>
6926 * text_funcs.C: make transposeChars a free function
6928 * lyxrow_funcs.C: remove wrong comment
6930 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * rowpainter.C: adjust
6938 * lyxrow_funcs. [Ch]: new files
6940 * lyxrow.[Ch]: remove next and previous pointers
6941 (next,previous): remove accessor functions
6942 (isParEnd): move to lyxrow_funcs
6943 (lastPos): move to lyxrow_funcs
6944 (nextRowIsAllInset): move to lyxrow_funcs
6945 (lastPrintablePos): move to lyxrow_funcs
6946 (numberOfSeparators): move to lyxrow_funcs
6947 (numberOfHfills): move to lyxrow_funcs
6948 (numberOfLabelHfills): move to lyxrow_funcs
6949 (hfillExpansion): move to lyxrow_funcs
6953 * bufferview_funcs.C (toggleAndShow): adjust
6955 * RowList.h: Remove class RowList from file leave just a
6958 * RowList.C: delete file
6960 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6963 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * text3.C (cursorPrevious): adjust
6966 (cursorNext): adjust
6969 * text2.C (redoHeightOfParagraph): adjust
6970 (redoDrawingOfParagraph): adjust
6973 * text.C (breakParagraph): adjust
6974 (insertChar): adjust
6977 * rowpainter.C (RowPainter): adjust
6978 (leftMargin): simplify and adjust
6979 (most rowpainter functions): adjust.
6981 * rowpainter.h: store the row as RowList::iterator not as Row*
6983 * lyxcursor.C (row): taka RowList::iterator as arg
6986 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6989 2003-04-01 Angus Leeming <leeming@lyx.org>
6991 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6992 stuff like bool Bool.
6994 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6996 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6999 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7001 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7004 * lyxtext.h (rows): drop one version and leve a const variant that
7005 returns a RowList::iterator.
7007 2003-03-31 Angus Leeming <leeming@lyx.org>
7009 * text.C (fill): ensure that the signature is the same as that in the
7012 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7014 * text2.C (redoParagraphs): adjust
7015 (updateCounters): adjust
7016 (checkParagraph): adjust
7017 (getColumnNearX): adjust and reformat a bit.
7019 * text.C (top_y): adjust
7021 (leftMargin): adjust
7022 (prepareToPrint): adjust
7024 (getRowNearY): adjust
7026 * lyxtext.h: make rowlist_ mutable.
7028 * RowList.h: add const_iterator
7029 * RowList.C: adjust for RowList::const_iterator.
7031 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7034 2003-03-31 John Levon <levon@movementarian.org>
7037 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7039 * lyx_main.C: set default fonts from using lyx_gui funcs
7041 * exporter.C: pdf_mode moved from lyxrc
7044 * lyxfunc.C: changes from above
7046 2003-03-31 John Levon <levon@movementarian.org>
7048 * lyx_main.C: fix to the last fix
7050 2003-03-31 John Levon <levon@movementarian.org>
7052 * bufferlist.C: "Load original" -> "Load Original"
7058 * format.C: more Alert cleanups
7060 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7062 * text2.C (removeParagraph): make it take a RowList::iterator as
7064 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7065 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7067 * text.C (anchor_row): make it take a RowList::iterator as arg,
7069 (computeBidiTables): make it take a const reference to Row instead
7070 of Row pointer, adjust.
7071 (leftMargin): make it take a RowList::iterator as arg, adjust.
7072 (rowBreakPoint): adjust
7073 (breakAgainOneRow): make it take a RowList::iterator as arg,
7075 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7077 * bufferview_funcs.C (toggleAndShow): adjust
7079 2003-03-30 John Levon <levon@movementarian.org>
7083 * boost-inst.C: moved to support
7085 * several files: changes as a result
7087 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7089 * text2.C (LyXText): adjust.
7091 (removeRow): make it take a RowList::iterator as arg, adjust.
7092 (fullRebreak): adjust
7093 (deleteEmptyParagraphMechanism): adjust
7094 (clearPaint): adjust
7097 * text.C (top_y): adjust
7098 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7099 (breakAgain): make it take a RowList::iterator as arg, adjust.
7100 (breakParagraph): adjust
7101 (insertChar): adjust
7104 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7105 need_break_row, and refresh_row.
7107 * text3.C (dispatch): adjust
7109 * text2.C (checkParagraph): adjust
7111 (setCursorFromCoordinates): adjust
7113 * text.C (top_y): adjust
7115 (getRow): make it return a RowList::iterator, adjust
7116 (getRowNearY): make it return a RowList::iterator, adjust
7118 * text2.C (init): adjust
7119 (insertRow): remove function
7120 (insertParagraph): adjust
7121 (redoParagraphs): adjust
7122 (fullRebreak): adjust
7123 (updateCounters): adjust
7125 * text.C (top_y): rewrite to use RowList iterators.
7127 (setHeightOfRow): rewrite to sue RowList iterators.
7128 (appendParagraph): adjust
7129 (breakAgain): adjust
7130 (breakAgainOneRow): adjust
7131 (breakParagraph): adjust
7133 (getRowNearY): adjust, and remove commented code.
7135 * lyxtext.h (firstRow): delete function
7136 (lastRow): delete function
7137 (rows): new function (const and non-const versions.)
7138 (insertRow): delete function
7140 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7142 2003-03-29 John Levon <levon@movementarian.org>
7144 * BufferView_pimpl.C: always update scrollbar top
7145 because pasting text when we're anchored could mean we
7146 miss an update altogether
7148 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * text2.C (init): use rowlist_.end() and not 0.
7151 (insertRow): change to take a RowList::iterator as arg, adjust
7153 (insertParagraph): change to take a RowList::iterator as arg,
7155 (redoParagraphs): remove some debug msgs.
7157 * text.C (appendParagraph): change to take a RowList::iterator
7158 arg, adjust for this.
7159 (breakAgain): add an assert
7160 (breakAgainOneRow): ditto
7162 2003-03-29 John Levon <levon@movementarian.org>
7164 * text2.C: do not clear selection after inc/decDepth
7167 2003-03-29 John Levon <levon@movementarian.org>
7170 * buffer.C: fix broken strerrors according to Lars
7172 2003-03-29 John Levon <levon@movementarian.org>
7174 * converters.C: more Alert cleanups
7176 2003-03-29 John Levon <levon@movementarian.org>
7178 * bufferview_funcs.C: remove pointless Alert
7180 * buffer.C: fix confusing error message when
7181 a template is chmoded 000
7183 2003-03-29 John Levon <levon@movementarian.org>
7187 * BufferView_pimpl.C: Alert fixes
7191 * tabular-old.C: remove unused table compat reading
7193 2003-03-29 John Levon <levon@movementarian.org>
7198 * lyx_cb.C: more Alert cleanups
7200 * lyxfunc.C: don't allow chktex if not latex document
7202 2003-03-29 John Levon <levon@movementarian.org>
7206 * buffer.C: warnings pushed down from support/,
7209 2003-03-29 John Levon <levon@movementarian.org>
7211 * lyxfunc.C: safety check for C-r (revert)
7213 2003-03-29 John Levon <levon@movementarian.org>
7216 * bufferlist.C: several UI fixes using Alert::prompt.
7217 Fix the pointless looping quit code. Fix stupid revert
7222 * lyx_cb.C: use Alert::prompt
7224 * lyx_main.C: remove a silly question
7226 * lyxfunc.C: remove a couple of silly questions,
7229 2003-03-28 John Levon <levon@movementarian.org>
7231 * text2.C: fix bug 974 (End on empty par)
7233 2003-03-28 John Levon <levon@movementarian.org>
7235 * BufferView_pimpl.C:
7237 * lfuns.h: remove do-nothing math greek lfuns
7239 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7241 * lyxgluelength.h (isValidGlueLength): add default arg on
7242 parameter 2. Remove default arg from friend in class.
7244 * lyxlength.h (isValidLength): add default arg on parameter 2.
7245 Remove default arg from friend in class.
7247 * text2.C (LyXText): adjust, initialize refresh_row.
7251 (insertParagraph): adjst
7252 (redoParagraphs): adjust
7253 (fullRebreak): adjust
7254 (updateCounters): adjust
7255 (deleteEmptyParagraphMechanism): first attempt at fixing a
7258 * text.C (top_y): adjust
7259 (setHeightOfRow): adjust
7261 (getRowNearY): adjust
7263 * lyxtext.h: include RowList.h
7264 (~LyXText): not needed anymore, deleted.
7265 (firstRow): modify for RowList
7266 (lastRow): new function
7267 Delete firstrow and lastrow class variables, add a Rowlist
7268 rowlist_ class variable.
7270 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7273 * RowList.C (insert): fix case where it == begin().
7275 2003-03-26 Angus Leeming <leeming@lyx.org>
7277 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7278 the thesaurus dialog.
7280 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7282 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7284 * RowList.[Ch]: new files
7286 * ParagraphList.C (erase): handle the case where it == begin
7289 2003-03-25 John Levon <levon@movementarian.org>
7293 * aspell.C: add new aspell support
7296 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7299 2003-03-25 Angus Leeming <leeming@lyx.org>
7302 * LyXAction.C (init): new LFUN_INSET_INSERT.
7304 * BufferView_pimpl.C (dispatch): split out part of the
7305 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7307 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7310 2003-03-25 Angus Leeming <leeming@lyx.org>
7312 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7314 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7317 * text3.C: remove useless row->height(0)
7319 2003-03-25 John Levon <levon@movementarian.org>
7323 * text3.C: rename the refreshing stuff to better names
7325 2003-03-24 John Levon <levon@movementarian.org>
7327 * BufferView_pimpl.h:
7328 * BufferView_pimpl.C: update layout choice on a mouse
7331 2003-03-23 John Levon <levon@movementarian.org>
7333 * Makefile.am: fix commandtags.h reference
7335 2003-03-22 John Levon <levon@movementarian.org>
7337 * BufferView_pimpl.C:
7342 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7344 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7347 * text.C: take the rtl methods out of line
7349 2003-03-21 André Pönitz <poenitz@gmx.net>
7351 * metricsinfo.[Ch]: new files containing structures to be passed around
7352 during the two-phase-drawing...
7354 2003-03-21 André Pönitz <poenitz@gmx.net>
7356 * lyxtextclass.C: read 'environment' tag.
7358 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7360 * text2.C (removeRow): fix bug 964
7362 2003-03-20 John Levon <levon@movementarian.org>
7366 * text2.C: paint cleanups. Inset::update() dropped font
7369 2003-03-19 John Levon <levon@movementarian.org>
7371 * lyxfunc.C: only fitcursor/markDirty if available()
7373 2003-03-19 John Levon <levon@movementarian.org>
7375 * commandtags.h: rename to ...
7377 * lfuns.h: ... this, and renumber / cleanup
7379 2003-03-19 John Levon <levon@movementarian.org>
7381 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7382 fit the cursor after an lfun
7386 * BufferView_pimpl.h:
7387 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7389 * LyXAction.C: layout-character should have ReadOnly
7391 * ParagraphParameters.C:
7393 * bufferview_funcs.C:
7400 * undo_funcs.C: changes from above
7402 2003-03-18 John Levon <levon@movementarian.org>
7404 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7405 remove it from update()
7407 * lyxfunc.C: update layout choice after an lfun
7409 * text3.C: remove extra updateLayoutChoice()s
7411 2003-03-18 John Levon <levon@movementarian.org>
7413 * text.C: top_y change means full repaint, fix
7414 a drawing bug with cursor movement
7416 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7420 * text2.C: anchor row on setCursor
7422 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7424 * lyxtext.h: remove almost all mutable keywords
7427 * text3.C: remove const keywords accordingly
7429 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7433 (TeXEnvironment): ditto
7436 2003-03-17 John Levon <levon@movementarian.org>
7438 * text.C (rowBreakPoint): remove attempt to fix displayed
7439 math insets inside a manual label
7441 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * lyxtext.h: remove BufferView* as first arg from almost all class
7445 * other files: adjust.
7447 2003-03-17 John Levon <levon@movementarian.org>
7451 * text2.C: more paint cleanups
7453 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7456 * rowpainter.C: remove "smart" background painting code
7458 2003-03-16 John Levon <levon@movementarian.org>
7463 * text3.C: add helper functions for setting refresh_row/y
7465 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7467 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7468 newline inset which *can* get inserted in the pass_thru layouts.
7469 This is primarily for literate documents.
7471 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7473 * buffer.C: increment LYX_FORMAT to 223
7475 2003-03-14 André Pönitz <poenitz@gmx.net>
7477 * textclass.h: prepare for environment handling, ws changes
7478 * lyxlayout.C: read latexheader and latexfooter tags
7480 2003-03-14 John Levon <levon@movementarian.org>
7482 * text2.C: rewrite ::status() a bit
7484 2003-03-13 John Levon <levon@movementarian.org>
7486 * lyxtext.h: add some docs
7488 2003-03-13 John Levon <levon@movementarian.org>
7493 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7495 2003-03-13 John Levon <levon@movementarian.org>
7497 * text3.C: fix appendix redrawing
7499 2003-03-13 John Levon <levon@movementarian.org>
7501 * text.C (setHeightOfRow):
7503 * rowpainter.C: make appendix mark have the text
7504 "Appendix" so the user knows what it is
7507 * LColor.C: s/appendixline/appendix/ from above
7509 2003-03-13 John Levon <levon@movementarian.org>
7511 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7513 * text.C: fix a getChar(pos) bug properly
7515 2003-03-13 Angus Leeming <leeming@lyx.org>
7518 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7519 Probably only temporary. Let's see how things pan out.
7521 * BufferView.C (unlockInset):
7522 * BufferView_pimpl.C (fitCursor):
7523 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7525 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7526 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7528 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7529 new functions that convert ParagraphParameters to and from a string.
7531 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7532 BufferView::Pimpl's dispatch.
7533 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7535 2003-03-13 André Pönitz <poenitz@gmx.net>
7539 * factory.C: make it aware of InsetEnv
7541 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7543 * text2.C (setCursor): never ask for one past last
7544 (setCursor): add some debugging messages.
7546 * text.C (singleWidth): never ask for one past last
7547 (singleWidth): ditto
7549 (rightMargin): ditto
7550 (rowBreakPoint): ditto
7551 (setHeightOfRow): ditto
7552 (prepareToPrint): ditto
7554 * rowpainter.C (paintBackground): never ask for one past last
7555 (paintText): never ask for one past last
7557 * paragraph_pimpl.C (getChar): make the assert stricter, never
7558 allow the one past last pos to be taken
7560 * paragraph.C (getChar): ws changes only
7562 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7563 (numberOfSeparators): ditto
7564 (numberOfHfills): ditto
7566 2003-03-12 John Levon <levon@movementarian.org>
7572 * paragraph_funcs.C: fix per-buffer authorlists
7574 2003-03-12 John Levon <levon@movementarian.org>
7576 * text.C: fix newline in right address
7578 2003-03-12 Angus Leeming <leeming@lyx.org>
7580 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7581 duplicate those in LyXFunc::dispatch.
7585 * ToolbarDefaults.C:
7586 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7587 Add LFUN_FONTFREE_UPDATE.
7589 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7590 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7592 * bufferview_func.[Ch]: several new functions to facilliate
7593 transfer of data to and from the character dialog.
7595 2003-03-12 John Levon <levon@movementarian.org>
7600 * paragraph_funcs.C:
7601 * paragraph_pimpl.C:
7605 * text3.C: remove META_NEWLINE in favour of an inset
7608 * rowpainter.C: remove paintNewline (done by inset)
7610 2003-03-12 John Levon <levon@movementarian.org>
7612 * paragraph_pimpl.C: complain about bad getChar()s
7613 for a while at least
7615 2003-03-12 John Levon <levon@movementarian.org>
7618 * buffer.C: move paragraph read into a separate function,
7619 a little renaming to reflect that.
7622 * bufferparams.C: remove the author_ids map, not necessary now
7625 * factory.C: moved Buffer::readInset to here
7627 * paragraph_funcs.h:
7628 * paragraph_funcs.C: readParagraph free function moved from
7631 * tabular.C: name change
7633 2003-03-12 John Levon <levon@movementarian.org>
7636 * ParagraphParameters.C: move par params input to
7639 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7640 behave like a normal read from the stream wrt reading
7641 a line vs. a \\token
7643 2003-03-12 John Levon <levon@movementarian.org>
7646 * ParagraphParameters.h:
7647 * ParagraphParameters.C: move output code to a
7650 2003-03-12 John Levon <levon@movementarian.org>
7652 * BufferView.C (insertLyXFile):
7655 * tabular.C: use a parlist iterator for creating the
7658 2003-03-12 John Levon <levon@movementarian.org>
7660 * buffer.C: make current_change static local not
7663 2003-03-12 John Levon <levon@movementarian.org>
7665 * buffer.C: fix insertStringAsLines for change tracking
7667 2003-03-12 John Levon <levon@movementarian.org>
7674 * bufferparams.C: move author list into params. Rename some
7675 functions. Move the header reading into a separate token
7676 loop. Move the header token reading into BufferParams.
7678 2003-03-12 John Levon <levon@movementarian.org>
7680 * changes.C: put debug inside lyxerr.debugging() checks
7682 2003-03-11 André Pönitz <poenitz@gmx.net>
7684 * factory.C: make it aware of InsetHFill
7686 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7688 * buffer.C (latexParagraphs): move function from here...
7689 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7692 2003-03-10 Angus Leeming <leeming@lyx.org>
7694 * LyXAction.C (init): fix bug in poplating array with multiple entries
7695 with the same LFUN (spotted by JMarc).
7697 2003-03-10 John Levon <levon@movementarian.org>
7700 * text2.C: move getColumnNearX() near its
7703 2003-03-10 John Levon <levon@movementarian.org>
7705 * text.C: fix break before a minipage
7707 2003-03-10 John Levon <levon@movementarian.org>
7709 * text.C: fix the last commit
7711 2003-03-09 John Levon <levon@movementarian.org>
7715 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7716 bug 365 (don't break before insets unless needed). Don't
7717 return a value > last under any circumstances.
7719 2003-03-09 Angus Leeming <leeming@lyx.org>
7721 * BufferView_pimpl.C (trackChanges, dispatch): call
7722 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7724 2003-03-09 Angus Leeming <leeming@lyx.org>
7726 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7727 than Dialogs::showAboutlyx().
7729 2003-03-09 Angus Leeming <leeming@lyx.org>
7731 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7732 than Dialogs::showTabularCreate().
7734 2003-03-09 John Levon <levon@movementarian.org>
7738 * text2.C: 3rd arg to nextBreakPoint was always the same.
7741 2003-03-08 John Levon <levon@movementarian.org>
7748 * text2.C: Remove the "main" bit from the "main body"
7751 2003-03-08 John Levon <levon@movementarian.org>
7753 * text.C (leftMargin): The left margin of an empty
7754 manual label paragraph should not include the label width
7757 * text.C (prepareToPrint): don't attempt to measure hfills
7758 for empty manual label paragraphs - the answer should be 0
7760 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * CutAndPaste.C: remove commented code and reindent.
7764 2003-03-08 John Levon <levon@movementarian.org>
7767 * lyxfunc.C: move reloadBuffer()
7770 * BufferView.C: to here
7772 * lyxvc.C: add comment
7775 * vc-backend.C: call bv->reload() to avoid
7776 getStatus() check on MENURELOAD
7778 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7780 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7781 to an old format .dep file.
7783 2003-03-07 Angus Leeming <leeming@lyx.org>
7785 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7786 when the LFUN_MOUSE_RELEASE should have been handled by
7787 inset->localDispatch.
7789 2003-03-07 Angus Leeming <leeming@lyx.org>
7791 * BufferView_pimpl.C (dispatch):
7792 * LyXAction.C (init):
7793 * ToolbarDefaults.C (init):
7795 * lyxfunc.C (getStatus):
7796 remove LFUN_INSET_GRAPHICS.
7798 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7800 2003-03-07 Angus Leeming <leeming@lyx.org>
7803 * LyXAction.C (init):
7804 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7806 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7809 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7811 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7812 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7814 2003-03-07 Angus Leeming <leeming@lyx.org>
7816 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7819 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7821 * ParagraphList.C (front): new function
7824 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7826 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7827 and top_row_offset_. removed var first_y.
7829 * text2.C (LyXText, removeRow):
7831 * BufferView_pimpl.C:
7832 use these methods instead of using first_y
7834 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7836 * text2.C (pasteSelection): adjust for checkPastePossible
7838 * CutAndPaste.C: remove Paragraph * buf and replace with
7839 ParagraphList paragraphs.
7840 (DeleteBuffer): delete
7841 (cutSelection): change the tc type to textclass_type
7842 (copySelection): change the tc type to textclass_type
7843 (copySelection): adjust for ParagraphList
7844 (pasteSelection): change the tc type to textclass_type
7845 (pasteSelection): adjust for Paragraphlist
7846 (nrOfParagraphs): simplify for ParagraphList
7847 (checkPastePossible): simplify for ParagraphList
7848 (checkPastePossible): remove unused arg
7850 * ParagraphList.C (insert): handle the case where there are no
7853 * CutAndPaste.h: make CutAndPaste a namespace.
7855 * text3.C (dispatch): adjust
7857 * text.C (breakParagraph): add a ParagraphList as arg
7859 * paragraph_funcs.C (breakParagraph): change to take a
7860 BufferParams and a ParagraphList as args.
7861 (breakParagraphConservative): ditto
7862 (mergeParagraph): ditto
7863 (TeXDeeper): add a ParagraphList arg
7864 (TeXEnvironment): ditto
7867 * buffer.C (readLyXformat2): adjust
7868 (insertStringAsLines): adjust
7869 (latexParagraphs): adjust
7871 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7872 (cutSelection): adjust
7873 (pasteSelection): adjust
7875 * BufferView_pimpl.C (insertInset): adjust
7877 2003-03-05 Angus Leeming <leeming@lyx.org>
7880 * LyXAction.C (init):
7881 * BufferView_pimpl.C (dispatch):
7882 * lyxfunc.C (getStatus):
7883 remove LFUN_CHILD_INSERT.
7885 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7887 2003-03-05 Angus Leeming <leeming@lyx.org>
7890 * LyXAction.C (init):
7891 * src/factory.C (createInset):
7892 * lyxfunc.C (getStatus):
7893 * text3.C (dispatch):
7894 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7896 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7898 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7900 * ParagraphList.C (insert): handle insert right before end()
7901 (erase): fix cases where it can be first or last paragraph.
7903 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7905 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7906 Paragraph::next and Paragraph::previous
7909 * text.C (breakParagraph): adjust
7911 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7912 BufferParams& as arg.
7913 (breakParagraph): use ParagraphList::insert
7914 (breakParagraphConservative): take a Buffer* instead of a
7915 BufferParams& as arg.
7916 (breakParagraphConservative): use ParagraphList::insert.
7918 * buffer.C (insertStringAsLines): un-const it
7919 (insertStringAsLines): adjust
7921 * ParagraphList.C (insert): new function
7923 * CutAndPaste.C (pasteSelection): adjust
7925 * text.C (backspace): adjust
7927 * tabular.C (SetMultiColumn): adjust
7929 * CutAndPaste.C (cutSelection): adjust
7930 (pasteSelection): adjust
7932 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7933 Buffer const * as arg
7935 * ParagraphList.C (erase): new function
7936 * paragraph_funcs.C (mergeParagraph): use it
7937 (mergeParagraph): make it take a Buffer* instead of a
7938 BufferParams* as arg
7940 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7942 (breakParagraphConservative): ditto
7944 * paragraph.h: remove the breakParagraph friend
7946 * paragraph.C (eraseIntern): new function
7947 (setChange): new function
7949 * paragraph_funcs.C (mergeParagraph): make it take a
7950 ParagraphList::iterator instead of a Paragraph *, adjust
7953 * paragraph.h: move an #endif so that the change tracking stuff
7954 also works in the NO_NEXT case.
7956 2003-03-04 Angus Leeming <leeming@lyx.org>
7959 * LyXAction.C: new LFUN_INSET_MODIFY.
7961 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7962 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7964 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7966 * several files: ws changes only
7968 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7969 (TeXEnvironment): ditto
7972 * buffer.C (makeLaTeXFile): adjust
7973 (latexParagraphs): make it take ParagraphList::iterator as args
7975 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * buffer.C (latexParagraphs): adjust
7979 * paragraph.C (TeXOnePar): move function...
7980 (optArgInset): move function...
7981 (TeXEnvironment): move function...
7982 * paragraph_pimpl.C (TeXDeeper): move function...
7983 * paragraph_funcs.C: ...here
7985 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7987 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7989 * buffer.C (readInset): remove compability code for old Figure and
7992 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7994 * buffer.C: ws changes
7997 * BufferView_pimpl.C: ditto
8000 * bufferlist.h: ditto
8004 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8006 * converter.[Ch]: split into itself +
8009 * Makefile.am: += graph.[Ch] + format.[Ch]
8016 * lyxrc.C: added #include "format.h"
8018 2003-02-27 Angus Leeming <leeming@lyx.org>
8020 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8023 * factory.C (createInset): add "label" to the factory.
8025 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8026 string and do no more.
8028 2003-02-27 Angus Leeming <leeming@lyx.org>
8031 * LyXAction.C (init):
8032 * factory.C (createInset):
8033 * BufferView_pimpl.C (dispatch):
8034 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8036 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8038 * lyxfunc.C (dispatch):
8039 * text3.C (dispatch): pass name to params2string.
8041 2003-02-26 Angus Leeming <leeming@lyx.org>
8043 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8045 Rearrange the ~includes. Strip out the unnecessary ones.
8047 * factory.C (createInset): reformat.
8048 create new insets for the various LFUN_XYZ_APPLY lfuns.
8050 2003-02-26 John Levon <levon@movementarian.org>
8053 * lyxrow.C: add isParStart,isParEnd helpers
8055 * paragraph.h: make isInserted/DeletedText take refs
8057 * paragraph_funcs.h:
8058 * paragraph_funcs.C: remove #if 0'd code
8063 * text.C: use lyxrow helpers above.
8064 Move draw and paint routines to RowPainter.
8065 Make several methods use refs not pointers.
8066 Make backgroundColor() const.
8067 Add markChangeInDraw(), isInInset().
8068 Merge changeRegionCase into changeCase.
8069 Make workWidth() shouldn't-happen code into an Assert.
8072 * rowpainter.C: new class for painting a row.
8075 * vspace.C: make inPixels take a ref
8077 2003-02-26 Angus Leeming <leeming@lyx.org>
8079 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8082 2003-02-25 John Levon <levon@movementarian.org>
8084 * ispell.C: give the forked command a more accurate name
8086 2003-02-22 John Levon <levon@movementarian.org>
8089 * toc.C: make TocItem store an id not a Paragraph *
8092 2003-02-21 Angus Leeming <leeming@lyx.org>
8094 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8095 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8096 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8097 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8098 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8099 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8101 * BufferView_pimpl.C (dispatch):
8102 * LyXAction.C (init):
8103 * factory.C (createInset):
8104 * lyxfunc.C (getStatus, dispatch):
8105 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8107 2003-02-21 Angus Leeming <leeming@lyx.org>
8109 * BufferView_pimpl.C (MenuInsertLyXFile):
8110 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8111 * lyxfunc.C (menuNew, open, doImport):
8112 no longer pass a LyXView & to fileDlg.
8114 2003-02-21 Angus Leeming <leeming@lyx.org>
8116 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8117 * LyXAction.C: change, BIBKEY to BIBITEM.
8118 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8119 Change InsetBibKey to InsetBibitem.
8120 Change BIBKEY_CODE to BIBITEM_CODE.
8121 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8122 * factory.C: replace insetbib.h with insetbibitem.h.
8123 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8124 * paragraph.C: replace insetbib.h with insetbibitem.h.
8125 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8126 Change bibkey() to bibitem().
8127 * text.C: remove insetbib.h.
8128 * text2.C: replace insetbib.h with insetbibitem.h.
8129 change bibkey() to bibitem().
8130 * text3.C: remove insetbib.h.
8131 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8133 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8135 * lyxrc.C (output): enclose user email in quotes (in case there are
8138 2003-02-18 John Levon <levon@movementarian.org>
8140 * buffer.h: add std::
8142 2003-02-17 John Levon <levon@movementarian.org>
8148 * pspell.C: reworking. Especially in ispell, a large
8149 number of clean ups and bug fixes.
8151 * lyxfunc.C: fix revert to behave sensibly
8153 2003-02-17 André Pönitz <poenitz@gmx.net>
8156 * commandtags.h: new LFUN_INSERT_BIBKEY
8166 * paragraph_func.C: remove special bibkey handling
8168 2003-02-17 John Levon <levon@movementarian.org>
8170 * text.C (Delete): fix case where delete at the end of
8171 the very first paragraph would not merge the pars
8173 2003-02-17 John Levon <levon@movementarian.org>
8175 * lyxrow.C: fix lastPrintablePos()
8177 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8179 * bufferparams.C (writeLaTeX): add a std:here
8181 * buffer.C: and remove a using directive there
8183 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8185 * buffer.C (makeLaTeXFile): move the code that generates the
8188 * bufferparams.C (writeLaTeX): ... in this new method
8190 * LaTeXFeatures.C (getEncodingSet): make const
8191 (getLanguages): make const
8193 * MenuBackend.C (binding): returns the binding associated to this
8195 (add): sets the status of each item by calling getStatus. Adds
8197 (read): add support for OptSubMenu
8198 (expand): remove extra separator at the end of expanded menu
8200 2003-02-15 John Levon <levon@movementarian.org>
8203 * BufferView_pimpl.C:
8205 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8206 inset code that had no actual effect. Remove unneeded status
8209 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8211 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8214 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8216 * text.C (drawLengthMarker): also draw an arrow marker for
8217 symbolic lengths (medskip...)
8219 2003-02-14 John Levon <levon@movementarian.org>
8222 * tabular.C: better method names
8224 2003-02-14 John Levon <levon@movementarian.org>
8226 * BufferView_pimpl.C:
8231 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8232 it's a more accurate name. Remove some pointless uses.
8234 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8236 * text2.C (LyXText): change order of initilizers to shut off
8239 2003-02-14 John Levon <levon@movementarian.org>
8241 * buffer.C: use ParIterator for getParFromID()
8245 * paragraph_pimpl.h:
8246 * paragraph_pimpl.C: remove unused getParFromID()
8248 2003-02-14 John Levon <levon@movementarian.org>
8250 * buffer.C: remove some very old #if 0'd parse code
8252 2003-02-13 John Levon <levon@movementarian.org>
8256 * text2.C: move hfillExpansion(), numberOfSeparators(),
8257 rowLast(), rowLastPrintable(), numberofHfills(),
8258 numberOfLabelHfills() ...
8261 * lyxrow.C: ... to member functions here.
8266 * text.C: remove LyXText::beginningOfMainBody(), and call
8267 p->beginningOfMainBody() directly. Move the check for
8268 LABEL_MANUAL into the latter.
8275 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8281 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8282 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8284 2003-02-13 John Levon <levon@movementarian.org>
8286 * CutAndPaste.C: remove debug
8288 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8290 * paragraph.C (asString): remove two unused variables
8292 * lyxtextclass.C (readTitleType):
8294 (LyXTextClass): handle new members titletype_ and titlename_
8296 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8298 2003-02-09 John Levon <levon@movementarian.org>
8301 * buffer.C: replace hand-coded list with a map for the dep clean
8303 2003-02-08 John Levon <levon@movementarian.org>
8305 * LaTeX.C: consolidate code into showRunMessage() helper
8307 2003-02-08 John Levon <levon@movementarian.org>
8312 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8313 and pass the size in explicitly
8315 * BufferView_pimpl.h:
8316 * BufferView_pimpl.C:
8318 * BufferView.C: add getCurrentChange()
8320 * BufferView_pimpl.h:
8321 * BufferView_pimpl.C: handle change lfuns
8323 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8324 for changes. Mark pasted paragraphs as new.
8326 * support/lyxtime.h:
8327 * support/lyxtime.C:
8328 * DepTable.C: abstract time_t as lyx::time_type
8331 * LColor.C: add colours for new text, deleted text, changebars
8333 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8334 package use "usenames" option.
8338 * LyXAction.C: add change lfuns
8342 * author.C: author handling
8345 * buffer.C: add a per-buffer author list, with first entry as
8346 current author. Handle new .lyx tokens for change tracking. Output
8347 author list to .lyx file. Output dvipost stuff to .tex preamble.
8348 Bump lyx format to 222.
8351 * bufferlist.C: add setCurrentAuthor() to reset current author details
8355 * bufferparams.C: add param for tracking
8357 * bufferview_funcs.C: output change info in minibuffer
8361 * changes.C: add change-tracking structure
8364 * debug.C: add CHANGES debug flag
8367 * lyxfind.C: add code for finding the next change piece
8370 * lyxrc.C: add user_name and user_email
8373 * lyxrow.C: add a metric for the top of the text line
8376 * text.C: implement accept/rejectChange()
8379 * text.C: paint changebars. Paint new/deleted text in the chosen
8380 colours. Strike through deleted text.
8384 * paragraph_pimpl.h:
8385 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8386 in the current change to the insert functions. Rework erase to
8387 mark text as deleted, adding an eraseIntern() and a range-based
8388 erase(). Implement per-paragraph change lookup and
8391 * paragraph_funcs.C: Fixup paste for change tracking.
8393 * tabular.C: mark added row/columns as new.
8395 * text.C: fix rowLast() to never return -1. Don't allow
8396 spellchecking of deleted text. Track transpose changes. Don't
8397 allow paragraph break or merge where appropriate.
8399 * text2.C: leave cursor at end of selection after a cut.
8401 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8403 * text.C (getLengthMarkerHeight):
8404 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8405 visible on screen too.
8407 2003-02-07 John Levon <levon@movementarian.org>
8409 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8411 2003-02-05 Angus Leeming <leeming@lyx.org>
8413 * lyxserver.C (read_ready): revert my patch of 11 September last year
8414 as it sends PC cpu through the roof. Presumably this means that
8415 the lyxserver will no longer run on an Alpha...
8417 2003-01-30 Angus Leeming <leeming@lyx.org>
8419 * factory.C (createInset): create an InsetCommandParam of type "index"
8420 and use it to 'do the right thing'.
8422 * text2.C (getStringToIndex): ensure that cursor position is always
8423 reset to the reset_cursor position.
8425 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8427 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8430 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8434 * lyxfunc.C: Output messages with identical spelling, punctuation,
8437 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8439 * MenuBackend.C (expandFormats): List only viewable export formats
8442 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8445 * lyxfunc.C (getStatus): Make sure that formats other than
8446 "fax" can also be disabled
8448 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8450 * text3.C (dispatch): put the lfuns that insert insets in 3
8451 groups, and call doInsertInset with appropriate arguments.
8452 (doInsertInset): new function, that creates an inset and inserts
8453 it according to some boolean parameters.
8455 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8457 * buffer.C (readFile): remember to pass on 'par' when calling
8458 readFile recursively.
8460 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8462 * MenuBackend.C (expandFormats): add "..." to import formats.
8464 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8466 * paragraph.C (asString): Remove XForms RTL hacks.
8468 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8469 * buffer.C: fix typo
8471 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8473 * Makefile.am (LIBS): delete var
8474 (lyx_LDADD): add @LIBS@ here instead.
8476 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8478 * Clarify the meaning of "wheel mouse jump"
8480 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8482 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8485 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8487 * importer.C (Loaders): do not preallocate 3 elements in the
8488 vector, since one ends up with 6 elements otherwise
8490 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8492 * DepTable.C (write): write the file name as last element of the
8493 .dep file (because it may contain spaces)
8494 (read): read info in the right order
8496 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8498 * paragraph_pimpl.C (simpleTeXBlanks):
8499 (simpleTeXSpecialChars):
8500 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8502 * tabular.C (latex): add some missing case statements. Reindent.
8504 * MenuBackend.C (expandToc): remove unused variable.
8506 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8515 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8518 2003-01-05 John Levon <levon@movementarian.org>
8521 * BufferView.C: add getEncoding()
8524 * kbsequence.C: do not store last keypress
8527 * lyxfunc.C: store last keypress here instead. Pass encoding
8530 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8532 * lyx_main.C (init): remove annoying error message when following
8533 symbolic links (bug #780)
8535 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8537 * text.C (insertChar):
8538 * lyxrc.C (getDescription): remove extra spaces
8540 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * lyxrc.C (getDescription): remove extra spaces
8544 2002-12-20 John Levon <levon@movementarian.org>
8546 * text3.C: hack fix for page up/down across tall rows
8548 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8550 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8553 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8556 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8557 thesaurus is not compiled in
8559 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8561 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8563 2002-12-16 Angus Leeming <leeming@lyx.org>
8566 * lyx_main.C (init): remove override_x_deadkeys stuff.
8568 2002-12-12 John Levon <levon@movementarian.org>
8570 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8571 insert. Only remove shift modifier under strict
8574 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8576 * MenuBackend.C (expandToc): fix crash.
8578 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8580 * MenuBackend.C (expandToc): gettext on float names.
8582 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8584 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8585 implement bool empty() [bug 490]
8587 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8591 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8593 * several files: ws changes
8595 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8597 * text2.C (setCounter): clean up a bit, use boost.format.
8598 (updateCounters): initialize par upon declaration.
8600 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8601 if the layout exists. We do not just store the layout any more.
8602 (SwitchLayoutsBetweenClasses): use boost.format
8604 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8606 * converter.C (convert): if from and to files are the same, use a
8607 temporary files as intermediary
8609 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8612 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8614 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8616 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8618 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * tabular.C (asciiPrintCell): use string(size, char) instead of
8623 * sgml.C (openTag): fix order of arguments to string constructor
8626 * lyxfunc.C (dispatch): use boost.format
8628 * lots of files: change "c" -> 'c'
8630 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8632 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8634 2002-11-25 Angus Leeming <leeming@lyx.org>
8636 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8638 * lyx_main.C (init): compile fix.
8640 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8642 * lyx_cb.C (start): boost.formatify
8643 do not include <iostream>
8645 * lengthcommon.C: ws only
8647 * boost-inst.C,BoostFormat.h: add more explict instantations
8649 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8651 * lots of files: handle USE_BOOST_FORMAT
8653 2002-11-21 John Levon <levon@movementarian.org>
8655 * pspell.C: fix compile
8657 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8659 * lyxfunc.C (dispatch): use boost::format
8663 * lyxfont.C (stateText): use boost::format
8665 * lyx_main.C (LyX): use boost::format
8667 (queryUserLyXDir): ditto
8670 (typedef boost::function): use the recommened syntax.
8672 * importer.C (Import): use boost::format
8674 * debug.C (showLevel): use boost::format
8676 * converter.C (view): use boost::format
8681 * bufferview_funcs.C (currentState): use boost::format
8683 * bufferlist.C (emergencyWrite): use boost::format
8685 * buffer.C (readLyXformat2): use boost::format
8686 (parseSingleLyXformat2Token): ditto
8688 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8690 * LaTeX.C (run): use boost::format
8692 * Chktex.C (scanLogFile): use boost::format
8694 * BufferView_pimpl.C (savePosition): use boost::format
8695 (restorePosition): ditto
8696 (MenuInsertLyXFile): ditto
8698 * BoostFormat.h: help file for explicit instation.
8700 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8702 * tabular.C (latex): Support for block alignment in fixed width
8705 2002-11-17 John Levon <levon@movementarian.org>
8707 * BufferView_pimpl.C:
8709 * lyxfunc.C: split filedialog into open/save
8711 2002-11-08 Juergen Vigna <jug@sad.it>
8713 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8714 by my last patch (hopefully).
8716 2002-11-08 John Levon <levon@movementarian.org>
8725 * toc.C: ParConstIterator, and use it (from Lars)
8727 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8729 * lyxtextclass.[Ch]: revise and add doxygen comments
8731 2002-11-07 John Levon <levon@movementarian.org>
8733 * text.C: fix progress value for spellchecker
8735 * toc.C: fix navigate menu for insetwrap inside minipage
8737 * paragraph_funcs.C: added FIXME for suspect code
8739 2002-11-07 John Levon <levon@movementarian.org>
8741 * BufferView_pimpl.C: fix redrawing of insets
8744 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8746 * text2.C (updateCounters): fix bug 668
8748 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8750 * text3.C (dispatch): Do not make the buffer dirty when moving the
8753 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8755 * vc-backend.C: STRCONV
8758 * text2.C (setCounter): STRCONV
8760 * paragraph.C (asString): STRCONV
8762 * lyxlength.C (asString): STRCONV
8763 (asLatexString): ditto
8765 * lyxgluelength.C (asString): STRCONV
8766 (asLatexString): ditto
8768 * lyxfunc.C (dispatch): STRCONV
8771 * lyxfont.C (stateText): STRCONV
8773 * importer.C (Import): STRCONV
8775 * counters.C (labelItem): STRCONV
8776 (numberLabel): ditto
8777 (numberLabel): remove unused ostringstream o
8782 * bufferview_funcs.C (currentState): STRCONV
8784 * buffer.C (readFile): STRCONV
8785 (asciiParagraph): ditto
8786 (makeLaTeXFile): ditto
8788 * Spacing.C (writeEnvirBegin): STRCONV
8790 * LaTeXFeatures.C (getLanguages): STRCONV
8791 (getPackages): ditto
8793 (getBabelOptions): ditto
8794 (getTClassPreamble): ditto
8795 (getLyXSGMLEntities): ditto
8796 (getIncludedFiles): ditto
8800 (scanAuxFile): ditto
8803 * LString.h: add the STRCONV macros
8805 * BufferView_pimpl.C (savePosition): STRCONV
8806 (restorePosition): ditto
8807 (MenuInsertLyXFile): ditto
8809 * vc-backend.C (scanMaster): change from submatch[...] to
8812 * funcrequest.C: include config.h
8814 * factory.C: include config.h
8816 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8818 * box.C: include config.h
8820 * LaTeX.C (scanAuxFile): change from submatch[...] to
8824 2002-10-25 Angus Leeming <leeming@lyx.org>
8826 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8828 * ispell.[Ch] (setError): new method.
8829 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8830 Use setError() insetead of goto END.
8832 * lyx_cb.C (AutoSave): move out child process into new class
8835 2002-10-30 John Levon <levon@movementarian.org>
8837 * text3.C: make start appendix undoable
8839 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8841 * lyxlength.C (inPixels): Fix returned value.
8843 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8846 2002-10-24 Angus Leeming <leeming@lyx.org>
8848 * lyxgluelength.h: no need to forward declare BufferParams
8849 or BufferView, so don't.
8851 2002-10-21 John Levon <levon@movementarian.org>
8853 * BufferView.C: menuUndo ->undo, redo
8855 * BufferView.h: document, remove dead, make some methods private
8857 * paragraph_funcs.h:
8858 * paragraph_funcs.C:
8859 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8864 * sgml.C: move sgml open/close tag into sgml.C
8866 * bufferview_funcs.h: unused prototype
8869 * lyxfunc.C: remove unused
8872 * text.C: remove unused
8874 2002-10-21 John Levon <levon@movementarian.org>
8878 * BufferView_pimpl.h:
8879 * BufferView_pimpl.C: fix mouse wheel handling based on
8880 patch from Darren Freeman
8882 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8884 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8886 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8888 * lyxlength.C (inPixels): Fix hanfling of negative length.
8889 Fix LyXLength::MU case.
8891 2002-10-16 John Levon <levon@movementarian.org>
8893 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8895 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8897 * converter.C (view): add support for $$i (file name) and $$p
8898 (file path) for the viewer command. If $$i is not specified, then
8899 it is appended to the command (for compatibility with old syntax)
8901 2002-10-14 Juergen Vigna <jug@sad.it>
8903 * undo_funcs.C (textHandleUndo): alter the order in which the
8904 new undopar is added to the LyXText, as we have to set first
8905 the right prev/next and then add it as otherwise the rebuild of
8906 LyXText is not correct. Also reset the cursor to the right paragraph,
8907 with this IMO we could remove the hack in "redoParagraphs()".
8909 2002-10-09 Angus Leeming <leeming@lyx.org>
8911 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8912 to turn off an optimisation if a new inset is to be inserted.
8914 2002-10-11 André Pönitz <poenitz@gmx.net>
8916 * lyxtext.h: make some functions public to allow access
8917 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8919 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8921 * text3.C (dispatch): when changing layout, avoid an infinite loop
8924 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8926 * lyxrc.C (read): treat a viewer or converter command of "none" as
8929 * MenuBackend.C (expandFormats): for an update, also allow the
8930 formats that are not viewable
8932 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8933 script if it is newer than the lyxrc.defaults in user directory
8935 2002-10-07 André Pönitz <poenitz@gmx.net>
8937 * text.C: Vitaly Lipatov's small i18n fix
8939 2002-09-25 Angus Leeming <leeming@lyx.org>
8941 * ispell.h: doxygen fix.
8943 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8945 * buffer.h (readFile): Add a new argument to the method, to allow
8946 reading of old-format templates.
8948 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8950 * toc.C (getTocList): Get TOC from InsetWrap.
8952 2002-09-16 John Levon <levon@movementarian.org>
8954 * lyxfunc.C: check tabular for cut/copy too
8956 2002-09-12 John Levon <levon@movementarian.org>
8961 * factory.C: add header
8963 * paragraph_funcs.h:
8964 * paragraph_funcs.C: cleanup
8966 2002-09-11 John Levon <levon@movementarian.org>
8968 * PrinterParams.h: odd/even default to true
8970 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8972 * PrinterParams.h: update printer parameters for new xforms dialog
8974 2002-09-11 Angus Leeming <leeming@lyx.org>
8976 * lyxserver.C (read_ready): re-write to make it more transparent
8977 and to make it work in coherent fashion under Tru64 Unix.
8979 2002-09-11 André Pönitz <poenitz@gmx.net>
8983 * text3.C: implement LFUN_WORDSEL
8985 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8988 make floatlist_ a boost::shared_ptr<FloatList>
8990 * lyxtextclass.C: include FloatList.h
8991 (LyXTextClass): initialize floatlist_
8992 (TextClassTags): add TC_NOFLOAT
8993 (Read): match "nofloat" to TC_NOFLOAT and use it.
8994 (readFloat): modify call to floatlist_
8998 * FloatList.[Ch] (FloatList): remove commented out float
9000 (erase): new function
9002 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9004 * MenuBackend.C (expandToc): fix crash when there is no document
9007 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9009 * many files: Add insetwrap.
9011 2002-09-09 John Levon <levon@movementarian.org>
9013 * text2.C: remove confusing and awkward depth wraparound
9015 2002-09-09 John Levon <levon@movementarian.org>
9017 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9020 * buffer.C: remove getIncludeonlyList()
9023 * lyxfunc.C: remove headers
9025 2002-09-09 Juergen Vigna <jug@sad.it>
9027 * text.C (getColumnNearX): fix form Michael this is most
9028 probably a cut&paste bug.
9030 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9032 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9034 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9035 references, ws changes.
9037 * text2.C (init): update counters after init
9038 (insertParagraph): no need to set counter on idividual paragraphs.
9039 (setCounter): access the counters object in the textclass object
9040 on in the buffer object.
9041 (updateCounters): ditto
9043 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9044 shared_ptr<Counters> to avoid loading counters.h in all
9046 (LyXTextClass): initialize ctrs_
9047 (TextClassTags): add TC_COUNTER, and ...
9048 (Read): use it here.
9049 (CounterTags): new tags
9050 (readCounter): new function
9051 (counters): new funtion
9052 (defaultLayoutName): return a const reference
9054 * counters.C (Counters): remove contructor
9055 (newCounter): remove a couple of unneeded statements.
9056 (newCounter): simplify a bit.
9057 (numberLabel): some small formatting changes.
9059 * buffer.[Ch]: remove all traces of counters, move the Counters
9060 object to the LyXTextClass.
9062 2002-09-06 Alain Castera <castera@in2p3.fr>
9064 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9065 package to set the horizontal alignment on fixed width columns.
9068 * lyx_sty.h: added tabularnewline macro def.
9070 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9072 2002-09-06 John Levon <levon@movementarian.org>
9074 * LyXAction.C: tooltips for sub/superscript
9076 * MenuBackend.C: a bit more verbose
9078 * lyxfunc.C: tiny clean
9080 * undo_funcs.C: document undo_frozen
9082 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9084 * counters.C (Counters): add missing algorithm counter.
9086 * text2.C (setCounter): lookup the counter with layouts latexname
9087 instead of by section number.
9088 (setCounter): use a hackish way to lookup the correct enum
9090 a float name->type change
9091 reset enum couners with counter name directly instead of depth value.
9093 * counters.C (Counters): remove the push_backs, change to use the
9094 float type not the float name.
9095 (labelItem): remove unused string, float name->type change
9097 * counters.h: don't include vector, loose the enums and sects vectors
9099 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9101 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9102 (Read): add float->TC_FLOAT to textclassTags
9103 (Read): and handle it in the switch
9104 (readFloat): new function
9106 * FloatList.C (FloatList): comment out the hardcoded float
9109 * lyxlayout.h: ws change.
9111 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9113 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9115 2002-09-03 Angus Leeming <leeming@lyx.org>
9117 * BufferView_pimpl.h: qualified name is not allowed in member
9118 declaration: WorkArea & Pimpl::workarea() const;
9120 * factory.C: added using std::endl directive.
9122 * text3.C: added using std::find and std::vector directives.
9124 2002-08-29 André Pönitz <poenitz@gmx.net>
9127 * text2.C: remove unused member number_of_rows
9130 * BufferView2.C: remove file, move contents to...
9131 * BufferView.C: ... here
9133 * BufferView_pimpl.C:
9134 * factory.C: move more inset creation to factory
9136 * vspace.C: avoid direct usage of LyXText, ws changes
9139 don't provide direct access to WorkArea, use two simple
9140 acessors haveSelction() and workHeight() instead
9143 2002-08-29 John Levon <levon@movementarian.org>
9145 * BufferView_pimpl.C (dispatch): do not continue when
9148 2002-08-28 André Pönitz <poenitz@gmx.net>
9150 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9153 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9155 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9157 * buffer.C: increment LYX_FORMAT to 221
9159 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9160 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9162 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9164 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9166 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9168 * factory.C (createInset): use LyXTextClass::floats
9170 * MenuBackend.C (expandFloatListInsert):
9171 (expandFloatInsert):
9174 * text2.C (setCounter):
9176 * LaTeXFeatures.C (useFloat):
9177 (getFloatDefinitions):
9179 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9181 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9182 floatlist_, with accessor floats().
9184 * FloatList.h: remove global FloatList
9186 2002-08-26 André Pönitz <poenitz@gmx.net>
9188 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9192 * BufferView_pimpl.C:
9193 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9195 2002-08-25 John Levon <levon@movementarian.org>
9197 * LyXAction.C: fix margin note description
9199 2002-08-24 John Levon <levon@movementarian.org>
9203 * bufferview_funcs.C:
9205 * undo_funcs.C: cleanups
9207 * lyxfunc.C: disable CUT/COPY when no selection
9209 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9211 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9212 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9214 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9215 Add backward compatibility to "mono", "gray" and "no".
9217 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9219 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9220 (and file_format >= 200).
9222 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9226 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9228 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9230 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9232 * BufferView_pimpl.C:
9239 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9240 inset and code to make it work with the paragraph code. The inset
9241 can be anywhere in the paragraph, but will only do the expected
9242 thing in LaTeX if the layout file contains the parameter line
9244 (or more generally, a nonzero value) for that layout.
9246 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9248 * paragraph.h: remove the declaration of undefined counters class
9251 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9253 * text2.C (setCounter): fixed enumeration mis-count as reported by
9254 Dr. Richard Hawkins.
9256 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * paragraph_funcs.h: remove some unneeded includes
9260 * text.C (backspace): pasteParagraph now in global scipe
9262 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9263 (pasteSelection): ditto
9265 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9266 * paragraph_funcs.C (pasteParagraph): ... here
9268 2002-08-20 André Pönitz <poenitz@gmx.net>
9270 * commandtags.h: new LFUNs for swapping/copying table row/colums
9273 * lyxfunc.C: support for new lfuns
9275 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9278 * buffer.[Ch]: remove NO_COMPABILITY stuff
9280 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9282 * boost.C (throw_exception): new file, with helper function for
9283 boost compiled without exceptions.
9288 * ParameterStruct.h:
9289 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9291 * bufferlist.C (emergencyWriteAll): use boost bind
9293 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9295 * text.C: include paragraph_funcs.h
9296 (breakParagraph): breakParagraph is now in global scope
9298 * paragraph_funcs.[Ch]: new files
9300 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9303 * buffer.C: include paragraph_funcs.h
9304 (insertStringAsLines): breakParagraph is now in global scope
9306 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9309 * CutAndPaste.C: include paragraph_funcs.h
9310 (cutSelection): breakParagraphConservative is now in global scope
9311 (pasteSelection): ditto
9313 * buffer.h: declare oprator== and operator!= for
9314 Buffer::inset_iterator
9316 * bufferlist.C (emergencyWrite): don't use fmt(...)
9318 * text3.C: add using std::endl
9320 * BufferView.C (moveCursorUpdate): remove default arg
9322 2002-08-20 André Pönitz <poenitz@gmx.net>
9324 * buffer.[Ch]: move inline functions to .C
9327 * BufferView_pimpl.C:
9329 * buffer.[Ch]: use improved inset_iterator
9332 * paragraph.[Ch]: write one paragraph at a time
9334 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9336 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9337 style if style is not specified.
9339 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9341 * text2.C (setCounter): when searching for right label for a
9342 caption, make sure to recurse to parent insets (so that a caption
9343 in a minipage in a figure float works) (bug #568)
9345 2002-08-20 André Pönitz <poenitz@gmx.net>
9347 * text3.C: new file for LyXText::dispatch() and helpers
9349 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9351 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9353 2002-08-19 André Pönitz <poenitz@gmx.net>
9356 * text.C: new LyXText::dispatch()
9358 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9360 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9362 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9364 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9367 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9369 * Makefile.am: use $(variables) instead of @substitutions@
9371 2002-08-15 André Pönitz <poenitz@gmx.net>
9374 * BufferView_pimpl.C: streamlining mathed <-> outer world
9378 * LyXAction.C: remove unused LFUN_MATH
9380 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9384 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9386 * paragraph.C (Paragraph): reformat a bit
9387 (cutIntoMinibuffer): use builtin InsetList function instad of
9391 * buffer.C: include boost/bind.hpp, add using std::for_each
9392 (writeFileAscii): use ParagraphList iterators
9393 (validate): use for_each for validate traversal of paragraphs
9394 (getBibkeyList): use ParagraphList iterators
9395 (resizeInsets): use for_each to resizeInsetsLyXText for all
9397 (getParFromID): use ParagraphList iterators
9399 * BufferView2.C (lockInset): use paragraph list and iterators
9401 2002-08-14 John Levon <levon@movementarian.org>
9403 * lyxserver.C: remove spurious xforms include
9405 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9407 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9409 2002-08-13 André Pönitz <poenitz@gmx.net>
9412 * lyxfunc.C: further cleaning
9414 2002-08-13 André Pönitz <poenitz@gmx.net>
9416 * funcrequest.h: new constructor
9418 * funcrequest.C: move stuff here from .h
9421 * BufferView_pimpl.C:
9424 * lyxfunc.C: subsequent changes
9426 * lyxfunc.h: new view() member function
9428 * lyxfunc.C: subsequent changes
9430 2002-08-13 Angus Leeming <leeming@lyx.org>
9433 * BufferView_pimpl.C:
9441 changes due to the changed LyXView interface that now returns references
9442 to member variables not pointers.
9444 2002-08-13 Angus Leeming <leeming@lyx.org>
9446 * WordLangTuple (word, lang_code): return references to strings,
9451 * lyxtext.h: forward-declare WordLangTuple.
9456 * text.C: #include "WordLangTuple.h".
9459 * text.C: (selectNextWordToSpellcheck): constify return type.
9461 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9467 * paragraph_pimpl.h:
9470 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9472 Made updateCounter always count from start of buffer, and removed
9473 second argument (par).
9474 Reverted floats number display to '#'. Perhaps I'll try again when the
9475 code base is sanitized a bit.
9477 2002-08-12 Angus Leeming <leeming@lyx.org>
9479 * buffer.[Ch] (getLabelList): constify.
9481 2002-08-07 André Pönitz <poenitz@gmx.net>
9483 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9485 * funcrequest.h: extension to keep mouse (x,y) position
9487 2002-08-12 Juergen Vigna <jug@sad.it>
9489 * BufferView2.C (insertErrors): forbid undo when inserting error
9492 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9494 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9496 * ParagraphList.[Ch]: new files
9498 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9500 * BufferView2.C (lockInset): ParagraphList changes
9503 * bufferlist.C: ditto
9507 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9509 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9510 unused class variable counter_,
9512 * paragraph.[Ch] (getFirstCounter): delete unused function
9514 * counters.C: include LAssert.h
9515 (reset): add a new function with no arg, change other version to
9516 not have def. arg and to not allow empty arg.
9518 * text2.C (setCounter): remove empty arg from call to Counters::reset
9520 2002-08-11 John Levon <levon@movementarian.org>
9522 * Makefile.am: add WordLangTuple.h
9524 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9526 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9527 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9529 * insets/insettext.C: InsetList changes
9531 * graphics/GraphicsSupport.C (operator()): InsetList changes
9533 * toc.C (getTocList): InsetList changes
9535 * paragraph_pimpl.[Ch]: InsetList changes
9537 * paragraph.[Ch]: InsetList changes
9539 * buffer.C (inset_iterator): InsetList changes
9540 (setParagraph): ditto
9541 * buffer.h (inset_iterator): ditto
9542 * iterators.C (operator++): ditto
9543 * iterators.h: ditto
9545 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9547 * InsetList.[Ch]: new files, most InsetList handling moved out of
9550 * BufferView2.C (removeAutoInsets): InsetList changes
9552 (ChangeInsets): ditto
9554 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9556 * paragraph_pimpl.h (empty): new function
9558 * paragraph.[Ch] (empty): new function
9560 * other files: use the new Paragraph::empty function
9562 2002-08-09 John Levon <levon@movementarian.org>
9564 * lyxtext.h: remove unused refresh_height
9566 2002-08-09 John Levon <levon@movementarian.org>
9573 * paragraph.C: move sgml char escaping out of paragraph
9576 * paragraph.C: remove id setter
9580 * paragraph_pimpl.C: remove dead tex_code_break_column
9582 * bufferview_funcs.C: small cleanup
9584 * lyxfunc.C: remove dead proto
9586 * lyxtext.h: make some stuff private. Remove some dead stuff.
9588 * lyxgluelength.C: make as[LyX]String() readable
9590 2002-08-08 John Levon <levon@movementarian.org>
9595 * ToolbarDefaults.C:
9598 * toc.C: lyxaction cleanup
9600 2002-08-08 John Levon <levon@movementarian.org>
9602 * BufferView2.C: small cleanup
9605 * lyxfind.C: move unnecessary header into the .C
9607 2002-08-08 John Levon <levon@movementarian.org>
9609 * funcrequest.h: just tedious nonsense
9612 * lyx_main.C: cleanups
9615 * vspace.C: remove dead header lyx_main.h
9617 2002-08-07 Angus Leeming <leeming@lyx.org>
9620 * paragraph_pimpl.h:
9621 Forward declare class Counters in paragraph.h by moving the ctrs member
9622 variable into Paragraph::Pimpl.
9623 (counters): new method, returning a reference to pimpl_->ctrs.
9625 * text2.C: ensuing changes.
9627 2002-08-07 John Levon <levon@movementarian.org>
9629 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9631 * BufferView_pimpl.C: announce X selection on double/triple
9634 * lyx_main.C: use correct bool in batch dispatch
9636 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9638 2002-08-07 André Pönitz <poenitz@gmx.net>
9640 * funcrequest.h: new class to wrap a kb_action and its argument
9643 * BufferView_pimpl[Ch]:
9647 * lyxrc.C: subsequent changes
9650 2002-08-07 John Levon <levon@movementarian.org>
9652 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9653 document options change.
9655 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9660 * makefile.am: move counters functionality over from
9661 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9663 2002-08-06 John Levon <levon@movementarian.org>
9665 * WordLangTuple.h: new file for word + language code tuple
9676 * BufferView2.C: use WordLangTuple
9679 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9681 2002-08-06 John Levon <levon@movementarian.org>
9683 * lyx_main.C: fix cmdline batch handling
9685 2002-08-06 André Pönitz <poenitz@gmx.net>
9687 * lyxrc.C: set default for show_banner to true
9689 2002-08-06 John Levon <levon@movementarian.org>
9691 * pspell.C: fix a crash, and allow new aspell to work
9693 2002-08-06 John Levon <levon@movementarian.org>
9696 * kbmap.C: small cleanup
9699 * vspace.C: add const
9701 2002-08-05 John Levon <levon@movementarian.org>
9703 * LyXAction.C: back to tabular-insert
9705 2002-08-04 John Levon <levon@movementarian.org>
9708 * BufferView.C: cosmetic change
9710 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9720 * BufferView2.C: purge all "Lyx" not "LyX" strings
9723 * lyxcursor.C: attempt to add some documentation
9728 * ToolbarDefaults.C:
9729 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9730 merge with LFUN_TABULAR_INSERT
9737 * pspell.C: split up i/pspell implementations into separate
9738 files, many cleanups
9740 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9742 * text2.C: some cleanup
9744 * lyxfunc.C: don't check for isp_command == "none" any more, it
9745 didn't make any sense
9747 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9752 * makefile.am: move counters functionality over
9753 from text2.C/paragraph.[Ch] to counters.[Ch], and
9755 2002-08-02 John Levon <levon@movementarian.org>
9757 * buffer.C: s/lyxconvert/lyx2lyx/
9759 2002-08-02 Angus Leeming <leeming@lyx.org>
9761 * lyxlex.C: revert John's change as it breaks reading of the user
9764 2002-08-02 Angus Leeming <leeming@lyx.org>
9766 * importer.C (Import):
9767 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9768 changes due to LyXView::view() now returning a boost::shared_ptr.
9770 2002-08-02 John Levon <levon@movementarian.org>
9772 * lyxlex.C: small cleanup
9774 2002-08-02 John Levon <levon@movementarian.org>
9776 * text2.C (status): small cleanup, no logic change
9778 2002-08-01 John Levon <levon@movementarian.org>
9781 * buffer.C (writeFile): don't output alerts, caller
9785 * lyx_cb.C: from above
9787 * lyxfunc.C: allow to open non-existent files
9789 2002-07-31 John Levon <levon@movementarian.org>
9791 * lyxserver.C: don't let incidental errors get
9794 2002-07-30 John Levon <levon@movementarian.org>
9796 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9798 2002-07-30 John Levon <levon@movementarian.org>
9801 * lyxserver.C: remove I/O callback too
9803 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9805 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9808 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9810 * many files: strip,frontStrip -> trim,ltrim,rtrim
9812 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9814 * PrinterParams.h: remove extern containsOnly, and include
9815 support/lstrings.h instead.
9817 * LaTeX.C (scanAuxFile): modify because of strip changes
9819 * buffer.C (makeLaTeXFile): ditto
9820 * bufferparams.C (writeFile): ditt
9821 * lyxfont.C (stateText): ditto
9822 * lyxserver.C (read_ready): ditto
9823 * vc-backend.C (scanMaster): ditto
9825 * BufferView_pimpl.h: ws changes
9827 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9829 2002-07-26 André Pönitz <poenitz@gmx.net>
9831 * kb_sequence.C: remove unnedred usings
9833 2002-07-26 Juergen Vigna <jug@sad.it>
9835 * lyxfind.C (LyXReplace): we have to check better if the returned
9836 text is not of theLockingInset()->getLockingInset().
9838 2002-07-25 Juergen Vigna <jug@sad.it>
9840 * lyxfind.C (LyXReplace): don't replace if we don't get the
9843 * undo_funcs.C (createUndo): remove debugging code.
9845 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9847 * buffer.C (parseSingleLyXformat2Token): Use default placement
9848 when reading old floats.
9850 * FloatList.C (FloatList): Change the default placement of figure
9851 and tables to "tbp".
9853 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9855 * MenuBackend.C: using std::max
9857 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9859 * MenuBackend.C (expandToc):
9860 (expandToc2): code moved from xforms menu frontend. It is now
9861 generic and TOCs are transparent to menu frontends.
9863 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * toc.C (getTocList): protect against buf=0
9867 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9868 Menu as first parameter. Now, this calls itself recursively to
9869 expand a whole tree (this will be useful for TOC handling)
9870 (expandFloatInsert): remove 'wide' version of floats
9872 * MenuBackend.h (submenuname): returns the name of the submenu.
9873 (submenu): returns the submenu itself, provided it has been
9874 created by MenuBackend::expand
9876 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9878 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9879 insets which have noFontChange == true. (bug #172)
9881 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9883 * BufferView_pimpl.C: add connection objects and use them...
9886 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9888 * MenuBackend.C (expandLastfiles):
9891 (expandFloatListInsert):
9892 (expandFloatInsert):
9893 (expand): split expand in parts
9895 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9897 * lyx_gui.C: use lyx_gui::exit()
9899 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9901 * LyXAction.C: show the failing pseudo action
9903 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9905 * buffer.C (readFile): Run the lyxconvert script in order to read
9908 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9912 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9914 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9918 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9920 2002-07-22 Herbert Voss <voss@lyx.org>
9923 * lyxlength.[Ch]: add support for the vertical lengths
9925 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9927 * toc.[Ch]: std:: fixes
9929 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * lyxrc.C: do not include lyx_main.h
9933 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9939 * BufferView2.C: include "lyxlex.h"
9942 * bufferparams.h: do not #include "lyxlex.h"
9944 * lyxtextclasslist.C (Add): remove method
9945 (classlist): renamed to classlist_
9947 * paragraph_pimpl.C:
9951 * bufferview_funcs.C:
9956 * toc.C (getTocList): use BufferParams::getLyXTextClass
9958 * toc.C (getTocList): use InsetFloat::addToToc
9960 * toc.[Ch]: new files, containing helper functions to handle table
9963 * lyxfunc.C (dispatch): no need to remove spaces around command
9965 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9966 first command of the sequence; it is not very clever, but I do not
9967 have a better idea, actually
9969 * LyXAction.C (LookupFunc): make sure to remove space at the
9970 beginning and end of the command
9972 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9974 * MenuBackend.C (getMenubar): new method: return the menubar of
9976 (read): treat differently reading of menu and menubar (in
9977 particular, the menubar has no name now)
9978 (Menu::menubar): remove
9980 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9983 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9985 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9986 a bibitem inset in a RTL paragraph.
9988 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9990 * paragraph_pimpl.C: constify
9992 * BufferView_pimpl.C:
9994 * lyxfunc.C: fix dispatch in a nicer way
9996 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9998 * lyxfunc.C (dispatch):
9999 * BufferView_pimpl.C:
10000 * BufferView_pimpl.h:
10002 * BufferView.h: rename Dispatch() to dispatch()
10004 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10006 * lyxlayout.C (Read): honor DependsOn tag
10008 * lyxlayout.[Ch] (depends_on): new method
10010 * version.C.in: update lyx_docversion
10012 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10014 * paragraph.C (validate): remove from here...
10015 * paragraph_pimpl.C (validate): ... and move here
10016 (isTextAt): make it const
10018 * buffer.C (getLists): ws cleanup
10020 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10022 * language.C (read): Use iso8859-1 encoding in latex_lang
10023 (this prevents LyX from crashing when using iso10646-1 encoding).
10025 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10027 * text2.C (toggleInset): if cursor is inside an inset, close the
10028 inset and leave cursor _after_ it
10030 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10032 * lyxfunc.C: move minibuffer completion handling out of here
10034 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView_pimpl.C:
10037 * LaTeX.C: fix dispatch calls
10039 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10041 * text.C (drawChars): Fix Arabic text rendering.
10043 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10047 * lyxfunc.C: remove message-push/pop
10051 * lyxfunc.C: rationalise some code by removing verboseDispatch
10052 in favour of a bool argument to dispatch()
10054 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10056 * lyx_main.C (init): make sure to read symlinks as absolute paths
10058 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10061 * lyxfunc.C: no need for commandshortcut to be a member
10063 2002-07-15 André Pönitz <poenitz@gmx.net>
10065 * converter.C: add support for $$s (scripts from lib/scripts dir)
10066 * lyx_main.C: white space
10068 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10072 * lyxrc.C: remove second exit confirmation
10074 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10079 * BufferView_pimpl.h:
10080 * BufferView_pimpl.C:
10081 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10083 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10085 * MenuBackend.C (expand): add numeric shortcuts to document menu
10087 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10089 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10091 * lyxfont.C (setLyXFamily):
10098 * buffer.C (asciiParagraph): use ascii_lowercase
10100 2002-07-15 Mike Fabian <mfabian@suse.de>
10102 * lyxlex_pimpl.C (search_kw):
10103 * lyxlex.C (getLongString):
10104 * converter.h (operator<):
10105 * converter.C (operator<):
10106 * buffer.C (parseSingleLyXformat2Token):
10108 * ToolbarDefaults.C (read):
10109 * MenuBackend.C (checkShortcuts):
10111 * LColor.C (getFromGUIName):
10112 (getFromLyXName): use the compare_ascii_no_case instead of
10113 compare_no_case, because in turkish, 'i' is not the lowercase
10114 version of 'I', and thus turkish locale breaks parsing of tags.
10116 2002-07-16 Angus Leeming <leeming@lyx.org>
10118 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10119 now takes a Buffer const & argument.
10121 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10123 * BufferView.C (resize): check there's a buffer to resize
10125 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10127 * lyxfunc.C: remove dead code
10130 * lyxserver.C: use lyx_guii::set_read_callback
10132 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10134 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10135 an inset in a RTL paragraph.
10137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10139 * lyxfunc.C: repaint after a font size update
10141 2002-07-15 André Pönitz <poenitz@gmx.net>
10143 * lyxlength.C: inBP should be able to return negative values
10145 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10147 * lyxfunc.C: use lyx_gui::update_fonts()
10149 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10151 * lyxfunc.C: use lyx_gui::update_color()
10153 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10159 * lyxrc.C: remove file->new asks for name option, and let
10160 buffer-new take an argument
10162 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10164 * BufferView_pimpl.C: remove unneeded extra repaint()
10166 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10168 * LyXAction.C: allow command-sequence with NoBuffer
10170 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10172 2002-07-10 Angus Leeming <leeming@lyx.org>
10174 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10176 2002-07-09 Angus Leeming <leeming@lyx.org>
10178 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10180 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10182 * lengthcommon.h: whitespace
10184 * lyxfunc.C: update scrollbar after goto paragraph
10186 * lyxtext.h: factor out page break drawing, and fix it so
10187 page break/added space paints as selected nicely
10189 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10191 * BufferView_pimpl.C: add FIXMEs, clean up a little
10193 2002-07-09 André Pönitz <poenitz@gmx.net>
10195 * lyxfont.[Ch]: support for wasy symbols
10197 2002-07-08 André Pönitz <poenitz@gmx.net>
10199 * BufferView_pimpl.C: apply John's patch for #93.
10201 2002-07-05 Angus Leeming <leeming@lyx.org>
10203 * BufferView_pimpl.C (buffer): generate previews if desired.
10205 * LColor.h: add "preview" to the color enum.
10207 * LColor.C (LColor): add a corresponding entry to the items array.
10209 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10212 2002-07-05 Angus Leeming <leeming@lyx.org>
10214 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10215 The body of the code is now in the method that is passed an ostream &
10216 rather than a file name.
10217 Pass an additional only_preamble parameter, useful for the forthcoming
10220 2002-07-03 André Pönitz <poenitz@gmx.net>
10222 * lyxfunc.C: simplify getStatus() a bit for math stuff
10224 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10226 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10228 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10230 * text.C (changeRegionCase): do not change case of all the
10231 document when region ends at paragraph end (bug #461)
10233 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10235 * paragraph.C (startTeXParParams):
10236 (endTeXParParams): add \protect when necessary
10238 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10240 * BufferView_pimpl.C (workAreaExpose): remove warning
10242 2002-06-27 Angus Leeming <leeming@lyx.org>
10244 * Makefile.am: add lyxlayout_ptr_fwd.h.
10246 2002-06-26 André Pönitz <poenitz@gmx.net>
10248 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10250 2002-06-25 Angus Leeming <leeming@lyx.org>
10252 * lyxfunc.C (dispatch): Comment out the call to
10253 grfx::GCache::changeDisplay. The method no longer exists now that the
10254 pixmap generation part of the graphics loader has been moved into
10257 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * text2.C: layout as layout
10261 * text.C: layout as layout
10263 * tabular.C (OldFormatRead): layout as layout
10265 * paragraph_pimpl.C (TeXDeeper): layout as layout
10266 (realizeFont): layout as layout
10268 * paragraph.C (writeFile): layout as layout
10269 (validate): layout as layout
10270 (getFont): layout as layout
10271 (getLabelFont): layout as layout
10272 (getLayoutFont): layout as layout
10273 (breakParagraph): layout as layout
10274 (stripLeadingSpaces): layout as layout
10275 (getEndLabel): layout as layout
10276 (getMaxDepthAfter): layout as layout
10277 (applyLayout): layout as layout
10278 (TeXOnePar): layout as layout
10279 (simpleTeXOnePar): layout as layout
10280 (TeXEnvironment): layout as layout
10281 (layout): layout as layout
10282 (layout): layout as layout
10284 * lyxtextclass.C (compare_name): new functor to work with
10285 shared_ptr, layout as layout
10286 (Read): layout as layout
10287 (hasLayout): layout as layout
10288 (operator): layout as layout
10289 (delete_layout): layout as layout
10290 (defaultLayout): layout as layout
10292 * lyxlayout_ptr_fwd.h: new file
10294 * lyxlayout.C (Read): layout as layout
10296 * lyx_cb.C (MenuInsertLabel): layout as layout
10298 * bufferlist.C (newFile): layout as layout
10300 * buffer.C (readLyXformat2): layout as layout
10301 (parseSingleLyXformat2Token): layout as layout
10302 (insertStringAsLines): layout as layout
10303 (asciiParagraph): layout as layout
10304 (latexParagraphs): layout as layout
10305 (makeLinuxDocFile): layout as layout
10306 (simpleLinuxDocOnePar): layout as layout
10307 (makeDocBookFile): layout as layout
10308 (simpleDocBookOnePar): layout as layout
10309 (getLists): layout as layout
10311 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10313 * CutAndPaste.C (cutSelection): layout as layout
10314 (pasteSelection): layout as layout
10315 (SwitchLayoutsBetweenClasses): layout as layout
10317 * BufferView_pimpl.C (Dispatch): layout as layout
10318 (smartQuote): layout as layout
10320 * BufferView2.C (unlockInset): layout as layout
10322 2002-06-24 André Pönitz <poenitz@gmx.net>
10324 * lyxfunc.C: fix #487
10326 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10330 * lyxfunc.C: remove display_shortcuts, show_banner
10332 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10334 * Buffer_pimpl.C: oops, update on resize
10336 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10343 * BufferView.C: use repaint()
10345 * BufferView_pimpl.h:
10346 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10347 as it's a clearer description. Remove superfluous
10350 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10352 * text.C: fix bug 488. Not ideal, but getting
10353 getWord() to work properly for the insets that
10354 matter is more difficult ...
10356 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10358 * BufferView_pimpl.C:
10361 * lyxfunc.C: remove the six million index lyxfuncs to just
10362 one, and DTRT (bug 458)
10364 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10368 * BufferView_pimpl.h:
10369 * BufferView_pimpl.C: clean up resize() stuff,
10370 and unnecessary updateScreen()s
10372 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10376 * BufferView_pimpl.h:
10377 * BufferView_pimpl.C:
10380 * minibuffer.C: remove focus management of workarea,
10381 not needed. Use screen's greyOut()
10383 2002-06-17 Herbert Voss <voss@lyx.org>
10385 * converter.C: (convert) do not post a message, when converting
10386 fails, let the calling function decide what to do in this case
10388 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10390 * lyxfunc.C: tidy up a little
10392 2002-06-16 <alstrup@diku.dk>
10394 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10395 Got rid of FORMS_H_LOCATION include. Now we are
10398 2002-06-15 LyX Development team <lyx@rilke>
10400 * buffer.[Ch] (sgmlOpenTag):
10401 (sgmlCloseTag): Added support for avoiding pernicious mixed
10402 content. Return number of lines written.
10404 (makeLinuxDocFile):
10405 (makeDocBookFile): Fixed calls to sgml*Tag.
10406 Simple white space clean.
10408 (simpleDocBookOnePar): Simple white space clean.
10410 * tabular.[Ch] (docBook): Renamed to docbook and got another
10411 argument to related with the pernicious mixed content.
10413 (docbookRow): Fixed calls for docbook inset method.
10415 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10417 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10418 so it's X11 independent.
10422 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10424 2002-06-15 Lyx Development team <lyx@electronia>
10426 * intl.h: Renamed getTrans to getTransManager.
10428 2002-06-14 Angus Leeming <leeming@lyx.org>
10430 * Makefile.am: nuke forgotten stl_string_fwd.h.
10432 2002-06-12 Angus Leeming <leeming@lyx.org>
10434 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10436 2002-06-13 Angus Leeming <leeming@lyx.org>
10439 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10441 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10443 * kbmap.C (getiso): add support for cyrillic and greek
10445 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10449 * BufferView_pimpl.h:
10450 * BufferView_pimpl.C: move bogus scrolling logic
10453 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C: view->resize() change
10458 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10460 * BufferView_pimpl.C: topCursorVisible
10463 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10467 * lyx_gui.C: move to frontends/
10471 * lyx_main.C: changes from above
10473 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10480 * lyx_main.C: minor tidy
10482 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView_pimpl.h:
10485 * BufferView_pimpl.C:
10487 * BufferView.C: make painter() const,
10490 * BufferView2.C: use screen() accessor
10493 * lyx_main.C: some minor cleanup
10495 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10497 * BufferView_pimpl.h:
10498 * BufferView_pimpl.C: remove enter/leaveView,
10501 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10506 * BufferView_pimpl.h:
10507 * BufferView_pimpl.C: only construct screen once,
10510 * lyxrc.C: remove pointless comment
10512 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10515 * BufferView.C: remove active() and belowMouse()
10517 * BufferView_pimpl.h:
10518 * BufferView_pimpl.C: use workarea() not workarea_,
10519 and make it use a scoped_ptr instead
10521 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10523 * lyx_gui.C: add debug message on BadWindow
10525 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10527 * sp_spell.C: fdopen is not part of the C++ standard.
10529 * paragraph.C (InsetIterator): use >= instead of ==
10531 2002-06-07 Angus Leeming <leeming@lyx.org>
10533 Fixes needed to compile with Compaq cxx 6.5.
10534 * BufferView_pimpl.C:
10541 * lyxtextclasslist.C:
10546 all c-library variables have been moved into namespace std. Wrap
10547 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10552 Add a using std::abs declaration.
10554 * kbmap.h (modifier_pair):
10555 * paragraph.h (InsetTable, InsetList):
10556 * lyxfont.h (FontBits):
10557 type definition made public.
10559 * bufferlist.C (emergencyWriteAll): the compiler complains that
10560 there is more than one possible lyx::class_fun template to choose from.
10561 I re-named the void specialisation as lyx::void_class_fun.
10563 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10565 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10566 the compiler is is unable to find tostr in write_attribute.
10568 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * buffer.C (sgmlError): hide #warning
10572 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10574 * xtl/*: get rid of xtl, which is not in use anyway
10576 * LyXAction.C (init):
10577 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10578 were unimplemented xtl experimentation
10580 2002-06-04 André Pönitz <poenitz@gmx.net>
10582 * lyxfunc.C: disable array operation on simple formulae
10584 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10586 * converter.C: constify a bit
10588 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10590 * lyx_gui.C: check xforms version correctly
10592 2002-04-30 Herbert Voss <voss@lyx.org>
10594 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10597 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10599 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10600 attempt to register it with a VCS)
10602 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10604 * lyx_main.C (init): honor variables LYX_DIR_13x and
10607 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10611 * lyx_main.C: fix a crash on bad command line,
10612 and give a useful exit status on error
10614 * lyxfunc.C (doImport): allow -i lyx to work
10616 2002-03-30 André Pönitz <poenitz@gmx.net>
10618 * lyxfunc.C: mathed font changes
10620 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10635 * trans_mgr.h: srcdocs, and some minor cleanups
10637 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10639 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10640 call getFont all the time)
10642 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10644 * switch from SigC signals to boost::signals
10646 2002-05-29 André Pönitz <poenitz@gmx.net>
10648 * paragraph_pimpl.C (getChar): don't call size() too often...
10650 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10652 * paragraph_pimpl.C (insertChar): do not try to update tables when
10653 appending (pos == size())
10655 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10656 in order to reduce drastically the number of comparisons needed to
10657 parse a large document
10659 2002-05-29 André Pönitz <poenitz@gmx.net>
10665 * textclasslist.[Ch]:
10666 * sp_ispell.h: whitespace change
10668 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10670 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10671 lyxaction directly now.
10673 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10677 * lyxvc.C: remove unused headers
10679 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10686 * undo_funcs.C: some cleanups. Use shared_ptr
10687 and a template for the undo stacks.
10689 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10691 * BufferView_pimpl.h:
10692 * BufferView_pimpl.C:
10699 * text2.C: use key_state/mouse_state
10701 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10703 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10706 * chset.C: change include order
10707 (loadFile): use boost regex and get rid of LRegex and LSubstring
10709 * Makefile.am (BOOST_LIBS): new variable
10710 (lyx_LDADD): use it
10712 * LaTeX.C: change include order.
10713 (scanAuxFile): use boost regex and get rid of LRegex and
10717 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10722 * FontInfo.C: moved to frontends/xforms/
10725 * FontLoader.C: moved into frontends for GUIIzation
10730 * lyxfunc.C: changes from above
10732 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10734 * LColor.C: remove spurious X include
10736 * BufferView_pimpl.C:
10741 * text2.C: move font metrics to frontends/
10743 2002-05-24 Juergen Vigna <jug@sad.it>
10745 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10746 setting the undo_cursor.
10748 * ParagraphParameters.h: include local includes first.
10750 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10752 * BufferView_pimpl.C:
10753 * BufferView_pimpl.h:
10757 * screen.C: move WorkArea into frontends/
10763 * BufferView2.C: move LyXScreen into frontends/
10767 * lyx_gui.C: move lyxlookup into frontends/xforms/
10769 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10772 * BufferView_pimpl.C:
10782 * bufferview_funcs.C:
10795 * vc-backend.C: move LyX/XFormsView into frontends/
10797 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10809 * text2.C: move Painter to frontends/
10811 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * buffer.C: comment out some some code that depend upon lyx_format
10816 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10817 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10819 * buffer.h (NO_COMPABILITY): turn off compability
10821 * ColorHandler.C: include scoped_array.hpp
10823 * font.C: Use more specific smart_ptr header.
10826 * ShareContainer.h: ditto
10827 * lyx_main.h: ditto
10829 * FontInfo.h: ditto
10830 * BufferView_pimpl.h: ditto
10831 * ColorHandler.h: ditto
10833 * kbmap.C (defkey): change call to shared_ptr::reset
10835 2002-05-21 Juergen Vigna <jug@sad.it>
10837 * buffer.C (insertErtContents): fix to insert ert asis if it is
10838 non empty. Skip it completely if it contains only whitespaces.
10840 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10842 * BufferView_pimpl.C:
10843 * BufferView2.C: clear selection on paste (bug 393)
10845 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10847 * DepTable.C: include ctime
10849 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10851 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10853 2002-05-14 Juergen Vigna <jug@sad.it>
10855 * text.C (breakParagraph): fixed function to honor the keepempty
10856 layout in the right maner and also to permit the right breaking
10857 algorithm on empty or non empyt keepempty paragraphs.
10859 * paragraph.C (breakParagraph): we have to check also if the par
10860 is really empty (!size()) for isempty otherwise we do the wrong
10863 2002-05-10 Juergen Vigna <jug@sad.it>
10865 * buffer.[Ch] : The following are only changes to the ert
10866 compatibility read reading old LaTeX layout and font stuff and
10867 convert it to ERTInsets.
10869 * buffer.h: added isErtInset().
10871 * buffer.C (struct ErtComp): add a fromlayout bool to check
10872 if we're inside a LaTeX layout.
10873 (isErtInset): new helper function.
10874 (insertErtContents): look for other ert insets before this one
10875 and insert the contents there, so that we don't have subsequent
10876 ERT insets with nothing between them. This way we create only one
10877 inset with multiple paragraphs. Also check if we don't insert only
10878 spaces ' ' as they are ignored anyway afterwards in the .tex file
10879 so if we have only spaces we will ignore this latex part in the
10881 (parseSingleLyXformat2Token \\layout): better compatibility when
10882 reading layout-latex stuff.
10883 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10885 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10886 stuff after reading the inset only get the information back from
10889 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10891 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10893 * LaTeXFeatures.C (getBabelOptions): New method.
10895 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10897 * BufferView_pimpl.C (Dispatch): work around missing argument for
10900 2002-05-08 Juergen Vigna <jug@sad.it>
10902 * text.C (leftMargin): handle paragraph leftindent.
10904 * paragraph.C (writeFile): write the new \\leftindent tag.
10905 (validate): handle leftindent code.
10906 (TeXEnvironment): handle paragraphleftindent code again.
10908 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10910 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10911 for paragrap_extra indent code and new token \\leftindent.
10912 (latexParagraphs): handle the leftindent as environment.
10914 * ParameterStruct.h: added leftindent support.
10916 * ParagraphParameters.C (leftIndent): added support functions for
10917 the paragraph left indent.
10919 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10922 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10924 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10927 * text.C (computeBidiTables): No bidi in insetERT.
10929 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10932 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10934 * version.C.in: pre 5
10936 2002-05-02 José Matos <jamatos@fep.up.pt>
10937 * buffer.C (makeDocBookFile): white space changes, add newline to
10939 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10941 * tabular.C (docBook): fix typo.
10943 2002-05-03 Juergen Vigna <jug@sad.it>
10945 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10946 change in LyXText as we can not be sure it was not freed.
10947 (drawOneRow): remove unused code.
10949 * text.C (drawInset): redo the calculation of the need_break_row as
10950 it could have a row which was already freed.
10951 (draw): look at the return value of drawInset and return false if
10952 it also returned false.
10953 (paintRowText): look at the return value of draw and return false if
10954 it also returned false.
10956 * lyxtext.h: added bool return type to drawInset() and draw() so that
10957 if we have a change in the row so that the rowbreak has to be redone
10958 we abort drawing as it will be called again.
10960 2002-05-02 Juergen Vigna <jug@sad.it>
10962 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10963 a change in the maintext also if we're inside an inset.
10964 (Dispatch): set the cursor again after a break line and after the
10965 screen has been updated as it could be we're in a different row.
10967 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10968 to set the cursor behind the pargraph with > size().
10969 (setCursor): check also for the same paragraph when checking where
10970 to put the cursor if we have a NFR inset.
10972 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10973 parts of layout read further up as it still was in the wrong
10976 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10978 * screen.C (drawFromTo): change sine fullRebreak always return
10981 * buffer.C (parseSingleLyXformat2Token): reindent some
10983 * BufferView_pimpl.C (update): change since fullRebreak always
10985 (Dispatch): git rid of the last hardcoded "Standard"s.
10987 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10989 * text2.[Ch] (fullRebreak): make it return void now that we always
10992 2002-04-30 Juergen Vigna <jug@sad.it>
10994 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10995 ert compatibility check for "latex" layout.
10997 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10999 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11000 minipages: use col% instead of p%, and also use the current font.
11001 (makeLaTeXFile): Fix use babel condition.
11002 (parseSingleLyXformat2Token): Correct font when reading old floats.
11004 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11006 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11007 inserting list of floats.
11009 2002-04-25 Herbert Voss <voss@lyx.org>
11011 * MenuBackend.C (expand): don't add the graphics extensions to the
11014 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11017 non-existing layout, do not complain if it was the default layout
11018 of the original class (bug #342)
11020 2002-04-24 Juergen Vigna <jug@sad.it>
11022 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11023 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11025 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11027 * buffer.C (getBibkeyList): If using \bibliography, return the
11028 option field with the reference itself. Enables us to provide natbib
11029 support when using \bibliography.
11031 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11033 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11035 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11036 natbib is provided by the LaTeX class.
11038 2002-04-23 Juergen Vigna <jug@sad.it>
11040 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11043 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11045 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11047 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11049 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11050 ensuremath around textordmasculine, textordfeminine and
11053 2002-04-19 Juergen Vigna <jug@sad.it>
11055 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11056 reinitializing the buffer otherwise row-dimensions may be wrong.
11057 (update): reset also the selection cursors if they do exits otherwise
11058 their x/y positions may be wrong.
11060 * text2.C (cursorDown): don't enter the inset if we came from a row
11061 above and are one row over the inset.
11063 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11064 really leaving an inset.
11066 2002-04-18 Juergen Vigna <jug@sad.it>
11068 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11069 of the selected paragraph does not have the selected layout also if
11072 * text2.C (setLayout): fixed bug which did not change last selected
11075 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11076 changed the read and substituted \\end_float with \\end_inset!
11078 * BufferView_pimpl.C (cursorPrevious):
11079 (cursorNext): fixed to make it work with rows heigher than the work
11080 area without moving the cursor only the draw of the row.
11081 (workAreaMotionNotify): fix jumping over high rows.
11083 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11085 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11088 2002-04-16 Juergen Vigna <jug@sad.it>
11090 * text2.C (setCursor): set also the irow().
11091 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11093 (cursorDown): support for locking an inset if the x_fix value goes
11094 inside it. That way I can transverse insets too with cursor up/down.
11096 * lyxrow.h: added irow helper function same as other (i) functions.
11098 * BufferView_pimpl.C (cursorPrevious):
11099 (cursorNext): fixed for insets!
11101 2002-04-15 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11104 position otherwise it is wrong in some cases.
11106 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11107 inside the inset before the call.
11109 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11111 * buffer.[Ch] (getBibkeyList): make it const.
11113 2002-04-12 Juergen Vigna <jug@sad.it>
11115 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11117 * text2.C (getCursorX): new helper function
11118 (setCursor): compute also ix_
11119 (setCursorFromCoordinates): set also ix.
11121 * lyxcursor.h: added ix_ and helper functions.
11123 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11125 * buffer.C (insertStringAsLines): dont break paragraph if the this
11126 paragraph is inside an inset which does not permit it!
11128 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11129 also with no chars on this paragraph.
11130 (paintRowText): only paint stuff if it's inside the workarea!
11132 * paragraph.C (breakParagraph): honor keepempty flag and break the
11133 paragraph always below not above.
11135 * BufferView2.C (unlockInset): update the paragraph layout on inset
11136 unlock as we changed paragraph in such a case.
11138 * lyxfind.C (LyXFind): clear the former selection if not found!
11140 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11141 again called in insertChar().
11143 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11144 an inset which uses the whole row!
11145 (rightMargin): ditto.
11146 (insertChar): force a rebreak if we inserted an inset!
11148 2002-03-28 Herbert Voss <voss@lyx.org>
11150 * lyxlength.[Ch]: add inBP() to get the right PS-point
11151 units (BigPoint). With inPixels we have rounding errors
11153 2002-04-11 Juergen Vigna <jug@sad.it>
11155 * text2.C (setCursorFromCoordinates): set iy to the right value.
11156 (setCursor): add check if row->previous exists!
11158 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11159 an old float_type as this was the case in the old code!
11161 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11163 * BufferView2.C (showLockedInsetCursor): use iy
11164 (fitLockedInsetCursor): ditto
11166 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11167 locked insets as there we have the right value now.
11169 * lyxcursor.C: added iy_ variable and iy functions to set to the
11170 baseline of cursor-y of the locked inset.
11172 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11173 (setCursor): fixed for insets which need a full row.
11175 * text.C (rowLastPrintable): don't ignore the last space when before
11176 an inset which needs a full row.
11177 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11178 as last character of a row when before a inset which needs a full row.
11180 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11182 * version.C.in: update date
11184 * text2.C (fullRebreak): try to always return true and see what
11187 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11189 * MenuBackend.C (expand): use Floating::listName
11191 * FloatList.C (FloatList): add listName argument to the built-in
11194 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11195 text associated with the float.
11197 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11199 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11201 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11203 * ShareContainer.h: add a couple of missing typenames.
11205 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11207 * lyxrc.C (getDescription): use _() correctly rather than N_().
11209 2002-03-28 Herbert Voss <voss@lyx.org>
11211 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11212 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11214 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11216 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11217 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11219 2002-03-29 Juergen Vigna <jug@sad.it>
11221 * lyxfunc.C (dispatch): add a missing fitCursor call.
11223 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11224 it was scrolled by a cursor move, so return the bool status.
11226 * BufferView.C (fitCursor): return the bool flag also to the outside
11227 world as this is needed.
11229 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11231 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11232 call the edit() as it is not needed (and wrong) IMO.
11233 (workAreaButtonPress): set the screen_first variable before evt.
11234 unlock the inset as this may change screen_first and then we have
11235 a wrong y position for the click!
11237 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11239 * MenuBackend.C (expand): another translation that I missed
11241 2002-03-28 Juergen Vigna <jug@sad.it>
11243 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11245 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11247 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11251 * MenuBackend.C (expand): fix export/view/update when there is no
11254 2002-03-27 Herbert Voss <voss@lyx.org>
11256 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11259 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * bufferview_funcs.C (currentState): only show paragraph number
11262 for is DEVEL_VERSION is set.
11264 * lyxfunc.C (dispatch): put warning in INFO channel
11266 * MenuBackend.C (expand): translate the name of floats
11268 * FloatList.C (FloatList): mark the float names for translation
11270 * converter.C (convert): use LibScriptSearch
11272 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11274 * MenuBackend.C (defaults): fix default menu (we might as well get
11277 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11279 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11282 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11284 * lyxvc.C: reorder includes.
11286 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11288 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11291 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11293 * CutAndPaste.C: change layouts earlier on paste
11294 to avoid crashing when calling getFont()
11296 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11298 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11301 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11303 * WorkArea.C: remove 'Pending' debug message.
11305 * most files: ws cleanup
11307 * buffer.[Ch]: ws changes
11309 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11311 2002-03-21 Juergen Vigna <jug@sad.it>
11313 * tabular.C (SetMultiColumn): collapse also the contents of the
11314 cells and set the last border right. Added a Buffer const * param.
11316 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11318 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11321 2002-03-19 Juergen Vigna <jug@sad.it>
11323 * text2.C (clearSelection): reset also xsel_cache.
11325 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11326 where it needs to be called (John tells us to do so too :)
11327 (selectionLost): reset sel_cache.
11329 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11331 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * text2.C (setCursorIntern): put debuging code in INSETS channel
11335 2002-03-19 André Pönitz <poenitz@gmx.net>
11337 * lyxfunc.C: tiny whitespace change
11339 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11341 * ToolbarDefaults.C (init):
11342 * LyXAction.C (init):
11344 * BufferView_pimpl.C (Dispatch):
11345 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11347 2002-03-19 Allan Rae <rae@lyx.org>
11349 * exporter.C (Export): removeAutoInsets before doing anything else.
11350 While I've just introduced a dependency on BufferView this really is
11351 the best place to clean the buffer otherwise you need to cleanup in
11352 a dozen places before calling export or cleanup in a dozen functions
11355 * converter.C (runLaTeX):
11356 (scanLog): Better handling of removeAutoInsets and screen updates.
11358 * lyxfunc.C (dispatch): small whitespace changes
11360 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * WorkArea.C (C_WorkAreaEvent): return a value.
11363 (event_cb): return 1 if we handled the event, 0 otherwise.
11365 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11367 2002-03-18 Juergen Vigna <jug@sad.it>
11369 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11370 (GetAdditionalWidth): ditto.
11371 (RightLine): ditto.
11374 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11375 inset if we're there actually (probably not used right now but this
11376 is the direction to go for unifying code).
11377 (paste): disable code to clear the selection.
11379 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11380 inside an InsetText and move the check further up as it is in the
11383 * text2.C (pasteSelection): set a selection over the pasted text.
11385 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11387 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11388 and libgraphics to build on Cygwin.
11390 2002-03-15 Juergen Vigna <jug@sad.it>
11392 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11393 inserting an Inset into the paragraph. I know this is not the best
11394 fix but we already use current_view in CutAndPaste so we will remove
11395 all of it's using at the same time.
11397 * buffer.C (sgmlError): deactivated function till it is rewritten in
11398 the right mode, now it can create problems.
11400 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11401 before accessing it.
11403 2002-03-14 Juergen Vigna <jug@sad.it>
11405 * undo_funcs.C (textHandleUndo): do the right thing when updating
11406 the inset after the undo/redo.
11408 * text2.C (setCursor): just some testcode for #44 not ready yet.
11410 * undo_funcs.C (textHandleUndo): set the next() and previous()
11411 pointers of the paragraph to 0 before deleting otherwise we have
11412 problems with the Paragraph::[destructor].
11414 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11415 on a paragraph insertion.
11417 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * buffer.C (asciiParagraph): use += operator for char append to
11422 * paragraph.C (getFontSettings): compare >= not just >
11423 (highestFontInRange): ditto
11426 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * paragraph.C: change several algorithm to be more appripriate for
11429 the problem domain. This is lookip in FontList and in the InsetList.
11431 2002-03-13 André Pönitz <poenitz@gmx.net>
11434 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11436 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11441 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11443 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11445 * Painter.C (display): anon helper function, adjust code for this
11447 (pixmap): remove function.
11449 * Painter.h: remove private display variable.
11451 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11453 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11455 * WorkArea.[Ch]: remove figinset_canvas cruft.
11457 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11459 * lyxtextclass.C (operator): add one item cache optimization.
11461 * bufferlist.h: doxy changes
11463 * bufferlist.C: ws changes
11465 * DepTable.[Ch] (ext_exist): place const in the right spot.
11467 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11469 (workAreaExpose): call resizeInsets when the with BufferView changes.
11470 (Dispatch): adjust for protectedBlank removal
11471 (specialChar): call updateInset if the insert went ok.
11473 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11474 specialChar instead.
11476 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11478 * BufferView.h: doxy change
11480 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11482 * lyxtextclass.C (operator[]): remove non-const version
11483 (defaultLayout): remove non-const version
11485 2002-03-12 Juergen Vigna <jug@sad.it>
11487 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11488 did resize the LyXText too.
11490 * buffer.C (readLyXformat2): set layout information on newly allocated
11493 * tabular.C (OldFormatRead): set layout information on the paragraph.
11495 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11497 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11499 2002-03-11 Juergen Vigna <jug@sad.it>
11501 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11503 (resizeCurrentBuffer): force also the insets to resize themselfes.
11504 (moveCursorUpdate): fixed up for InsetText.
11506 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11509 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11510 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11511 value of Dialogs::tooltipsEnabled().
11512 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11514 2002-03-08 Juergen Vigna <jug@sad.it>
11516 * BufferView_pimpl.C (updateInset): update inset inside inset also
11517 if it isn't inside theLockingInset().
11519 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * buffer.C (asciiParagraph): redo some of the word and line length
11523 (getLists): look for Caption instead of caption.
11525 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11527 * buffer.C (Buffer): initialize niceFile to true
11529 (makeLinuxDocFile):
11530 (makeDocBookFile): make sure niceFile is true on exit
11532 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11534 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11536 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11538 * LyXSendto.C: remove.
11539 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11540 * lyx_gui.C: remove now-redundant comment.
11541 * ColorHandler.h: remove forward declaration of class WorkArea.
11542 * lyxfunc.C: remove #include "WorkArea.h".
11544 2002-03-07 Juergen Vigna <jug@sad.it>
11546 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11547 got moved away with the DEPM and also set the inset_owner always
11548 right which before could have been omitted.
11550 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11552 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11553 wanted layout is not found.
11555 2002-03-07 Juergen Vigna <jug@sad.it>
11557 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11559 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11561 * paragraph.C (breakParagraph): use default layout not layout of
11563 (Paragraph): clear ParagraphParameters.
11565 2002-03-06 Juergen Vigna <jug@sad.it>
11567 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11568 otherwise it would not be a valid lenght. Fixed a special case in
11569 the minipage compatibility read where we end the document with a
11572 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11573 was set as it could be 0 for InsetTexts first entry.
11575 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11577 * paragraph.C (writeFile): if layout is empty write out
11578 defaultLayoutName().
11580 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11581 file without named layout we set layout to defaultLayoutName().
11583 2002-03-06 Juergen Vigna <jug@sad.it>
11585 * CutAndPaste.C (copySelection): set layout for new paragraph.
11587 * text.C (prepareToPrint): leave ERT inset left aligned
11588 (leftMargin): don't indent paragraphs inside ERT insets
11590 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11592 * paragraph.C (breakParagraph): dont call clear do the work manually
11594 * paragraph.[Ch] (clear): remove function
11596 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11598 * paragraph.C (Paragraph): dont call clear, the work has already
11601 * lyxtextclass.C (operator): assert if n is empty
11603 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11604 work manually instead.
11606 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11608 * BufferView_pimpl.C: protect selectionLost against text == 0
11610 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11612 * text.C (breakParagraph): fix a setting layout to '0' problem.
11614 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11616 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11617 final location of file, for the included files, and graphics.
11619 2002-03-05 Juergen Vigna <jug@sad.it>
11621 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11623 2002-03-04 Juergen Vigna <jug@sad.it>
11625 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11627 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11628 last column of multicolumn cells.
11629 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11631 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11633 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11634 file if it doesn't go to a temporary file.
11636 * buffer.C (sgmlOpenTag):
11637 (sgmlCloseTag): remove extra newline insertion.
11639 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * text.C (getRowNearY): comment out debug msg
11643 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11645 * text2.C: first -> first_y
11647 * text.C (getRowNearY): add some attemts at a possible
11648 optimization, not working.
11650 * tabular.[Ch]: add BufferParams to several function so that newly
11651 created paragraph can be initialized to he default layotu for the
11654 * tabular-old.C (ReadOld): add buf->params to call of Init
11656 * screen.C: rename text->first to text->first_y
11658 * paragraph.C (breakParagraph): always set layout in the broken
11661 * lyxtextclass.C (Read): remove lowercase
11664 (delete_layout): ditto
11666 * lyxtext.h: rename first -> first_y
11668 * lyxlayout.C (Read): remove lowercase
11671 (obsoleted_by): ditto
11673 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11675 * buffer.C (insertErtContents): add params are to InsetERT
11676 (parseSingleLyXformat2Token): add code to check if a paragraphs
11677 layout really exist.
11678 (parseSingleLyXformat2Token): add params to several inset
11680 (asciiParagraph): remove lowercase, do the layout comparisons with
11683 * BufferView_pimpl.C (cursorNext): first -> first_y
11684 (resizeCurrentBuffer): first -> first_y
11685 (updateScrollbar): first -> first_y
11686 (scrollCB): first -> first_y
11687 (workAreaMotionNotify): first -> first_y
11688 (workAreaButtonPress): first -> first_y
11689 (checkInsetHit): first -> first_y
11690 (cursorPrevious): first -> first_y
11691 (cursorNext): first -> first_y
11692 (Dispatch): add buffer_->params to severl inset contructors
11694 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11696 * lyxlayout.C (Read): remove some debug info that I forgot.
11698 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11699 clean up the code slightly.
11700 (makeLinuxDocFile): ditto
11701 (makeDocBookFile): ditto
11703 * text2.C: layout as string
11705 * text.C: layout as string
11707 * paragraph_pimpl.C: layout as string
11709 * paragraph.[Ch]: layout as string
11711 * lyxtextclasslist.[Ch]: layout as string
11713 * lyxtextclass.[Ch]: layout as string
11715 * lyxtext.h: layout as string
11717 * lyxlayout.[Ch]: layout as string
11719 * lyx_cb.C: layout as string
11721 * bufferview_funcs.C: layout as string
11723 * bufferparams.C: layout as string
11725 * buffer.C: layout as string
11727 * LyXView.[Ch]: layout as string
11729 * LaTeXFeatures.[Ch]: layout as string
11731 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11733 * BufferView_pimpl.C: change current_layout to string, remove
11738 (workAreaButtonRelease): layout as string
11740 * BufferView2.C (unlockInset): adjust
11742 * vspace.C (asLatexCommand): use an explict temp variable.
11744 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11746 * Makefile.am: use FRONTEND_*
11748 2002-03-01 Juergen Vigna <jug@sad.it>
11750 * tabular.C (SetWidthOfMulticolCell): changed to something better
11751 I hope but still work in progress.
11752 (recalculateMulticolumnsOfColumn): renamed function from
11753 recalculateMulticolCells as it is more appropriate now.
11754 (SetWidthOfCell): calculate multicols better.
11756 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11758 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11760 * lyxfunc.C (processKeySym): print sequence also if it is
11761 `deleted' (complete)
11763 * kbsequence.C (print): print sequence even if it is deleted
11764 (complete would be a better word, actually).
11766 * lyxfunc.C (dispatch): print complete options after a prefix key
11768 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11770 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11772 * text2.C (setCharFont): eliminate setCharFont code duplication.
11774 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11776 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11777 LFUN_TABULAR_FEATURE (bug #177)
11779 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11781 * Makefile.am: remove figure.h
11783 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11785 * Bufferview_pimpl.C:
11797 * text2.C: remove #include "lyx_gui_misc.h".
11799 * LaTeX.C: added #include <cstdio>
11801 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11803 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11804 that the paragraph following this one can have.
11806 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11808 * vspace.C (asLatexCommand): fix bogus gcc warning
11810 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11812 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11814 * text2.C (setLayout): get rid of redundant code
11816 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11818 * text2.C (incDepth): make sure depth cannot be increased beyond
11821 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11823 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11824 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11826 * PainterBase.h (image):
11827 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11828 a LyXImage const *.
11830 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11834 * BufferView_pimpl.C:
11835 * BufferView_pimpl.h:
11855 * sp_spell.C: remove fig inset, and the crap house of
11856 cards that follows it
11858 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11863 * os2_errortable.h:
11864 * nt_defines.h: move .h into support/
11866 * vms_defines.h: remove
11868 * WorkArea.C: add space in debug output
11872 * buffer.C: add WITH_WARNINGS
11876 * bufferlist.C: s/retrive/retrieve/, add docs
11885 * chset.C: add docs
11887 * lyxgui.C: add ID to X error handler
11889 * lyxtestclass.c: fix typo
11891 2002-02-26 Juergen Vigna <jug@sad.it>
11893 * tabular_funcs.C (write_attribute): changed so that some default
11894 attributes are not written at all.
11895 (getTokenValue): set default values before trying to read the
11896 value so we have the return value always set as default if we don't
11897 find the token we search for.
11899 * tabular.C (Write): write bools as bools not as strings!
11901 2002-02-22 Juergen Vigna <jug@sad.it>
11903 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11904 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11906 * text.C (leftMargin): don't add an indent for paragraphs inside
11907 tabular cells (fix #208).
11909 2002-02-21 José Matos <jamatos@fep.up.pt>
11911 * tabular.C (docBook): fixed support for long tables.
11913 2002-02-20 Juergen Vigna <jug@sad.it>
11915 * text2.C (getFont): get the drawing font of the Inset if this
11916 paragraph is inside an inset (only important for InsetERT for now).
11918 * buffer.C (insertErtContents): use new lanugage params in ERT
11921 * CutAndPaste.C: commenting out seemingly uneeded code.
11923 2002-02-19 Allan Rae <rae@lyx.org>
11925 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11926 Iterators might be simple to use but they also get invalidated.
11927 (removeAutoInsets): renamed saved cursor tracking variables and added
11928 some comments to clarify what everything does.
11930 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11937 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11938 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11941 * vc-backend.h: remove #include "support/syscall.h"
11945 * converter.C: rearrange #includes in Lars' approved fashion.
11947 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11948 forward declare class Timeout in the header file.
11950 * XFormsView.C: changes due to the above.
11952 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11953 similar to LyXView.
11955 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11956 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11958 2002-02-18 José Matos <jamatos@fep.up.pt>
11960 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11963 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11965 * a lot of small ws changes
11966 * add a lot of using std::XXX
11967 * use std construcs some places where approp.
11968 * use some exisint stuff from lyxfunctional where approp.
11969 * Make file changes to use partial linking (lets test this now...)
11971 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11975 remove #include "support/syscontr.h" as it's redundant. Always has been.
11983 change Systemcalls::System to Systemcalls::Wait and
11984 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11985 No change of functionality, just reflects the stripped down Systemcalls
11988 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11990 * debug.[Ch]: add a GRAPHICS type to the enum.
11992 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11994 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11996 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11999 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12002 match the changes below.
12004 * text2.C (toggleInset): if there is not editable inset at cursor
12005 position, try to see if cursor is _inside_ a collapsable inset
12008 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12010 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12011 document menu has a nice checkbox
12013 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12015 * lyxlength.C (asLatexString): change PW to output as percent of
12018 * lengthcommon.C: change '%' to 't%'
12020 * lyxfunc.C (dispatch): a few comments from Martin
12022 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12026 * BufferView_pimpl.h:
12027 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12030 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * vspace.C (inPixels): fix compiler warning
12034 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12036 * lyxfunc.C (getStatus): fix status message for disabled commands.
12038 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12040 * BufferView_pimpl.C: fix crash on close buffer
12041 during selection (#227)
12043 2002-01-27 Herbert Voss <voss@lyx.org>
12045 * buffer.C: link old Figure to new graphic inset
12047 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12049 * FontLoader.C (getFontinfo): Change the latex font names in order
12050 to match the names of type1inst.
12052 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12054 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12056 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12057 (extchanged): ditto
12059 (remove_files_with_extension): ditto
12060 (remove_file): ditto
12063 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12064 document is smaller than the work area height. Do not initialize
12065 static variables to 0.
12067 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12071 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12072 LFUN_LAYOUT_PARAGRAPHS.
12074 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12075 tabular. It is possible to provide a possible cell, which will
12076 typically be the actcell from the corresponding insettabular
12078 * lyxfunc.C (getStatus): small cleanup; disable
12079 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12082 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12084 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12086 * paragraph.C (startTeXParParams):
12087 (endTeXParParams): new methods. The LaTeX code to
12088 start/end paragraph formatting
12089 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12090 empty (fixes bug #200)
12092 * vspace.C (inPixels): adapt to the change below
12093 (inPixels): [later] more cleanups (remove unused variables)
12095 * lyxlength.C (inPixels): change to use a width and a height as
12098 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12100 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12101 Replaced with \paperwidth
12103 * DepTable.C (insert): add std:: qualifier
12105 2002-01-18 Allan Rae <rae@lyx.org>
12107 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12110 * text.C (drawInset): Turned out I didn't know enough about how
12111 rebreaking worked. This fixes most of the redraw problems. I see
12112 an occasional cursor trail when a line is broken now and the cursor
12113 placement can seem out by a few pixels also after a rebreak.
12115 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12117 * buffer.C (parseSingleLyXformat2Token): update because minipage
12118 width is now a LyXLength
12120 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12122 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12125 2002-01-17 Juergen Vigna <jug@sad.it>
12127 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12129 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12130 is set correctly and the inset is updated correctly.
12132 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12134 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12135 the beginning of the loop.
12137 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12139 * lyxrc.C: improve help for use_scalable_fonts
12141 2002-01-17 Allan Rae <rae@lyx.org>
12143 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12145 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12147 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12148 make sure to set their inset_owner to the right value (bug #171)
12150 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12153 * DepTable.C: Implement mtime checking to reduce time spent doing
12156 2002-01-16 Juergen Vigna <jug@sad.it>
12158 * tabular.C (GetAdditionalHeight): one of error fixed.
12160 * lyxrc.C (output): small fix in writing use_pspell.
12162 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12164 * sp_base.h: #include LString.h
12166 2002-01-16 Allan Rae <rae@lyx.org>
12168 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12169 Can someone check this please?
12171 * text.C (drawInset): It was possible that p.row would be removed by
12172 breakAgainOneRow upsetting a few other settings. There may be another
12173 small tweak possible by setting need_break_row = 0 when p.row has been
12174 removed but I don't know enough about the logic here.
12176 2002-01-15 Allan Rae <rae@lyx.org>
12178 * text.C (insertChar): removed conditional truism.
12180 * BufferView2.C (removeAutoInsets): More tweaks.
12181 cur_par_prev could be a stray pointer. Check for trailing empty line
12182 in case last line was cur_par and only had an error inset on it.
12184 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12189 * vc-backend.C (most methods):
12190 * exporter.C (Export):
12191 * converter.C (convert):
12193 * LyXSendto.C (SendtoApplyCB):
12194 * lyxfunc.C (dispatch):
12198 * lyx_cb.C (AutoSave):
12200 * BufferView_pimpl.C (MenuInsertLyXFile):
12201 * buffer.C (runChktex): use Buffer::filePath().
12203 * buffer.h: rename filename to filename_; rename filepath to
12204 filepath_ and make it private
12205 (filePath): new method
12207 * buffer.C (writeFile): use fileName()
12210 * lyx_main.C (init): fix starting of LyX when the binary is a
12211 link from so,ewhere else.
12213 * minibuffer.C: include <cctype> for isprint
12215 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12217 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12218 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12219 name clash with InsetCollapsable's width function.
12221 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12223 * lastfiles.C: include <iterator>
12225 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12227 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12230 * buffer.C (makeLaTeXFile): ditto.
12231 Also make loop operation more transparent.
12233 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12235 * ToolbarDefaults.C: remove trailing comma closing namespace.
12237 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12239 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12242 * trans.C (Load): comment out unused variable, allowed.
12244 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12246 * minibuffer.[Ch] (append_char): new method to recieve input from the
12247 drop-down completion browser. If a key was pressed, then recieve this
12248 char and append it to the existing string.
12249 (peek_event): modify the positioning data passed to the completion
12250 browser so that it can be placed above the minibuffer rather than below.
12251 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * LyXAction.C (init): alloe error-next for readonly documents.
12255 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12258 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12260 * bufferlist.C (readFile): create the buffer _after_ checking that
12263 * lyxfunc.C (verboseDispatch): fix handling of arguments
12265 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12267 * lyxrc.C: use string::erase() instead of initializing to "".
12270 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12272 * BufferView_pimpl.h:
12273 * BufferView_pimpl.C:
12276 * text2.C: tell X when we have made a selection for copying
12278 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12280 * BufferView_pimpl.C (MenuInsertLyXFile):
12281 * lyxfunc.C (menuNew):
12283 (doImport): add shortcuts to directory buttons
12285 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12288 * lyxfunc.C (setStatusMessage):
12289 (getStatusMessage): new methods
12290 (getStatus):use setStatusMessage instead of setErrorMessage
12291 (dispatch): when function is disabled, set error message here
12292 [instead of in getStatus previously]
12294 * BufferView_pimpl.C (workAreaButtonRelease): update
12295 toolbar/menubar here too.
12297 2002-01-13 Allan Rae <rae@lyx.org>
12299 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12300 Now seems indestructible. Remaining task is to audit all other
12301 code affected by deleteEmptyParagraphMechanism. One small quirk
12302 left is that an empty document with an error in the preamble can
12303 be made to report an error but no error box appears. I don't know
12305 (removeAutoInsets): Improved comments.
12307 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12310 * Thesaurus.C: update for Aiksaurus 0.14
12312 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12314 * text2.C (firstParagraph): removed member function, all uses
12315 replaces with ownerParagraph
12316 (redoParagraphs): here
12317 (updateInset): here
12318 (toggleAppendix): here
12319 * BufferView2.C (insertErrors): here
12320 (setCursorFromRow): here
12322 2002-01-13 Allan Rae <rae@lyx.org>
12324 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12325 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12326 There is still a way to segfault this although you may have to do this
12327 multiple times: Have an InsetERT with an unknown command in it.
12328 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12329 <down-arrow>, <Enter> again, View->DVI, BANG!
12331 * text2.C (setCursor):
12332 (deleteEmptyParagraphMechanism):
12333 * lyxtext.h (setCursor):
12334 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12335 Making use of the return value may help fix other bugs.
12337 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12339 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12341 * LyXView.C (updateMenubar): call MenuBar::update here
12342 (updateToolbar): but not here
12343 (showState): do not update toolbar/menubar
12345 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12346 should need to care about that.
12348 * lyxfunc.C (verboseDispatch): simplify a bit
12349 (getStatus): have a version which takes a pseudoaction, and
12350 another which requires a (kb_action,string).
12352 * LyXAction.C (retrieveActionArg): make it work also when action
12353 is not a pseudo-action.
12354 (getActionName): simplify a bit
12357 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12359 * lyxfunc.C (verboseDispatch): new families of methods with
12360 several ways to specify a command and a bool to indicate whether
12361 the command name and shortcut should be displayed in minibuffer
12362 (eventually, we could extend that to a finer bitmask like
12363 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12364 (dispatch): the pristine dispatch command which just, well,
12365 dispatchs! Note it still sets its result to minibuffer; I'm not
12368 * lyxfunc.h: remove setHintMessage
12370 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12372 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12374 * BufferView_pimpl.C (specialChar): delete new inset if we have
12375 not been able to insert it.
12377 * kbmap.C: revert to using int instead of kb_action, since all we
12378 are dealing with is pseudo-actions.
12380 * LyXAction.C (searchActionArg): change to return int instead of
12381 kb_action, since the result is a pseudoaction.
12383 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12385 * buffer.C (insertErtContents): Fix (partially) the font bug.
12387 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12389 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12390 as the other one is broken on my machine!
12392 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12395 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12397 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12399 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12400 reflect their actual use. Provide compatibility code for older lyxrc
12403 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12405 change names of popup font variables in line with the changes to lyxrc.C
12407 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * buffer.C (asciiParagraph): avoid outputing a word twice after
12412 * lyxrc.C (getDescription): document that document_path and
12413 template_path can be empty.
12415 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12417 * LaTeXFeatures.C (getMacros):
12418 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12420 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12422 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12424 (getPackages): rename feature "floats" to "float". Use an array to
12425 iterate over 'simple' features (i.e. just a \usepackage). Add
12426 handling of "amsmath" (renamed from "amsstyle").
12428 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12430 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12433 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12435 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12436 FuncStaus::FuncStatus & FuncStaus::some_method().
12438 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12440 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12441 of the func_satus stuff. Edited and massaged in various ways by
12444 * lyxfunc.C (getStatus): use FuncStatus
12446 2002-01-08 Juergen Vigna <jug@sad.it>
12448 * text.C (nextBreakPoint): use function Inset::isChar().
12450 * paragraph.C (TeXOnePar): use function
12451 Inset::forceDefaultParagraphs.
12453 * buffer.C (latexParagraphs): use function
12454 Inset::forceDefaultParagraphs.
12456 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12458 * lyx_gui.C (init): set the style of the menu popups to
12459 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12461 2002-01-07 Juergen Vigna <jug@sad.it>
12463 * text.C (setHeightOfRow): small fix
12464 (prepareToPrint): don't look at alignment if we don't have the place
12467 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12469 * box.C: New file. Move the Box methods and functions out of box.h,
12470 following Lars' suggestion.
12472 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12474 * box.h: #include "support/LOstream.h", needed for inlined function.
12477 * lyxtextclasslist.C: added some using std declarations.
12479 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12481 * box.h: make signed dimensions to allow insets wider than
12482 the screen (bug #162)
12484 * BufferView_pimpl.C: add some insetHit debug
12486 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12488 * vc-backend.C: add FIXME
12490 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * lyxfunc.C (getStatus): enable code for showing math font status
12495 2002-01-07 Juergen Vigna <jug@sad.it>
12497 * text.C (nextBreakPoint): removed debug output not needed anymore.
12499 2002-01-06 Juergen Vigna <jug@sad.it>
12501 * text.C (nextBreakPoint): fixed up this function we had this bug
12502 since ever but now hopefully we break row better.
12503 (insertChar): we have to check if an inset is the next char as it
12504 could now happen that a large inset is causing a break.
12506 2002-01-05 Juergen Vigna <jug@sad.it>
12508 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12509 if it doesn't like to be drawed.
12511 2002-01-04 Juergen Vigna <jug@sad.it>
12513 * BufferView2.C (lockInset): forgot to set a cursor.
12515 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12517 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12519 * FormMathsPanel.C:
12522 * form_maths_panel.C:
12523 * form_maths_panel.h:
12524 * form_maths_panel.fd: implemented sub- and super- buttons in math
12527 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12528 (or ^ space) to be used as in TeX (req'd by André).
12530 * lyxfunc.C: Allow ^ and _ again to be used both as
12531 super/subscript (mathed) and as themselves (in text).
12533 2002-01-03 Allan Rae <rae@lyx.org>
12535 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12536 "LyX" or the filename of the current buffer if it has one. This is a
12537 modified form of John Levon's patch.
12539 * XFormsView.C (setWindowTitle): also set icon title.
12541 * LyXView.h (setWindowTitle): signature changed.
12542 * XFormsView.h (setWindowTitle): ditto.
12544 2002-01-02 Juergen Vigna <jug@sad.it>
12546 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12548 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * screen.C (topCursorVisible): introduce a temp var for
12551 text->cursor.row(), handle the case where this row is null. (kindo
12554 * text2.C (setCursor): add a couple of asserts.
12556 * paragraph.h (inset_iterator): add -> operator
12558 * paragraph.[Ch] (autoDeleteInsets): remove member function
12560 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12561 cursor pos correctly and handle inset deletion by itself.
12562 (insertErrors): move iterator declaration out of for expression
12564 * lyxtextclass.C: add <algorithm>
12566 * Makefile.am: added the new files to sources, removed layout.C
12568 * layout.C: removed file
12570 * layout.h: remove LYX_DUMMY_LAYOUT
12572 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12576 * lyxtextclass.[Ch]:
12577 * lyxtextclasslist.[Ch]: new files
12579 * include order changes to a lot of files, also changes because of
12582 2001-12-27 Juergen Vigna <jug@sad.it>
12584 * buffer.C (asciiParagraph): more fixes.
12586 * tabular.C (ascii): make ascii export support export of only the
12587 data separated by a column-delimiter.
12588 (ascii): better support for ascii export.
12590 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12592 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12594 * tabular_funcs.C: use a "using std::getline" instead of the
12595 previous fix from Angus (necessary for cxx + lyxstring)
12597 2001-12-24 Juergen Vigna <jug@sad.it>
12599 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12601 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12602 problems. First check a minipage also if we have some ert-contents
12603 (not only on par->size(), second set the right depth of the paragraph
12604 on the relink to the root-paragraph-list!
12606 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12607 which then did not anymore update the main paragraphs on undo/redo!
12609 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12611 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12612 code. Support all font-changing funcs (even those which are not in
12613 menu currently). Support for reporting font settings in
12614 mathed (disabled until Andre provides a function on mathed's side).
12616 * func_status.h (toggle): small helper function to set toggle
12619 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12621 * tabular_funcs.C: getline -> std::getline
12623 2001-12-21 Juergen Vigna <jug@sad.it>
12625 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12626 accessed and could be 0 (I couldn't generate this but it seems
12629 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12632 * tabular_funcs.h: here and include iosfwd
12634 2001-12-20 Juergen Vigna <jug@sad.it>
12636 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12637 inside inset but undo_par was.
12639 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12641 * Thesaurus.C: always include <config.h> in sources.
12645 * box.h: do not include <config.h> in header files
12647 * text.C (paintLastRow): remove unused variable
12649 * text.C (transformChar):
12651 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12653 * Painter.C (text):
12654 * font.C (width): rewrite to use uppercase() instead of
12657 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12659 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12661 * lyxfind.C: clean up of find failure position change
12663 2001-12-20 Juergen Vigna <jug@sad.it>
12665 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12667 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12668 (TeXRow): added to LaTeX a single tabular row.
12669 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12670 (Latex): simplified and finally good LT-h/f support.
12671 (various_functions): just small adaptions for LT-h/f support.
12673 * tabular_funcs.[hC]: added and moved here all not classfunctions
12676 2001-12-19 Juergen Vigna <jug@sad.it>
12678 * tabular.[Ch]: better support for longtabular options (not finished
12681 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * text.C (paintLastRow): use the label font instead of the font of
12684 the last character to compute the size of *_BOX. This makes more
12685 sense and avoids a crash with empty paragraphs.
12686 Use Painter::rectangle to draw EMPTY_BOX.
12688 2001-12-19 Juergen Vigna <jug@sad.it>
12690 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12691 the paragraphs if the replaced paragraph is not the first one!
12692 Tried to delete not used paragraphs but does not work yet so for
12693 now it's inside #ifdef's and by default off!
12695 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12697 * MenuBackend.C: include "lyx_main.h" instead of declaring
12698 lastfiles (actually was declared as LastFiles* instead of a
12701 2001-12-17 Juergen Vigna <jug@sad.it>
12703 * tabular.C (AppendColumn): applied John's fix
12705 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12709 * BufferView_pimpl.h:
12710 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12713 * box.h: new start of class for above
12715 * lyxfunc.C: ignore space-only minibuffer dispatches.
12716 Show the command name when it doesn't exist
12718 * minibuffer.C: don't add empty lines to the history
12720 * minibuffer.C: add a space on dropdown completion
12722 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12724 * text.C: fix line above/below drawing in insets
12726 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12728 * lyxlength.C (LyXLength): Initialize private variables.
12730 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12732 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12733 when inserting error insets.
12735 2001-12-13 Juergen Vigna <jug@sad.it>
12737 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12738 actually sometimes the before-paragraph.
12739 (setUndo): don't clear the redostack if we're not actually undoing!
12741 2001-12-06 Juergen Vigna <jug@sad.it>
12743 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12744 and fixed redoing of main paragraph, so we can use it now ;)
12746 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12748 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12750 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12753 2001-12-13 André Pönitz <poenitz@gmx.net>
12756 * undo_func.C: minor cleanup
12758 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12760 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12761 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12762 font in urw-fonts package which is marked as -urw-fontspecific and
12763 does not work (incidentally, changing the encoding in the
12764 fonts.dir of this package to -adobe-fontspecific fixes the
12767 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12768 is a crash when undoing first paragraph (Juergen, please take a
12769 look). THis does not mean the undo fix is wrong, just that it
12772 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12773 the (Paragraph*) version when needed instead of duplicating the
12776 * text.C (workWidth): use Inset::parOwner to find out where the
12777 inset has been inserted. This is a huge performance gain for large
12778 documents with lots of insets. If Inset::parOwner is not set, fall
12779 back on the brute force method
12781 * paragraph_pimpl.C (insertInset):
12782 * paragraph.C (Paragraph):
12783 (cutIntoMinibuffer): set parOwner of insets when
12784 inserting/removing them
12786 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12788 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12794 * mathed/formulabase.C:
12795 * mathed/math_cursor.[Ch]:
12796 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12799 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12801 * lyxlength.[Ch] (operator!=): new function
12803 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12805 * text.C (workWidth): use Inset::parOwner to find out where the
12806 inset has been inserted. This is a huge performance gain for large
12807 documents with lots of insets. If Inset::parOwner is not set, fall
12808 back on the brute force method
12810 * paragraph_pimpl.C (insertInset):
12811 * paragraph.C (Paragraph):
12812 (cutIntoMinibuffer): set parOwner of insets when
12813 inserting/removing them
12815 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12817 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * tabular-old.C (getTokenValue):
12820 * tabular.C (getTokenValue):
12821 (write_attribute): new versions for LyXLength
12822 (everywhere): adjust the use of widths
12824 * tabular.h: change the type of widths from string to LyXLength
12826 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12828 * paragraph.C: fixed missing line number count when exporting
12829 Environments to LaTeX file
12831 * buffer.C: added informational message for checking line numbers.
12833 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12836 paragraph, do the 'double space' part, but not the 'empty
12839 * text.C (workWidth): small optimization
12840 (getLengthMarkerHeight): use minimal size for negative lengths.
12842 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12844 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12846 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12848 2001-12-11 André Pönitz <poenitz@gmx.net>
12851 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12853 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12855 * text2.C: keep selection on a setFont()
12857 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12859 * lyx_cb.C: another bv->text misuse, from insert label
12861 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12864 * kbsequence.C: re-instate nmodifier mask
12866 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12868 * lyx_main.h: make lyxGUI private.
12870 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12872 * lyxfind.C: place the cursor correctly on failed search
12874 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12876 * text.C (getLengthMarkerHeight): for small heights, the arrows
12877 are not always on top/bottom of the text
12878 (drawLengthMarker): smaller arrows; take the left margin in
12879 account; draw also vfills.
12881 (paintLastRow): remove special code for vfill and standard spaces,
12882 since everything is handled in drawLengthMarker now.
12884 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * buffer.C (insertErtContents): try to handle font and language
12887 interaction a bit better.g
12889 * ColorHandler.C (updateColor): change the hash to cover the whole
12890 LColor enum, ws cleanup
12891 (getGCLinepars): ditto
12892 (getGCLinepars): only lookup in the linecache once.
12894 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12896 * iterators.C (operator++): Make the iterator more robust
12898 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12900 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12902 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12905 * text.C: better added space drawing
12907 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12910 * BufferView2.C: fix layout combo update on inset unlock
12912 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12914 * Makefile.am: don't compile unused files
12916 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12920 * LyXAction.C: remove old LFUN_LAYOUTNO
12922 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12924 * paragraph_pimpl.h:
12925 * paragraph_pimpl.C: isTextAt() doesn't need font param
12927 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12930 * lyxlex.C: little cleanup
12932 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12934 * BufferView_pimpl.C: fix insertAscii for insets
12936 2001-12-05 Juergen Vigna <jug@sad.it>
12938 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12939 set the right font on the "multi" paragraph paste!
12941 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12947 * lyxlength.C: remove out-commented code.
12949 * BufferView_pimpl:
12963 * vc-backend.C: change "while(" to "while ("
12965 * lyxlength.[Ch]: add zero function to check if length is zero or
12967 * lyxgluelength.C: use it
12969 2001-12-05 Allan Rae <rae@lyx.org>
12971 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12972 Works for 2.95.3, from what I understand of Garst's reports this should
12973 work for other g++ versions. We're screwed if the abs(int) definition
12974 changed between bugfix releases of gcc.
12976 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12978 * text.C: fix chapter label offset !
12980 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12983 * text.C: fix hfill at end of line, clean up
12985 2001-12-04 Juergen Vigna <jug@sad.it>
12987 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12988 that we force an update of the inset and it's owners if neccessary.
12990 2001-12-03 Juergen Vigna <jug@sad.it>
12992 * text.C (rowLast): simplified code
12994 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12996 * lyxfunc.C: fix show options on timeout
12998 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13000 * screen.C (topCursorVisible): scroll half a page when the cursor
13001 reached top of bottom of screen
13003 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13005 * minibuffer.C: deactivate on loss of focus
13007 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13009 * vspace.[Ch] (operator!=): add operator.
13011 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13013 * BufferView_pimpl.C: refuse to open an inset when
13014 there's a selection.
13016 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13018 * BufferView_pimpl.C: allow to click on RHS of full row insets
13020 2001-11-30 Juergen Vigna <jug@sad.it>
13022 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13023 insets for undo reasons.
13025 2001-11-28 André Pönitz <poenitz@gmx.net>
13027 * vspace.[Ch]: cosmetical changes
13029 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13039 * kbsequence.C: part re-write of old kb code
13042 * WorkArea.C: remove Lgb_bug_find_hack
13044 2001-11-30 José Matos <jamatos@fep.up.pt>
13046 * buffer.C (makeDocBookFile): add a comment to point a hack.
13047 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13048 Fixed a double write of labels.
13050 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13053 * LaTeX.h Fixed bug in LaTeX class where it would not
13054 re-run latex if no depfiles were changed, but the .dvi was removed.
13056 2001-11-28 André Pönitz <poenitz@gmx.net>
13058 * all the files from the change on 2001/11/26:
13059 use lyx::layout_type instead of LyXTextClass::size_type
13060 use lyx::textclass_type instead of LyXTextClassList::size_type
13062 2001-11-29 Juergen Vigna <jug@sad.it>
13064 * text.C: added support for paragraph::isFreeSpacing()
13066 * buffer.C: same as above
13068 * paragraph.h: inserted isFreeSpacing() function to enable
13069 FreeSpacing inside InsetERT.
13071 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13072 of the paragraph's in the cut/copy buffer to 0!
13074 * text2.C (removeRow): remove the assert as it can!
13076 * lyxtext.h: added helper function firstRow returning firstrow and
13077 made firstrow private again.
13079 * BufferView2.C (lockInset): don't relock if we're already locked!
13081 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13082 the only paragraph.
13083 (removeRow): added Assert::(firstrow)
13085 * debug.C: forgot to add INSETTEXT here.
13087 2001-11-28 Juergen Vigna <jug@sad.it>
13089 * sp_spell.C (initialize): changed error text to more general
13090 spellchecker command use (not only ispell!)
13092 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13094 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13096 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13098 * vspace.C: initialise lyxgluelength on failure
13100 2001-11-28 Allan Rae <rae@lyx.org>
13102 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13103 declaration & definition that looks like a function declaration.
13105 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13107 * BufferView2.C (copy):
13108 (copyEnvironment): do not clear the selection when doing a copy.
13110 * text.C (paintFirstRow): compilation fix
13112 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13114 * tabular.C (Latex): correct line count when writing latex.
13116 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13118 * paragraph_pimpl.h:
13119 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13122 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13126 * LColor.C: change vfillline->added_space
13128 * text.C: add markers and text for added space
13130 * vspace.C: fix comment
13132 2001-11-28 André Pönitz <poenitz@gmx.net>
13134 * paragraph.C: whitespace changes
13135 * all the other files from the change on 2001/11/26:
13136 change *::pos_type into lyx::pos_type
13138 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13140 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13141 language of the document when inserting error insets.
13143 2001-11-26 André Pönitz <poenitz@gmx.net>
13145 * BufferView_pimpl.[Ch]:
13153 * paragraph_pimpl.[Ch]:
13156 * text2.C: reduce header dependencies, introduce type for positions
13158 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13160 * <various>: change to use Alert.h
13162 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13164 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13165 when encountering an unknown token.
13166 (readLyXformat2): Show an error message if there were unknown tokens.
13168 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13171 * BufferView_pimpl.C:
13175 * text2.C: use par->isInset()
13177 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13179 * paragraph_pimpl.h:
13180 * paragraph_pimpl.C: cleanup
13182 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13184 * text2.C (removeRow):
13185 * text.C (setHeightOfRow): remove useless (and costly) call to
13188 2001-11-20 Allan Rae <rae@lyx.org>
13190 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13191 Now need Inset*::checkInsertChar() to return true for appropriate
13192 cases so that the characters in the minibuffer will actually be
13195 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13197 * text.C: change the order of the includes.
13198 (workWidth): initialize it at once.
13199 (workWidth): make maxw unsigned
13200 (setHeightOfRow): remove unused variable (inset)
13201 (selectSelectedWord): remove unused variable (inset)
13202 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13204 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13206 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13207 server is not running.
13209 (closeConnection): add debug info when server is disabled.
13211 * ColorHandler.C (getGCForeground): send debug message to GUI
13214 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13216 * kbmap.C (bind): modify because return conventions of
13217 kb_sequence::parse have changed.
13219 * kbsequence.C (parse): only ignore spaces and not any stupid
13220 control character. This avoids tests like s[i] <= ' ', which are
13221 guaranteed to fail with 8bit characters and signed chars.
13222 Change return code to string::npos when there have been no error
13223 (0 was a bad idea when error is at first character)
13225 2001-11-14 José Matos <jamatos@fep.up.pt>
13228 * buffer.C (simpleDocBookOnePar): removed unused argument.
13230 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13233 insets which are part of a word. Paragraph::isLetter takes care of
13234 that now. Use Paragraph::isInset to identify insets.
13235 (selectSelectedWord): do not test for hyphenation break.
13237 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13238 that protected spaces are considered as spaces.
13240 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13243 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13246 * lyxserver.C: fix it. and small cleanup.
13248 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13250 * BufferView_pimpl.C: use inline helpers
13253 * LaTeXFeatures.C: fix typos
13256 * Spacing.C: move spacing_string into class
13258 * ToolbarDefaults.C: move stuff into namespace anon
13260 * layout.h: update enum
13262 * lyxfunc.C: use better debug
13264 * minibuffer.h: fix typo
13268 * WorkArea.C: add and use Debug::WORKAREA
13272 * text2.C: code re-organisation, inline helpers
13274 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13276 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13277 std::vector.empty().
13279 2001-11-09 Allan Rae <rae@lyx.org>
13281 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13282 '\n's after tables. Tabular and ERT inset work now makes this no
13285 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13288 * minibuffer.C: fix crash, improve drop-down completion
13290 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13293 * lyxserver.C: invalidate fd's when doing endPipe()
13295 2001-11-08 José Matos <jamatos@fep.up.pt>
13297 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13298 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13301 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13303 2001-11-07 José Matos <jamatos@fep.up.pt>
13306 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13309 * buffer.C (sgmlOpenTag):
13310 * buffer.C (sgmlCloseTag): removed debug info.
13312 * buffer.h (sgmlOpenTag):
13313 * buffer.h (sgmlCloseTag): made public.
13315 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13317 * buffer.C (saveParamsAsDefaults):
13318 * lyx_cb.C (MenuLayoutSave): remove
13320 * LyXAction.C (init):
13322 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13324 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13326 * buffer.C (setPaperStuff): removed from here...
13328 * bufferparams.C (setPaperStuff): ... and moved there.
13330 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13334 * XFormsView.C: add support for drop-down completion
13336 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13338 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13341 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13346 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13348 * lyx_main.C: change ref to known bugs
13350 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13352 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13353 to work around older babel problems.
13355 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13357 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13359 2001-10-24 Juergen Vigna <jug@sad.it>
13361 * tabular-old.C (ReadOld): below variable changes reflected.
13363 * tabular.[Ch]: added ltType struct for longtable header/footer
13364 defines and changed all instances where they are used. Added
13365 future support for double top/bottom rows.
13367 2001-10-24 José Matos <jamatos@fep.up.pt>
13369 * buffer.h (docbookHandleCaption):
13370 * buffer.C (docbookHandleCaption): removed unused function.
13371 (makeDocBookFile): moved docbook supported version to v4.1.
13373 2001-10-24 José Matos <jamatos@fep.up.pt>
13376 * tabular.C (docbookRow): new function to export docbook code of a row.
13377 (DocBook): now honors the longtable flags.
13379 2001-10-23 José Matos <jamatos@fep.up.pt>
13382 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13383 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13385 * buffer.C (makeLinuxDocFile):
13386 (makeDocBookFile): reworked the preamble, more clean, and with
13387 support for lyx defined entities. Changed the document declaration
13388 to be more XML friendly.
13390 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13391 if we need to output XML that should be done with a filter.
13393 2001-10-22 Juergen Vigna <jug@sad.it>
13395 * sp_pspell.h (class PSpell): add alive function needed in the
13396 controller to see if the spellchecker could be started.
13398 2001-10-22 Juergen Vigna <jug@sad.it>
13400 * buffer.C (insertStringAsLines): modify the font for inserting
13401 chars in certain conditions by calling checkInsertChar(font).
13403 2001-10-19 Juergen Vigna <jug@sad.it>
13405 * text.C (workWidth): use getRow instead of wrong algorithm.
13406 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13408 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13413 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13415 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * text.C (workWidth): do not search for the exact row when
13418 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13419 optimization for big documents.
13421 2001-10-18 Juergen Vigna <jug@sad.it>
13423 * text.C (workWidth): new function with added Inset * parameter.
13425 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13427 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13429 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13430 change return type of getColumnNearX.
13433 * text.C (changeRegionCase): use uppercase/lowercase instead of
13436 (rightMargin): simplify code by factoring out the uses of
13441 (appendParagraph): use Paragraph::size_type
13443 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * vspace.C (asLatexString): add a missing break
13447 2001-10-15 Herbert Voss <voss@perce.de>
13449 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13451 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13453 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13456 2001-10-10 André Pönitz <poenitz@gmx.net>
13458 * lyxfunc.C: removed greek_kb_flag.
13460 2001-10-10 Herbert Voss <voss@perce.de>
13462 * lyx_main.C: delete global string help_lyxdir.
13464 2001-10-09 Herbert Voss <voss@perce.de>
13466 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13468 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13470 * lyx_main.C: added global string help_lyxdir.
13472 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13474 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13476 * lyxrc.C (set_font_norm_type): support iso8859-4
13478 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13480 * LaTeX.C (deplog): add another regex for MikTeX
13482 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13484 * lyxrc.C (set_font_norm_type): support iso8859-3
13486 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13488 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13490 * LaTeXFeatures.C: remove special case of french and index
13492 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13493 before \begin{document}). This solves several incompatibilities.
13495 2001-10-03 Garst Reese <reese@isn.net>
13497 * lyx_cb.C: change CheckTex error msg.
13499 2001-10-03 José Matos <jamatos@fep.up.pt>
13501 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13503 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13505 * .cvsignore: update
13507 * lyx_main.C (commandLineVersionInfo): use new style version info.
13509 * buffer.C (writeFile):
13511 (makeLinuxDocFile):
13512 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13514 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13516 * version.h: update to use stuff in version.C
13518 * version.C.in: new file. Contains version information determined
13519 at compile time. This is a merging of version.h and
13522 2001-10-03 Juergen Vigna <jug@sad.it>
13524 * BufferView_pimpl.C (update): don't change "dirty" status in
13527 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13529 * WorkArea.C (c-tor): re-position version string slightly.
13531 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13533 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13534 revert to previous code.
13536 WorkArea.[Ch]: (show, destroySplash): methods removed.
13538 WorkArea.C: rework code so that it's an amalgam of the codes before and
13539 after the splash screen was moved to WorkArea.
13541 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13544 * vspace.C (inPixels):
13547 * buffer.C (insertStringAsLines):
13548 (asciiParagraph): fix types to be large enough
13550 * lyxlex_pimpl.h: change member status from short to int
13552 * layout.h: fix type of endlabeltype
13555 * kbsequence.C (parse): change return type to string::size_type
13557 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13560 * Bullet.C (bulletSize):
13561 (bulletEntry): do not use short ints as parameters
13563 * BufferView2.C (insertLyXFile): change a char to an int.
13565 * WorkArea.C (WorkArea): remove unneeded floats in computation
13567 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13569 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13571 * paragraph.C (asString): Do not ignore newline/hfill chars when
13572 copying to the clipboard.
13574 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13576 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13577 after a multi-line inset.
13579 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13581 * paragraph.C (validate): Set NeedLyXFootnoteCode
13583 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13585 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13586 and decrease-error to decrease.
13588 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13591 it more readable (should be equivalent)
13593 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13595 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13597 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13600 of a cursor (row, etc.) after a character has been deleted
13601 (deleteEmptyParagraphMechanism): call the method above on _all_
13602 cursors held by the LyXText when a double space has been
13605 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13607 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13609 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13611 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13612 background. Use greyOut() and the new show() methods to toggle between
13613 the foreground and background. Add code to remove the splash after
13614 its initial showing.
13616 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13617 (create_forms): no longer call Dialogs::showSplash.
13619 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13621 * .cvsignore: add version_info.h
13623 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13625 * version_info.h.in: new file
13627 * Makefile.am: add version_info.h.in
13629 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13630 version_info.h instead of VERSION_INFO
13632 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13634 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13635 The ERT inset now returns string().
13637 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13639 * lyxtext.h, text.C (selectNextWord): renamed as
13640 selectNextWordToSpellcheck.
13642 * text.C (selectNextWordToSpellcheck): Modified to not select
13643 words inside an ERT inset.
13645 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13647 * lyx_cb.C (MenuLayoutSave): change a bit the question
13649 * sp_base.h: include <sys/types.h>
13651 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13653 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13655 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13657 * several files: fix typos in user-visible strings
13659 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13661 * text2.C (pasteSelection): do not set the selection, since it
13662 will be cleared later. Actually, the intent was to fix the way the
13663 selection was set, but I figured rmoving the code was just as good.
13665 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13667 * FontLoader.C (available): Check if font is available without
13670 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13672 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13674 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13676 * lyxrc.[Ch]: added display_graphics variable and associated code.
13678 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * bufferparams.C (hasClassDefaults): new method. Returns true if
13681 the buffer parameters correspond to known class defaults
13683 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13685 * XFormsView.C (show): set minimum size to the main window.
13687 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13689 * text2.C (copySelection):
13691 * lyxfind.C (LyXReplace):
13692 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13693 LyXText::selectionAsString.
13695 * paragraph.C (asString): add "label" argument to the second form
13697 * text2.C (selectionAsString): add "label" argument and pass it to
13698 Paragraph::asString.
13700 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * lyx_main.C (commandLineHelp): remove version information
13704 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13706 * lyx_main.C: add -version commandline option
13708 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13710 * paragraph.h: make the optional constructor arg required instead.
13711 some modifications to other files because of this.
13713 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13715 * lyxserver.C (C_LyXComm_callback): make it static
13717 * lyx_main.C (error_handler): make it static
13719 * lyx_gui.C (LyX_XErrHandler): make it static
13721 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13723 * WorkArea.C: make the extern "C" methods static.
13725 * Makefile.am (lyx_LDADD): simplify
13727 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13729 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13730 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13732 * LyXAction.C (init):
13733 * lyxfunc.C (dispatch): associated code removal.
13735 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13737 * lyxfont.h (isSymbolFont): shut off warning
13739 * text.C (setHeightOfRow):
13740 (getVisibleRow): fix crash with empty paragraphs which have a
13743 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13745 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13748 2001-09-04 José Matos <jamatos@fep.up.pt>
13751 * tabular.C (docbook): rename docBook method to docbook.
13753 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13755 * Makefile.am: add dependencies to main.o.
13757 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13759 * FontLoader.C (available): Return false if !lyxrc.use_gui
13761 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13763 * FontInfo.C (query):
13764 * converter.C (view):
13765 * importer.C (Import):
13766 * exporter.C (Export): Can not -> cannot.
13768 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13770 * BufferView_pimpl.C: allow to create index inset even if
13773 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13775 * buffer.C (getLists): replace boost::tie code with an explicit pair
13776 as boost::tie can break some compilers.
13778 * iterators.h: Added a std:: declaration to the return type of
13781 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13783 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13786 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13788 * iterators.[Ch]: New files. Provide paragraph iterators.
13790 * buffer.C (changeLanguage): Use paragraph iterators.
13791 (isMultiLingual): ditto
13793 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13795 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13797 * FontLoader.C: Support for cmr font.
13799 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13801 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13802 (available): New method.
13804 * FontInfo.C (getFontname): Use scalable fonts even when
13805 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13808 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13810 * converter.C (Formats::view): reverted! Incorrect fix.
13812 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13814 * converter.C (Formats::view): only output the -paper option
13815 if the dvi viewer is xdvi, thereby fixing bug #233429.
13817 2001-08-23 Herbert Voss <voss@perce>
13819 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13821 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13823 * Spacing.h (Spacing): Set space to Default on in the default
13826 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * vc-backend.h (RCS::versionString): add RCS to version
13829 (CVS::versionString): add CVS to version
13831 * vc-backend.C (scanMaster): do not add CVS to version.
13832 (scanMaster): do not add RCS to version
13834 * lyxvc.C (versionString): new method
13836 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13838 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13840 * Spacing.C (set): initialize fval
13842 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13844 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13847 2001-08-16 Juergen Vigna <jug@sad.it>
13849 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13851 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13853 * BufferView_pimpl.C:
13856 * text2.C: setParagraph takes linespacing now
13858 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13860 * LyxAction.C: add internal LFUN_CITATION_INSERT
13862 * LyXView.C: actually apply fix
13864 * bufferlist.C: fix open non-existent file
13866 * lyxfind.C: fix indentation
13868 * lyxfunc.C: remove unneeded assert, fix typo
13870 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13872 * MenuBackend.C: use "Floatname List"
13874 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13876 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13877 when converting LaTeX layout to insetERT.
13878 Generate a non-collapsed float when reading old float
13880 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13882 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13885 2001-08-13 Juergen Vigna <jug@sad.it>
13887 * text.C (fill): return 0 instead of 20 as this seems to be the more
13890 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13892 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13895 2001-08-13 Juergen Vigna <jug@sad.it>
13897 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13899 (SearchBackward): comment out the unlocking of the inset_owner this
13900 should not be needed!
13902 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13904 * Many files: Remove inherit_language, and add latex_language
13906 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13907 collapsible insets.
13909 2001-08-10 Juergen Vigna <jug@sad.it>
13911 * text.C (prepareToPrint): fixed hfill-width in draw!
13913 * BufferView2.C (selectLastWord): save the selection cursor as this
13914 now is cleared in the function LyXText::clearSelection!
13916 2001-08-08 Juergen Vigna <jug@sad.it>
13918 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13919 BACKSPACE type functions.
13921 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13922 is only cutted from the document but not put in the cut-buffer, where
13923 still the old stuff should be.
13925 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13927 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13929 * tabular.C (SetWidthOfCell): fixed special case where the width
13931 (LeftLine): handle '|' in align_special.
13933 (LeftAlreadyDrawed): ditto
13934 (SetWidthOfCell): ditto
13936 2001-08-07 Juergen Vigna <jug@sad.it>
13938 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13940 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13942 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13943 * lyxlex.[hC]: ditto
13945 2001-08-06 Juergen Vigna <jug@sad.it>
13947 * text.C (getVisibleRow): fix up row clearing a bit.
13949 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * minibuffer.C: make sure the X server sees the changes in the input.
13953 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * paragraph.C (getFont): split into...
13956 (getLabelFont): this
13957 (getLayoutFont): and this
13958 * paragraph_pimpl.C (realizeFont): calling this
13960 * text2.C (getFont): split into...
13961 (getLayoutFont): this
13962 (getLabelFont): and this
13963 (realizeFont): all three calling this
13965 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13968 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13970 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13972 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13974 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13975 layouts from the Quote inset insertion.
13977 2001-08-03 Juergen Vigna <jug@sad.it>
13979 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13981 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13982 only if status not is already CHANGED_IN_DRAW (second level).
13984 * text.C (draw): don't set the need_break_row when inside an
13987 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * buffer.C (parseSingleLyXformat2Token): handle more latex
13992 * bufferview_funcs.[hC]: change function names to
13993 begin with small char, adjust other files.
13995 2001-08-02 André Pönitz <poenitz@gmx.net>
13998 BufferView_pimpl.C: remove broken special code for math-greek
14000 2001-08-02 Juergen Vigna <jug@sad.it>
14002 * BufferView_pimpl.C (update): redone this function so that we
14003 update the text again if there was a CHANGE_IN_DRAW.
14005 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14006 (drawFromTo): added a new internal bool which is used by draw() and
14008 (general): some cursor drawing problems fixed.
14010 2001-08-01 Juergen Vigna <jug@sad.it>
14012 * lyxfind.C (LyXFind): fixed
14013 (SearchForward): ditto
14014 (SearchBackward): ditto
14016 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14017 spurius drawing of the cursor in the main area.
14019 * text2.C (status): small fix which could lead to a segfault!
14020 (clearSelection): remove unneeded BufferView param.
14022 2001-08-01 André Pönitz <poenitz@gmx.net>
14024 * lyxfunc.C: small change due to changed mathed interface
14026 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14028 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14030 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14032 * lyxfunc.c: fail gracefully if file doesn't exist
14037 * BufferView_pimpl.C: IsDirWriteable() proto changed
14039 * LyXView.C: fix updateWindowTitle() to store the last title
14041 2001-07-31 Juergen Vigna <jug@sad.it>
14043 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14044 the font (wrong since using of Paragraph::highestFontInRange).
14046 * paragraph.C (highestFontInRange): added a default_size parameter.
14048 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14049 (setHeightOfRow): reformat
14051 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14053 * converter.[hC] + affected files: move to (inital-char)lowercase
14056 * ParagraphParameters.C (ParagraphParameters): remove commented code
14058 * PainterBase.[Ch]: remove commented code
14060 * LaTeXFeatures.h: add "bool floats" for float.sty
14062 * LaTeXFeatures.C (LaTeXFeatures): init floats
14063 (require): handle float
14064 (getPackages): do it with floats
14066 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14068 * BufferView_pimpl.C (Dispatch): improve handling of
14069 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14071 * commandtags.h: #include lyxfont.h here temporarily to avoid
14074 * bufferlist.h: include LString.h here.
14076 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * text2.C (getStringToIndex): new method.
14080 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14082 * *: Reduced header file dependencies all over.
14084 2001-07-30 Baruch Even <baruch@lyx.org>
14086 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14088 2001-07-29 Baruch Even <baruch@lyx.org>
14090 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14092 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14094 * ParameterStruct.h (endif): add a default constructor to make
14095 sure that all variables is initialized.
14097 * ParagraphParameters.C (ParagraphParameters): adjust
14099 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14101 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14102 index; also, check that there is something to index, and that it
14103 does not span over several paragraphs.
14104 (doubleClick): use WHOLE_WORD_STRICT for double click.
14106 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14108 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14111 2001-07-26 Baruch Even <baruch@lyx.org>
14113 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14114 an InsetFig figure, backwards compatible reading of old figure code.
14116 2001-07-27 Juergen Vigna <jug@sad.it>
14118 * text2.C: font.realize function adaption.
14120 * text.C (draw): add a warnings lyxerr text if needed.
14122 * layout.C: font.realize function adaption.
14124 * language.C: add inherit_language and implement it's handlings
14126 * bufferview_funcs.C (StyleReset): remove language parameter from
14127 font creation (should be language_inherit now).
14129 * bufferparams.C (writeFile): handle ignore_language.
14131 * paragraph.C (getFontSettings): the language has to be resolved
14132 otherwise we have problems in LyXFont!
14134 * lyxfont.C (lyxWriteChanges): added document_language parameter
14135 (update): removed unneeded language parameter
14137 * paragraph.C (validate): fixed wrong output of color-package when
14138 using interface colors for certain fonts in certain environments,
14139 which should not seen as that on the final output.
14141 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14143 * BufferView_pimpl.C:
14148 * LyXAction.C: add thesaurus support
14151 * lyxfind.C: add "once" parameter, for thesaurus, to not
14152 move to the next match
14154 2001-07-26 Juergen Vigna <jug@sad.it>
14156 * lyxfont.C (realize): honor ignore_language too!
14159 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14161 * text.C (draw): one place more for ignore_language to not draw
14164 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14166 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14168 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14170 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14171 the minipage conversion problem.
14173 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14175 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14178 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14180 * BufferView.h: don't forward declare WorkArea
14182 * BufferView.C: don't include WorkArea.h
14184 2001-07-25 André Pönitz <poenitz@gmx.net>
14188 * lyxfunc.C: new LFUN 'math-space'
14190 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14192 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * text2.C (toggleInset): call open/close
14196 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14198 * lyxfunc.C (dispatch): add debug for the disabled case
14200 * font.C (buttonText): make similar to rectText
14202 * buffer.C (readInset): comment out parsing of insetlist and
14205 * PainterBase.C (rectText): small correction
14207 * BufferView_pimpl.C: comment out insettheorem and insetlist
14208 * LyXAction.C: ditto
14209 * commandtags.h: ditto
14211 2001-07-24 Juergen Vigna <jug@sad.it>
14213 * text.C (draw): honor the ignore_language.
14215 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14217 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14219 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14222 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14224 * lyxtext.h: remove unused (and unimplemented) methods
14226 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14228 * text.C (getVisibleRow): honor background color
14231 * Painter.h: remove default color argument for fillRectangle
14233 * text.C (backgroundColor): new method
14235 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * text.C (getVisibleRow): adjust
14239 * font.[Ch] (rectText): new method, metrics
14240 (buttonText): new method, metrics
14242 * PainterBase.[hC]: make rectText and buttonText always draw and take
14245 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14247 * ToolbarDefaults.C (read):
14248 * MenuBackend.C (read): allow escaping in all strings
14250 * BufferView_pimpl.C (insertAndEditInset): new method.
14251 (Dispatch): use insertAndEditInset whenever appropriate.
14253 * BufferView_pimpl.C (insertNote): removed
14255 * BufferView_pimpl.C (smartQuote): new method, moved from
14256 BufferView; if an insetquote cannot be inserted, insert a '"'
14259 * BufferView2.C: remove insertCorrectQuote();
14261 * lyxfunc.C (getStatus): Add support for all remaingin
14262 inset-insert lfuns.
14264 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14266 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14267 command (necessary to pass " as parameter of self-insert.
14269 * text.C (selectWordWhenUnderCursor):
14270 (selectWord): add word_location parameter
14271 (selectWordWhenUnderCursor): same + remove special code for word
14273 (selectNextWord): use kind() to guess type of insetspecialchar,
14276 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14277 (insertErtContents): create ert insets as collapsed.
14278 (readInset): better compatibility code for Info inset.
14280 2001-07-20 Juergen Vigna <jug@sad.it>
14282 * lyxfunc.C (dispatch): use always LyXFind now!
14284 * text2.C (init): add a reinit flag so that the LyXText can be
14285 reinited instead of deleted and reallocated (used in InsetText).
14287 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14293 2001-07-18 Juergen Vigna <jug@sad.it>
14295 * text.C (selectNextWord): handle insets inside inset by calling
14296 always the bv->text functions so that we can go up the_locking_inset!
14298 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14299 in strange locations when inside an inset!
14301 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14302 handling to include insets.
14304 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14306 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14308 * LyXAction.C (init):
14310 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14311 LIGATURE_BREAK, since the name is so stupid.
14313 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14315 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14318 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14320 * sp_form.[Ch]: remove.
14322 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14324 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14327 * src/buffer.C (readInset): ditto.
14329 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14331 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14332 menuSeparator(), endOfSentenceDot(), ldots() and
14333 hyphenationPoint(), which are therefore removed.
14334 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14336 * LyXAction.C (init):
14337 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14339 * paragraph.C (getWord): removed.
14341 * BufferView_pimpl.C (Dispatch): use last word or selection for
14342 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14344 * lyx_main.C (queryUserLyXDir): do not ask before creating
14345 user_dir, except if it has been named explicitely.
14347 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14349 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14350 a document of zero size.
14352 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14354 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14355 approriately in the c-tor and in require().
14356 (getPackages): output the appropriate LaTeX for natbib support.
14358 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14359 variables "use_natbib" and "use_numerical_citations" when reading the
14361 (readInset): read the various natbib cite commands.
14362 (validate): white-space change.
14364 * bufferparams.[Ch]: new variables "bool use_natbib" and
14365 "bool use_numerical_citations".
14366 (writeFile): output them in the LyX file.
14368 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14370 * lyxfunc.C (getStatus): add support for all the inset insertion
14373 * text2.C (insertInset):
14374 * paragraph.C (insetAllowed):
14375 * BufferView_pimpl.C (insertInset): update to take in account the
14376 renaming of insertInsetAllowed
14378 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14380 * text2.C (getInset): new method. returns inset at cursor position.
14382 * BufferView_pimpl.C (Dispatch): changes because of this.
14384 * LyXAction.C (init): rename open-stuff to inset-toggle.
14386 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14388 * text2.C (toggleInset): renamed from openStuff; use
14391 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14393 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14395 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14397 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14399 * buffer.C (readLyXformat2): Add filename to the error dialog
14401 2001-07-18 Juergen Vigna <jug@sad.it>
14403 * tabular.C (GetCellNumber): put an assert here instead of the check!
14405 2001-07-17 Juergen Vigna <jug@sad.it>
14407 * BufferView_pimpl.C (toggleSelection): adapted too.
14409 * text.C (selectNextWord): adapted for use with insets.
14410 (selectSelectedWord): ditto
14412 2001-07-17 Juergen Vigna <jug@sad.it>
14414 * sp_spell.C (PSpell): fix initialitation order.
14416 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * paragraph.C: spacing
14420 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14422 * sp_spell.C: repair language selection for pspell
14424 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * lyxfunc.h: change more methods to begin with lower char.
14428 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14430 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14431 for unknown layouts.
14433 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14435 * buffer.C (readLyXformat2): Generate an error dialog if there are
14438 2001-07-16 Juergen Vigna <jug@sad.it>
14440 * sp_spell.C: always compile ISpell part.
14442 * lyxrc.C: added use_pspell entry and it's handling.
14444 2001-07-13 Juergen Vigna <jug@sad.it>
14446 * sp_spell.C: removed double includes.
14448 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14450 Consistent use of Lsstream.h:
14451 * Lsstream.h: added using std::stringstream for consistencies sake.
14453 * buffer.C: removed using std::stringstream
14455 * lyxfont.C (stateText):
14456 * paragraph.C (asString):
14457 * text.C (selectNextWord, selectSelectedWord):
14458 * text2.C (setCounter):
14459 * vspace.C (asString, asLatexString):
14460 std::ostringstream -> ostringstream.
14462 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14464 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14465 * commandtags.h: add LFUN_HELP_ABOUTLYX
14466 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14468 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14470 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14472 * lyx_gui_misc.C: remove spellchecker
14473 * lyxfunc.C: showSpellchecker
14475 * sp_ispell.h: added
14476 * sp_pspell.h: added
14477 * sp_spell.C: added
14478 * sp_form.[Ch]: removed
14479 * spellchecker.[Ch]: removed
14481 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14483 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14485 (simpleTeXSpecialChars): Simply print the input character without
14486 any special translation if pass_thru is set.
14488 * layout.h: Added bool pass_thru to layout class for being able to
14489 implement pass through of a paragraph for Literate Programming.
14491 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14492 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14493 * layout.C (Read): add "passthru" to list of layout tags and add
14494 code to set the pass_thru boolean when it is read.
14496 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * trans_decl.h: remove allowed from KmodInfo
14500 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14501 remove allowed code
14504 * paragraph_pimpl.C (erase): use boost::prior
14506 * Painter.C (text): use data() instead of c_str() when length is
14508 * WorkArea.C (putClipboard): ditto
14509 * font.h (width): ditto
14511 * BufferView2.C: use it-> instead of (*it). for iterators
14513 * paragraph_pimpl.C: ditto
14514 * paragraph.C: ditto
14515 * minibuffer.C: ditto
14516 * language.C: ditto
14518 * encoding.C: ditto
14519 * counters.C: ditto
14520 * converter.C: ditto
14522 * Variables.C: ditto
14523 * TextCache.C: ditto
14524 * MenuBackend.C: ditto
14525 * LyXAction.C: ditto
14527 * FloatList.C: ditto
14528 * DepTable.C: ditto
14529 * ColorHandler.C (LyXColorHandler): ditto
14531 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14533 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14535 * text2.C (openStuff): reintroduce this method (which had been
14536 nuked in NEW_INSETS frenzy).
14538 * lyxfunc.C (Dispatch): when an action has not been handled, use
14539 its name in the error message, not its number.
14541 * paragraph.C (inInset): change method name to begin with lowercase.
14544 * text2.C: updates because of this.
14546 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * ToolbarDefaults.C (add): add spaces in error message
14550 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14552 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14553 (readLyXformat2): rename return_par to first_par, use lyxlex's
14554 pushToken and remove the manual push handling.
14555 (parseSingleLyXformat2Token): add another ert comp. variable:
14556 in_tabular, rename return_par to first_par. handle newlines better
14558 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14560 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14562 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14564 * text2.C (getParFromID): removed
14566 * buffer.C (getParFromID): new method moved form lyxtext.
14567 * BufferView2.C (insertErrors): adjust
14568 (setCursorFromRow): adjust
14569 * BufferView_pimpl.C (restorePosition): adjust
14570 * lyxfunc.C (Dispatch): adjust
14571 * undo_funcs.C (textUndo): adjust
14573 (textHandleUndo): adjust
14574 (textHandleUndo): adjust
14576 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * buffer.C: up' the LYX_FORMAT
14580 * lyxfont.h: turn NO_LATEX on as default
14582 * buffer.C (insertErtContents): new methods of tex style compability.
14583 (parseSingleLyXformat2Token): use it several places.
14584 * tabular.C (OldFormatRead): and here
14586 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14588 * text2.C: remove some commented code.
14591 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14592 * trans.C: changes because of the above.
14594 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14596 * text2.C (setCounter): Fix counters bug with bibliography layout.
14598 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14600 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14601 own member functions
14602 (simpleTeXSpecialChars): ditto
14604 2001-07-06 Juergen Vigna <jug@sad.it>
14606 * a lot of files: changed the access to LyXText::status and the
14607 call of undo-functions.
14609 * undo.[Ch]: added a inset_id to the undo informations.
14611 * undo_funcs.[Ch]: added and moved here all undo functions.
14613 * lyxtext.h: give the status enum a weight, made status_ a private
14614 variable and made accessor functions for it, removed the whole bunch
14615 of undo-functions as they are now in their own file, make some
14616 functions publically available. Added function ownerParagraph with
14619 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14620 made InInset() a const function, added getParFromID() function.
14622 * buffer.[Ch]: added const version for inset_iterator functions,
14623 added getInsetFromID() function.
14625 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14626 changed undo functions for new version.
14628 2001-07-05 Juergen Vigna <jug@sad.it>
14630 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14631 unknow mechanism does not call the proper constructor but only this
14632 one also if I request the other!?
14634 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14636 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14638 * text2.C (LyXText): use initialization lists.
14640 * lyxtext.h (Selection): initialize set_ and mark_
14641 (init): remove method
14643 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14645 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14647 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * screen.[Ch]: change method names to begin with lowercase
14651 * BufferView_pimpl.C (updateScrollbar): simplify further and
14652 hopefully make it a bit faster.
14654 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14656 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14657 calling directly xforms functions.
14659 * Painter.C (Painter):
14660 * lyx_cb.C (MenuWrite):
14661 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14664 * lyx_gui.C: remove bogus guiruntime extern declaration.
14666 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14668 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14670 (redoDrawingOfParagraph): ditto
14671 (redoParagraphs): ditto
14672 (cutSelection): don't create a object for CutAndPaste use the
14673 static method directly
14674 (pasteSelection): ditto
14676 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14679 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14681 * modifications to some other files because of this.
14683 * Makefile.am (lyx_SOURCES): add XFormsView
14685 * XFormsView.[Ch]: new files
14687 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14688 the main window. Move the gui dependent stuff to XFormsView
14690 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14692 * tabular.C (GetCellInset): update cur_cell also in the row/col
14693 version of this function.
14695 * lyxfunc.C: no need to include figure_form.h here.
14701 * lyxvc.C: no need to include forms.h here.
14703 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14705 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14707 * lyxfunc.C (Dispatch):
14709 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14710 constructor argument.
14712 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14714 * paragraph.C (Paragraph): dont't clear, and just set layout.
14715 (makeSameLayout): use params's copy contructor.
14717 * ParagraphParameters.[Ch] (makeSame): delete method
14719 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14721 * Variables.[Ch]: fix indentation, rename set to isSet
14723 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14725 * lyxfunc.C (Dispatch): fix typo
14727 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14732 * bufferlist.C: include assert.h for emergencyWrite().
14734 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14736 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14737 give up at last (bug #425202) !
14739 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14745 * spellchecker.C: strip spellchecker options and bring up
14746 preferences tab instead
14748 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14751 the istringstream constructor
14753 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14755 * paragraph.C (getLayout): fix return value
14757 * paragraph.h: do not declare getLayout as inline.
14759 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14761 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14763 * lyxcursor.h (operator<): new func
14764 (operator>): new func
14765 (operator>=): new func
14766 (operator<=): new func
14768 * text.C (changeCase): use selection.start and selection.end
14769 (changeRegionCase): require from to be <= to. Require par to be a
14772 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14774 2001-06-27 Juergen Vigna <jug@sad.it>
14776 * text.C (cursorLeftOneWord): changed to return the cursor and added
14777 overlay with BufferView * parameter which calls this one.
14779 (selectWord): use new getWord function.
14780 (changeCase): renamed from changeWordCase as and extended to work
14781 also on selections.
14783 * lyxtext.h: added enum word_location
14785 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14786 changeCase as this operates now also on selections.
14788 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14790 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14792 * many files: send debug output to Debug::INFO instead of
14795 * converter.C (View):
14797 (Move): send debug output to Debug::FILES instead of console.
14799 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14801 * lyxfunc.C (getStatus): use func_status
14803 * func_status.h: new header, describing the results of
14804 LyXFunc::getStatus;
14806 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14809 2001-06-25 The LyX Project <jug@sad.it>
14811 * buffer.C (sgmlOpenTag):
14813 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14815 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14817 * text2.C: remove some dead code
14819 * tabular.C (GetCellInset): store the last cell checked (gotten)
14821 * tabular.h: add the helper for the speedup
14823 * lyxtext.h: remove some dead code
14825 2001-06-26 The LyX Project <Asger>
14827 * paragraph.C: Change export to LaTeX of alignment to
14828 \begin{center} and family for better roundtrip work with reLyX.
14830 * Tune the math drawing a bit.
14832 2001-06-25 The LyX Project <Asger>
14834 * LColor.C (LColor): New color for math background. New color
14837 2001-06-25 The LyX Project <jug@sad.it>
14839 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14841 * lyxfunc.C (Open):
14842 * bufferlist.C (newFile): do not restrict to files ending with
14845 * BufferView_pimpl.C (MenuInsertLyXFile):
14847 2001-06-24 The LyX Project <jug@sad.it>
14849 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14852 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14854 * lyxtext.h: rename most methods to begin with a small char.
14855 Lots of changes because of this.
14857 * paragraph.C (Paragraph): do not call fitToSize
14858 (erase): call Pimpl::erase
14859 (insertChar): call Pimpl::insertChar
14860 (insertInset): call Pipl::insertInset
14861 (breakParagraph): do not call fitToSize
14862 (breakParagraphConservative): do not call fitToSize
14863 (fitToSize): remove method
14865 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14867 2001-06-24 The LyX Project <Asger>
14869 * Fix Qt compilation^2
14871 2001-06-24 The LyX Project <jug@sad.it>
14873 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14874 depthHook(getDepth()-1).
14877 * ParagraphParameters.h:
14878 * ParameterStruct.h: change type of depth to unsigned int ==
14879 depth_type. Many adaptations to other files before of that.
14881 2001-06-24 The LyX Project <Asger>
14883 * Fix Qt compilation.
14885 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14887 * paragraph.h: renamed several methods to begin with small letter.
14888 several changes to many parts of the code because of this.
14890 2001-06-23 The LyX Project <jug@sad.it>
14892 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14893 rewritten to discard all double spaces when KeepEmpty is off
14894 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14895 to only handle newlines but not fiddle with spaces and friends.
14897 * lyxfunc.C (MenuNew): when doing 'new from template', use
14898 template_path as default directory
14900 2001-06-23 The LyX Project <Asger>
14902 * Clean-up of header file includes all over
14903 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14905 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14907 * paragraph.h: renamed from lyxparagraph.h
14909 2001-06-23 Asger <lyx@violet.home.sad.it>
14911 * Buffer.h: Removed Buffer::resize
14912 * BufferList.h: Removed BufferList::resize
14913 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14914 the document lazily when we change the width, or the font settings.
14916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14918 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14922 * buffer.h: remove out of date comment
14924 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14927 * screen.C: fix "theoretical" GC leak
14929 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14931 * LaTeX.C (scanAuxFile):
14932 (deplog): remove trailing \r when reading stream (useful under
14935 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14937 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14938 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14939 and BufferView::theLockingInset(Inset*), so should use them and not
14940 access bv_->text->the_locking_inset directly.
14942 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14944 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14947 * tex-defs.h: remove old unused file
14949 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14951 * BufferView_pimpl.C: fix typo, remove minibuffer message
14952 when buffer has loaded
14954 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14956 * lyxfunc.C (Dispatch): use stringstream
14957 (MenuNew): use stringstream
14958 (Open): use stringstream
14960 * importer.C (Import): use stringstream
14962 * bufferview_funcs.C (CurrentState): use stringstream
14964 * LaTeX.C (run): use stringstream
14966 * BufferView_pimpl.C (savePosition): use stringstream
14967 (restorePosition): use stringstream
14968 (MenuInsertLyXFile): use stringstream
14970 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14983 * vspace.C: removed // -*- C++ -*- as first line.
14986 * version.h: added // -*- C++ -*- as first line.
14988 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14992 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14995 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15000 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * gettext.C: include LString.h even when --disable-nls is on.
15004 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15006 * converter.h (Get): changed argument type from int to
15007 FormatList::size_type to avoid unnecessary conversion.
15009 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15012 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15014 * gettext.h: include LString.h even when --disable-nls is on.
15016 2001-06-07 Juergen Vigna <jug@sad.it>
15018 * text.C (BreakAgain): subst spaces with tabs.
15020 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15021 (resizeInsetsLyXText): set force on resizeLyXText.
15023 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15025 * gettext.h (gettext_init):
15026 (locale_init): use a real definition instead of a macro
15028 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15030 * Bufferview_pimpl.C:
15032 * LColor.C: further lcolor tidies
15034 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15036 * BufferView_pimpl.C (updateScrollbar): simplify.
15038 * BufferView2.C: don't include insets/insetinfo.h, change
15039 prototype for insertInset and call the Pimpl version. let
15040 updateInset call Pimpl version.
15042 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15043 gotoInset to BufferView::Pimpl
15045 2001-06-01 Juergen Vigna <jug@sad.it>
15047 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15048 inside a LockingInset (is the update needed at all?).
15050 2001-05-31 Juergen Vigna <jug@sad.it>
15052 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15053 here not the old one otherwise how should we compare it afterwards
15056 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * FontInfo.C: bring C functions into global namespace when
15064 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * LString.h: make sure config.h has been loaded before LString.h.
15068 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15069 (one for each char read by EatLine!).
15071 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15074 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15077 to the same as the par we break from
15079 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15083 * MenuBackend.C (expand): also create menu entries for wide
15084 versions of the floats.
15086 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15088 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15090 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15091 frontends/Makefile.am
15097 * tabular.C (getTokenValue): add std::
15099 * tabular-old.C (getTokenValue): add std::
15100 (getTokenValue): ditto
15101 (getTokenValue): ditto
15103 * screen.C (ToggleSelection): adjust
15105 * lyxtext.h: put selection cursors inside a Selection struct.
15107 * lyxfunc.C (moveCursorUpdate): adjust
15109 * lyxfont.C (latexWriteStartChanges): add std::
15111 * lyxfind.C: adjust
15113 * font.h: delete with(char const *, LyXFont const &)
15115 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15117 * FontInfo.C (getFontname): add std::
15119 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15120 (workAreaButtonPress): adjust
15121 (tripleClick): adjust
15123 (moveCursorUpdate): adjust
15126 * BufferView2.C (gotoInset): adjust
15128 2001-05-30 Juergen Vigna <jug@sad.it>
15130 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15131 to check pspell I add this as default as I now have new pspell
15132 libraries and they seem to use this.
15134 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15136 * text2.C (CutSelection): make the cursor valid before the call to
15139 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15141 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15142 relied on 0 terminated strings and other horrors. Bug found due to
15143 the new assert in lyxstring!
15145 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15148 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15150 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15153 * lyxfunc.C (processKeySym): change method of getting to the
15156 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15157 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15158 * BufferView_pimpl.[Ch]: here as private methods.
15160 2001-05-28 Juergen Vigna <jug@sad.it>
15162 * text.C (SetHeightOfRow): added the update() call again as it is
15163 needed to initialize inset dimensions!
15165 2001-05-16 Juergen Vigna <jug@sad.it>
15167 * text2.C (SetCharFont): Add new function with BufferView * and
15168 bool toggleall parameters for setting insets internal fonts.
15169 (SetFont): Freeze the undo as we may change fonts in Insets and
15170 all this change should be inside only one Undo!
15172 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15173 setting font's in insets as for them we have the SetFont function!
15175 2001-05-15 Juergen Vigna <jug@sad.it>
15177 * text2.C (ClearSelection): to be sure we REALLY don't have any
15180 * tabular.C (TeXCellPreamble): fixed the left border problem for
15183 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15185 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15188 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15190 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15191 LFUN_BREAKPARAGRAPH.
15193 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15194 help test to "internal only", similar for LFUN_INSERT_URL
15196 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15197 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15198 auto_region_delete and deadkeys.
15200 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15203 * LColor.C: remove some dead entries, tidy a little
15205 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15207 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15209 (Dispatch): implement LFUN_ESCAPE
15211 * commandtags.h: add LFUN_ESCAPE
15213 * LyXAction.C (init): add entry for LFUN_ESCAPE
15215 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15216 Remove commented code.
15217 (insertNote): moved here
15218 (open_new_inset): moved here
15220 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15223 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * kbmap.C (findbinding): clean it up and make it work correctly.
15227 * lyx_main.C (init): do not pass argc and argv as parameters
15229 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15231 * buffer.C: fix path for OS/2 & Win32
15235 * lyx_main.C: Added os:: class.
15237 * os2_defines.h: update
15239 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15241 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15242 better by trying again with reduced state.
15244 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * lyxrc.C (read): print error about invalid key sequence only when
15247 debugging (because not all latinX keysyms are known to some X
15250 * kbsequence.C (getiso): add a few std:: qualifiers
15251 (getiso): comment out extra return statement.
15253 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15255 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15257 (Dispatch): enhance the accent inset a bit. (not perfect)
15259 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15261 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15263 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15265 * bufferlist.C (emergencyWrite): fix assert() call
15267 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15269 * text.C (InsertChar): Added trivial patch to only send the "you
15270 can not do multiple spaces this way" message once during a
15273 2001-05-08 Baruch Even <baruch@lyx.org>
15275 * Makefile.am: Changed order of libraries to get LyX to link properly
15276 with the gnome frontend.
15278 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15280 * LaTeXFeatures.h: add a std:: qualifier
15282 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15284 * paragraph.C (String): use stringstream
15286 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15288 * paragraph.C (writeFile): remove footflag arg
15290 * buffer.C (makeLaTeXFile): use stringstream
15291 (latexParagraphs): remove footnot gurba
15293 * LaTeXFeatures.C (getPackages): use stringstream
15294 (getMacros): likewise
15295 (getTClassPreamble): likewise
15296 (getFloatDefinitions): new method
15298 * paragraph.C (writeFile): reindent
15301 * WorkArea.h: revert the xpos + etc changes.
15303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15305 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15307 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15308 (pasteSelection): likewise
15309 * text2.C (CreateUndo): likewise
15311 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * minibuffer.C (peek_event): temporarily reduce the functionality
15314 of the minibuffer (to allow args on lfuns)
15316 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15317 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15319 * buffer.C (readInset): add compability reading of old float
15320 lists, add reading of new style float list.
15321 (readInset): avoid reevaluation of inscmd.getCmdName()
15322 (getLists): reindent
15324 * MenuBackend.C (MenuItem): implement parsing of
15325 md_floatlistinsert and md_floatinsert.
15326 (expand::LastFiles): move initalizaton of iterators out of loop,
15327 avoid reevaluation.
15328 (expand::Documents): introduce typdedef vector<string> Strings,
15330 (expand::ExportFormats): introduce typedef vector<Format const *>
15331 Formats, and use it.
15332 (expand): implement FloatListInsert and FloatInsert.
15334 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15335 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15336 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15338 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15340 (Dispatch::LFUN_FLOAT_LIST): implement
15342 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15344 * LaTeX.C (run): Fix problem with --export code.
15346 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15348 * BufferView.[Ch] (workarea): removed.
15349 (getClipboard) new method; wrapper for workarea()->getClipboard()
15351 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15354 * WorkArea.h (width, height, xpos, ypos): These methods all
15355 returned the dimensions of the work_area sub-area of WorkArea,
15356 resulting in a position error if the WorkArea were resized. Now
15357 return the dimensions of the entire WorkArea.
15359 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15361 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15363 * LaTeX.C (deplog): correct the syntax of regex reg1
15365 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * undo.C: remove !NEW_INSETS cruft
15369 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15371 * text2.C: remove !NEW_INSETS cruft
15373 * text.C: remove !NEW_INSETS cruft
15375 * tabular.C: remove !NEW_INSETS cruft
15377 * spellchecker.C: remove !NEW_INSETS cruft
15379 * lyxtext.h: remove !NEW_INSETS cruft
15381 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15383 * lyxfunc.C: remove !NEW_INSETS cruft
15385 * lyxfind.C: remove !NEW_INSETS cruft
15387 * lyx_cb.C: remove !NEW_INSETS cruft
15389 * figureForm.C: remove !NEW_INSETS cruft
15391 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15393 * buffer.[Ch]: remove !NEW_INSETS cruft
15395 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15397 * CutAndPaste.C: remove !NEW_INSETS cruft
15399 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15401 * BufferView2.C: remove !NEW_INSETS cruft
15403 * BufferView.h: remove !NEW_INSETS cruft
15405 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15407 * Lsstream.h: include LString.h before the sstream headers to
15408 fix problem with gcc 2.95.3 and lyxstring
15410 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * lyx_main.C: add using directives when needed for C functions
15413 declared in std:: namespace.
15415 2001-04-27 Juergen Vigna <jug@sad.it>
15417 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15418 (SetHeightOfRow): comment out the update call should not be needed!
15420 2001-04-13 Juergen Vigna <jug@sad.it>
15422 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15423 (LyXTabular): tried to minimize operator= operations (and realized
15424 hopfully Lars wish).
15426 2001-04-27 Juergen Vigna <jug@sad.it>
15428 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15430 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15432 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15434 * buffer.C (readInset): hack to make listof algorithm work
15436 * BufferView_pimpl.C: hack to make listof algorithm work
15438 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15440 * LyXAction.C: removed all !NEW_INSETS cruft
15441 (init): moved lfun_item in method
15443 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15445 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15447 * BufferView2.C (theLockingInset): white space.
15449 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15451 * minibuffer.C: include <iostream>
15453 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15455 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15457 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15459 * text.[Ch] (TransposeChars): new method
15461 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * call message directly through LyXView instead of through LyXFunc
15464 * BufferView2.C: adjust
15465 * BufferView_pimpl.C: adjust
15466 * FontLoader.C: adjust
15468 * bufferview_funcs.C: adjust
15469 * converter.C: adjust
15470 * figureForm.C: adjust
15471 * importer.C: adjust
15473 * lyx_gui_misc.C: adjust
15474 * lyxfunc.C: adjust
15477 + more files in subdirs
15479 * lyxparagraph.h (size): move up int file
15482 * adjust all uses of Assert to lyx::Assert.
15484 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15485 lyxfunctional in namespace lyx
15486 * layout.C (hasLayout): ditto
15489 (delete_layout): ditto
15490 (NumberOfClass): ditto
15491 * converter.C (GetFormat): ditto
15496 * bufferlist.C (getFileNames): ditto
15497 (emergencyWriteAll): ditto
15500 * MenuBackend.C (hasSubmenu): ditto
15503 * BufferView_pimpl.C (getInsetByCode): ditto
15505 2001-04-18 Juergen Vigna <jug@sad.it>
15507 * vspace.C (asLatexString): fixed the 100% problem.
15509 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15511 * lyxfunc.C (Dispatch):
15513 * minibuffer.h: add a few std:: qualifiers
15515 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * minibuffer.[Ch]: reimplement so that commands is initiated and
15518 run from lyxfunc, simplified som handling, and made the completion
15519 and history code for complete. wip.
15521 * lyxfunc.C (processKeySym): call message
15522 (miniDispatch): new temporary method
15523 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15524 (LFUN_MESSAGE): implement
15525 (LFUN_MESSAGE_PUSH): implement
15526 (LFUN_MESSAGE_POP): implement
15527 (initMiniBuffer): the initial/defualt minibuffer message.
15529 * lyxfont.[Ch]: inline some more getters
15531 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15533 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15535 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15536 (AutoSave): use LFUN_MESSAGE
15537 (Reconfigure): ditto
15539 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15541 * figureForm.C: use LFUN_MESSAGE
15543 * converter.C (runLaTeX): use LFUN_MESSAGE
15545 * bufferview_funcs.C: use LFUN_MESSAGE
15547 (changeDepth): ditto
15549 * bufferparams.h: use boost::
15551 * bufferlist.h: inherit privately from noncopyable
15553 * bufferlist.C (loadLyXFile): remove some commented code.
15555 * buffer.C (runChktex): use LFUN_MESSAGE
15557 * ShareContainer.h: inherit privately from noncopyable
15559 * ParagraphParameters.[hC] (depth): inline it.
15561 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15563 (message): new method
15564 (messagePush): ditto
15565 (messagePop): ditto
15566 (show): init minibuffer
15567 (showState): direct call
15569 * LaTeX.[Ch]: inherit privately from noncopyable
15570 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15571 instead of WriteStatus.
15573 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15575 * BufferView_pimpl.C (buffer): don't init minibuffer
15576 (workAreaButtonPress): use LFUN_MESSAGE
15577 (workAreaButtonRelease): ditto
15578 (savePosition): ditto
15579 (restorePosition): ditto
15580 (MenuInsertLyXFile): ditto
15581 (workAreaExpose): don't init minibuffer
15582 (update): remove commented code, simplify
15584 * BufferView2.C (openStuff): use LFUN_MESSAGE
15585 (toggleFloat): ditto
15588 (copyEnvironment): ditto
15589 (pasteEnvironment): ditto
15594 (updateInset): remove some commented code
15596 * lastfiles.h: inherit privately from noncopyable
15599 * lyx_main.h: ditto
15601 * lyxlex_pimpl.h: ditto
15603 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15604 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15605 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15607 * LyXAction.h: inherit privately from noncopyable, add methods
15608 func_begin, func_end, returning iterators to the func map.
15610 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15611 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15612 (func_begin): new method
15613 (func_end): new method
15615 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15617 (copySelection): ditto
15618 (pasteSelection): ditto
15620 * BufferView.C: whitespace change
15621 * BufferView.h: inherit privately from noncopyable
15623 2001-04-16 Allan Rae <rae@lyx.org>
15625 * tabular-old.C (l_getline):
15626 * spellchecker.C (sc_check_word):
15627 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15628 an unrecognised preprocessor directive. So ensure they're wrapped.
15630 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15632 * src/exporter.C (Export): Give an error message when path to file
15635 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15637 * LaTeX.C (deplog): Always check that foundfile exists.
15639 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15644 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * tabular.[Ch] (getLabelList): implement new method
15648 * minibuffer.h: comment ouf setTiimer
15650 * minibuffer.C (ExecutingCB): constify res
15651 (peek_event): constify s
15652 (Set): constify ntext
15653 (Init): constify nicename
15655 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15657 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15658 (savePosition): use two params to Minibuffer::Set
15659 (restorePosition): ditto
15661 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15663 * lyx_main.C: include language.h
15665 * Makefile.am (lyx_main.o): add language.h
15667 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15673 * CutAndPaste.C: include gettext.h
15675 * lyxfont.h: remove old hack with ON and OFF.
15678 * lyxfont.h: do not include language.h...
15683 * bufferview_funcs.C:
15689 * paragraph.C: ... but do it here instead
15691 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15693 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15695 * tabular.C: small reformat
15697 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15700 (BreakParagraph): ditto
15701 (SetOnlyLayout): ditto
15704 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15707 * lastfiles.C: removed most using decl, add std:: where needed
15709 * buffer.C: ws changes
15711 * MenuBackend.C (class compare_format): put into anon namespace
15712 (expand): constify label, names, action, action2
15715 * text.C (SingleWidth): constify font
15716 (IsBoundary): constify rtl2
15717 (GetVisibleRow): constify ww
15719 * LaTeX.C (deplog): constify logfile
15721 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15723 (workAreaExpose): constify widthChange, heightChange
15725 * lyxrow.C (par): moved
15728 * lyxrow.h: as inlines here
15730 * lyxfont.h (shape): moved from lyxfont.C
15731 (emph): moved from lyxfont.C
15733 * lyxfont.C (LyXFont): use initialization list for all
15735 (shape): move to lyxfont.h as inline
15736 (emph): move to lyxfont.h as inline
15739 2001-04-04 Juergen Vigna <jug@sad.it>
15741 * vspace.C: had to include stdio.h for use of sscanf
15743 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15746 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15747 independent of xforms.
15749 2001-04-02 Juergen Vigna <jug@sad.it>
15751 * spellchecker.C: fixed namespace placing!
15753 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15755 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15756 the LyXParagraph * is 0.
15758 2001-03-29 Juergen Vigna <jug@sad.it>
15760 * vspace.C: added support for %, c%, p%, l%.
15761 (stringFromUnit): added helper function.
15762 (asLatexString): changed to give right results for the %-values.
15764 * buffer.C: convert the widthp in a width%.
15766 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15768 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15771 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15772 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15774 * lyx_cb.[Ch]: see above.
15776 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15780 * lyx.[Ch]: replaced by figure_form.[Ch].
15784 * lyxfunc.C: changed headers associated with above changes.
15786 2001-03-27 Juergen Vigna <jug@sad.it>
15788 * BufferView_pimpl.C: set the temporary cursor right!
15790 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15792 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15794 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15796 * LString.h: removed "using std::getline"!
15798 * BufferView_pimpl.C (Dispatch): changes due to changes in
15799 InsetInclude::Params.
15801 * buffer.C (tag_name): removed redundant break statements as they were
15802 producing lots of warnings with my compiler.
15804 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15806 * LString.h: add "using std::getline" when using the real <string>.
15808 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15810 * buffer.C: removed bitset usage.
15811 PAR_TAG moved to an anonymous name space.
15812 (tag_name): new funtion, also in the anonymous namespace.
15813 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15814 (makeDocBookFile): clean code. Completed transition from string arrays
15816 (SimpleDocBookOnePar): code clean.
15818 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15820 * tabular.C: add some comments.
15822 2001-03-22 Juergen Vigna <jug@sad.it>
15824 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15825 compatibility read a bit and fixed bug with minipage in different
15828 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15830 * buffer.C (pop_tag): removed.
15831 (push_tag): removed.
15832 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15833 array replaced with vector. Added support for CDATA sections.
15834 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15836 (makeDocBookFile): XML conformant declaration of CDATA section,
15837 fixed bug related to <emphasis> in the first paragraph char.
15838 (sgmlOpenTag): exclude empty tags.
15839 (sgmlCloseTag): ditto.
15841 * buffer.h (pop_tag): removed.
15842 (push_tag): removed.
15844 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15846 * language.h (Languages): added size_type and size().
15848 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15850 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15851 response on compability reading of minipages. One probliem is that
15852 the old usage of minipages was «flertydig»
15854 * several files here and in subdirs: don't use static at file
15855 scope use anon namespaces instead.
15857 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15859 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15860 LaTeX output. This is necessary for Literate document
15863 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15865 * buffer.C: insert hfill when needed.
15867 * tabular.C (l_getline): use string::erase, small whitespace change.
15869 * BufferView_pimpl.C: try the anon namespace.
15870 * WorkArea.C: ditto
15872 2001-03-16 Juergen Vigna <jug@sad.it>
15874 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15875 otherwise it won't open options-dialogs.
15877 * buffer.C: honor pextraWidth(p) on converting minipages.
15879 * tabular.C (l_getline): changed the functions to strip trailing \r.
15881 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15883 * BufferView_pimpl.C:
15884 * minibuffer..C: added "using SigC::slot" declaration.
15886 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15888 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15894 * paragraph.C: ditto
15896 * lyxtext.h: NO_PEXTRA
15898 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15900 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15901 * ParameterStruct.h: ditto
15902 * ParagraphParameters.h: ditto
15903 * lyxparagraph.h: ditto
15905 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15907 * buffer.C: add compability for minipage alignment.
15908 (latexParagraphs): remove unwanted pextra check.
15910 * several files: remove CXX_WORKING_NAMESPACES
15912 * buffer.C (pop_tag): tie is in namespace boost
15914 * BufferView.h: noncopyable is in namespace boost
15916 * lyx_main.h: ditto
15919 * lastfiles.h: ditto
15920 * bufferlist.h: ditto
15921 * ShareContainer.h: ditto
15923 * LyXAction.h: ditto
15926 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15928 * Merging changes from BRANCH_MVC back into HEAD.
15930 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15932 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15934 * BufferView_pimpl.C: change from intl.C
15938 * Makefile.am: move combox.*
15944 * intl.C: remove dialog (covered by prefs)
15946 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15948 * lyxfunc.C (Dispatch): removed redundant break statement.
15950 2001-03-14 Juergen Vigna <jug@sad.it>
15952 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15954 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15956 * buffer.C: add hack to fix compability reading of minipages.
15958 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15960 * buffer.C (getLists): Cleanup.
15962 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15964 * lyxfont.C (update): don't honor toggleall on font size.
15966 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15970 * Makefile.am: moved to frontends/xforms/
15974 * BufferView_pimpl.C: changes for moved mathpanel
15976 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15978 * gettext.h: fix gettext_init() in --disable-nls
15980 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15982 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15984 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15987 * lyx.h: strip external form
15989 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15991 * BufferView_pimpl.C: add comment, destroySplash()
15993 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15995 * BufferView_pimpl.C:
15999 * lyxfunc.C: use re-worked insetinclude
16001 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16003 * buffer.C: add using std::stringstream.
16005 * lyx_cb.C: readd using std::ios.
16007 * buffer.C: add using std::map.
16009 * BufferView_pimpl.C: add using std::vector.
16011 * ShareContainer.h: add std:: to swap.
16013 * buffer.h: add some typedefs
16014 * buffer.C (getLists): use them
16015 (getLists): renamed from getTocList.
16016 add a counter for the different float types and use it in the
16018 (getLists): use the same counter for the NEW_INSETS and the "non"
16021 * lyx_cb.h: remove unused items, includes, using etc.
16023 * ShareContainer.h: remove some commented code, add more comments
16024 and "documentation".
16026 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16028 * buffer.C (getTocList): make the list also when NEW_INSETS is
16031 * buffer.h: remove TocType
16033 * buffer.C (getTocList): change to return a map<string,
16034 vector<TocItem> >, implement for dynamic number of list.
16036 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16037 * text2.C (PasteSelection): adjust
16038 * CutAndPaste.C (pasteSelection): adjust
16040 * FloatList.C (FloatList): update from the new_insets branch.
16041 * Floating.[Ch]: ditto
16042 * LaTeXFeatures.C: ditto
16044 * lyxlex_pimpl.C: ditto
16046 * paragraph.C (Last): remove when NEW_INSETS is defined.
16048 * other file: changes because of the above.
16050 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16052 * lyxparagraph.h: rename next to next_, previous to previous_,
16053 make them private for NEW_INSETS. Rename Next() to next(),
16054 Previous() to previous().
16056 * other files: changes because of the above.
16058 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16061 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16064 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * main.C (main): pass lyx_localedir to gettext_init().
16068 * gettext.h: remove locale_init and gettext_init macros
16070 * gettext.C (locale_init): new function
16071 (gettext_init): new function
16073 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16076 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16078 * Moved credits to frontends:
16079 * credits.[Ch]: removed
16080 * credits_form.[Ch]: removed
16081 * lyx_gui_misc.C: remove credits stuff
16084 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16086 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16088 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16089 unneeded destructor.
16091 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16092 a standalone pointer again.
16094 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16096 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16102 * ToolbarDefaults.C:
16111 * BufferView_pimpl.C: use new file dialog in GUII
16114 * lyx_cb.C: remove LayoutsCB to Toolbar
16116 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16118 * ShareContainer.h (get): add std:: qualifier
16120 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16122 * ShareContainer.h: define a proper ShareContainer::value_type
16123 type (and use typename to please compaq cxx)
16125 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16127 * lyxparagraph.h: move serveral local vars to
16128 ParameterStruct/ParagraphParameters., use ShareContainer in
16129 FontTable., make vars in FontTable private and add getter and
16132 * paragraph.C: changes because of the above.
16134 * lyxfont.h: remove copy constructor and copy assignment. (the
16135 default ones is ok), move number inside FontBits. move inlines to
16138 * lyxfont.C: add number to initializaton of statics, move several
16139 inlines here. constify several local vars. some whitespace
16140 cleanup. Dont hide outerscope variables.
16142 * Spacing.h: add two new constructors to match the set methods.
16144 * ShareContainer.h: new file, will perhaps be moved to support
16146 * ParameterStruct.h: new file
16148 * ParagraphParameters.h: new file
16150 * ParagraphParameters.C: new file
16152 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16153 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16155 * BufferView_pimpl.C: ParagraphParameter changes.
16156 * buffer.C: Likewise.
16157 * bufferview_funcs.C: Likewise.
16158 * text.C: Likewise.
16159 * text2.C: Likewise.
16161 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16163 * lyxfind.C (LyXReplace): do not redefine default argument in
16165 (IsStringInText): ditto
16166 (SearchForward): ditto
16167 (SearchBackward): ditto
16169 2001-03-06 Juergen Vigna <jug@sad.it>
16171 * lyxfind.C (IsStringInText): put parentes around expressions.
16173 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16175 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16177 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16179 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16181 * stl_string_fwd.h: add comment
16183 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16186 * tabular.C: remove unused DocBook methods
16192 killed DO_USE_DEFAULT_LANGUAGE
16194 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16196 * lyx_gui.C: do not include language.h.
16198 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16199 arguments in function implementation.
16201 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16203 * BufferView_pimpl.C: add <ctime>
16205 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16207 * BufferView_pimpl.C: add using std::find_if
16209 2001-02-27 José Matos <jamatos@fep.up.pt>
16211 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16214 2001-02-11 José Matos <jamatos@fep.up.pt>
16216 * buffer.C (makeDocBookFile): command styles now have a parameter as
16217 "title" by default.
16219 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16221 * layout_forms.[Ch]: removed
16222 * lyx_cb.[Ch]: out character
16223 * lyx_gui.C: out character
16224 * lyx_gui_misc.C: out character
16225 * bufferview_funcs.C: : out character,
16226 added toggleall as parameter in ToggleAndShow
16228 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16230 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16232 * text2.C (SetCurrentFont): Disable number property at boundary.
16234 2001-02-26 Juergen Vigna <jug@sad.it>
16236 * lyxfunc.C (getStatus): added a string argument override function so
16237 that this is correctly called from LyXFunc::Dispatch if it contains a
16238 do_not_use_argument which is used!
16239 (Dispatch): added check for "custom" export and call appropriate func.
16241 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16243 * lyxrc.C: Add language_command_local, language_use_babel and
16244 language_global_options.
16246 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16248 * buffer.C (makeLaTeXFile): Use language_use_babel and
16249 language_global_options.
16251 2001-02-23 Juergen Vigna <jug@sad.it>
16253 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16254 which works with LyXText and putted it inside BufferView. Here now we
16255 only call for that part the BufferView::Dispatch() function.
16257 * BufferView.C (Dispatch): added.
16259 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16260 functions which needs to use a LyXText over from LyXFunc.
16261 (MenuInsertLyXFile): added
16262 (getInsetByCode): added
16263 (moveCursorUpdate): added
16264 (static TEXT): added
16266 2001-02-22 Juergen Vigna <jug@sad.it>
16268 * BufferView_pimpl.C (update): call a status update to see if LyXText
16271 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16273 * vc-backend.C (revert): implement for CVS
16274 (getLog): implement for CVS
16276 2001-02-20 Juergen Vigna <jug@sad.it>
16278 * text2.C (ClearSelection): added BufferView param for inset_owner call
16280 * lyxfunc.C (TEXT): added this function and use it instead of
16281 directly owner->view()-text of getLyXText().
16283 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16285 * src/layout_forms.C: out preamble
16286 * src/layout_forms.h: out preamble
16287 * src/lyx_cb.C: out preamble
16288 * src/lyx_cb.h: out preamble
16289 * src/lyx_gui.C: out preamble
16290 * src/lyx_gui_misc.C: out preamble
16291 * src/lyxfunc.C: connect with guii preamble
16293 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16295 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16297 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16299 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16300 whether to run bibtex.
16302 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16304 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16306 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16308 * Makefile.am (lyx_SOURCES): removed bibforms.h
16310 * vspace.h: doxygen
16312 * text.C (GetVisibleRow): make several local vars const
16314 * tabular.C: small cleanup.
16316 * lyxserver.C (callback): use compare instead of strncmp
16318 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16319 inlines to after class or to paragraph.C
16321 * lyxfont.h: remove friend operator!=
16323 * converter.h: move friend bool operator< to non friend and after
16326 * combox.h: small cleanup
16328 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16329 to inlines after class def.
16331 * buffer.C (pop_tag): use string operations instead of strcmp
16333 * bmtable.c: doxygen, small cleanup
16335 * LaTeX.h: remove friend operator==
16337 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16349 * BufferView_pimpl.C:
16350 * BufferView.[Ch]: remove cruft
16352 2001-02-14 Juergen Vigna <jug@sad.it>
16354 * lyxfunc.C: removed #if 0 unused code
16356 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16358 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16360 * text2.C (SetSelection): added a BufferView * parameter
16362 2001-02-13 Juergen Vigna <jug@sad.it>
16364 * lyxfunc.C (Dispatch): fixed protected blank problem.
16365 * BufferView2.C (protectedBlank): added LyxText * parameter.
16367 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16368 (AppendColumn): same as above for column_info.
16370 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16371 (moveCursorUpdate): use a LyXText param for support of InsetText.
16373 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16374 (tripleClick): ditto
16376 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16378 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16380 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16382 * text2.C (SetSelection): set correct update status if inset_owner
16383 (ToggleFree): ditto
16385 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16387 * tabular.C: remove some commented code.
16389 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16391 * BufferView_pimpl.C: call hideSplash()
16393 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16396 * bibforms.h: remove
16399 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16400 add LFUN_CHILD_CREATE
16402 * counters.h: fix tiny typo
16407 * lyx.C: move splash to frontends/xforms/
16409 * lyx_gui_misc.C: move Include and Bibform to frontends
16411 * lyxvc.h: clarify comment
16413 * vspace.C: tiny housekeeping
16415 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16417 * text.C (PrepareToPrint): RTL Fix.
16419 * paragraph.C (GetUChar): New method.
16420 (String): Use GetUChar.
16422 * buffer.C (asciiParagraph): Use GetUChar.
16424 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16426 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16428 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16431 * buffer.C: rename to getLogName(), handle
16432 build log / latex log nicely
16434 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16437 * MenuBackend.h: remove support for reference menuitem type.
16439 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16441 * BufferView_pimpl.C: housekeeping
16442 * BufferView_pimpl.h:
16447 * minibuffer.h: move Timeout GUI-I
16449 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16451 * lyxrc.C (read): Update converters data-structures.
16453 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16455 * LaTeX.h (operator!=): add operator != for Aux_Info
16457 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16459 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16461 * LaTeXLog.C: deleted, useful code moved to Buffer
16464 * buffer.C: new function getLatexLogName()
16470 * lyxfunc.C: use frontends for LaTeX and VC logs
16472 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16474 * LaTeX.h: yet another std:: that Allan forgot.
16476 * Variables.C (set): renamed from isset(), because this clashes
16477 with some HP-UX macros (grr).
16479 2001-02-06 Allan Rae <rae@lyx.org>
16481 * LaTeX.h: Another bug fix. Missing std:: this time.
16483 2001-02-04 Allan Rae <rae@lyx.org>
16485 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16486 floats problem. I've left it commented out because it's not quite
16487 correct. It should also test that the current object is a table or
16488 figure inset. But I haven't gotten around to figuring out how to do
16489 that. I *think* it'll be something like: "table" == inset.type()
16491 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16494 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16496 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16497 all the citation/databases/styles in the auxilary file.
16498 (run): Rerun latex if there was a babel language error.
16500 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16502 * text.C (Backspace): Preserve the font when changing newline char
16504 (BreakParagraph): If the cursor is before a space, delete the space.
16506 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16508 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16510 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16511 new argument (code).
16512 (ChangeCitationsIfUnique): New method.
16514 * paragraph.C (GetPositionOfInset): Handle bibkey.
16516 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16518 * BufferView_pimpl.h: change type of Position::par_pos to
16519 LyXParagraph::size_type.
16521 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16523 * BufferView_pimpl.C (savePosition, restorePosition): Write
16524 messages to minibuffer.
16526 2001-01-28 José Matos <jamatos@fep.up.pt>
16528 * buffer.C (makeDocBookFile): adds support for document language.
16529 A silly restriction on the name of LatexCommand types where removed.
16530 Added support for CDATA sections, allows to chars unescaped, used
16531 among others in code, to avoid escape < and >.
16533 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16535 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16536 saved positions instrad of a stack. Furthermore, a position is
16537 stored using paragraph id/paragraph position.
16539 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16540 Remove LFUN_REF_BACK.
16542 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16544 * converter.C (dvipdfm_options): New method.
16546 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16548 * vspace.C (isValidLength): Fix for empty input string.
16550 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16552 * LyXAction.C (init): change description of LFUN_FIGURE to
16555 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16557 * LaTeX.C: add using directive
16559 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16561 * MenuBackend.C (expand): Fix the sorting of the formats.
16563 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16565 * lyx_main.C: tiny error message fix
16567 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16569 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16570 calling fl_initialize(). This fixes the problem with ',' as
16571 decimal separator in text files.
16573 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16575 * trans.C (process): Fix the keymap bug.
16577 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16579 * LaTeX.C (scanAuxFiles): New method. Provides support for
16580 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16581 (scanLogFile) Scan for "run BibTeX" messages.
16583 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16584 OT1 font encoding. Also, load the aecompl package if the ae
16587 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16589 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16591 * texrow.C (increasePos): turn two error messages into debug
16594 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16596 * LaTeX.C (scanAux): Handle the \@input macro.
16597 (runBibTeX): Use scanAux().
16599 * language.C (latex_options_): New field.
16601 * LaTeXFeatures.C (getMacros): Add language macros.
16603 * buffer.C (makeLaTeXFile): Small fix.
16605 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16607 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16609 * text2.C: add a using directive.
16611 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16616 * lyxfunc.C: kill LyXBell.
16618 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16620 * text.C (IsBoundary): Remove the error message
16622 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16624 * lyxrc.C (setDefaults): Correct initialization value for
16627 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16629 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16632 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16633 and GotoNextNote().
16635 * src/LyXAction.C: Added reference-next.
16637 * text.C (InsertChar): Use contains instead of strchr.
16639 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16641 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16643 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16644 alignment commands (when needed).
16646 * text.C (InsertChar): Add ':' to number separator chars.